:root {
  --night: #140c2b;
  --navy: #1e1442;
  --plum: #2c1d5e;
  --teal: #2ad1c4;
  --pink: #ff3d9a;
  --orange: #ff9a3c;
  --yellow: #ffd23f;
  --ink: #f4eefe;
  --mute: #b9addb;
  --paper: #f6efdc;
  --paper-ink: #2a1f3d;
  --display: "Righteous", system-ui, sans-serif;
  --body: "Chakra Petch", system-ui, sans-serif;
  --pix: "Press Start 2P", ui-monospace, monospace;
  --hud-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 12px); }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .01em; }
h2 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.small { font-size: 15px; color: var(--mute); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; font: 600 16px/1 var(--body); text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 4px 4px 0 var(--yellow); }
.btn-pink:hover { box-shadow: 6px 6px 0 var(--yellow); }
.btn-teal { background: var(--teal); color: var(--night); box-shadow: 4px 4px 0 var(--pink); }
.btn-ghost { border-color: var(--teal); color: var(--ink); }
.btn-ghost:hover { box-shadow: 4px 4px 0 var(--teal); }

/* HUD */
.hud { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(20, 12, 43, .92); backdrop-filter: blur(8px); border-bottom: 2px solid var(--plum); }
.hud-in { height: var(--hud-h); display: flex; align-items: center; gap: 22px; padding: 0 20px; max-width: 1400px; margin: 0 auto; }
.hud-brand img { width: 44px; height: 44px; }
.hud-stats { display: flex; gap: 22px; margin: 0; font-family: var(--pix); font-size: 11px; }
.hud-stats div { display: grid; gap: 6px; }
.hud-stats dt { color: var(--pink); }
.hud-stats dd { margin: 0; color: var(--ink); }
.hud-stats .inf { font: 700 18px/10px var(--body); }
.hud-nav { display: flex; gap: 18px; margin-left: auto; }
.hud-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.hud-nav a:hover { color: var(--teal); }
.btn-hud { background: var(--teal); color: var(--night); min-height: 40px; padding: 10px 16px; }
.btn-hud .sm { display: none; }
.hud-bar { height: 4px; background: rgba(255, 255, 255, .06); }
.hud-bar b { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: repeating-linear-gradient(90deg, var(--yellow) 0 10px, transparent 10px 13px); }

/* Attract screen */
.attract { position: relative; min-height: 100svh; padding: calc(var(--hud-h) + 48px) 0 90px; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #140c2b 0%, #2c1d5e 38%, #a2307e 62%, #ff7a59 78%, #140c2b 78.2%); }
.sun { position: absolute; left: 70%; top: 20%; width: min(62vw, 560px); aspect-ratio: 1; transform: translate(-50%, 0) translateY(calc(var(--hp, 0) * 18%)); border-radius: 50%; background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 45%, var(--pink) 100%); -webkit-mask: linear-gradient(#000 52%, transparent 52%), repeating-linear-gradient(180deg, transparent 0 12px, #000 12px 26px); mask: linear-gradient(#000 52%, transparent 52%), repeating-linear-gradient(180deg, transparent 0 12px, #000 12px 26px); opacity: .9; }
.grid-floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 22%; z-index: -1; transform: perspective(300px) rotateX(62deg); transform-origin: 50% 0; background: linear-gradient(var(--pink) 2px, transparent 2px) 0 0 / 100% 40px, linear-gradient(90deg, var(--pink) 2px, transparent 2px) 0 0 / 60px 100%, #140c2b; animation: floor 1.4s linear infinite; opacity: .85; }
@keyframes floor { to { background-position: 0 40px, 0 0, 0 0; } }
.attract-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker { font-family: var(--pix); font-size: 12px; color: var(--teal); letter-spacing: .04em; line-height: 1.8; }
.logo-type { display: grid; margin: .1em 0 .3em; text-shadow: 0 0 22px rgba(255, 61, 154, .45); }
.lt-small { font-family: var(--pix); font-size: clamp(14px, 1.8vw, 20px); color: var(--yellow); letter-spacing: .12em; margin-bottom: .6em; }
.lt-big { font-size: clamp(3.2rem, 8.4vw, 7.4rem); line-height: .92; background: linear-gradient(180deg, #fff 0%, #cfe9ff 45%, #6c4bd8 50%, var(--teal) 70%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); }
.lede { font-size: clamp(19px, 1.7vw, 22px); max-width: 30ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 12px; }
.dot { width: 12px; height: 12px; background: var(--mute); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.is-open .dot { background: #4cff8a; box-shadow: 0 0 10px #4cff8a; }
.rating-chip { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; font-size: 15px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.rating-chip b { color: var(--yellow); }
.stars { color: var(--yellow); letter-spacing: 1px; }

.crt { margin: 0; position: relative; padding: 22px 22px 54px; background: linear-gradient(160deg, #3b2a7a, #1e1442); border-radius: 26px; box-shadow: 10px 10px 0 var(--pink), inset 0 0 0 3px rgba(255, 255, 255, .08); }
.crt-screen { position: relative; border-radius: 18px / 26px; overflow: hidden; aspect-ratio: 1; background: #000; }
.crt-screen img { width: 100%; height: 100%; object-fit: cover; }
.crt-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55)); }
.press-start { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--pix); font-size: 13px; color: var(--yellow); animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* Stages */
.stage { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.stage-card { display: inline-block; font-family: var(--pix); font-size: 12px; line-height: 1.6; letter-spacing: .05em; color: var(--night); background: var(--yellow); padding: 8px 12px; margin-bottom: 22px; box-shadow: 4px 4px 0 var(--pink); }
.stage-card.dark { background: var(--paper-ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }

/* Store */
.store { background: var(--navy); padding-bottom: 60px; }
.store h2 { max-width: 14ch; }
.count { color: var(--yellow); font-variant-numeric: tabular-nums; }
.store-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.store-copy p { max-width: 54ch; }
.aside { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; color: var(--teal); border-left: 4px solid var(--pink); padding-left: 18px; }
.aside cite { display: block; font: 500 14px var(--body); color: var(--mute); margin-top: 8px; font-style: normal; }
.scroller { margin-top: 30px; }
.scroller-stick { position: relative; overflow: hidden; padding: 20px 0 0; }
.level { display: flex; gap: 22px; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; margin: 0; width: min(78vw, 440px); scroll-snap-align: start; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--plum); }
.shot.tall img { aspect-ratio: 4 / 5; }
.shot figcaption { font-size: 15px; color: var(--mute); margin-top: 12px; }
.ground { position: relative; height: 56px; margin-top: 14px; border-top: 4px solid var(--teal); background: repeating-linear-gradient(90deg, #3b2a7a 0 16px, #2c1d5e 16px 32px); }
.runner { position: absolute; left: 0; bottom: 100%; width: 48px; height: 64px; transform: translateX(var(--rx, 20px)); }
.runner .lb { visibility: hidden; }
.walking .runner .la { animation: legA .3s steps(1) infinite; }
.walking .runner .lb { animation: legB .3s steps(1) infinite; }
@keyframes legA { 50% { visibility: hidden; } }
@keyframes legB { 0% { visibility: hidden; } 50% { visibility: visible; } }
.coins { position: absolute; right: 20px; top: 14px; font-family: var(--pix); font-size: 12px; color: var(--yellow); }
.stat-row { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-row li { border: 2px solid var(--plum); padding: 22px; font-size: 17px; color: var(--mute); }
.stat-row b { display: block; font: 400 2.4rem/1 var(--display); color: var(--ink); margin-bottom: 6px; }

/* Arcade */
.arcade { background: #0c0620; overflow: hidden; isolation: isolate; }
.carpet { position: absolute; inset: -20% 0; z-index: -1; opacity: .5; translate: 0 var(--py, 0); background:
  radial-gradient(circle at 20% 30%, var(--pink) 0 3px, transparent 4px) 0 0 / 140px 140px,
  radial-gradient(circle at 70% 60%, var(--teal) 0 3px, transparent 4px) 0 0 / 180px 180px,
  radial-gradient(circle at 40% 80%, var(--yellow) 0 2px, transparent 3px) 0 0 / 110px 110px; }
.arcade-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.arcade-copy p { max-width: 46ch; }
.coin { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(circle at 35% 30%, #fff6c2, var(--yellow) 40%, #d79a12 100%); box-shadow: inset 0 0 0 6px #e7b022, inset 0 0 0 9px #fff2a8, 0 0 30px rgba(255, 210, 63, .35); rotate: y calc((var(--spin, .5) - .5) * 140deg); }
.coin span { font: 400 2.6rem var(--display); color: #6b3d00; }
.fine { font-family: var(--pix); font-size: 12px; line-height: 1.9; color: var(--yellow); border: 2px dashed rgba(255, 210, 63, .5); padding: 14px; }
.cabinet-wall { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; gap: 16px; }
.cab { margin: 0; position: relative; translate: 0 var(--py, 0); }
.cab img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px 10px 4px 4px; border: 3px solid var(--plum); box-shadow: 0 0 24px rgba(255, 61, 154, .25); }
.c1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.c2 { grid-column: 5 / 7; grid-row: 1 / 5; }
.c3 { grid-column: 1 / 3; grid-row: 4 / 7; }
.c4 { grid-column: 3 / 7; grid-row: 5 / 7; }
.ooo { position: absolute; left: -10px; bottom: 18px; background: var(--paper); color: var(--paper-ink); font: 600 13px/1.3 var(--body); padding: 6px 10px; rotate: -6deg; box-shadow: 3px 3px 0 var(--pink); max-width: 170px; }

/* Trade */
.trade { background: var(--navy); }
.trade-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.slot-art { position: relative; height: 440px; }
.console { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, #d8d1e8, #a99fc4); border-radius: 12px; box-shadow: 8px 8px 0 var(--pink); }
.console .slot { position: absolute; left: 22%; right: 22%; top: 0; height: 18px; background: #1e1442; border-radius: 0 0 6px 6px; }
.console .led { position: absolute; left: 24px; bottom: 26px; width: 14px; height: 14px; border-radius: 50%; background: #5a2030; transition: background .3s, box-shadow .3s; }
.slotted .console .led { background: #ff2a4a; box-shadow: 0 0 14px #ff2a4a; }
.cart { position: absolute; left: 26%; right: 26%; bottom: 140px; height: 220px; background: #6e6587; border-radius: 10px 10px 4px 4px; transform: translateY(calc(var(--slot, 0) * 120px)); box-shadow: inset 0 -16px 0 rgba(0, 0, 0, .2); }
.cart::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10px; height: 10px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 6px, transparent 6px 10px); }
.cart span { position: absolute; left: 12%; right: 12%; top: 34px; height: 110px; display: grid; place-items: center; text-align: center; padding: 10px; background: linear-gradient(160deg, var(--orange), var(--pink)); color: #fff; font: 400 1.3rem/1.1 var(--display); border-radius: 4px; }
.steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 16px; font-weight: 600; padding: 14px 16px; border: 2px solid var(--plum); }
.steps b { font-family: var(--pix); font-size: 12px; color: var(--night); background: var(--teal); width: 34px; height: 34px; display: grid; place-items: center; flex: none; }

/* Bonus */
.bonus { background: var(--night); }
.parties { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
.party { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border: 2px solid var(--plum); }
.party img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.party-body { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.party h3 { font-size: 1.9rem; color: var(--teal); }
.party .meta { font-size: 17px; margin-top: auto; }
.party .meta b { font: 400 2rem var(--display); color: var(--yellow); }
.note { margin-top: 22px; color: var(--mute); font-size: 16px; }
.select-title { margin-top: 90px; font-family: var(--pix); font-size: clamp(16px, 2.4vw, 24px); color: var(--yellow); text-align: center; line-height: 1.5; }
.players { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.player { position: relative; background: var(--navy); border: 3px solid var(--plum); padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .2s, transform .2s; }
.player:hover, .player.hot { border-color: var(--pink); }
.player:hover { transform: translateY(-4px); }
.player .tag { font-family: var(--pix); font-size: 12px; color: var(--night); background: var(--teal); padding: 6px 8px; margin-bottom: 18px; }
.player.hot .tag { background: var(--pink); color: #fff; }
.player h4 { font-size: 1.7rem; margin-bottom: .2em; }
.price b { font: 400 2.6rem var(--display); color: var(--yellow); }
.player ul { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 8px; font-size: 16px; color: var(--mute); }
.player li::before { content: "\25B8"; color: var(--teal); margin-right: 8px; }
.player .btn { margin-top: auto; }

/* Events */
.events { background: var(--navy); overflow: hidden; padding-top: 0; }
.marquee { border-block: 3px solid var(--pink); background: var(--night); padding: 16px 0; margin-bottom: clamp(70px, 9vw, 120px); overflow: hidden; }
.marquee-in { display: inline-block; white-space: nowrap; font: 400 clamp(1.4rem, 3vw, 2.4rem) var(--display); color: var(--teal); text-shadow: 0 0 14px rgba(42, 209, 196, .6); translate: var(--mx, 0) 0; }
.intro { max-width: 52ch; }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 30px 0 36px; }
.ev-photo { margin: 0; translate: 0 var(--py, 0); }
.ev-photo img { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--teal); }
.ev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ev-list li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 16px; color: var(--mute); }
.ev-list b { display: block; font: 400 1.35rem var(--display); color: var(--ink); margin-bottom: 2px; }
.when { float: right; font-family: var(--pix); font-size: 11px; color: var(--pink); margin-top: 6px; }

/* Manual */
.manual { background: var(--night); overflow: hidden; }
.manual-in { position: relative; display: grid; place-items: center; }
.asterisk { position: absolute; left: -2%; top: -10%; font: 400 min(70vw, 620px)/1 var(--display); color: var(--plum); opacity: .7; translate: 0 calc(var(--ast, 0) * 120px); rotate: calc(var(--ast, 0) * 180deg); pointer-events: none; }
.motion .page { rotate: calc(-1deg + (var(--ast, .5) - .5) * -4deg); }
.page { position: relative; max-width: 760px; background: var(--paper); color: var(--paper-ink); padding: clamp(28px, 5vw, 60px); box-shadow: 12px 12px 0 var(--pink); rotate: -1deg; }
.page h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--paper-ink); }
.page p { font-size: 18px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0; border-top: 2px solid var(--paper-ink); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(42, 31, 61, .35); font-size: 16px; }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; text-align: right; }
.sign { font-family: var(--display); font-size: 1.35rem; color: #b3266d; margin: 0; }

/* Score */
.score { background: linear-gradient(180deg, var(--night), #2c1d5e); padding: 90px 0; text-align: center; }
.score-in { display: grid; justify-items: center; }
.pix { font-family: var(--pix); font-size: 12px; color: var(--pink); }
.big { display: flex; align-items: center; gap: 22px; margin: 4px 0 6px; }
.big b { font: 400 clamp(4rem, 10vw, 7rem)/1 var(--display); color: var(--yellow); }
.pstars { display: flex; gap: 8px; }
.pstars i { width: 30px; height: 30px; background: rgba(255, 255, 255, .15); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%); transition: background .3s; }
.pstars i.on { background: var(--yellow); }
.score .btn { margin-top: 14px; }

/* Continue */
.continue { background: #0c0620; }
.cont-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.cont-head h2 { font-family: var(--pix); font-size: clamp(1.6rem, 5vw, 3.4rem); color: var(--pink); line-height: 1.3; text-transform: uppercase; }
.countdown { font-family: var(--pix); font-size: clamp(2.4rem, 7vw, 5rem); color: var(--yellow); font-variant-numeric: tabular-nums; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; margin-top: 30px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; margin: 10px 0 24px; font-size: 17px; }
.hours caption { text-align: left; font-family: var(--pix); font-size: 11px; color: var(--teal); padding-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 500; }
.hours td { text-align: right; }
.hours tr.today { color: var(--yellow); }
.hours tr.today th::before { content: "\25B6"; font-size: 11px; margin-right: 8px; }
.addr { font-size: 19px; }
.addr span { color: var(--mute); font-size: 16px; }
.map { min-height: 420px; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); background: var(--navy); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: hue-rotate(200deg) saturate(.7); }

/* Footer */
.foot { background: var(--night); border-top: 2px solid var(--plum); padding: 50px 0 90px; font-size: 16px; color: var(--mute); }
.foot-in { display: flex; gap: 26px; align-items: flex-start; }
.foot img { width: 80px; flex: none; }
.foot b { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.links a { color: var(--teal); }

.draft-ribbon { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 30; background: var(--ink); color: var(--night); font-size: 13px; padding: 7px 16px; border-radius: 999px; white-space: nowrap; }

/* Entrances */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Scroll motion (html.motion is skipped for reduced motion) */
.motion .attract-copy { translate: 0 calc(var(--hp, 0) * -60px); opacity: calc(1 - var(--hp, 0) * .9); }
.motion .crt { translate: 0 calc(var(--hp, 0) * 80px); scale: calc(1 - var(--hp, 0) * .12); rotate: calc(var(--hp, 0) * 4deg); }
.motion .scroller { height: var(--pin-h, auto); }
.motion .scroller-stick { position: sticky; top: var(--hud-h); height: calc(100svh - var(--hud-h)); display: flex; flex-direction: column; justify-content: center; }
.motion .level { overflow: visible; scroll-snap-type: none; translate: var(--lx, 0) 0; width: max-content; }
.motion .shot { width: min(56vh, 74vw, 460px); }
.motion .shot.tall { margin-top: -40px; }

@media (max-width: 1100px) {
  .hud-nav { display: none; }
  .btn-hud { margin-left: auto; }
}
@media (max-width: 900px) {
  .attract-in, .arcade-in, .trade-in, .visit-grid, .ev-grid, .store-copy { grid-template-columns: 1fr; }
  .attract { padding-top: calc(var(--hud-h) + 30px); }
  .crt { max-width: 460px; }
  .sun { left: 50%; top: auto; bottom: 8%; width: min(90vw, 460px); }
  .parties { grid-template-columns: 1fr; }
  .players { grid-template-columns: 1fr; }
  .slot-art { height: 340px; max-width: 360px; }
  .cart { height: 170px; bottom: 120px; }
  .cart span { height: 80px; top: 28px; }
}
@media (max-width: 640px) {
  :root { --hud-h: 58px; }
  body { font-size: 17px; }
  .hud-in { gap: 14px; padding: 0 14px; }
  .hud-stats { gap: 14px; font-size: 10px; }
  .hide-sm { display: none !important; }
  .btn-hud .lg { display: none; }
  .btn-hud .sm { display: inline; }
  .party { grid-template-columns: 1fr; }
  .party img { min-height: 200px; aspect-ratio: 16 / 9; }
  .stat-row { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .cabinet-wall { grid-auto-rows: 64px; gap: 10px; }
  .ooo { font-size: 12px; max-width: 130px; left: -4px; }
  .ctas .btn { flex: 1 1 100%; }
  .draft-ribbon { bottom: 8px; font-size: 13px; }
  .draft-ribbon .rb-long { display: none; }
  .when { float: none; display: block; margin: 0 0 6px; }
}
@media (max-width: 380px) { .hide-xs { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .grid-floor, .press-start { animation: none; }
  html { scroll-behavior: auto; }
}
