:root { --brand-mark: #22574a; --hero-photo: #233e32; }
*, *::before, *::after { box-sizing: border-box; }
body {
  --bg: #101713;
  --surface: #18221b;
  --raised: #202d24;
  --ink: #eff9ef;
  --muted: #b8c7ba;
  --line: #3c5143;
  --accent: #bff967;
  --on-accent: #14200b;
  --head: "Arial Black", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --round: 12px;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
}
.edition-dragstrip {
  --bg: #f8f0e6; --surface: #fff8ee; --raised: #f0e2d1;
  --ink: #251812; --muted: #654b3e; --line: #d7bcaa;
  --accent: #a72617; --on-accent: #fff8ef; --round: 2px;
  --head: Impact, "Arial Narrow", sans-serif;
}
.edition-rally {
  --bg: #f0f0e3; --surface: #faf9ed; --raised: #e4e8d8;
  --ink: #1c3025; --muted: #4d6252; --line: #c6cfb6;
  --accent: #22574a; --on-accent: #fffdf0; --round: 4px;
  --head: Georgia, "Times New Roman", serif;
}
.edition-streetrace {
  --bg: #0d1d4c; --surface: #132964; --raised: #1b367a;
  --ink: #f5f7ff; --muted: #c4cfee; --line: #425994;
  --accent: #fff36b; --on-accent: #171e42; --round: 0px;
}
.edition-driftrush {
  --bg: #1a1321; --surface: #291c31; --raised: #36223d;
  --ink: #fff4fd; --muted: #e0c7dc; --line: #654465;
  --accent: #ffabdc; --on-accent: #2b1526; --round: 22px;
  --head: "Trebuchet MS", "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.button:focus-visible { outline-color: var(--ink); }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
main { flex: 1; min-width: 0; padding-bottom: clamp(48px, 7vw, 104px); }
main:focus { outline: 0; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; padding: 12px; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-bar { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 235px; height: auto; }
.desktop-nav ul, .category-dialog ul, .fallback-nav ul { list-style: none; padding: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: clamp(4px, .8vw, 16px); }
.desktop-nav a, .menu-button { display: block; padding: 9px 7px; color: var(--muted); text-decoration: none; font-size: .91rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--accent); }
.menu-button, .fallback-nav { display: none; }
.category-dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 28px); padding: 22px; }
.category-dialog:not([open]) { display: none; }
.category-dialog::backdrop { background: #080b17bb; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dialog-top h2 { font-size: 1.4rem; }
.dialog-close { width: 42px; height: 42px; border-radius: var(--round); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.category-dialog ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.category-dialog a, .fallback-nav a { display: block; padding: 12px; background: var(--raised); text-decoration: none; font-weight: 700; }
.category-dialog a:hover, .category-dialog a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 23px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.footer-brand small { display: block; color: var(--muted); font-size: .83rem; font-weight: 500; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 23px; }
.site-footer nav a { color: var(--muted); font-size: .91rem; text-decoration: none; }
.site-footer nav a:hover, .trail a:hover, .text-link:hover { color: var(--accent); text-decoration: underline; }
.edition-label { color: var(--accent); font-weight: 800; font-size: .87rem; letter-spacing: .11em; text-transform: uppercase; }
.edition-label span { color: var(--muted); margin-inline: .21em; }
.hero { position: relative; margin-block: 33px clamp(42px, 6vw, 86px); min-width: 0; }
.hero-copy { min-width: 0; }
.hero h1 { margin-block: 14px 19px; font-size: clamp(3.1rem, 7.1vw, 7.6rem); letter-spacing: -.069em; line-height: .94; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-intro { max-width: 38ch; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.23rem); }
.lead-art { min-width: 0; min-height: 255px; isolation: isolate; display: flex; position: relative; align-items: flex-end; text-decoration: none; color: #fff8ef; border-radius: var(--round); background: var(--hero-photo); }
.lead-art::after { content: ""; z-index: -1; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, #05070ae8, #0c112128 62%, transparent); }
.lead-art img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; border-radius: inherit; }
.feature-caption { display: grid; gap: 3px; padding: 20px; }
.feature-caption span { font-size: .86rem; font-weight: 700; }
.feature-caption strong { line-height: 1.12; font-size: clamp(1.25rem, 2.3vw, 1.95rem); }
.lead-art:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero-queue { min-width: 0; }
.hero-queue h2 { margin-bottom: 12px; font: 800 .85rem/1.35 var(--body); text-transform: uppercase; letter-spacing: .1em; }
.hero-queue .game-link { display: flex; align-items: center; gap: 10px; }
.hero-queue .card-art { flex: 0 0 57px; width: 57px; height: 57px; }
.hero-queue .card-text { padding: 6px 0; }
.hero-queue .card + .card { margin-top: 9px; }
.edition-parking .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .32fr); gap: 12px; }
.hero-core { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 13px; }
.hero-core .hero-copy { align-self: center; padding: 30px clamp(12px, 3vw, 40px); }
.hero-core h1 { font-size: clamp(2rem, 5vw, 5.4rem); }
.hero-core h1 em { overflow-wrap: normal; }
.hero-core .lead-art { min-height: clamp(265px, 32vw, 390px); }
.edition-parking .hero-queue { align-self: stretch; padding: 32px 17px; border: 1px solid var(--line); border-radius: 20px; background: var(--raised); }
.edition-parking .hero-queue .game-link { background: var(--surface); }
.edition-dragstrip .hero { border-top: 8px solid var(--ink); border-bottom: 2px solid var(--ink); padding-block: 29px 18px; }
.edition-dragstrip .hero-copy { display: grid; grid-template-columns: 1fr minmax(210px, .36fr); align-items: end; gap: 0 28px; padding-bottom: 23px; }
.edition-dragstrip .hero-copy .edition-label { grid-column: 1 / -1; }
.edition-dragstrip .hero-copy h1 { margin: 9px 0 0; text-transform: uppercase; font-size: clamp(3.2rem, 8.3vw, 8rem); font-weight: 500; letter-spacing: -.025em; }
.edition-dragstrip .hero-copy h1 em { display: inline; }
.edition-dragstrip .hero-intro { padding: 6px 0 6px 18px; border-left: 4px solid var(--accent); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.start-grid .lead-art { min-height: clamp(230px, 27vw, 330px); }
.start-grid .lead-art img { object-position: 50% 51%; }
.start-grid .hero-queue { padding: 15px; background: var(--raised); border-left: 5px solid var(--accent); }
.start-grid .hero-queue .game-link { border-bottom: 1px solid var(--line); background: transparent; }
.edition-rally .hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 25px; padding: 15px; background: var(--raised); border: 1px solid var(--line); }
.edition-rally .hero-copy { padding-inline: 8px; }
.edition-rally .hero h1 { font-size: clamp(3.2rem, 7.6vw, 8rem); letter-spacing: -.077em; }
.edition-rally .hero h1 em { font-weight: 500; font-style: italic; }
.edition-rally .lead-art { min-height: clamp(305px, 37vw, 503px); }
.edition-rally .hero-queue { grid-column: 1 / -1; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; gap: 11px; padding-top: 13px; border-top: 1px solid var(--line); }
.edition-rally .hero-queue h2, .edition-rally .hero-queue .card { margin: 0; }
.edition-rally .hero-queue a { background: var(--surface); }
.edition-streetrace .hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; background: linear-gradient(125deg, #304fc1, #142a73 66%, #11255d); border: 1px solid #5573d7; }
.edition-streetrace .hero-copy { align-self: center; z-index: 1; padding: clamp(20px, 4vw, 52px); padding-right: 0; }
.edition-streetrace .hero h1 { font-size: clamp(3.2rem, 8vw, 8.5rem); color: var(--accent); max-width: 7ch; text-transform: uppercase; }
.edition-streetrace .hero .lead-art { margin: 16px 16px 0 0; min-height: clamp(280px, 40vw, 468px); }
.edition-streetrace .lead-art img { object-position: 50% 43%; }
.edition-streetrace .hero-queue { grid-column: span 2; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); padding: 16px; align-items: center; gap: 12px; }
.edition-streetrace .hero-queue h2, .edition-streetrace .hero-queue .card { margin: 0; }
.edition-streetrace .hero-queue a { background: #172b72; }
.edition-driftrush .hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(14px, 3vw, 38px); background: radial-gradient(ellipse at 85% 90%, #42223e, transparent 75%); padding: clamp(14px, 4vw, 42px); border: 1px solid var(--line); border-radius: 36px 12px 36px 12px; align-items: center; }
.edition-driftrush .hero h1 { letter-spacing: -.085em; }
.edition-driftrush .hero h1 em { font-style: italic; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: end; gap: 12px; }
.showcase .lead-art { min-height: clamp(280px, 35vw, 400px); border-radius: 120px 120px 18px 18px; }
.showcase .hero-queue { padding: 13px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.showcase .hero-queue .game-link { background: var(--raised); }
.showcase .hero-queue .card-art { flex-basis: 42px; width: 42px; height: 46px; }
.showcase .hero-queue .card-name { font-size: .88rem; }

.collection { min-width: 0; }
.feature-set, .double-feature { margin-block: clamp(28px, 5vw, 69px); }
.section-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 15px; }
.section-top p, .library-heading p { color: var(--muted); max-width: 57ch; }
.feature-set .section-top { border-top: 1px solid var(--line); padding-top: 14px; }
.edition-dragstrip .feature-set .section-top { border-top: 3px solid var(--ink); }
.edition-rally .feature-set .section-top { border-block: 1px solid var(--line); padding: 10px 0; }
.edition-streetrace .feature-set .section-top { border-top: 3px solid var(--accent); }
.edition-driftrush .feature-set { padding: clamp(14px, 3vw, 25px); border: 1px solid var(--line); border-radius: var(--round); background: var(--surface); }
.edition-driftrush .feature-set .section-top { border: 0; padding: 0; }
.games { display: grid; gap: 12px; }
.tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.archive .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rows { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.list { grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr)); }
.card { min-width: 0; }
.game-link { display: grid; height: 100%; align-content: start; min-width: 0; background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--round); padding: 6px; }
.game-link:hover { border-color: var(--accent); background: var(--raised); }
.game-link:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }
.card-art { display: block; min-width: 0; aspect-ratio: 1.2; border-radius: max(0px, calc(var(--round) - 5px)); background: var(--raised); }
.card-art img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.card-text { display: grid; gap: 4px; min-width: 0; padding: 8px 4px 4px; overflow-wrap: anywhere; }
.card-name { font-weight: 750; line-height: 1.25; }
.card-summary { color: var(--muted); font-size: .875rem; }
.list .game-link, .rows .game-link { display: flex; align-items: center; gap: 8px; }
.list .card-art { flex: 0 0 56px; width: 56px; height: 56px; }
.rows .card-art { flex: 0 0 72px; width: 72px; height: 76px; }
.list .card-text, .rows .card-text { padding: 4px 2px; }
.double-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.double-feature .feature-set { margin-block: 0; }
.double-feature .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.double-feature .rows { grid-template-columns: 1fr 1fr; }
.field-note { display: flex; align-items: flex-start; gap: 18px; margin-block: clamp(32px, 5vw, 64px); padding: clamp(18px, 3vw, 32px); background: var(--raised); border-inline-start: 4px solid var(--accent); border-radius: var(--round); }
.field-note h2 { font-size: clamp(1.15rem, 2.3vw, 1.65rem); margin-bottom: 7px; }
.field-note p { color: var(--muted); max-width: 73ch; }
.field-note img { flex: 0 0 44px; width: 44px; height: 44px; }
.library { margin-top: clamp(52px, 6vw, 88px); padding-top: 26px; border-top: 2px solid var(--line); }
.library-heading { margin-bottom: 20px; }
.library-heading p { margin-top: 6px; }
.category-shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.category-preview { display: flex; flex-direction: column; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); }
.category-preview .section-top { display: block; margin-bottom: 12px; }
.category-preview .section-top p { margin-top: 5px; font-size: .94rem; }
.category-preview .games { flex: 1; }
.category-preview .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-preview .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-preview .game-link { background: var(--bg); }
.category-preview .game-link:hover { background: var(--raised); }
.category-preview .card-name { font-size: .91rem; }
.trail { display: flex; align-items: baseline; min-width: 0; gap: 9px; margin: 22px 0 18px; color: var(--muted); font-size: .91rem; overflow-wrap: anywhere; }
.trail a { font-weight: 700; text-decoration: none; }
.page-heading { margin: 18px 0 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.page-heading h1, .detail-info h1, .player-top h1 { font-size: clamp(2.2rem, 5.7vw, 4.5rem); letter-spacing: -.055em; }
.page-heading p { margin-top: 10px; max-width: 63ch; color: var(--muted); }
.page-heading .button { margin-top: 18px; }
.game-detail { display: grid; grid-template-columns: minmax(120px, 195px) minmax(0, 1fr) minmax(145px, .36fr); gap: clamp(18px, 3vw, 35px); align-items: center; padding: clamp(16px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--round); background: var(--surface); }
.detail-cover { width: 100%; max-width: 195px; }
.detail-cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--round); }
.detail-info h1 { margin: 5px 0 9px; font-size: clamp(2rem, 4.8vw, 4rem); }
.game-description { max-width: 68ch; margin-bottom: 15px; color: var(--muted); }
.detail-facts { display: grid; gap: 9px; padding-inline-start: 17px; border-inline-start: 1px solid var(--line); }
.detail-facts dt { font-size: .86rem; color: var(--muted); }
.detail-facts dd { font-weight: 750; }
.related, .detail-note { margin-top: clamp(24px, 5vw, 46px); }
.detail-note { margin-bottom: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 19px; background: var(--accent); color: var(--on-accent); border: 1px solid transparent; border-radius: var(--round); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { box-shadow: inset 0 0 0 2px currentColor; }
.text-link { font-weight: 750; }
.player-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.player-top p { color: var(--muted); margin-top: 6px; }
.player { display: grid; place-items: center; min-height: clamp(300px, 57vw, 630px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); }
.player-gate { max-width: 54ch; padding: 24px; text-align: center; }
.player-gate p { color: var(--muted); margin-block: 12px 18px; }
.player iframe { display: block; width: 100%; height: clamp(410px, 76dvh, 820px); border: 0; border-radius: var(--round); background: #181a20; }
.player .player-support { padding: 12px; color: var(--muted); text-align: center; }
.reading { max-width: 79ch; margin-inline: auto; }
.reading .page-heading { margin-top: 0; }
.reading .date { font-size: .9rem; font-weight: 700; }
.reading section { padding-block: 14px 17px; border-bottom: 1px solid var(--line); }
.reading h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 9px; }
.reading p + p, .reading dl + p { margin-top: 10px; }
.reading a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
.facts { display: grid; gap: 9px; }
.facts div { padding: 10px 13px; background: var(--surface); border-radius: var(--round); }
.facts dt { font-weight: 800; }
.facts dd { margin-top: 3px; }

@media (max-width: 1050px) {
  .category-preview .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: calc(100% - 42px); }
  .edition-parking .hero { grid-template-columns: minmax(0, 1fr) minmax(185px, .31fr); }
  .double-feature .rows { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase .lead-art { grid-row: 1; min-height: 280px; border-radius: 75px 75px 14px 14px; }
  .showcase .hero-queue { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .top-bar { min-height: 62px; }
  .menu-button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; min-height: 42px; border: 1px solid var(--line); border-radius: var(--round); background: var(--surface); color: var(--ink); cursor: pointer; }
  .menu-lines { width: 14px; height: 10px; border-block: 2px solid currentColor; }
  .fallback-nav { display: block; }
  .fallback-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .top-bar:has(.fallback-nav) { flex-wrap: wrap; }
  .archive .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .top-bar { min-height: 58px; gap: 10px; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand img { width: min(211px, 100%); }
  .menu-button { font-size: .85rem; flex: 0 0 auto; }
  .hero { margin-top: 17px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4.6rem); margin-block: 8px 13px; }
  .edition-parking .hero, .hero-core, .edition-dragstrip .hero-copy, .start-grid, .edition-rally .hero, .edition-streetrace .hero, .edition-driftrush .hero { grid-template-columns: 1fr; }
  .hero-core .hero-copy, .edition-streetrace .hero-copy { padding: 16px 12px 22px; }
  .hero-core .lead-art, .start-grid .lead-art, .edition-rally .lead-art, .edition-streetrace .hero .lead-art, .showcase .lead-art { min-height: clamp(210px, 68vw, 350px); }
  .edition-parking .hero-queue { padding: 12px; }
  .edition-dragstrip .hero { padding-top: 15px; }
  .edition-dragstrip .hero-copy h1 { font-size: clamp(2.8rem, 13vw, 5rem); }
  .edition-dragstrip .hero-intro { margin-top: 14px; }
  .edition-rally .hero { gap: 14px; }
  .edition-rally .hero-copy { grid-row: 1; padding: 5px 0; }
  .edition-rally .hero h1 { font-size: clamp(2.75rem, 12vw, 4.6rem); }
  .edition-streetrace .hero h1 { font-size: clamp(3.1rem, 14vw, 5.9rem); }
  .edition-streetrace .hero-copy { padding-left: 15px; }
  .edition-streetrace .hero .lead-art { margin: 0 12px; }
  .edition-streetrace .hero-queue { grid-column: 1; }
  .edition-streetrace .hero-queue, .edition-rally .hero-queue { grid-template-columns: 1fr; }
  .edition-driftrush .hero { gap: 21px; border-radius: 25px 10px 25px 10px; }
  .showcase { grid-template-columns: 1fr; }
  .feature-caption { padding: 13px; }
  .section-top { align-items: start; flex-direction: column; gap: 5px; }
  .tiles, .archive .tiles, .double-feature .tiles, .category-preview .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows { grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); }
  .list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .list .card-art { width: 44px; height: 49px; flex-basis: 44px; }
  .list .card-name { font-size: .88rem; }
  .double-feature, .category-shelves { grid-template-columns: 1fr; }
  .field-note { gap: 10px; }
  .field-note img { width: 32px; height: 32px; flex-basis: 32px; }
  .game-detail { grid-template-columns: minmax(0, .31fr) minmax(0, 1fr); align-items: start; gap: 12px; }
  .detail-cover { margin-top: 4px; }
  .detail-info h1 { font-size: clamp(1.75rem, 8vw, 3rem); }
  .detail-info .edition-label { font-size: .77rem; }
  .detail-facts { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(min(90px, 100%), 1fr)); border-inline-start: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .footer-inner { gap: 13px; }
}

.ad-slot {
  display: grid;
  justify-items: center;
  margin: 50px 0;
  text-align: center;
}
.ad-slot > [id^="div-gpt-ad-"] { width: 100%; max-width: 100%; }
.ad-slot :where(iframe) { max-inline-size: 100%; }
.home .hero { margin-block: 0; }
.ad-slot + :is(.trail, .feature-set) { margin-top: 0; }
@media (max-width: 420px) {
  .ad-slot {
    width: min(calc(100% + 28px), max(100%, 336px));
    margin-inline: calc((100% - min(calc(100% + 28px), max(100%, 336px))) / 2);
  }
}

.feature-set .games, .related .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-set .tiles, .related .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.double-feature .tiles, .double-feature .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive .games {
  --columns: 6;
  display: flex;
  flex-wrap: wrap;
}
.archive .games .card {
  flex: 1 0 calc((100% - (var(--columns) - 1) * 12px) / var(--columns));
}
.archive .card-art { height: clamp(85px, 13vw, 165px); aspect-ratio: auto; }
.archive .game-link { grid-template-rows: auto 1fr; }
.card-name { text-wrap: pretty; }
@media (max-width: 1080px) {
  .feature-set .tiles, .related .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive .games { --columns: 4; }
  .double-feature .rows { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .feature-set :is(.list, .rows), .double-feature .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .double-feature .rows { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .feature-set .tiles, .related .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-set .rows { grid-template-columns: 1fr; }
  .archive .games { --columns: 2; }
  .archive .card-art { height: clamp(95px, 28vw, 165px); }
}

.game-launch-note { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.game-guide { margin-top: clamp(24px, 5vw, 45px); }
.game-guide > h2 { margin-bottom: 14px; }
.guide-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-topics > div { padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); }
.guide-topics dt { margin-bottom: 6px; color: var(--accent); font-weight: 750; }
.guide-topics dd { color: var(--muted); }
.guide-topics a { color: var(--ink); text-underline-offset: 3px; }
.guide-topics p + p { margin-top: 8px; }
.selection-note { margin-top: 8px; }
@media (max-width: 760px) {
  .guide-topics { grid-template-columns: 1fr; }
}

.player { display: block; min-height: 0; }
.player-frame { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #181a20; border-radius: var(--round); }
.player-controls { display: flex; justify-content: flex-end; padding: 8px; background: var(--surface); }
.player-controls [data-fullscreen-toggle] { min-height: 42px; }
.player-frame iframe { grid-row: 2; width: 100%; height: clamp(410px, 76dvh, 820px); border-radius: 0 0 var(--round) var(--round); }
.player-frame:fullscreen, .player-frame.player-expanded { grid-template-rows: auto minmax(0, 1fr); border-radius: 0; }
.player-frame:fullscreen iframe, .player-frame.player-expanded iframe { height: 100%; }
.player-frame.player-expanded { position: fixed; z-index: 10; inset: 0; height: 100dvh; }
body:has(.player-expanded) { overflow: hidden; }
