/* ===== 首页专属 · 编辑风 + 映画感 Hero ===== */

.page-home {
    counter-reset: home-block;
}

/* 分区标题 — 大号描边序号 + 渐变字（序号与文字分层，避免渐变冲突） */
.section-title {
    font-family: var(--font-display, system-ui);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    white-space: nowrap;
    padding: 4px 0;
    margin: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: none;
}

.section-title-label {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header-row .section-title {
    min-width: unset;
}

.page-home .section-header-row {
    counter-increment: home-block;
}

.page-home .section-title::before {
    content: counter(home-block, decimal-leading-zero);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-display, system-ui);
    color: transparent;
    -webkit-text-stroke: 1px rgba(148, 163, 184, 0.4);
}

/* 轮播 — 斜切胶片框 + 双层描边 */
.hero-slider {
    width: 100%;
    height: clamp(200px, 32vw, 380px);
    border-radius: 4px 48px 32px 4px;
    overflow: hidden;
    margin: 8px 0 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        var(--shadow-soft),
        0 0 0 1px rgba(232, 121, 249, 0.12),
        inset 0 0 80px rgba(3, 7, 18, 0.5);
}

.hero-cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -120px 90px rgba(3, 7, 18, 0.85);
}

.hero-cinematic::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 4;
    pointer-events: none;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    mix-blend-mode: soft-light;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-image-container img {
    transform: scale(1);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(3, 7, 18, 0.5) 35%,
        rgba(3, 7, 18, 0.94) 100%
    );
    padding: 26px 32px 28px clamp(18px, 5vw, 72px);
    border-radius: 0;
    width: 100%;
    z-index: 5;
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
}

.hero-content h2 {
    font-family: var(--font-display, system-ui);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 10px;
    color: white;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: min(92%, 520px);
}

@media (max-width: 640px) {
    .hero-content {
        clip-path: none;
        padding: 26px 20px 30px;
    }

    .hero-slider.hero-cinematic {
        border-radius: 22px;
    }

    .hero-content p {
        max-width: 100%;
        font-size: 13px;
    }
}

.gradient-btn {
    font-family: var(--font-display, system-ui);
    background: linear-gradient(
        135deg,
        rgba(232, 121, 249, 0.95) 0%,
        rgba(94, 234, 212, 0.92) 100%
    );
    color: #030712;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(232, 121, 249, 0.35);
}

.gradient-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 14px 36px rgba(94, 234, 212, 0.45),
        0 0 40px rgba(232, 121, 249, 0.25);
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.hero-indicator.active {
    background: var(--primary);
    box-shadow: 0 0 12px var(--glow-primary);
    transform: scale(1.15);
}

/* 分区条 — 不对称圆角面板 */
.section-header-row {
    display: flex;
    align-items: center;
    margin: 42px 0 20px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 22px 18px 20px;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.65) 0%,
        rgba(3, 7, 18, 0.45) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px 28px 22px 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 48px rgba(0, 0, 0, 0.35);
    position: relative;
}

.section-header-row::after {
    /* content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient-brand);
    opacity: 0.35;
    pointer-events: none; */
}

.section-header-row:first-of-type {
    margin-top: 6px;
}

@media (max-width: 640px) {
    .section-header-row::after {
        display: none;
    }
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    flex: 1;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 7px 18px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    transition: 0.22s ease;
    text-decoration: none;
    display: inline-block;
}

.category-btn:hover {
    background: var(--surface-primary-soft);
    color: var(--text);
    border-color: rgba(94, 234, 212, 0.35);
}

.category-btn.active {
    background: var(--gradient-brand);
    color: #030712;
    border-color: transparent;
    box-shadow: 0 6px 22px var(--glow-primary);
    font-weight: 700;
}

/* 更多按钮单独样式 */
.category-btn.more-btn {
    background: transparent;
    color: var(--primary);
    border-color: rgba(94, 234, 212, 0.45);
}

.category-btn.more-btn:hover {
    background: var(--surface-primary-soft);
    color: var(--text);
}

/* 移动端：只显示最新和更多，其他隐藏 - 用于电影板块 */
@media (max-width: 768px) {
    .category-scroll .category-btn:not(.active):not(.more-btn) {
        display: none;
    }

    .category-scroll {
        justify-content: flex-end;
    }

    .category-btn.active {
        display: inline-block;
    }

    .category-btn.more-btn {
        display: inline-block;
    }
}

/* 左侧影片网格 + 右侧热播榜 */
.content-row {
    display: flex;
    gap: 28px;
    margin-bottom: 44px;
}

.left-grid {
    flex: 4;
    min-width: 0;
}

.right-ranking {
    flex: 1;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 0 16px 20px;
    border: 1px solid var(--border);
    height: fit-content;
    max-height: 492px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    box-shadow: var(--shadow-soft);
}

.right-ranking::-webkit-scrollbar {
    display: none;
}

/* 移动端隐藏热播榜 */
@media (max-width: 768px) {
    .right-ranking {
        display: none;
    }

    .content-row {
        display: block;
    }
}

.ranking-title {
    padding-top: 18px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 12px;
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 9;
}

.ranking-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: var(--gradient-brand);
}

.ranking-list {
    list-style: none;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    height: 70px;
    box-sizing: content-box;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-num {
    width: 24px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.ranking-num.top1 {
    color: #ffcc00;
}

.ranking-num.top2 {
    color: #c0c0c0;
}

.ranking-num.top3 {
    color: #cd7f32;
}

.ranking-poster {
    width: 45px;
    height: 63px;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    background-color: #2a2a3a;
}

.ranking-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.ranking-info {
    flex: 1;
    min-width: 0;
}

.ranking-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.ranking-meta span:first-child {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.ranking-hits i {
    margin-right: 3px;
    color: var(--primary);
    font-size: 11px;
}

/* 左侧影片网格：每行固定 5 列等宽 */
.grid-double-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.page-home .movie-card {
    border-radius: 10px 24px 18px 12px;
}

.movie-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
    border: 1px solid var(--border);
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(94, 234, 212, 0.18);
}

.movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    flex-shrink: 0;
    /*height: auto;*/
    max-height: 180px;
    position: relative;
    background: #2a2a3a;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.06);
}

.movie-info {
    padding: 8px 6px 10px;
    flex: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    min-height: 0;
}

.movie-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    text-align: left;
}

/* 首页：海报正下方突出影片名 */
.page-home .grid-double-row .movie-title {
    color: var(--text);
    text-align: center;
    width: 100%;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.grid-double-row .movie-card:first-child,
.grid-double-row .movie-card:nth-child(6) {
    background: rgba(94, 234, 212, 0.07);
    border-color: rgba(94, 234, 212, 0.24);
}

/* 移动端网格调整为3列，只显示前6个（2排） */
@media (max-width: 768px) {
    .grid-double-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .grid-double-row .movie-card:nth-child(n+7) {
        display: none;
    }

    .grid-double-row .movie-card:first-child,
    .grid-double-row .movie-card:nth-child(4) {
        background: rgba(94, 234, 212, 0.07);
        border-color: rgba(94, 234, 212, 0.22);
    }

    .grid-double-row .movie-card:nth-child(6) {
        background: var(--bg-card);
        border-color: var(--border);
    }
}

@media (max-width: 480px) {
    .grid-double-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .grid-double-row .movie-card:nth-child(n+7) {
        display: none;
    }

    .hero-slider {
        height: 200px;
    }

    .hero-content {
        padding: 16px 18px 18px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 12px;
        max-width: 100%;
    }

    .gradient-btn {
        padding: 6px 16px;
        font-size: 14px;
    }

    .movie-title {
        font-size: 12px;
    }

    .movie-meta {
        font-size: 10px;
    }
}

/* ===== 资讯模块样式 ===== */
.news-section {
    margin: 56px 0;
    background: linear-gradient(
        155deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(3, 7, 18, 0.35) 100%
    );
    backdrop-filter: blur(18px);
    border-radius: 32px 8px 28px 16px;
    padding: 30px 26px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}


.news-header {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.news-header h2 {
    font-family: var(--font-display, system-ui);
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    white-space: nowrap;
    margin-right: 20px;
    letter-spacing: -0.03em;
}

.news-category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    flex: 1;
    scrollbar-width: none;
}

.news-category-scroll::-webkit-scrollbar {
    display: none;
}

.news-category-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 7px 18px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    transition: 0.22s ease;
    text-decoration: none;
    display: inline-block;
}

.news-category-btn:hover {
    background: var(--surface-primary-soft);
    color: var(--text);
    border-color: rgba(94, 234, 212, 0.38);
}

.news-category-btn.active {
    background: var(--gradient-brand);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 18px var(--glow-primary);
}

/* 更多按钮单独样式 */
.news-category-btn.more-btn {
    background: transparent;
    color: var(--primary);
    border-color: rgba(94, 234, 212, 0.48);
}

.news-category-btn.more-btn:hover {
    background: var(--surface-primary-soft);
    color: var(--text);
}

/* 移动端：只显示最新和更多，其他隐藏 - 用于资讯模块 */
@media (max-width: 768px) {
    .news-category-scroll .news-category-btn:not(.active):not(.more-btn) {
        display: none;
    }

    .news-category-scroll {
        justify-content: flex-end;
    }

    .news-category-btn.active {
        display: inline-block;
    }

    .news-category-btn.more-btn {
        display: inline-block;
    }
}

/* 资讯内容区域 - 左右布局 */
.news-content-row {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

/* 左侧最新资讯列表 */
.news-list-left {
    flex: 4;
    min-width: 0;
}

.news-list-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    color: inherit;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background: var(--surface-primary-softer);
    transform: translateX(3px);
    border-radius: var(--radius);
}

.news-list-cover {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #2a2a3a;
}

.news-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-list-item:hover .news-list-cover img {
    transform: scale(1.05);
}

.news-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-list-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.news-list-category {
    background: var(--surface-primary-soft);
    padding: 2px 10px;
    border-radius: 12px;
    color: var(--primary);
}

.news-list-time i {
    margin-right: 3px;
    font-size: 10px;
}

/* 右侧最热资讯 */
.news-hot-right {
    flex: 1;
    background: rgba(18, 22, 34, 0.55);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    height: fit-content;
}

.news-hot-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 8px;
    position: relative;
}

.news-hot-title i {
    color: #ffaa00;
    margin-right: 5px;
}

.news-hot-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #ffaa00;
    border-radius: 2px;
}

.news-hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
}

.news-hot-item:last-child {
    border-bottom: none;
}

.news-hot-item:hover {
    background: rgba(255, 170, 0, 0.05);
    transform: translateX(3px);
}

.news-hot-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.news-hot-num.top1 {
    color: #ffcc00;
    font-size: 16px;
}

.news-hot-num.top2 {
    color: #c0c0c0;
}

.news-hot-num.top3 {
    color: #cd7f32;
}

.news-hot-info {
    flex: 1;
    min-width: 0;
}

.news-hot-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-hot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.news-hot-category {
    background: var(--surface-primary-soft);
    padding: 2px 6px;
    border-radius: 10px;
    color: var(--primary);
}

.news-hot-views i {
    margin-right: 3px;
    color: #ffaa00;
}

/* 移动端响应式 */
@media (max-width: 992px) {
    .news-content-row {
        flex-direction: column;
    }

    .news-hot-right {
        width: 100%;
    }
}

/* 移动端 - 只调整布局和大小，保持列表格式不变 */
@media (max-width: 768px) {
    /* 标题行保持水平 */
    .news-header {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .news-header h2 {
        font-size: 18px;
        margin-right: 10px;
    }

    .news-category-scroll {
        flex: 0 1 auto;
    }

    /* 按钮保持原样，不缩小 */
    .news-category-btn {
        padding: 6px 18px;
        font-size: 14px;
    }

    /* 隐藏非活跃分类按钮 */
    .news-category-scroll .news-category-btn:not(.active):not(.more-btn) {
        display: none;
    }

    /* 列表项保持左右结构，只适当缩小尺寸 */
    .news-list-item {
        gap: 15px;
        padding: 12px 0;
    }

    .news-list-cover {
        width: 100px;
        height: 70px;
    }

    .news-list-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .news-list-summary {
        font-size: 12px;
        margin-bottom: 8px;
        -webkit-line-clamp: 1;
    }

    .news-list-meta {
        gap: 12px;
        font-size: 11px;
    }

    /* 最热资讯隐藏 */
    .news-hot-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .news-header h2 {
        font-size: 16px;
    }

    .news-category-btn {
        padding: 5px 16px;
        font-size: 13px;
    }

    .news-list-item {
        gap: 12px;
        padding: 10px 0;
    }

    .news-list-cover {
        width: 80px;
        height: 60px;
    }

    .news-list-title {
        font-size: 14px;
    }

    .news-list-summary {
        font-size: 11px;
    }

    .news-list-meta {
        gap: 10px;
        font-size: 10px;
    }
}

/* ===== 留言板样式 ===== */
.message-board {
    max-width: 1240px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 36px 0;
    margin: auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.message-board .container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 0 !important;
}

.message-board-header {
    text-align: center;
    margin-bottom: 30px;
}

.message-board-header h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.message-board-header h3 i {
    margin-right: 8px;
}

.message-board-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.message-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.message-form .form-group {
    margin-bottom: 15px;
}

.message-form .form-textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.message-form .form-textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.message-form .captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-form .captcha-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
}

.message-form .captcha-input:focus {
    border-color: var(--primary);
    outline: none;
}

.message-form .captcha-image {
    width: 100px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.message-form .captcha-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.message-form .captcha-refresh {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.message-form .captcha-refresh:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.message-form .form-actions {
    display: flex;
    justify-content: center;
}

.message-submit-btn {
    padding: 12px 40px;
    background: var(--gradient-brand);
    border: none;
    border-radius: 999px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.28s ease;
    box-shadow: 0 4px 18px var(--glow-primary);
}

.message-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px var(--glow-primary);
}

/* 成功提示 */
.message-success-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    z-index: 9999;
    text-align: center;
    animation: fadeInOut 3s ease forwards;
}

.message-success-tip i {
    font-size: 40px;
    color: #4caf50;
    margin-bottom: 10px;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -30%); }
    10% { opacity: 1; transform: translate(-50%, -50%); }
    90% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -70%); }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .message-board {
        padding: 20px 0;
    }

    .message-board-header h3 {
        font-size: 20px;
    }

    .message-form .captcha-group {
        flex-wrap: wrap;
    }

    .message-form .captcha-input {
        width: 100%;
    }

    .message-submit-btn {
        width: 100%;
        justify-content: center;
    }
}