/*
 * 大师兄影视站点样式
 * 深青灰内容平台视觉：低饱和、清晰层级、可读优先。
 */
:root {
  --ink: #252b29;
  --ink-soft: #68716d;
  --ink-deep: #18211f;
  --brand: #2f6f68;
  --brand-soft: #6f9f95;
  --brand-pale: #dce6e2;
  --bg: #f4f6f3;
  --bg-2: #e7ece8;
  --surface: #ffffff;
  --accent: #e6a23c;
  --accent-deep: #b8731f;
  --line: #d5ddd8;
  --line-dark: #344440;
  --shadow-sm: 0 8px 24px rgba(24,33,31,.08);
  --shadow-md: 0 20px 55px rgba(24,33,31,.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shell: min(1180px, calc(100% - 40px));
  --transition: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: rgba(47,111,104,.18); }
.shell { width: var(--shell); margin-inline: auto; }
.narrow-left { max-width: 900px; margin-left: max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)); margin-right: 20px; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-160%); background: var(--accent); color: var(--ink-deep); padding: 10px 16px; border-radius: 8px; font-weight: 800; transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lede { max-width: 760px; color: #48524e; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition); }
.button:hover { transform: translateY(-2px); }
.button--accent { background: var(--accent); color: #2b2112; box-shadow: 0 10px 26px rgba(230,162,60,.2); }
.button--accent:hover { background: #efb04b; }
.button--ghost { border-color: #b8c6c0; color: var(--brand); background: rgba(255,255,255,.68); }
.button--ghost:hover { border-color: var(--brand); background: #fff; }
.button--dark { background: var(--ink-deep); color: #fff; }
.button--light { background: #fff; color: var(--ink-deep); }
.text-link { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); font-weight: 800; }
.text-link:hover { color: var(--accent-deep); }
.text-link--light { color: #d9ece6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: -.03em; }
.section-heading > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.02rem; }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading__aside { max-width: 430px; margin: 0; color: var(--ink-soft); }
/* Header */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(213,221,216,.85); background: rgba(244,246,243,.92); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 180px; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; background: var(--bg-2); }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 1.04rem; color: var(--ink-deep); letter-spacing: .02em; }
.brand__text small { margin-top: 5px; color: var(--ink-soft); font-size: .68rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 7px; }
.site-nav a { padding: 9px 13px; color: #43504c; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: background var(--transition), color var(--transition); }
.site-nav a:hover { background: var(--bg-2); color: var(--brand); }
.header-action { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--ink-deep); color: #fff; font-weight: 800; font-size: .9rem; }
.menu-toggle { display: none; border: 0; background: transparent; align-items: center; gap: 7px; padding: 8px; cursor: pointer; }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { width: 20px; height: 2px; background: currentColor; display: block; position: relative; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }
/* Home intro */
.home-intro { padding: 48px 0 28px; }
.home-intro__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); gap: 46px; align-items: center; }
.home-intro h1 { margin: 0; max-width: 760px; color: var(--ink-deep); font-size: clamp(2.5rem, 5.7vw, 5.35rem); line-height: .99; letter-spacing: -.055em; }
.home-intro .lede { margin-top: 24px; }
.home-intro__visual { margin: 0; position: relative; min-height: 550px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-deep); box-shadow: var(--shadow-md); }
.home-intro__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(24,33,31,.72)); pointer-events: none; }
.home-intro__visual img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; }
.home-intro__visual figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: grid; gap: 4px; color: #fff; }
.home-intro__visual figcaption span { color: #c7ddd7; font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.home-intro__visual figcaption strong { font-size: 1.2rem; }
.quick-search { margin-top: 32px; max-width: 620px; }
.quick-search > label, .hero-search > label, .search-form-large > label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 800; color: var(--ink-soft); }
.search-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px; border: 1px solid var(--line); background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
.search-field input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); padding: 9px 12px; outline: 0; }
.search-field input::placeholder { color: #98a19d; }
.search-field button { border: 0; border-radius: 9px; padding: 9px 18px; background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; }
.search-field button:hover { background: #275d57; }
.search-field--large { padding: 9px; border-radius: 16px; }
.search-field--large input { min-height: 46px; }
/* Category ribbon */
.category-ribbon { padding: 80px 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-tile { position: relative; min-height: 310px; overflow: hidden; border-radius: var(--radius-md); background: var(--ink-deep); box-shadow: 0 12px 34px rgba(24,33,31,.08); }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .83; transition: transform 300ms ease, opacity 300ms ease; }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,33,31,.05) 20%, rgba(24,33,31,.92) 96%); }
.category-tile:hover img { transform: scale(1.035); opacity: .95; }
.category-tile__body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; display: grid; gap: 4px; }
.category-tile__body small { color: #bfd6d0; font-weight: 700; }
.category-tile__body strong { font-size: 1.55rem; line-height: 1.2; }
.category-tile__body em { font-style: normal; color: #e7efec; font-size: .9rem; line-height: 1.5; }
/* Featured */
.featured-zone { padding: 84px 0; background: var(--bg-2); }
.featured-zone__layout { display: grid; grid-template-columns: minmax(330px,.82fr) minmax(0,1.18fr); gap: 50px; align-items: start; }
.featured-zone__lead { position: sticky; top: 106px; }
.featured-zone__lead h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
.featured-zone__lead > p:not(.eyebrow) { color: var(--ink-soft); }
.featured-zone__lead img { margin-top: 28px; width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: var(--radius-md); }
.content-list--stacked { display: grid; gap: 12px; }
.content-card { display: flex; flex-direction: column; min-height: 260px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.86); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.content-card:hover { transform: translateY(-3px); border-color: #aebfb8; box-shadow: var(--shadow-sm); }
.content-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.content-card__meta span { padding: 4px 9px; border-radius: 999px; background: var(--brand-pale); color: var(--brand); font-size: .76rem; font-weight: 800; }
.content-card h3 { margin: 0; color: var(--ink-deep); font-size: 1.2rem; line-height: 1.35; }
.content-card h3 a:hover { color: var(--brand); }
.content-card p { margin: 10px 0 16px; color: var(--ink-soft); font-size: .94rem; }
.content-card .text-link { margin-top: auto; font-size: .88rem; }
.content-card--compact { min-height: 0; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; }
.content-card--compact .content-card__meta { margin: 0; }
.content-card--compact h3 { font-size: 1.06rem; }
.content-card--compact p { display: none; }
.content-card--compact .text-link { margin: 0; white-space: nowrap; }
/* Scenario */
.scenario-zone { padding: 90px 0; }
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scenario-card { padding: 30px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); }
.scenario-card h3 { margin: 0; color: var(--ink-deep); font-size: 1.35rem; }
.scenario-card > p { color: var(--ink-soft); }
.scenario-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; border-top: 1px solid var(--line); }
.scenario-card li { border-bottom: 1px solid var(--line); }
.scenario-card li a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 760; }
.scenario-card li a:hover { color: var(--brand); }
.scenario-card--image { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: var(--brand); border: 0; color: #fff; }
.scenario-card--image img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; }
.scenario-card--image h3 { color: #fff; font-size: 1.8rem; }
.scenario-card--image p { color: #d8e7e3; }
/* Brand strip */
.brand-strip { padding: 70px 0; background: var(--ink-deep); color: #fff; }
.brand-strip__inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.brand-strip h2 { margin: 0; max-width: 650px; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.15; }
.brand-strip p:not(.eyebrow) { max-width: 720px; color: #b9c8c3; }
.brand-strip .eyebrow { color: #8fc0b5; }
.brand-strip__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
/* Breadcrumb */
.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; color: var(--ink-soft); font-size: .82rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #a2aaa6; }
.breadcrumb a:hover { color: var(--brand); }
/* Page hero */
.page-hero { padding: 74px 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr .8fr; gap: 54px; align-items: center; }
.page-hero h1, .category-hero h1, .watch-hero h1, .download-hero h1, .search-page h1, .article-header h1, .not-found h1 { margin: 0; color: var(--ink-deep); font-size: clamp(2.25rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -.05em; }
.page-hero__image { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.page-hero--compact { padding-bottom: 34px; }
.page-hero--compact .lede { max-width: 850px; }
/* Official */
.identity-grid-section { padding: 22px 0 88px; }
.identity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.identity-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.identity-card--wide { grid-column: span 2; background: var(--bg-2); }
.identity-card h2 { margin: 0 0 10px; color: var(--ink-deep); font-size: 1.35rem; }
.identity-card p { color: var(--ink-soft); }
.identity-card strong { color: var(--ink-deep); }
.type-map { padding: 88px 0; background: var(--ink-deep); color: #fff; }
.type-map .eyebrow { color: #8fc0b5; }
.type-map .section-heading h2 { color: #fff; }
.type-map .section-heading > p { color: #b9c8c3; }
.type-map__grid { display: grid; }
.type-line { display: grid; grid-template-columns: 110px minmax(180px,.8fr) 1fr 30px; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.type-line:last-child { border-bottom: 1px solid var(--line-dark); }
.type-line span { color: #8fc0b5; font-size: .8rem; font-weight: 800; }
.type-line strong { font-size: 1.06rem; }
.type-line em { color: #aebdb8; font-style: normal; font-size: .92rem; }
.type-line b { color: var(--accent); font-size: 1.3rem; }
.type-line:hover strong { color: #b8e0d7; }
.official-cta { padding: 90px 0; }
.official-cta__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; }
.official-cta img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 1.4 / 1; object-fit: cover; }
.official-cta h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.7rem,3vw,2.8rem); line-height: 1.18; }
.official-cta p:not(.eyebrow) { color: var(--ink-soft); }
/* Watch */
.watch-hero { padding: 70px 0 48px; }
.watch-hero__grid { display: grid; grid-template-columns: 1fr 440px; gap: 54px; align-items: center; }
.watch-hero__poster { position: relative; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-deep); }
.watch-hero__poster img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.poster-note { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(24,33,31,.8); backdrop-filter: blur(8px); color: #fff; display: grid; }
.poster-note span { color: #b8d8d0; font-size: .8rem; }
.hero-search { margin-top: 28px; max-width: 660px; }
.watch-switcher { padding: 70px 0 90px; background: var(--bg-2); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-chip { border: 1px solid #b9c7c1; background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 800; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.filter-chip:hover, .filter-chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.watch-card-grid, .content-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.watch-card-grid [hidden] { display: none !important; }
.noscript-note { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff4df; border: 1px solid #efd29e; }
.watch-guide-band { padding: 90px 0; }
.watch-guide-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.watch-guide-band img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 1.35 / 1; object-fit: cover; }
.watch-guide-band h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.7rem,3vw,2.7rem); line-height: 1.18; }
.watch-guide-band p:not(.eyebrow) { color: var(--ink-soft); }
.guide-links { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.guide-links a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--brand); font-weight: 780; }
/* Categories */
.catalog-section { padding: 30px 0 90px; }
.catalog-list { display: grid; gap: 20px; }
.catalog-row { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: center; padding: 22px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-md); }
.catalog-row:nth-child(even) { background: var(--bg-2); }
.catalog-row__visual { overflow: hidden; border-radius: 14px; }
.catalog-row__visual img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; transition: transform 280ms ease; }
.catalog-row:hover .catalog-row__visual img { transform: scale(1.03); }
.catalog-row__body h2 { margin: 0; color: var(--ink-deep); font-size: 1.7rem; }
.catalog-row__body h2 a:hover { color: var(--brand); }
.catalog-row__body > p:not(.eyebrow) { color: var(--ink-soft); }
.inline-links { list-style: none; padding: 0; margin: 15px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.inline-links a { display: inline-flex; padding: 6px 10px; border-radius: 8px; background: #f5f7f5; border: 1px solid var(--line); font-size: .84rem; color: #43504c; }
/* Category page */
.category-hero { padding: 70px 0 50px; }
.category-hero__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 50px; align-items: center; }
.category-hero img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1.35 / 1; object-fit: cover; }
.category-content { padding: 35px 0 90px; }
.category-next { padding: 70px 0; background: var(--bg-2); }
.category-next__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.category-next h2 { margin: 0; font-size: clamp(1.6rem,2.7vw,2.4rem); color: var(--ink-deep); }
.category-next p:not(.eyebrow) { color: var(--ink-soft); }
/* Item */
.article-header { padding: 65px 0 40px; }
.article-header__grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.55fr); gap: 50px; align-items: end; }
.article-header__aside { padding: 22px; background: var(--ink-deep); border-radius: var(--radius-md); color: #fff; }
.article-header__aside > span { color: #9bc4bb; font-weight: 800; font-size: .8rem; }
.article-header__aside ul { margin: 12px 0 0; padding-left: 20px; color: #d9e5e2; }
.article-header__aside li + li { margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 56px; padding-bottom: 90px; }
.article-body { max-width: 760px; }
.article-body h2 { margin: 38px 0 12px; color: var(--ink-deep); font-size: 1.55rem; }
.article-body p { color: #45504c; font-size: 1.02rem; line-height: 1.9; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.article-side { padding-top: 10px; }
.side-card { position: sticky; top: 105px; padding: 20px; border-radius: var(--radius-md); background: var(--bg-2); border: 1px solid var(--line); }
.side-card h2 { margin: 0 0 10px; font-size: 1.1rem; }
.side-card > a { display: grid; gap: 5px; padding: 14px 0; border-top: 1px solid #ccd6d1; }
.side-card a strong { color: var(--ink-deep); font-size: .95rem; }
.side-card a span { color: var(--ink-soft); font-size: .82rem; line-height: 1.55; }
.side-card a:hover strong { color: var(--brand); }
/* Search */
.search-page { padding: 70px 0 95px; }
.search-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 54px; }
.search-form-large { margin-top: 28px; }
.search-suggestions { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.search-suggestions h2 { font-size: 1rem; }
.search-suggestions > div { display: flex; flex-wrap: wrap; gap: 9px; }
.search-suggestions a { padding: 8px 12px; border: 1px solid var(--line); background: #fff; border-radius: 999px; color: var(--brand); font-weight: 760; }
.search-results { margin-top: 50px; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.results-heading h2 { margin: 0; color: var(--ink-deep); }
.results-heading span { color: var(--ink-soft); font-size: .86rem; }
.empty-state { margin-top: 45px; padding: 32px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); }
.empty-state h2 { margin-top: 0; }
.empty-state p { color: var(--ink-soft); }
.search-side { align-self: start; position: sticky; top: 105px; padding: 20px; background: var(--ink-deep); color: #fff; border-radius: var(--radius-md); }
.search-side img { width: 100%; border-radius: 12px; aspect-ratio: 1.15 / 1; object-fit: cover; }
.search-side h2 { font-size: 1.18rem; }
.search-side p { color: #bccbc6; font-size: .9rem; }
.search-side .text-link { color: #abd2c9; }
/* Download */
.download-hero { padding: 70px 0; }
.download-hero__grid { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.download-hero img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1.2/1; object-fit: cover; }
.device-section { padding: 80px 0; background: var(--bg-2); }
.device-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.device-grid article { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.device-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-pale); color: var(--brand); font-size: 1.4rem; }
.device-grid h3 { margin: 18px 0 8px; color: var(--ink-deep); }
.device-grid p { color: var(--ink-soft); }
.download-check { padding: 90px 0; }
.download-check__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.download-check img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 1.2/1; object-fit: cover; }
.download-check h2 { margin: 0; color: var(--ink-deep); font-size: clamp(1.7rem,3vw,2.7rem); }
.check-list { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 11px; }
.check-list li { position: relative; padding: 14px 16px 14px 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 15px; top: 13px; color: var(--brand); font-weight: 900; }
/* 404 */
.not-found { padding: 90px 0; }
.not-found__grid { display: grid; grid-template-columns: 1fr .7fr; gap: 50px; align-items: center; }
.not-found img { width: 100%; border-radius: var(--radius-md); }
/* Footer */
.site-footer { padding: 58px 0 24px; background: #111917; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 40px; }
.footer-brand strong { font-size: 1.2rem; }
.footer-brand p, .footer-note p { color: #9eb0aa; font-size: .88rem; }
.footer-nav h2, .footer-note h2 { margin: 0 0 12px; color: #c8d8d3; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #aebdb8; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid #283431; display: flex; justify-content: space-between; gap: 20px; color: #81928c; font-size: .8rem; }
.footer-bottom a:hover { color: #fff; }
/* Motion & states */
.js-ready [data-site-nav] { transition: opacity var(--transition), transform var(--transition); }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Tablet */
@media (max-width: 1020px) {
  :root { --shell: min(100% - 32px, 920px); }
  .site-header__inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; display: none; padding: 12px; border: 1px solid var(--line); background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px; border-radius: 8px; }
  .menu-toggle { display: inline-flex; }
  .header-action { display: none; }
  .home-intro__grid { grid-template-columns: 1fr .85fr; gap: 28px; }
  .home-intro__visual, .home-intro__visual img { min-height: 470px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .featured-zone__layout { gap: 30px; }
  .content-card--compact { grid-template-columns: 90px 1fr; }
  .content-card--compact .text-link { grid-column: 2; }
  .watch-hero__grid { grid-template-columns: 1fr 360px; gap: 30px; }
  .watch-card-grid, .content-card-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero__grid, .category-hero__grid, .download-hero__grid { gap: 30px; }
  .identity-grid { grid-template-columns: repeat(2,1fr); }
  .identity-card--wide { grid-column: span 2; }
  .type-line { grid-template-columns: 90px 1fr 1fr 24px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }
  .footer-note { grid-column: 1 / -1; }
}
/* Mobile landscape / small tablet */
@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 700px); }
  .brand__text small { display: none; }
  .home-intro { padding-top: 32px; }
  .home-intro__grid, .page-hero__grid, .watch-hero__grid, .category-hero__grid, .download-hero__grid, .not-found__grid { grid-template-columns: 1fr; }
  .home-intro h1, .page-hero h1, .watch-hero h1, .download-hero h1, .search-page h1, .article-header h1, .not-found h1, .category-hero h1 { font-size: clamp(2.15rem,10vw,3.5rem); }
  .home-intro__visual { min-height: 420px; }
  .home-intro__visual img { min-height: 420px; }
  .category-ribbon, .featured-zone, .scenario-zone, .watch-switcher, .watch-guide-band, .catalog-section, .category-content, .official-cta, .download-check { padding-block: 62px; }
  .section-heading--split { display: block; }
  .section-heading--split .text-link { margin-top: 10px; }
  .featured-zone__layout { grid-template-columns: 1fr; }
  .featured-zone__lead { position: static; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card--image { grid-column: auto; grid-template-columns: 1fr; }
  .brand-strip__inner, .category-next__inner { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .brand-strip__actions { flex-direction: row; flex-wrap: wrap; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-card--wide { grid-column: auto; }
  .type-line { grid-template-columns: 80px 1fr 26px; }
  .type-line em { grid-column: 2 / 3; }
  .official-cta__inner, .watch-guide-band__grid, .download-check__grid { grid-template-columns: 1fr; }
  .watch-hero__poster { min-height: 460px; }
  .watch-hero__poster img { min-height: 460px; }
  .catalog-row { grid-template-columns: 220px 1fr; gap: 22px; }
  .article-header__grid, .article-layout, .search-layout { grid-template-columns: 1fr; }
  .article-side, .search-side { display: none; }
  .article-body { max-width: none; }
  .device-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
}
/* Small mobile */
@media (max-width: 560px) {
  :root { --shell: calc(100% - 22px); --radius-lg: 22px; }
  .site-header__inner { min-height: 66px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand__text strong { font-size: .94rem; }
  .menu-toggle span:last-child { display: none; }
  .home-intro h1 { letter-spacing: -.045em; }
  .home-intro__visual, .home-intro__visual img { min-height: 350px; }
  .home-intro__visual figcaption { left: 18px; right: 18px; bottom: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .search-field { grid-template-columns: 1fr; }
  .search-field button { min-height: 44px; }
  .category-grid, .watch-card-grid, .content-card-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 260px; }
  .content-card--compact { grid-template-columns: 1fr; }
  .content-card--compact .text-link { grid-column: 1; }
  .scenario-card { padding: 22px; }
  .brand-strip__actions { flex-direction: column; }
  .watch-hero__poster { min-height: 390px; }
  .watch-hero__poster img { min-height: 390px; }
  .type-line { grid-template-columns: 1fr 28px; gap: 7px 12px; }
  .type-line span, .type-line strong, .type-line em { grid-column: 1; }
  .type-line b { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .catalog-row { grid-template-columns: 1fr; padding: 16px; }
  .catalog-row__visual img { max-height: 280px; }
  .article-header__aside { padding: 18px; }
  .results-heading { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-note { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .quick-search, .hero-search, .filter-bar, .search-form-large { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
  .content-card, .identity-card, .catalog-row { break-inside: avoid; box-shadow: none; }
}
