/* BYTECADE: bitmap type, illuminated marquees, black CRTs and cabinet trim.
   All artwork is local CSS/SVG. The pixel font is vendored with its OFL license. */
@font-face {
  font-family: Arcade;
  src: url('./fonts/press-start-2p.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #03040b;
  --bg-2: #080d1c;
  --panel: #0b1228;
  --panel-deep: #050914;
  --line: #344779;
  --cream: #f4f5ff;
  --orange: #ffe64b;
  --blue: #457bff;
  --paper-dim: #b6c7ed;
  --text: #edf1ff;
  --muted: #abbcdf;
  --green: #79ff9b;
  --cyan: #58e7ff;
  --amber: #ffe64b;
  --violet: #ed8cff;
  --phosphor: var(--cyan);
  --a: var(--green);
  --b: var(--amber);
  --display: Arcade, 'Courier New', monospace;
}
html { background: var(--bg); scroll-padding-top: 20px; }
body {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 12px 18px, #697fb5 1px, transparent 1px), radial-gradient(circle at 71px 92px, #41407e 1px, transparent 1px);
  background-size: 137px 163px, 211px 197px;
}
/* Screen effects belong to glass, never on source editors or explanatory text. */
.scanlines { display: none; }
.feature-screen, .game-art, .play-stage .memory-surface { position: relative; }
.feature-screen::after, .game-art::after, .play-stage .memory-surface::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, #0002 0 1px, transparent 1px 4px);
}
body.scanlines-off .feature-screen::after, body.scanlines-off .game-art::after,
body.scanlines-off .play-stage .memory-surface::after { display: none; }
.marquee {
  min-height: 84px; padding: 16px max(24px, calc((100vw - 1240px) / 2)); gap: 24px;
  background: #070a1a; border-top: 4px solid #ee55ae; border-bottom: 3px solid #446ce8;
  box-shadow: 0 3px 0 #121936, 0 6px 0 #e84eae33;
}
.marquee-title { color: var(--cyan); flex-shrink: 0; gap: 14px; }
.marquee-mark { width: 26px; height: 32px; display: block; color: var(--orange); text-shadow: none; }
.marquee-mark svg { width: 100%; height: 100%; image-rendering: pixelated; }
.marquee-name { font: 22px/1.5 var(--display); letter-spacing: 0; color: #fff; text-shadow: 2px 2px #4265e8, 4px 4px #90286b, 0 0 18px #638fff66; }
.house-label { margin-right: auto; color: var(--cyan); font: 9px/1.9 var(--display); }
.marquee-nav { gap: 8px; }
.marquee-nav button { font: 9px/1.5 var(--display); padding: 10px; color: #c3d7ff; min-height: 44px; }
.marquee-nav button:hover:enabled { background: #19284d; color: #fff; }
#scanlines-toggle { border: 1px solid #45619e; border-radius: 0; color: var(--green); }
main { padding: 28px 24px; }
body[data-screen="lobby"] main, body:not([data-screen]) main { max-width: 1288px; padding-top: 24px; }
.lobby { background: #080b1beF; border: 2px solid #324792; box-shadow: 0 0 0 4px #040613, 0 0 0 6px #26346a; padding: 24px; }
.attract-status { display: flex; justify-content: space-between; gap: 12px; color: var(--cyan); font: 9px/1.8 var(--display); padding-bottom: 16px; border-bottom: 2px solid #263c75; }
.attract-status span:nth-child(2) { color: var(--orange); }.attract-status span:last-child { color: #ff87c9; }
.lobby-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; padding: 32px 22px 38px; min-height: 410px; }
.eyebrow { color: #b7c9ef; font: 10px/1.8 var(--mono); letter-spacing: .08em; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green); font: 9px/1.8 var(--display); }
.status-dot { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 10px #79ff9b88; }
#lobby-title { margin: 21px 0 20px; color: #fff; font: clamp(28px, 3.5vw, 46px)/1.35 var(--display); letter-spacing: 0; text-shadow: 3px 3px #3969e9, 6px 6px #182650; }
#lobby-title > span { color: var(--orange); text-shadow: 3px 3px #bf5f23, 6px 6px #522740; }
.hero-description { color: #c4d2f0; font: 15px/1.65 var(--mono); }
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.floor-cta { color: #141329; background: var(--orange); border: 3px solid; border-color: #fffbb1 #ab7827 #ab7827 #fffbb1; border-radius: 0; box-shadow: 4px 4px #682851; font: 10px/1.6 var(--display); padding: 13px 15px; min-height: 48px; }
.floor-cta span { margin-left: 6px; }.floor-cta:hover:enabled { background: #fff6a3; border-color: #fff9bf; }
.watch-cta { color: var(--cyan); background: transparent; box-shadow: none; border: 0; padding: 10px 0; font: 9px/1.7 var(--display); min-height: 44px; }
.watch-cta span { margin-right: 7px; color: #ff87c9; }.watch-cta:hover:enabled { color: #fff; background: transparent; }
.hero-footnote { color: #a0b2d6; font: 10px/1.7 var(--mono); margin-top: 17px; }
/* The attract reel is a physical cabinet, with a lit sign above its CRT. */
.feature-machine { position: relative; width: 100%; max-width: 448px; justify-self: center; padding: 11px 11px 0; background: #171327; border: 4px solid #030511; border-radius: 4px 4px 0 0; box-shadow: -5px 0 #7050cb, 5px 0 #ef54ac, 0 8px #02030a, 0 10px #493a77; }
.machine-marquee { position: relative; display: flex; align-items: center; padding: 17px 20px; min-height: 86px; overflow: hidden; border: 3px solid #040712; background: #18309b; color: #fff; box-shadow: inset 0 0 20px #619fff55; }
.machine-marquee strong { position: relative; font: 20px/1.45 var(--display); text-shadow: 2px 2px #080f46; }
.marquee-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 17px, #4667e633 17px 24px); }
.machine-number { margin-left: auto; font: 24px/1 var(--display); color: #a3d6ff; }
.machine-sticker { position: absolute; right: -14px; top: -14px; z-index: 2; color: #fff; background: #9a1d6c; padding: 10px 8px; border: 2px solid #ff86d0; box-shadow: 3px 3px #06050c; font: 8px/1.7 var(--display); text-align: center; }
.machine-bezel { padding: 13px 13px 9px; border-inline: 2px solid #352744; background: #080a13; }
.feature-screen { padding: 14px 16px 8px; border-radius: 24px / 16px; background: radial-gradient(ellipse, #0b251c, #010905); border: 3px solid #000; box-shadow: inset 0 0 30px #000, 0 1px #403a57; color: #c4e8ce; }
.reel-heading { display: flex; align-items: center; gap: 6px; color: #b7dac9; font: 8px/1.7 var(--mono); letter-spacing: .05em; }.reel-heading > span:last-child { margin-left: auto; }
.reel-dot { width: 5px; height: 5px; background: var(--orange); }
.fighter-names { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding-top: 13px; }
.fighter-names strong { font: 11px/1.7 var(--display); color: var(--green); }.fighter-names strong:last-child { color: var(--orange); }.fighter-names > span { font-size: 10px; color: #bdd1ff; }
.reel-art { height: 54px; padding: 5px 0; }.reel-art svg { width: 100%; height: 100%; }
#attract-canvas { display: block; width: 100%; height: auto; border: 1px solid #225a3b; image-rendering: pixelated; }
.reel-readout { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: #b0d6bf; font: 8px/1.5 var(--mono); }
.reel-event { min-height: 15px; margin-top: 4px; color: var(--orange); text-align: center; font-size: 9px; }
.machine-controls { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 57px; padding: 0 28px 14px; border-top: 3px solid #03030b; background: repeating-linear-gradient(165deg, #19265a 0 18px, #243676 18px 21px, #19265a 21px 26px); }
.speaker-grill { width: 48px; height: 22px; margin-right: auto; background: repeating-linear-gradient(0deg, #030713 0 3px, transparent 3px 6px); }
.joystick { position: relative; width: 29px; height: 11px; margin: 16px 12px 0 0; border-radius: 50%; background: #050610; }
.joystick::before { content: ''; position: absolute; left: 12px; bottom: 4px; width: 5px; height: 22px; background: #a6b7d5; }
.joystick::after { content: ''; position: absolute; left: 3px; bottom: 20px; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 33% 28%, #ff999c, #ee2d59 65%); box-shadow: 2px 3px #030411; }
.arcade-button { width: 25px; height: 20px; border-radius: 50%; box-shadow: 0 4px #030412, inset 0 2px #ffffff66; }.arcade-button.blue { background: #34c8ff; }.arcade-button.orange { background: #ffe64b; }
.control-label { position: absolute; bottom: 4px; left: 0; width: 100%; text-align: center; font: 7px/1.3 var(--mono); color: #c6d8ff; letter-spacing: .1em; }
.feature-machine .attract-label { min-height: 32px; padding: 7px 9px; color: #b7c5e3; font: 8px/1.5 var(--mono); background: #100e1f; border-top: 1px solid #384376; }
.floor-divider { display: flex; align-items: center; justify-content: space-around; gap: 10px; padding: 14px 0; border-block: 2px solid #314581; color: var(--cyan); font: 9px/1.5 var(--display); }
.floor-divider > span:nth-child(even) { color: #fa6ebe; font-size: 12px; }
.floor-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 28px 0 23px; }
.floor-heading h2 { margin-top: 9px; color: #fff; font: 17px/1.6 var(--display); letter-spacing: 0; text-shadow: 2px 2px #364baa; }
.lobby-hint { color: #b3c9f4; font-size: 10px; white-space: nowrap; margin-bottom: 3px; }.lobby-hint > span { margin-inline: 8px; }kbd { font: inherit; border: 1px solid #5474bd; border-bottom-width: 3px; padding: 4px 6px; }
.cabinets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; scroll-margin-top: 24px; }
.cab-training { --phosphor: #ffe64b; }.cab-arena { --phosphor: #79ff9b; }.cab-duel { --phosphor: #58e7ff; }.cab-golf { --phosphor: #ff89d6; }.cab-workshop { --phosphor: #bfa2ff; }
.cabinet { display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 0; border: 3px solid #2e3563; border-top-color: var(--phosphor); background: #080b19; box-shadow: 4px 5px #02030a, -2px 0 var(--phosphor); }
.cabinet.selected { border-color: var(--phosphor); box-shadow: 0 0 0 2px #060815, 0 0 0 4px var(--phosphor), 0 0 24px color-mix(in srgb, var(--phosphor) 15%, transparent); }
.cabinet:focus-within { outline: 2px solid #fff; outline-offset: 6px; }
.card-topline { display: flex; justify-content: space-between; gap: 5px; padding: 8px 10px; font: 9px/1.5 var(--mono); letter-spacing: .01em; color: var(--phosphor); background: #070a17; order: 0; }
.card-copy { display: contents; }
.card-copy h3 { order: 1; margin: 0 5px; padding: 14px 7px; min-height: 65px; display: grid; align-items: center; text-align: center; font: 12px/1.65 var(--display); letter-spacing: 0; color: var(--phosphor); background: #19234b; border: 2px solid #04050f; text-shadow: 2px 2px #000; }
.game-art { order: 2; margin: 7px 9px 0; height: 137px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-bottom: 18px; border: 3px solid #020409; border-radius: 9px; box-shadow: 0 0 0 2px #263456; background-color: #030912; color: var(--phosphor); }
.art-caption { position: absolute; bottom: 9px; left: 5px; right: 5px; text-align: center; color: var(--phosphor); font: 8px/1.5 var(--mono); letter-spacing: .015em; }
.training-art { background: #091017; }
.training-art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#435c672b 1px, transparent 1px), linear-gradient(90deg,#435c672b 1px, transparent 1px); background-size: 18px 18px; }
.orbit { position: absolute; width: 75px; height: 75px; top: 9px; border: 2px solid #c3ac32; }.orbit-two { width: 99px; height: 99px; top: -3px; border-color: #735829; }.orbit-one::after { content: ''; position: absolute; inset: 16px; border: 2px solid var(--phosphor); }
.target-center { font: 33px/1 var(--display); margin-top: -9px; }.art-corner { position: absolute; top: 22px; left: calc(50% + 18px); font: 30px/1 var(--mono); color: #fff; background: #091017; }
.arena-art { background-image: linear-gradient(#54b8911c 1px,transparent 1px),linear-gradient(90deg,#54b8911c 1px,transparent 1px); background-size: 16px 16px; }.arena-art svg { width: 95%; height: 100px; }
.duel-art { gap: 12px; }.binary-tile { position: relative; font: 32px/1 var(--display); padding: 12px 8px; border: 2px solid #267d99; color: #58e7ff; background: #071c36; box-shadow: 3px 3px #000; }
.binary-tile.patched { background: #12424e; color: #b6ffeb; }.binary-tile.patched span { position: absolute; bottom: -7px; left: 3px; background: #ffe64b; color: #080c20; font: 8px/1.4 var(--mono); padding: 1px 3px; }.patch-arrow { font-size: 20px; }
.golf-art { gap: 6px; background: #13091b; }.golf-art svg { position: relative; width: 58%; height: 105px; }.par-tile { z-index: 1; padding: 9px 8px; color: #ffbdf0; border: 2px solid #a64b91; background: #35133c; font: 9px/1.7 var(--display); text-align: center; box-shadow: 3px 3px #02030b; }.par-tile b { display: block; font: 30px/1.6 var(--display); color: #fff; }
.game-genre { order: 3; padding: 15px 13px 0; color: var(--phosphor); font: 9px/1.6 var(--mono); }
.pitch { order: 4; padding: 9px 13px 16px; color: #c4cdeb; font: 13px/1.6 var(--mono); }
.card-bottom { order: 5; display: flex; flex-direction: column; gap: 9px; padding: 13px 10px; margin-top: auto; border-top: 2px solid #050612; background: repeating-linear-gradient(165deg, #172148 0 18px, #22305c 18px 20px); }
.start { font: 9px/1.7 var(--display); letter-spacing: 0; min-height: 44px; padding: 10px 8px; width: 100%; color: #06101e; background: var(--phosphor); border: 2px solid; border-color: #ffffff88 #0005 #0005 #ffffff88; border-radius: 0; box-shadow: 2px 3px #030410; text-shadow: none; white-space: normal; }.start span { margin-left: 4px; }
.start:hover:enabled { color: #000; background: #fff; border-color: #fff; }.cabinet.selected .start { animation: none; }
.card-note, .card-bottom .light { font: 9px/1.5 var(--mono); letter-spacing: .03em; color: #c1cfee; padding: 0; background: none; border: 0; }.card-bottom .light::before { width: 5px; height: 5px; }
.cabinet.cab-workshop { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; padding: 21px; border: 2px solid #714ea6; box-shadow: 4px 4px #030410; background: #100c23; margin-top: 5px; }
.workshop-emblem { flex: none; color: var(--phosphor); font: 32px/1 var(--display); }
.workshop-copy { flex: 1; min-width: 0; }.workshop-copy h3 { color: #dac8ff; font: 16px/1.8 var(--display); letter-spacing: 0; margin: 4px 0; }.workshop-copy > p:last-child { color: #c3c9e8; font: 13px/1.6 var(--mono); }.workshop-copy .eyebrow { color: #bd9fed; font-size: 9px; }
.cabinet.cab-workshop .start { width: auto; min-width: 180px; }
.curiosity-note { display: flex; align-items: center; gap: 20px; margin: 26px 0 2px; border-top: 2px solid #263c75; padding-top: 20px; }.note-star { color: var(--green); font: 20px/1 var(--display); }.curiosity-note p { color: #bdc9e5; font: 12px/1.7 var(--mono); max-width: 76ch; }.curiosity-note strong { display: block; color: #fff; font-weight: 600; }.end-mark { margin-left: auto; color: var(--cyan); font-size: 10px; white-space: nowrap; }
.ticker { background: #040710; border-top: 2px solid #314b9a; box-shadow: none; padding: 14px 0; color: #9fb8e1; font-size: 10px; text-shadow: none; }.ticker-track { animation: none; overflow: hidden; }.ticker-copy, #ticker-copy { display: none; }.build-label { display: none; }
.cabinet-frame { border-width: 2px; box-shadow: 0 0 0 2px #030611; }.cabinet-name { font: 18px/1.6 var(--display); letter-spacing: 0; text-shadow: 2px 2px #244187; }
@media (max-width:1100px) {
  .house-label { display: none; }.marquee-title { margin-right: auto; }.marquee-nav { gap: 3px; }.marquee-nav button { font-size: 8px; }
  .lobby-hero { gap: 26px; padding-inline: 6px; }#lobby-title { font-size: 34px; }.hero-actions { gap: 10px; }.fighter-names strong { font-size: 9px; }
  .cabinets { grid-template-columns: repeat(2, minmax(0,1fr)); }.game-art { height: 156px; }.card-copy h3 { min-height: 55px; }
  .lobby-hint { display: none; }
}
@media (max-width:760px) {
  .marquee { padding: 12px 16px; gap: 10px; min-height: 0; flex-wrap: wrap; }.marquee-name { font-size: 19px; }.marquee-mark { width: 22px; height: 27px; }.marquee-nav { width: 100%; justify-content: space-between; }.marquee-nav button { font: 10px/1.4 var(--mono); padding: 7px 8px; min-height: 40px; }.workshop-nav { display: none; }
  main, body[data-screen="lobby"] main { padding: 16px 16px 24px; }.lobby { padding: 15px; }.attract-status { font-size: 7px; gap: 6px; padding-bottom: 10px; }.attract-status span:first-child { display: none; }
  .lobby-hero { display: block; min-height: 0; padding: 20px 0 22px; }.feature-machine { display: none; }.hero-copy .eyebrow { display: none; }
  #lobby-title { font-size: clamp(23px, 6.5vw, 34px); line-height: 1.35; margin: 0 0 16px; }#lobby-title br { display: none; }#lobby-title span { display: inline; margin-left: 5px; }
  .hero-description { font-size: 12px; line-height: 1.7; }.hero-description br { display: none; }.hero-actions { gap: 10px; margin-top: 18px; }.floor-cta { font-size: 9px; padding-inline: 11px; min-height: 44px; }.watch-cta { font-size: 8px; }.hero-footnote { font-size: 10px; margin-top: 10px; }
  .floor-divider { display: none; }.floor-heading { margin: 0 0 18px; }.floor-heading .eyebrow { display: none; }.floor-heading h2 { font-size: 12px; line-height: 1.6; margin: 0; }
  .cabinets { grid-template-columns: 1fr; gap: 23px; }.card-copy h3 { min-height: 46px; font-size: 13px; padding: 9px 8px; }.game-art { height: 110px; }.orbit { top: -5px; }.orbit-two { top: -17px; }.game-genre { padding-top: 13px; }.pitch { font-size: 13px; padding-bottom: 12px; }.card-bottom { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px; }.start { width: 100%; }.card-topline { padding-block: 6px; }
  .cabinet.cab-workshop { flex-wrap: wrap; padding: 17px; gap: 13px; }.workshop-copy { flex-basis: calc(100% - 60px); }.workshop-copy h3 { font-size: 12px; }.workshop-emblem { font-size: 23px; }.cabinet.cab-workshop .start { width: 100%; }.workshop-copy > p:last-child { font-size: 12px; }
  .curiosity-note { gap: 12px; align-items: flex-start; }.note-star, .end-mark { display: none; }.curiosity-note p { font-size: 11px; }.ticker-track { display: none; }.ticker { flex-wrap: wrap; row-gap: 6px; }.engine-label { border-left: 0; padding-inline: 18px; font-size: 10px; }.build-label { display: block; flex-basis: 100%; padding-inline: 18px; font-size: 10px; overflow-wrap: anywhere; }
}
@media (max-width:360px) { .marquee-name { font-size: 17px; }.lobby { padding-inline: 12px; }#lobby-title { font-size: 22px; }.floor-heading h2 { font-size: 11px; }.watch-cta { font-family: var(--mono); font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

/* The games: the playing surface first; the same machine, on demand. */
body[data-screen="arena"] main, body[data-screen="training"] main, body[data-screen="duel"] main, body[data-screen="golf"] main { max-width: 1344px; }
#arena-screen, #duel-screen, #golf-screen { background: transparent; border: 0; padding: 0; }
#arena-screen > .cabinet-head, #duel-screen > .cabinet-head, #golf-screen > .cabinet-head { margin: 0 0 23px; padding: 0 0 16px; background: none; border-bottom: 1px solid #334678; gap: 16px; }
#arena-screen .cabinet-name, #duel-screen .cabinet-name, #golf-screen .cabinet-name { color: var(--cream); font-size: 27px; }
#arena-screen .cabinet-head .light:not(.on) { display: none; }
.game-intro { margin: 0 0 24px; }
.game-intro h2 { margin-top: 7px; font: 42px/.98 var(--display); letter-spacing: .01em; color: var(--cream); text-shadow: none; }
.game-intro > p:last-child { margin-top: 9px; font: 14px/1.6 Arial,sans-serif; color: #bec8e4; }
body[data-screen="training"] #arena-screen .game-intro { display: none; }
.play-stage { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(320px,1fr); gap: 22px; align-items: start; }
.play-stage .memory-panel { border: 1px solid #3859a0; background: #080e20; box-shadow: none; }
.play-stage .memory-panel > .section-heading { background: #14274b; border: 0; box-shadow: none; padding: 6px 18px; min-height: 38px; }
.play-stage .memory-panel > .section-heading h2 { color: #87ffc5; font-size: 10px; text-shadow: none; letter-spacing: .12em; }
.fighters { display: flex; align-items: center; justify-content: space-between; padding: 23px 20px 10px; gap: 12px; }
.fighter { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.fighter.player-b { justify-content: flex-end; text-align: right; }
.fighter > div { min-width: 0; }
.fighter-letter { flex: none; display: grid; place-content: center; border: 1px solid #426fa6; width: 43px; height: 49px; color: #80ff9f; font: 36px/1 var(--display); background: #14274b; box-shadow: 3px 3px 0 #090e0a; }
.player-b .fighter-letter { color: #ffe64b; background: #2c2240; border-color: #ae8844; }
.fighter-side { display: block; color: #b7c5e5; font: 8px/1.3 var(--mono); letter-spacing: .15em; }
.fighter strong { display: block; color: #80ff9f; font: 33px/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.fighter.player-b strong { color: #ffe64b; }
.fighter-state { display: block; color: #bdc9e5; font: 8px/1.4 var(--mono); letter-spacing: .035em; }
.fighter-vs { color: #bc96ff; font: italic 20px/1 var(--display); }
.board-explainer { color: #c9d0e8; padding: 5px 20px 10px; font: 12px/1.6 Arial,sans-serif; }
.play-stage .arena-readout { padding: 8px 20px 12px; }
.play-stage .arena-readout strong { color: #a5ffb7; text-shadow: none; font-size: 24px; }
.play-stage .memory-surface { margin: 0 20px; padding: 5px; border: 1px solid #3960a3; border-radius: 0; background: #020611; }
.play-stage .memory-legend { padding: 10px 20px; font-size: 9px; gap: 14px; }
.play-stage .memory-selection { background: #0a1126; padding: 10px 20px; color: #c3cdeb; font-size: 10px; gap: 8px; }
.play-stage .memory-selection > span:last-child { font-size: 9px; }
.board-controls { padding: 15px 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.board-controls > .speed { margin-left: auto; }.board-controls .speed button { min-width: 36px; padding-inline: 7px; }
#arena-screen button, #duel-screen button, #golf-screen button { border-radius: 0; }
.board-controls button, .loop-steps button { background: #17264b; border: 1px solid #587fc0; box-shadow: none; color: #eef2ff; font-size: 10px; letter-spacing: .035em; min-height: 40px; }
.board-controls button.primary, .loop-steps button.primary { background: #ffe64b; border-color: #ffe64b; color: #111127; box-shadow: 2px 2px 0 #856715; }
.board-controls button:hover:enabled, .loop-steps button:hover:enabled { background: #243c72; border-color: #76bfff; }
.board-controls button.primary:hover:enabled, .loop-steps button.primary:hover:enabled { background: #fff28a; border-color: #fff28a; }
.match-story { padding: 16px 20px 18px; background: #111b37; border-top: 1px solid #355191; min-height: 103px; }
.match-story h3 { color: var(--cream); font: 24px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.match-story p { margin-top: 7px; font: 13px/1.6 Arial,sans-serif; color: #c7d2ed; }
.play-loop.deck { border: 0; border-top: 3px solid #ffe64b; background: #0b1027; box-shadow: none; padding: 20px 22px 2px; margin: 0; }
.play-loop .deck-head { display: block; }.play-loop .deck-head h2 { font: 27px/1.1 var(--display); color: var(--cream); letter-spacing: .01em; text-shadow: none; margin: 9px 0 15px; }
.play-loop .deck-summary { font-size: 10px; line-height: 1.6; color: #c9d3f2; margin-top: 9px; }
.play-loop .deck-detail { font: 11px/1.5 Arial,sans-serif; color: #b3bfdf; margin-top: 4px; }
.loop-steps { margin: 19px 0 0; padding: 0; list-style: none; }
.loop-steps li { display: flex; gap: 14px; padding: 15px 0 18px; border-top: 1px solid #344776; }.loop-number { color: var(--orange); font: 25px/1.1 var(--display); }.loop-steps li > div { min-width: 0; flex: 1; }
.loop-steps h3 { font: 15px/1.3 Arial,sans-serif; font-weight: bold; color: var(--cream); text-transform: none; letter-spacing: 0; }
.loop-steps p { font: 12px/1.55 Arial,sans-serif; color: #bdc9e5; margin: 6px 0 11px; }.loop-steps .loop-why { margin: 8px 0 0; color: #b3bfdf; }.loop-why:empty { display: none; }.loop-actions { display: flex; flex-wrap: wrap; gap: 7px; }.loop-steps button { font-size: 9px; padding-inline: 10px; }
.machine-inspector { border: 1px solid #385399; background: #0a1024; margin-top: 23px; }
.machine-inspector > summary { min-height: 84px; padding: 18px 22px; cursor: pointer; display: flex; gap: 18px; align-items: center; list-style: none; color: var(--cream); }
.machine-inspector > summary::-webkit-details-marker { display: none; }
.machine-inspector > summary strong { font: 24px/1.2 var(--display); letter-spacing: .025em; }
.machine-inspector > summary small { display: block; margin-top: 4px; font: 12px/1.5 Arial,sans-serif; color: #bbc7e5; }
.inspector-symbol { font: 37px/1 var(--mono); color: var(--orange); transition: transform .15s; }.machine-inspector[open] > summary .inspector-symbol { transform: rotate(45deg); }
.inspector-tag { margin-left: auto; color: #bac4e0; font-size: 9px; white-space: nowrap; }
.machine-inspector .when-open, .machine-inspector[open] .when-closed { display: none; }.machine-inspector[open] .when-open { display: inline; }
.inspector-content { padding: 0 18px 18px; }
.inspector-content > .toolbar { border-top: 1px solid #344776; padding-top: 18px; }.inspector-content > .deck-callout, .inspector-content > .outcome { margin-bottom: 14px; }
#arena-inspector .arena-grid { margin: 0; grid-template-columns: minmax(220px,.95fr) minmax(280px,1.2fr) minmax(240px,1fr); gap: 15px; }
#arena-inspector .programs-column, #arena-inspector .machine-column, #arena-inspector .cpu-panel { grid-row: auto; grid-column: auto; min-width: 0; }
#arena-inspector .events-panel { grid-row: auto; }.close-machine { width: 100%; margin-top: 16px; min-height: 44px; }
#arena-inspector .code-panel { margin: 0; }.machine-inspector .panel { box-shadow: none; }
#duel-screen > .toolbar, #duel-screen > .duel-grid { margin-inline: 0; }
#duel-screen .contract-panel, #duel-screen .duel-code-panel, #duel-screen .grade-panel, #duel-screen .trace-panel { border: 1px solid #3d68a9; box-shadow: none; background: #080e20; }
#duel-screen .section-heading { background: #11264b; border: 0; box-shadow: none; }.cab-duel { --phosphor: #59e4ff; }
#duel-screen .section-heading h2 { color: #a5eeff; text-shadow: none; letter-spacing: .09em; font-size: 10px; }
#duel-screen .contract-text { color: var(--cream); font: 19px/1.45 Arial,sans-serif; text-shadow: none; margin-block: 13px; max-width: 75ch; }
#duel-screen .contract-panel > .muted, #duel-screen .rules { font: 12px/1.6 Arial,sans-serif; color: #c1cceb; }
#duel-screen .duel-grid { gap: 20px; grid-template-columns: minmax(0,1.35fr) minmax(300px,1fr); }
#duel-screen .harness-note { padding-block: 8px; background: #0c1a37; }.duel-code-panel .instruction { min-height: 45px; }
#duel-screen .grade-icon { margin-bottom: 8px; }.grade-result.passed h3 { text-shadow: none; }
#duel-screen .trace-panel .machine-inspector { border: 0; border-top: 1px solid #3d68a9; margin-top: 0; background: #0b142d; }
#duel-screen .machine-inspector > summary { min-height: 77px; padding: 16px 20px; }.trace-panel .inspector-symbol { color: #65dcff; }
#duel-screen .grade-actions .primary { white-space: normal; }
/* GOLF wears the duel's construction in its own colour: rose panels, plum
   headings, the check's verdict in the duel's grade card. */
#golf-screen .golf-grid { margin-inline: 0; }
#golf-screen .panel { border: 1px solid #8e3aab; box-shadow: none; background: #130b25; }
#golf-screen .section-heading { background: #38154f; border: 0; box-shadow: none; }
#golf-screen .section-heading h2 { color: #ffbaf6; text-shadow: none; letter-spacing: .09em; font-size: 10px; }
#golf-screen .harness-note { background: #211035; }
#golf-screen .grade-actions .primary { white-space: normal; }
#golf-screen .golf-status { display: none; }
#golf-screen .golf-status.away { display: flex; }
body[data-screen="golf"] main { padding-bottom: 96px; }
/* Desktop game screens keep RUN / +1 / BACK and the one-line story inside
   the first 800 px: a shorter header, the intro on one row, a little less
   padding around the fighters, and the colour legend and byte readout shown
   after the story (their place in the page's reading order is unchanged). */
@media (min-width:801px) {
  body:not([data-screen="lobby"]) .marquee { min-height: 0; padding-block: 12px; }
  .game-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: baseline; margin-bottom: 16px; }
  .game-intro .eyebrow { grid-column: 1 / -1; }
  .game-intro h2 { font-size: 34px; }
  .fighters { padding-top: 14px; padding-bottom: 6px; }
  .board-controls { padding-block: 12px; }
  .play-stage .memory-panel { display: flex; flex-direction: column; }
  .play-stage .memory-legend, .play-stage .memory-selection { order: 1; }
}
/* The status line: the counter, the state and the latest message, pinned to
   the bottom of the screen while the counter is out of view. */
.status-line { display: none; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 8px max(16px, calc((100vw - 1344px) / 2)) calc(8px + env(safe-area-inset-bottom)); background: #0b1027; border-top: 3px solid var(--orange); box-shadow: 0 -8px 20px #0009; color: var(--cream); font: 12px/1.4 var(--mono); }
body.counter-away .status-line, .status-line.error { display: flex; }
.status-line-turn { color: #c9d3f2; letter-spacing: .06em; white-space: nowrap; }.status-line-turn strong { color: var(--cream); font-size: 17px; font-weight: 600; letter-spacing: 0; }.status-line-turn small { font-size: 12px; color: #b3bfdf; }
.status-line .status-pill { font-size: 11px; }
.status-line-message { flex: 1 1 180px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e0e8ff; }
.status-line.error .status-line-message { white-space: normal; color: #ffc4c4; }
body[data-screen="arena"] main, body[data-screen="training"] main { padding-bottom: 96px; }
@media (min-width:801px) { body:not(.counter-away) .status-line.error :is(.status-line-turn, .status-pill) { display: none; } }
@media (max-width:1100px) {
  .play-stage { grid-template-columns: minmax(0,1.4fr) minmax(300px,1fr); gap: 16px; }.fighters { padding-inline: 15px; }.fighter { gap: 8px; }.fighter strong { font-size: 28px; }.fighter-letter { display: none; }
  .board-controls > .speed { margin-left: 0; }.play-loop.deck { padding-inline: 17px; }.play-loop .deck-head h2 { font-size: 24px; }
  #arena-inspector .arena-grid { grid-template-columns: minmax(230px,1fr) minmax(290px,1.25fr); }#arena-inspector .cpu-panel { grid-column: 2; }#arena-inspector .programs-column { grid-row: 1 / 3; }
}
@media (max-width:800px) {
  .play-stage { grid-template-columns: 1fr; }.fighter-letter { display: grid; }.board-controls > .speed { margin-left: auto; }.game-intro h2 { font-size: 35px; }.game-intro > p:last-child { font-size: 13px; }
  .play-loop.deck { padding: 19px 20px 2px; }.play-loop .deck-head h2 { font-size: 28px; }
  #arena-inspector .arena-grid, #duel-screen .duel-grid { grid-template-columns: 1fr; }#arena-inspector .cpu-panel, #arena-inspector .programs-column, #arena-inspector .events-panel { grid-column: 1; grid-row: auto; }#arena-inspector .programs-column { display: block; }#arena-inspector .program-panel + .program-panel { margin-top: 15px; }
  .inspector-content { padding: 0 12px 14px; }.inspector-content .seed-control { flex-wrap: wrap; }.inspector-content .seed-control input { flex: 0 1 100px; }.machine-inspector > summary { padding: 17px 15px; gap: 12px; }.machine-inspector > summary strong { font-size: 23px; }.inspector-tag { display: none; }
  #duel-screen .contract-text { font-size: 17px; }.game-intro { margin-bottom: 20px; }
}
@media (max-width:480px) {
  #arena-screen > .cabinet-head, #duel-screen > .cabinet-head { gap: 10px; margin-bottom: 20px; }.cabinet-head .lights { width: 100%; }
  .fighters { padding: 18px 13px 8px; gap: 8px; }.fighter-letter { display: none; }.fighter strong { font-size: 29px; }.fighter-state { font-size: 7px; }.fighter-vs { font-size: 18px; }.fighter-side { font-size: 7px; }
  .board-explainer { padding-inline: 14px; }.play-stage .arena-readout { padding-inline: 14px; }.play-stage .memory-surface { margin-inline: 14px; }.play-stage .memory-legend { padding-inline: 14px; font-size: 8px; gap: 10px; }
  .play-stage .memory-selection { padding-inline: 14px; flex-wrap: wrap; }.play-stage .memory-selection > span:last-child { margin-left: 0; }.board-controls { padding: 13px 14px; gap: 12px; }.board-controls > .speed { margin-left: 0; }.match-story { padding: 15px; }.match-story h3 { font-size: 25px; }
  #duel-screen .patch-input-row { flex-wrap: wrap; }#duel-screen .patch-input-row input { flex-basis: 100%; }.machine-inspector > summary small { font-size: 11px; }.game-intro h2 { font-size: 32px; }
  #golf-screen > .cabinet-head { gap: 10px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .inspector-symbol { transition: none; } }

/* Phones, under 600 px: no text below 11 px and no target below 40 px in its
   smaller dimension. The type scale stays as it is; whatever sat below the
   floor is raised to it. !important because these rules have different
   specificities and this block is a floor over all of them. */
@media (max-width:599px) {
  .connection, .ticker, .engine-label, .light, .status-pill, .tag, .table-note, .eyebrow, .workshop-copy .eyebrow,
  .marquee-nav button, #scanlines-toggle, .watch-cta, .hero-footnote, .machine-sticker, .reel-heading, .fighter-names > span,
  .reel-readout, .reel-event, .control-label, .attract-label, .feature-machine .attract-label, .floor-divider, .card-topline,
  .art-caption, .binary-tile.patched span, .game-genre, .start, .card-note, .card-bottom .light,
  .section-heading h2, .section-heading > .mono, .play-stage .memory-panel > .section-heading h2, #duel-screen .section-heading h2,
  .fighter-side, .fighter-state, .readout-label, .machine-status, .memory-legend, .play-stage .memory-legend,
  .memory-selection, .play-stage .memory-selection, .memory-selection > span:last-child, .play-stage .memory-selection > span:last-child,
  .board-controls button, .loop-steps button, .speed > .muted, .deck-summary, .play-loop .deck-summary,
  button.tiny, .editor-footer, .notes-link, .check-label, .code-table-head, .instruction, .duel-code-panel .instruction, .instruction .pc-marker,
  .cpu-summary, .cpu-meta, .segmented button, .register, .cpu-panel .register, .compact .register, .register-label small,
  .event-row, .trace-events .event-row, .event-detail, .trace-events .event-detail, .source-editor,
  .stage-tag, .harness-note, .grade-stat span, .grade-examples h3, .failure-example, .trace-metric > span, .subheading h3, .subheading span, #golf-screen .section-heading h2,
  .contestant summary, .contestant-source, .contestant-actions button, .fame-table th, .fame-table td.reason, .verify-cell button, .verify-result,
  .match-browser > .muted { font-size: 11px !important; }
  code { font-size: max(11px, .95em); }
  .tag { white-space: normal; }
  .marquee-title, #scanlines-toggle, button.tiny, .notes-link, .check-label, .instruction, .segmented button, .contestant summary, .error-banner button { min-height: 40px !important; }
  #arena-step, .segmented button, .error-banner button { min-width: 44px; }
  .start { min-height: 44px; }
  .check-label { padding-inline: 4px; }
  .code-table-head, .instruction, .duel-code-panel .code-table-head, .duel-code-panel .instruction { grid-template-columns: 56px 72px minmax(0, 1fr); }
  .register, .cpu-panel .register, .compact .register { grid-template-columns: 46px minmax(0, 1fr); }
  .event-row { grid-template-columns: 40px 20px 46px minmax(0, 1fr); }
}

/* Matching game chrome. Keep code and long instructions in the system mono. */
#arena-screen .cabinet-name, #duel-screen .cabinet-name, #golf-screen .cabinet-name { font-size: 17px; line-height: 1.7; color: var(--phosphor); }
.game-intro h2 { font: 20px/1.7 var(--display); letter-spacing: 0; }
.fighter strong { font: 18px/1.6 var(--display); letter-spacing: 0; }.fighter-letter { font: 22px/1 var(--display); }.fighter-vs { font: 13px/1.3 var(--display); }
.match-story h3, .play-loop .deck-head h2 { font: 16px/1.8 var(--display); letter-spacing: 0; }
.machine-inspector > summary strong { font: 15px/1.7 var(--display); letter-spacing: 0; }.loop-number { font: 18px/1.5 var(--display); }
.board-controls button, .loop-steps button { min-height: 44px; }
.play-stage .memory-panel { border: 2px solid #365ca5; box-shadow: 0 0 0 2px #030615; }
.play-stage .memory-panel > .section-heading { border-bottom: 2px solid #376594; }
.play-loop.deck { border: 2px solid #3c4f89; border-top: 4px solid var(--orange); }
.source-editor, .code-editor, textarea, pre, .code-table, .instruction { text-shadow: none; }
@media (max-width:800px) {
  .game-intro h2 { font-size: 18px; }.play-loop .deck-head h2 { font-size: 15px; }.fighter strong { font-size: 16px; }.match-story h3 { font-size: 14px; }.machine-inspector > summary strong { font-size: 13px; }
}
@media (max-width:480px) {
  #arena-screen .cabinet-name, #duel-screen .cabinet-name, #golf-screen .cabinet-name { font-size: 13px; }
  .fighter strong { font-size: 13px; }.fighter-vs { font-size: 10px; }.game-intro h2 { font-size: 16px; }.fighter-state { line-height: 1.6; }
  .marquee-nav button, #scanlines-toggle { min-height: 44px !important; }
}

/* A period game directory: fixed-width, bitmap masthead, compact rows and
   plain text controls. This is the site itself, not a picture of a cabinet. */
body[data-screen="lobby"] main, body:not([data-screen]) main { max-width: 1016px; padding-top: 22px; }
.marquee { max-width: 976px; margin: 0 auto; padding: 8px 12px; min-height: 0; border-top: 0; border-bottom: 2px solid #3d55c0; background: #03040b; box-shadow: none; }
.marquee-name { font-size: 14px; text-shadow: none; color: #76dfff; }.marquee-mark { width: 16px; height: 20px; }.house-label { display: none; }.marquee-title { margin-right: auto; }
.marquee-nav button { border: 0; padding: 8px 6px; color: #9cbdff; text-decoration: underline; text-underline-offset: 4px; font: 11px/1.4 var(--mono); min-height: 40px; }#scanlines-toggle { border: 0; color: #8aff9c; }
.lobby { background: #03050ded; padding: 16px 24px; border: 3px double #6577c8; box-shadow: none; }
.attract-status { padding: 0 0 10px; border-bottom: 1px solid #283568; font: 9px/1.6 var(--mono); letter-spacing: .13em; }
.lobby-hero { display: block; min-height: 0; padding: 20px 0 18px; }
.hero-copy { text-align: center; }.hero-copy .eyebrow { justify-content: center; font-size: 8px; }.status-dot { display: none; }
#lobby-title { font: 48px/1.4 var(--display); margin: 8px 0 12px; letter-spacing: 0; color: #72e6ff; text-shadow: 0 3px #315cef, 0 6px #3930aa, 0 9px #1e1762; }
#lobby-title span { margin: 0; color: #ffe64b; text-shadow: 0 3px #ed792e, 0 6px #b43758, 0 9px #501c57; }
.hero-description { font: 9px/1.8 var(--display); color: #e8dfff; letter-spacing: .04em; }
.hero-actions { justify-content: center; gap: 24px; margin-top: 14px; }
.floor-cta, .watch-cta { padding: 10px 5px; min-height: 40px; background: none; border: 0; box-shadow: none; color: #7dff8d; font: 9px/1.8 var(--display); text-decoration: underline; text-underline-offset: 5px; }
.floor-cta:hover:enabled, .watch-cta:hover:enabled { color: #fff; background: #101d43; border: 0; }.floor-cta span { margin-left: 5px; }
.hero-footnote { margin-top: 6px; font: 11px/1.5 var(--mono); color: #b5bfdf; }
.floor-divider { display: none; }.floor-heading { border-block: 1px solid #3e4e98; padding: 12px 0; margin: 0 0 12px; align-items: center; }.floor-heading .eyebrow { display: none; }.floor-heading h2 { margin: 0; color: #ff98d6; font: 12px/1.7 var(--display); text-shadow: none; }.lobby-hint { display: block; font-size: 10px; margin: 0; }kbd { border: 0; padding: 0 3px; color: #ffe64b; }
.cabinets { display: flex; flex-direction: column; gap: 10px; }
.cabinet { display: grid; grid-template-columns: 110px minmax(0, 1fr) 178px; grid-template-rows: auto auto 1fr; column-gap: 18px; padding: 13px; border: 2px solid #344681; box-shadow: none; background: #070c20; }
.cabinet.selected { border-color: #ffe64b; background: #0d1530; box-shadow: none; }.cabinet:focus-within { outline: 1px dashed #fff; outline-offset: 3px; }
.card-topline { display: none; }.card-copy { display: contents; }
.card-copy h3 { grid-column: 2; grid-row: 1; display: block; min-height: 0; padding: 0; margin: 0 0 5px; text-align: left; font: 12px/1.7 var(--display); background: none; border: 0; text-shadow: none; }
.game-art { grid-column: 1; grid-row: 1 / 4; width: 110px; height: 96px; margin: 0; padding-bottom: 0; border: 1px solid #435794; border-radius: 0; box-shadow: none; }
.art-caption { display: none; }.game-genre { grid-column: 2; grid-row: 2; padding: 0; font-size: 9px; }.pitch { grid-column: 2; grid-row: 3; padding: 6px 0 0; font: 12px/1.6 var(--mono); }
.card-bottom { grid-column: 3; grid-row: 1 / 4; display: flex; flex-direction: column; align-self: center; gap: 8px; padding: 0; margin: 0; border: 0; background: none; }
.start { color: var(--phosphor); background: #030712; border: 1px solid #40578e; box-shadow: none; padding: 10px 6px; font: 9px/1.7 var(--display); min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }.start:hover:enabled { color: #000; background: var(--phosphor); border-color: var(--phosphor); }
.orbit { width: 56px; height: 56px; top: 17px; }.orbit-two { width: 82px; height: 82px; top: 4px; }.orbit-one::after { inset: 11px; }.target-center { font-size: 24px; margin: 0; }.art-corner { font-size: 24px; top: 13px; left: 63%; }
.arena-art svg { width: 100%; height: auto; }.binary-tile { font-size: 22px; padding: 8px 4px; }.duel-art { gap: 4px; }.patch-arrow { font-size: 14px; }.binary-tile.patched span { display: none; }
.golf-art { gap: 0; }.golf-art svg { width: 62%; }.par-tile { padding: 4px; font-size: 7px; border: 0; box-shadow: none; background: none; }.par-tile b { font-size: 21px; }
.cabinet.cab-workshop { display: grid; grid-template-columns: 110px minmax(0,1fr) 178px; grid-template-rows: auto; column-gap: 18px; margin: 0; padding: 15px 13px; border: 2px solid #5f478c; box-shadow: none; background: #100a20; }
.workshop-emblem { font-size: 24px; text-align: center; }.workshop-copy h3 { font-size: 12px; margin: 3px 0; }.workshop-copy > p:last-child { font-size: 12px; }.workshop-copy .eyebrow { font-size: 9px; }.cabinet.cab-workshop .start { min-width: 0; width: 100%; }
.replay-display { margin: 28px 0 10px; border-top: 1px solid #324582; padding-top: 22px; text-align: center; }.replay-display h2 { color: #ff91d3; font: 11px/1.8 var(--display); margin-bottom: 20px; text-shadow: none; letter-spacing: 0; }.feature-machine { display: block; margin-inline: auto; width: min(100%, 380px); }
.curiosity-note { padding-top: 14px; margin-top: 22px; }.curiosity-note p { font-size: 11px; }.note-star { display: none; }.ticker { max-width: 976px; margin: 0 auto; background: #03040b; border-top: 1px solid #364579; }
@media (max-width:760px) {
  .marquee { padding: 8px 14px; gap: 3px; }.marquee-name { font-size: 13px; }.marquee-nav { width: auto; gap: 3px; }#help-toggle { font-size: 10px; }.marquee-title { min-height: 44px; }.marquee-nav button { padding-inline: 4px; }
  body[data-screen="lobby"] main { padding: 12px 10px 20px; }.lobby { padding: 12px; }.attract-status { font-size: 9px; }.lobby-hero { padding: 16px 0; }
  #lobby-title { font-size: clamp(24px, 7vw, 42px); margin: 4px 0 16px; }#lobby-title span { margin: 0; }.hero-description { font-size: 8px; }.hero-actions { gap: 14px; margin-top: 10px; }.floor-cta, .watch-cta { font-size: 8px; min-height: 44px; }.hero-footnote { font-size: 10px; max-width: 35ch; margin-inline: auto; }
  .floor-heading { margin-bottom: 12px; padding-block: 10px; }.floor-heading h2 { font-size: 11px; }.lobby-hint { display: none; }
  .cabinet { grid-template-columns: 70px minmax(0,1fr); column-gap: 12px; padding: 11px; }.game-art { width: 70px; height: 75px; grid-row: 1 / 4; }.card-copy h3 { font-size: 10px; line-height: 1.8; }.game-genre { font-size: 10px; }.pitch { font-size: 12px; line-height: 1.5; }
  .card-bottom { grid-column: 2; grid-row: 4; align-items: stretch; margin-top: 10px; gap: 7px; }.card-bottom .light, .card-note { font-size: 10px; }.start { font-size: 9px; }
  .orbit { width: 38px; height: 38px; top: 17px; }.orbit-two { width: 62px; height: 62px; top: 5px; }.orbit-one::after { inset: 7px; }.target-center { font-size: 17px; }.art-corner { font-size: 17px; }.binary-tile { font-size: 16px; padding: 5px 2px; border: 0; }.patch-arrow { font-size: 11px; }.duel-art { gap: 2px; }.par-tile { display: none; }.golf-art svg { width: 92%; }
  .cabinet.cab-workshop { grid-template-columns: 70px minmax(0,1fr); column-gap: 12px; padding: 12px 11px; }.workshop-copy { grid-column: 2; }.workshop-emblem { grid-column: 1; font-size: 19px; }.workshop-copy h3 { font-size: 10px; }.cabinet.cab-workshop .start { grid-column: 2; margin-top: 8px; }
  .replay-display { display: none; }.curiosity-note p { font-size: 11px; }.curiosity-note { margin-top: 18px; }.end-mark { display: none; }
}
@media (max-width:360px) { .marquee { flex-wrap: wrap; }.marquee-nav { width: 100%; justify-content: space-between; }.lobby { padding-inline: 10px; }.cabinet { grid-template-columns: 55px minmax(0,1fr); column-gap: 9px; }.game-art { width: 55px; }.card-copy h3 { font-size: 9px; }.card-bottom { grid-column: 1 / -1; }.cabinet.cab-workshop { grid-template-columns: 55px minmax(0,1fr); column-gap: 9px; }.cabinet.cab-workshop .start { grid-column: 1 / -1; } }

@media (max-width:599px) {
  .attract-status, .hero-description, .card-copy h3, .workshop-copy h3 { font-size: 11px; }
}

@media (max-width:599px) {
  #floor-browse, .fighter-vs, .build-label { font-size: 11px; }
}

/* Game colors identify the games; yellow buttons identify the next action. */
.lobby-hero { padding-bottom: 26px; }
.hero-actions { gap: 18px; margin-top: 22px; }
.hero-footnote { margin-top: 18px; color: #b5bfdf; }
.floor-cta, .watch-cta { min-height: 44px; padding: 12px 16px; border: 1px solid #7286ba; text-decoration: none; }
.floor-cta, .start, button.primary { color: #111127; background: #ffe64b; border: 2px solid; border-color: #fff6aa #a59132 #a59132 #fff6aa; box-shadow: 2px 2px #030410; text-shadow: none; text-decoration: none; }
.floor-cta:hover:enabled, .start:hover:enabled, button.primary:hover:enabled { color: #111127; background: #fff4a0; border: 2px solid #fff4a0; }
.watch-cta { color: #d5e1ff; background: #0d1731; }
.watch-cta:hover:enabled { color: #fff; background: #1b2d54; border: 1px solid #b5c7ff; }
.watch-cta span { color: inherit; }
.marquee-nav { gap: 14px; }
#scanlines-toggle { color: #b5bfdf; }
.floor-heading { margin-bottom: 20px; }
.floor-heading h2 { color: #edf1ff; }
.cabinets { gap: 20px; }
.cabinet { padding: 20px 18px; column-gap: 24px; border-color: #344681; cursor: default; }
.cabinet.selected { border-color: #7489c2; background: #0b1228; }
.cabinet:focus-within { outline: none; }
.card-copy h3 { margin-bottom: 10px; line-height: 1.9; }
.game-genre { color: #b5bfdf; font: 11px/1.7 var(--mono); }
.pitch { padding-top: 8px; font-size: 13px; line-height: 1.7; max-width: 50ch; }
.card-bottom { gap: 12px; }
.start { min-height: 48px; padding: 12px 8px; }
.card-note, .card-bottom .light { color: #b5bfdf; font-size: 11px; }
.arena-build-link { color: #cbdcff; background: #0b142c; border: 1px solid #7186bd; border-radius: 0; min-height: 44px; margin-left: auto; }
.arena-build-link:hover:enabled { color: #fff; background: #1b2d54; border-color: #b5c7ff; }
#workshop-screen { --phosphor: var(--green); }
#workshop-screen .cabinet-name { font: 17px/1.7 var(--display); color: var(--green); }
.builder-intro { margin: 24px 16px 14px; font: 14px/1.8 var(--mono); max-width: 72ch; color: #d2dbef; }
.cabinet-frame > .workshop-jumps { display: flex; gap: 12px; margin: 0 16px 24px; flex-wrap: wrap; }
.workshop-jumps button { min-height: 44px; color: #cbdcff; text-decoration: underline; text-underline-offset: 5px; }
.workshop-grid { gap: 24px; }
#workshop-screen .editor-actions { gap: 12px; flex-wrap: wrap; }
#workshop-screen .arena-load-actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid #405078; }
#workshop-screen .editor-actions button { min-height: 44px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width:760px) {
  .hero-actions { gap: 12px; }
  .floor-cta, .watch-cta { width: 100%; max-width: 280px; }
  .lobby-hero { padding-bottom: 22px; }
  .cabinet { padding: 16px 13px; column-gap: 14px; }
  .card-bottom { grid-column: 1 / -1; grid-row: 4; margin-top: 16px; gap: 10px; }
  .card-copy h3 { margin-bottom: 8px; }
  .game-genre { line-height: 1.6; }
  .pitch { font-size: 13px; line-height: 1.65; }
  .arena-build-link { margin-left: 0; }
  #workshop-screen .cabinet-name { font-size: 13px; }
}
