/* Master layout and color system */
:root {
    --teal: #2F6F68;
    --teal-soft: #6F9F95;
    --ink: #18211F;
    --text: #252B29;
    --muted: #68716D;
    --paper: #F4F6F3;
    --paper-2: #E7ECE8;
    --accent: #E6A23C;
    --white: #FFFFFF;
    --line: rgba(24, 33, 31, .13);
    --shadow: 0 22px 60px rgba(24, 33, 31, .10);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shell: min(1180px, calc(100vw - 40px));
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(230, 162, 60, .8); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { 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 { position: fixed; z-index: 999; left: 16px; top: 12px; padding: 10px 14px; background: var(--accent); color: var(--ink); transform: translateY(-150%); border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(24,33,31,.96); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.header-row { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-lockup img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.brand-lockup span { display: grid; line-height: 1.2; }
.brand-lockup strong { font-size: 1.04rem; letter-spacing: .03em; }
.brand-lockup small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .73rem; }
.site-nav { display: flex; justify-content: center; gap: 6px; }
.site-nav a { padding: 8px 11px; border-radius: 10px; text-decoration: none; color: rgba(255,255,255,.76); font-size: .92rem; transition: background .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a.is-active, .site-nav a[aria-current="page"] { background: rgba(111,159,149,.16); color: var(--white); }
.header-search { display: flex; align-items: stretch; width: 270px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); }
.header-search input { min-width: 0; width: 100%; padding: 10px 12px; color: var(--white); background: transparent; border: 0; outline: 0; }
.header-search input::placeholder { color: rgba(255,255,255,.48); }
.header-search button { border: 0; padding: 0 13px; background: var(--teal); color: var(--white); cursor: pointer; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--white); border-radius: 10px; padding: 8px 12px; }

/* Typography and shared sections */
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
h3 { font-size: 1.18rem; }
p { margin: 0; }
.eyebrow { margin-bottom: 14px; color: var(--teal); font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section { padding: 92px 0; }
.section--dense { padding-top: 70px; padding-bottom: 72px; }
.section--soft { background: var(--paper-2); }
.section--feature { background: linear-gradient(180deg, #eef2ee 0%, var(--paper) 100%); }
.section--faq { padding-top: 84px; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2 + p { margin-top: 16px; color: var(--muted); }
.split-heading { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 60px; align-items: end; margin-bottom: 34px; }
.split-heading > p { color: var(--muted); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--teal); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,33,31,.13); }
.button--accent { background: var(--accent); color: var(--ink); }
.button--dark { background: var(--ink); color: var(--white); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.55); color: var(--ink); }
.button--full { width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Home hero */
.hero { overflow: hidden; }
.hero--home { background: linear-gradient(130deg, #dfe8e3 0%, #f4f6f3 48%, #e8ece8 100%); padding: 58px 0 52px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(420px,.97fr); gap: 58px; align-items: center; }
.hero-copy h1 { max-width: 13ch; }
.hero-lead { margin-top: 22px; max-width: 700px; font-size: 1.08rem; color: #3f4945; }
.hero-facts { margin: 38px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hero-facts div { padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.5); }
.hero-facts dt { font-size: .76rem; color: var(--muted); }
.hero-facts dd { margin: 5px 0 0; font-weight: 750; font-size: .9rem; }
.hero-media { position: relative; min-height: 510px; }
.hero-media > img { width: 100%; height: 510px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-ticket { position: absolute; right: -16px; bottom: 28px; width: min(320px, 78%); padding: 20px; background: var(--ink); color: var(--white); border-radius: 18px; box-shadow: 0 24px 60px rgba(24,33,31,.23); }
.hero-ticket span { display: block; color: #a8bbb6; font-size: .75rem; }
.hero-ticket strong { display: block; margin: 5px 0 13px; font-size: 1.05rem; }
.hero-ticket a { color: var(--accent); font-weight: 800; }

/* Category ribbon */
.category-ribbon { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.category-chip { position: relative; min-height: 180px; overflow: hidden; border-radius: 18px; background: var(--ink); color: var(--white); text-decoration: none; isolation: isolate; }
.category-chip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,33,31,.05), rgba(24,33,31,.92)); z-index: -1; }
.category-chip img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-chip:hover img { transform: scale(1.045); }
.category-chip span { position: absolute; left: 15px; right: 15px; bottom: 15px; display: grid; }
.category-chip strong { font-size: 1.05rem; }
.category-chip small { margin-top: 4px; color: rgba(255,255,255,.68); line-height: 1.35; }

/* Cards and feature layout */
.feature-layout { display: grid; grid-template-columns: minmax(260px,.32fr) minmax(0,.68fr); gap: 50px; align-items: start; }
.feature-lead { position: sticky; top: 112px; }
.feature-lead p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.feature-lead .text-link { margin-top: 24px; }
.feature-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.content-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 36px rgba(24,33,31,.055); }
.content-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: #dfe5e1; }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.content-card:hover .content-card__media img { transform: scale(1.025); }
.content-card__body { padding: 20px; }
.content-card__body h3 a { text-decoration: none; }
.content-card__body h3 a:hover { color: var(--teal); }
.content-card__body > p { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.content-card__eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: .73rem; font-weight: 800; }
.content-card__eyebrow a { color: var(--teal); text-decoration: none; }
.content-card__eyebrow span { padding: 3px 8px; border-radius: 999px; background: rgba(230,162,60,.16); color: #8b5d17; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.tag-row span { padding: 4px 8px; border-radius: 999px; background: var(--paper-2); color: #59635f; font-size: .72rem; }
.tag-row--large span { font-size: .79rem; padding: 6px 10px; }
.content-card--compact { display: grid; grid-template-columns: 180px 1fr; }
.content-card--compact .content-card__media { aspect-ratio: auto; min-height: 170px; }
.content-card--compact .content-card__body { padding: 18px; }
.content-card--compact .tag-row { margin-top: 10px; }

/* Magazine + ranking */
.magazine-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 48px; align-items: start; }
.stack-list { display: grid; gap: 15px; }
.ranking-panel { position: sticky; top: 110px; padding: 26px; background: var(--ink); color: var(--white); border-radius: var(--radius-md); }
.ranking-panel h2 { color: var(--white); font-size: 1.65rem; }
.ranking-panel ol { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: ranking; }
.ranking-panel li { position: relative; padding: 15px 0 15px 42px; border-top: 1px solid rgba(255,255,255,.12); counter-increment: ranking; }
.ranking-panel li::before { content: counter(ranking, decimal-leading-zero); position: absolute; left: 0; top: 15px; color: var(--accent); font-weight: 900; }
.ranking-panel li a { color: var(--white); text-decoration: none; font-weight: 800; }
.ranking-panel li p { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .82rem; line-height: 1.5; }

/* Notes and bridges */
.note-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.note-card { padding: 24px; border-left: 4px solid var(--teal); background: rgba(255,255,255,.66); }
.note-card h2 { font-size: 1.18rem; }
.note-card p { margin-top: 9px; color: var(--muted); }
.section--brand-bridge { background: var(--teal); color: var(--white); }
.brand-bridge { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; }
.brand-bridge h2 { color: var(--white); }
.brand-bridge p:not(.eyebrow) { margin-top: 14px; max-width: 720px; color: rgba(255,255,255,.78); }
.brand-bridge .eyebrow { color: #c3ddd7; }
.brand-bridge__actions { display: flex; gap: 10px; }
.brand-bridge .button--accent { box-shadow: none; }
.brand-bridge .button--dark { background: rgba(24,33,31,.72); }
.section--download-teaser { padding: 64px 0; }
.download-teaser { overflow: hidden; display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: center; padding: 40px; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); }
.download-teaser h2 { color: var(--white); }
.download-teaser p:not(.eyebrow) { margin-top: 14px; color: rgba(255,255,255,.66); }
.download-teaser .eyebrow { color: #a6c9c2; }
.download-teaser .text-link { margin-top: 22px; color: var(--accent); }
.download-teaser img { width: 100%; height: 290px; object-fit: cover; border-radius: 20px; }

/* Interior hero */
.page-hero { padding: 68px 0; border-bottom: 1px solid var(--line); }
.page-hero--brand { background: linear-gradient(115deg, #e7ece8, #f4f6f3); }
.page-hero--download { background: linear-gradient(125deg, #f4f6f3, #e1e9e5); }
.page-hero--watch { background: var(--ink); color: var(--white); }
.page-hero__grid { display: grid; grid-template-columns: 1fr .85fr; gap: 56px; align-items: center; }
.page-hero__grid h1 { font-size: clamp(2.4rem,4.7vw,4.6rem); max-width: 13ch; }
.page-lead { margin-top: 21px; max-width: 720px; color: #4c5752; font-size: 1.05rem; }
.page-hero__media img { width: 100%; max-height: 470px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.watch-intro-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; }
.page-hero--watch h1 { color: var(--white); font-size: clamp(2.4rem,4.4vw,4.5rem); }
.page-hero--watch .page-lead { color: rgba(255,255,255,.7); }
.page-hero--watch .eyebrow { color: #90b9b1; }
.watch-search-box { padding: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.watch-search-box label { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 800; color: #bad0cb; }
.watch-search-box form > div { display: flex; overflow: hidden; border-radius: 12px; background: var(--white); }
.watch-search-box input { min-width: 0; width: 100%; border: 0; padding: 11px 12px; outline: 0; }
.watch-search-box button { border: 0; padding: 0 15px; background: var(--accent); color: var(--ink); font-weight: 900; }
.watch-search-box p { margin-top: 8px; color: rgba(255,255,255,.54); font-size: .76rem; }

/* Official page */
.brand-proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.brand-domain-card, .brand-content-card { padding: 34px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); }
.brand-domain-card h2 { font-family: var(--serif); color: var(--teal); }
.brand-domain-card p:not(.eyebrow), .brand-content-card p:not(.eyebrow) { margin-top: 15px; color: var(--muted); }
.brand-domain-card .text-link { margin-top: 20px; }
.category-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.category-detail-card { display: grid; grid-template-columns: 190px 1fr; gap: 0; overflow: hidden; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 18px; }
.category-detail-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.category-detail-card div { padding: 22px; }
.category-detail-card p { margin: 10px 0 15px; color: var(--muted); font-size: .92rem; }
.category-detail-card a { color: var(--teal); font-weight: 800; }
.dual-feature { display: grid; grid-template-columns: 1fr .85fr; gap: 52px; align-items: center; }
.dual-feature__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.dual-feature > img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.check-list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 900; }

/* Filters and catalog */
.filter-bar { position: sticky; top: 78px; z-index: 60; background: rgba(244,246,243,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: thin; }
.filter-row a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; }
.filter-row a:hover, .filter-row a.is-current { background: var(--teal); color: var(--white); border-color: var(--teal); }
.section--catalog { padding-top: 68px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.catalog-heading > p { color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.section--guide { padding-top: 48px; }
.guide-panel { padding: 38px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.guide-panel h2, .guide-panel h3 { color: var(--white); }
.guide-panel .eyebrow { color: #a6c9c2; }
.guide-columns { margin-top: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.12); }
.guide-columns article { padding: 24px; background: var(--ink); }
.guide-columns article p { margin-top: 9px; color: rgba(255,255,255,.62); font-size: .9rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.section-heading--sticky { position: sticky; top: 126px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); background: var(--white); border-radius: 14px; }
.faq-list summary { cursor: pointer; padding: 18px 50px 18px 18px; font-weight: 800; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 18px; top: 14px; color: var(--teal); font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 18px 20px; color: var(--muted); }

/* Detail page */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--muted); font-size: .84rem; }
.breadcrumb a { color: var(--teal); }
.detail-hero { padding: 34px 0 64px; }
.detail-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.detail-hero figure { margin: 0; }
.detail-hero figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail-hero h1 { font-size: clamp(2.2rem,4.1vw,4.2rem); }
.detail-body-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 32px; align-items: start; }
.prose-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.prose-card > p:not(.eyebrow) { margin-top: 17px; color: #47514d; font-size: 1.02rem; }
.point-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.point-list li { padding: 14px 16px 14px 44px; background: var(--paper-2); border-radius: 12px; position: relative; }
.point-list li::before { content: '•'; position: absolute; left: 20px; color: var(--accent); font-size: 1.6rem; line-height: 1; top: 12px; }
.detail-side { position: sticky; top: 118px; padding: 26px; background: var(--ink); color: var(--white); border-radius: var(--radius-md); }
.detail-side h2 { color: var(--white); font-size: 1.3rem; }
.detail-side dl { margin: 20px 0; }
.detail-side dl div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.detail-side dt { color: #95aaa5; font-size: .75rem; }
.detail-side dd { margin: 4px 0 0; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }

/* Download page */
.access-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.access-steps article { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.access-steps span { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 20px; background: var(--teal); color: var(--white); font-weight: 900; }
.access-steps h2 { font-size: 1.25rem; }
.access-steps p { margin-top: 10px; color: var(--muted); }
.safety-layout { display: grid; grid-template-columns: 1fr .82fr; gap: 56px; align-items: center; }
.safety-layout > div > p:not(.eyebrow) { margin-top: 15px; color: var(--muted); }
.safety-layout img { width: 100%; max-height: 470px; object-fit: cover; border-radius: var(--radius-lg); }

/* Search */
.search-hero { padding: 64px 0; background: var(--ink); color: var(--white); }
.search-hero h1 { color: var(--white); font-size: clamp(2.2rem,4.4vw,4.4rem); }
.search-hero .eyebrow { color: #9ec2ba; }
.search-hero__inner { max-width: 900px; }
.search-form-large { margin-top: 28px; display: flex; overflow: hidden; background: var(--white); border-radius: 16px; }
.search-form-large input { min-width: 0; width: 100%; border: 0; padding: 17px 18px; outline: 0; }
.search-form-large button { border: 0; padding: 0 24px; background: var(--accent); color: var(--ink); font-weight: 900; cursor: pointer; }
.search-hero__inner > p:last-child { margin-top: 10px; color: rgba(255,255,255,.55); font-size: .82rem; }
.empty-state { display: grid; grid-template-columns: 360px 1fr; gap: 42px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.empty-state img { width: 100%; border-radius: 18px; }
.empty-state p { margin: 12px 0 22px; color: var(--muted); }

/* 404 */
.error-page { padding: 96px 0; min-height: 64vh; display: grid; place-items: center; }
.error-card { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: center; padding: 50px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.error-code { font-family: var(--serif); font-size: clamp(5rem,12vw,9rem); line-height: 1; color: var(--teal); }
.error-card h1 { font-size: clamp(2rem,4vw,3.8rem); }
.error-card p:not(.eyebrow) { margin-top: 15px; color: var(--muted); }

/* Footer */
.site-footer { padding: 62px 0 24px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 50px; }
.footer-grid h2 { color: var(--white); font-size: 1.05rem; }
.footer-grid p { margin-top: 12px; max-width: 560px; color: rgba(255,255,255,.58); }
.footer-grid ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.footer-grid a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .78rem; }

/* Medium screens */
@media (max-width: 1120px) {
    .header-row { grid-template-columns: auto auto 1fr; }
    .menu-toggle { display: inline-flex; justify-self: end; }
    .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 10px; background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.25); flex-direction: column; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 11px 12px; }
    .header-search { justify-self: end; width: min(280px, 100%); }
    .hero-grid { grid-template-columns: 1fr .9fr; gap: 34px; }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-media { min-height: 460px; }
    .hero-media > img { height: 460px; }
    .category-ribbon { grid-template-columns: repeat(3,1fr); }
    .catalog-grid { grid-template-columns: repeat(2,1fr); }
    .page-hero__grid, .detail-hero__grid { gap: 38px; }
}

@media (max-width: 900px) {
    :root { --shell: min(100% - 32px, 760px); }
    .section { padding: 72px 0; }
    .header-row { min-height: 72px; grid-template-columns: auto auto; }
    .header-search { display: none; }
    .hero-grid, .page-hero__grid, .watch-intro-grid, .detail-hero__grid, .dual-feature, .safety-layout, .download-teaser { grid-template-columns: 1fr; }
    .hero-copy h1, .page-hero__grid h1 { max-width: 16ch; }
    .hero-media { min-height: auto; }
    .hero-media > img { height: 430px; }
    .feature-layout { grid-template-columns: 1fr; }
    .feature-lead, .ranking-panel, .section-heading--sticky, .detail-side { position: static; }
    .magazine-grid { grid-template-columns: 1fr; }
    .ranking-panel { margin-top: 12px; }
    .brand-proof-grid, .faq-layout, .detail-body-grid { grid-template-columns: 1fr; }
    .category-detail-grid { grid-template-columns: 1fr; }
    .note-grid, .access-steps { grid-template-columns: 1fr; }
    .brand-bridge { grid-template-columns: 1fr; }
    .brand-bridge__actions { justify-self: start; }
    .download-teaser img { height: 360px; }
    .guide-columns { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --shell: calc(100% - 24px); }
    body { font-size: 15px; }
    .site-header { position: sticky; }
    .brand-lockup small { display: none; }
    .brand-lockup img { width: 38px; height: 38px; }
    .menu-toggle { padding: 7px 10px; }
    .site-nav { left: 12px; right: 12px; }
    .hero--home, .page-hero { padding: 42px 0; }
    .hero-grid { gap: 30px; }
    h1 { font-size: clamp(2.2rem,12vw,3.7rem); }
    h2 { font-size: clamp(1.55rem,8vw,2.3rem); }
    .hero-facts { margin-top: 28px; }
    .hero-media > img { height: 320px; border-radius: 22px; }
    .hero-ticket { position: relative; right: auto; bottom: auto; width: calc(100% - 24px); margin: -42px auto 0; }
    .split-heading { grid-template-columns: 1fr; gap: 16px; }
    .category-ribbon { grid-template-columns: repeat(2,1fr); }
    .category-chip { min-height: 160px; }
    .feature-cards, .catalog-grid { grid-template-columns: 1fr; }
    .content-card--compact { grid-template-columns: 118px 1fr; }
    .content-card--compact .content-card__media { min-height: 100%; }
    .content-card--compact .content-card__body { padding: 15px; }
    .content-card--compact .content-card__body > p, .content-card--compact .tag-row { display: none; }
    .brand-bridge__actions, .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .download-teaser { padding: 26px; }
    .download-teaser img { height: 250px; }
    .category-detail-card { grid-template-columns: 120px 1fr; }
    .category-detail-card img { min-height: 100%; }
    .category-detail-card div { padding: 17px; }
    .filter-bar { top: 72px; }
    .catalog-heading { align-items: start; flex-direction: column; }
    .guide-panel { padding: 26px 20px; }
    .detail-hero { padding-bottom: 42px; }
    .prose-card { padding: 24px 20px; }
    .access-steps article { padding: 22px; }
    .empty-state { grid-template-columns: 1fr; padding: 22px; }
    .error-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
    .error-code { font-size: 5.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid section:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}

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

/* Progressive enhancement and edge-case handling */
::selection { background: rgba(230,162,60,.34); color: var(--ink); }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.content-card, .category-chip, .category-detail-card, .brand-domain-card, .brand-content-card,
.note-card, .access-steps article, .prose-card, .faq-list details { contain: paint; }
.content-card__body h3, .category-detail-card h3, .ranking-panel li a,
.brand-lockup strong, .footer-grid a { overflow-wrap: anywhere; }
.page-lead, .hero-lead, .content-card__body > p, .category-detail-card p,
.prose-card > p, .faq-list details p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* Better image framing for the fixed media pool */
.hero-media > img, .page-hero__media img, .detail-hero figure img, .download-teaser img,
.safety-layout img, .dual-feature > img, .content-card__media img, .category-chip img,
.category-detail-card img, .empty-state img { background: linear-gradient(135deg, #dce5e0, #cfd9d4); }
.content-card__media, .category-chip, .page-hero__media, .detail-hero figure,
.download-teaser, .safety-layout { position: relative; }

/* Utility refinements for dense Chinese copy */
.prose-card p + p { margin-top: 1em; }
.prose-card strong, .page-lead strong { color: var(--ink); }
.prose-card a:not(.button), .page-lead a:not(.button) { color: var(--teal); font-weight: 700; }
.hero-copy, .page-hero__grid > div, .dual-feature__copy, .section-heading,
.brand-domain-card, .brand-content-card { min-width: 0; }

/* Keyboard and pointer behavior */
@media (hover: hover) and (pointer: fine) {
    .content-card, .category-detail-card, .brand-domain-card, .brand-content-card,
    .note-card, .access-steps article { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
    .content-card:hover, .category-detail-card:hover, .brand-domain-card:hover,
    .brand-content-card:hover, .note-card:hover, .access-steps article:hover {
        transform: translateY(-3px);
        border-color: rgba(47,111,104,.28);
        box-shadow: 0 18px 42px rgba(24,33,31,.09);
    }
    .filter-row a:hover, .site-nav a:hover, .text-link:hover, .category-detail-card a:hover,
    .footer-grid a:hover { transition-duration: .16s; }
}

@media (pointer: coarse) {
    .site-nav a, .filter-row a, .footer-grid a { min-height: 44px; display: flex; align-items: center; }
    .faq-list summary { min-height: 54px; }
    .button, .menu-toggle, .header-search button, .watch-search-box button,
    .search-form-large button { min-height: 46px; }
}

/* Wide desktop composition */
@media (min-width: 1320px) {
    :root { --shell: min(1240px, calc(100vw - 80px)); }
    .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(500px,.95fr); }
    .hero-copy h1 { max-width: 12.5ch; }
    .hero-media > img { height: 540px; }
    .category-ribbon { gap: 14px; }
    .feature-layout { grid-template-columns: 320px minmax(0,1fr); gap: 64px; }
    .feature-cards { gap: 24px; }
    .catalog-grid { gap: 24px; }
    .content-card__body { padding: 22px; }
    .magazine-grid { grid-template-columns: minmax(0,1fr) 370px; gap: 60px; }
    .ranking-panel { padding: 30px; }
    .page-hero__grid { grid-template-columns: minmax(0,1.05fr) minmax(460px,.95fr); }
    .detail-body-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 40px; }
    .footer-grid { gap: 70px; }
}

/* Tablet landscape details */
@media (min-width: 641px) and (max-width: 900px) {
    .hero-facts { grid-template-columns: repeat(3,1fr); }
    .category-ribbon { grid-template-columns: repeat(3,1fr); }
    .feature-cards { grid-template-columns: repeat(2,1fr); }
    .note-grid { grid-template-columns: repeat(3,1fr); }
    .access-steps { grid-template-columns: repeat(3,1fr); }
    .catalog-grid { grid-template-columns: repeat(2,1fr); }
    .related-grid { grid-template-columns: repeat(2,1fr); }
}

/* Very small screens */
@media (max-width: 390px) {
    :root { --shell: calc(100% - 18px); }
    .brand-lockup { gap: 8px; }
    .brand-lockup strong { font-size: .95rem; }
    .hero--home, .page-hero { padding-top: 34px; padding-bottom: 36px; }
    .hero-lead, .page-lead { font-size: .98rem; }
    .hero-media > img { height: 275px; }
    .hero-ticket { padding: 17px; }
    .category-ribbon { grid-template-columns: 1fr 1fr; gap: 8px; }
    .category-chip { min-height: 145px; border-radius: 14px; }
    .category-chip span { left: 12px; right: 12px; bottom: 12px; }
    .content-card__body { padding: 17px; }
    .content-card--compact { grid-template-columns: 96px 1fr; }
    .content-card--compact .content-card__body { padding: 13px; }
    .tag-row { gap: 5px; }
    .tag-row span { font-size: .68rem; }
    .category-detail-card { grid-template-columns: 102px 1fr; }
    .category-detail-card div { padding: 14px; }
    .guide-panel, .download-teaser { border-radius: 20px; }
    .prose-card, .detail-side, .brand-domain-card, .brand-content-card { border-radius: 16px; }
    .filter-row { margin-inline: -9px; padding-inline: 9px; }
    .footer-bottom { margin-top: 30px; }
}

/* High contrast preference */
@media (prefers-contrast: more) {
    :root {
        --line: rgba(24,33,31,.34);
        --muted: #4d5753;
    }
    .site-header { background: #111816; }
    .site-nav a, .brand-lockup small { color: rgba(255,255,255,.88); }
    .button--ghost { background: var(--white); border-color: var(--ink); }
    .content-card, .category-detail-card, .brand-domain-card, .brand-content-card,
    .faq-list details, .prose-card, .access-steps article { border-width: 2px; }
    .tag-row span { color: var(--ink); }
    .footer-grid p, .footer-grid a, .footer-bottom { color: rgba(255,255,255,.78); }
}

/* Print keeps the content readable without navigation or decorative controls */
@media print {
    @page { margin: 16mm; }
    :root { --paper: #fff; --paper-2: #fff; --text: #111; --ink: #111; --muted: #444; --line: #bbb; }
    body { background: #fff; color: #111; font-size: 11pt; line-height: 1.55; }
    .site-header, .site-footer, .skip-link, .menu-toggle, .header-search,
    .hero-actions, .filter-bar, .watch-search-box, .search-form-large,
    .button, .text-link, .hero-ticket { display: none !important; }
    .shell { width: 100%; max-width: none; }
    .section, .page-hero, .hero--home, .detail-hero, .search-hero { padding: 10mm 0; background: #fff !important; color: #111 !important; }
    h1, h2, h3, .page-hero--watch h1, .ranking-panel h2, .guide-panel h2, .guide-panel h3 { color: #111 !important; break-after: avoid; }
    .eyebrow, .page-hero--watch .eyebrow, .guide-panel .eyebrow { color: #444 !important; }
    p, .page-lead, .hero-lead, .page-hero--watch .page-lead { color: #222 !important; }
    .hero-grid, .page-hero__grid, .detail-hero__grid, .dual-feature,
    .safety-layout, .brand-proof-grid, .faq-layout, .detail-body-grid,
    .magazine-grid, .feature-layout, .download-teaser { display: block; }
    .hero-media, .page-hero__media, .detail-hero figure, .download-teaser img,
    .dual-feature > img, .safety-layout img { margin-top: 8mm; }
    .hero-media > img, .page-hero__media img, .detail-hero figure img,
    .download-teaser img, .dual-feature > img, .safety-layout img { max-height: 95mm; object-fit: cover; box-shadow: none; }
    .category-ribbon, .feature-cards, .catalog-grid, .category-detail-grid,
    .note-grid, .related-grid, .access-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 5mm; }
    .content-card, .category-detail-card, .brand-domain-card, .brand-content-card,
    .note-card, .access-steps article, .prose-card, .faq-list details {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #bbb;
        background: #fff !important;
    }
    .ranking-panel, .guide-panel, .detail-side, .download-teaser {
        margin-top: 8mm;
        background: #fff !important;
        color: #111 !important;
        border: 1px solid #bbb;
        box-shadow: none;
    }
    .ranking-panel li a, .ranking-panel li p, .guide-columns article p,
    .detail-side dt, .detail-side dd { color: #222 !important; }
    .guide-columns { background: #bbb; }
    .guide-columns article { background: #fff; }
    a[href]::after { content: none; }
}
