* { box-sizing: border-box; }
:root { color-scheme: light; font-family: var(--body-font, system-ui, sans-serif); line-height: 1.55; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font, inherit); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.9vw, 5.9rem); letter-spacing: -.064em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.7rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.18rem, 1.85vw, 1.75rem); letter-spacing: -.025em; }
p { color: var(--muted); }
.container, .header-inner { width: min(100% - 64px, 1260px); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 10; transform: translateY(-160%); padding: .65rem 1rem; background: var(--surface); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--header, var(--surface)); color: var(--head-text, var(--text)); position: relative; z-index: 2; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 142px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1px, .85vw, 14px); }
.desktop-nav a { font-size: .91rem; font-weight: 720; padding: 9px 8px; text-decoration: none; border-radius: var(--radius-small); white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--head-active, var(--strong)); background: var(--head-active-bg, var(--tint)); }
.mobile-categories { display: none; }
.mobile-categories summary { list-style: none; border: 1px solid var(--head-line, var(--line)); border-radius: var(--radius-small); padding: 8px 12px; font-size: .9rem; font-weight: 750; display: flex; align-items: center; gap: .55rem; }
.mobile-categories summary::-webkit-details-marker { display: none; }
.mobile-categories summary::before { content: ""; width: 13px; height: 10px; border-block: 2px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat; }
.mobile-categories dialog { width: min(calc(100% - 32px), 420px); max-height: calc(100% - 32px); border: 1px solid var(--line); color: var(--text); background: var(--surface); border-radius: var(--radius); padding: 20px; }
.mobile-categories dialog::backdrop { background: #0b102db0; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.dialog-heading button { border: 1px solid var(--line); border-radius: 50%; width: 42px; height: 42px; background: var(--bg); font-size: 1.45rem; }
.mobile-categories nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-categories nav a { color: var(--text); background: var(--tint); text-decoration: none; border-radius: var(--radius-small); padding: 9px; font-weight: 700; }
.mobile-categories nav a[aria-current] { outline: 2px solid var(--focus); }
.mobile-categories .nav-fallback { position: absolute; right: 16px; top: calc(100% + 6px); min-width: min(245px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mobile-categories[data-enhanced] .nav-fallback { display: none; }
.eyebrow { display: inline-block; color: var(--strong); font-weight: 800; font-size: .9rem; letter-spacing: .085em; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; padding: 9px 17px; border: 1px solid transparent; border-radius: var(--radius-small); background: var(--accent); color: var(--on-accent); font-weight: 790; text-decoration: none; }
.button:hover { filter: brightness(.9); }
.button.secondary { background: var(--surface); border-color: var(--line); color: var(--text); }
.hero { padding-block: 54px 40px; }
.hero-intro { min-width: 0; }
.hero-intro h1 { margin-block: 8px 14px; }
.hero-intro p { max-width: 58ch; }
.hero-intro .button { margin-top: 19px; }
.hero-composition, .hero-console, .spotlight, .hero-side, .slide-copy { min-width: 0; }
.spotlight { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: var(--hero); color: var(--hero-ink); }
.slide { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: stretch; min-height: 334px; }
@keyframes show-feature { from { opacity: .55; } to { opacity: 1; } }
.slide:not([hidden]) { animation: show-feature .35s ease-out; }
.slide-art { display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--hero-art, var(--hero)); }
.slide-art img { object-fit: cover; width: 100%; height: 100%; aspect-ratio: 1; min-height: 0; transition: transform .28s ease; }
.slide-art:hover img { transform: scale(1.06); }
.slide-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px 25px 62px; }
.slide-copy p { color: var(--hero-muted); margin-block: 10px 16px; }
.slide-copy .eyebrow { color: var(--hero-accent); margin-bottom: 8px; }
.slide-copy h2 a { text-decoration: none; }
.slide-copy h2 a:hover { text-decoration: underline; }
.slide-controls { display: flex; gap: 5px; align-items: center; position: absolute; bottom: 11px; right: 13px; z-index: 1; color: var(--hero-ink); }
.slide-controls button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.slide-controls button span { display: block; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.slide-controls button[aria-pressed="true"] span { background: currentColor; }
.slide-controls .rotation { border-color: currentColor; margin-left: 4px; }
.slide-controls .rotation span { width: auto; height: auto; border: 0; font-size: .82rem; font-weight: 750; }
.hero-side { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hero-side h2 { font-size: clamp(1.25rem, 2vw, 1.85rem); }
.hero-side p { margin-top: 6px; }
.side-cards { margin-top: 15px; }
.section-heading { margin-bottom: 15px; }
.section-heading p { margin-top: 5px; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.game-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); text-decoration: none; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.game-card:hover { transform: translateY(-3px); border-color: var(--focus); }
.game-card .game-cover { width: 100%; height: auto; aspect-ratio: var(--card-ratio, 1.45); object-fit: cover; background: var(--tint); }
.card-copy { padding: 10px 12px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.card-copy strong { font-size: .96rem; line-height: 1.3; }
.card-copy > span { color: var(--muted); font-size: .92rem; }
.game-grid.side-cards { grid-template-columns: 1fr; gap: 8px; }
.side-cards .game-card, .list-cards .game-card { display: flex; flex-direction: row; align-items: center; }
.side-cards .game-cover, .list-cards .game-cover { width: 66px; height: 66px; flex: 0 0 66px; aspect-ratio: 1; }
.collections { display: grid; gap: 24px; scroll-margin-top: 25px; padding-bottom: 44px; }
.curated { min-width: 0; background: var(--panel, var(--surface)); color: var(--text); padding: clamp(16px, 2.5vw, 31px); border: 1px solid var(--line); border-radius: var(--radius); }
.curated .list-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.curated .poster-cards .game-cover { aspect-ratio: 1.85; }
.category-library { padding-block: 10px 64px; }
.category-library > h2 { margin-bottom: 19px; }
.shelf-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.category-shelf { min-width: 0; padding: clamp(12px, 2vw, 22px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.category-shelf .game-grid { gap: 8px; }
.category-shelf .card-copy { padding: 8px; }
.category-shelf .card-copy strong { font-size: .87rem; }
.home-guide { max-width: 760px; margin: 42px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.home-guide h2 { font-size: 1.55rem; }
.home-guide p { margin-top: 9px; }
.catalog, .detail, .player { padding-block: 34px 66px; }
.catalog-intro { padding: clamp(18px, 4vw, 45px); background: var(--tint); border-radius: var(--radius); margin-bottom: 24px; }
.catalog-intro h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); margin-block: 9px; }
.catalog-intro p:last-child { margin-top: 8px; }
.catalog-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.back-link, .breadcrumbs { color: var(--muted); font-size: .94rem; }
.breadcrumbs { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 16px; }
.detail-workbench {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  grid-template-areas: "launch summary" "launch notes";
  align-items: start;
  gap: 1.35rem clamp(1.5rem, 4.5vw, 3.25rem);
  margin-block-end: clamp(1.75rem, 4vw, 3rem);
}
.detail-workbench .detail-copy { grid-area: summary; }
.detail-launch {
  grid-area: launch;
  display: grid;
  gap: .75rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.detail-launch .button { width: 100%; justify-content: center; text-align: center; }
.detail-launch .play-notice { margin: 0; text-align: center; }
.detail-art .game-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-small); }
.detail-copy h1, .player h1 { font-size: clamp(2rem, 5vw, 4.7rem); overflow-wrap: anywhere; }
.detail-summary { max-width: 63ch; margin: 9px 0 19px; }
.detail-notes { grid-area: notes; min-width: 0; }
.detail-notes h2 { font-size: 1.6rem; }
.related-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
.game-player { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.game-player iframe { width: 100%; height: min(790px, 82dvh); min-height: 360px; border: 0; background: #11111c; }
.player-help { margin-top: 12px; }
.prose { width: min(100%, 820px); margin: 46px auto 64px; padding: clamp(16px, 4vw, 43px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-wrap: anywhere; }
.prose h1 { font-size: clamp(2.15rem, 5vw, 4rem); margin: 9px 0 15px; }
.prose h2 { font-size: clamp(1.35rem,2.5vw,1.85rem); margin-top: 25px; }
.prose p { margin-top: 10px; }
.prose li, .prose p { color: var(--muted); }
.prose li + li { margin-top: .45rem; }
.prose a:not(.back-link) { color: var(--strong); }
.prose .updated { font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--header, var(--surface)); color: var(--head-text, var(--text)); }
.footer-inner { padding-block: 24px; display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.footer-inner p { color: inherit; font-size: .91rem; margin-top: 8px; overflow-wrap: anywhere; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 9px 15px; font-size: .93rem; }
.footer-inner button { border: 0; padding: 0; background: transparent; text-decoration: underline; color: inherit; }
@media (max-width: 950px) {
  .container, .header-inner { width: calc(100% - 40px); }
  .desktop-nav a { padding-inline: 6px; }
  .shelf-grid { gap: 12px; }
  .category-shelf .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container, .header-inner { width: calc(100% - 30px); }
  .header-inner { min-height: 60px; }
  .brand img { width: 120px; }
  .desktop-nav { display: none; }
  .mobile-categories { display: block; }
  .hero { padding-block: 27px 26px; }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-art img { max-height: 245px; aspect-ratio: 1.55; }
  .slide-copy { padding: 16px 17px 52px; }
  .game-grid, .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .collections { gap: 14px; padding-bottom: 30px; }
  .footer-inner { display: grid; gap: 13px; }
}
@media (max-width: 520px) {
  .shelf-grid { grid-template-columns: 1fr; }
  .game-grid, .catalog-grid, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .curated .list-cards { grid-template-columns: 1fr; }

  .prose { margin-block: 25px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


:root {
  --bg: #faf7ef; --surface: #fffcf5; --text: #2d2020; --muted: #594b42; --line: #d7cdbd; --tint: #f0e7d6;
  --accent: #872943; --on-accent: #fff; --strong: #84243e; --focus: #a64162;
  --hero: #321f2a; --hero-art: #291d26; --hero-ink: #fff8ef; --hero-muted: #f0ddd9; --hero-accent: #ffc0aa;
  --radius: 4px; --radius-small: 3px; --card-ratio: 1.5; --heading-font: Georgia, serif;
}
.site-header { border-bottom: 3px double var(--line); }
.hero-composition { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.13fr); gap: 33px; align-items: start; }
.hero-intro { border-top: 4px solid var(--accent); padding-top: 14px; }
.hero-intro h1 { font-size: clamp(3rem, 6.5vw, 6.35rem); line-height: .98; font-weight: 500; }
.hero-side { padding: 16px 0 0; margin-top: 24px; border-width: 1px 0 0; background: none; }
.hero-side .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.side-cards .game-card { background: transparent; }
.slide { display: grid; grid-template-columns: 1fr; min-height: 0; }
.slide-art img { max-height: 350px; aspect-ratio: 1.6; }
.slide-copy { min-height: 186px; padding-bottom: 49px; }
.slide-copy .button { background: #f4d1b9; color: #3b1924; }
.collections { grid-template-columns: 1.1fr .9fr; }
.curated { border: 0; border-block-start: 2px solid var(--text); background: transparent; padding-inline: 0; }
.curated-1 .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.curated-2 .game-grid { grid-template-columns: 1fr; }
.curated-3 { grid-column: 1 / -1; }
.category-library { border-top: 3px double var(--line); padding-top: 24px; }
.category-shelf { border: 0; border-top: 1px solid var(--line); background: transparent; padding-inline: 0; }
.category-shelf .game-card { border-width: 0 0 1px; }
@media (max-width: 760px) {
  .hero-composition, .collections { grid-template-columns: 1fr; }
  .hero-composition { gap: 18px; }
  .hero-side { margin-top: 17px; }
  .slide-art img { max-height: 230px; }
  .slide-copy { min-height: 0; }
}
@media (max-width: 360px) { .hero-side .game-grid { grid-template-columns: 1fr; } }

/* Reserve the carousel's tallest layout so switching the active game stays in place. */
.slides { display: grid; }
.slides > .slide { grid-area: 1 / 1; }
.slides > .slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.slide-art { position: relative; }
.slide-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
.edition-arcade .slide-art img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.edition-game .slide { grid-template-rows: clamp(225px, 28vw, 328px) 1fr; }
.edition-zone .hero-composition { align-items: stretch; }
.edition-zone .hero-side { display: flex; flex-direction: column; }
.edition-zone .side-cards { flex: 1; grid-auto-rows: 1fr; }
.edition-zone .hero-side .game-cover { height: 100%; min-height: 125px; position: absolute; inset: 0; }
.edition-gaming .collections { grid-template-columns: 1.05fr .95fr; }
.edition-gaming .curated-1 { grid-column: 1 / -1; grid-row: auto; }
.edition-gaming .curated-1 .lead-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
.edition-gaming .curated-2, .edition-gaming .curated-3 { grid-column: auto; grid-row: auto; }
.edition-gaming .curated-2 .list-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.edition-arcade .curated-2 .list-cards, .edition-gaming .curated-2 .list-cards { grid-auto-rows: 1fr; }
.curated .list-cards .game-card {
  display: grid;
  grid-template-columns: minmax(96px, min(36%, 144px)) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  container: editorial-card / inline-size;
}
.curated .list-cards .game-cover,
.curated .list-cards .card-copy { grid-column: 1 / -1; }
.curated .list-cards .game-cover { width: 100%; height: auto; aspect-ratio: 4 / 3; }
@container editorial-card (min-width: 270px) {
  .curated .list-cards .game-cover { grid-column: 1; aspect-ratio: 1; }
  .curated .list-cards .card-copy { grid-column: 2; align-self: center; }
}
.curated .card-copy { align-content: start; }
.detail-summary { max-width: 65ch; }
.play-notice { font-size: .875rem; margin-top: 8px; }
.game-facts { max-width: 70ch; margin: .65rem 0 0; }
.game-facts > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, .38fr) minmax(0, 1fr);
  gap: .35rem 1.1rem;
  border-top: 1px solid var(--line);
  padding-block: .85rem;
}
.game-facts dt { font-weight: 750; }
.game-facts dd { margin: 0; color: var(--muted); }
.game-player { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; background: var(--surface); }
.player-toolbar h1 { font-size: clamp(1.35rem, 3.5vw, 2.4rem); margin: 2px 0 0; }
.player-toolbar button { flex-shrink: 0; }
.game-player:fullscreen, .game-player[data-expanded] { width: 100%; height: 100dvh; border: 0; border-radius: 0; background: var(--bg); }
.game-player[data-expanded] { position: fixed; z-index: 9; inset: 0; }
html:has([data-expanded]) { overflow: hidden; }
.game-player:fullscreen iframe, .game-player[data-expanded] iframe { flex: 1 1 0; height: 100%; min-height: 0; }
body > main { display: flow-root; }
.ad-placement { display: flex; justify-content: safe center; width: min(100%, 1200px); min-height: 250px; margin: 50px auto; }
.ad-placement > div { width: min(100%, 336px); text-align: center; }
.ad-placement + :is(.hero, .catalog, .detail) { padding-top: 0; }
.hero:has(+ .ad-placement) { padding-bottom: 0; }
@media (min-width: 761px) {
  .edition-play .slide-art img { object-fit: cover; }
}
@media (max-width: 900px) {
  .edition-gaming .curated-2 .list-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .slide-art { min-height: 185px; }
  .edition-gaming .collections { grid-template-columns: 1fr; }
  .edition-game .hero-composition > .spotlight { grid-row: 2; }
  .edition-arcade .slide-art img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .detail-workbench {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "summary" "launch" "notes";
    gap: 1rem;
  }
  .detail-launch {
    grid-template-columns: clamp(4.5rem, 20vw, 7rem) minmax(0, 1fr);
    grid-template-areas: "cover play" "cover notice";
    align-items: center;
  }
  .detail-launch .detail-art { grid-area: cover; }
  .detail-launch .button { grid-area: play; align-self: end; }
  .detail-launch .play-notice { grid-area: notice; align-self: start; }
}
@media (max-width: 520px) {
  .edition-game .slide { grid-template-rows: 190px 1fr; }
  .game-facts > div { grid-template-columns: 1fr; }
  .edition-gaming .curated-1 .lead-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .player-toolbar { padding: 9px; }
  .player-toolbar .button { padding-inline: 10px; font-size: .9rem; }
}
@media (max-width: 430px) {
  .edition-arcade .slide-art img { inset: 0; width: 100%; height: 100%; }
}

