:root {
    --ink: #252b29;
    --ink-soft: #68716d;
    --brand: #2f6f68;
    --brand-2: #6f9f95;
    --deep: #18211f;
    --paper: #f4f6f3;
    --panel: #e7ece8;
    --white: #ffffff;
    --accent: #e6a23c;
    --accent-dark: #9c661b;
    --line: rgba(24, 33, 31, 0.12);
    --line-strong: rgba(24, 33, 31, 0.22);
    --shadow-sm: 0 8px 24px rgba(24, 33, 31, 0.08);
    --shadow-md: 0 18px 46px rgba(24, 33, 31, 0.13);
    --shadow-lg: 0 30px 80px rgba(24, 33, 31, 0.18);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 42px;
    --shell: 1240px;
    --text: clamp(1rem, 0.96rem + 0.15vw, 1.08rem);
    --h1: clamp(2.4rem, 4vw, 5.4rem);
    --h2: clamp(1.8rem, 2.4vw, 3.1rem);
    --h3: clamp(1.15rem, 1.2vw, 1.35rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: var(--text);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(230, 162, 60, 0.85); outline-offset: 3px; }
::selection { background: rgba(47, 111, 104, 0.18); color: var(--deep); }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--deep);
    color: #fff;
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(44px, 6vw, 78px); }
.section--panel { background: var(--panel); }
.section--deep { background: var(--deep); color: #f7faf8; }
.section__head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
    gap: 30px;
    align-items: end;
    margin-bottom: 36px;
}
.section__head h2 { margin: 0; font-size: var(--h2); line-height: 1.08; letter-spacing: -.035em; }
.section__head p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.section--deep .section__head p { color: rgba(247, 250, 248, .68); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--deep .eyebrow { color: #9dc5bc; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(24, 33, 31, .08);
    background: rgba(244, 246, 243, .92);
    backdrop-filter: blur(18px);
}
.site-header__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-lockup img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.brand-lockup span { display: grid; line-height: 1.18; }
.brand-lockup strong { font-size: 1rem; letter-spacing: .02em; }
.brand-lockup small { margin-top: 5px; color: var(--ink-soft); font-size: .71rem; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 6px; }
.primary-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: #4f5955;
    font-size: .92rem;
    transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover { color: var(--deep); background: rgba(47, 111, 104, .08); }
.primary-nav a[aria-current="page"] { color: #fff; background: var(--brand); }
.search-toggle,
.menu-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.search-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}
.search-toggle:hover { border-color: var(--brand-2); }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.search-panel__form { position: relative; padding-block: 24px 28px; }
.search-panel label { display: block; margin-bottom: 9px; font-size: .85rem; font-weight: 700; color: var(--brand); }
.search-control { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-control input {
    min-width: 0;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--paper);
    color: var(--ink);
}
.search-control button,
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-control button:hover,
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: #285f59; }
.btn--accent { background: var(--accent); color: #2c261d; }
.btn--accent:hover { background: #d89331; }
.btn--ghost { border-color: rgba(255,255,255,.28); background: transparent; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--light { background: #fff; color: var(--deep); border-color: rgba(255,255,255,.6); }
.search-panel__close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
}

.home-hero { padding: clamp(36px, 5vw, 74px) 0 clamp(58px, 7vw, 96px); }
.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: clamp(34px, 5vw, 74px);
    align-items: center;
}
.home-hero__copy h1 {
    margin: 0;
    max-width: 9.2ch;
    font-size: var(--h1);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 760;
}
.home-hero__copy h1 span { color: var(--brand); }
.home-hero__copy > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.03rem, 1vw + .82rem, 1.26rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn--secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.hero-actions .btn--secondary:hover { background: #fff; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .86rem; }
.hero-notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
.home-hero__visual { position: relative; min-height: 560px; }
.hero-frame {
    position: absolute;
    inset: 0 0 0 48px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--deep);
    box-shadow: var(--shadow-lg);
}
.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(24,33,31,.75) 100%);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster-note {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 38px;
    width: min(84%, 360px);
    padding: 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(24,33,31,.88);
    color: #fff;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}
.hero-poster-note strong { display: block; font-size: 1.25rem; }
.hero-poster-note p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.55; }

.quick-strip { padding-bottom: 40px; }
.quick-strip__inner {
    display: grid;
    grid-template-columns: 1.15fr repeat(5, auto);
    gap: 12px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.quick-strip strong { color: var(--deep); }
.quick-strip a { padding: 8px 11px; border-radius: 999px; color: var(--brand); font-size: .9rem; white-space: nowrap; }
.quick-strip a:hover { background: var(--panel); }

.feature-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .6fr); gap: 28px; align-items: start; }
.feature-stack { display: grid; gap: 18px; }
.feature-lead {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
}
.feature-lead__image { min-height: 100%; background: var(--deep); }
.feature-lead__image img { width: 100%; height: 100%; object-fit: cover; }
.feature-lead__body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.feature-lead__body h3 { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.6rem); line-height: 1.08; }
.feature-lead__body p { color: var(--ink-soft); }
.feature-lead__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.feature-lead__tags span { padding: 5px 9px; border-radius: 999px; background: var(--panel); color: var(--brand); font-size: .78rem; }
.side-rank { position: sticky; top: 100px; padding: 24px; border-radius: 24px; background: var(--deep); color: #fff; }
.side-rank h3 { margin: 0 0 18px; font-size: 1.2rem; }
.side-rank ol { margin: 0; padding: 0; list-style: none; counter-reset: rank; display: grid; gap: 6px; }
.side-rank li { counter-increment: rank; }
.side-rank a {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
    padding: 11px 8px;
    border-radius: 12px;
}
.side-rank a::before { content: counter(rank, decimal-leading-zero); color: #93b9b0; font-weight: 700; font-size: .78rem; margin-top: 2px; }
.side-rank a:hover { background: rgba(255,255,255,.07); }
.side-rank strong { display: block; font-size: .92rem; }
.side-rank span { display: block; margin-top: 2px; color: rgba(255,255,255,.58); font-size: .76rem; }

.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.media-card:hover { transform: translateY(-4px); border-color: rgba(47,111,104,.28); box-shadow: var(--shadow-md); }
.media-card__visual { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.media-card:hover .media-card__visual img { transform: scale(1.035); }
.media-card__type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(24,33,31,.86);
    color: #fff;
    font-size: .72rem;
    backdrop-filter: blur(8px);
}
.media-card__body { padding: 18px 18px 20px; }
.media-card__eyebrow { color: var(--brand); font-size: .75rem; font-weight: 700; }
.media-card h3 { margin: 8px 0 8px; font-size: var(--h3); line-height: 1.25; }
.media-card h3 a:hover { color: var(--brand); }
.media-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.62; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--brand); font-weight: 700; font-size: .86rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }
.media-card--compact { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.media-card--compact .media-card__visual { aspect-ratio: auto; min-height: 168px; }
.media-card--compact .media-card__body { padding: 15px; }
.media-card--compact p { -webkit-line-clamp: 2; }

.collection-list { display: grid; gap: 26px; }
.collection-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.collection-row:first-child { padding-top: 0; border-top: 0; }
.collection-row__intro h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.collection-row__intro p { margin: 10px 0 0; color: var(--ink-soft); font-size: .9rem; }
.collection-row__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.collection-chip {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.collection-chip:hover { border-color: var(--brand-2); }
.collection-chip strong { display: block; line-height: 1.25; }
.collection-chip span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .78rem; }

.brand-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    gap: 50px;
    align-items: center;
    padding: clamp(32px, 5vw, 62px);
    border-radius: 34px;
    background: var(--deep);
    color: #fff;
    overflow: hidden;
}
.brand-band h2 { margin: 0; font-size: var(--h2); line-height: 1.06; }
.brand-band p { color: rgba(255,255,255,.7); }
.brand-band__visual { position: relative; min-height: 300px; }
.brand-band__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.brand-band__visual::after { content: ""; position: absolute; inset: auto 20px 20px 20px; height: 44%; border-radius: 18px; background: linear-gradient(0deg, rgba(24,33,31,.74), transparent); }

.info-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card__num { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.info-card h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.page-hero { padding: clamp(52px, 7vw, 100px) 0 44px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr); gap: 48px; align-items: center; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.page-hero p { max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
.page-hero__visual { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 30px; background: var(--panel); }
.page-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { margin-bottom: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .8rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #a4aaa7; }
.breadcrumbs a:hover { color: var(--brand); }

.type-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.type-tabs a,
.type-tabs button {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
}
.type-tabs a:hover,
.type-tabs button:hover,
.type-tabs [aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.catalog-toolbar p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.catalog-toolbar select { padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.watch-detail { padding: 54px 0 88px; }
.watch-detail__grid { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: 46px; align-items: start; }
.watch-detail__poster { position: sticky; top: 106px; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 26px; box-shadow: var(--shadow-md); background: var(--panel); }
.watch-detail__poster img { width: 100%; height: 100%; object-fit: cover; }
.watch-detail__type { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--panel); color: var(--brand); font-size: .78rem; font-weight: 700; }
.watch-detail h1 { margin: 14px 0 12px; font-size: clamp(2.4rem, 4vw, 4.3rem); line-height: .98; letter-spacing: -.045em; }
.watch-detail__summary { max-width: 66ch; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--ink-soft); }
.player-shell {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: var(--deep);
    color: #fff;
}
.player-shell__screen {
    min-height: 340px;
    display: grid;
    place-items: center;
    padding: 34px;
    background: radial-gradient(circle at 50% 35%, rgba(111,159,149,.18), transparent 42%), var(--deep);
    text-align: center;
}
.player-shell__screen div { max-width: 540px; }
.player-shell__screen strong { display: block; font-size: 1.32rem; }
.player-shell__screen p { margin: 10px 0 0; color: rgba(255,255,255,.64); }
.player-shell__meta { display: flex; justify-content: space-between; gap: 18px; padding: 15px 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); font-size: .8rem; }
.detail-prose { margin-top: 36px; display: grid; gap: 30px; }
.detail-prose section { padding-top: 26px; border-top: 1px solid var(--line); }
.detail-prose h2 { margin: 0 0 12px; font-size: 1.45rem; }
.detail-prose p { max-width: 72ch; margin: 0; color: var(--ink-soft); }
.highlight-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.highlight-list li { position: relative; padding-left: 24px; }
.highlight-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.search-page { min-height: 70vh; padding: 62px 0 96px; }
.search-page__head { max-width: 760px; margin-bottom: 34px; }
.search-page__head h1 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.04; }
.search-page__head p { color: var(--ink-soft); }
.search-page__form { max-width: 760px; margin-bottom: 34px; }
.search-results__meta { margin-bottom: 18px; color: var(--ink-soft); font-size: .9rem; }
.empty-state { padding: 36px; border: 1px dashed var(--line-strong); border-radius: 20px; background: rgba(255,255,255,.58); }
.empty-state h2 { margin: 0 0 10px; font-size: 1.25rem; }
.empty-state p { margin: 0; color: var(--ink-soft); }

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 700; }
.faq-item button::after { content: "+"; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); color: var(--brand); }
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-item__body { padding: 0 20px 20px; color: var(--ink-soft); }
.faq-item__body p { margin: 0; }

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.download-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--panel); color: var(--brand); font-weight: 800; }
.download-card h2 { margin: 18px 0 10px; font-size: 1.25rem; }
.download-card p { margin: 0; color: var(--ink-soft); }
.web-access {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    margin-top: 24px;
    padding: 30px;
    border-radius: 22px;
    background: var(--deep);
    color: #fff;
}
.web-access h2 { margin: 0; font-size: 1.5rem; }
.web-access p { margin: 7px 0 0; color: rgba(255,255,255,.64); }

.error-page { min-height: 72vh; display: grid; place-items: center; padding: 60px 0; }
.error-panel { width: min(100%, 800px); padding: clamp(34px, 6vw, 70px); border-radius: 32px; background: var(--deep); color: #fff; text-align: center; }
.error-code { color: #9dc5bc; font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.error-panel h1 { margin: 10px 0 14px; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; }
.error-panel p { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.68); }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.site-footer { padding: 62px 0 24px; background: var(--deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); gap: 54px; }
.brand-lockup--footer small { color: rgba(255,255,255,.56); }
.footer-brand > p { max-width: 560px; margin: 18px 0 0; color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-links div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: #9dc5bc; font-size: .8rem; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .86rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .76rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
    .home-hero__grid { grid-template-columns: 1fr .9fr; }
    .home-hero__visual { min-height: 500px; }
    .media-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .collection-row { grid-template-columns: 220px minmax(0,1fr); }
    .collection-row__items { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .feature-layout { grid-template-columns: 1fr; }
    .side-rank { position: static; }
    .side-rank ol { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .site-header__inner { grid-template-columns: auto 1fr auto auto; min-height: 70px; gap: 12px; }
    .brand-lockup small { display: none; }
    .menu-toggle { display: inline-grid; justify-self: end; width: 42px; height: 42px; padding: 9px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
    .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--deep); }
    .primary-nav { position: fixed; z-index: 999; top: 71px; right: 0; bottom: 0; width: min(84vw, 360px); display: grid; align-content: start; justify-items: stretch; gap: 5px; padding: 22px; background: var(--deep); transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav a { color: rgba(255,255,255,.76); padding: 13px 15px; }
    .primary-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
    .primary-nav a[aria-current="page"] { background: var(--brand); }
    .search-toggle span:last-child { display: none; }
    .home-hero__grid, .page-hero__grid, .brand-band, .watch-detail__grid { grid-template-columns: 1fr; }
    .home-hero__copy h1 { max-width: 12ch; }
    .home-hero__visual { min-height: 460px; }
    .hero-frame { inset-left: 22px; }
    .quick-strip__inner { grid-template-columns: repeat(3, 1fr); }
    .quick-strip__inner > strong { grid-column: 1 / -1; }
    .section__head { grid-template-columns: 1fr; gap: 12px; }
    .info-rail, .download-grid { grid-template-columns: 1fr; }
    .page-hero__visual { max-width: 620px; }
    .watch-detail__poster { position: static; width: min(100%, 440px); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .section { padding-block: 58px; }
    .site-header__inner { gap: 8px; }
    .brand-lockup img { width: 40px; height: 40px; }
    .brand-lockup strong { font-size: .92rem; }
    .home-hero { padding-top: 28px; }
    .home-hero__visual { min-height: 390px; }
    .hero-frame { inset: 0 0 0 18px; border-radius: 28px; }
    .hero-poster-note { bottom: 20px; padding: 17px; }
    .quick-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .feature-lead { grid-template-columns: 1fr; }
    .feature-lead__image { min-height: 280px; }
    .media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
    .media-card__body { padding: 14px; }
    .media-card p { -webkit-line-clamp: 2; }
    .collection-row { grid-template-columns: 1fr; gap: 16px; }
    .side-rank ol { grid-template-columns: 1fr; }
    .brand-band { padding: 26px; gap: 26px; }
    .brand-band__visual { min-height: 240px; }
    .player-shell__screen { min-height: 260px; }
    .player-shell__meta { flex-direction: column; gap: 4px; }
    .web-access { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
    .shell { width: min(calc(100% - 22px), var(--shell)); }
    .site-header__inner { grid-template-columns: auto 1fr auto auto; }
    .brand-lockup span { display: none; }
    .search-panel__form { padding-top: 50px; }
    .search-control { grid-template-columns: 1fr; }
    .home-hero__copy h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
    .home-hero__visual { min-height: 330px; }
    .hero-poster-note { width: 90%; }
    .hero-poster-note p { display: none; }
    .quick-strip__inner { grid-template-columns: 1fr 1fr; padding: 14px; }
    .media-grid { grid-template-columns: 1fr; }
    .media-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
    .media-card__visual { aspect-ratio: auto; min-height: 182px; }
    .collection-row__items { grid-template-columns: 1fr; }
    .page-hero h1, .watch-detail h1 { font-size: clamp(2.35rem, 13vw, 3.45rem); }
    .page-hero__visual { aspect-ratio: 1 / 1; }
    .faq-item button { padding: 16px; }
    .faq-item__body { padding: 0 16px 16px; }
    .footer-links { grid-template-columns: 1fr; }
}

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

@media print {
    .site-header, .site-footer, .search-panel, .hero-actions, .menu-toggle, .search-toggle { display: none !important; }
    body { background: #fff; color: #000; }
    .section, .home-hero, .page-hero { padding: 20px 0; }
    .media-card, .info-card, .download-card { break-inside: avoid; box-shadow: none; }
}
