:root {
    --bg: #0a101e;
    --surface: #0f172a;
    --surface-2: #172033;
    --surface-3: #1e293b;
    --gold: #eab308;
    --gold-strong: #f59e0b;
    --cream: #fef3c7;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --line: rgba(234, 179, 8, .18);
    --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.section-shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    background: rgba(10, 16, 30, .88);
    backdrop-filter: blur(18px);
}
.nav-shell { width: min(var(--shell), calc(100% - 40px)); min-height: 68px; margin: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img, .brand video { display: block; width: 94px; height: 48px; object-fit: contain; object-position: left center; }
.brand .brand-safari-animation { display: none; }
.is-safari .brand video { display: none; }
.is-safari .brand .brand-safari-animation { display: block; }
.main-nav { display: flex; gap: 28px; color: #cbd5e1; font-size: 14px; }
.main-nav a { padding: 24px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--gold); transition: right .18s ease; }
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { right: 0; }

.hero { min-height: 670px; padding-block: 76px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr); gap: 74px; align-items: center; }
.eyebrow, .section-kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(234,179,8,.11); }
.hero h1 { margin: 22px 0 20px; color: #f8fafc; font-size: clamp(52px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 em { color: var(--cream); font-style: normal; }
.hero-lead { max-width: 640px; color: #aebbd0; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(148,163,184,.2); font-size: 14px; font-weight: 700; transition: transform .18s, border-color .18s, background .18s; }
.hero-actions .button { padding-inline: 14px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #111827; border-color: var(--gold); background: linear-gradient(135deg, var(--gold), var(--gold-strong)); }
.button-quiet { color: var(--cream); background: rgba(15,23,42,.65); }
.hero-actions button.button { cursor: pointer; }
.hero-stats { display: flex; gap: 0; margin: 42px 0 0; }
.hero-stats div { min-width: 125px; padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(148,163,184,.18); }
.hero-stats div:last-child { border: 0; }
.hero-stats dt { color: #f8fafc; font-size: 20px; font-weight: 700; }
.hero-stats dd { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.hero-poster { position: relative; min-height: 510px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 24px 24px 0 rgba(234,179,8,.045); }
.hero-poster::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(254,243,199,.25); z-index: 2; pointer-events: none; }
.hero-poster img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s ease; }
.hero-poster:hover img { transform: scale(1.025); }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,9,17,.92)); }
.poster-meta { position: absolute; left: 38px; right: 38px; bottom: 34px; display: grid; z-index: 3; }
.poster-meta small { color: var(--gold); font-weight: 700; letter-spacing: .14em; }
.poster-meta strong { margin: 6px 0 15px; color: white; font-size: 34px; }
.poster-meta > span { color: #dbe3ef; display: flex; justify-content: space-between; font-size: 14px; }

.bp-zone { padding: 34px 0; }
.section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2 { margin: 7px 0 0; color: #f8fafc; font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.035em; }
.section-heading p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.65; text-align: right; font-size: 14px; }
.character-heading-meta { display: grid; justify-items: end; gap: 5px; }
.section-heading .current-version-line { max-width: none; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: #a9b7ca; line-height: 1.4; white-space: nowrap; }
.current-version-line > span:first-child { color: var(--muted); }
.current-version-line strong { color: var(--gold-soft); font-size: 16px; }
.current-version-line a { margin-left: 4px; color: var(--gold); font-size: 12px; }
.current-version-line a:hover { color: var(--gold-soft); }
.current-version-line i { margin-left: 3px; font-size: 9px; }
.compact-heading { margin-bottom: 18px; }
.bp-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.bp-card { min-height: 110px; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: rgba(15,23,42,.72); border-right: 1px solid var(--line); transition: background .18s; }
.bp-card:last-child { border: 0; }
.bp-card:hover, .bp-card.featured { background: var(--surface-2); }
.bp-card.featured { box-shadow: inset 0 -2px var(--gold); }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); background: rgba(234,179,8,.08); }
.bp-card small, .bp-card strong { display: block; }
.bp-card small { color: var(--muted); font-size: 11px; }
.bp-card strong { margin-top: 6px; color: var(--cream); font-size: 16px; }
.bp-card > i { color: #64748b; font-size: 12px; }

.first-watch {
    padding-bottom: 90px;
    scroll-margin-top: 92px;
}
.about-summary {
    width: 100%;
    min-height: 116px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: var(--text);
    background: linear-gradient(105deg, rgba(15,23,42,.94), rgba(23,32,51,.72));
    text-align: left;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}
.about-summary:hover, .first-watch.is-open .about-summary {
    border-color: rgba(234,179,8,.48);
    background: var(--surface-2);
}
.about-summary-copy { display: grid; }
.about-summary-copy small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.about-summary-copy strong { margin-top: 6px; color: #f8fafc; font-size: 24px; }
.about-summary-copy em { margin-top: 5px; color: var(--muted); font-size: 12px; font-style: normal; }
.about-toggle-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(234,179,8,.3);
    display: grid;
    place-items: center;
    color: var(--gold);
    background: rgba(234,179,8,.06);
    font-size: 20px;
}
.about-content[hidden] { display: none; }
.about-content {
    padding: 34px;
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(15,23,42,.64);
}
.about-intro {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.about-intro h2 { margin: 0; color: #f8fafc; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.03em; }
.about-intro p { max-width: 610px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; text-align: right; }
.about-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.about-steps article {
    min-height: 235px;
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(10,16,30,.35);
}
.about-steps article > span { display: block; margin-bottom: 34px; color: #4b586c; font: 800 11px ui-monospace, monospace; }
.about-steps article > b { color: var(--gold); font: 800 10px ui-monospace, monospace; letter-spacing: .12em; }
.about-steps article > strong { display: block; margin: 9px 0 9px; color: var(--cream); font-size: 18px; }
.about-steps article > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.about-links {
    margin-top: 14px;
    padding: 20px 22px;
    border-left: 2px solid var(--gold);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    background: rgba(234,179,8,.045);
}
.about-links strong { color: #f8fafc; font-size: 14px; }
.about-links p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.about-links a { padding: 10px 12px; border: 1px solid rgba(234,179,8,.3); color: var(--cream); font-size: 11px; white-space: nowrap; }
.about-links a:hover { border-color: var(--gold); }
.about-links a i { margin-left: 7px; color: var(--gold); font-size: 9px; }

.character-zone { padding-block: 90px; }

.history-section { padding: 90px 0; background: var(--surface); border-block: 1px solid rgba(148,163,184,.1); }
.qianxing-banner { min-height: 148px; margin-bottom: 16px; padding: 24px 28px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(234,179,8,.32); color: var(--cream); background: #101a2c; transition: transform .18s, border-color .18s, box-shadow .18s; }
.qianxing-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1322 0%, #0b1322 34%, rgba(11,19,34,.95) 48%, rgba(11,19,34,.58) 68%, rgba(11,19,34,.16) 100%); }
.qianxing-banner > img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 68%; height: 100%; object-fit: cover; object-position: center 52%; transition: transform .45s ease, filter .3s ease; }
.qianxing-copy { min-width: 0; display: flex; flex-direction: column; }
.qianxing-copy small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.qianxing-copy strong { margin-top: 8px; color: #fff; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; text-shadow: 0 2px 12px #000; }
.qianxing-copy em { margin-top: 8px; color: #cbd5e1; font-size: 13px; font-style: normal; text-shadow: 0 1px 8px #000; }
.qianxing-action { flex: 0 0 auto; padding: 11px 14px; border: 1px solid rgba(234,179,8,.45); color: var(--cream); background: rgba(10,16,30,.7); font-size: 12px; }
.qianxing-action i { margin-left: 7px; color: var(--gold); }
.qianxing-banner:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.qianxing-banner:hover > img { transform: scale(1.025); filter: saturate(1.08); }
.history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.history-card { min-height: 270px; padding: 22px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(148,163,184,.18); background: #111b2e; transition: transform .18s, border-color .18s; }
.history-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a101e 0%, #0a101e 35%, rgba(10,16,30,.96) 48%, rgba(10,16,30,.74) 63%, rgba(10,16,30,.12) 100%); }
.history-cover { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 64%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease, filter .3s ease; }
.history-cover-right { object-position: 72% center; }
.history-card:hover { transform: translateY(-3px); border-color: rgba(234,179,8,.42); }
.history-card:hover .history-cover { transform: scale(1.04); filter: saturate(1.08); }
.history-card.current { border-color: rgba(234,179,8,.55); }
.season-row { width: 66%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.season { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.season b { margin-left: 6px; padding: 3px 6px; color: #111827; background: var(--gold); font-size: 9px; letter-spacing: 0; }
.season-row time { color: #cbd5e1; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .06em; text-shadow: 0 1px 8px #000; }
.history-card h3 { width: 68%; margin: auto 0 8px; color: #fff; font-size: 22px; line-height: 1.2; text-shadow: 0 2px 12px #000; }
.history-card p { width: 68%; margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.45; text-shadow: 0 1px 8px #000; }
.history-card footer { width: 68%; margin-top: 18px; padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.15); color: #e2e8f0; font-size: 13px; }
.history-card footer i { color: var(--gold); }

.section-heading sup { margin-left: 5px; color: var(--gold); font-size: 14px; vertical-align: top; }
.filter-bar { padding: 16px; display: flex; align-items: end; gap: 12px; border: 1px solid rgba(148,163,184,.15); background: rgba(15,23,42,.64); }
.filter-bar label { flex: 1; }
.filter-bar label span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.filter-bar select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid rgba(148,163,184,.2); border-radius: 0; color: #e2e8f0; background: var(--surface); outline: none; }
.filter-bar select:focus { border-color: var(--gold); }
.filter-bar button { height: 42px; padding: 0 18px; border: 1px solid var(--line); color: var(--cream); background: rgba(234,179,8,.06); cursor: pointer; }
.character-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; }
.character-card { min-width: 0; overflow: hidden; border: 1px solid rgba(148,163,184,.13); background: rgba(15,23,42,.72); transition: transform .18s, border-color .18s; }
.character-card:hover { transform: translateY(-3px); border-color: var(--line); }
.character-image { aspect-ratio: 1; overflow: hidden; background: var(--surface-3); }
.character-image img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.character-meta { padding: 9px 9px 0; display: flex; justify-content: space-between; gap: 4px; color: var(--muted); font-size: 9px; }
.character-card h3 { margin: 6px 9px 3px; color: var(--cream); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stars { min-height: 25px; padding: 0 9px 9px; color: var(--gold); font-size: 7px; }
.show-more { width: 100%; margin-top: 12px; padding: 13px; border: 1px solid rgba(148,163,184,.14); color: var(--cream); background: rgba(15,23,42,.6); cursor: pointer; }
.show-more:hover { border-color: var(--line); }
.show-more[hidden] { display: none; }

.crew-section { padding-bottom: 72px; }
.crew-trigger { width: 100%; min-height: 112px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); color: var(--text); background: linear-gradient(105deg, rgba(15,23,42,.94), rgba(23,32,51,.72)); text-align: left; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.crew-trigger:hover { transform: translateY(-2px); border-color: rgba(234,179,8,.48); background: var(--surface-2); }
.crew-trigger span { display: grid; }
.crew-trigger small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.crew-trigger strong { margin-top: 6px; color: #f8fafc; font-size: 23px; }
.crew-trigger em { margin-top: 5px; color: var(--muted); font-size: 12px; font-style: normal; }
.crew-trigger > i { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(234,179,8,.3); color: var(--gold); background: rgba(234,179,8,.06); font-size: 12px; }
.crew-drawer[hidden] { display: none; }
.crew-drawer { position: fixed; inset: 0; z-index: 200; }
.crew-backdrop { position: absolute; inset: 0; background: rgba(2,6,14,.74); opacity: 0; backdrop-filter: blur(5px); transition: opacity .26s ease; }
.crew-panel { max-height: min(78vh, 690px); padding: 28px max(20px, calc((100vw - var(--shell)) / 2 + 20px)) 34px; position: absolute; left: 0; right: 0; bottom: 0; overflow-y: auto; border-top: 1px solid rgba(234,179,8,.58); background: #0d1627; box-shadow: 0 -22px 60px rgba(0,0,0,.42); transform: translateY(100%); transition: transform .26s ease; }
.crew-drawer.is-open .crew-backdrop { opacity: 1; }
.crew-drawer.is-open .crew-panel { transform: translateY(0); }
.crew-drawer-open { overflow: hidden; }
.crew-panel-header { padding-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(148,163,184,.14); }
.crew-panel-header h2 { margin: 7px 0 0; color: #f8fafc; font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.035em; }
.crew-close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(148,163,184,.2); color: var(--cream); background: rgba(15,23,42,.85); cursor: pointer; }
.crew-close:hover { border-color: var(--gold); color: var(--gold); }
.crew-list { padding-top: 20px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.crew-list > div { height: 102px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(148,163,184,.13); background: rgba(23,32,51,.66); }
.crew-list small { color: var(--muted); font-size: 10px; }
.crew-list strong { margin-top: 14px; color: var(--cream); font-size: 15px; line-height: 1.45; }

.data-center-drawer[hidden], .data-rule-view[hidden] { display: none; }
.data-center-drawer { position: fixed; inset: 0; z-index: 210; }
.data-center-backdrop { position: absolute; inset: 0; background: rgba(2,6,14,.78); opacity: 0; backdrop-filter: blur(6px); transition: opacity .28s ease; }
.data-center-panel { max-height: 90vh; padding: 28px max(20px, calc((100vw - var(--shell)) / 2 + 20px)) 38px; position: absolute; left: 0; right: 0; bottom: 0; overflow-y: auto; border-top: 1px solid rgba(234,179,8,.62); background: #0d1627; box-shadow: 0 -24px 70px rgba(0,0,0,.48); transform: translateY(100%); transition: transform .28s ease; }
.data-center-drawer.is-open .data-center-backdrop { opacity: 1; }
.data-center-drawer.is-open .data-center-panel { transform: translateY(0); }
.data-center-drawer-open { overflow: hidden; }
.data-center-header { padding-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(148,163,184,.14); }
.data-center-header h2 { margin: 7px 0 5px; color: #f8fafc; font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -.035em; }
.data-center-header p { margin: 0; color: var(--muted); font-size: 12px; }
.data-center-close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(148,163,184,.2); color: var(--cream); background: rgba(15,23,42,.85); cursor: pointer; }
.data-center-close:hover { border-color: var(--gold); color: var(--gold); }
.data-center-menu { padding-block: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.data-center-menu > a, .data-center-menu > button { min-height: 92px; padding: 16px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid rgba(148,163,184,.14); color: var(--text); background: rgba(23,32,51,.66); text-align: left; cursor: pointer; }
.data-center-menu > a:hover, .data-center-menu > button:hover, .data-center-menu > button.active { border-color: rgba(234,179,8,.48); background: var(--surface-2); }
.data-center-menu > a > i, .data-center-menu > button > i { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); background: rgba(234,179,8,.07); }
.data-center-menu span, .data-center-menu strong, .data-center-menu small { display: block; min-width: 0; }
.data-center-menu strong { color: var(--cream); font-size: 14px; }
.data-center-menu small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.data-center-menu b { color: #64748b; font-size: 10px; }
.data-center-menu button.active b { color: var(--gold); transform: rotate(180deg); }
.data-center-content:empty { display: none; }
.data-rule-view { padding: 24px; border: 1px solid rgba(148,163,184,.14); background: rgba(10,16,30,.7); }
.data-rule-heading { margin-bottom: 22px; }
.data-rule-heading h3 { margin: 7px 0 5px; color: #f8fafc; font-size: 26px; }
.data-rule-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.annual-table { max-width: 760px; border: 1px solid rgba(148,163,184,.14); }
.annual-row { min-height: 48px; padding: 0 18px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(148,163,184,.1); }
.annual-row:last-child { border-bottom: 0; }
.annual-row:nth-child(even) { background: rgba(30,41,59,.34); }
.annual-row span { color: var(--cream); font-weight: 700; }
.annual-row b { color: #e2e8f0; font-size: 15px; font-variant-numeric: tabular-nums; }
.annual-head { min-height: 54px; color: var(--gold); background: rgba(234,179,8,.07); }
.annual-head strong { font-size: 12px; }
.elo-summary { padding: 17px 18px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; border-left: 2px solid var(--gold); background: rgba(234,179,8,.055); }
.elo-summary i { color: var(--gold); font-size: 20px; text-align: center; }
.elo-summary p { margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.75; }
.elo-formula { margin-top: 16px; padding: 20px; display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 13px 20px; border: 1px solid rgba(148,163,184,.14); background: #101a2c; }
.elo-formula small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.elo-formula strong { color: var(--cream); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.elo-formula p { grid-column: 2; margin: 0; color: var(--muted); font-size: 11px; }
.elo-notes { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.elo-notes > div { padding: 18px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; border: 1px solid rgba(148,163,184,.13); background: rgba(23,32,51,.58); }
.elo-notes > div > b { color: var(--gold); font-size: 10px; }
.elo-notes strong { color: var(--cream); font-size: 13px; }
.elo-notes p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.site-footer { padding: 32px 0; border-top: 1px solid rgba(148,163,184,.12); color: var(--muted); font-size: 12px; }
.site-footer .section-shell { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-footer p { max-width: 680px; margin: 0; line-height: 1.75; }
.footer-meta { display: grid; flex: 0 0 auto; gap: 5px; text-align: right; }
.footer-meta a { color: var(--gold); }
.footer-meta a:hover { color: var(--cream); }

@media (max-width: 980px) {
    .nav-shell { flex-wrap: wrap; gap: 0; }
    .main-nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(148,163,184,.1); }
    .main-nav a { padding: 10px 4px; text-align: center; font-size: 12px; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-block: 60px; }
    .hero-copy { max-width: 760px; }
    .hero-poster { min-height: 480px; }
    .bp-grid { grid-template-columns: 1fr 1fr; }
    .bp-card:nth-child(2) { border-right: 0; }
    .bp-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .about-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
    .about-intro p { text-align: left; }
    .about-steps { grid-template-columns: 1fr 1fr; }
    .about-links { grid-template-columns: 1fr 1fr; }
    .about-links > div { grid-column: 1 / -1; }
    .history-grid { grid-template-columns: 1fr 1fr; }
    .character-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 640px) {
    .section-shell, .nav-shell { width: min(100% - 24px, var(--shell)); }
    .nav-shell { min-height: 60px; }
    .brand img, .brand video { width: 82px; height: 42px; }
    .hero { padding-block: 42px 52px; }
    .hero h1 { font-size: clamp(44px, 14vw, 64px); }
    .hero-lead { font-size: 15px; }
    .hero-stats { gap: 18px; }
    .hero-stats div { min-width: 0; margin: 0; padding: 0 18px 0 0; flex: 1; }
    .hero-poster { min-height: 390px; box-shadow: 10px 10px 0 rgba(234,179,8,.045); }
    .poster-meta { left: 28px; right: 28px; }
    .history-section, .character-zone { padding-block: 60px; }
    .bp-zone { padding: 60px 0 24px; }
    .first-watch { padding-bottom: 60px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .section-heading p { text-align: left; }
    .character-heading-meta { justify-items: start; }
    .section-heading .current-version-line { justify-content: flex-start; flex-wrap: wrap; white-space: normal; }
    .qianxing-banner { min-height: 136px; padding: 20px; }
    .qianxing-banner > img { width: 78%; }
    .qianxing-banner::after { background: linear-gradient(90deg, #0b1322 0%, rgba(11,19,34,.96) 48%, rgba(11,19,34,.48) 100%); }
    .qianxing-copy { max-width: 72%; }
    .qianxing-action { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; font-size: 0; }
    .qianxing-action i { margin: 0; font-size: 12px; }
    .bp-grid, .history-grid { grid-template-columns: 1fr; }
    .bp-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .bp-card:nth-child(3) { border-bottom: 1px solid var(--line); }
    .about-summary { min-height: 104px; padding: 18px; }
    .about-summary-copy strong { font-size: 21px; }
    .about-content { padding: 22px 16px; }
    .about-steps { grid-template-columns: 1fr; }
    .about-steps article { min-height: 190px; }
    .about-links { grid-template-columns: 1fr; }
    .about-links > div { grid-column: auto; }
    .about-links a { white-space: normal; }
    .filter-bar { display: grid; grid-template-columns: 1fr 1fr; }
    .filter-bar button { align-self: end; grid-column: 1 / -1; }
    .character-grid { grid-template-columns: repeat(4, 1fr); gap: 7px; }
    .character-meta { padding: 7px 7px 0; }
    .character-card h3 { margin: 5px 7px 3px; font-size: 12px; }
    .stars { padding: 0 7px 7px; }
    .crew-section { padding-bottom: 52px; }
    .crew-trigger { min-height: 98px; padding: 18px; }
    .crew-trigger strong { font-size: 20px; }
    .crew-panel { max-height: 84vh; padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); }
    .crew-list { grid-template-columns: repeat(4, 1fr); gap: 7px; }
    .crew-list > div { height: 104px; padding: 10px; }
    .crew-list small { font-size: 9px; line-height: 1.35; }
    .crew-list strong { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
    .data-center-panel { max-height: 92vh; padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); }
    .data-center-menu { grid-template-columns: 1fr; gap: 8px; }
    .data-center-menu > a, .data-center-menu > button { min-height: 76px; padding: 12px; }
    .data-rule-view { padding: 16px 12px; }
    .annual-row { min-height: 45px; padding: 0 10px; grid-template-columns: 1.15fr 1fr 1fr; }
    .annual-row span, .annual-row b { font-size: 12px; }
    .annual-head strong { font-size: 10px; }
    .elo-formula { padding: 15px; grid-template-columns: 1fr; gap: 6px; }
    .elo-formula strong { margin-bottom: 9px; font-size: 13px; }
    .elo-formula p { grid-column: 1; }
    .elo-notes { grid-template-columns: 1fr; }
    .site-footer .section-shell { align-items: flex-start; flex-direction: column; gap: 16px; }
    .footer-meta { text-align: left; }
}
