/* World Dry Cleaners — arcade edition: 16-bit pixels, neon on midnight purple */

:root {
  color-scheme: dark;
  --bg: #120a26;
  --bg-2: #1a0f38;
  --panel: #221548;
  --panel-2: #2c1c5c;
  --line: #4a3494;
  --ink: #0b0620;          /* outlines and hard shadows */
  --text: #f3eeff;
  --text-soft: #bcb2e4;
  --cyan: #3ff3ff;
  --pink: #ff4fd8;
  --yellow: #ffd23f;
  --green: #4dff88;
  --red: #ff4d5e;
  --tag: #f3e2b0;          /* manila claim ticket */
  --px-shadow: 6px 6px 0 #05020d;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --body: "Pixelify Sans", "VT323", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 100% 4px,   /* faint scanlines */
    var(--bg);
}

h1, h2, h3, h4 { font-family: var(--pixel); font-weight: 400; line-height: 1.45; margin: 0 0 .7em; }
h1 { font-size: clamp(1.5rem, 4.2vw, 2.9rem); line-height: 1.35; text-shadow: 4px 4px 0 var(--pink); }
h1 em { font-style: normal; color: var(--yellow); }
h2 { font-size: clamp(1.05rem, 2.6vw, 1.6rem); text-shadow: 3px 3px 0 var(--pink); }
h3 { font-size: .95rem; color: var(--yellow); }
h4 { font-size: .62rem; letter-spacing: .04em; color: var(--cyan); margin: 1.8em 0 .9em; }
p { margin: 0 0 1em; }
a { color: inherit; }
address { font-style: normal; }
strong { color: var(--text); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow { font-family: var(--pixel); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 1.2em; }
.eyebrow::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 10px; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; vertical-align: 0; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons: beveled arcade keys with a hard pixel shadow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; border: 3px solid var(--ink);
  background: var(--yellow); color: var(--ink);
  font: .68rem/1.2 var(--pixel); text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  box-shadow: 4px 4px 0 #05020d, inset -3px -3px 0 rgba(0, 0, 0, .25), inset 3px 3px 0 rgba(255, 255, 255, .5);
}
.btn:hover { background: #ffe27a; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #05020d, inset -3px -3px 0 rgba(0, 0, 0, .25), inset 3px 3px 0 rgba(255, 255, 255, .5); }
.btn-ghost { background: var(--bg-2); color: var(--cyan); border-color: var(--cyan); box-shadow: 4px 4px 0 #05020d; }
.btn-ghost:hover { background: var(--panel-2); }
.btn-small { padding: 10px 12px; font-size: .6rem; }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.call-short { display: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 10, 38, .92); backdrop-filter: blur(6px);
  border-bottom: 4px solid var(--ink); box-shadow: 0 4px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 25px; color: var(--yellow); shape-rendering: crispEdges; }
.brand-name { font-family: var(--pixel); font-size: .78rem; line-height: 1.3; white-space: nowrap; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-family: var(--pixel); font-size: .56rem; text-decoration: none; color: var(--text-soft); text-transform: uppercase; }
.nav a:hover { color: var(--cyan); }

/* Hero */
.hero {
  position: relative; padding: clamp(40px, 7vw, 80px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 360px at 80% 0%, rgba(255, 79, 216, .16), transparent 70%),
    radial-gradient(900px 360px at 10% 30%, rgba(63, 243, 255, .1), transparent 70%);
  border-bottom: 4px solid var(--ink);
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px clamp(32px, 5vw, 64px); align-items: center;
  grid-template-areas: "copy hours" "game game";
}
.hero-copy { grid-area: copy; }
.scores { grid-area: hours; }
.cabinet { grid-area: game; }
.lede { font-size: 1.2rem; color: var(--text-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-soft); }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--green); box-shadow: 0 0 0 2px var(--ink); vertical-align: 2px; }

/* Store hours as a high-score table */
.scores {
  background: var(--bg-2); border: 4px solid var(--cyan); box-shadow: 0 0 0 4px var(--ink), var(--px-shadow);
  padding: 24px 24px 20px;
}
.scores-title { font-family: var(--pixel); font-size: .75rem; color: var(--cyan); text-align: center; margin-bottom: 18px; text-shadow: 2px 2px 0 var(--ink); }
.status { font-family: var(--pixel); font-size: .6rem; line-height: 1.6; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.status::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 2px; background: var(--text-soft); box-shadow: 0 0 0 2px var(--ink); }
.status.open { color: var(--green); }
.status.open::before { background: var(--green); animation: blink 1s steps(1) infinite; }
.status.closed { color: var(--red); }
.status.closed::before { background: var(--red); }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font: .56rem/1 var(--pixel); color: var(--text-soft); padding: 9px 0; text-transform: uppercase; }
.hours td { text-align: right; padding: 9px 0; font-size: 1.05rem; color: var(--text); }
.hours tr + tr { border-top: 2px dotted var(--line); }
.hours tr.today th, .hours tr.today td { color: var(--yellow); }
.scores .hours tr.today th::before { content: ""; display: inline-block; margin-right: 8px; border: 4px solid transparent; border-left: 6px solid var(--yellow); border-right: 0; }
.scores-address { margin-top: 14px; padding-top: 14px; border-top: 4px solid var(--line); color: var(--text-soft); font-size: 1rem; }

/* Arcade cabinet for the game */
.cabinet {
  background: linear-gradient(#3b2080, #22124d); border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 #05020d, inset 0 0 0 4px #5a37b8; padding: 18px;
}
.marquee {
  text-align: center; background: #07030f; border: 4px solid var(--ink); box-shadow: inset 0 0 0 3px var(--pink);
  padding: 16px 12px 14px; margin-bottom: 14px;
}
.marquee-title { font-family: var(--pixel); font-size: clamp(1.1rem, 3.4vw, 2rem); color: var(--yellow); text-shadow: 3px 3px 0 var(--pink), 0 0 18px rgba(255, 210, 63, .45); margin: 0; }
.marquee-sub { font-family: var(--pixel); font-size: .5rem; color: var(--cyan); margin: 10px 0 0; letter-spacing: .08em; }
.bezel { background: #07030f; border: 4px solid var(--ink); padding: 10px; }
.hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: .56rem/1.4 var(--pixel); padding: 2px 4px 10px; color: var(--text-soft); }
.hud b { font-weight: 400; color: var(--text); }
.hud .wanted b { color: var(--yellow); }
.hud .lives b { color: var(--red); letter-spacing: 2px; }
.hud .clock b { color: var(--cyan); }
.hud .combo b { color: var(--pink); }
.hud .power b { color: var(--green); }
.screen { position: relative; display: flex; justify-content: center; background: #000; outline: none; }
.screen:focus-visible { box-shadow: 0 0 0 3px var(--cyan); }
.screen canvas { display: block; width: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
/* CRT scanlines over the game */
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 16px; text-align: center; background: rgba(7, 3, 15, .72); font-family: var(--pixel);
}
.overlay[hidden] { display: none; }
.overlay-title { font-size: clamp(.9rem, 2.6vw, 1.5rem); color: var(--yellow); text-shadow: 3px 3px 0 var(--pink); margin: 0; }
.overlay-line { font-size: clamp(.5rem, 1.3vw, .7rem); line-height: 1.8; color: var(--text); margin: 0; }
.overlay-help { font-size: clamp(.45rem, 1.1vw, .56rem); line-height: 2; color: var(--text-soft); margin: 0; max-width: 40em; }
.press { color: var(--cyan); animation: blink 1s steps(1) infinite; }
.overlay { overflow-y: auto; }
.overlay-line:empty { display: none; }

/* initials entry and the high-score table */
.entry { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: clamp(.5rem, 1.3vw, .7rem); color: var(--yellow); }
.entry[hidden], .board[hidden], .overlay-help[hidden] { display: none; }
.entry-row { display: flex; gap: 10px; align-items: center; }
.entry input {
  width: 5.6em; padding: 10px 4px 8px 16px; border: 3px solid var(--yellow); background: #000; color: var(--yellow);
  font: 1.1rem/1 var(--pixel); letter-spacing: .45em; text-transform: uppercase; text-align: center; caret-color: var(--yellow);
}
.entry input:focus { outline: 3px solid var(--cyan); outline-offset: 2px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: clamp(.45rem, 1.15vw, .62rem)/1 var(--pixel); }
.board li { display: grid; grid-template-columns: 5ch 4ch 7ch 5ch; gap: 1.4em; text-align: left; color: var(--text); }
.board li:first-child { color: var(--cyan); }
.board li.mine { color: var(--green); }
.board li.mine .rk::before { content: ""; display: inline-block; margin-right: 4px; border: 4px solid transparent; border-left: 5px solid currentColor; border-right: 0; }
.board .sc { text-align: right; color: var(--yellow); }
.board li.mine .sc { color: var(--green); }
.board .sh { color: var(--text-soft); }

/* control deck */
.deck { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 6px 4px; }
.pad { display: flex; gap: 10px; }
.key {
  width: 64px; height: 56px; display: grid; place-items: center; border: 3px solid var(--ink); cursor: pointer;
  background: #d8d3ea; color: var(--ink); font: .9rem/1 var(--pixel);
  box-shadow: 0 5px 0 #6d6690, 0 5px 0 3px var(--ink);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.key svg { width: 18px; height: 18px; fill: currentColor; shape-rendering: crispEdges; }
.key.held, .key:active { transform: translateY(4px); box-shadow: 0 1px 0 #6d6690, 0 1px 0 3px var(--ink); }
.deck-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.deck-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill {
  padding: 9px 12px; border: 3px solid var(--ink); background: #3c2a78; color: var(--text); cursor: pointer;
  font: .5rem/1 var(--pixel); text-transform: uppercase; box-shadow: 0 4px 0 var(--ink);
}
.pill:hover { background: #4d3796; }
.pill[aria-pressed="true"] { background: var(--green); color: var(--ink); }
.deck-help { font: .45rem/1.9 var(--pixel); color: var(--text-soft); margin: 0; }
.grab {
  width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--ink); cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #ff8a96, var(--red) 55%, #b3182b);
  color: #fff; font: .62rem/1.3 var(--pixel); text-shadow: 2px 2px 0 var(--ink);
  box-shadow: 0 6px 0 #7a0f1d, 0 6px 0 4px var(--ink);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.grab span { display: block; font-size: 1.1rem; }
.cabinet-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 6px 4px; text-align: center; }
.btn-play { padding: 18px 26px; font-size: .8rem; }
.btn-play::before { content: ""; border: 7px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.cabinet .screen { cursor: pointer; }
.grab.held, .grab:active { transform: translateY(5px); box-shadow: 0 1px 0 #7a0f1d, 0 1px 0 4px var(--ink); }


/* first-game walkthrough: a coach box over the middle of the screen, and the button to press pulses */
.coach {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 1;
  width: min(94%, 40em); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px;
  background: rgba(7, 3, 15, .9); border: 3px solid var(--yellow); box-shadow: 4px 4px 0 #05020d;
  font: 600 clamp(1rem, 2.8vw, 1.4rem)/1.3 var(--body); color: var(--text); pointer-events: none;
}
.coach[hidden] { display: none; }
.coach.low { top: 80%; }
.coach-text { margin: 0; flex: 1; }
.coach-text b { color: var(--yellow); font-weight: 600; }
.coach-skip {
  flex: none; pointer-events: auto; cursor: pointer; padding: 8px 10px; border: 2px solid var(--ink);
  background: #3c2a78; color: var(--text); font: .58rem/1 var(--pixel); text-transform: uppercase;
}
.coach-skip:hover { background: #4d3796; }
.key.hint, .grab.hint { animation: hint-pulse .9s steps(2) infinite; }
@keyframes hint-pulse { 50% { outline: 4px solid var(--yellow); outline-offset: 4px; } }

@keyframes blink { 50% { opacity: 0; } }

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--text-soft); }

/* Services: character-select tabs and RPG dialog panels */
.svc { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.svc > * { min-width: 0; }
.svc-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 100px; }
.svc-tabs button {
  position: relative; text-align: left; cursor: pointer;
  font: .56rem/1.5 var(--pixel); text-transform: uppercase; color: var(--text-soft);
  background: var(--panel); border: 3px solid var(--ink); padding: 12px 14px 12px 30px;
  box-shadow: 3px 3px 0 #05020d;
}
.svc-tabs button:hover { color: var(--text); background: var(--panel-2); }
.svc-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.svc-tabs button[aria-selected="true"]::before {
  content: ""; position: absolute; left: 11px; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-left: 7px solid var(--ink); border-right: 0;
  animation: blink 1s steps(1) infinite;
}

.panel {
  background: #0e0826; border: 4px solid var(--text); box-shadow: 0 0 0 4px var(--ink), 10px 10px 0 4px #05020d;
  padding: clamp(22px, 4vw, 40px);
}
.js .panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: 28px; }
.panel h3 { font-size: 1.15rem; }
.panel-lede { font-size: 1.12rem; color: var(--text-soft); max-width: 44em; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding: 3px 0 3px 22px; }
.list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; background: var(--pink); }
.list-cols { columns: 2; column-gap: 40px; }
.list-cols li { break-inside: avoid; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 84px; background: var(--panel); border: 3px solid var(--ink); }
.steps li::before {
  content: "LV" counter(step); position: absolute; left: 12px; top: 13px;
  padding: 6px 7px; font: .5rem/1 var(--pixel); background: var(--cyan); color: var(--ink); box-shadow: 2px 2px 0 var(--ink);
}

.turn { margin: 0; display: grid; gap: 8px; }
.turn div { background: var(--panel); border: 3px solid var(--ink); padding: 10px 14px; }
.turn dt { font: .5rem/1.6 var(--pixel); color: var(--cyan); text-transform: uppercase; margin-bottom: 4px; }
.turn dd { margin: 0; color: var(--text); }
.turn-wide { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.note { background: var(--panel); border: 3px dashed var(--line); padding: 12px 14px; color: var(--text-soft); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 10px; }
.chip-label { font: .5rem/1 var(--pixel); color: var(--cyan); text-transform: uppercase; margin-right: 4px; }
.chip { padding: 6px 12px; background: var(--tag); color: var(--ink); border: 3px solid var(--ink); font-size: .95rem; box-shadow: 2px 2px 0 #05020d; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 10px; }
.mini { border: 3px solid var(--line); background: var(--bg-2); padding: 4px 18px 14px; }
.mini h4 { color: var(--yellow); }

/* Why: power-ups */
.why { background: var(--bg-2); border-bottom: 4px solid var(--ink); }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-grid li { position: relative; padding: 26px 22px 22px 70px; background: var(--panel); border: 3px solid var(--ink); box-shadow: 5px 5px 0 #05020d; }
/* a pixel coin */
.why-grid li::before {
  content: ""; position: absolute; left: 22px; top: 26px; width: 28px; height: 28px; background: var(--yellow);
  clip-path: polygon(8px 0, 20px 0, 20px 4px, 24px 4px, 24px 8px, 28px 8px, 28px 20px, 24px 20px, 24px 24px, 20px 24px, 20px 28px, 8px 28px, 8px 24px, 4px 24px, 4px 20px, 0 20px, 0 8px, 4px 8px, 4px 4px, 8px 4px);
  box-shadow: inset -6px -6px 0 #c9971a, inset 6px 6px 0 #fff3b0;
}
.why-grid h3 { font-size: .72rem; color: var(--text); }
.why-grid p { margin: 0; color: var(--text-soft); }

/* Visit */
.visit-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.visit-address { font-size: 1.25rem; margin-bottom: .6em; }
.phone { font-family: var(--pixel); font-size: 1.05rem; text-decoration: none; color: var(--yellow); text-shadow: 2px 2px 0 var(--pink); }
.phone:hover { color: #fff; }
.email { color: var(--yellow); overflow-wrap: anywhere; }   /* long address: wrap on narrow phones */
.email:hover { color: #fff; }
.footer-inner a[href^="mailto:"] { overflow-wrap: anywhere; }
.hours-plain { max-width: 380px; margin-top: 10px; }
.map { overflow: hidden; border: 4px solid var(--cyan); box-shadow: 0 0 0 4px var(--ink), var(--px-shadow); aspect-ratio: 4 / 3; background: var(--panel); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.9) hue-rotate(200deg) saturate(1.4) contrast(1.05); }

/* Bonus stages: the owners' other two shops */
.family { margin-top: clamp(56px, 8vw, 88px); padding-top: clamp(40px, 6vw, 64px); border-top: 4px dotted var(--line); }
.family .section-head { margin-bottom: 28px; }
.family h3 { font-size: clamp(.8rem, 2vw, 1.05rem); color: var(--text); text-shadow: 2px 2px 0 var(--pink); }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.family-card { padding: 24px 22px 26px; background: var(--panel); border: 3px solid var(--ink); box-shadow: 5px 5px 0 #05020d; }
.family-card p { margin-bottom: .5em; }
.family-card { display: flex; flex-direction: column; align-items: flex-start; }
.family-card .btn { margin-top: auto; }
.family-where { font: .5rem/1.6 var(--pixel); text-transform: uppercase; color: var(--cyan); }
.family-card h4 { font-size: .8rem; line-height: 1.6; color: var(--yellow); margin: .6em 0 .5em; }
.family-tagline { color: var(--text-soft); }
.family-card address { margin: 12px 0 6px; }
.family-phone { font-family: var(--pixel); font-size: .75rem; text-decoration: none; color: var(--yellow); text-shadow: 2px 2px 0 var(--pink); }
.family-phone:hover { color: #fff; }
.family-card .family-hours { color: var(--text-soft); margin-bottom: 18px; }
.family-hours span { display: block; }
.footer-inner .family-links { flex-basis: 100%; }
.footer-inner .family-links a { color: var(--cyan); }

/* Policies */
.policies { background: var(--bg-2); border-top: 4px solid var(--ink); padding: clamp(48px, 6vw, 72px) 0; }
.policies h2 { font-size: 1.1rem; margin-bottom: 28px; }
.policy-grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.policy-grid dt { font: .56rem/1.6 var(--pixel); color: var(--yellow); margin-bottom: 6px; text-transform: uppercase; }
.policy-grid dd { margin: 0; color: var(--text-soft); }

/* Footer */
.site-footer { border-top: 4px solid var(--ink); box-shadow: 0 -4px 0 var(--line); padding: 36px 0; color: var(--text-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.footer-inner p { margin: 0; }
.footer-inner .brand-name { color: var(--text); font-size: .7rem; }
.classic-link { font: .5rem/1.6 var(--pixel); color: var(--cyan); text-transform: uppercase; }
.coin { font: .5rem/1 var(--pixel); color: var(--cyan); animation: blink 1.4s steps(1) infinite; }
/* Easter egg: the same light switch as the classic site, left on; flip it down to power off to the classic site */
.footer-inner .exit { display: flex; align-items: center; gap: 14px; }
.retro-switch {
  position: relative; display: block; flex: none; width: 24px; height: 32px;
  background: var(--bg-2); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--line); opacity: .7;
}
.retro-switch span { position: absolute; left: 6px; top: 15px; width: 6px; height: 9px; background: var(--line); box-shadow: 0 0 0 2px var(--ink); }
.retro-switch.on span { top: 3px; background: var(--pink); }
.retro-switch.on { opacity: 1; box-shadow: 0 0 0 2px var(--pink), 0 0 14px rgba(255, 79, 216, .55); }
.retro-switch:hover, .retro-switch:focus-visible { opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 0 14px rgba(63, 243, 255, .5); }
/* powering off: the page collapses to a line, then a dot, like an old TV */
html.crt-off { background: #000; overflow: hidden; }
html.crt-off body { animation: crt-off .55s steps(7) forwards; }
@keyframes crt-off {
  0% { transform: none; filter: none; }
  45% { transform: scale(1, .006); filter: brightness(3); }
  100% { transform: scale(0, .006); filter: brightness(3); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "game" "hours"; }
  .scores { max-width: 460px; }
  .visit-inner { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs {
    position: static; flex-direction: row; overflow-x: auto; gap: 8px;
    padding: 0 16px 8px; margin-inline: -16px; scrollbar-width: none;
  }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tabs button { white-space: nowrap; flex: none; }
  .why-grid, .policy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand-name { font-size: .62rem; }
  .brand-mark { width: 32px; height: 20px; }
  .panel-grid, .why-grid, .policy-grid, .family-grid { grid-template-columns: 1fr; }
  .list-cols { columns: 1; }
  .cabinet { padding: 10px; margin-inline: -6px; }
  .bezel { padding: 6px; }
  .deck { grid-template-columns: auto auto; grid-template-areas: "pad grab" "mid mid"; justify-content: space-between; padding: 14px 4px 2px; }
  .pad { grid-area: pad; }
  .grab { grid-area: grab; width: 76px; height: 76px; }
  .deck-mid { grid-area: mid; }
  .key { width: 60px; height: 56px; }
  .board li:nth-child(n+6) { display: none; }   /* top five fits the phone screen */
  .overlay { gap: 10px; }
}

@media (max-width: 380px) {
  .call-full { display: none; }
  .call-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .press, .coin, .status.open::before, .svc-tabs button[aria-selected="true"]::before, .key.hint, .grab.hint { animation: none; }
  .key.hint, .grab.hint { outline: 4px solid var(--yellow); outline-offset: 4px; }
}
