/* 名称：shequ_l.css */
/* 功能：音效社区列表页样式 */
/* 版权：qiekn.cn 启肯网络 */

/* 音效社区 */
.community-page {
    width: 100%;
    margin: 0;
    padding: 0 0 66px;
    color: var(--theme-deep);
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif
}

.community-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(470px, .95fr);
    align-items: center;
    column-gap: 36px;
    min-height: 212px;
    overflow: hidden;
    padding: 30px max(20px, calc((100% - 1100px)/2));
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(var(--theme-deep-rgb), .06);
    background: radial-gradient(46% 130% at 104% -24%, rgba(var(--theme-deep-rgb), .13), transparent 62%), radial-gradient(40% 100% at 0% 108%, rgba(var(--theme-rgb), .16), transparent 70%), linear-gradient(112deg, #f4faf7 0%, #fcfefd 54%, #eff8f3 100%)
}

.community-hero-ghost {
    position: absolute;
    right: max(20px, calc((100% - 1100px)/2) + 2px);
    top: -46px;
    color: rgba(var(--theme-rgb), .055);
    font: 800 126px/1 Arial, sans-serif;
    letter-spacing: -8px;
    user-select: none;
    pointer-events: none
}

.community-hero-copy,
.community-hero-side {
    position: relative;
    z-index: 1
}

.community-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--theme);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px
}

.community-kicker::before {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--theme), transparent);
    content: ""
}

.community-hero h1 {
    margin: 0;
    color: var(--theme-deep);
    font-size: 33px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .1px
}

.community-hl {
    position: relative;
    z-index: 0
}

.community-hl::after {
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    z-index: -1;
    height: 9px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(var(--theme-light-rgb), .6), rgba(var(--theme-rgb), .3));
    content: ""
}

.community-hero p {
    max-width: 520px;
    margin: 10px 0 0;
    color: rgba(var(--theme-deep-rgb), .58);
    font-size: 12.5px;
    line-height: 1.65
}

.community-hero-tags {
    display: flex;
    gap: 8px;
    margin-top: 14px
}

.community-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 10px;
    border: 1px solid rgba(var(--theme-rgb), .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: rgba(var(--theme-deep-rgb), .72);
    font-size: 11px
}

.community-hero-tags span::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--theme);
    opacity: .7;
    content: ""
}

.community-hero-side {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(var(--theme-rgb), .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 18px 38px -28px rgba(var(--theme-deep-rgb), .5), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px)
}

.community-hero-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(var(--theme-rgb), .11);
    background: linear-gradient(120deg, rgba(var(--theme-rgb), .1), rgba(var(--theme-light-rgb), .04) 60%, rgba(255, 255, 255, .16))
}

.community-hero-stat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px
}

.community-hero-stat b {
    color: var(--theme-deep);
    font: 800 38px/1 Arial, sans-serif;
    letter-spacing: -1px
}

.community-hero-stat span {
    color: rgba(var(--theme-deep-rgb), .68);
    font-size: 13.5px;
    font-weight: 600
}

.community-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: center;
    margin-left: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--theme-dark);
    font-size: 10px;
    font-weight: 700;
    font-style: normal
}

.community-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--theme);
    box-shadow: 0 0 0 0 rgba(var(--theme-rgb), .45);
    animation: communityLive 2s ease-out infinite
}

@keyframes communityLive {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--theme-rgb), .45)
    }

    70%,
    100% {
        box-shadow: 0 0 0 5px rgba(var(--theme-rgb), 0)
    }
}

.community-hero-upload {
    display: flex;
    align-items: center;
    gap: 14px
}

.community-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px
}

.community-eq i {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--theme-light), var(--theme));
    opacity: .55;
    transform-origin: 50% 100%;
    animation: communityEq 1.8s ease-in-out infinite
}

.community-eq i:nth-child(1) {
    height: 34%;
    animation-delay: 0s
}

.community-eq i:nth-child(2) {
    height: 62%;
    animation-delay: .18s
}

.community-eq i:nth-child(3) {
    height: 100%;
    animation-delay: .36s
}

.community-eq i:nth-child(4) {
    height: 74%;
    animation-delay: .54s
}

.community-eq i:nth-child(5) {
    height: 46%;
    animation-delay: .72s
}

@keyframes communityEq {

    0%,
    100% {
        transform: scaleY(.45)
    }

    50% {
        transform: scaleY(1)
    }
}

.community-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 28px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--theme), var(--theme-dark));
    box-shadow: 0 12px 22px rgba(var(--theme-deep-rgb), .24);
    color: #fff;
    font: 700 15px "Microsoft YaHei", "微软雅黑", sans-serif;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease
}

.community-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 23px rgba(var(--theme-deep-rgb), .3)
}

.community-hero-rules {
    padding: 11px 18px 12px;
    background: rgba(255, 255, 255, .78);
    color: rgba(var(--theme-deep-rgb), .55);
    font-size: 11.5px;
    line-height: 1.6
}

.community-hero-rules span {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 7px;
    border-radius: 5px;
    background: rgba(var(--theme-rgb), .1);
    color: var(--theme-deep);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.7
}

.community-hero-rules i {
    color: var(--theme-deep);
    font-style: normal;
    font-weight: 700
}

.community-rule-size {
    font-style: normal;
    white-space: nowrap
}

@keyframes communityHeroIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.community-hero-copy {
    animation: communityHeroIn .55s cubic-bezier(.2, .7, .3, 1) both
}

.community-hero-side {
    animation: communityHeroIn .65s .08s cubic-bezier(.2, .7, .3, 1) both
}

@media(prefers-reduced-motion:reduce) {

    .community-hero-copy,
    .community-hero-side {
        animation: none
    }
}

.community-layout {
    width: min(1100px, calc(100% - 40px));
    margin: 26px auto 0
}

.community-main {
    overflow: hidden;
    border: 1px solid #dcebe5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(var(--theme-dark-rgb), .045)
}

.community-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px 20px;
    border-bottom: 1px solid #e7f0ec
}

.community-feed-head>div:first-child span {
    display: block;
    margin-bottom: 4px;
    color: var(--theme);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px
}

.community-feed-head h2 {
    margin: 0;
    color: #285d4d;
    font-size: 22px
}

.community-feed-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.community-feed-actions em {
    padding: 4px 10px;
    border-radius: 12px;
    background: var(--theme-pale);
    color: #6c8b7f;
    font-size: 12px;
    font-style: normal
}

.community-more {
	border: 1px solid var(--theme-line);
	border-radius: 6px;
	background: #fff;
	color: #4e796a;
	font: 12px "Microsoft YaHei", "微软雅黑", sans-serif;
	cursor: pointer;
	transition: .18s
}

.community-more:hover {
    border-color: var(--theme);
    background: var(--theme-pale)
}

.community-list {
    padding: 0 32px
}

.community-item {
    position: relative;
    display: flex;
    gap: 16px;
    overflow: hidden;
    padding: 26px 0;
    border-bottom: 1px solid #edf4f1
}

.community-item::after {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 96px;
    height: 36px;
    background: repeating-linear-gradient(90deg, rgba(var(--theme-rgb), .08) 0 4px, transparent 4px 12px), radial-gradient(circle at 88% 50%, rgba(var(--theme-rgb), .16) 0 3px, transparent 4px);
    border-radius: 999px;
    content: "";
    opacity: .7;
    pointer-events: none;
    transform: translateY(-50%)
}

.community-item::before {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--theme-light);
    box-shadow: -15px -11px 0 rgba(var(--theme-rgb), .18), -28px 12px 0 rgba(var(--theme-rgb), .12);
    content: "";
    pointer-events: none;
    transform: translateY(-50%)
}

.community-item:last-child {
    border-bottom: 0
}

.community-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid #dcebe5;
    border-radius: 50%;
    background: #f1faf6;
    color: var(--theme);
    text-align: center;
    line-height: 46px;
    font-size: 16px;
    font-weight: 700
}

.community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.community-comment {
    min-width: 0;
    flex: 1
}

.community-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px
}

.community-meta b {
    max-width: 48%;
    overflow: hidden;
    color: #315f51;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.community-meta em {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.2;
    font-style: normal
}

.community-meta time {
    margin-left: auto;
    color: #a0b3ab;
    font-size: 11px;
    white-space: nowrap
}

.community-content {
    margin-top: 8px;
    color: #4e6960;
    font-size: 14.5px;
    line-height: 1.9;
    word-break: break-word
}

.community-emoji {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    vertical-align: -20px;
    object-fit: contain
}

.community-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.community-image-button {
    display: block;
    width: 150px;
    height: 110px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #dcebe5;
    border-radius: 9px;
    background: #f5faf8;
    cursor: zoom-in
}

.community-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s
}

.community-image-button:hover img {
    transform: scale(1.05)
}

.community-reply {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 3px solid var(--theme-light);
    border-radius: 0 7px 7px 0;
    background: #f5faf7;
    color: #5c766d;
    font-size: 12px;
    line-height: 1.75
}

.community-reply b {
    margin-right: 8px;
    color: var(--theme)
}

.community-loading,
.community-empty-list {
    padding: 62px 18px;
    color: #98aba4;
    text-align: center;
    font-size: 13px
}

.community-retry {
    margin-left: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--theme);
    font: inherit;
    cursor: pointer
}

.community-more[hidden] {
    display: none !important
}

.community-more {
    display: block;
    width: calc(100% - 48px);
    margin: 15px 24px;
    padding: 10px
}

.community-more {
    display: block;
    width: calc(100% - 64px);
    margin: 16px 32px;
    padding: 11px
}

.community-composer {
    position: relative;
    margin-top: 18px;
    padding: 28px 32px;
    border: 1px solid #d8ebe3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(var(--theme-dark-rgb), .045)
}

.community-composer-top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px
}

/* 评论框头部装饰图标：主题渐变圆角方块 + 白色书写笔 */
.community-current-avatar {
    position: relative;
    flex: none;
    width: 42px;
    height: 42px;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--theme-light), var(--theme));
    box-shadow: 0 9px 18px -9px rgba(var(--theme-rgb), .65), inset 0 1px 0 rgba(255, 255, 255, .38);
    color: var(--theme);
    text-align: center;
    line-height: 42px;
    font-size: 15px;
    font-weight: 700
}

.community-current-avatar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L20 8a2.8 2.8 0 0 0-4-4L4 16v4z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
    pointer-events: none
}

/* 点缀光点，增加装饰感 */
.community-current-avatar::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--theme-rgb), .16);
    pointer-events: none
}

.community-current-avatar img,
.community-current-avatar span {
    display: none
}

.community-composer-top b {
    display: block;
    color: #315f51;
    font-size: 16px
}

.community-composer-top small {
    display: block;
    margin-top: 4px;
    color: #95aaa2;
    font-size: 12px
}

.community-composer textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 118px;
    resize: vertical;
    padding: 14px 16px;
    border: 1px solid var(--theme-line);
    border-radius: 10px;
    background: #fbfefd;
    outline: 0;
    color: #385b50;
    font: 13px/1.8 "Microsoft YaHei", "微软雅黑", sans-serif;
    transition: .18s
}

.community-composer textarea:focus {
    border-color: var(--theme-light);
    box-shadow: 0 0 0 3px rgba(var(--theme-light-rgb), .12)
}

.community-media-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.community-media-preview[hidden] {
    display: none
}

.community-preview-item {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid #dcebe5;
    border-radius: 50%;
    background: #fff
}

.community-preview-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.community-preview-item button {
    position: absolute;
    right: -6px;
    top: -6px;
    width: 17px;
    height: 17px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(35, 66, 55, .82);
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    line-height: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease
}

.community-preview-item button:hover {
    background: var(--theme-dark);
    transform: scale(1.12);
    box-shadow: 0 3px 9px rgba(var(--theme-deep-rgb), .32)
}

.community-compose-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
}

.community-compose-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px
}

.community-guest-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    height: 46px;
    box-sizing: border-box;
    margin-left: auto;
    padding: 0 7px 0 20px;
    border: 1px solid #cfe4db;
    border-radius: 23px;
    background: #f6fbf9;
    transition: border-color .18s, background .18s, box-shadow .18s
}

.community-guest-field[hidden] {
    display: none
}

.community-guest-field:focus-within {
    border-color: var(--theme);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--theme-rgb), .12)
}

.community-guest-field input {
    width: 110px;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #33544a;
    font: 14px "Microsoft YaHei", "微软雅黑", sans-serif;
    outline: none
}

.community-guest-field input::placeholder {
    color: #9db4aa
}

.community-guest-avatar {
    flex: none;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    background: #e8f1ed
}

.community-guest-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media (max-width: 640px) {
    .community-guest-field input {
        width: 88px
    }
}

.community-tool {
    padding: 0;
    border: 0;
    background: transparent;
    color: #557a6d;
    font: 15px "Microsoft YaHei", "微软雅黑", sans-serif;
    cursor: pointer
}

.community-tool:hover {
    color: var(--theme)
}

#communityHint {
    color: #98aaa3;
    font-size: 12px
}

.community-compose-foot>button {
    min-width: 136px;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 23px;
    background: var(--theme);
    color: #fff;
    font: 14px "Microsoft YaHei", "微软雅黑", sans-serif;
    cursor: pointer;
    transition: .18s
}

.community-compose-foot>button:hover {
    background: var(--theme-dark);
    transform: translateY(-1px)
}

.community-compose-foot>button:disabled {
    opacity: .66;
    cursor: wait;
    transform: none
}

.community-emoji-popover {
    position: absolute;
    z-index: 4;
    bottom: 76px;
    left: 32px;
    width: 340px;
    padding: 12px;
    border: 1px solid #d8eae3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(var(--theme-dark-rgb), .13)
}

.community-emoji-popover button {
    width: 48px;
    height: 48px;
    padding: 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer
}

.community-emoji-popover button img {
    width: 34px;
    height: 34px;
    object-fit: contain
}

.community-emoji-popover button:hover {
    background: #eff9f4
}

.community-emoji-popover img {
    width: 28px;
    height: 28px;
    object-fit: contain
}

@media(max-width:1140px) and (min-width:801px) {
    .community-hero-rules {
        font-size: 10.5px
    }
}

@media(max-width:800px) {
    .community-page {
        width: 100%;
        padding: 0 0 44px
    }

    .community-hero {
        grid-template-columns: 1fr;
        row-gap: 18px;
        min-height: 0;
        padding: 24px 20px
    }

    .community-hero-ghost {
        display: none
    }

    .community-hero h1 {
        font-size: 27px
    }

    .community-hero-side {
        width: 100%
    }

    .community-layout {
        width: calc(100% - 24px);
        margin-top: 18px
    }

    .community-composer,
    .community-feed-head {
        padding-left: 18px;
        padding-right: 18px
    }

    .community-list {
        padding: 0 18px
    }

    .community-more {
        width: calc(100% - 36px);
        margin-left: 18px;
        margin-right: 18px
    }
}

@media(max-width:560px) {
    .community-eq {
        display: none
    }

    .community-hero h1 {
        font-size: 26px
    }

    .community-hero p {
        font-size: 12px
    }

    .community-hero-tags {
        gap: 5px
    }

    .community-hero-tags span {
        padding: 5px 7px;
        font-size: 10px
    }

    .community-feed-head h2 {
        font-size: 18px
    }

    .community-feed-actions em {
        display: none
    }

    .community-item {
        gap: 10px;
        padding: 16px 0
    }

    .community-avatar {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        line-height: 36px
    }

    .community-meta b {
        max-width: 44%
    }

    .community-content {
        font-size: 13px
    }

    .community-image-button {
        width: 110px;
        height: 80px
    }

    .community-compose-tools {
        gap: 10px
    }

    .community-compose-foot {
        align-items: flex-end
    }

    .community-compose-foot>button {
        min-width: 112px;
        padding: 0 16px
    }
}

.community-column {
    min-width: 0
}

.community-column .community-composer {
    margin-top: 18px
}

.community-main,
.community-composer {
    border-color: #d5e9e0;
    box-shadow: 0 14px 34px rgba(var(--theme-dark-rgb), .06)
}

.community-feed-head {
    background: linear-gradient(90deg, #fbfefd, #f4fbf7)
}

.community-item {
    transition: background .18s
}

.community-item:hover {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    background: linear-gradient(90deg, rgba(var(--theme-rgb), .035), transparent)
}

.community-avatar {
    box-shadow: 0 4px 11px rgba(var(--theme-dark-rgb), .07)
}

.community-image-button {
    box-shadow: 0 4px 11px rgba(var(--theme-dark-rgb), .06);
    transition: border-color .18s, box-shadow .18s, transform .18s
}

.community-image-button:hover {
    border-color: var(--theme-light);
    box-shadow: 0 8px 17px rgba(var(--theme-dark-rgb), .12);
    transform: translateY(-2px)
}

.community-composer {
    background: linear-gradient(145deg, #fff, #fbfefd)
}

.community-composer textarea {
    background: #fff
}

.community-compose-foot {
    padding-top: 2px
}

.community-tool {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 999px
}

.community-tool svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.community-tool:hover {
    border-color: var(--theme-line);
    background: var(--theme-pale)
}

.community-compose-foot>button {
    box-shadow: 0 7px 14px rgba(var(--theme-rgb), .2)
}

.community-lightbox-open {
    overflow: hidden
}

.community-lightbox[hidden],
.community-lightbox-nav[hidden],
.community-lightbox-index[hidden] {
    display: none
}

.yx-auth-mask.community-lightbox {
    padding: 0;
    user-select: none
}

.community-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: none
}

.community-lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: grab;
    -webkit-user-drag: none;
    user-select: none;
    touch-action: none;
    transition: transform .08s ease
}

.community-lightbox-stage img:active {
    cursor: grabbing
}

.community-lightbox-nav {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer
}

.community-lightbox .app-modal-close {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 1;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: none;
}

.community-lightbox .app-modal-close svg {
    width: 18px;
    height: 18px;
}

.community-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 0;
    transform: translateY(-50%)
}

.community-lightbox-nav:before {
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: ""
}

.community-lightbox-nav.prev:before {
    margin-left: 3px;
    transform: rotate(45deg)
}

.community-lightbox-nav.next:before {
    margin-right: 3px;
    transform: rotate(-135deg)
}

.community-lightbox-nav.prev {
    left: 28px
}

.community-lightbox-nav.next {
    right: 28px
}

.community-lightbox .app-modal-close:hover,
.community-lightbox-nav:hover {
    background: rgba(255, 255, 255, .23);
    color: #fff;
}

.community-lightbox-index {
    position: absolute;
    bottom: 23px;
    left: 50%;
    padding: 6px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    transform: translateX(-50%)
}

@media(max-width:800px) {
    .community-column .community-composer {
        margin-top: 16px
    }

    .community-image-button {
        width: 102px;
        height: 74px
    }

    .community-lightbox-nav {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        font-size: 0
    }

    .community-lightbox-nav.prev {
        left: 10px
    }

    .community-lightbox-nav.next {
        right: 10px
    }

    .community-lightbox .app-modal-close {
        right: 12px;
        top: 12px
    }
}

/* 评论回复 */
.community-reply-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
    padding: 3px 11px;
    border: 1px solid rgba(var(--theme-rgb), .18);
    border-radius: 999px;
    background: #fff;
    color: var(--theme);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    transition: background .18s, border-color .18s
}

.community-reply-toggle:hover {
    border-color: var(--theme-light);
    background: var(--theme-pale)
}

.community-replies {
    margin-top: 14px;
    padding: 6px 14px;
    border-left: 3px solid var(--theme-light);
    border-radius: 0 8px 8px 0;
    background: #f5faf7
}

.community-reply-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2efea
}

.community-reply-item:last-child {
    border-bottom: 0
}

.community-reply-avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    background: #e9f6f0;
    color: var(--theme);
    text-align: center;
    line-height: 32px;
    font-size: 13px;
    font-weight: 700
}

.community-reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.community-reply-body {
    min-width: 0;
    flex: 1
}

.community-reply-body .community-meta b {
    max-width: 60%;
    font-size: 12.5px
}

.community-reply-body .community-content {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.7
}

.community-reply-body .community-image-button {
    width: 96px;
    height: 74px
}

.community-reply-dialog {
    width: min(560px, 100%);
    padding: 22px;
    animation: communityReplyIn .24s cubic-bezier(.2, .9, .3, 1.05)
}

@keyframes communityReplyIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.community-reply-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px
}

.community-reply-head b {
    color: var(--theme-deep);
    font-size: 16px
}

.community-reply-head small {
    min-width: 0;
    overflow: hidden;
    color: #93a79f;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.community-reply-dialog textarea {
    width: 100%;
    min-height: 220px;
    max-height: 42vh;
    padding: 12px 14px;
    border: 1px solid #e3efea;
    border-radius: 12px;
    background: #fbfefd;
    color: var(--theme-deep);
    font: inherit;
    font-size: 14px;
    line-height: 1.8;
    resize: vertical;
    box-sizing: border-box;
    outline: none
}

.community-reply-dialog textarea:focus {
    border-color: var(--theme-light);
    background: #fff
}

.community-reply-emoji {
    position: absolute;
    left: 22px;
    bottom: 84px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    width: 340px;
    max-width: calc(100% - 44px);
    padding: 12px;
    border: 1px solid #d8eae3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(var(--theme-dark-rgb), .13)
}

.community-reply-emoji[hidden] {
    display: none !important
}

.community-reply-emoji button {
    width: 100%;
    height: 44px;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer
}

.community-reply-emoji button img {
    width: 34px;
    height: 34px;
    object-fit: contain
}

.community-reply-emoji button:hover {
    background: #eaf7f1
}

.community-reply-foot {
    flex-wrap: nowrap;
    align-items: center
}

.community-reply-foot .community-compose-tools {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.community-reply-foot .community-compose-tools::-webkit-scrollbar {
    height: 0
}

.community-reply-foot .community-tool {
    flex: 0 0 auto
}

.community-reply-foot>button {
    flex: 0 0 auto;
    margin-left: 10px
}

.community-reply-modal.is-guest-mode .community-reply-foot .community-tool>span {
    display: none
}

.community-reply-modal.is-guest-mode .community-reply-foot .community-compose-tools {
    gap: 4px
}

.community-reply-modal.is-guest-mode .community-reply-foot .community-tool {
    padding-left: 8px;
    padding-right: 8px
}

.community-reply-preview {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 162px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 6px 0;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-user-select: none;
    user-select: none
}

.community-reply-preview::-webkit-scrollbar {
    display: none
}

.community-reply-preview.dragging {
    cursor: grabbing
}

.community-reply-preview[hidden] {
    display: none !important
}

.community-reply-preview-item {
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    overflow: visible;
    border-radius: 50%;
    background: #f5faf8
}

.community-reply-preview-item img {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #dcebe5;
    border-radius: 50%;
    object-fit: cover;
    box-sizing: border-box;
    -webkit-user-drag: none
}

.community-reply-preview-item button {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(var(--theme-deep-rgb), .55);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
    transition: background .18s, transform .18s
}

.community-reply-preview-item button:hover {
    background: #d9534f;
    transform: scale(1.12)
}

@media (max-width: 640px) {
    .community-reply-dialog {
        padding: 18px
    }

    .community-reply-dialog textarea {
        max-height: 32vh
    }

    .community-replies {
        padding: 4px 10px
    }

    .community-reply-body .community-image-button {
        width: 84px;
        height: 64px
    }
}

/* 社区移动端：仅在 768px 及以下生效 */
@media(max-width:768px) {
    .community-page {
        padding-bottom: 34px
    }

    .community-hero {
        display: block;
        padding: 22px 16px 18px
    }

    .community-kicker {
        margin-bottom: 6px
    }

    .community-hero h1 {
        font-size: 25px;
        line-height: 1.3
    }

    .community-hero p {
        margin-top: 8px;
        font-size: 12px
    }

    .community-hero-tags {
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none
    }

    .community-hero-tags::-webkit-scrollbar {
        display: none
    }

    .community-hero-tags span {
        flex: 0 0 auto
    }

    .community-hero-side {
        margin-top: 16px;
        border-radius: 14px
    }

    .community-hero-head {
        padding: 11px 13px
    }

    .community-hero-stat b {
        font-size: 31px
    }

    .community-hero-stat span {
        font-size: 12px
    }

    .community-eq,
    .community-rule-size {
        display: none
    }

    .community-hero-cta {
        height: 36px;
        padding: 0 16px;
        border-radius: 18px;
        font-size: 13px
    }

    .community-hero-rules {
        padding: 9px 13px;
        font-size: 10.5px
    }

    .community-layout {
        width: calc(100% - 24px);
        margin-top: 16px
    }

    .community-main,
    .community-composer {
        border-radius: 13px
    }

    .community-feed-head {
        padding: 18px 16px 15px
    }

    .community-feed-head h2 {
        font-size: 19px
    }

    .community-list {
        padding: 0 16px
    }

    .community-item {
        gap: 11px;
        padding: 18px 0
    }

    .community-item::before,
    .community-item::after {
        display: none
    }

    .community-item:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent
    }

    .community-avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        line-height: 40px
    }

    .community-meta {
        gap: 6px;
        flex-wrap: wrap
    }

    .community-meta b {
        max-width: calc(100% - 90px)
    }

    .community-meta time {
        margin-left: 0
    }

    .community-reply-toggle {
        margin-left: auto
    }

    .community-content {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.75
    }

    .community-images {
        gap: 6px;
        margin-top: 10px
    }

    .community-image-button {
        width: calc((100vw - 108px) / 3);
        height: calc((100vw - 108px) / 3)
    }

    .community-more {
        width: calc(100% - 32px);
        margin: 14px 16px;
        padding: 10px
    }

    .community-composer {
        margin-top: 16px;
        padding: 20px 16px
    }

    .community-composer textarea {
        height: 104px;
        padding: 12px
    }

    .community-compose-foot {
        gap: 10px;
        margin-top: 12px
    }

    .community-compose-tools {
        gap: 6px
    }

    .community-tool {
        gap: 6px;
        padding: 8px 10px;
        font-size: 13px
    }

    .community-tool svg {
        width: 19px;
        height: 19px
    }

    .community-guest-field {
        order: 3;
        width: 100%;
        margin-left: 0
    }

    .community-guest-field input {
        flex: 1;
        width: auto
    }

    .community-compose-foot > button {
        min-width: 104px;
        height: 40px;
        padding: 0 15px
    }

    .community-emoji-popover {
        right: 16px;
        bottom: 70px;
        left: 16px;
        width: auto
    }

    .community-replies {
        margin-top: 12px;
        padding: 4px 9px
    }

    .community-reply-item {
        gap: 8px
    }

    .community-reply-dialog {
        width: min(560px, calc(100% - 24px));
        max-height: calc(100vh - 24px);
        overflow-y: auto
    }

    .community-reply-foot {
        flex-wrap: wrap
    }

    .community-reply-foot > button {
        margin-left: auto
    }
}

/* 评论加载骨架：骨架卡片 + 头像脉冲 + 线条流光 + 底部均衡器文字，多元素同时动 */
.community-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 0 4px
}

.community-skeleton-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--line, #e6e9ee);
    border-radius: 12px;
    background: #fff;
    animation: communitySkeletonIn .45s ease both
}

.community-skeleton-card:nth-child(2) {
    animation-delay: .08s
}

.community-skeleton-card:nth-child(3) {
    animation-delay: .16s
}

.community-skeleton-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2f0, #dfe8e4);
    animation: communitySkeletonPulse 1.4s ease-in-out infinite
}

.community-skeleton-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding-top: 4px
}

.community-skeleton-lines i {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #eef2f0 25%, #f7faf9 37%, #eef2f0 63%);
    background-size: 400% 100%;
    animation: communitySkeletonShine 1.3s ease infinite
}

.community-skeleton-lines i:nth-child(2) {
    width: 72%;
    animation-delay: .1s
}

.community-skeleton-lines i:nth-child(3) {
    width: 46%;
    animation-delay: .2s
}

.community-skeleton-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 2px;
    color: #7a8b85;
    font-size: 13px;
    letter-spacing: .5px;
    animation: communityCaptionPulse 1.8s ease-in-out infinite
}

.community-skeleton-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px
}

.community-skeleton-eq i {
    width: 3px;
    height: 5px;
    border-radius: 2px;
    background: var(--green, #4c8f5e);
    animation: communitySkeletonEq .9s ease-in-out infinite
}

.community-skeleton-eq i:nth-child(2) {
    animation-delay: .15s
}

.community-skeleton-eq i:nth-child(3) {
    animation-delay: .3s
}

.community-skeleton-eq i:nth-child(4) {
    animation-delay: .45s
}

@keyframes communitySkeletonIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes communitySkeletonPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .45
    }
}

@keyframes communitySkeletonShine {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: 0 0
    }
}

@keyframes communitySkeletonEq {

    0%,
    100% {
        height: 4px
    }

    50% {
        height: 13px
    }
}

@keyframes communityCaptionPulse {

    0%,
    100% {
        opacity: .55
    }

    50% {
        opacity: 1
    }
}

@media (prefers-reduced-motion:reduce) {

    .community-skeleton-card,
    .community-skeleton-avatar,
    .community-skeleton-lines i,
    .community-skeleton-caption,
    .community-skeleton-eq i {
        animation: none
    }
}