/*
 * Metin3 2026 theme — matches the in-game front-end (pack/root/uimodern.py):
 * dark glass cards, a lantern-orange spine (ACCENT 1.00/0.69/0.28), condensed
 * Bahnschrift headings, GTA-style menu rows, key-hint chips and a corner clock.
 * Loaded after site.css: part 1 re-themes every page, part 2 is the homepage.
 */

/* ---------- 1. Tokens (also re-map the legacy parchment/gold tokens) ---------- */
:root {
    --m3-bg: #090b0f;
    --m3-bg-2: #0d1016;
    --m3-glass: rgba(12, 14, 18, .86);
    --m3-glass-soft: rgba(12, 14, 18, .64);
    --m3-row: rgba(255, 255, 255, .035);
    --m3-row-hover: rgba(255, 255, 255, .08);
    --m3-line: rgba(255, 255, 255, .08);
    --m3-line-strong: rgba(255, 255, 255, .15);
    --m3-text: #f5f7fa;
    --m3-muted: #c2ccd6;
    --m3-dim: #8a949e;
    --m3-accent: #ffb047;
    --m3-accent-deep: #e8892a;
    --m3-accent-soft: rgba(255, 176, 71, .14);
    --m3-ink: #0d0f12;
    --m3-danger: #f25c54;
    --m3-success: #75db99;
    --m3-display: "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
    --m3-body: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
    --m3-ease: cubic-bezier(.2, .7, .2, 1);
    --m3-gutter: 16px;

    --color-bg: var(--m3-bg);
    --color-bg-soft: #10141b;
    --color-panel: #151a22;
    --color-panel-deep: #0b0e13;
    --color-paper: #0d1016;
    --color-paper-deep: #0b0e13;
    --color-gold: var(--m3-accent-deep);
    --color-gold-light: var(--m3-accent);
    --color-text: var(--m3-text);
    --color-muted: var(--m3-muted);
    --color-ink: var(--m3-text);
    --color-red: var(--m3-danger);
    --font-heading: var(--m3-display);
    --font-body: var(--m3-body);
    --border-gold: 1px solid var(--m3-line-strong);
    --radius-sm: 2px;
    --radius-md: 4px;
    --overlay-dark: rgba(5, 7, 10, .8);
}

/* ---------- 2. Base ---------- */
html { background: var(--m3-bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--m3-bg); color: var(--m3-text); font-family: var(--m3-body); -webkit-font-smoothing: antialiased; }
body::before { content: none; }
h1, h2, h3 { font-family: var(--m3-display); font-stretch: 75%; font-weight: 600; letter-spacing: .005em; }
h1, h2 { text-transform: uppercase; line-height: 1.02; }
h3 { line-height: 1.15; }
:focus-visible { outline: 2px solid var(--m3-accent); outline-offset: 3px; }
::selection { color: var(--m3-ink); background: var(--m3-accent); }
.skip-link { color: var(--m3-ink); background: var(--m3-accent); font-weight: 700; }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; color: var(--m3-ink); background: #e9edf2; border-radius: 3px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); font: 700 .62rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .06em; }

.eyebrow, .card-kicker { color: var(--m3-accent); font-family: var(--m3-display); font-stretch: 75%; font-weight: 600; letter-spacing: .16em; }
.eyebrow::before { width: 28px; height: 2px; }
.eyebrow--dark { color: var(--m3-accent); }

/* Buttons = in-game menu rows: selected row is solid lantern orange with dark ink. */
.button { min-height: 50px; border-radius: 2px; font-family: var(--m3-display); font-stretch: 75%; font-size: .9rem; font-weight: 600; letter-spacing: .08em; gap: 10px; }
.button:hover { transform: translateY(-1px); }
.button--gold { color: var(--m3-ink); border: 0; background: var(--m3-accent); box-shadow: 0 10px 30px rgba(255, 176, 71, .22); }
.button--gold:hover { color: var(--m3-ink); background: #ffc06b; }
.button--ghost, .button--dark { color: var(--m3-text); border: 1px solid var(--m3-line-strong); background: #141820; }
.button--ghost:hover, .button--dark:hover { border-color: var(--m3-accent); color: #fff; }
.text-link, .text-link span { color: var(--m3-accent); }

/* ---------- 3. Header — glass HeaderBar with an orange spine ---------- */
.site-header.is-scrolled, .site-header { backdrop-filter: none; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 10, .82), rgba(5, 7, 10, 0)); pointer-events: none; transition: opacity .25s ease; }
.site-header.is-scrolled { background: #0c0f14; box-shadow: 0 1px 0 var(--m3-line); }
.site-header.is-scrolled::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--m3-accent), rgba(255, 176, 71, 0) 60%); }
.header-shell { min-height: 78px; border-bottom: 0; }
.nav-icon, .nav-caret { color: var(--m3-accent); }
.main-navigation > a, .nav-dropdown-toggle { color: var(--m3-muted); font-family: var(--m3-display); font-stretch: 75%; font-size: .82rem; font-weight: 600; letter-spacing: .07em; padding: 28px 0 26px; }
.main-navigation > a::after, .nav-dropdown-toggle::after { height: 2px; bottom: 18px; background: var(--m3-accent); }
.nav-dropdown-menu { border: 1px solid var(--m3-line-strong); border-top: 2px solid var(--m3-accent); background: rgba(10, 12, 16, .97); border-radius: 0; padding: 6px; }
.nav-dropdown-menu a { color: var(--m3-muted); font-family: var(--m3-display); font-stretch: 75%; font-size: .82rem; font-weight: 600; letter-spacing: .06em; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--m3-ink); background: var(--m3-accent); }
.nav-dropdown-menu a:hover .nav-icon, .nav-dropdown-menu a:focus-visible .nav-icon { color: var(--m3-ink); }
.header-utility, .header-login, .language-switcher summary { border: 1px solid var(--m3-line-strong); background: rgba(12, 14, 18, .6); color: var(--m3-text); border-radius: 2px; font-family: var(--m3-display); font-stretch: 75%; font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.header-utility:hover, .header-login:hover { border-color: var(--m3-accent); background: rgba(12, 14, 18, .85); }
.header-buy { color: var(--m3-ink); border: 0; background: var(--m3-accent); border-radius: 2px; font-family: var(--m3-display); font-stretch: 75%; font-size: .8rem; font-weight: 600; letter-spacing: .07em; }
.header-buy:hover { color: var(--m3-ink); background: #ffc06b; }
.header-buy .nav-icon { color: var(--m3-ink); }
.header-buy .header-dl-count { border-color: rgba(13, 15, 18, .3); background: rgba(13, 15, 18, .12); }
.language-menu { border: 1px solid var(--m3-line-strong); border-top: 2px solid var(--m3-accent); background: rgba(10, 12, 16, .97); }

/* ---------- 4. Legacy parchment sections → dark glass (all pages) ---------- */
.parchment-section { color: var(--m3-text); background: linear-gradient(180deg, #0c0f14, #090b0f); background-image: radial-gradient(1200px 400px at 15% 0%, rgba(255, 176, 71, .05), transparent 60%), linear-gradient(180deg, #0c0f14, #090b0f); }
.dark-section, .systems-section, .media-home, .story-home, .coop-section, .roadmap-home { background: var(--m3-bg); }
.section-heading > p:last-child, .section-heading--dark > p:last-child, .split-layout--paper .section-copy > p, .section-copy > p, .story-panel-copy > p:not(.eyebrow), .class-card p, .journal-card p, .prose-intro, .prose-intro--dark, .location-grid p, .class-detail-grid > article p, .requirements-grid p, .empty-state, .filter-bar--dark a { color: var(--m3-muted); }
.section-copy > h3, .split-layout--paper .section-copy > h3, .class-card dt, .class-detail-grid dt, .class-skill-tree h3, .location-grid small, .journal-card .card-kicker, .support-card a, .class-card a { color: var(--m3-accent); }
.journal-card time { color: var(--m3-dim); }
.class-detail-grid dd, .two-column-prose--dark { color: var(--m3-text); }
.article-body a, .requirements-grid dt { color: var(--m3-accent); }
.article-body--legal em { color: var(--m3-dim); }
.filter-bar a { border-radius: 2px; font-family: var(--m3-display); font-stretch: 75%; font-weight: 600; letter-spacing: .06em; }
.filter-bar a.is-active { color: var(--m3-ink); border-color: var(--m3-accent); background: var(--m3-accent); }
.class-skill-grid span { color: var(--m3-muted); }
.difference-list span, .large-checklist li { color: var(--m3-text); background: var(--m3-row); border-left: 2px solid var(--m3-accent); }
.story-panel, .article-page { color: var(--m3-text); background: var(--m3-bg-2); }
.article-cover img { border-color: var(--m3-bg-2); }
.journal-card, .location-grid article, .class-portrait-card, .class-skill-grid li, .requirements-grid article, .support-card, .feature-item, .roadmap-current, .auth-card { color: var(--m3-text); background: var(--m3-glass); border: 1px solid var(--m3-line); box-shadow: inset 0 2px 0 var(--m3-accent); }
.class-skill-grid li { box-shadow: none; }
.framed-art, .cinematic-frame, .class-landscape, .class-editorial-grid, .class-card, .class-card dl div, .class-detail-grid dl div, .requirements-grid dl div, .support-card a, .pagination a, .filter-bar--dark a { border-color: var(--m3-line); }
.class-card:nth-child(-n+2) { border-bottom-color: var(--m3-line); }
.pagination a { color: var(--m3-text); }
.status { border-radius: 2px; font-family: var(--m3-display); font-stretch: 75%; font-size: .7rem; font-weight: 600; letter-spacing: .1em; }
.status--available, .status--completed, .status--stable { color: var(--m3-success); }
.page-hero { background: var(--m3-bg); }
.page-hero::after { background: linear-gradient(90deg, rgba(9, 11, 15, .97), rgba(9, 11, 15, .35)), linear-gradient(180deg, transparent 40%, var(--m3-bg)); }
.page-hero-content h1 { letter-spacing: .01em; }
.breadcrumbs a { color: var(--m3-accent); }
.progress i { background: var(--m3-accent); }
.trailer-frame, .media-tile, .media-gallery-item, .lightbox, .lightbox-close, .lightbox-arrow { border-color: var(--m3-line-strong); }
.lightbox { background: rgba(9, 11, 15, .98); border-top: 2px solid var(--m3-accent); }
.download-count strong { color: var(--m3-accent); font-family: var(--m3-display); font-stretch: 75%; font-weight: 600; }
.release-line b, .buy-price strong { color: var(--m3-accent); }

/* ---------- 5. Footer ---------- */
.site-footer { position: relative; background: #07090c; border-top: 1px solid var(--m3-line); }
.site-footer::before { content: ""; position: absolute; left: 0; top: -1px; width: min(420px, 60%); height: 2px; background: var(--m3-accent); }
.footer-nav strong { color: var(--m3-accent); font-family: var(--m3-display); font-stretch: 75%; font-weight: 600; }
.footer-nav a { color: var(--m3-dim); }
.footer-nav a:hover { color: var(--m3-text); }
.footer-legal { border-top-color: var(--m3-line); }
.footer-tagline { color: var(--m3-muted); }

/* ---------- 6. Homepage building blocks ---------- */
.m3-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--m3-accent); font: 600 .78rem/1.2 var(--m3-display); font-stretch: 75%; letter-spacing: .18em; text-transform: uppercase; }
.m3-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.m3-kicker:empty { display: none; }
.m3-section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.m3-heading { max-width: 780px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.m3-heading h2, .m3-copy h2, .m3-statement h2, .m3-card--text h2, .m3-lore h2, .m3-download-card h2 { margin: 0 0 .35em; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.m3-heading > p { max-width: 640px; margin: 0; color: var(--m3-muted); font-size: 1rem; }
.m3-subline { margin: -2px 0 14px; color: var(--m3-accent); font: 600 1.05rem/1.35 var(--m3-display); font-stretch: 75%; letter-spacing: .02em; }
.m3-copy > p:not([class]), .m3-card--text > p:not([class]) { color: var(--m3-muted); }
.m3-action { margin: 34px 0 0; text-align: center; }

/* Glass card — Board2026: dark glass, hairline border, 2px orange top spine. */
.m3-card { position: relative; background: #12151b; border: 1px solid var(--m3-line); box-shadow: inset 0 2px 0 var(--m3-accent); }
.m3-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--m3-line); }
.m3-card-title { margin: 0; color: var(--m3-text); font: 600 1.3rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .02em; text-transform: uppercase; }
.m3-card-count { color: var(--m3-dim); font: 600 .78rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.m3-card--text { padding: clamp(24px, 4vw, 44px); }

/* GTA menu rows */
.m3-rows { display: grid; gap: 2px; margin: 0; padding: 8px; list-style: none; }
.m3-rows > li { display: block; }
.m3-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; color: var(--m3-text); background: var(--m3-row); text-decoration: none; font: 600 .98rem/1.2 var(--m3-display); letter-spacing: .02em; transition: background .16s var(--m3-ease), color .16s var(--m3-ease), padding .16s var(--m3-ease); }
.m3-row > i { width: 18px; color: var(--m3-accent); text-align: center; font-size: .85rem; transition: color .16s; }
.m3-row-label { flex: 1; min-width: 0; }
.m3-row-label small { display: block; margin-top: 2px; color: var(--m3-dim); font: 400 .72rem/1.2 var(--m3-body); letter-spacing: 0; }
.m3-row-meta { color: var(--m3-dim); font: 600 .8rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m3-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--m3-accent); transform: scaleY(0); transition: transform .16s var(--m3-ease); }
.m3-row:hover { background: var(--m3-row-hover); padding-left: 18px; }
.m3-row:hover::before { transform: scaleY(1); }
.m3-row.is-active { color: var(--m3-ink); background: var(--m3-accent); padding-left: 18px; }
.m3-row.is-active::before { transform: scaleY(1); background: #fff3e0; }
.m3-row.is-active > i, .m3-row.is-active .m3-row-meta, .m3-row.is-active small { color: rgba(13, 15, 18, .72); }
.m3-row:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.m3-desc { margin: 0; padding: 12px 18px 16px; min-height: 64px; border-top: 2px solid var(--m3-accent); color: var(--m3-muted); font-size: .86rem; line-height: 1.5; }
.m3-desc a { color: var(--m3-accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.m3-desc a:hover { text-decoration: underline; }

/* ---------- 7. Hero (= main menu screen) ---------- */
.m3-hero { position: relative; min-height: max(760px, 100svh); display: grid; align-items: center; isolation: isolate; overflow: hidden; background: #06080b; }
.m3-hero-art { position: absolute; inset: 0; z-index: -4; }
.m3-hero-art img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 40%; animation: m3-kenburns 38s ease-in-out infinite alternate; }
@keyframes m3-kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.m3-hero-scrim { position: absolute; inset: 0; z-index: -3; background:
    linear-gradient(90deg, rgba(6, 8, 11, .96) 0%, rgba(6, 8, 11, .82) 30%, rgba(6, 8, 11, .28) 62%, rgba(6, 8, 11, .1) 100%),
    linear-gradient(180deg, rgba(6, 8, 11, .55) 0%, rgba(6, 8, 11, 0) 22%, rgba(6, 8, 11, 0) 70%, var(--m3-bg) 100%); }
.m3-rays { position: absolute; z-index: -2; left: 18%; top: -12%; width: 60vw; height: 120%; pointer-events: none; opacity: .45; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(190, 210, 255, .08) 12deg, transparent 22deg, rgba(190, 210, 255, .05) 34deg, transparent 46deg, rgba(255, 210, 160, .05) 58deg, transparent 70deg); }
.m3-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: paint; }
.m3-embers i { position: absolute; bottom: -20px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #ffe0b0 0 35%, rgba(255, 160, 60, .45) 55%, transparent 72%); opacity: 0; animation: m3-ember 12s linear infinite; }
.m3-embers i:nth-child(1) { left: 6%; animation-delay: 0s; animation-duration: 13s; }
.m3-embers i:nth-child(2) { left: 14%; animation-delay: 3s; transform: scale(.6); }
.m3-embers i:nth-child(3) { left: 22%; animation-delay: 6s; animation-duration: 15s; }
.m3-embers i:nth-child(4) { left: 31%; animation-delay: 1.5s; transform: scale(.8); }
.m3-embers i:nth-child(5) { left: 39%; animation-delay: 8s; }
.m3-embers i:nth-child(6) { left: 47%; animation-delay: 4.5s; animation-duration: 16s; }
.m3-embers i:nth-child(7) { left: 55%; animation-delay: 10s; transform: scale(.5); }
.m3-embers i:nth-child(8) { left: 62%; animation-delay: 2s; animation-duration: 11s; }
.m3-embers i:nth-child(9) { left: 68%; animation-delay: 7s; }
.m3-embers i:nth-child(10) { left: 74%; animation-delay: 5s; animation-duration: 14s; transform: scale(.7); }
.m3-embers i:nth-child(11) { left: 80%; animation-delay: 9s; }
.m3-embers i:nth-child(12) { left: 86%; animation-delay: .8s; animation-duration: 17s; transform: scale(.6); }
.m3-embers i:nth-child(13) { left: 91%; animation-delay: 11s; }
.m3-embers i:nth-child(14) { left: 96%; animation-delay: 3.5s; animation-duration: 12s; }
.m3-embers i:nth-child(15) { left: 44%; animation-delay: 12s; transform: scale(.5); }
.m3-embers i:nth-child(16) { left: 70%; animation-delay: 13.5s; animation-duration: 18s; }
@keyframes m3-ember {
    0% { opacity: 0; translate: 0 0; }
    10% { opacity: .9; }
    50% { translate: 26px -45vh; }
    85% { opacity: .5; }
    100% { opacity: 0; translate: -18px -95vh; }
}
.m3-hero.is-quiet .m3-hero-art img,
.m3-hero.is-quiet .m3-embers i { animation-play-state: paused; }

.m3-hero-layout { padding: 112px 0 96px; }
.m3-hero-panel { width: min(470px, 100%); animation: m3-in .7s var(--m3-ease) both; }
@keyframes m3-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.m3-hero-logo { width: 230px; height: auto; margin: 0 0 10px -6px; filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .6)); }
.m3-hero-title { margin: 0 0 12px; }
.m3-hero-title span { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .95; }
.m3-hero-title small { display: block; margin-top: 8px; color: var(--m3-accent); font-size: clamp(1rem, 1.7vw, 1.2rem); letter-spacing: .04em; line-height: 1.2; }
.m3-hero-lead { margin: 0 0 22px; color: #d5dce3; font-size: .98rem; line-height: 1.6; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.m3-menu .m3-card-head { padding-top: 14px; }
.m3-hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; margin-top: 16px; }
.m3-hero-foot .download-count { margin: 0; }
.m3-note { margin: 0; color: var(--m3-dim); font: 600 .74rem/1.3 var(--m3-display); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; }
.m3-note span { color: var(--m3-accent); }

.m3-hud { position: absolute; inset: 0; pointer-events: none; }
.m3-hud-status { position: absolute; left: max(24px, calc((100vw - 1200px) / 2)); bottom: 28px; margin: 0; color: var(--m3-dim); font: 600 .7rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .14em; text-transform: uppercase; }
.m3-keys { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 22px; display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.m3-keys li { display: inline-flex; align-items: center; gap: 8px; color: var(--m3-text); font: 600 .78rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .04em; }

/* ---------- 8. Facts strip (HUD chips) ---------- */
.m3-facts { position: relative; z-index: 2; margin-top: -54px; }
.m3-fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.m3-fact-grid li { position: relative; padding: 18px 20px; background: #12151b; border: 1px solid var(--m3-line); }
.m3-fact-grid li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--m3-accent), rgba(255, 176, 71, .15)); }
.m3-fact-grid strong { display: block; color: var(--m3-text); font: 600 1.25rem/1.1 var(--m3-display); font-stretch: 75%; letter-spacing: .02em; text-transform: uppercase; }
.m3-fact-grid span { display: block; margin-top: 4px; color: var(--m3-muted); font-size: .8rem; }

/* ---------- 9. Trailers (YouTube facade) ---------- */
.m3-trailers { background: radial-gradient(900px 420px at 80% 0%, rgba(80, 110, 170, .1), transparent 70%), var(--m3-bg); }
.m3-theatre { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.m3-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--m3-line-strong); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.m3-screen::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--m3-accent); z-index: 3; pointer-events: none; }
.m3-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m3-yt { position: absolute; inset: 0; display: block; color: #fff; cursor: pointer; }
.m3-yt[hidden] { display: none; }
.m3-yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--m3-ease), filter .4s; }
.m3-yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .05) 45%, rgba(6, 8, 11, .85)); }
.m3-yt:hover img { transform: scale(1.03); filter: brightness(1.08); }
.m3-yt-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; display: grid; place-items: center; color: var(--m3-ink); background: var(--m3-accent); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(255, 176, 71, .18), 0 18px 40px rgba(0, 0, 0, .5); font-size: 1.6rem; transition: transform .2s var(--m3-ease), box-shadow .2s; }
.m3-yt-play i { margin-left: 5px; }
.m3-yt-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 176, 71, .55); animation: m3-pulse 2.2s ease-out infinite; }
@keyframes m3-pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.m3-yt:hover .m3-yt-play, .m3-yt:focus-visible .m3-yt-play { transform: translate(-50%, -50%) scale(1.07); }
.m3-yt-caption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.m3-yt-caption b { width: 100%; color: var(--m3-accent); font: 600 .72rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .16em; text-transform: uppercase; }
.m3-yt-caption strong { font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1 var(--m3-display); font-stretch: 75%; text-transform: uppercase; }
.m3-yt-caption span { color: var(--m3-muted); font: 600 .9rem/1 var(--m3-display); font-stretch: 75%; }
.m3-row--video { gap: 12px; padding: 8px 12px 8px 8px; }
.m3-row--video img { width: 84px; height: 47px; object-fit: cover; flex: none; border: 1px solid var(--m3-line); }
.m3-row--video:hover { padding-left: 12px; }
.m3-row--video.is-active { padding-left: 12px; }
.m3-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.m3-tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; color: #fff; border: 1px solid var(--m3-line); background: #07090c; cursor: zoom-in; }
.m3-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--m3-ease); }
.m3-tile::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(6, 8, 11, .92)); }
.m3-tile span { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; text-align: left; font: 600 .82rem/1.2 var(--m3-display); letter-spacing: .03em; }
.m3-tile:hover img, .m3-tile:focus-visible img { transform: scale(1.05); }
.m3-tile:hover { border-color: var(--m3-accent); }

/* ---------- 10. About / statement / story ---------- */
.m3-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.m3-split--reverse > :first-child { order: 2; }
.m3-about { background: linear-gradient(180deg, var(--m3-bg), #0b0e13); }
.m3-answer--lead { margin: 0 0 22px; padding: 14px 18px; color: var(--m3-text); background: var(--m3-accent-soft); border-left: 3px solid var(--m3-accent); font-size: 1.06rem; line-height: 1.5; }
.m3-copy h3 { margin: 4px 0 6px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.m3-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.m3-chips li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; background: var(--m3-row); border: 1px solid var(--m3-line); font: 600 .92rem/1.2 var(--m3-display); letter-spacing: .02em; }
.m3-chips li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--m3-accent); transform: rotate(45deg); }
.m3-shot { position: relative; margin: 0; }
.m3-shot > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--m3-line-strong); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.m3-shot::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 40%; height: 2px; background: var(--m3-accent); }
.m3-saves { position: absolute; left: -28px; bottom: -28px; width: 230px; }
.m3-saves .m3-card-head { padding: 12px 14px 10px; }
.m3-saves .m3-card-title { font-size: 1rem; }
.m3-saves .m3-row { min-height: 34px; margin: 0 6px; padding: 7px 12px; font-size: .86rem; }
.m3-saves .m3-row:first-of-type { margin-top: 6px; }
.m3-saves .m3-row:last-child { margin-bottom: 6px; }
.m3-saves .m3-row + .m3-row { margin-top: 2px; }
.m3-shot-label { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 12px; color: var(--m3-ink); background: var(--m3-accent); font: 600 .8rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; }

.m3-statement { position: relative; padding: clamp(56px, 8vw, 96px) 0; text-align: center; background: radial-gradient(700px 260px at 50% 100%, rgba(255, 176, 71, .08), transparent 70%), #0b0e13; border-block: 1px solid var(--m3-line); }
.m3-statement .shell { max-width: 900px; }
.m3-statement .m3-kicker { justify-content: center; }
.m3-statement .m3-kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.m3-statement p.m3-answer { margin: 0 auto; max-width: 820px; color: var(--m3-muted); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.7; }

.m3-story { background: var(--m3-bg); }
.m3-key-line { display: flex; align-items: center; gap: 12px; margin: 18px 0 24px; color: var(--m3-text); font: 600 .95rem/1.3 var(--m3-display); }
.m3-lore { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; align-items: center; gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 46px); text-align: center; background: linear-gradient(90deg, rgba(255, 176, 71, .05), rgba(12, 14, 18, .9) 30%, rgba(12, 14, 18, .9) 70%, rgba(255, 176, 71, .05)); border: 1px solid var(--m3-line); }
.m3-lore > span { color: rgba(255, 176, 71, .2); font: 600 2.4rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; justify-self: center; }
.m3-lore .m3-kicker { justify-content: center; }
.m3-lore p:not(.m3-kicker) { max-width: 680px; margin: 0 auto; color: var(--m3-muted); }

/* ---------- 11. Systems triptych ---------- */
.m3-systems { background: linear-gradient(180deg, var(--m3-bg), #0b0e13); }
.m3-triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.m3-panel { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #07090c; border: 1px solid var(--m3-line); }
.m3-panel > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--m3-ease); }
.m3-panel::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(8, 10, 13, .97) 62%); pointer-events: none; }
.m3-panel::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; height: 2px; width: 100%; background: var(--m3-accent); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--m3-ease); }
.m3-panel:hover::before { transform: scaleX(1); }
.m3-panel:hover > img { transform: scale(1.04); }
.m3-panel > div { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.m3-tag { display: inline-block; margin-bottom: 10px; padding: 5px 9px; color: var(--m3-ink); background: var(--m3-accent); font: 600 .72rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; }
.m3-panel h3 { margin: 0 0 6px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.m3-panel p { margin: 0; color: var(--m3-muted); font-size: .84rem; line-height: 1.5; }

/* ---------- 12. Classes (character select cards) ---------- */
.m3-classes { background: radial-gradient(900px 400px at 20% 0%, rgba(80, 110, 170, .08), transparent 70%), #0b0e13; }
.m3-class-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.m3-class { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--m3-glass); border: 1px solid var(--m3-line); transition: transform .25s var(--m3-ease), border-color .25s; }
.m3-class:hover { transform: translateY(-4px); border-color: rgba(255, 176, 71, .45); }
.m3-class::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 100%; height: 2px; background: var(--m3-accent); }
.m3-class-art { position: relative; display: grid; place-items: end center; height: 210px; overflow: hidden; background: radial-gradient(circle at 50% 70%, rgba(255, 176, 71, .16), transparent 62%), linear-gradient(180deg, #121722, #0b0e13); text-decoration: none; }
.m3-class-art img { position: relative; z-index: 1; width: auto; height: 196px; object-fit: contain; transition: transform .4s var(--m3-ease); }
.m3-class:hover .m3-class-art img { transform: scale(1.05); }
.m3-class-art b { position: absolute; left: 14px; top: 12px; color: rgba(255, 176, 71, .55); font: 600 2.4rem/1 var(--m3-display); font-stretch: 75%; }
.m3-class-art img + b { opacity: .7; font-size: 1.6rem; }
.m3-class-body { display: flex; flex-direction: column; padding: 18px 18px 20px; }
.m3-class h3 { margin: 0 0 8px; font-size: 1.55rem; text-transform: uppercase; }
.m3-class h3 a { color: inherit; text-decoration: none; }
.m3-class h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.m3-class p { margin: 0 0 14px; color: var(--m3-muted); font-size: .86rem; line-height: 1.5; }
.m3-class dl { display: grid; gap: 2px; margin: 0 0 16px; }
.m3-class dl div { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px 10px; background: var(--m3-row); }
.m3-class dt { color: var(--m3-accent); font: 600 .72rem/1.4 var(--m3-display); font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; }
.m3-class dd { margin: 0; font-size: .8rem; line-height: 1.4; }
.m3-link { margin-top: auto; color: var(--m3-accent); font: 600 .92rem/1 var(--m3-display); letter-spacing: .04em; text-decoration: none; }
.m3-link span { display: inline-block; transition: transform .2s; }
.m3-class:hover .m3-link span { transform: translateX(4px); }

/* ---------- 13. Co-op ---------- */
.m3-coop { background: linear-gradient(115deg, #0b0e13, #101622 60%, var(--m3-bg)); }
.m3-steps { display: grid; gap: 2px; margin: 26px 0 0; padding: 0; list-style: none; }
.m3-steps li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 12px 14px; background: var(--m3-row); border-left: 3px solid transparent; transition: border-color .2s, background .2s; }
.m3-steps li:hover { background: var(--m3-row-hover); border-left-color: var(--m3-accent); }
.m3-steps b { display: grid; place-items: center; width: 40px; height: 40px; color: var(--m3-ink); background: var(--m3-accent); font: 600 1.3rem/1 var(--m3-display); font-stretch: 75%; }
.m3-steps strong { display: block; font: 600 1.02rem/1.25 var(--m3-display); letter-spacing: .02em; }
.m3-steps span { color: var(--m3-muted); font-size: .84rem; }

/* ---------- 14. Feature tiles (ESC menu tile grid) ---------- */
.m3-features { background: var(--m3-bg); }
.m3-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.m3-tile-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; background: var(--m3-glass); border: 1px solid var(--m3-line); transition: border-color .2s, transform .2s var(--m3-ease), background .2s; }
.m3-tile-card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 34px; background: var(--m3-accent); transition: width .35s var(--m3-ease); }
.m3-tile-card:hover { transform: translateY(-3px); border-color: rgba(255, 176, 71, .4); background: rgba(16, 19, 25, .92); }
.m3-tile-card:hover::before { width: 100%; }
.m3-tile-card img { width: 52px; height: 52px; margin-bottom: 6px; object-fit: contain; }
.m3-tile-card h3 { margin: 0; font-size: 1.2rem; }
.m3-tile-card p { margin: 0 0 10px; color: var(--m3-muted); font-size: .84rem; line-height: 1.5; }
.m3-status { align-self: flex-start; margin-top: auto; padding: 4px 8px; color: var(--m3-accent); border: 1px solid currentColor; font: 600 .7rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .12em; text-transform: uppercase; }
.m3-status--available, .m3-status--completed, .m3-status--stable { color: var(--m3-success); }
.m3-status--planned { color: var(--m3-dim); }
.m3-status--delayed { color: var(--m3-danger); }

/* ---------- 15. FAQ ---------- */
.m3-faq { background: linear-gradient(180deg, #0b0e13, var(--m3-bg)); }
.m3-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.m3-faq-layout .m3-heading { position: sticky; top: 110px; }
.m3-faq-layout .m3-heading .button { margin-top: 10px; }
.m3-qa-list { display: grid; gap: 2px; }
.m3-qa { background: var(--m3-row); border-left: 3px solid transparent; transition: background .2s, border-color .2s; }
.m3-qa[open] { background: var(--m3-glass); border-left-color: var(--m3-accent); }
.m3-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; }
.m3-qa summary::-webkit-details-marker { display: none; }
.m3-qa summary:hover { background: var(--m3-row-hover); }
.m3-qa h3 { margin: 0; font-size: 1.08rem; letter-spacing: .01em; }
.m3-qa summary i { flex: none; color: var(--m3-accent); font-size: .8rem; transition: transform .25s var(--m3-ease); }
.m3-qa[open] summary i { transform: rotate(180deg); }
.m3-qa-answer { padding: 0 18px 18px; color: var(--m3-muted); font-size: .92rem; line-height: 1.65; }
.m3-qa-answer p { margin: 0; }
.m3-qa-answer strong { color: var(--m3-text); }
.m3-qa-answer a { color: var(--m3-accent); }
.m3-qa-answer code { padding: 1px 6px; background: rgba(255, 255, 255, .07); font-size: .85em; }

/* ---------- 16. Journal + download ---------- */
.m3-journal { background: var(--m3-bg); }
.m3-journal .journal-card { box-shadow: none; border-top: 2px solid var(--m3-accent); }
.m3-journal .journal-card h3 { text-transform: none; }
.m3-download { position: relative; padding: clamp(90px, 14vw, 170px) 0; isolation: isolate; overflow: hidden; text-align: center; }
.m3-download-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.m3-download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(9, 11, 15, .45), rgba(9, 11, 15, .94) 70%), linear-gradient(180deg, var(--m3-bg), transparent 30%, transparent 70%, var(--m3-bg)); }
.m3-download-card { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); }
.m3-download-card .m3-kicker, .m3-download-card .button-row, .m3-download-card .download-count { justify-content: center; }
.m3-download-card .m3-kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.m3-download-card > p:not([class]) { color: var(--m3-muted); }
.m3-release { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0; }
.m3-release b, .m3-release span { padding: 7px 12px; background: var(--m3-row); border: 1px solid var(--m3-line); font: 600 .82rem/1 var(--m3-display); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.m3-release b { color: var(--m3-ink); background: var(--m3-accent); border-color: var(--m3-accent); }

/* ---------- 17. Responsive ---------- */
@media (min-width: 901px) and (max-width: 1240px) {
    .header-shell { grid-template-columns: 130px minmax(0, 1fr) auto; gap: 14px; width: calc(100% - 32px); }
    .brand { width: 128px; }
    .main-navigation { gap: 14px; }
    .main-navigation > a, .nav-dropdown-toggle { font-size: .74rem; letter-spacing: .05em; }
    .main-navigation .nav-icon { display: none; }
    .header-utility { padding: 0 10px; font-size: 0; gap: 0; }
    .header-utility .nav-icon { font-size: 1rem; }
    .header-buy { padding: 0 12px; font-size: .74rem; }
}
@media (min-width: 901px) and (max-width: 1020px) {
    .header-buy .header-dl-count { display: none; }
    .main-navigation { gap: 11px; }
    .main-navigation > a, .nav-dropdown-toggle { font-size: .7rem; letter-spacing: .03em; }
}
@media (max-width: 1100px) {
    .m3-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m3-theatre { grid-template-columns: 1fr; }
    .m3-playlist .m3-rows { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --shell: calc(100% - 2 * var(--m3-gutter)); --content: calc(100% - 2 * var(--m3-gutter)); }
    .header-shell { min-height: 66px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .menu-button { order: 3; }
    .menu-button { border: 1px solid var(--m3-line-strong); background: rgba(12, 14, 18, .8); border-radius: 2px; }
    .menu-button span { height: 2px; background: var(--m3-accent); }
    .main-navigation { top: 72px; left: var(--m3-gutter); right: var(--m3-gutter); max-height: calc(100svh - 88px); overflow-y: auto; padding: 8px; gap: 2px; border: 1px solid var(--m3-line-strong); border-top: 2px solid var(--m3-accent); background: rgba(10, 12, 16, .98); border-radius: 0; }
    .main-navigation > a, .nav-dropdown-toggle { justify-content: flex-start; min-height: 48px; padding: 12px 14px; background: var(--m3-row); font-size: .95rem; text-align: left; }
    .main-navigation > a:hover, .nav-dropdown-toggle:hover { background: var(--m3-row-hover); }
    .main-navigation > a::after, .nav-dropdown-toggle::after { display: none; }
    .nav-dropdown-menu { border: 0; padding: 2px 0 0 12px; background: transparent; box-shadow: none; }
    .nav-dropdown-menu a { justify-content: flex-start; min-height: 44px; text-align: left; }
    .main-navigation > .nav-mobile-utility { justify-content: flex-start; }
    .language-list { display: flex !important; flex-wrap: wrap; gap: 6px !important; padding: 10px 4px; }
    .language-list a { padding: 8px 10px; background: var(--m3-row); font-size: .78rem; text-decoration: none; }
    .language-list a[aria-current="true"] { color: var(--m3-ink); background: var(--m3-accent); }

    .m3-hero { min-height: auto; align-items: end; }
    .m3-hero-layout { padding: 96px 0 84px; }
    .m3-hero-panel { width: min(560px, 100%); }
    .m3-hero-scrim { background: linear-gradient(180deg, rgba(6, 8, 11, .6) 0%, rgba(6, 8, 11, .25) 25%, rgba(6, 8, 11, .82) 60%, var(--m3-bg) 100%); }
    .m3-keys { display: none; }
    .m3-hud-status { display: none; }
    .m3-facts { margin-top: -40px; }
    .m3-fact-grid { grid-template-columns: 1fr 1fr; }
    .m3-split, .m3-faq-layout { grid-template-columns: 1fr; }
    .m3-split--reverse > :first-child { order: 0; }
    .m3-faq-layout .m3-heading { position: static; }
    .m3-tiles { grid-template-columns: 1fr 1fr; }
    .m3-saves { left: 12px; bottom: -20px; }
    .m3-about .m3-shot { margin-bottom: 20px; }
    .m3-lore { grid-template-columns: 1fr; }
    .m3-lore > span { display: none; }
    .m3-triptych { grid-template-columns: 1fr; }
    .m3-panel { aspect-ratio: 16 / 11; }
    .journal-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .site-header, .site-header.is-scrolled { background: rgba(9, 11, 15, .92); }
    .header-shell { width: calc(100% - 2 * var(--m3-gutter)); grid-template-columns: minmax(0, 1fr) auto auto; }
    .brand { width: 118px; }
    .header-buy { min-height: 40px; padding: 0 12px; font-size: .74rem; }
    .header-buy .header-dl-count { display: none; }
    .language-switcher { display: none; }

    .m3-hero-layout { padding: max(150px, 26svh) 0 74px; }
    .m3-hero-scrim { background: linear-gradient(180deg, rgba(6, 8, 11, .45) 0%, rgba(6, 8, 11, 0) 14%, rgba(6, 8, 11, .55) 30%, rgba(6, 8, 11, .88) 52%, var(--m3-bg) 100%); }
    .m3-hero-art img { object-position: 58% 0 !important; }
    .m3-hero-logo { display: none; }
    .m3-hero-title span { font-size: clamp(2.2rem, 11vw, 2.8rem); }
    .m3-hero-lead { font-size: .95rem; }
    .m3-row { min-height: 50px; font-size: 1rem; }
    .m3-row:hover { padding-left: 14px; }
    .m3-desc { min-height: 0; }
    .m3-hero-foot { flex-direction: column; align-items: flex-start; }
    .m3-hud-status { display: none; }
    .m3-facts { margin-top: -28px; }
    .m3-fact-grid li { padding: 14px; }
    .m3-fact-grid strong { font-size: 1.05rem; }
    .m3-fact-grid span { font-size: .76rem; }

    .m3-section { padding: 52px 0; }
    .m3-heading h2, .m3-copy h2, .m3-statement h2, .m3-card--text h2, .m3-lore h2, .m3-download-card h2 { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
    .m3-playlist .m3-rows { grid-template-columns: 1fr; }
    .m3-yt-play { width: 64px; height: 64px; font-size: 1.25rem; }
    .m3-yt-caption { left: 14px; right: 14px; bottom: 12px; }
    .m3-mosaic { grid-template-columns: 1fr 1fr; gap: 8px; }
    .m3-chips { grid-template-columns: 1fr; }
    .m3-saves { position: static; width: auto; margin-top: 8px; }
    .m3-about .m3-shot { margin-bottom: 0; }
    .m3-tiles { grid-template-columns: 1fr; }
    .m3-tile-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px; }
    .m3-tile-card img { grid-row: span 3; width: 44px; height: 44px; margin: 0; }
    .m3-tile-card .m3-status { grid-column: 2; }
    .m3-class-grid { display: flex; gap: 10px; margin-inline: calc(-1 * var(--m3-gutter)); padding: 4px var(--m3-gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m3-gutter); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--m3-accent) transparent; }
    .m3-class { flex: 0 0 82%; scroll-snap-align: start; }
    .m3-class:hover { transform: none; }
    .m3-class-art { height: 180px; }
    .m3-class-art img { height: 168px; }
    .m3-steps li { grid-template-columns: 40px 1fr; padding: 10px 12px; }
    .m3-qa summary { padding: 12px 14px; }
    .m3-qa h3 { font-size: 1rem; }
    .m3-qa-answer { padding: 0 14px 16px; }
    .journal-grid { grid-template-columns: 1fr; }
    .m3-download-card .button-row .button { width: 100%; }
    .m3-shot-label { left: 10px; bottom: 10px; font-size: .7rem; }
    .footer-nav a { padding: 7px 0; font-size: .82rem; }
}

@media (hover: none) {
    .m3-row:hover { background: var(--m3-row); padding-left: 14px; }
    .m3-row:hover::before { transform: scaleY(0); }
    .m3-row.is-active:hover { background: var(--m3-accent); padding-left: 18px; }
    .m3-row.is-active:hover::before { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
    .m3-hero-art img, .m3-rays, .m3-embers i, .m3-yt-play::before, .m3-hero-panel { animation: none; }
    .m3-embers { display: none; }
}

.free-notice { width: min(720px, calc(100% - 32px)); margin: auto; padding: 56px 36px 44px; text-align: center; color: var(--m3-text); border: 1px solid var(--m3-line-strong); border-top: 2px solid var(--m3-accent); background: #0c0e12; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); }
.free-notice::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.free-notice-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; color: var(--m3-text); border: 1px solid var(--m3-line-strong); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.free-notice-close:hover { color: var(--m3-ink); background: var(--m3-accent); border-color: var(--m3-accent); }
.free-notice-line { display: block; color: var(--m3-text); font-family: var(--m3-display); font-stretch: 75%; font-weight: 700; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.free-notice-line:hover { color: var(--m3-accent); }
