:root {
  --ink: #120812;
  --void: #05030b;
  --panel: #20122f;
  --panel-2: #30184e;
  --line: #08040a;
  --cream: #fff3c4;
  --cyan: #00e5ff;
  --green: #59ff4d;
  --yellow: #ffe347;
  --orange: #ff8a18;
  --red: #ff355e;
  --pink: #ff4fd8;
  --blue: #2774ff;
  --shadow: 8px 8px 0 var(--line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(5, 3, 11, .72), rgba(5, 3, 11, .96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 36px),
    linear-gradient(135deg, #101044, #1c0638 45%, #09030d);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
}

body.is-transitioning {
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.pixel-sky,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.pixel-sky {
  z-index: -2;
  image-rendering: pixelated;
}

.scanlines {
  z-index: 20;
  opacity: .12;
  background: repeating-linear-gradient(180deg, transparent 0 4px, #000 4px 6px);
  mix-blend-mode: multiply;
}

.boot-screen,
.page-wipe {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scroll-hud {
  position: fixed;
  left: clamp(16px, 4vw, 48px);
  right: clamp(16px, 4vw, 48px);
  bottom: 18px;
  z-index: 25;
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 4px solid var(--line);
  background: rgba(8, 5, 9, .78);
  box-shadow: 5px 5px 0 var(--line);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.scroll-hud strong,
.scroll-hud em {
  font-style: normal;
  white-space: nowrap;
}

.scroll-hud strong {
  color: var(--green);
}

.scroll-hud em {
  color: var(--yellow);
}

.scroll-meter {
  height: 12px;
  border: 3px solid var(--line);
  background: #080509;
  overflow: hidden;
}

.scroll-meter span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--yellow) 14px 28px, var(--green) 28px 42px, var(--cyan) 42px 56px);
}

.pixel-trail {
  position: fixed;
  z-index: 35;
  width: 10px;
  height: 10px;
  pointer-events: none;
  background: var(--trail-color, var(--cyan));
  box-shadow: 4px 4px 0 var(--line);
  animation: trail-pop .55s steps(5, end) forwards;
}

.cart-launcher {
  position: fixed;
  right: clamp(16px, 4vw, 48px);
  bottom: 78px;
  z-index: 28;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.sfx-toggle,
.music-toggle {
  position: fixed;
  right: clamp(16px, 4vw, 48px);
  bottom: 18px;
  z-index: 29;
  min-height: 44px;
  padding: 10px 12px;
  border: 4px solid var(--line);
  background: var(--cyan);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.music-toggle {
  right: calc(clamp(16px, 4vw, 48px) + 82px);
  background: var(--pink);
}

.sfx-toggle[aria-pressed="true"],
.music-toggle[aria-pressed="true"] {
  background: var(--green);
}

.cart-launcher[data-count="0"] {
  display: none;
}

.cart-launcher b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border: 3px solid var(--line);
  background: var(--red);
  color: white;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(430px, 100vw);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px;
  border-left: 6px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    #120b25;
  box-shadow: -12px 0 0 rgba(0, 0, 0, .45);
  transform: translateX(calc(100% + 16px));
  transition: transform .26s steps(5, end);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer header,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-drawer h2 {
  font-size: 18px;
}

.cart-close,
.cart-empty,
.shop-filters button,
.price-row button {
  border: 4px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 4px 4px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-close {
  width: 44px;
  height: 44px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 4px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
}

.cart-line strong {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.4;
}

.cart-line span {
  font-weight: 700;
}

.cart-total {
  padding-top: 14px;
  border-top: 4px dashed rgba(255, 255, 255, .24);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
}

.cart-empty {
  min-height: 44px;
  padding: 10px 12px;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 80;
  min-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 4px solid var(--line);
  background: var(--green);
  color: var(--line);
  box-shadow: 6px 6px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.cart-toast.show {
  animation: toast-in 1.45s steps(6, end);
}

.boot-screen {
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 229, 255, .2), transparent 30%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 7px),
    #030208;
  animation: boot-out .7s steps(6, end) 2.35s forwards;
}

.boot-panel {
  width: min(720px, calc(100vw - 36px));
  border: 6px solid var(--line);
  background: #101827;
  box-shadow: 12px 12px 0 var(--line), 0 0 48px rgba(0, 229, 255, .28);
  padding: clamp(20px, 5vw, 42px);
  text-align: center;
}

.boot-logo {
  display: block;
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(42px, 13vw, 96px);
  line-height: 1;
  text-shadow: 6px 0 0 var(--red), 12px 0 0 var(--green), 18px 0 0 var(--blue), 8px 8px 0 var(--line);
}

.boot-panel p {
  margin: 24px 0;
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(10px, 2vw, 14px);
  line-height: 1.8;
  text-transform: uppercase;
}

.boot-bar {
  height: 24px;
  border: 4px solid var(--line);
  background: #080509;
  overflow: hidden;
}

.boot-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--yellow) 24px 48px, var(--green) 48px 72px, var(--cyan) 72px 96px);
  transform-origin: left;
  animation: boot-load 1.55s steps(12, end) forwards;
}

.page-wipe {
  z-index: 90;
  display: grid;
  place-items: center;
  background: #080509;
  transform: scaleY(0);
  transform-origin: bottom;
  overflow: hidden;
}

.page-wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, var(--cyan) 0 16px, var(--pink) 16px 32px, var(--yellow) 32px 48px, var(--green) 48px 64px),
    #080509;
  opacity: .92;
}

.page-wipe span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: min(720px, calc(100vw - 40px));
  min-height: 116px;
  border: 6px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 12px 12px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(16px, 5vw, 44px);
  text-transform: uppercase;
}

.page-wipe.active {
  animation: wipe-in .42s steps(6, end) forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s steps(5, end), transform .5s steps(5, end);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 5px solid var(--line);
  background: rgba(5, 3, 11, .9);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 58px;
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0;
}

.brand span {
  display: inline-block;
  padding: 8px 10px;
  color: var(--yellow);
  background:
    linear-gradient(90deg,
      #ff3a20 0 22%,
      #ff9a1b 22% 43%,
      #ffe347 43% 62%,
      #8ee93f 62% 80%,
      #1faa45 80% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--line);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .75));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a,
.pixel-button,
.price-row a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 4px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.site-nav a:hover,
.site-nav a.active,
.pixel-button:hover,
.price-row a:hover,
.site-footer a:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--line);
  background: var(--green);
}

.pixel-button.primary {
  background: var(--yellow);
}

.nav-toggle {
  display: none;
  width: auto;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  border: 4px solid var(--line);
  background: var(--cyan);
  box-shadow: 4px 4px 0 var(--line);
  color: var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.nav-toggle strong {
  display: block;
}

.nav-toggle span {
  display: block;
  width: 5px;
  height: 4px;
  margin: 0;
  background: var(--line);
}

.hero,
.page-shell,
.showcase-band,
.section-grid,
.arcade-map {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: min(660px, calc(100vh - 150px));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 38px 0 24px;
}

.level-screen {
  position: relative;
}

.level-label {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  line-height: 1.8;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(52px, 12vw, 128px);
  color: var(--yellow);
  text-shadow: 7px 0 0 var(--red), 14px 0 0 var(--green), 21px 0 0 var(--blue), 8px 8px 0 var(--line);
}

.hero-text,
.page-hero p,
.route-card p,
.timeline p,
.product-card p,
.quest-panel p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-copy,
.game-stage {
  min-width: 0;
}

.game-stage {
  position: relative;
  min-height: 520px;
  border: 6px solid var(--line);
  background:
    linear-gradient(180deg, #7bdcff 0 58%, #5ee84d 58% 64%, #8a4a22 64% 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s ease;
}

.product-frame {
  position: absolute;
  left: 50%;
  bottom: 96px;
  width: min(76%, 430px);
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  box-shadow: 9px 9px 0 rgba(0, 0, 0, .5);
  animation: idle-bob 2.6s steps(3, end) infinite;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-120%) skewX(-18deg);
  animation: holo-sweep 3.4s steps(8, end) infinite;
}

.product-frame img,
.hero-photo,
.product-card img,
.showcase-strip img {
  image-rendering: pixelated;
}

.product-frame img {
  border: 6px solid var(--line);
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.question-block,
.floating-coin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 5px solid var(--line);
  font-family: "Press Start 2P", monospace;
  color: var(--line);
}

.question-block {
  top: 80px;
  right: 15%;
  width: 76px;
  height: 76px;
  background: var(--orange);
  box-shadow: inset -8px -8px 0 #c25713, 6px 6px 0 var(--line);
  animation: block-hit 1.8s steps(2, end) infinite;
}

.floating-coin {
  top: 52px;
  left: 16%;
  width: 48px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  animation: coin-spin 1.1s steps(4, end) infinite;
}

.pixel-cloud {
  position: absolute;
  width: 120px;
  height: 44px;
  background: white;
  box-shadow: 32px -20px 0 white, 72px 0 0 white, 26px 18px 0 white;
  opacity: .9;
}

.cloud-one {
  top: 140px;
  left: -140px;
  animation: cloud-run 18s linear infinite;
}

.cloud-two {
  top: 230px;
  left: -220px;
  transform: scale(.72);
  animation: cloud-run 25s linear infinite 4s;
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 92px;
  border-top: 6px solid var(--line);
}

.ground span {
  background: #7a3f21;
  border-right: 5px solid var(--line);
  box-shadow: inset 0 18px 0 #b7652d, inset 0 -16px 0 #4b2415;
}

.ticker {
  border-block: 5px solid var(--line);
  background: var(--pink);
  color: var(--line);
  overflow: hidden;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 18s linear infinite;
}

.ticker span {
  padding: 18px 28px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.power-strip,
.boss-band,
.shop-console,
.lab-grid,
.drop-radar,
.inventory-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.arcade-map {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 28px;
  padding: 52px 0 10px;
}

.map-copy {
  min-width: 0;
}

.map-copy h2 {
  font-size: clamp(24px, 4vw, 44px);
}

.map-copy p:last-child {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.map-board {
  position: relative;
  min-height: 260px;
  border: 6px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 76% 34%, rgba(255, 79, 216, .28), transparent 24%),
    #0b1830;
  box-shadow: var(--shadow), inset 0 0 0 10px rgba(0, 229, 255, .1);
  overflow: hidden;
}

.map-track {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 18px;
  border: 4px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, var(--orange) 26px 52px);
  box-shadow: 0 0 22px rgba(255, 227, 71, .45);
  transform: translateY(-50%);
}

.map-node {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 5px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 6px 6px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  transform: translate(-50%, -50%);
  animation: node-pulse 1.7s steps(4, end) infinite;
}

.map-node:nth-of-type(2) { left: 18%; }
.map-node:nth-of-type(3) { left: 42%; animation-delay: .2s; }
.map-node:nth-of-type(4) { left: 66%; animation-delay: .4s; }
.map-node:nth-of-type(5) { left: 86%; animation-delay: .6s; }

.map-node.active {
  background: var(--green);
}

.map-node.bonus {
  background: var(--pink);
  color: white;
}

.map-avatar {
  position: absolute;
  left: 18%;
  top: calc(50% - 82px);
  width: 34px;
  height: 42px;
  background:
    linear-gradient(var(--yellow) 0 12px, var(--cyan) 12px 28px, var(--red) 28px 42px);
  border: 5px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .42);
  animation: map-run 5.4s steps(12, end) infinite;
}

.power-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 42px 0 0;
}

.power-strip div,
.lab-grid article,
.shop-console,
.boss-band {
  border: 5px solid var(--line);
  box-shadow: var(--shadow);
}

.power-strip div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  background: #102e4f;
  transition: transform .15s ease, background .15s ease;
}

.power-strip div:hover,
.route-card:hover,
.product-card:hover {
  transform: translateY(-6px);
}

.power-strip strong {
  color: var(--pink);
  font-family: "Press Start 2P", monospace;
  font-size: 22px;
}

.power-strip span {
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 64px 0;
}

.route-card,
.timeline article,
.quest-panel,
.contact-tile {
  border: 5px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.route-card {
  min-height: 310px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease;
}

.route-card:hover .route-number,
.product-card:hover .badge {
  animation: badge-pop .45s steps(4, end);
}

.route-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -26px auto;
  width: 92px;
  height: 92px;
  background: repeating-linear-gradient(0deg, var(--cyan) 0 10px, var(--pink) 10px 20px, var(--yellow) 20px 30px);
  opacity: .18;
}

.route-number,
.timeline span,
.badge {
  display: inline-flex;
  padding: 8px 10px;
  margin-bottom: 18px;
  border: 4px solid var(--line);
  background: var(--cyan);
  color: var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.route-card h2,
.timeline h2,
.product-card h2,
.quest-panel h2 {
  font-size: 18px;
}

.route-card a {
  color: var(--yellow);
  font-weight: 700;
}

.showcase-band {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0 80px;
}

.showcase-band h2 {
  font-size: clamp(24px, 4vw, 44px);
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.showcase-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 5px solid var(--line);
  box-shadow: 6px 6px 0 var(--line);
  background: #080509;
  transition: transform .15s ease;
}

.showcase-strip img:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.boss-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 82px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(90deg, rgba(255, 79, 216, .22), rgba(0, 229, 255, .16)),
    #101827;
}

.boss-band h2,
.shop-console h2 {
  font-size: clamp(22px, 4vw, 42px);
}

.boss-band p:last-child,
.shop-console p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.drop-radar {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 82px;
}

.radar-screen {
  position: relative;
  aspect-ratio: 1;
  border: 6px solid var(--line);
  background:
    repeating-radial-gradient(circle, transparent 0 40px, rgba(89, 255, 77, .18) 40px 44px),
    linear-gradient(90deg, rgba(89, 255, 77, .16) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, rgba(89, 255, 77, .16) 1px, transparent 1px) 0 0 / 32px 32px,
    #06140d;
  box-shadow: var(--shadow), inset 0 0 44px rgba(89, 255, 77, .18);
  overflow: hidden;
}

.radar-screen::before,
.radar-screen::after {
  content: "";
  position: absolute;
  background: rgba(89, 255, 77, .52);
}

.radar-screen::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
}

.radar-screen::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
}

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 8px;
  background: linear-gradient(90deg, rgba(89, 255, 77, .9), transparent);
  transform-origin: left center;
  animation: radar-spin 2.8s steps(16, end) infinite;
}

.radar-blip {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--line);
  background: var(--yellow);
  box-shadow: 0 0 18px var(--yellow);
  animation: blip 1.2s steps(4, end) infinite;
}

.radar-blip.one { left: 28%; top: 34%; }
.radar-blip.two { left: 70%; top: 44%; background: var(--pink); box-shadow: 0 0 18px var(--pink); animation-delay: .25s; }
.radar-blip.three { left: 54%; top: 72%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); animation-delay: .5s; }

.drop-radar h2 {
  font-size: clamp(24px, 4vw, 42px);
}

.drop-radar p:not(.level-label) {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.page-shell {
  padding: 52px 0 84px;
}

.page-hero {
  margin-bottom: 42px;
}

.page-hero.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 32px;
}

.page-hero h1 {
  font-size: clamp(38px, 8vw, 82px);
}

.hero-photo {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border: 6px solid var(--line);
  box-shadow: var(--shadow);
  background: #080509;
}

.logo-card {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 22px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  transition: transform .15s ease;
}

.timeline article:hover {
  transform: translateY(-6px);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.lab-grid article {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  background: #071726;
}

.lab-grid span {
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.lab-grid strong {
  font-size: 22px;
  line-height: 1.35;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: start;
}

.pixel-form {
  display: grid;
  gap: 18px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pixel-form label {
  display: grid;
  gap: 8px;
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.5;
}

.pixel-form input,
.pixel-form select,
.pixel-form textarea {
  width: 100%;
  border: 5px solid var(--line);
  border-radius: 0;
  padding: 15px;
  background: var(--cream);
  color: var(--line);
  box-shadow: 6px 6px 0 var(--line);
}

.form-status {
  display: none;
  margin: 0;
  padding: 14px;
  border: 4px solid var(--line);
  background: var(--cyan);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: var(--red);
  color: white;
}

.form-status.success {
  background: var(--green);
}

.quest-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, .14), rgba(255, 79, 216, .12)),
    #102e4f;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 3px dashed rgba(255, 255, 255, .28);
}

.quest-progress {
  height: 26px;
  margin-top: 22px;
  border: 4px solid var(--line);
  background: #080509;
  overflow: hidden;
}

.quest-progress span {
  display: block;
  width: 82%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--yellow) 24px 48px, var(--green) 48px 72px, var(--cyan) 72px 96px);
  animation: quest-load 2.2s steps(10, end) infinite alternate;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.inventory-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border: 5px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, .18), rgba(255, 79, 216, .12)),
    #071726;
  box-shadow: var(--shadow);
}

.inventory-panel h2 {
  font-size: clamp(20px, 3vw, 34px);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.shop-filters button {
  min-height: 42px;
  padding: 10px 12px;
}

.shop-filters button.active,
.shop-filters button:hover,
.price-row button:hover,
.cart-close:hover,
.cart-empty:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--line);
  background: var(--green);
}

.product-card {
  border: 5px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 5px solid var(--line);
}

.product-card div {
  padding: 18px;
}

.badge.hot {
  background: var(--red);
  color: white;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price-row a {
  min-height: 38px;
  padding: 10px 12px;
  background: var(--yellow);
}

.price-row button {
  min-height: 38px;
  padding: 10px 12px;
  background: var(--yellow);
}

.shop-console {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 84% 20%, rgba(89, 255, 77, .2), transparent 28%),
    #20122f;
}

.shop-console .pixel-button {
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-tile {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
  transition: transform .15s ease;
  background:
    linear-gradient(180deg, var(--panel), #120b25);
}

.contact-tile:hover {
  transform: translateY(-6px);
  background: #0b593f;
}

.contact-cta {
  margin-top: 34px;
  margin-bottom: 0;
}

.contact-tile span {
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
}

.contact-tile strong {
  overflow-wrap: anywhere;
  font-size: clamp(22px, 4vw, 34px);
}

.play-cabinet {
  position: relative;
  border: 6px solid var(--line);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 229, 255, .22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 79, 216, .2), transparent 26%),
    linear-gradient(180deg, #271247, #0b0713 58%),
    var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(14px, 3vw, 28px);
  touch-action: manipulation;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

body.game-focus {
  overflow: hidden;
}

.play-cabinet *,
.play-cabinet *::before,
.play-cabinet *::after {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.play-cabinet.is-playing {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: clamp(8px, 2vw, 20px);
  border-width: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 79, 216, .16), transparent 22%, transparent 78%, rgba(0, 229, 255, .16)),
    radial-gradient(circle at 50% 5%, rgba(255, 227, 71, .28), transparent 28%),
    linear-gradient(180deg, #080509 0%, #1d0b32 48%, #06040b 100%);
}

.play-cabinet.is-playing::before {
  content: "ARCADE PLAYER";
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 2;
  transform: translateX(-50%);
  border: 4px solid var(--line);
  background: var(--cyan);
  color: var(--line);
  box-shadow: 4px 4px 0 var(--line);
  padding: 8px 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.game-exit {
  position: absolute;
  right: clamp(10px, 2vw, 20px);
  top: clamp(10px, 2vw, 20px);
  z-index: 4;
  display: none;
  min-height: 40px;
  border: 4px solid var(--line);
  background: var(--red);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--line);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.play-cabinet.is-playing .game-exit {
  display: inline-grid;
  place-items: center;
}

.play-cabinet.is-playing .game-marquee {
  margin-top: 44px;
  margin-bottom: 10px;
}

.play-cabinet.is-playing .game-hud {
  margin-bottom: 10px;
}

.play-cabinet.is-playing .game-screen-wrap {
  min-height: 0;
}

.play-cabinet.is-playing .play-screen {
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.play-cabinet.is-playing .game-controls {
  margin-top: 10px;
  padding: clamp(10px, 2vw, 18px);
}

.game-marquee {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.game-marquee span {
  border: 4px solid var(--line);
  background: #080509;
  color: var(--green);
  box-shadow: 4px 4px 0 var(--line);
  padding: 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.game-hud span {
  display: grid;
  gap: 8px;
  min-height: 58px;
  align-content: center;
  border: 4px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 5px 5px 0 var(--line);
  padding: 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.game-hud strong {
  color: var(--red);
  font-size: 14px;
}

.game-screen-wrap {
  position: relative;
  border: 6px solid var(--line);
  background: #080509;
  box-shadow: inset 0 0 0 8px #241532, 0 0 36px rgba(0, 229, 255, .18);
  overflow: hidden;
}

.play-screen {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  image-rendering: pixelated;
  background: #76d8ff;
}

.game-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(5, 3, 11, .58);
  text-align: center;
  pointer-events: none;
}

.game-message .coupon-card {
  display: grid;
  gap: 12px;
  width: min(560px, calc(100vw - 56px));
  margin: 0 auto;
  border: 6px solid var(--line);
  background: var(--cream);
  color: var(--line);
  box-shadow: 10px 10px 0 var(--line);
  padding: 20px;
}

.game-message .coupon-card b {
  color: var(--red);
  font-size: clamp(24px, 7vw, 64px);
}

.game-message .coupon-card code {
  display: inline-block;
  border: 4px solid var(--line);
  background: var(--yellow);
  padding: 10px 14px;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(14px, 4vw, 28px);
}

.game-message.hidden {
  display: none;
}

.game-message strong,
.game-message span {
  font-family: "Press Start 2P", monospace;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--line);
}

.game-message strong {
  color: var(--yellow);
  font-size: clamp(24px, 6vw, 62px);
}

.game-message span {
  color: var(--green);
  font-size: clamp(12px, 2vw, 18px);
}

.game-controls {
  display: grid;
  grid-template-columns: 170px minmax(110px, 1fr) 190px;
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 18px;
  padding: 18px;
  border: 5px solid var(--line);
  background: #cfcfc7;
  box-shadow: inset 0 0 0 8px #8f8f8a, 6px 6px 0 var(--line);
  touch-action: none;
}

.dpad {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto;
  touch-action: none;
}

.dpad::before,
.dpad::after {
  content: "";
  position: absolute;
  background: #17171a;
  border: 5px solid var(--line);
  box-shadow: inset 6px 6px 0 #3b3b42, 5px 5px 0 rgba(0, 0, 0, .34);
}

.dpad::before {
  left: 52px;
  top: 0;
  width: 52px;
  height: 156px;
}

.dpad::after {
  left: 0;
  top: 52px;
  width: 156px;
  height: 52px;
}

.dpad-btn {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  touch-action: none;
}

.dpad-btn.up,
.dpad-btn.down {
  left: 52px;
  width: 52px;
  height: 52px;
}

.dpad-btn.up {
  top: 0;
}

.dpad-btn.down {
  bottom: 0;
}

.dpad-btn.left,
.dpad-btn.right {
  top: 52px;
  width: 52px;
  height: 52px;
}

.dpad-btn.left {
  left: 0;
}

.dpad-btn.right {
  right: 0;
}

.dpad-btn:active,
.action-btn:active,
.start-chip:active {
  transform: translate(3px, 3px);
}

.dpad-center {
  position: absolute;
  z-index: 1;
  left: 58px;
  top: 58px;
  width: 40px;
  height: 40px;
  background: #25252b;
  border: 4px solid #050505;
}

.action-pad {
  display: flex;
  justify-content: center;
  gap: 22px;
  transform: rotate(-12deg);
  touch-action: none;
}

.action-btn {
  width: 74px;
  height: 74px;
  border: 6px solid var(--line);
  border-radius: 50%;
  background: #b5163b;
  color: var(--cream);
  box-shadow: inset -7px -7px 0 #680b23, 6px 6px 0 rgba(0, 0, 0, .42);
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  touch-action: none;
}

.action-btn.primary {
  background: #e03254;
}

.start-chip {
  justify-self: center;
  min-width: 136px;
  min-height: 44px;
  border: 5px solid var(--line);
  border-radius: 999px;
  background: #24242a;
  color: var(--cream);
  box-shadow: inset -5px -5px 0 #080509, 5px 5px 0 rgba(0, 0, 0, .35);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  text-transform: uppercase;
  touch-action: manipulation;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(16px, 4vw, 48px);
  border-top: 5px solid var(--line);
  background: var(--void);
}

.site-footer span {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.7;
  color: var(--green);
}

.site-footer .footer-credit {
  color: var(--cream);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.site-footer .footer-credit a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--yellow);
  box-shadow: none;
  font: inherit;
  text-transform: none;
}

.site-footer .footer-credit a:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
  color: var(--cyan);
}

@keyframes idle-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes block-hit {
  0%, 80%, 100% { transform: translateY(0); }
  90% { transform: translateY(-14px); }
}

@keyframes coin-spin {
  0% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-18px) scaleX(.35); }
  100% { transform: translateY(0) scaleX(1); }
}

@keyframes cloud-run {
  to { transform: translateX(calc(100vw + 320px)); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes boot-load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes boot-out {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
  }
}

@keyframes wipe-in {
  0% { transform: scaleY(0); transform-origin: bottom; }
  70% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: top; }
}

@keyframes holo-sweep {
  0%, 45% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  55% { opacity: .8; }
  100% { transform: translateX(120%) skewX(-18deg); opacity: 0; }
}

@keyframes badge-pop {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes toast-in {
  0%, 100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  18%, 82% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes quest-load {
  from { width: 28%; }
  to { width: 96%; }
}

@keyframes radar-spin {
  to { transform: rotate(1turn); }
}

@keyframes blip {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.45); opacity: 1; }
}

@keyframes trail-pop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes node-pulse {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes map-run {
  0% { left: 18%; transform: translateY(0) scaleX(1); }
  22% { left: 42%; transform: translateY(-16px) scaleX(1); }
  44% { left: 66%; transform: translateY(0) scaleX(1); }
  66% { left: 86%; transform: translateY(-16px) scaleX(1); }
  78% { left: 86%; transform: translateY(0) scaleX(-1); }
  100% { left: 18%; transform: translateY(0) scaleX(-1); }
}

@media (max-width: 980px) {
  .hero,
  .showcase-band,
  .page-hero.split,
  .request-layout,
  .arcade-map,
  .drop-radar,
  .inventory-panel {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .timeline,
  .shop-grid,
  .game-hud,
  .power-strip,
  .lab-grid,
  .boss-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-stage {
    min-height: 450px;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-shell,
  .showcase-band,
  .section-grid,
  .arcade-map,
  .drop-radar,
  .inventory-panel,
  .power-strip,
  .boss-band,
  .shop-console,
  .lab-grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 32px);
    text-align: center;
  }

  .hero-text {
    max-width: 31ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  .hero-copy .level-label {
    text-align: center;
  }

  .hero-copy h1 {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero p {
    max-width: 31ch;
    font-size: 16px;
  }

  .site-header {
    display: flex;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    font-size: 28px;
    padding-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    width: auto;
    margin-top: 0;
    padding: 14px;
    border: 5px solid var(--line);
    background: rgba(5, 3, 11, .96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  h1 {
    text-shadow: 4px 0 0 var(--red), 8px 0 0 var(--green), 12px 0 0 var(--blue), 5px 5px 0 var(--line);
  }

  .section-grid,
  .timeline,
  .shop-grid,
  .contact-grid,
  .showcase-strip,
  .power-strip,
  .lab-grid,
  .boss-band,
  .game-marquee {
    grid-template-columns: 1fr;
  }

  .boss-band .pixel-button {
    width: 100%;
  }

  .game-hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-controls {
    grid-template-columns: minmax(128px, 1fr) minmax(86px, .75fr) minmax(128px, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .play-cabinet {
    width: calc(100vw - 16px);
    margin-left: calc(50% - 50vw + 8px);
    padding: 10px;
  }

  .play-cabinet.is-playing {
    width: 100vw;
    height: 100dvh;
    margin-left: 0;
    padding: 8px;
  }

  .play-cabinet.is-playing::before {
    left: 8px;
    transform: none;
    font-size: 8px;
    padding: 7px 9px;
  }

  .play-cabinet.is-playing .game-exit {
    min-height: 34px;
    font-size: 8px;
  }

  .play-cabinet.is-playing .game-marquee {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 42px;
    gap: 5px;
  }

  .play-cabinet.is-playing .game-marquee span {
    padding: 7px;
    font-size: 8px;
  }

  .play-cabinet.is-playing .game-hud {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .play-cabinet.is-playing .game-hud span {
    min-height: 42px;
    padding: 6px 2px;
    border-width: 3px;
    font-size: 7px;
  }

  .play-cabinet.is-playing .game-hud strong {
    font-size: 9px;
  }

  .play-cabinet.is-playing .game-controls {
    grid-template-columns: 126px minmax(68px, .7fr) minmax(118px, 1fr);
    gap: 7px;
    margin-top: 8px;
    padding: 8px;
  }

  .game-screen-wrap {
    border-width: 5px;
  }

  .play-screen {
    min-height: min(58vh, 430px);
    object-fit: cover;
  }

  .play-cabinet.is-playing .play-screen {
    min-height: 0;
    height: 100%;
    object-fit: contain;
  }

  .dpad {
    width: 126px;
    height: 126px;
  }

  .dpad::before {
    left: 42px;
    width: 42px;
    height: 126px;
  }

  .dpad::after {
    top: 42px;
    width: 126px;
    height: 42px;
  }

  .dpad-btn.up,
  .dpad-btn.down {
    left: 42px;
    width: 42px;
    height: 42px;
  }

  .dpad-btn.left,
  .dpad-btn.right {
    top: 42px;
    width: 42px;
    height: 42px;
  }

  .dpad-center {
    left: 47px;
    top: 47px;
    width: 32px;
    height: 32px;
  }

  .action-pad {
    gap: 10px;
  }

  .action-btn {
    width: 54px;
    height: 54px;
    font-size: 13px;
  }

  .start-chip {
    min-width: 78px;
    padding: 0 8px;
    font-size: 9px;
  }

  .game-stage {
    min-height: 390px;
  }

  .scroll-hud {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .scroll-hud strong,
  .scroll-hud em {
    display: none;
  }

  .scroll-meter {
    height: 8px;
    border: 0;
  }

  .map-board {
    min-height: 220px;
  }

  .map-node {
    width: 50px;
    height: 50px;
    font-size: 9px;
  }

  .shop-filters {
    justify-content: stretch;
  }

  .shop-filters button {
    flex: 1 1 45%;
  }

  .cart-launcher {
    right: 12px;
    bottom: 24px;
    min-height: 42px;
    font-size: 9px;
  }

  .sfx-toggle,
  .music-toggle {
    right: auto;
    left: 12px;
    bottom: 24px;
    min-height: 42px;
    font-size: 9px;
  }

  .music-toggle {
    left: 86px;
  }

  .cart-toast {
    bottom: 38px;
  }

  .product-frame {
    width: min(82%, 430px);
    bottom: 86px;
  }

  .site-footer,
  .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .pixel-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .boot-screen {
    display: none;
  }
}
