/* The room: ink, enamel, brass, and printed cabinet labels. Device-specific
   sizing lives in device.css; machine illustrations live in theme-art.js. */
:root {
  color-scheme: dark;
  --void: #111819;
  --ink: #efe9d9;
  --muted: #a1aaa5;
  --line: #ffffff20;
  --house-red: #d7583c;
  --brass: #d7bb78;
  --panel: #1a2223;
}
html {scroll-padding-top:100px}
body {background:#111819;color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select {font:inherit}
button,a,input,select {-webkit-tap-highlight-color:transparent}
button,a {touch-action:manipulation}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible {outline:3px solid var(--brass);outline-offset:4px}
.wrap {width:min(1200px,calc(100% - 64px))}
.grain,.orbit,.hero::before {display:none}
.site-header {background:#111819f5;backdrop-filter:blur(12px);border-bottom:1px solid #ffffff19}
.nav {min-height:82px;gap:24px}
.brand {font-size:17px;letter-spacing:-.04em;font-weight:900;gap:5px;white-space:nowrap}
.brand-mark {flex:0 0 30px;width:30px;height:30px;border:1px solid #d7bb7880;border-radius:50%;box-shadow:none;margin-right:7px;background:#d7bb7811;transform:rotate(-20deg)}
.brand-mark::before {content:"";position:absolute;width:17px;height:4px;background:var(--house-red);left:5px;bottom:7px;border-radius:3px}
.brand-mark::after {width:7px;height:7px;left:11px;top:5px;background:#e9e5db;box-shadow:inset -2px -1px #9a9b96}
.brand-divider {color:var(--house-red);margin:0 2px}
.nav-links {gap:25px}
.nav-links a {font-size:13px;font-weight:600;color:#b9c0bb}
.header-tools {display:flex;align-items:center;gap:9px}
.device-settings,.sound-toggle {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #ffffff24;border-radius:4px;background:transparent;color:#c7cec9;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.device-settings:hover,.sound-toggle:hover {background:#ffffff08;border-color:#ffffff60}
.sound-toggle[aria-pressed="true"] {color:var(--brass)}
.sound-toggle span {width:auto;height:auto;border-radius:0;background:none;box-shadow:none}
.eyebrow {font:700 10px ui-monospace,Consolas,monospace;letter-spacing:.14em;color:var(--brass);gap:10px}
.eyebrow::before {width:22px}

/* The handbill and the cabinet share the hero; neither is a stock banner. */
.hero {grid-template-columns:1.03fr .97fr;gap:48px;min-height:610px;padding:55px 0 62px;align-items:center}
.hero-copy {padding:20px 0}
.hero-copy .eyebrow {margin-bottom:26px}
h1 {font-family:Impact,"Arial Narrow","Segoe UI",sans-serif;font-weight:900;font-size:clamp(68px,8.3vw,114px);line-height:.88;letter-spacing:-.045em;max-width:none}
h1 em {font-style:normal;color:var(--house-red);text-shadow:none}
.hero-copy>p:last-of-type {max-width:380px;margin:26px 0 28px;color:#aeb8b1;font-size:16px;line-height:1.7}
.hero-actions {align-items:stretch;gap:10px}
.button {min-height:46px;padding:12px 17px;border-radius:4px;font-size:12px;font-weight:700;letter-spacing:.01em;gap:12px;transition:background .16s,border-color .16s,transform .16s}
.button:hover {transform:none}
.button-primary {color:#fff5e4;background:var(--house-red);box-shadow:inset 0 1px #ffffff35,0 2px 0 #0005}
.button-primary:hover {background:#e56446;box-shadow:inset 0 1px #ffffff35,0 2px 0 #0005}
.button-quiet {background:transparent;border-color:#ffffff28;color:#d7ded7}
.button-quiet:hover {background:#ffffff07;border-color:#ffffff60}
.hero-stats {gap:30px;margin-top:36px;padding-top:22px;border-top:1px solid #ffffff1b;max-width:420px}
.hero-stats div {padding:0;border:0;min-width:72px}
.hero-stats strong {font-size:23px;font-weight:700;letter-spacing:-.04em;line-height:1.2}
.hero-stats span {font:500 9px ui-monospace,Consolas,monospace;letter-spacing:.05em;color:#85948d;margin-top:6px;display:block}
.machine-stage {min-height:505px;padding:27px 12px 22px;border:1px solid #ffffff18;border-radius:4px;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 28px),#182122;overflow:hidden}
.stage-label {position:absolute;top:14px;left:18px;right:18px;display:flex;justify-content:space-between;font:600 9px ui-monospace,Consolas,monospace;letter-spacing:.08em;color:#84918b}
.machine-cabinet {width:min(100%,360px);transform:rotate(0deg);filter:drop-shadow(0 22px 12px #0006);margin:0 auto}
.machine-stage::after {content:"BUILT FOR ONE MORE BALL";position:absolute;bottom:12px;color:#84918b;font:600 8px ui-monospace,monospace;letter-spacing:.2em}
.backbox {border:6px solid #444b4b;border-radius:3px;box-shadow:inset 0 0 0 1px #090d0f,0 2px #8d8c80}
.backbox-name {font-size:22px;line-height:1.06;letter-spacing:-.03em;bottom:20px;background:linear-gradient(transparent,#080a0de8);padding:22px 10px 7px}
.backbox-sub {font-size:8px;bottom:8px;letter-spacing:.07em}
.playfield {border:5px solid #565d5c;border-radius:20% 20% 4% 4% / 6% 6% 2% 2%;box-shadow:inset 0 0 15px #0007,0 0 0 1px #ffffff1f}
.playfield::after {content:"FREE PLAY";position:absolute;bottom:2%;left:38%;background:#151b1b;border:1px solid #6b716b;color:#d7bb78;font:600 7px ui-monospace,monospace;padding:4px 7px;letter-spacing:.08em}
.ball {animation:none;box-shadow:0 2px 3px #0009;width:19px;height:19px}
.bumper {width:35px;height:35px;border:4px solid #dccd9b;background:radial-gradient(circle at 40% 25%,#f6ebd0,#b9a56c 56%,#364342 58%);box-shadow:0 3px 3px #0009,inset 0 0 0 2px #fff4}
.flipper {height:13px;width:90px;background:#eee1ba;border:3px solid var(--house-red);box-shadow:0 3px 3px #000a}
.flipper-left {left:14%}.flipper-right {right:14%}
.house-strip {border-block:1px solid #ffffff1c;background:#1a2223;color:#aeb8b1}
.house-strip>.wrap {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px;font-size:11px}
.house-strip span:first-child {color:#d9cfb6;font:600 10px ui-monospace,monospace;letter-spacing:.06em;display:flex;align-items:center;gap:9px}
.house-strip i {display:block;width:6px;height:6px;background:#a6b991;border-radius:50%;box-shadow:0 0 0 4px #a6b99110}
.house-strip a {color:#c5cec5;text-decoration:none;padding:12px 0}
.house-strip a:hover {color:var(--brass)}

/* Collection: clear prices, quiet shelves, artwork with room to breathe. */
.section {padding:65px 0}
.section-heading {align-items:end;margin-bottom:27px;gap:35px}
.section-heading h2 {font-family:"Segoe UI",Arial,sans-serif;font-size:42px;font-weight:750;line-height:1.1;letter-spacing:-.045em;max-width:none}
.section-heading .eyebrow {margin-bottom:10px}
.mode-label {display:block;color:#9ca99f;font:600 9px ui-monospace,monospace;letter-spacing:.08em;margin-bottom:9px}
.difficulty {gap:0}
.difficulty button {border-radius:0;padding:10px 14px;min-height:40px;border-color:#ffffff2b;background:#ffffff03;color:#aeb8b1;font-size:10px;letter-spacing:.04em}
.difficulty button+button {border-left:0}
.difficulty button:first-child {border-radius:3px 0 0 3px}.difficulty button:last-child {border-radius:0 3px 3px 0}
.difficulty button.active {background:#e4d6b3;color:#202724;border-color:#e4d6b3;box-shadow:none}
.mode-note {font-size:10px;max-width:340px;color:#86968c;margin-top:8px}
.arcade-wallet {grid-template-columns:240px 1fr;background:#182122;border-color:#ffffff1c;border-radius:4px;padding:20px 24px;gap:30px;margin-bottom:12px}
.wallet-balance {padding-right:24px;border-right:1px solid #ffffff1c}
.wallet-balance strong {font-size:30px;letter-spacing:-.04em;color:var(--brass)}
.wallet-balance>span {color:#e2dbc8;font-size:10px}
.wallet-balance small {font-size:11px;color:#8c9d91}
.wallet-progress {gap:8px;font-size:11px}
.wallet-progress label {font-weight:500;font-size:12px;color:#c5cec5}
.daily-reward {display:flex;align-items:center;gap:20px;background:#242921;border:1px solid #b2a36e38;border-left:3px solid #c7ae6d;border-radius:3px;padding:18px 21px;margin:0 0 20px;font-size:12px;line-height:1.5}
.daily-stamp {flex:0 0 56px;color:#dbc584;font:800 9px/1.5 ui-monospace,monospace;letter-spacing:.08em;border:1px solid #c7ae6d65;border-radius:50%;width:56px;height:56px;display:grid;align-content:center;text-align:center;transform:rotate(-8deg)}
.daily-reward>div {flex:1;min-width:0}
.daily-reward strong {font-size:13px;color:#ebe2c7;font-weight:650}
.daily-reward p {margin:5px 0 0;color:#a6b19e;max-width:620px;font-size:11px}
.daily-reward .button {font-size:11px;white-space:nowrap;min-height:42px;border-color:#b2a36e50;color:#e0cf9d}
.machine-toolbar {gap:16px;padding:3px 0 5px;margin:0 0 12px}
.machine-toolbar p {font-size:12px;max-width:680px;color:#91a098}
.machine-toolbar .button {background:#e4d6b3;color:#202724;min-height:42px;box-shadow:none;font-size:11px;flex-shrink:0}
.arcade-notice {font-size:12px;margin-bottom:14px;min-height:16px}
.machine-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
.machine-card {background:#1a2223;border:1px solid #ffffff20;border-radius:3px;box-shadow:none;min-width:0;overflow:hidden}
.machine-card:hover {transform:translateY(-3px);border-color:#7b897f;box-shadow:0 8px 18px #0003}
.machine-card.active {border-color:#d7bb78;box-shadow:0 0 0 1px #d7bb7866;transform:none}
.cabinet-art {padding:7px;background:linear-gradient(100deg,#4b5351,#2b3433 9%,#303936 90%,#4e5651);border-bottom:1px solid #080d0d}
.card-art {aspect-ratio:32/23;border:1px solid #121a18;object-fit:cover}
.card-meta {padding:16px}
.card-no {font-size:9px;letter-spacing:.04em;color:#7f9488;margin-bottom:10px}
.selection-state {font-size:8px;color:#dac186}
.machine-card h3 {font-size:17px;font-weight:700;line-height:1.2;letter-spacing:-.035em;color:#e7e6d9}
.machine-card p {margin:6px 0 23px;font-size:11px;color:#8b9d90;line-height:1.45}
.machine-rating {font:500 10px ui-monospace,monospace;margin:-10px 0 17px;color:#aabc9c}
.tier-standard {color:#a2bccc}.tier-advanced {color:#d3b780}.tier-expert {color:#d49b89}
.card-bottom {font:600 9px ui-monospace,monospace;letter-spacing:.02em;color:#a4b196;padding-top:13px;border-color:#ffffff12}
.card-bottom b {font-size:14px;color:#e3dec9}
.lock-badge {right:12px;bottom:12px;border:1px solid #cbb57745;background:#17201eeb;font-size:9px;padding:6px 8px;color:#dbc99e}
.machine-card.locked .card-art {filter:saturate(.75);opacity:.87}

/* Leaderboards and house instructions retain the same physical labels. */
.global-leaderboard {margin-top:44px;background:#182122;border-color:#ffffff22;border-radius:4px;padding:28px}
.global-leaderboard h3 {font-size:27px;letter-spacing:-.04em;color:#e7e6d9}
.global-leaderboard>header {border-color:#ffffff18}
#boardCategory,#playerName,#gamePlayerName {background:#101918;border-color:#526159;color:#e7e6d9;border-radius:3px}
.leaderboard-row strong {font-weight:600}.leaderboard-row>b {color:#e2cc90}
.leaderboard-empty {padding:18px;background:#ffffff03;border-left:2px solid #526159;font-size:13px;line-height:1.7}
#playerForm p,.leaderboard-status,#boardScope {color:#9bad9e}
.feature-panel {border:1px solid #ffffff20;border-radius:4px;background:#182122;padding:30px;min-height:0}
.how-grid {gap:20px;grid-template-columns:1.12fr .88fr}
.feature-panel h3 {font-family:"Segoe UI",Arial,sans-serif;font-weight:700;font-size:27px;letter-spacing:-.04em;line-height:1.1}
.feature-panel p {font-size:13px;line-height:1.8;color:#a3b0a5}
.control-list {gap:12px 16px;margin-top:24px}
.key {font-size:11px;color:#b3bdb1;gap:7px}
kbd {min-width:28px;padding:5px 6px;border:1px solid #526159;border-bottom-width:3px;border-radius:3px;background:#222e29;font-size:10px}
.collection-note {background:#212920}
.collection-note a {display:inline-block;margin-top:23px;color:#e0cf9d;font-size:12px;text-decoration:none;border-bottom:1px solid #b2a36e60;padding-bottom:5px}
.collection-note small {display:block;max-width:280px;margin-top:19px;font-size:10px;line-height:1.7;color:#8d9e8b}
footer {font-size:10px;padding-bottom:28px;color:#7c8c83;letter-spacing:.03em}
.footer-line {border-color:#ffffff1b}

/* Play cabinet. Phone/tablet layouts override only the necessary geometry. */
.game-overlay {background:#0d1313fa;backdrop-filter:none;overscroll-behavior:contain}
.game-shell {width:min(1180px,calc(100% - 40px));padding:18px 0 28px}
.game-header {margin-bottom:15px;align-items:center}
.game-header small {font:500 9px ui-monospace,monospace;color:#8e9e91;letter-spacing:.06em}
.game-header h2 {font-size:22px;color:#e5e3d5;line-height:1.15;margin-top:5px;letter-spacing:-.035em}
.game-header-actions {display:flex;gap:8px;align-items:center}
.close-game {border-radius:4px;font-size:12px;min-height:44px;padding:10px 15px;background:#ffffff04;color:#d8dfd5;border-color:#ffffff24;white-space:nowrap}
.close-game span {font-size:20px;margin-left:12px;vertical-align:middle}
#gameDetailsToggle {display:none}
.game-layout {grid-template-columns:166px minmax(280px,440px) 240px;align-items:start;gap:22px}
.scoreboard,.game-side {background:#182122;border:1px solid #ffffff1c;border-radius:4px;padding:18px;min-width:0}
.scoreboard h3,.game-side h3 {font-size:9px;font-weight:650;letter-spacing:.09em;color:#8d9f91}
.stat {padding:13px 0;border-color:#ffffff13;gap:5px}
.stat span {font-size:11px;color:#94a796}.stat strong {font-size:17px;color:#d9c387}
#scoreValue {font:700 30px ui-monospace,Consolas,monospace;letter-spacing:-.08em;color:#e6d7a9}
.pinball-wrap {border:6px solid #3b4540;border-radius:10px;background:#0c1110;box-shadow:0 0 0 1px #71776a,0 15px 28px #0006;min-height:0}
#engine {width:100%;height:min(76vh,780px);min-height:540px;border:0;display:block;background:#0c1110}
.mobile-flippers {display:grid;gap:9px;grid-template-columns:1fr 1.2fr 1fr;margin-top:12px;user-select:none;-webkit-user-select:none}
.mobile-flippers button {min-height:52px;padding:10px 7px;border-radius:5px;border:1px solid #73847750;border-bottom:3px solid #080d0b;background:#26372c;color:#cdd8ca;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px;touch-action:none;cursor:pointer;box-shadow:inset 0 1px #ffffff10}
.mobile-flippers button:active,.mobile-flippers button.is-held {background:#425a42;transform:translateY(1px)}
#launchButton {background:#d7bb78;color:#212820;border-color:#f8e3a3;flex-direction:column;gap:3px}
#launchButton:active {background:#e8ce8f}
#launchButton span {font-size:8px;letter-spacing:.06em;font-weight:600}
#launchButton b {font-size:12px;letter-spacing:.06em}
.game-side p {font-size:11px;line-height:1.65;color:#a5b1a1}
.game-wallet {margin-top:18px;margin-bottom:21px;padding-bottom:20px;border-color:#ffffff18}
.game-wallet>strong {color:#dcc68c;font-size:28px}
.game-side .button {border-radius:4px;min-height:44px;font-size:11px;letter-spacing:0}
.game-side .secondary {border-color:#ffffff24}
.best-list li {font-size:11px;gap:10px}.best-list li b {font-variant-numeric:tabular-nums;color:#d9d9c5}
.best-list li span {overflow-wrap:anywhere}
#gameBoardStatus {font-size:11px;border-color:#bba267;background:#ffffff04;color:#c1ccb9;padding:10px}
.unlock-dialog {background:#1a2420;border-color:#5c6a5e;border-radius:5px;box-shadow:0 15px 45px #0008}
.unlock-dialog::backdrop {background:#0b1313de}
.unlock-dialog .button {min-height:48px}

@media(max-width:1100px) {
  .nav {gap:18px}.nav-links {gap:18px}.hero {gap:32px;grid-template-columns:1.05fr .95fr;min-height:560px}
  .machine-stage {min-height:460px}.machine-cabinet {width:min(100%,325px)}
  .game-layout {grid-template-columns:150px minmax(260px,420px) 205px;gap:16px}
}
@media(max-width:900px) {
  .wrap {width:calc(100% - 40px)}.nav {flex-wrap:wrap;gap:10px 20px;padding:12px 0;min-height:74px}.nav-links {order:3;width:100%;justify-content:center;border-top:1px solid #ffffff10;padding-top:10px}
  .header-tools {margin-left:auto}.hero {gap:25px;padding:40px 0 44px;min-height:510px}h1 {font-size:80px}.hero-copy>p:last-of-type {font-size:14px}
  .hero-actions {flex-direction:column;align-items:start}.hero-actions .button {width:100%;max-width:320px}.hero-stats {gap:20px}.machine-stage {min-height:445px}
  .machine-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
  .game-layout {grid-template-columns:minmax(250px,1fr) 220px}.scoreboard {grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 15px}.scoreboard h3 {display:none}.stat {border:0;padding:0}.stat strong {display:block}.stat:first-of-type {display:block}
  .daily-reward {gap:15px;padding:16px}.daily-stamp {display:none}.daily-reward .button {white-space:normal;text-align:center}
}
@media(max-width:700px) {
  html {scroll-padding-top:125px}.hero {grid-template-columns:1fr;gap:30px;padding:36px 0}.hero-copy {padding:0}.hero-copy .eyebrow {margin-bottom:18px}h1 {font-size:clamp(66px,13vw,100px);line-height:.89}
  .hero-copy>p:last-of-type {margin:20px 0;max-width:470px;font-size:14px}.hero-actions {flex-direction:row;align-items:stretch}.hero-actions .button {width:auto;max-width:none;flex:1;font-size:10px;padding-inline:12px;gap:8px}
  .hero-stats {margin-top:25px;padding-top:18px;gap:35px;max-width:none}.hero-stats strong {font-size:21px}
  .machine-stage {order:0;min-height:400px;max-height:430px}.machine-cabinet {width:270px}.stage-label {font-size:8px}
  .house-strip>.wrap {min-height:55px;gap:10px;font-size:10px;flex-wrap:wrap;padding:10px 0;justify-content:space-between}.house-strip>.wrap>span:nth-child(2) {display:none}.house-strip a {padding:6px 0;font-size:10px}.house-strip span:first-child {font-size:8px}
  .section {padding:42px 0}.section-heading {display:flex;flex-direction:column;align-items:stretch;gap:23px}.section-heading h2 {font-size:34px}.section-heading .eyebrow {margin-top:0}.play-mode-panel {width:100%}.difficulty {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}.difficulty button {padding:10px 7px}.mode-note {max-width:none}
  .arcade-wallet {grid-template-columns:1fr;gap:15px;padding:18px}.wallet-balance {padding:0 0 15px;border-right:0;border-bottom:1px solid #ffffff18}.wallet-balance small {grid-column:1;grid-row:2}.wallet-balance strong {grid-row:1/3;grid-column:2}
  .daily-reward {align-items:start;flex-direction:column;gap:13px}.daily-reward p {font-size:11px}.daily-reward .button {min-height:44px;font-size:11px;width:100%}
  .machine-toolbar {align-items:stretch;flex-direction:column;gap:8px}.machine-toolbar p {font-size:11px;margin:0}.machine-toolbar .button {min-height:44px;width:100%}
  .machine-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.card-meta {padding:12px}.machine-card h3 {font-size:15px}.machine-card p {font-size:10px}.card-no {font-size:8px;letter-spacing:0}.selection-state {font-size:7px}.machine-rating {font-size:9px;line-height:1.6}.card-bottom {font-size:8px;gap:6px}.card-bottom b {font-size:13px}.lock-badge {font-size:8px;bottom:10px;right:10px;padding:5px 6px}
  .global-leaderboard {padding:20px;margin-top:32px}.global-leaderboard>header {gap:20px}.global-leaderboard h3 {font-size:25px}.board-actions {width:100%}#boardCategory {flex:1;min-width:0}.global-leaderboard .button {min-height:44px}
  .how-grid {grid-template-columns:1fr;gap:15px}.feature-panel {padding:23px}.feature-panel h3 {font-size:25px}.feature-panel p {font-size:12px}.control-list {gap:12px}
  .game-layout {grid-template-columns:1fr}.game-header h2 {font-size:18px}.game-shell {width:calc(100% - 20px)}.game-side {display:block}.game-header-actions {gap:6px}.close-game {font-size:11px;padding:9px 10px}.close-game span {margin-left:6px}
}
@media(max-width:420px) {
  .wrap {width:calc(100% - 28px)}.nav {gap:10px}.brand {font-size:14px}.brand-mark {flex-basis:26px;width:26px;height:26px;margin-right:3px}.brand-mark::after {left:9px;top:4px}.brand-mark::before {width:15px;left:4px;bottom:6px}
  .device-settings {font-size:11px;padding:10px 9px;gap:6px}.sound-toggle {padding:10px;width:42px}#soundLabel {display:none}.header-tools {gap:6px}
  .hero-actions {flex-direction:column}.hero-actions .button {font-size:12px;min-height:46px}.hero-stats {gap:29px}.machine-grid {gap:12px 10px}
  .card-meta {padding:10px}.card-no {display:block;margin-bottom:7px}.selection-state {display:none}.machine-card h3 {font-size:14px;min-height:34px}.machine-card p {font-size:9px;min-height:26px;margin-bottom:20px}.card-bottom {flex-wrap:wrap;font-size:7px}.machine-rating {font-size:8px;min-height:26px;margin-bottom:10px}.lock-badge {font-size:7px;right:7px;bottom:8px;padding:4px 5px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}*,*::before,*::after {animation:none!important;transition:none!important}
}
