*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 1rem/1.55 "Segoe UI", system-ui, sans-serif; }
main { flex: 1; min-width: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.09; overflow-wrap: anywhere; }
h1 { font: 700 clamp(2.5rem, 6vw, 5.9rem)/.99 var(--display); letter-spacing: -.052em; }
h2 { font: 700 clamp(1.45rem, 2.5vw, 2.4rem)/1.08 var(--display); letter-spacing: -.034em; }
h3 { font: 700 1.35rem/1.1 var(--display); letter-spacing: -.018em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - clamp(1.75rem, 6.5vw, 7rem), var(--max)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; transform: translateY(-180%); z-index: 5; padding: .55rem 1rem; background: var(--ink); color: var(--bg); }
.skip:focus { transform: none; }
.brand { width: 171px; display: block; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { width: min(100% - 2rem, var(--max)); margin: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 1.2rem; min-height: 73px; }
.category-nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(.48rem, 1.5vw, 1.5rem); }
.category-nav a, .category-toggle { font-size: .90rem; font-weight: 650; text-decoration: none; }
.category-nav a { padding: .7rem .15rem; }
.category-nav a:hover, .category-nav a[aria-current] { text-decoration: underline; text-underline-offset: .45em; }
.category-toggle { display: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--corner); padding: .5rem .75rem; min-height: 44px; }
.category-toggle span { margin-inline-end: .3em; }
dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--corner); padding: 0; width: min(24rem, calc(100% - 2rem)); }
dialog::backdrop { background: #09090bc0; }
.dialog-content { padding: 1.2rem; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.dialog-head button { display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--corner); background: var(--bg); color: var(--ink); width: 44px; height: 44px; font-size: 1.4rem; }
.mobile-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.mobile-categories a { padding: .7rem; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--corner); }
.mobile-categories a:hover, .mobile-categories a[aria-current] { background: var(--accent); color: var(--on-accent); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: var(--corner); text-decoration: none; font-weight: 750; min-height: 46px; padding: .65rem 1rem; line-height: 1.2; text-align: center; }
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.intro p { font-size: clamp(1rem, 1.65vw, 1.25rem); max-width: 52ch; margin-block: 1.1rem 1.5rem; color: var(--muted); }
.home-opening { margin-block: clamp(2rem, 6vw, 5.5rem) 3rem; }
.hero-games h2 { margin-bottom: .85rem; }
.curated-collections, .category-collections { margin-block: clamp(2.4rem, 5vw, 5rem); }
.category-collections > h2 { margin-bottom: 1.35rem; }
.collection { margin-block: 1.5rem; }
.section-heading { margin-bottom: 1rem; }
.section-heading p { color: var(--muted); margin-top: .4rem; max-width: 66ch; }
.section-heading .section-link { flex: none; }
.category-section .section-heading, .related-games .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem 1rem; }
.section-link { font-weight: 700; text-underline-offset: .23em; }
.section-link span { display: inline-block; margin-left: .18em; }
.game-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }
.game-grid > li { min-width: 0; }
.game-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--corner); background: var(--surface); text-decoration: none; }
.game-card:hover { border-color: var(--ink); }
.game-card img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; border-radius: var(--corner) var(--corner) 0 0; background: var(--soft); }
.card-info { padding: .58rem .65rem .66rem; display: grid; align-content: center; gap: .12rem; overflow-wrap: anywhere; text-align: left; }
.card-info strong { display: block; font-weight: 730; font-size: .91rem; line-height: 1.25; }
.card-info small { color: var(--muted); font-size: .74rem; }
.game-card > [aria-hidden] { display: none; }
.category-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.category-section { border: 1px solid var(--line); background: var(--soft); border-radius: var(--corner); padding: clamp(.85rem, 2.5vw, 1.45rem); }
.category-grid, .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-grid .game-card img { aspect-ratio: 1.22; }
.category-grid .card-info strong { font-size: .84rem; }
.breadcrumb { margin-block: 1.5rem 1rem; font-size: .89rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem .6rem; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .6rem; }
.breadcrumb a { text-underline-offset: .2em; }
.category-intro { padding: clamp(1rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: var(--corner); background: var(--soft); }
.category-intro h1, .game-intro h1, .document h1, .player-panel h1 { font-size: clamp(2.15rem, 5vw, 4.5rem); }
.category-intro p { margin: .75rem 0; max-width: 66ch; }
.category-intro > span { font-weight: 650; font-size: .88rem; color: var(--muted); }
.category-results, .related-games, #search-results { margin: 1.5rem 0 3rem; }
.catalog-grid .game-card img { aspect-ratio: 1.28; }
.game-intro { display: grid; grid-template-columns: minmax(112px, 180px) minmax(0, 1fr) minmax(205px, .53fr); align-items: center; gap: clamp(.9rem, 3.2vw, 2.6rem); padding: clamp(1rem, 3vw, 2.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--corner); }
.detail-cover { width: 100%; max-width: 185px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--corner); background: var(--soft); }
.game-overview h1 { margin: .24rem 0 .7rem; }
.game-genre { font-size: .82rem; color: var(--muted); font-weight: 700; }
.game-description { max-width: 60ch; margin-bottom: 1.2rem; }
.round-notes { align-self: stretch; display: grid; align-content: center; gap: .6rem; font-size: .94rem; background: var(--soft); border-radius: var(--corner); padding: .95rem 1rem; }
.round-notes h2 { font-size: 1.2rem; }
.round-notes p:last-child { color: var(--muted); font-size: .83rem; }
.player-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--corner); background: var(--surface); margin-bottom: 3rem; }
.player-fallback { margin-top: .8rem; }
.game-frame { margin-top: 1rem; border: 1px solid var(--line); background: #131313; }
.game-frame iframe { display: block; width: 100%; border: 0; height: min(76vh, 820px); min-height: 305px; }
.player-controls { display: flex; justify-content: flex-end; padding: .5rem; background: var(--surface); }
.game-frame:is(:fullscreen, .is-expanded) { display: flex; flex-direction: column; margin: 0; width: 100%; max-width: none; border: 0; }
.game-frame:is(:fullscreen, .is-expanded) iframe { flex: 1; height: auto; min-height: 0; }
.game-frame.is-expanded { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 10; }
body:has(.game-frame.is-expanded) { overflow: hidden; }
.document { max-width: 66rem; margin: 0 auto 3.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--corner); padding: clamp(1rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.document > p, .document section p { margin: .8rem 0; max-width: 75ch; }
.document h2 { margin-top: 2rem; font-size: clamp(1.28rem, 2.1vw, 1.85rem); }
.document .updated { font-size: .9rem; color: var(--muted); }
.document-index { background: var(--soft); margin-block: 1rem; padding: .9rem 1rem; border-radius: var(--corner); }
.document-index ul { padding-left: 1.15rem; display: grid; gap: .18rem 1.8rem; grid-template-columns: 1fr 1fr; }
.document a, .player-panel a:not(.button) { text-underline-offset: .22em; }
.policy-list > div { border-top: 1px solid var(--line); padding: .6rem 0; }
.policy-list dt { font-weight: 750; }
.policy-list dd { margin-top: .22rem; }
.catalog-search { max-width: 36rem; margin-block: 1.05rem .25rem; width: 100%; }
.catalog-search label { display: block; margin-bottom: .35rem; font-weight: 700; }
.catalog-search > div { display: flex; gap: .55rem; }
.catalog-search input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: var(--corner); padding: .6rem .8rem; background: var(--surface); color: var(--ink); }
#search-status { margin-top: 1.25rem; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.55rem; }
.footer-inner .brand { width: 145px; }
.footer-inner p { color: var(--muted); font-size: .86rem; margin-top: .4rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; font-size: .9rem; }
.footer-inner nav a, .privacy-choices { text-decoration: underline; text-underline-offset: .24em; }
.privacy-choices { color: inherit; border: 0; background: transparent; padding: 0; }
.ad-placement { width: min(100%, 336px); margin: 50px auto; text-align: center; overflow-x: auto; }
.page-home .ad-placement + .home-opening { margin-block-start: 0; }
.page-home .home-opening:has(+ .ad-placement) { margin-block-end: 0; }
.page-home .ad-placement + .curated-collections { margin-block-start: 0; }
.ad-placement + .curated-collections > .collection:first-child,
.ad-placement + .shell > .breadcrumb { margin-block-start: 0; }

/* Arcade */
.theme-arcade { --bg: #171322; --surface: #231d32; --soft: #2d2540; --ink: #fff9f0; --muted: #cdc2dd; --accent: #c6b7ff; --on-accent: #201339; --line: #534366; --max: 83rem; --corner: 6px; --display: "Arial Black", "Segoe UI", sans-serif; }
.theme-arcade .site-header { border-bottom-color: #8f77cd; }
.theme-arcade .home-opening { display: grid; grid-template-columns: .82fr 1fr; align-items: center; gap: clamp(1rem, 5vw, 5rem); }
.theme-arcade .intro h1 { text-transform: uppercase; font-size: clamp(2.65rem, 6.05vw, 5.75rem); letter-spacing: -.07em; }
.theme-arcade .hero-games { background: #100d17; padding: .95rem; border: 1px solid #7862a0; border-bottom: 5px solid #7862a0; border-radius: 12px; }
.theme-arcade .hero-games h2 { font: 700 .9rem/1.3 Consolas, monospace; color: var(--accent); }
.theme-arcade .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.theme-arcade .featured-grid > li:first-child { grid-column: span 2; grid-row: span 3; }
.theme-arcade .featured-grid > li:not(:first-child) { grid-column: span 2; }
.theme-arcade .featured-grid > li:not(:first-child) .game-card { flex-direction: row; align-items: center; }
.theme-arcade .featured-grid > li:not(:first-child) img { width: 34%; height: 100%; aspect-ratio: 1; border-radius: 5px 0 0 5px; }
.theme-arcade .featured-grid > li:first-child img { flex: 1; min-height: 0; object-fit: cover; }
.theme-arcade .collection { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.theme-arcade .collection-2 .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-arcade .collection-2 .game-card { flex-direction: row; align-items: center; }
.theme-arcade .collection-2 img { width: 34%; height: 100%; border-radius: 5px 0 0 5px; }
.theme-arcade .category-layout { border-top: 1px solid var(--line); padding-top: 1rem; }
.theme-arcade .game-intro { border-top: 4px solid var(--accent); }
.theme-arcade .round-notes { border: 1px solid var(--line); border-left: 3px solid var(--accent); }

/* Funplay */
.theme-funplay { --bg: #f8f6e7; --surface: #fffdf4; --soft: #edf0db; --ink: #1c382e; --muted: #475e50; --accent: #d4ec87; --on-accent: #1c382e; --line: #b9c8a8; --max: 79rem; --corner: 18px; --display: "Trebuchet MS", "Segoe UI", sans-serif; }
.theme-funplay .site-header { background: #f8f6e7; }
.theme-funplay .home-opening { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(1rem, 4vw, 3.25rem); align-items: center; background: #e9edcd; border: 1px solid var(--line); border-radius: clamp(1.2rem, 4vw, 3.4rem) 1rem clamp(1.2rem, 4vw, 3.4rem) 1rem; padding: clamp(1rem, 4.5vw, 4rem); }
.theme-funplay .intro { padding-block: 1.1rem; }
.theme-funplay .intro h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); }
.theme-funplay .hero-games h2 { font-size: 1.12rem; margin-inline-start: .18rem; }
.theme-funplay .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.theme-funplay .featured-grid .game-card { border-color: #9eae88; }
.theme-funplay .featured-grid > li:nth-child(2) { transform: translateY(9px) rotate(2deg); }
.theme-funplay .featured-grid > li:nth-child(3) { transform: translateX(-5px) rotate(-2deg); }
.theme-funplay .featured-grid .game-card img { aspect-ratio: 1.9; }
.theme-funplay .collection { padding: clamp(1rem, 3vw, 1.8rem); border-radius: 1.7rem; background: #f1ebd5; }
.theme-funplay .collection-2 { background: #f5e5db; }
.theme-funplay .collection-3 { background: #e8eedb; }
.theme-funplay .collection-2 .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-funplay .collection-2 .game-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); align-items: center; }
.theme-funplay .collection-2 img { height: 100%; width: 100%; aspect-ratio: 1; border-radius: var(--corner) 0 0 var(--corner); }
.theme-funplay .category-section:nth-child(even) { background: #eee9d6; }
.theme-funplay .game-intro { background: #edf0db; border-radius: 2rem .9rem 2rem .9rem; }
.theme-funplay .round-notes { background: #fffdf4; }

/* Game library */
.theme-game { --bg: #f2f5fb; --surface: #fff; --soft: #e8eefc; --ink: #162546; --muted: #48597d; --accent: #244bb7; --on-accent: #fff; --line: #bac9e3; --max: 76rem; --corner: 5px; --display: "Segoe UI", system-ui, sans-serif; }
.theme-game .home-opening { margin-top: 2.2rem; }
.theme-game .intro { padding: clamp(1rem, 4vw, 3rem); background: #dde8fd; border: 1px solid #a9bee8; border-left: 6px solid #244bb7; }
.theme-game .intro h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.theme-game .hero-games { margin-top: 1.8rem; }
.theme-game .featured-grid .game-card, .theme-game .curated-grid .game-card, .theme-game .category-grid .game-card { flex-direction: row; align-items: center; }
.theme-game .featured-grid img, .theme-game .curated-grid img, .theme-game .category-grid img { width: 31%; aspect-ratio: 1; border-radius: 4px 0 0 4px; height: 100%; }
.theme-game .curated-collections { display: grid; gap: .78rem; }
.theme-game .collection { display: grid; grid-template-columns: minmax(0, .37fr) minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem; margin: 0; border: 1px solid var(--line); background: #edf1f9; }
.theme-game .collection .section-heading { margin: 0; }
.theme-game .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-game .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-game .category-section { border-top: 3px solid #6989d1; }
.theme-game .game-intro { border-left: 5px solid var(--accent); }

/* Gamer */
.theme-gamer { --bg: #201a18; --surface: #2b2220; --soft: #362722; --ink: #fff1e6; --muted: #dfc5b9; --accent: #ff9c77; --on-accent: #281814; --line: #6f4d41; --max: 81rem; --corner: 2px; --display: Georgia, "Times New Roman", serif; }
.theme-gamer .site-header { border-bottom: 1px solid #8f5b49; }
.theme-gamer .home-opening { border-top: 1px solid var(--line); margin-top: 2rem; }
.theme-gamer .intro { display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: .75rem 2rem; padding-block: 1.4rem 1.7rem; }
.theme-gamer .intro h1 { grid-row: span 2; font-weight: 400; max-width: 11ch; font-size: clamp(2.8rem, 8vw, 7.6rem); }
.theme-gamer .intro p { margin: 0; max-width: 36ch; }
.theme-gamer .intro .button { justify-self: start; }
.theme-gamer .hero-games h2 { font: 700 .95rem/1.2 "Segoe UI", sans-serif; color: var(--accent); }
.theme-gamer .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-gamer .featured-grid > li:first-child { grid-column: span 2; grid-row: span 3; }
.theme-gamer .featured-grid li:first-child .game-card img { object-position: center 44%; aspect-ratio: 2.52; }
.theme-gamer .featured-grid > li:not(:first-child) .game-card { display: grid; grid-template-columns: 34% minmax(0, 1fr); align-items: center; }
.theme-gamer .featured-grid > li:not(:first-child) img { height: 100%; max-height: 95px; aspect-ratio: 1.25; border-radius: 0; }
.theme-gamer .featured-grid li:first-child strong { font: 700 clamp(1.2rem, 2.6vw, 2rem)/1.1 var(--display); }
.theme-gamer .collection { padding: 1rem 0 1.35rem; border-block-start: 1px solid var(--line); }
.theme-gamer .collection-1 .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-gamer .collection-1 .game-card { display: grid; grid-template-columns: 30% minmax(0, 1fr) 1.1rem; align-items: center; }
.theme-gamer .collection-1 img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 0; }
.theme-gamer .collection-1 .game-card > [aria-hidden] { display: block; color: var(--accent); font-size: .82rem; }
.theme-gamer .category-section { border: 0; border-top: 1px solid #997768; padding: .9rem 0; background: none; }
.theme-gamer .category-layout { gap: 1.2rem 2rem; }
.theme-gamer .game-intro { background: linear-gradient(115deg, #2b2220, #40271f); border-top: 1px solid var(--accent); }
.theme-gamer .round-notes { background: transparent; border-left: 1px solid var(--line); }

/* Play */
.theme-play { --bg: #fff8f3; --surface: #fffdfb; --soft: #f9e8e8; --ink: #422c3a; --muted: #6b505d; --accent: #88385c; --on-accent: #fff; --line: #d9bcce; --max: 77rem; --corner: 15px; --display: Georgia, "Times New Roman", serif; }
.theme-play .site-header { background: #fff8f3; }
.theme-play .home-opening { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(1rem, 6vw, 5rem); }
.theme-play .intro h1 { font-weight: 400; font-style: italic; max-width: 10ch; }
.theme-play .hero-games { background: #f2e2e9; border-radius: 33% 19% 19% 21% / 31% 25% 19% 17%; padding: clamp(.9rem, 3.5vw, 2.45rem); }
.theme-play .hero-games h2 { font-size: 1.22rem; margin-left: .65rem; }
.theme-play .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(.5rem, 1.8vw, 1.5rem); }
.theme-play .featured-grid > li:nth-child(even) { transform: translateY(clamp(.4rem, 1.7vw, 1.4rem)); }
.theme-play .featured-grid .game-card img { aspect-ratio: 1.65; }
.theme-play .button { border-radius: 99px; padding-inline: 1.2rem; }
.theme-play .collection { padding-block: 1.15rem; }
.theme-play .collection-1 { border-top: 1px solid var(--line); }
.theme-play .collection-2 { background: #efedf8; padding: clamp(1rem, 3vw, 1.9rem); border-radius: 2rem; }
.theme-play .collection-3 { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.4fr); gap: .9rem 1.5rem; align-items: start; }
.theme-play .collection-3 .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-play .category-section:nth-child(4n + 2) { background: #edf0e8; }
.theme-play .category-section:nth-child(4n + 3) { background: #f2eaf6; }
.theme-play .category-section:nth-child(4n + 4) { background: #fff0e5; }
.theme-play .game-intro { border-radius: 2rem; }
.theme-play .detail-cover { border-radius: 25% 25% 15% 15%; }
.theme-play .round-notes { grid-column: 1 / -1; padding: .75rem 1rem; }

@media (min-width: 821px) {
  .theme-funplay .game-intro { grid-template-columns: minmax(0, 1fr) minmax(120px, 170px); }
  .theme-funplay .game-overview { grid-column: 1; grid-row: 1; }
  .theme-funplay .round-notes { grid-column: 1 / -1; grid-template-columns: minmax(0, .5fr) minmax(0, 1.6fr) minmax(0, .5fr); align-items: center; }
  .theme-gamer .game-intro { grid-template-columns: minmax(0, 1fr) minmax(110px, 156px) minmax(0, .62fr); }
  .theme-gamer .game-overview { grid-column: 1; grid-row: 1; }
  .theme-play .game-intro { grid-template-columns: minmax(105px, 155px) minmax(0, 1fr); max-width: 62rem; margin-inline: auto; }
  .theme-play .round-notes { grid-template-columns: minmax(0, .6fr) minmax(0, 1.5fr) minmax(0, .48fr); align-items: center; }
}

@media (max-width: 1020px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid.catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .game-intro { grid-template-columns: minmax(100px, 155px) minmax(0, 1fr) minmax(170px, .55fr); }
}
@media (max-width: 820px) {
  .game-grid.curated-grid, .game-grid.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-grid.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-game .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-intro { grid-template-columns: minmax(95px, 150px) minmax(0, 1fr); }
  .round-notes { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 63px; }
  .header-inner .brand { width: 146px; }
  .category-nav { width: 100%; }
  .has-category-dialog .category-nav { display: none; }
  .has-category-dialog .category-toggle { display: inline-flex; align-items: center; }
  .theme-arcade .home-opening, .theme-funplay .home-opening, .theme-play .home-opening, .theme-gamer .intro, .theme-game .collection, .theme-play .collection-3 { grid-template-columns: 1fr; }
  .theme-gamer .intro h1 { grid-row: auto; }
  .category-grid .game-card img { aspect-ratio: 1.5; }
}
@media (max-width: 535px) {
  .theme-gamer .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-gamer .featured-grid > li:first-child { grid-row: auto; }
  .theme-gamer .featured-grid > li:not(:first-child) .game-card { grid-template-columns: 34% minmax(0, 1fr); }
  .theme-gamer .featured-grid > li:last-child { grid-column: 1 / -1; }
  .theme-gamer .featured-grid > li:last-child img { max-height: 73px; }
  .game-grid.curated-grid, .game-grid.related-grid, .game-grid.catalog-grid,
  .theme-arcade .collection-2 .curated-grid, .theme-funplay .collection-2 .curated-grid,
  .theme-gamer .collection-1 .curated-grid, .theme-play .collection-3 .curated-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .category-layout { grid-template-columns: 1fr; }
  .category-intro h1, .game-intro h1 { font-size: clamp(1.8rem, 8.5vw, 3rem); }
  .game-intro { grid-template-columns: 78px minmax(0, 1fr); align-items: start; padding: .85rem; gap: .75rem; }
  .game-overview .button { padding-inline: .6rem; font-size: .92rem; }
  .round-notes { padding: .75rem; }
  .document-index ul { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .theme-arcade .featured-grid > li:first-child { grid-column: 1 / -1; grid-row: auto; }
  .theme-arcade .featured-grid > li:first-child img { flex: none; }
  .theme-game .curated-grid { grid-template-columns: 1fr; }
}
