@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bungee-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-latin.woff2') format('woff2');
}
:root {
  --bg: #120e0b;
  --bg-2: #1b1510;
  --panel: #211912;
  --panel-2: #2a2018;
  --line: #382b20;
  --line-2: #4a3a2b;
  --ink: #f6ecdc;
  --ink-2: #cdbca3;
  --ink-3: #9d8a72;
  --rust: #ff6a13;
  --rust-dark: #9c3c05;
  --hazard: #ffc21a;
  --hazard-dark: #a5740a;
  --mud: #7a5a3a;
  --ok: #7bd389;
  --radius: 14px;
  --r-card: 22px;
  --r-art: 14px;
  --gut: 16px;
  --top-h: 56px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --display: 'Bungee', 'Impact', system-ui, sans-serif;
  --body: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
@media (min-width: 700px) {
  :root {
    --gut: 24px;
  }
}
@media (min-width: 1100px) {
  :root {
    --gut: 32px;
    --top-h: 66px;
  }
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.45 var(--body);
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(1100px 520px at 88% -12%, rgba(255, 106, 19, 0.15), transparent 62%),
    radial-gradient(800px 420px at -12% 8%, rgba(255, 194, 26, 0.06), transparent 60%);
  background-repeat: no-repeat;
}
/* film grain: a whisper of texture over the flat dark */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main {
  flex: 1;
  overflow-x: clip;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gut);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--hazard);
  color: #1b130b;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 10px;
}
.ic,
.tabbar svg,
.topsearch svg,
.iconbtn svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.emoji {
  font-size: 18px;
  line-height: 1;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 14, 11, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(74, 58, 43, 0.6);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--top-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: none;
}
.logo .mark {
  width: 32px;
  height: 32px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.logo:hover .mark {
  transform: rotate(-12deg) scale(1.06);
}
.logo .club {
  font-size: 10px;
  color: #1b130b;
  background: var(--hazard);
  border-radius: 5px;
  padding: 3px 6px 2px;
  transform: rotate(-4deg);
  letter-spacing: 0.08em;
}
.top .spacer {
  flex: 1;
}
.topnav {
  display: none;
}
.topsearch {
  display: none;
}
@media (min-width: 900px) {
  .topnav {
    display: flex;
    gap: 2px;
    margin-left: 18px;
  }
  .topnav a {
    position: relative;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.15s, background 0.15s;
  }
  .topnav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }
  .topnav a[aria-current] {
    color: var(--ink);
  }
  .topnav a[aria-current]::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--rust);
  }
  .topsearch {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 250px;
    padding: 9px 10px 9px 14px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--ink-3);
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.15s, color 0.15s;
  }
  .topsearch:hover,
  .topsearch[aria-current] {
    border-color: var(--line-2);
    color: var(--ink-2);
  }
  .topsearch span {
    flex: 1;
  }
  .topsearch kbd {
    font: 600 11px var(--body);
    border: 1px solid var(--line-2);
    border-radius: 6px;
    padding: 1px 6px;
    color: var(--ink-3);
  }
  .topsearch svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- bottom tab bar (phones) ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(20, 16, 12, 0.9);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid rgba(74, 58, 43, 0.7);
}
.tabbar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.tabbar a svg {
  width: 25px;
  height: 25px;
  transition: transform 0.2s var(--ease);
}
.tabbar a[aria-current] {
  color: var(--hazard);
}
.tabbar a[aria-current] svg {
  transform: translateY(-1px);
}
.tabbar a[aria-current]::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  border-radius: 0 0 3px 3px;
  background: var(--rust);
}
.tabbar a:focus-visible {
  outline-offset: -4px;
}
body.has-tabbar {
  padding-bottom: calc(var(--tab-h) + var(--safe-b));
}
@media (min-width: 900px) {
  .tabbar {
    display: none;
  }
  body.has-tabbar {
    padding-bottom: 0;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font: 700 15px/1 var(--body);
  color: #1b130b;
  background: var(--hazard);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--hazard-dark);
  transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.06);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--hazard-dark);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn.ghost:active {
  transform: none;
}
.btn.small {
  padding: 9px 12px;
  font-size: 14px;
}
.btn.rust {
  background: var(--rust);
  box-shadow: 0 4px 0 var(--rust-dark);
}
.btn .ic {
  width: 18px;
  height: 18px;
}
.btn.play {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}
.btn.play.big {
  padding: 14px 26px 13px;
  font-size: 16px;
  border-radius: 14px;
}
.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}
.iconbtn:hover {
  background: rgba(255, 255, 255, 0.09);
}
.getbtn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(255, 194, 26, 0.13);
  color: var(--hazard);
  font: 800 13px/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.getbtn .ic {
  width: 14px;
  height: 14px;
}
.getbtn:hover {
  background: var(--hazard);
  color: #1b130b;
}
.getbtn:active {
  transform: scale(0.96);
}
.getbtn.on-dark {
  background: var(--hazard);
  color: #1b130b;
  box-shadow: 0 3px 0 var(--hazard-dark);
  padding: 10px 16px 10px 13px;
}
.getbtn.on-dark:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--hazard-dark);
}
.stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.stretch:focus-visible {
  outline-offset: -4px;
  border-radius: inherit;
}

/* ---------- page ---------- */
.page {
  padding-bottom: 8px;
}
.page:focus {
  outline: none;
}
.page.enter {
  animation: page-in 0.28s var(--ease) both;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.page-head {
  padding: 22px 0 4px;
}
.page-head h1,
.cat-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.page h1:focus {
  outline: none;
}
.kicker-date {
  margin: 0 0 6px;
  font: 700 12px var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.lead {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 56ch;
}
@media (min-width: 1100px) {
  .page-head {
    padding-top: 34px;
  }
  .page-head h1,
  .cat-head h1 {
    font-size: 46px;
  }
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 16px 0 0 -4px;
  padding: 4px 8px 4px 2px;
  color: var(--hazard);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
}
.crumb .ic {
  width: 18px;
  height: 18px;
}
.sec {
  margin-top: 30px;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.sec-head h2,
.h {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sec-head p {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}
.see-all {
  flex: none;
  color: var(--hazard);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 4px 2px;
}
.see-all:hover {
  text-decoration: underline;
}
@media (min-width: 1100px) {
  .sec {
    margin-top: 40px;
  }
  .sec-head h2,
  .h {
    font-size: 22px;
  }
}

/* ---------- horizontal scrollers ---------- */
.scroller {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--gut));
  padding: 4px var(--gut) 14px;
}
.scroller::-webkit-scrollbar {
  display: none;
}
.scroller > * {
  scroll-snap-align: start;
}
.nudge-wrap {
  position: relative;
}
.nudge {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(42, 32, 24, 0.94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}
.nudge-wrap:hover .nudge {
  opacity: 1;
}
.nudge:hover {
  background: var(--panel-2);
}
.nudge.prev {
  left: -14px;
}
.nudge.next {
  right: -14px;
}
.nudge-wrap:has(.shelf) .nudge {
  top: 42%;
}

/* ---------- box art ---------- */
.art {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-art);
  overflow: hidden;
  background: var(--c, var(--mud));
  flex: none;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 38%);
  pointer-events: none;
}
.art-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font: 400 26px var(--display);
  color: rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
}
.art.sm {
  width: 56px;
  border-radius: 10px;
}
.art.xs {
  width: 40px;
  border-radius: 8px;
}
.art.lg {
  width: 116px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transform: rotate(-2.5deg);
}
@media (min-width: 700px) {
  .art.lg {
    width: 168px;
  }
}
.stamp {
  display: inline-block;
  font: 400 10px/1 var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 7px 4px;
  border-radius: 3px;
  background: var(--hazard);
  color: #1b130b;
  transform: rotate(-5deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.stamp.updated {
  background: var(--rust);
  color: #1b130b;
}

/* ---------- tiles (shelves) ---------- */
.shelf {
  grid-auto-columns: 124px;
  gap: 14px;
}
@media (min-width: 700px) {
  .shelf {
    grid-auto-columns: 148px;
    gap: 18px;
  }
}
@media (min-width: 1100px) {
  .shelf {
    grid-auto-columns: calc((100% - 6 * 20px) / 7);
    gap: 20px;
  }
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-decoration: none;
}
.tile-art {
  position: relative;
  display: block;
  margin-bottom: 8px;
  transition: transform 0.2s var(--ease);
}
.tile-art .art {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.tile-art .stamp {
  position: absolute;
  top: 8px;
  left: -5px;
}
.tile:hover .tile-art {
  transform: translateY(-4px) rotate(-1deg);
}
.tile .t {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile .s {
  color: var(--ink-3);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tilegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 12px;
}
@media (min-width: 700px) {
  .tilegrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 18px;
  }
}
@media (min-width: 1100px) {
  .tilegrid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

/* ---------- rows + ranked charts ---------- */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.rows > .row:last-child,
.rows > :last-child .row {
  border-bottom: 0;
}
.row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  border-radius: 12px;
}
.row-main:hover b {
  color: var(--hazard);
}
.rank {
  flex: none;
  width: 30px;
  text-align: center;
  font: 400 22px/1 var(--display);
  color: var(--ink-2);
}
.row .txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.row .txt b {
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.row .txt span {
  color: var(--ink-2);
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .txt small {
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
mark {
  background: rgba(255, 194, 26, 0.24);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 1px;
}
.ranked {
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  grid-auto-columns: min(86%, 400px);
  column-gap: 22px;
  row-gap: 0;
}
.ranked .row:nth-child(3n) {
  border-bottom: 0;
}
.ranked.one {
  grid-auto-columns: 100%;
}
@media (min-width: 700px) {
  .ranked {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
  .ranked.one {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .ranked.one .row {
    border-bottom: 0;
  }
}
@media (min-width: 1100px) {
  .ranked {
    grid-auto-columns: calc((100% - 2 * 28px) / 3);
    column-gap: 28px;
  }
}
.rows {
  display: flex;
  flex-direction: column;
}
.count {
  margin: 16px 0 4px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- posters (big cards) ---------- */
.posters {
  grid-auto-columns: min(86%, 520px);
  gap: 14px;
}
.posters.big {
  grid-auto-columns: min(90%, 640px);
}
@media (min-width: 1100px) {
  .posters {
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
    gap: 20px;
  }
  .posters.big {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}
.poster {
  position: relative;
  isolation: isolate;
  height: 208px;
  border-radius: var(--r-card);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--c) 70%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #17110c), #17110c 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 14px 34px rgba(0, 0, 0, 0.35);
}
.poster.big {
  height: 236px;
}
@media (min-width: 1100px) {
  .poster.big {
    height: 300px;
  }
}
.poster-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.poster-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.poster-bg img.blur {
  opacity: 0.3;
  filter: blur(26px) saturate(1.4);
  transform: scale(1.4);
}
.poster-art {
  position: absolute;
  right: 18px;
  bottom: -14px;
  width: 112px;
  transform: rotate(5deg);
  transition: transform 0.3s var(--ease);
}
.poster.big .poster-art {
  width: 132px;
}
@media (min-width: 1100px) {
  .poster.big .poster-art {
    width: 176px;
    right: 34px;
  }
}
.poster-art .art {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
}
.poster:hover .poster-art {
  transform: rotate(2deg) translateY(-6px);
}
.poster-txt {
  position: absolute;
  left: 18px;
  top: 18px;
  right: 148px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.poster.big .poster-txt {
  right: 166px;
}
@media (min-width: 1100px) {
  .poster.big .poster-txt {
    left: 30px;
    top: 30px;
    right: 230px;
  }
}
.poster-txt small {
  font: 700 11px var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hazard);
}
.poster-txt b {
  font: 400 23px/1.02 var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.poster.big .poster-txt b {
  font-size: 27px;
}
@media (min-width: 1100px) {
  .poster.big .poster-txt b {
    font-size: 36px;
  }
}
.poster-txt span {
  color: var(--ink-2);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster .getbtn {
  position: absolute;
  left: 18px;
  bottom: 18px;
}
@media (min-width: 1100px) {
  .poster.big .getbtn {
    left: 30px;
    bottom: 28px;
  }
}

/* ---------- Today ---------- */
.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.today-grid .cell {
  min-width: 0;
}
.today-grid .cell.wide .sec {
  margin-top: 12px;
}
@media (min-width: 900px) {
  .today-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .today-grid .cell.wide {
    grid-column: 1 / -1;
  }
}
.gotd,
.story-card.big {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  width: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c, var(--panel));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.25s var(--ease);
}
@media (min-width: 900px) {
  .gotd,
  .story-card.big {
    aspect-ratio: auto;
    height: 540px;
  }
}
.gotd:hover,
.story-card.big:hover {
  transform: translateY(-3px);
}
.gotd-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.gotd-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gotd:hover .gotd-bg img {
  transform: scale(1.03);
}
.gotd::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0) 38%, rgba(10, 8, 6, 0.6) 62%, rgba(10, 8, 6, 0.96) 92%);
}
/* hazard tape label */
.tape {
  position: absolute;
  top: 20px;
  left: -8px;
  z-index: 2;
  display: flex;
  align-items: stretch;
  transform: rotate(-3deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.tape::before,
.tape::after {
  content: '';
  width: 18px;
  background: repeating-linear-gradient(-45deg, #ffc21a 0 6px, #1b130b 6px 12px);
}
.tape span {
  background: var(--hazard);
  color: #1b130b;
  font: 400 14px/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 12px 8px;
}
.gotd-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 18px;
  pointer-events: none;
}
.gotd-foot > * {
  pointer-events: auto;
}
.gotd-foot .txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.gotd-foot .txt b {
  font: 400 24px/1.02 var(--display);
  text-transform: uppercase;
}
.gotd-foot .txt > span {
  color: var(--ink-2);
  font-size: 14px;
}
.readlink {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  color: var(--hazard);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.readlink .ic {
  width: 15px;
  height: 15px;
}
.readlink:hover {
  text-decoration: underline;
}
@media (min-width: 1100px) {
  .gotd-foot {
    padding: 26px;
    gap: 16px;
  }
  .gotd-foot .txt b {
    font-size: 32px;
  }
  .gotd-foot .art.sm {
    width: 72px;
  }
}

/* story cards */
.story-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}
.story-card:hover {
  transform: translateY(-3px);
}
.sc-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--c) 45%, #17110c);
}
.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-img img.blur,
.sh-img img.blur {
  filter: blur(20px) saturate(1.3);
  transform: scale(1.3);
  opacity: 0.7;
}
.sc-txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}
.kicker {
  font: 700 11.5px var(--body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
}
.sc-txt h3 {
  margin: 0;
  font: 400 20px/1.08 var(--display);
  text-transform: uppercase;
}
.sc-txt p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-txt small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 12.5px;
  margin-top: 2px;
}
.sc-txt small .ic {
  width: 15px;
  height: 15px;
}
.story-card.big .sc-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  aspect-ratio: auto;
}
.story-card.big::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.72) 0%, rgba(10, 8, 6, 0) 30%),
    linear-gradient(180deg, rgba(10, 8, 6, 0) 45%, rgba(10, 8, 6, 0.92) 88%);
}
.story-card.big .sc-txt {
  position: absolute;
  inset: 0;
  padding: 20px;
  justify-content: space-between;
}
.story-card.big .sc-txt .kicker {
  color: var(--hazard);
}
.story-card.big .sc-txt h3 {
  margin-top: auto;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.story-card.big .sc-txt p {
  color: var(--ink);
  opacity: 0.86;
  font-size: 15px;
}
@media (min-width: 1100px) {
  .story-card.big .sc-txt {
    padding: 28px;
  }
  .story-card.big .sc-txt h3 {
    font-size: 40px;
  }
}
@media (min-width: 900px) {
  .cell.flat .story-card {
    flex-direction: row;
    min-height: 300px;
  }
  .cell.flat .sc-img {
    flex: 0 0 52%;
    aspect-ratio: auto;
  }
  .cell.flat .sc-txt {
    justify-content: center;
    padding: 30px 34px;
    gap: 10px;
  }
  .cell.flat .sc-txt h3 {
    font-size: 30px;
  }
  .cell.flat .sc-txt p {
    font-size: 16px;
    -webkit-line-clamp: 4;
  }
}
.stories {
  grid-auto-columns: min(80%, 340px);
  gap: 16px;
}
@media (min-width: 1100px) {
  .stories {
    grid-auto-columns: calc((100% - 2 * 20px) / 3);
    gap: 20px;
  }
}

/* quick-play grid (Today) */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
}
@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 16px;
  }
}
@media (min-width: 1100px) {
  .grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.card {
  display: grid;
  grid-template-areas: 'art' 'title';
  gap: 7px;
  min-width: 0;
  text-decoration: none;
}
.card .art,
.card .card-play {
  grid-area: art;
}
.card .art {
  transition: transform 0.2s var(--ease);
}
.card:hover .art {
  transform: translateY(-3px) rotate(-1deg);
}
.card .card-play {
  z-index: 1;
  align-self: end;
  justify-self: end;
  margin: 6px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hazard);
  color: #1b130b;
  box-shadow: 0 2px 0 var(--hazard-dark), 0 6px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s var(--ease);
}
.card .card-play .ic {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
.card:hover .card-play {
  transform: scale(1.1);
}
.card b {
  grid-area: title;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- chips ---------- */
.chips {
  grid-auto-columns: max-content;
  gap: 8px;
  padding-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font: 600 14px var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.chip .ic {
  width: 17px;
  height: 17px;
  color: var(--c, var(--ink-3));
}
.chip:hover {
  border-color: var(--c, var(--line-2));
}
.chip.on {
  background: var(--c);
  border-color: var(--c);
  color: #1b130b;
}
.chip.on .ic {
  color: #1b130b;
}
.chip.plain {
  padding: 7px 13px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.chip.plain .ic {
  width: 14px;
  height: 14px;
}
.suggest,
.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.taglist {
  margin-top: 16px;
}

/* ---------- categories ---------- */
.catgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 700px) {
  .catgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1100px) {
  .catgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}
.cat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 132px;
  padding: 14px;
  border-radius: 20px;
  text-decoration: none;
  background:
    radial-gradient(130% 120% at 100% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 60%),
    var(--panel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, var(--line));
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.cat:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1.5px var(--c);
}
.cat-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  border-radius: 13px;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c);
}
.cat-ic .ic {
  width: 25px;
  height: 25px;
}
.cat-ic .emoji {
  font-size: 24px;
}
.cat-ic.big {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  margin: 14px 0 14px;
}
.cat-ic.big .ic {
  width: 36px;
  height: 36px;
}
.cat-ic.big .emoji {
  font-size: 34px;
}
.cat b {
  margin-top: 14px;
  font: 400 16px/1.1 var(--display);
  text-transform: uppercase;
}
.cat small {
  color: var(--ink-3);
  font-size: 13px;
}
.cat-blurb {
  display: none;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
}
@media (min-width: 700px) {
  .cat {
    min-height: 168px;
    padding: 18px;
  }
  .cat-blurb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.cat-head {
  position: relative;
  isolation: isolate;
  padding-bottom: 6px;
}
.cat-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -60px;
  width: 100vw;
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(60% 100% at 20% 0%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%);
  pointer-events: none;
}
.cat-head .crumb {
  display: flex;
  width: max-content;
}
.cat-head small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- search ---------- */
.searchbox {
  position: sticky;
  top: calc(var(--top-h) + 8px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 0 8px 0 14px;
  border-radius: 16px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1.5px var(--line-2), 0 10px 30px rgba(18, 14, 11, 0.8);
}
.searchbox:focus-within {
  box-shadow: inset 0 0 0 2px var(--hazard), 0 10px 30px rgba(18, 14, 11, 0.8);
}
.searchbox > .ic {
  color: var(--ink-3);
}
.searchbox input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 17px var(--body);
}
.searchbox input::placeholder {
  color: var(--ink-3);
}
.searchbox input::-webkit-search-cancel-button {
  display: none;
}
.searchbox .clear {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line-2);
  color: var(--ink);
  cursor: pointer;
}
.searchbox .clear .ic {
  width: 16px;
  height: 16px;
}
#results .sec:first-child {
  margin-top: 22px;
}

/* ---------- game page ---------- */
.game {
  position: relative;
  isolation: isolate;
}
.game-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: calc(-1 * var(--top-h));
  width: 100vw;
  height: 560px;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 70% at 18% 10%, color-mix(in srgb, var(--c) 42%, transparent), transparent 70%),
    radial-gradient(40% 60% at 90% 0%, rgba(255, 106, 19, 0.14), transparent 70%);
  pointer-events: none;
}
.game-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-top: 26px;
}
.game-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.game-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hazard);
  font: 700 12px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.game-cat .ic {
  width: 16px;
  height: 16px;
}
.game-head h1 {
  margin: 2px 0 0;
  font: 400 26px/1.02 var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.game-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.game-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
@media (max-width: 380px) {
  .game-head {
    gap: 14px;
  }
  .game-head .art.lg {
    width: 98px;
  }
  .game-head h1 {
    font-size: 22px;
  }
  .btn.play.big {
    padding: 13px 18px 12px;
    font-size: 15px;
  }
}
@media (min-width: 700px) {
  .game-head {
    gap: 30px;
    padding-top: 40px;
  }
  .game-head h1 {
    font-size: 44px;
  }
  .game-sub {
    font-size: 17px;
  }
}
.spec {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  grid-auto-columns: minmax(66px, 1fr);
  gap: 0;
  border-radius: 18px;
  background-color: var(--panel);
  background-image:
    radial-gradient(circle at 9px 9px, #4e3e2f 1.7px, transparent 2.3px),
    radial-gradient(circle at calc(100% - 9px) 9px, #4e3e2f 1.7px, transparent 2.3px),
    radial-gradient(circle at 9px calc(100% - 9px), #4e3e2f 1.7px, transparent 2.3px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #4e3e2f 1.7px, transparent 2.3px);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scroll-padding-inline: 0;
}
.spec li {
  min-width: 0;
}
.spec li > *,
.spec li {
  text-decoration: none;
}
.spec li,
.spec li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 8px 12px;
  text-align: center;
}
.spec li > a {
  padding: 0;
}
.spec li + li {
  border-left: 1px solid var(--line);
  margin: 10px 0;
  padding-top: 4px;
  padding-bottom: 2px;
}
.spec li:first-child {
  margin: 10px 0;
  padding-top: 4px;
  padding-bottom: 2px;
}
.spec small {
  font: 700 10.5px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.spec .ic,
.spec .emoji {
  width: 22px;
  height: 22px;
  color: var(--ink-2);
}
.spec b {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.shots {
  grid-auto-columns: auto;
  gap: 12px;
}
.shots {
  --sh: 400px;
}
.shots:has(.landscape):not(:has(.portrait)) {
  --sh: 210px;
}
.shot {
  display: block;
  height: var(--sh);
  width: calc(var(--sh) * var(--ar, 0.5625));
  max-width: calc(100vw - 2 * var(--gut) - 24px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
@media (min-width: 700px) {
  .shots {
    --sh: 460px;
  }
  .shots:has(.landscape):not(:has(.portrait)) {
    --sh: 300px;
  }
}
.game-cols {
  display: grid;
  gap: 8px;
}
@media (min-width: 900px) {
  .game-cols {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }
}
.about p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}
.game-info {
  margin-top: 30px;
}
.game-info dl {
  margin: 10px 0 0;
}
.game-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.game-info dt {
  color: var(--ink-3);
}
.game-info dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.buybar {
  position: fixed;
  z-index: 35;
  left: 10px;
  right: 10px;
  bottom: calc(var(--tab-h) + var(--safe-b) + 10px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 8px 8px 10px;
  border-radius: 18px;
  background: rgba(42, 32, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s var(--ease), opacity 0.2s, visibility 0s 0.25s;
}
.buybar.on {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.buybar .txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.buybar .txt b {
  font: 400 15px var(--display);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buybar .txt span {
  font-size: 12.5px;
  color: var(--ink-3);
}
@media (min-width: 900px) {
  .buybar {
    bottom: 20px;
  }
}

/* lightbox */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 6, 5, 0.94);
  display: grid;
  place-items: center;
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84dvh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox .iconbtn {
  position: fixed;
  background: rgba(42, 32, 24, 0.9);
}
.lightbox .x {
  top: 14px;
  right: 14px;
}
.lightbox .prev {
  left: 14px;
  top: 50%;
}
.lightbox .next {
  right: 14px;
  top: 50%;
}
.lb-count {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-2);
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tab-h) + var(--safe-b) + 84px);
  z-index: 120;
  transform: translate(-50%, 10px);
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- story page ---------- */
.story-hero {
  position: relative;
  isolation: isolate;
  margin-top: 12px;
  min-height: 420px;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  width: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: color-mix(in srgb, var(--c) 45%, #17110c);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
@media (min-width: 700px) {
  .story-hero {
    aspect-ratio: 16 / 8;
    min-height: 380px;
  }
}
.sh-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.sh-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0) 35%, rgba(10, 8, 6, 0.93) 90%);
}
.sh-txt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
}
.sh-txt .kicker {
  color: var(--hazard);
}
.sh-txt h1 {
  margin: 0;
  font: 400 31px/1 var(--display);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.sh-txt p {
  margin: 0;
  color: var(--ink);
  opacity: 0.88;
  font-size: 16px;
}
@media (min-width: 1100px) {
  .sh-txt {
    padding: 40px;
  }
  .sh-txt h1 {
    font-size: 50px;
  }
  .sh-txt p {
    font-size: 18px;
  }
}
.story-meta {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}
.story-meta b {
  color: var(--ink-2);
  font-weight: 600;
}
.prose {
  max-width: 680px;
  font-size: 17.5px;
  line-height: 1.68;
  color: #eadfcc;
}
.story .prose,
.story .story-meta {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}
.prose p {
  margin: 18px 0;
}
.prose h2 {
  margin: 36px 0 10px;
  font: 400 22px/1.1 var(--display);
  text-transform: uppercase;
  color: var(--ink);
}
.prose h3 {
  margin: 26px 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 24px;
  margin: 16px 0;
}
.prose li {
  margin: 8px 0;
  padding-left: 4px;
}
.prose li::marker {
  color: var(--rust);
  font-weight: 700;
}
.prose strong {
  color: var(--ink);
}
.prose a {
  color: var(--hazard);
  text-underline-offset: 3px;
}
.prose code {
  font-size: 0.9em;
  background: var(--panel-2);
  color: var(--hazard);
  padding: 2px 6px;
  border-radius: 6px;
}
.prose blockquote {
  margin: 26px 0;
  padding: 4px 20px;
  border-left: 5px solid var(--hazard);
  border-radius: 0 14px 14px 0;
  background: var(--panel);
}
.prose blockquote p {
  margin: 12px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.prose hr {
  height: 8px;
  border: 0;
  margin: 34px 0;
  border-radius: 4px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 8px, #1b130b 8px 16px);
  opacity: 0.85;
}
.prose figure {
  margin: 26px 0;
}
.prose figure img {
  border-radius: 16px;
  width: 100%;
}
.prose .md-game {
  margin: 24px 0;
  padding: 4px 14px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  line-height: 1.45;
}
.prose .md-game .row {
  border-bottom: 0;
}
.story-games {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- empty / not found / skeleton ---------- */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  border: 2px dashed var(--line);
  border-radius: var(--r-card);
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-2);
}
.empty .ic {
  width: 40px;
  height: 40px;
  color: var(--ink-3);
}
.empty p {
  margin: 0;
}
.notfound {
  padding: 70px 16px;
  text-align: center;
}
.notfound .ic.big {
  width: 76px;
  height: 76px;
  color: var(--ink-3);
  margin: 0 auto 14px;
  display: block;
  stroke-width: 1.6;
}
.notfound h1 {
  margin: 0 0 8px;
  font: 400 30px/1.05 var(--display);
  text-transform: uppercase;
}
.notfound p {
  color: var(--ink-2);
}
.notfound .btn {
  margin: 4px;
}
.sk-line,
.sk-block,
.sk-pill,
.tile.sk .art {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #211912 0%, #2c2219 40%, #211912 80%);
  background-size: 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk-line {
  height: 14px;
  margin: 8px 0;
  width: 80%;
}
.sk-line.short {
  width: 50%;
}
.sk-line.w30 {
  width: 30%;
}
.sk-line.w40 {
  width: 40%;
}
.sk-line.w50 {
  width: 50%;
}
.sk-line.w60 {
  width: 60%;
}
.sk-line.h20 {
  height: 20px;
}
.sk-line.h28 {
  height: 28px;
  width: 70%;
}
.sk-line.h34 {
  height: 34px;
}
.sk-pill {
  width: 150px;
  height: 46px;
  border-radius: 14px;
  margin-top: 12px;
}
.sk-block.card-sk {
  aspect-ratio: 4 / 5;
  max-height: 600px;
  border-radius: var(--r-card);
}
@media (min-width: 900px) {
  .sk-block.card-sk {
    aspect-ratio: auto;
    height: 540px;
  }
}
.sk-block.shots-sk {
  height: 300px;
  margin: 24px 0;
  border-radius: 18px;
}
.skeleton .art.lg {
  transform: none;
  box-shadow: none;
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -50% 0;
  }
}

/* ---------- footer ---------- */
.foot {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  padding: 22px 0 30px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.foot a {
  color: var(--ink-2);
}
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-2);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.foot > .wrap > .linkbtn,
.foot > .wrap > a {
  margin-left: 14px;
}

/* ---------- play page ---------- */
body.play-page {
  overflow-x: hidden;
}
.play-top .wrap {
  max-width: none;
  gap: 10px;
}
.play-top .logo .mark {
  width: 30px;
  height: 30px;
}
.play-top .iconbtn {
  width: 40px;
  height: 40px;
}
.play-top .title {
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 0 18px; /* the game touches the top bar and the bottom of the window */
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}
.stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}
.frame {
  position: relative;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.55);
  height: calc(100vh - var(--top-h) - 48px);
  height: calc(100dvh - var(--top-h) - 48px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
}
.frame.landscape {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}
.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.frame .loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-3);
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid var(--line-2);
  border-top-color: var(--hazard);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ---------- full screen (play page) ---------- */
.frame-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}
.frame-col:has(.frame.landscape) {
  width: 100%;
}
/* the button sits in the free space right of a portrait game, level with its bottom edge (takes no height) */
.stage-tools {
  position: absolute;
  left: 100%;
  bottom: 14px;
  margin-left: 12px;
  display: flex;
}
/* a landscape game spans the column: the button goes under it, where the height is not needed */
.frame-col:has(.frame.landscape) .stage-tools {
  position: static;
  margin: 0;
}
.fsbtn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--ink);
  font: 600 13px var(--body);
  cursor: pointer;
}
.fsbtn:hover {
  border-color: var(--hazard);
  color: var(--hazard);
}
.fsbtn:focus-visible,
.fs-exit:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 2px;
}
.fsbtn svg,
.fs-exit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fs-exit {
  position: absolute;
  z-index: 3;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 14, 11, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.fs-exit:hover {
  background: rgba(18, 14, 11, 0.92);
}
/* full screen: the frame covers the screen; the game keeps its own aspect, centred, letterboxed on black */
.frame.is-fs,
.frame:fullscreen {
  border-radius: 0;
  box-shadow: none;
  background: #000;
  max-height: none;
  max-width: none;
  container-type: size;
}
.frame:fullscreen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.frame.pseudo-fs {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  aspect-ratio: auto;
}
.frame.is-fs iframe {
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --sl: env(safe-area-inset-left, 0px);
  --sr: env(safe-area-inset-right, 0px);
  inset: var(--st) var(--sr) var(--sb) var(--sl);
  margin: auto;
  width: min(calc(100cqw - var(--sl) - var(--sr)), calc((100cqh - var(--st) - var(--sb)) * 9 / 16));
  height: min(calc(100cqh - var(--st) - var(--sb)), calc((100cqw - var(--sl) - var(--sr)) * 16 / 9));
}
.frame.landscape.is-fs iframe {
  width: min(calc(100cqw - var(--sl) - var(--sr)), calc((100cqh - var(--st) - var(--sb)) * 16 / 9));
  height: min(calc(100cqh - var(--st) - var(--sb)), calc((100cqw - var(--sl) - var(--sr)) * 9 / 16));
}
html.fs-lock,
html.fs-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}
.rail h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  margin: 22px 0 10px;
  text-transform: uppercase;
}
.rail-about {
  padding: 16px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rail-about .about {
  margin: 0 0 12px;
}
.rail-about .about:empty {
  display: none;
}
.rail-list {
  display: flex;
  flex-direction: column;
}
.rail-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.rail-item:last-child {
  border-bottom: 0;
}
.rail-item:hover b {
  color: var(--hazard);
}
.rail-item .thumb {
  width: 52px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--accent, var(--mud));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.rail-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail-item .txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rail-item b {
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}
.rail-item span,
.rail-item small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-item span {
  color: var(--ink-2);
  font-size: 13px;
}
.rail-item small {
  color: var(--ink-3);
  font-size: 12px;
}
.pill-play {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 194, 26, 0.13);
  color: var(--hazard) !important;
  font: 800 12px/1 var(--body) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
}
.about.fine {
  font-size: 13px;
  color: var(--ink-3);
}
.about.fine a {
  color: var(--ink-2);
}
.notfound {
  padding: 60px 16px;
  text-align: center;
}
@media (max-width: 880px) {
  .play-layout {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .frame {
    border-radius: 0;
    box-shadow: none;
    width: 100vw;
    max-width: none;
    height: calc(100vh - var(--top-h));
    height: calc(100dvh - var(--top-h));
    max-height: none;
    aspect-ratio: auto;
  }
  .frame.landscape {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .rail {
    padding: 22px 16px 34px;
  }
}
.play-top .acct,
.play-top #more {
  flex: none;
}
#more .short {
  display: none;
}
@media (max-width: 520px) {
  .play-top .logo {
    display: none;
  }
  .play-top .wrap {
    gap: 8px;
    padding: 0 12px;
  }
  #more .long {
    display: none;
  }
  #more .short {
    display: inline;
  }
}

@media (max-width: 899px) {
  .logo .word {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- cookie consent ---------- */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  gap: 14px 18px;
  align-items: center;
  flex-wrap: wrap;
}
.has-tabbar .consent {
  bottom: calc(var(--tab-h) + var(--safe-b) + 10px);
}
@media (min-width: 900px) {
  .has-tabbar .consent {
    bottom: 16px;
  }
}
.consent p {
  margin: 0;
  flex: 1 1 320px;
  color: var(--ink-2);
  font-size: 14px;
}
.consent p b {
  color: var(--ink);
}
.consent .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.legal {
  max-width: 780px;
  padding-top: 28px;
  padding-bottom: 40px;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 8px 0;
}
.legal th,
.legal td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal th {
  color: var(--ink-3);
  font-weight: 600;
}
.legal code {
  color: var(--hazard);
}
.tablewrap {
  overflow-x: auto;
}
.tag {
  font: 600 11px var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}
.choice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0;
}
.choice input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--rust);
  flex: none;
}
.choice b {
  display: block;
  color: var(--ink);
}
.choice span {
  color: var(--ink-2);
  font-size: 14px;
}
.saved {
  color: var(--ok);
  margin-left: 12px;
}

/* ---------- accounts ---------- */
.acct {
  display: inline-flex;
  min-width: 0;
}
.acct-btn {
  max-width: 190px;
  min-width: 0;
}
.acct-btn .lbl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-btn .avatar {
  flex: none;
  width: 22px;
  height: 22px;
  margin: -4px 0;
  border-radius: 50%;
  background: var(--rust);
  color: #1b130b;
  display: grid;
  place-items: center;
  font: 400 12px/1 var(--display);
}
.modal {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 26px 22px 22px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.modal::backdrop {
  background: rgba(10, 8, 6, 0.72);
  backdrop-filter: blur(3px);
}
.modal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.modal .x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal .x:hover {
  color: var(--ink);
  background: var(--bg-2);
}
.sub {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 16px;
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
}
.tabs button {
  border: 0;
  border-radius: 9px;
  padding: 10px 8px;
  background: transparent;
  color: var(--ink-2);
  font: 700 14px var(--body);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  color: var(--bg);
}
.authform {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.authform label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 600 13px var(--body);
  color: var(--ink-2);
}
.authform input {
  font: 400 16px var(--body);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
}
.authform input:focus {
  border-color: var(--hazard);
}
.authform small {
  font-weight: 400;
  color: var(--ink-3);
}
.authform .btn {
  align-self: stretch;
}
.authform.inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
}
.authform.inline label {
  flex: 1 1 220px;
}
.authform.inline .btn {
  align-self: flex-end;
}
.authform.inline .err {
  flex-basis: 100%;
}
.err {
  margin: 0;
  color: #ff8a65;
  font-size: 14px;
}
.err:empty {
  display: none;
}
.fine {
  margin: 0;
  color: var(--ink-3);
  font-size: 12px;
}
.fine a {
  color: var(--ink-2);
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--ink-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--line);
}
.gsi {
  display: flex;
  justify-content: center;
  min-height: 44px;
}
.btn.google {
  width: 100%;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn.danger {
  background: #e5484d;
  color: #fff;
  box-shadow: 0 4px 0 #8f1f23;
}
.account .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px 20px;
  margin: 16px 0;
}
.account .panel h2 {
  margin-top: 0;
}
.account .panel.danger {
  border-color: #5a2a24;
}
.account .panel.center {
  text-align: center;
}
.account .panel p {
  margin: 0 0 14px;
}
.account .panel.danger .authform {
  max-width: 360px;
}
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  margin: 0 0 16px;
  font-size: 15px;
}
.facts dt {
  color: var(--ink-3);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.account > .fine {
  margin-top: 18px;
}
@media (max-width: 520px) {
  .hide-narrow {
    display: none;
  }
  .play-top .acct-btn .lbl {
    display: none;
  }
  .play-top .acct-btn:not(:has(.avatar)) .lbl {
    display: inline;
  }
}

/* ---------- sign-in reminder (portal/reminder.js) ---------- */
.signin-nudge {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
}
.signin-nudge .sn-ic {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 194, 26, 0.12);
  color: var(--hazard);
}
.signin-nudge .sn-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.signin-nudge .sn-txt {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
}
.signin-nudge .sn-txt b {
  color: var(--ink);
}
.signin-nudge .sn-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.signin-nudge .sn-later {
  color: var(--ink-3);
  padding: 8px 6px;
  min-height: 36px;
}
.signin-nudge .sn-x {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.signin-nudge .sn-x:hover,
.signin-nudge .sn-later:hover {
  color: var(--ink);
}
.signin-nudge :focus-visible {
  outline: 2px solid var(--hazard);
  outline-offset: 2px;
}
/* store pages: a slim card floating above the tab bar (no layout shift) */
.signin-nudge.float {
  position: fixed;
  z-index: 90;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tab-h) + var(--safe-b) + 10px);
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 44px 14px 14px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: nudge-in 0.28s var(--ease) both;
}
@media (min-width: 900px) {
  .signin-nudge.float {
    left: auto;
    right: 24px;
    bottom: 24px;
    margin: 0;
    max-width: 440px;
  }
}
/* play page: a strip between the header and the game; the frame gets shorter by its height (--strip-h) */
.signin-nudge.strip {
  position: relative;
  padding: 10px 48px 10px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
}
.signin-nudge.strip .sn-txt span {
  color: var(--ink-2);
}
@media (max-width: 520px) {
  .signin-nudge.strip {
    padding: 8px 44px 8px 12px;
    gap: 6px 10px;
    font-size: 13px;
  }
  .signin-nudge.strip .sn-ic {
    display: none;
  }
  .signin-nudge.strip .btn.small {
    padding: 7px 12px;
  }
}
@keyframes nudge-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.frame {
  height: calc(100dvh - var(--top-h) - var(--strip-h, 0px));
}
.play-layout > .rail {
  padding: 18px 0 30px;
}
@media (max-width: 880px) {
  .frame {
    height: calc(100dvh - var(--top-h) - var(--strip-h, 0px));
  }
  .frame-col {
    width: 100%;
    gap: 0;
  }
  /* phones: games are made for this screen, no full-screen control */
  .stage-tools {
    display: none;
  }
  .frame.landscape {
    height: auto;
  }
}
/* after the third "Not now": a quiet dot on Sign in */
.acct-btn .acct-hint {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hazard);
  flex: none;
  margin-left: -2px;
}

/* ---------- account: saved games ---------- */
.saves {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.saves li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.saves .sv-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.saves .sv-txt small {
  color: var(--ink-3);
}
@media (max-width: 520px) {
  .signin-nudge.float {
    padding: 12px 40px 12px 14px;
    font-size: 13.5px;
    gap: 8px 12px;
  }
  .signin-nudge.float .sn-ic {
    display: none;
  }
}

/* ---------- age ratings ---------- */
.agebadge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  font: 700 13px/1 var(--body);
  letter-spacing: 0.02em;
  color: #111;
  background: #9fd36b;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18);
  vertical-align: middle;
  flex: none;
}
.agebadge.a7 { background: #9fd36b; }
.agebadge.a12 { background: #ffc21a; }
.agebadge.a16 { background: #ff8a3d; }
.agebadge.a18 { background: #e5484d; color: #fff; }
.agebadge.sm {
  min-width: 0;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 11px;
  margin-left: 6px;
}
abbr.agebadge {
  text-decoration: none;
  cursor: help;
}
.tile-art .agebadge.sm,
.poster-art .agebadge.sm {
  position: absolute;
  right: 6px;
  bottom: 6px;
  margin: 0;
}
.agebadge.big {
  min-width: 72px;
  height: 56px;
  font-size: 26px;
  border-radius: 14px;
  margin-bottom: 8px;
}
.game-actions .agebadge {
  height: 36px;
  min-width: 44px;
  font-size: 15px;
}
.spec .agebadge {
  height: 22px;
  min-width: 30px;
  font-size: 12px;
}
.agefilter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 4px 0 14px;
}
.agefilter .lbl {
  color: var(--ink-3);
  font-size: 13px;
  margin-right: 2px;
}
.agefilter .chip[aria-pressed='true'] {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
#app[data-agef] [data-age]:not([data-age-ok]) {
  display: none !important;
}
#app [data-agehide] {
  display: none !important;
}
.agegate p {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- gameplay preview videos (portal/previews.js) ---------- */
/* the clip sits exactly over the cover image (same box, object-fit: cover) and cross-fades in once it plays */
.art > video.pv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.15s var(--ease, ease);
  pointer-events: none;
  background: transparent;
}
.art.pv-on > video.pv {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .art > video.pv {
    display: none;
  }
}
