/* ============================================================
   短剧站模板 · 活泼香蕉黄样式
   目录：template/banana/style.css
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

    --bg: #fffcf2;
    --surface: #ffffff;
    --surface-2: #fff8e7;
    --border: #f0e8d8;

    --text: #2d2520;
    --text-2: #6b5e52;
    --text-3: #a89a88;

    --brand: #ffb800;
    --brand-2: #ff9500;
    --brand-deep: #e09600;
    --brand-soft: #fff6db;
    --accent: #ff6b00;

    --radius: 16px;
    --radius-lg: 22px;
    --max: 1240px;

    --shadow-sm: 0 2px 12px rgba(160, 120, 40, .08);
    --shadow-md: 0 12px 32px rgba(160, 120, 40, .14);
    --shadow-brand: 0 12px 28px rgba(255, 160, 0, .35);
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(900px 420px at 8% -4%, rgba(255, 184, 0, .12), transparent 62%),
        radial-gradient(760px 400px at 94% 2%, rgba(255, 107, 0, .08), transparent 58%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font: 400 15px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

::selection { background: rgba(255, 184, 0, .38); color: var(--text); }

.sr-only, .skip-link {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; left: 16px; top: 12px; width: auto; height: auto;
    clip: auto; margin: 0; padding: 10px 16px; z-index: 999;
    background: var(--brand-deep); color: #fff; border-radius: 10px; font-size: 14px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 3. 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 20px; border-radius: 12px;
    border: 1px solid transparent; font-size: 14px; font-weight: 700;
    line-height: 1; white-space: nowrap; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

/* 主按钮：黄色渐底 + 深色文字（保证对比度） */
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #3a2a00;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }

/* 深色按钮：首页横幅使用 */
.btn-dark {
    background: #2d2520; color: #fff;
    box-shadow: 0 8px 20px rgba(45, 37, 32, .25);
}
.btn-dark:hover { transform: translateY(-1px); background: #1f1a16; }

.btn-ghost {
    background: var(--surface); color: var(--text);
    border-color: var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand-deep); color: var(--brand-deep); }

.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- 4. 头部 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 252, 242, .9);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 900; font-size: 18px; letter-spacing: .3px; flex: 0 0 auto;
}
.logo img { width: 34px; height: 34px; border-radius: 11px; }
.logo-text {
    background: linear-gradient(135deg, #e09600, #ff6b00);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    white-space: nowrap;
}

.main-nav {
    display: flex; align-items: center; gap: 4px;
    flex: 1 1 auto; min-width: 0;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    padding: 8px 14px; border-radius: 10px; white-space: nowrap;
    font-size: 14px; font-weight: 600; color: var(--text-2); transition: .18s;
}
.main-nav a:hover { color: var(--brand-deep); background: var(--brand-soft); }
.main-nav a.is-active {
    color: #3a2a00;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 6px 16px rgba(255, 160, 0, .3);
}

.header-actions { flex: 0 0 auto; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 4px;
    width: 38px; height: 38px; padding: 0 9px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text-2); }

/* ---------- 5. 主体 ---------- */
.site-main { padding: 22px 0 56px; min-height: 60vh; }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-3); margin: 4px 0 16px;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--brand-deep); }
.breadcrumb .sep { color: var(--text-3); opacity: .6; }
.breadcrumb [aria-current] {
    color: var(--text-2); max-width: 220px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- 7. 首页横幅 ---------- */
.hero-banner {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px; align-items: center;
    padding: 34px 36px; margin: 0 0 34px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(420px 260px at 92% 10%, rgba(255, 255, 255, .55), transparent 62%),
        linear-gradient(120deg, #ffd54f 0%, #ffb800 52%, #ff9500 100%);
    color: var(--text);
    box-shadow: 0 18px 42px rgba(255, 160, 0, .3);
}
.hero-banner::after {
    content: ""; position: absolute; right: -50px; top: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    pointer-events: none;
}
.hero-banner::before {
    content: "🍌"; position: absolute; right: 240px; bottom: -18px;
    font-size: 90px; opacity: .22; transform: rotate(-14deg);
    pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-tag {
    display: inline-flex; align-items: center; height: 28px; padding: 0 14px;
    border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .4px;
    background: rgba(255, 255, 255, .65); color: #6a4a00;
    backdrop-filter: blur(4px);
}
.hero-heading {
    margin: 14px 0 10px;
    font-size: 34px; font-weight: 900; line-height: 1.22; letter-spacing: .5px;
    color: #3a2a00;
}
.hero-text { font-size: 14px; color: #6a4a00; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-poster { position: relative; z-index: 2; }
.hero-poster-link {
    display: block; position: relative;
    border-radius: 18px; overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 16px 34px rgba(150, 90, 0, .35);
    border: 3px solid rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .1);
}
.hero-poster-link img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.hero-poster-link:hover img { transform: scale(1.05); }
.hero-poster-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 12px 10px;
    font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-poster-placeholder {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 4; border-radius: 18px;
    background: rgba(255, 255, 255, .4); border: 3px dashed rgba(255, 255, 255, .7);
    font-size: 14px; color: #6a4a00; font-weight: 600;
}

/* ---------- 8. 区块 ---------- */
.section { margin: 0 0 40px; }
.section-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: 0 0 18px;
}
.section-title {
    position: relative; padding-left: 16px;
    font-size: 20px; font-weight: 900; letter-spacing: .3px;
    display: flex; align-items: baseline; gap: 8px;
}
.section-title::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 6px; height: 20px; margin-top: -10px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}
.section-title small { font-size: 12px; font-weight: 500; color: var(--text-3); }
.section-more, .section-link { font-size: 13px; font-weight: 600; color: var(--text-3); }
.section-link:hover { color: var(--brand-deep); }

/* ---------- 9. 网格 & 卡片 ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: 20px 14px;
}

.card { transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card-link { display: block; }

.card-poster {
    position: relative; aspect-ratio: 3 / 4; overflow: hidden;
    border-radius: var(--radius); background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease;
}
.card:hover .card-poster { box-shadow: var(--shadow-md); }
.card-poster img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card-poster img { transform: scale(1.05); }
.card-poster::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 52%, rgba(20, 12, 0, .68) 100%);
}

.card-hover-icon {
    position: absolute; z-index: 3; top: 50%; left: 50%;
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border-radius: 50%; opacity: 0; transform: scale(.85);
    transition: opacity .2s ease, transform .2s ease;
    background: rgba(255, 255, 255, .96)
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff9500'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")
        center / 17px 17px no-repeat;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.card:hover .card-hover-icon { opacity: 1; transform: scale(1); }

.card-duration {
    position: absolute; z-index: 3; right: 8px; bottom: 8px;
    height: 20px; padding: 0 8px; border-radius: 6px;
    font-size: 11px; font-weight: 600; line-height: 20px; color: #fff;
    background: rgba(20, 12, 0, .7); backdrop-filter: blur(4px);
}

.card-info { padding: 10px 2px 0; }
.card-name {
    font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
}
.card:hover .card-name { color: var(--brand-deep); }
.card-sub {
    margin-top: 5px; font-size: 12px; color: var(--text-3);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- 10. 页面标题 ---------- */
.page-head { margin: 0 0 22px; }
.page-title { font-size: 24px; font-weight: 900; letter-spacing: .3px; }
.page-sub { margin-top: 8px; font-size: 13px; color: var(--text-3); }

/* ---------- 11. 分类胶囊 ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chips--compact { margin: 0 0 22px; }
.cat-chip {
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 16px; border-radius: 12px;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: .18s;
}
.cat-chip em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--text-3); }
.cat-chip:hover { color: var(--brand-deep); border-color: rgba(255, 149, 0, .4); }
.cat-chip.is-active {
    color: #3a2a00; border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow-brand);
}
.cat-chip.is-active em { color: rgba(58, 42, 0, .75); }

/* ---------- 12. 详情页 ---------- */
.detail-card {
    display: grid; grid-template-columns: 200px minmax(0, 1fr);
    gap: 26px; align-items: start;
    padding: 24px; margin: 0 0 34px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.detail-poster {
    position: relative; aspect-ratio: 3 / 4; overflow: hidden;
    border-radius: var(--radius); background: var(--surface-2);
    box-shadow: var(--shadow-sm);
}
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-badge {
    position: absolute; left: 8px; top: 8px; z-index: 2;
    height: 24px; padding: 0 10px; border-radius: 8px;
    font-size: 11px; font-weight: 700; line-height: 24px; color: #3a2a00;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 6px 16px rgba(255, 160, 0, .38);
}

.detail-main { min-width: 0; }
.detail-name { font-size: 26px; font-weight: 900; letter-spacing: .3px; word-break: break-word; }

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-tag {
    display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
    border-radius: 8px; font-size: 12px; font-weight: 600;
    color: var(--text-2); background: var(--surface-2);
}
.detail-tag--brand { color: var(--brand-deep); background: var(--brand-soft); }
.detail-tag--brand:hover { background: rgba(255, 184, 0, .22); }

.detail-facts {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    margin: 18px 0; padding: 14px 16px;
    border-radius: 12px; background: var(--surface-2);
    font-size: 13px;
}
.detail-facts li { display: flex; align-items: baseline; gap: 8px; }
.detail-facts li > span { color: var(--text-3); }
.detail-facts li > b { font-weight: 700; color: var(--text); }

.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 13. 选集 ---------- */
.ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 10px;
    max-height: 440px;
    overflow-y: auto;
    padding: 2px 8px 2px 2px;
    scrollbar-width: thin;
    scrollbar-color: #e8dcc0 transparent;
}
.ep-grid::-webkit-scrollbar { width: 6px; }
.ep-grid::-webkit-scrollbar-thumb { background: #e8dcc0; border-radius: 3px; }

.ep-btn {
    display: flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 8px; border-radius: 12px;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: .18s;
}
.ep-btn:hover { color: var(--brand-deep); border-color: rgba(255, 149, 0, .5); }
.ep-btn.is-current {
    color: #3a2a00; border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow-brand);
}

/* ---------- 14. 播放页 ---------- */
.play-title { font-size: 22px; font-weight: 900; margin: 0 0 16px; letter-spacing: .3px; word-break: break-word; }

.player-box {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    margin: 0 0 32px;
}
.player-frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px;
    background: #0a0805;
}
.player-video {
    position: absolute; inset: 0; z-index: 3;
    width: 100%; height: 100%;
    background: #000; object-fit: contain;
}
.player-video:focus { outline: 2px solid var(--brand); outline-offset: 2px; }

.player-empty {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; color: #fff; text-align: center; padding: 20px;
    background: radial-gradient(circle at 50% 45%, rgba(255, 149, 0, .2), rgba(10, 8, 5, .96) 76%);
}
.player-empty span { font-size: 17px; font-weight: 700; }
.player-empty small { font-size: 12px; color: rgba(255, 255, 255, .6); }

.player-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px; padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.player-bar-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.player-bar-name { font-size: 15px; font-weight: 700; }
.player-bar-name:hover { color: var(--brand-deep); }
.player-bar-sub { font-size: 12px; color: var(--text-3); }
.player-nav { display: flex; gap: 10px; }

/* ---------- 15. 紧凑分页 ---------- */
.pager-wrap { margin: 34px 0 6px; display: flex; justify-content: center; }

.pager-wrap .pager {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 6px; margin: 0; padding: 0; list-style: none;
}

.pager-btn,
.pager-current,
.pager-ellipsis {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px;
    border-radius: 12px; font-size: 13px; line-height: 1; font-weight: 600;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-2); box-shadow: var(--shadow-sm);
    transition: color .18s, border-color .18s, background .18s;
}

.pager-btn:hover { color: var(--brand-deep); border-color: rgba(255, 149, 0, .5); }

.pager-current {
    color: #3a2a00; border-color: transparent; font-weight: 800;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow-brand);
}

.pager-ellipsis {
    min-width: 22px; padding: 0;
    background: transparent; border-color: transparent; box-shadow: none;
    color: var(--text-3); cursor: default;
}

.pager-prev, .pager-next { min-width: 72px; }

.pager-btn.is-disabled {
    opacity: .45; pointer-events: none;
    color: var(--text-3); box-shadow: none;
}

/* ---------- 16. 空状态 ---------- */
.empty {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 64px 20px; text-align: center;
    border: 1px dashed var(--border); border-radius: var(--radius-lg);
    background: var(--surface);
}
.empty-icon {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--brand-soft); position: relative;
}
.empty-icon::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    width: 0; height: 0;
    border-left: 12px solid rgba(255, 149, 0, .55);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    transform: translateX(2px);
}
.empty-title { font-size: 16px; font-weight: 700; }
.empty-text { font-size: 13px; color: var(--text-3); }
.empty .btn { margin-top: 8px; }
.empty-inline { padding: 28px; text-align: center; font-size: 14px; color: var(--text-3); }

/* ---------- 17. APP 应用优势（首页区块） ---------- */
.app-adv-section {
    padding: 36px 32px;
    margin: 0 0 40px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(480px 260px at 92% 4%, rgba(255, 255, 255, .55), transparent 62%),
        linear-gradient(135deg, #fff2c2 0%, #ffe08a 100%);
    border: 1px solid #ffe59a;
    box-shadow: 0 12px 30px rgba(255, 190, 60, .18);
}
.app-adv-head {
    text-align: center; max-width: 640px; margin: 0 auto 26px;
}
.app-adv-eyebrow {
    display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
    border-radius: 999px; font-size: 12px; font-weight: 700;
    color: #6a4a00; background: rgba(255, 255, 255, .7);
    margin-bottom: 12px;
}
.app-adv-title { font-size: 24px; font-weight: 900; color: #3a2a00; letter-spacing: .3px; }
.app-adv-sub { margin-top: 10px; font-size: 14px; color: #6a4a00; }

.app-adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 0 0 24px;
}
.app-adv-card {
    padding: 20px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .9);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.app-adv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(200, 140, 0, .18);
}
.app-adv-icon {
    font-size: 32px; line-height: 1; margin-bottom: 10px;
    display: inline-block;
}
.app-adv-card-title {
    font-size: 16px; font-weight: 800; color: #3a2a00;
    margin: 0 0 6px;
}
.app-adv-card-desc {
    font-size: 13px; color: #7a5a20; line-height: 1.55;
}

.app-adv-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 14px;
}
.app-adv-note { font-size: 12px; color: #7a5a20; }

/* ---------- 18. 下载页 ---------- */
.download-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px; align-items: center;
    padding: 34px; margin: 0 0 40px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(560px 280px at 6% 0%, rgba(255, 184, 0, .18), transparent 68%),
        var(--surface);
    box-shadow: var(--shadow-md);
}
.download-title { margin: 14px 0 12px; font-size: 28px; font-weight: 900; letter-spacing: .4px; }
.download-sub { font-size: 14px; color: var(--text-2); max-width: 520px; }

.download-features {
    display: flex; flex-direction: column; gap: 12px;
    margin: 22px 0;
}
.download-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: var(--text-2);
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface-2);
}
.download-features li b { color: var(--text); font-weight: 700; }
.download-feature-icon {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; font-size: 16px;
    box-shadow: 0 2px 6px rgba(160, 120, 40, .15);
}

.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.download-note { margin-top: 14px; font-size: 12px; color: var(--text-3); }

.download-mock { display: flex; justify-content: center; }
.download-phone {
    width: 200px; height: 384px; padding: 16px 14px;
    border-radius: 28px; background: #fffdf5;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 10px;
    position: relative;
}
.phone-notch {
    width: 54px; height: 6px; border-radius: 3px;
    background: #f0e2c0; margin: 0 auto 4px;
}
.phone-cover {
    flex: 1 1 auto; border-radius: 14px;
    background: linear-gradient(135deg, #ffd54f, #ff9500);
}
.phone-line { height: 8px; border-radius: 4px; background: #f0e2c0; }
.phone-line.short { width: 58%; }
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phone-grid span { height: 48px; border-radius: 9px; background: #f5ead0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li {
    display: flex; gap: 14px; padding: 18px;
    border-radius: var(--radius); background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.step-num {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #3a2a00;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.steps b { display: block; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.steps p { font-size: 13px; color: var(--text-3); }

/* ---------- 19. 页脚 ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 36px 0 28px;
}
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-top {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 24px; align-items: flex-start;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.footer-desc { font-size: 13px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--text-2); }
.footer-links a:hover { color: var(--brand-deep); }
.footer-copy {
    font-size: 12px; color: var(--text-3); line-height: 1.7;
    padding-top: 16px; border-top: 1px solid var(--border);
}

/* ---------- 20. 返回顶部 ---------- */
.to-top {
    position: fixed; right: 18px; bottom: 22px; z-index: 90;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-deep);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: .22s; cursor: pointer;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #3a2a00; background: var(--brand); border-color: var(--brand); }

/* ---------- 21. 响应式 ---------- */
@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 18px; }
    .card-name { font-size: 15px; }
}

@media (min-width: 1100px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }

    .main-nav {
        position: fixed; left: 0; right: 0; top: 68px; z-index: 99;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 14px 16px 20px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        max-height: calc(100vh - 68px); overflow-y: auto;
        transform: translateY(-12px);
        opacity: 0; visibility: hidden;
        transition: transform .22s ease, opacity .22s ease, visibility .22s;
        box-shadow: 0 20px 40px rgba(160, 120, 40, .12);
    }
    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav a { padding: 12px; font-size: 15px; }

    .hero-banner { grid-template-columns: minmax(0, 1fr) 180px; padding: 26px; }
    .hero-heading { font-size: 26px; }
    .hero-banner::before { display: none; }

    .detail-card { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px; }
    .detail-name { font-size: 21px; }

    .download-hero { grid-template-columns: 1fr; padding: 26px; }
    .download-mock { display: none; }

    .app-adv-section { padding: 28px 20px; }
}

@media (max-width: 640px) {
    .container { padding: 0 14px; }
    .site-main { padding: 16px 0 44px; }

    .logo-text { font-size: 16px; }

    .hero-banner {
        grid-template-columns: 1fr; gap: 20px;
        padding: 24px 20px; margin-bottom: 28px;
        border-radius: 20px;
    }
    .hero-heading { font-size: 24px; }
    .hero-text { font-size: 13px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-poster { display: none; }

    .grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 16px 10px; }
    .card-name { font-size: 13px; }

    .detail-card { grid-template-columns: 1fr; }
    .detail-poster { width: 44%; max-width: 168px; }
    .detail-name { font-size: 19px; }
    .detail-facts { font-size: 12px; padding: 12px; gap: 8px 16px; }
    .detail-actions .btn { flex: 1 1 auto; }

    .play-title { font-size: 17px; }
    .player-bar { padding: 14px; }
    .player-nav { width: 100%; }
    .player-nav .btn { flex: 1 1 0; }

    .ep-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); max-height: 330px; }

    .download-title { font-size: 22px; }
    .download-actions .btn { flex: 1 1 auto; }

    .section-title { font-size: 17px; }
    .page-title { font-size: 20px; }

    .app-adv-section { padding: 24px 16px; }
    .app-adv-title { font-size: 20px; }
    .app-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .app-adv-card { padding: 16px 12px; }
    .app-adv-icon { font-size: 26px; margin-bottom: 8px; }
    .app-adv-card-title { font-size: 14px; }
    .app-adv-card-desc { font-size: 12px; }
    .app-adv-cta { gap: 10px; }
    .app-adv-cta .btn { flex: 1 1 100%; }

    .pager-btn, .pager-current { min-width: 34px; height: 34px; font-size: 12px; padding: 0 10px; }
    .pager-prev, .pager-next { min-width: 60px; padding: 0 8px; }
    .pager-ellipsis { min-width: 18px; }

    .to-top { right: 12px; bottom: 14px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}