* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { font-family: "Segoe UI", system-ui, sans-serif; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.55;
}
.nexplay {
  --bg:#0c171c; --panel:#13252b; --surface:#192f35; --ink:#f1fbfa; --muted:#aac2c4;
  --accent:#38e5bd; --on-accent:#102822; --line:#2c454c; --radius:15px;
  --display:"Segoe UI",system-ui,sans-serif;
}
.joycore {
  --bg:#fff7ec; --panel:#fffdf8; --surface:#ffebdf; --ink:#351a25; --muted:#664854;
  --accent:#b83827; --on-accent:#fffaf2; --line:#e5c5bc; --radius:24px;
  --display:"Trebuchet MS",system-ui,sans-serif;
}
.lorebyte {
  --bg:#f3f2eb; --panel:#fbfaf5; --surface:#e7e8e1; --ink:#172319; --muted:#505f55;
  --accent:#254b94; --on-accent:#fff; --line:#cbd1c6; --radius:3px;
  --display:Georgia,"Times New Roman",serif;
}
.blitzplay {
  --bg:#1b2020; --panel:#262e2e; --surface:#303939; --ink:#fbfff6; --muted:#bdcac3;
  --accent:#e9ff73; --on-accent:#202619; --line:#4a5653; --radius:4px;
  --display:"Arial Black","Segoe UI",system-ui,sans-serif;
}
.gameverse {
  --bg:#17162b; --panel:#211f3a; --surface:#2b2849; --ink:#f7f2ff; --muted:#c5bce2;
  --accent:#c4b2ff; --on-accent:#221640; --line:#423b64; --radius:20px;
  --display:"Segoe UI",system-ui,sans-serif;
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .72; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, dl, dd, p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 5.35rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -.035em; }
h3 { line-height: 1.25; font-size: 1rem; }
.wrap { width: min(100% - 64px, 1250px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-160%); background: var(--accent); color: var(--on-accent); padding: 12px; }
.skip:focus { transform: none; }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.mast { min-height: 70px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 133px; height: auto; }
.edition { color: var(--muted); font-size: .84rem; border-left: 1px solid var(--line); padding-left: 15px; font-weight: 650; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(6px,1.2vw,18px); }
.desktop-nav a, .category-dialog nav a { padding: 8px 7px; text-decoration: none; font-weight: 650; font-size: .94rem; }
.desktop-nav a:is(:hover, [aria-current]) { color: var(--accent); }
.desktop-nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.category-button, .dialog-head button { display: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 8px 12px; }
.category-button span { margin-left: 4px; }
.category-dialog { width: min(430px, calc(100% - 28px)); max-height: calc(100% - 30px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--panel); padding: 22px; }
.category-dialog::backdrop { background: #060710b8; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.dialog-head h2 { font-size: 1.55rem; }
.dialog-head button { display: block; min-width: 44px; }
.category-dialog nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.category-dialog nav a { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 13px; }
.category-dialog nav a[aria-current] { border-color: var(--accent); }
.site-footer { margin-top: 70px; background: var(--panel); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 20px 28px; padding-block: 30px; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-inner nav { display: flex; gap: 9px 18px; flex-wrap: wrap; }
.footer-inner a:not(.brand) { font-size: .92rem; overflow-wrap: anywhere; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  width: fit-content;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: min(var(--radius), 12px);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 750;
}
.button:hover { color: var(--on-accent); filter: brightness(.91); }
.ad-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  overflow: clip;
  margin-block: 50px;
}
.ad-slot + :is(.crumbs, .home-hero, .shelf) { margin-top: 0; }
.arcade-board .cards { --cards-columns: 4; }
.arcade-board .game-card a { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.arcade-board .game-card img { height: 100%; max-height: 220px; aspect-ratio: 16 / 10; }
.home-hero { margin-top: 34px; }
.home-intro { max-width: 760px; margin-bottom: 25px; }
.home-intro > p:last-child { max-width: 57ch; color: var(--muted); margin-top: 13px; font-size: clamp(1rem, 2vw, 1.16rem); }
.eyebrow { color: var(--accent); font-size: .92rem; font-weight: 750; margin-bottom: 9px; }
.spotlight { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spotlight-slide { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; animation: reveal .32s ease both; }
@keyframes reveal { from { opacity: .55; } to { opacity: 1; } }
.spotlight-art { min-width: 0; min-height: 214px; position: relative; background: var(--surface); }
.spotlight-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.spotlight-copy { padding: clamp(20px, 3.7vw, 45px); align-self: center; min-height: 240px; display: grid; align-content: center; gap: 12px; }
.spotlight-copy p { color: var(--muted); max-width: 45ch; }
.spotlight-controls { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px; background: var(--panel); }
.spotlight-picks { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 320px; }
.spotlight-controls button { border: 1px solid var(--line); border-radius: min(var(--radius), 8px); background: transparent; padding: 6px 10px; min-height: 36px; font-size: .85rem; font-weight: 650; }
.spotlight-picks button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.spotlight-controls button:not([aria-pressed="true"]):hover { border-color: var(--accent); }
.shelf, .library, .joy-pair { margin-top: clamp(34px, 5vw, 68px); }
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 11px 20px; margin-bottom: 18px; }
.shelf-head p { margin-top: 6px; color: var(--muted); }
.more { flex: none; color: var(--accent); font-size: .9rem; font-weight: 700; }
.library, .shelf-pair { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--shelf-gap, clamp(24px, 3vw, 46px)); }
.library .shelf { margin: 0; padding: clamp(14px, 2vw, 27px); border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); min-width: 0; }
.shelf-pair > .shelf { margin: 0; min-width: 0; }
.library .shelf h2 { font-size: clamp(1.65rem, 2.5vw, 2.22rem); }
.game-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
.game-card { min-width: 0; }
.game-card a { display: block; height: 100%; text-decoration: none; overflow: hidden; border-radius: min(var(--radius), 16px); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.game-card a:hover { border-color: var(--accent); transform: translateY(-3px); }
.game-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.game-copy { padding: 11px 12px; }
.game-copy p { color: var(--muted); margin-top: 6px; font-size: .93rem; }
.game-list:is(.cards, .strip, .tiles) { display: flex; flex-wrap: wrap; gap: var(--cards-gap, 16px); }
.game-list:is(.cards, .strip, .tiles) > .game-card {
  flex: 1 0 min(100%, var(--card-basis, 172px));
  container-type: inline-size;
}
.game-list:is(.cards, .strip, .tiles) {
  --card-basis: calc((100% - (var(--cards-gap, 16px) * (var(--cards-columns) - 1))) / var(--cards-columns));
}
.cards:not(.arcade-board .cards, .library .cards, .joy-pair .cards, .related-games .cards) { --card-basis: 165px; }
.library .cards { --cards-columns: 3; --cards-gap: 12px; }
.nexplay .library :is(.category-casual, .category-boys) .cards,
.gameverse .library :is(.category-casual, .category-boys) .cards { --cards-columns: 2; }
.tiles { --cards-columns: 2; }
.tiles .game-card a { display: grid; grid-template-columns: minmax(70px, 43%) 1fr; align-items: center; }
.tiles .game-card img { height: 100%; min-height: 64px; }
.stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stories .game-card a { display: grid; grid-template-columns: minmax(80px, 32%) 1fr; align-items: center; }
.stories .game-card img { height: 100%; min-height: 112px; }
.library .stories { grid-template-columns: 1fr; }
.game-list.strip { --card-basis: 133px; --cards-gap: 10px; }
.strip .game-card img { aspect-ratio: 16 / 10; }
@container (min-width: 360px) {
  .game-list:is(.cards, .strip):not(.arcade-board .cards) > .game-card a {
    display: grid;
    grid-template-columns: minmax(115px, 38%) minmax(0, 1fr);
    align-items: center;
  }
  .game-list:is(.cards, .strip):not(.arcade-board .cards) > .game-card img {
    height: 100%;
    min-height: 95px;
    max-height: 150px;
  }
}
.ledger { grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.ledger .game-card { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); padding: 5px 0; }
.ledger .game-card a { flex: 1; display: flex; align-items: center; min-width: 0; border: 0; background: transparent; }
.ledger .game-card img { width: 70px; flex: none; border-radius: min(var(--radius), 8px); }
.ledger .game-copy { padding: 6px 8px; }
.game-number { font-variant-numeric: tabular-nums; font-size: .86rem; font-weight: 800; color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 5px 9px; color: var(--muted); font-size: .9rem; margin-block: 24px; }
.catalog-head { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: clamp(18px, 4vw, 48px); }
.catalog-head h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.catalog-head p { margin-top: 9px; color: var(--muted); }
.catalog-head .catalog-count { color: var(--accent); font-weight: 700; }
.catalog-head img { width: clamp(95px, 19%, 225px); height: auto; border-radius: var(--radius); }
.catalog h2 { margin-bottom: 18px; }
.detail-intro { display: grid; grid-template-columns: minmax(170px, 255px) 1fr; gap: 16px clamp(20px, 4vw, 55px); align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(19px, 4vw, 46px); }
.detail-intro figure img { width: 100%; height: auto; border-radius: var(--radius); }
.detail-copy h1 { font-size: clamp(2.15rem, 5vw, 4.05rem); overflow-wrap: anywhere; }
.detail-copy p { color: var(--muted); margin: 12px 0 18px; max-width: 55ch; }
.detail-copy .play-disclosure { margin: 8px 0 0; font-size: .86rem; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 12px 26px; grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: .86rem; }
.detail-facts dd { font-weight: 700; overflow-wrap: anywhere; }
.game-guide { margin-top: clamp(25px, 4vw, 46px); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 17px; }
.guide-card {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
}
.guide-card h3 { font-family: var(--display); font-size: 1.2rem; }
.guide-card p { margin-top: 9px; color: var(--muted); }
.game-help { display: flex; margin-top: 20px; gap: 16px; flex-wrap: wrap; }
.game-help > * { flex: 1 1 290px; min-width: 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--panel); }
.game-help h2 { font-size: 1.38rem; }
.game-help p { color: var(--muted); margin-top: 7px; }
.round-tip { background: var(--surface); }
.related-games .cards { --cards-columns: 4; }
:is(.nexplay, .blitzplay) .related-games .cards { --cards-columns: 6; }
.player { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.player-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 10px 14px; }
.player-heading a { color: var(--muted); font-size: .85rem; }
.player-heading h1 { font-size: clamp(1.2rem, 3vw, 2rem); overflow-wrap: anywhere; }
.player-toolbar .button { white-space: nowrap; }
.player-screen { height: max(18rem, calc(100dvh - 10rem)); background: #111; }
.player-screen iframe { display: block; border: 0; width: 100%; height: 100%; }
.player-fallback { margin-top: 12px; color: var(--muted); }
.player:is(:fullscreen, .is-expanded) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  margin: 0;
  border: 0;
  border-radius: 0;
}
.player:is(:fullscreen, .is-expanded) .player-screen { height: auto; }
.player.is-expanded { position: fixed; inset: 0; z-index: 20; }
html:has(.player.is-expanded) { overflow: hidden; }
body:has(.player.is-expanded) > :is(.skip, .site-header, .site-footer), .player.is-expanded + .player-fallback { visibility: hidden; }
.legal { max-width: 820px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 5vw, 52px); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.85rem); }
.legal h2 { margin-top: 26px; font-size: 1.53rem; }
.legal p, .legal dl, .legal li { margin-top: 11px; }
.legal li + li { margin-top: 8px; }
.legal .policy-date { color: var(--muted); }
.legal dt { font-weight: 750; }
.legal dd + dt { margin-top: 12px; }
.legal a { color: var(--accent); }

.nexplay .home-hero { display: grid; grid-template-columns: minmax(240px, .63fr) minmax(0, 1.37fr); align-items: center; gap: 30px; padding: 25px; background: linear-gradient(128deg, #1a373b, var(--bg) 73%); border: 1px solid var(--line); border-radius: 23px; }
.nexplay .home-intro { margin: 0; padding: 8px 8px 8px 4px; }
.nexplay .spotlight-slide { grid-template-columns: 44% 1fr; }
.nexplay .spotlight-copy { padding: 24px; }
.nexplay .spotlight-art img { object-fit: cover; }
.nexplay .strip .game-card a { border-top: 2px solid var(--accent); }
.nexplay .category-popular { background: #193538; }
.nexplay .detail-intro { grid-template-columns: minmax(170px, 245px) minmax(0,1fr) minmax(150px,.5fr); }
.nexplay .detail-facts { grid-column: auto; display: grid; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid var(--line); }

.joycore .site-header { border-top: 5px solid #f3a28a; }
.joycore .home-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(210px,.85fr); align-items: center; padding: clamp(20px,4vw,48px); gap: 30px; background: radial-gradient(ellipse at 88% 12%,#ffddb2,transparent 57%), #fce4ee; border-radius: 38px 38px 8px 38px; }
.joycore .home-intro { grid-column: 2; grid-row: 1; margin: 0; }
.joycore .spotlight { grid-column: 1; grid-row: 1; transform: rotate(-1.2deg); box-shadow: 7px 8px 0 #e9a68a; }
.joycore .spotlight-slide { grid-template-columns: 45% 55%; }
.joycore .spotlight-copy { padding: 19px; }
.joycore .spotlight-art { margin: 10px; border-radius: 14px; overflow: hidden; }
.joycore .joy-pair { --shelf-gap: clamp(24px,4vw,54px); }
.joycore .joy-pair .cards { --cards-columns: 4; }
.joycore .joy-pair .cards a { background: var(--panel); }
.joycore .joy-pair .ledger { grid-template-columns: 1fr; }
.joycore .joy-pair .ledger .game-card { padding: 7px 0; }
.joycore .library :is(.category-casual, .category-boys) .cards { --cards-columns: 2; }
.joycore .library .ledger { grid-template-columns: 1fr; }
.joycore .library .shelf-pair:nth-child(odd) > :first-child,
.joycore .library .shelf-pair:nth-child(even) > :last-child { background: #fce8de; }
.joycore .detail-intro { background: #fce8df; }
.joycore .detail-intro figure { padding: 8px; background: var(--panel); border-radius: 20px; box-shadow: 5px 5px 0 #edb59d; }

.lorebyte .site-header { border-bottom: 2px solid var(--ink); }
.lorebyte .home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 40px; }
.lorebyte .home-intro { margin: 0; display: grid; align-content: center; border-block: 1px solid var(--ink); padding: 26px 9px 28px 0; }
.lorebyte .spotlight-slide { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.lorebyte .spotlight-art { order: 2; padding: 0; border-left: 1px solid var(--line); }
.lorebyte .spotlight-copy { min-height: 300px; padding: 22px; }
.lorebyte .curated { border-block: 1px solid var(--ink); padding-block: 23px; }
.lorebyte .library { --shelf-gap: 30px; }
.lorebyte .library .shelf { background: transparent; padding: 18px 0; border: 0; border-top: 1px solid var(--line); }
.lorebyte .library .ledger { grid-template-columns: 1fr; }
.lorebyte .library .category-strategy, .lorebyte .library .category-puzzle { border-top: 3px solid var(--accent); }
.lorebyte .detail-intro { grid-template-columns: minmax(0,1fr) minmax(150px,230px); border: 0; border-block: 1px solid var(--ink); background: transparent; padding-inline: 0; }
.lorebyte .detail-intro figure { grid-column: 2; grid-row: 1; }
.lorebyte .detail-copy { grid-column: 1; grid-row: 1; }
.lorebyte .detail-facts { border-top-color: var(--line); }

.blitzplay .site-header { border-bottom: 3px solid var(--accent); }
.blitzplay .home-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr); gap: 32px; }
.blitzplay .home-intro { padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.blitzplay .home-intro h1 { text-transform: uppercase; max-width: 14ch; font-size: clamp(2.35rem,5.2vw,5.55rem); }
.blitzplay .spotlight-slide { grid-template-columns: 46% 54%; }
.blitzplay .spotlight-art { clip-path: polygon(0 0, 100% 0, 90% 100%,0 100%); }
.blitzplay .home-hero .shelf { display: flex; flex-direction: column; margin: 0; border-top: 5px solid var(--accent); background: var(--panel); padding: 20px; }
.blitzplay .home-hero .ledger { flex: 1; grid-template-columns: 1fr; }
.blitzplay .library { --shelf-gap: 22px; }
.blitzplay .library .shelf { border-top: 3px solid var(--accent); }
.blitzplay .library .ledger { grid-template-columns: 1fr; }
.blitzplay .library .category-motive { background: transparent; }
.blitzplay .library .category-popular .strip { --cards-columns: 3; --card-basis: calc((100% - 20px) / 3); }
.blitzplay .detail-intro { border-top: 4px solid var(--accent); }
.blitzplay .detail-copy h1 { text-transform: uppercase; }

.gameverse .home-hero { padding: clamp(17px,4vw,44px); background: radial-gradient(ellipse at 90% 0%, #454275, transparent 68%), var(--panel); border: 1px solid var(--line); border-radius: 36px; }
.gameverse .home-intro { max-width: 980px; margin: 0 auto 25px; text-align: center; }
.gameverse .home-intro p:last-child { margin-inline: auto; }
.gameverse .spotlight { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,.32fr); background: #19172f; }
.gameverse .spotlight-slide { grid-template-columns: 43% 57%; }
.gameverse .spotlight-art { margin: 14px; overflow: hidden; border-radius: 14px; }
.gameverse .spotlight-controls { border-top: 0; border-left: 1px solid var(--line); align-content: center; }
.gameverse .spotlight-picks { display: grid; width: 100%; }
.gameverse .spotlight-controls button { text-align: left; }
.gameverse .library > .shelf .tiles { --cards-columns: 4; }
.gameverse .library > .shelf .tiles img { aspect-ratio: 1; }
.gameverse .library > .category-boys .cards { --cards-columns: 4; }
.gameverse .library .category-motive .ledger { grid-template-columns: 1fr; }
.gameverse .library > .shelf,
.gameverse .library .shelf-pair:nth-child(odd) > :first-child { background: #2c2645; }
.gameverse .detail-intro { background: radial-gradient(ellipse at 70% 10%, #403765, transparent 70%), var(--panel); border-radius: 26px; }

@media (min-width: 861px) {
  .shelf-pair { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto; row-gap: 0; }
  .shelf-pair > .shelf { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .shelf-pair .shelf-head { align-items: start; }
  .shelf-pair .more { align-self: end; }
  .shelf-pair .game-list:is(.stories, .ledger) { grid-auto-rows: 1fr; }
  .shelf-pair .game-list:is(.cards, .strip) .game-card a { display: grid; grid-template-rows: minmax(0,1fr) auto; }
  .shelf-pair .game-list:is(.cards, .strip) .game-card img { height: 100%; }
  .shelf-pair .game-list:is(.cards, .strip) .game-copy h3 { min-block-size: 2.5rem; }
  .joycore .joy-pair .shelf-pair { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
  .joycore .library .shelf-pair:has(.category-casual, .category-boys) { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .category-button { display: block; margin-left: auto; }
  .gameverse .spotlight { grid-template-columns: minmax(0,1fr) minmax(135px,.34fr); }
  .blitzplay .home-hero { gap: 19px; }
  .nexplay .home-hero { grid-template-columns: 1fr; gap: 18px; }
  .nexplay .home-intro { padding-inline: 0; }
  .lorebyte .home-hero { gap: 20px; }
  .joycore .home-hero { gap: 20px; }
  .nexplay .detail-intro { grid-template-columns: minmax(140px, 210px) 1fr; }
  .nexplay .detail-facts { grid-column: 1 / -1; display: flex; border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .shelf-head { flex-wrap: wrap; }
  :is(.nexplay, .blitzplay) .related-games .cards { --cards-columns: 3; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .mast { min-height: 60px; gap: 8px; }
  .brand img { width: 111px; }
  .edition { padding-left: 8px; }
  .home-hero { margin-top: 21px; }
  .home-intro { margin-bottom: 15px; }
  .joycore .home-hero, .lorebyte .home-hero, .blitzplay .home-hero, .gameverse .spotlight { grid-template-columns: minmax(0,1fr); }
  .joycore .home-intro, .joycore .spotlight { grid-column: 1; grid-row: auto; }
  .joycore .spotlight { transform: none; box-shadow: 4px 4px 0 #e9a68a; }
  .joycore .joy-pair .cards { --cards-columns: 2; }
  .gameverse .spotlight-controls { border-left: 0; border-top: 1px solid var(--line); }
  .gameverse .spotlight-picks { display: flex; }
  .lorebyte .spotlight-copy { min-height: 235px; }
  .gameverse .library > .shelf .tiles { --cards-columns: 2; }
  .gameverse .library > .category-boys .cards { --cards-columns: 3; }
  .arcade-board .cards { --cards-columns: 3; }
  .stories { grid-template-columns: 1fr; }
  .game-list.strip { --card-basis: calc((100% - 20px) / 3); }
  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 28px); }
  .edition { font-size: .74rem; }
  .category-button { padding: 7px 9px; font-size: .87rem; }
  .spotlight-art { min-height: 145px; }
  .spotlight-copy, .nexplay .spotlight-copy, .lorebyte .spotlight-copy { min-height: 210px; padding: 12px; gap: 8px; }
  .spotlight-copy h2 { font-size: 1.3rem; }
  .spotlight-copy p { font-size: .9rem; line-height: 1.35; }
  .spotlight-copy .button { padding: 7px 10px; }
  .nexplay .home-hero, .joycore .home-hero, .gameverse .home-hero { padding: 13px; }
  .gameverse .spotlight-art, .joycore .spotlight-art { margin: 5px; }
  .spotlight-controls { padding: 8px; }
  .spotlight-controls button { font-size: .8rem; }
  #main .game-list.cards { --cards-columns: 2; --card-basis: calc((100% - 10px) / 2); --cards-gap: 10px; }
  #main .game-list.strip { --card-basis: calc((100% - 10px) / 2); }
  .ledger { grid-template-columns: 1fr; }
  .tiles, .gameverse .library > .shelf .tiles { --cards-columns: 1; }
  .tiles .game-card a { grid-template-columns: 90px 1fr; }
  .game-copy { padding: 8px; }
  .catalog-head img { width: 85px; }
  .detail-intro, .nexplay .detail-intro, .lorebyte .detail-intro { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; }
  .detail-intro figure, .lorebyte .detail-intro figure { width: min(52%, 185px); grid-column: 1; grid-row: 1; }
  .detail-copy, .lorebyte .detail-copy { grid-column: 1; grid-row: 2; }
  .player-toolbar { gap: 8px; padding-inline: 9px; }
  .player-toolbar .button { padding-inline: 9px; font-size: .88rem; }
}
@media (max-width: 350px) {
  .mast .edition { display: none; }
  .brand img { width: 105px; }
}
@media (max-width: 380px) {
  .ad-slot {
    position: relative;
    inset-inline-start: 50%;
    inline-size: min(calc(100% + 28px), 336px);
    translate: -50% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
