/* 热榜页：布局在本文件；颜色走全站 --is-body / --is-surface / --is-font / --is-element */
.site-footer {
    display: none;
}

.rebang-header {
    margin-bottom: 8px;
}

.rebang-hero {
    --rebang-hero-h: 520px;
    position: relative;
    width: 100%;
    height: var(--rebang-hero-h);
    min-height: var(--rebang-hero-h);
    overflow: hidden;
    background-color: #f0f4ff;
    background-image: var(--rebang-hero-bg);
    /* 按 1920×520 导出时，520px 容器内可完整铺满；主视觉建议偏右 */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

/* 仅左侧文字区轻遮罩，不压住右侧海报 */
.rebang-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.82) 22%,
        rgba(255, 255, 255, 0.45) 36%,
        rgba(255, 255, 255, 0.08) 48%,
        transparent 58%
    );
}

.rebang-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: var(--rebang-hero-h);
    min-height: var(--rebang-hero-h);
    padding: 0 clamp(20px, 4vw, 48px);
    box-sizing: border-box;
}

.rebang-hero-copy {
    max-width: min(760px, 64vw);
    padding: 12px 0 40px;
}

.rebang-hero-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 24px;
}

.rebang-hero-update {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
        color: #10b981;
}

.rebang-hero-title {
margin: 0;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%);
    background-clip: text;
    color: transparent;
}

.rebang-hero-subtitle {
    margin: 0;
    max-width: 38em;
    font-size: clamp(0.9rem, 1.25vw, 1.05rem);
    line-height: 1.75;
    font-weight: 500;
        color: #000000;
}

/* —— 头部指标：布局 BS5 row/card，色板独立（不用 bg-primary 等土色） —— */
.rebang-stats-wrap {
    position: relative;
    z-index: 2;
    margin-top: -80px;
    margin-bottom: 20px;
    padding-left: clamp(12px, 2vw, 24px);
    padding-right: clamp(12px, 2vw, 24px);
    --rebang-stat-up: #22c55e;
    --rebang-stat-down: #f43f5e;
}

.rebang-stats-wrap .rebang-stat-card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    padding: .25rem;
}

.rebang-stat-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.rebang-stat-ico--violet { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.rebang-stat-ico--sky    { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.rebang-stat-ico--amber  { background: linear-gradient(145deg, #fcd34d, #f59e0b); }
.rebang-stat-ico--coral  { background: linear-gradient(145deg, #fb7185, #e11d48); }
.rebang-stat-ico--mint   { background: linear-gradient(145deg, #4ade80, #10b981); }

.rebang-stat-sub,
.rebang-stat-trend { font-size: 0.72rem; line-height: 1.35; }
.rebang-stat-trend--up { color: var(--rebang-stat-up);  }
.rebang-stat-trend--down { color: var(--rebang-stat-down); }

[data-bs-theme="dark"] .rebang-stats-wrap .rebang-stat-card {
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* —— 筛选工具栏 —— */
.rebang-toolbar-wrap {
    position: relative;
    z-index: 2;
    margin-top: 0;
    margin-bottom: 20px;
}

.rebang-toolbar {
    padding: 20px 22px;
}

/* 军师洞察 · 轻量提示条 */
.strategic-insight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--is-body);
    border: 1px solid rgba(var(--is-rgb), 0.12);
}

.insight-icon {
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

.insight-label {
    white-space: nowrap;
    flex-shrink: 0;
}

.insight-content {
    line-height: 1.55;
    flex: 1;
}

.insight-up {
    color: #ef4444;
    font-weight: 600;
}

.insight-ok {
    color: #16a34a;
    font-weight: 600;
}

.filter-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.rebang-filter-label {
    min-width: 72px;
    padding-top: 8px;
    flex-shrink: 0;
}

.rebang-chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

/* 筛选 chip：榜单 / 时间 / 排序共用 */
.rebang-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--is-body);
    color: var(--is-font);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(var(--is-rgb), 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.rebang-chip:hover:not(.is-disabled) {
    background: var(--is-surface);
    border-color: rgba(var(--is-rgb), 0.2);
}

.rebang-chip.active {
    background: #e4f3f9;
    color: #0b83ff;
}

.rebang-chip.active .fa {
    color: inherit !important;
}

.rebang-chip.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.rebang-chip .fa-arrow-down {
    color: var(--ri-danger, #ef4444);
}

.rebang-chip .fa-arrow-up {
    color: var(--ri-success, #16a34a);
}

/* VIP 徽章（全页唯一） */
.badge-vip {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    border-radius: 6px;
    margin-left: 4px;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1.4;
    border: none;
}

.badge-dev {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    background: #fff7ed;
    color: #c2410c;
    border-radius: 6px;
    margin-left: 4px;
    font-weight: 600;
    vertical-align: middle;
    border: 1px solid #fed7aa;
}

/* 新手推荐角标 - 简单大红色 */
.badge-hot {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    background: #ff3b30;
    color: #fff;
    border-radius: 8px;
    margin-left: 4px;
    font-weight: 600;
    vertical-align: middle;
}

/* 新手推荐角标 - 封面上的 */
.recommend-badge {
    position: absolute;
    top: 2px;
    right: 5px;
    background: #38ca00;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.recommend-badge i {
    margin-right: 4px;
    color: #fff;
}

.rebang-list {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* —— 榜单行：轻量卡片（对齐图2） —— */
.rebang-item {
    background: var(--is-surface);
    border: 1px solid rgba(var(--is-rgb), 0.12);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.rebang-item:hover {
    border-color: var(--is-element);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rebang-item.collapsed .collapsed-header {
    display: flex;
}

.rebang-item.expanded .collapsed-header {
    display: none;
}

.rebang-item.expanded .expanded-content {
    display: block;
}

.rebang-item.collapsed .expanded-content {
    display: none;
}

.rebang-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.rebang-row--compact {
    padding: 10px 14px;
}

.rebang-row--full {
    padding: 14px 16px;
    align-items: flex-start;
}

/* 缩略图 */
.rebang-thumb {
    position: relative;
    flex-shrink: 0;
}

.rebang-thumb--sm {
    width: 56px;
    height: 74px;
}

.rebang-thumb--lg {
    width: 88px;
}

.rebang-thumb--sm .item-cover,
.rebang-thumb--lg .item-cover {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.rebang-thumb--sm .item-cover {
    height: 74px;
}

.rebang-thumb--lg .item-cover {
    height: 118px;
}

.rebang-thumb .item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rebang-thumb-rank {
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: 2;
}


.rebang-row-main {
    flex: 1;
    min-width: 0;
}

.rebang-row-title,
.item-title {
    margin: 0;
}

.rebang-row-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}

.rebang-title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.rebang-title-line .item-title {
    font-size: 1rem;
}

.rebang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.rebang-row--full .rebang-tags {
    margin-top: 8px;
    margin-bottom: 2px;
}

.rebang-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    line-height: 1.8;
}

/* 折叠行指标 */
.rebang-row-metrics {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.rebang-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rebang-row-body {
    flex: 1;
    min-width: 0;
}

.rank-badge {
    width: 26px;
    height: 26px;
    background: var(--is-body);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 前三名特殊样式 */
.rank-badge.rank-1 { 
    background: transparent;
    background-image: url('img/1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.rank-badge.rank-1 .rank-number {
    display: none;
}

.rank-badge.rank-2 { 
    background: transparent;
    background-image: url('img/2.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.rank-badge.rank-2 .rank-number {
    display: none;
}

.rank-badge.rank-3 { 
    background: transparent;
    background-image: url('img/3.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.rank-badge.rank-3 .rank-number {
    display: none;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    opacity: 0.85;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.item-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.item-stats--lite {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 46px;
    margin-top: 10px;
}

.item-stats--lite .stat-item,
.rebang-row-metrics .rebang-metric {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: none;
    background: none;
}

/* 指标主图标底衬（FA6 为 fa-solid，勿用 .fa 选择器） */
.rebang-row-metrics .rebang-metric > i.fa-solid,
.item-stats--lite .stat-item > i.fa-solid:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #f7f4f4;
    border-radius: 8px;
    padding: 12px;
    font-size: 11px;
    line-height: 1;
}

.item-stats--lite .stat-item-text,
.rebang-row-metrics .stat-item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.6;
}

/* 指标图标语义色 */
.rebang-metric--hot .fa-fire,
.item-stats--lite .stat-item--hot .fa-fire { color: #e11d48; }
.rebang-metric--play .fa-circle-play,
.item-stats--lite .stat-item--play .fa-circle-play { color: #007aff; }
.item-stats--lite .stat-item--like .fa-heart { color: #ec4899; }
.item-stats--lite .stat-item--follow .fa-user-plus { color: #10b981; }
.item-stats--lite .stat-item--rate .fa-percent { color: #7c3aed; }
.item-stats--lite .stat-item--frate .fa-chart-line { color: #f59e0b; }
.rebang-metric--time .fa-clock,
.item-stats--lite .stat-item--time .fa-clock { color: #64748b; }

.item-stats--lite .stat-item.stat-vip {
    cursor: default;
}

.item-stats--lite .stat-item.stat-vip:not(.stat-item--hot) {
    cursor: pointer;
}

/* —— 操作区：主按钮 + 折叠菜单 —— */
.rebang-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rebang-actions--sidebar {
    flex-direction: column;
    align-items: stretch;
    width: 108px;
    gap: 6px;
    padding-left: 4px;
    border-left: 1px solid rgba(var(--is-rgb), 0.12);
    margin-left: 4px;
}

.btn-rebang-primary,
.btn-view-detail:not(.btn-outline-success) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    background: var(--is-element);
    color: var(--is-font) !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, opacity 0.2s ease;
    box-shadow: none;
}

.btn-rebang-primary:hover,
.btn-view-detail:not(.btn-outline-success):hover {
    opacity: 0.9;
    color: var(--is-font) !important;
    transform: none;
    box-shadow: none;
}
.btn-rebang-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 10px;
    font-weight: 500;
    background: var(--is-body);
    border: 1px solid rgba(var(--is-rgb), 0.12);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
        color: var(--is-font);
}

.btn-rebang-ghost:hover {
    background: var(--is-surface);
    border-color: rgba(var(--is-rgb), 0.12);
}

.rebang-actions--sidebar .btn-rebang-ghost,
.rebang-actions--sidebar .rebang-more-toggle {
    width: 100%;
}

.btn-rebang-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--is-body);
    border: 1px solid rgba(var(--is-rgb), 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-rebang-icon:hover {
    background: var(--is-surface);
    color: var(--is-element);
}

.rebang-more-wrap {
    position: relative;
}

.rebang-more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    padding: 4px;
    background: var(--is-surface);
    border: 1px solid rgba(var(--is-rgb), 0.12);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.rebang-more-menu--up {
    top: auto;
    bottom: calc(100% + 4px);
}

.rebang-more-menu.is-open {
    display: block;
}

.rebang-more-item {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    color: var(--is-font);
}

.rebang-more-item:hover {
    background: var(--is-body);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .rebang-hero {
        --rebang-hero-h: 380px;
        background-position: 72% center;
    }

    .rebang-hero::before {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.55) 35%,
            transparent 55%
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.5) 45%,
            transparent 70%
        );
    }

    .rebang-hero-inner {
        align-items: flex-end;
        padding: 0 20px;
    }

    .rebang-hero-copy {
        max-width: 100%;
        padding: 8px 0 28px;
    }

    .rebang-hero-head {
        gap: 8px 16px;
        margin-bottom: 18px;
    }

    .rebang-hero-title {
        font-size: 1.55rem;
    }

    .rebang-hero-subtitle {
        line-height: 1.65;
    }

    .rebang-hero-update {
        font-size: 11px;
    }

    .rebang-stats-wrap {
        margin-top: -40px;
        margin-bottom: 14px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .rebang-stat-ico {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .rebang-toolbar-wrap {
        margin-top: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .rebang-toolbar {
        padding: 16px 14px;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 12px;
    }

    .rebang-filter-label {
        min-width: auto;
        padding-top: 0;
    }

    .rebang-chip {
        padding: 6px 12px;
    }

    .strategic-insight {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 14px;
    }

    .insight-content {
        font-size: 12px;
        flex-basis: 100%;
        padding-left: 28px;
    }

    .rebang-row--compact {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 10px;
    }

    .rebang-row-metrics {
        order: 4;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        padding-left: 66px;
    }

    .rebang-actions--inline {
        order: 5;
        margin-left: auto;
        width: 100%;
        justify-content: flex-end;
        padding-left: 66px;
    }

    .rebang-row--full {
        flex-direction: column;
    }

    .rebang-thumb--lg {
        width: 72px;
    }

    .rebang-thumb--lg .item-cover {
        height: 96px;
    }

    .rebang-actions--sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        padding: 10px 0 0;
        margin-left: 0;
        margin-top: 8px;
    }

    .rebang-actions--sidebar .btn-rebang-primary,
    .rebang-actions--sidebar .btn-rebang-ghost,
    .rebang-actions--sidebar .rebang-more-wrap {
        flex: 1;
        min-width: calc(50% - 4px);
    }
}

.no-data {
    text-align: center;
    padding: 80px 20px;
}

.no-data .fa {
    font-size: 64px;
    color: rgba(var(--is-rgb), 0.12);
    margin-bottom: 20px;
}

.no-data p {
    margin: 10px 0;
}

.hint {
    font-size: 0.875rem;
}

/* 视频播放弹窗（简洁版） */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 67%);
    backdrop-filter: blur(10px);    
    z-index: 999999;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    line-height: 36px;
    font-weight: bold;
}

.video-modal-close:hover {
    background: #fff;
}

.video-modal-body {
    padding: 0;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.video-modal-body video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
}

.video-modal-body iframe {
    width: 100%;
    height: 75vh;
    border: none;
    display: block;
}

.video-modal-footer {
    background: #1a1a1a;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.video-external-link:hover {
    background: rgba(255,255,255,0.2);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.video-loading .fa {
    font-size: 48px;
    margin-bottom: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 暗色 */
[data-bs-theme="dark"] .rebang-item {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .rebang-tag {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.18);
}

[data-bs-theme="dark"] .btn-rebang-ghost,
[data-bs-theme="dark"] .btn-rebang-icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
        color: #e7e7e7;
}

[data-bs-theme="dark"] .rebang-more-menu {
    background: var(--is-surface);
    border-color: rgba(var(--is-rgb), 0.2);
}

[data-bs-theme="dark"] .rebang-actions--sidebar {
    border-left-color: rgba(255, 255, 255, 0.08);
}

/* 响应式 */
@media (max-width: 768px) {
    .rebang-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .video-modal-content {
        width: 95%;
        max-width: 100%;
    }
    
    .video-modal-body video {
        max-height: 70vh;
    }
    
    .video-modal-body iframe {
        height: 50vh;
    }
    
    .video-external-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ==================== 分页导航样式 ==================== */
.rebang-pagination {
    margin: 40px 0 20px;
    text-align: center;
}

.rebang-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.rebang-pagination .page-numbers li {
    list-style: none;
}

.rebang-pagination a.page-numbers,
.rebang-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--is-surface);
    border: 1px solid rgba(var(--is-rgb), 0.12);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rebang-pagination a.page-numbers:hover,
.rebang-pagination span.current {
    background: var(--is-element);
    color: var(--is-font);
    border-color: var(--is-element);
}

.rebang-pagination .prev,
.rebang-pagination .next {
    font-weight: 600;
}
.rebang-pagination .dots {
    pointer-events: none;
}

@media (max-width: 768px) {
    .rebang-pagination .page-numbers {
        gap: 6px;
    }
    
    .rebang-pagination a.page-numbers,
    .rebang-pagination span.page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}