:root {
  --ink: #12101d; --paper: #e8dfd2; --screen: #687344; --acid: #c8b98e;
  --orange: #a84b74; --pink: #c14b91; --muted: #a59aa6; --line: rgba(232,223,210,.2);
  --mono: "HoodBoy Brand", "Roboto Slab", serif; --pixel: "HoodBoy Brand", "Roboto Slab", serif; --display: "HoodBoy Brand", "Roboto Slab", serif;
}
@font-face { font-family: "HoodBoy Brand"; src: url("assets/HoodBoy-Brand-Font.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
* { box-sizing: border-box; } html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--display); overflow-x: hidden; }
body.is-booting { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 68% 10%, rgba(118,96,160,.3), transparent 32%), radial-gradient(circle at 8% 80%, rgba(179,83,118,.2), transparent 28%), linear-gradient(145deg,#282039,#171326 70%); }
.noise,.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 20; }.noise { opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }.scanlines { opacity: .08; background: repeating-linear-gradient(0deg,transparent 0 3px,rgba(0,0,0,.45) 4px); }
.boot-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: #11101a; transition: opacity .65s ease, visibility .65s ease; }.boot-screen.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }.boot-shell { width: min(480px, 100%); padding: 18px; color: var(--ink); background: var(--acid); border: 3px solid var(--paper); box-shadow: 9px 9px 0 var(--pink), 0 0 70px rgba(200,185,142,.14); animation: boot-pulse 1.1s steps(2, end) infinite; }.boot-top,.boot-foot { display: flex; justify-content: space-between; gap: 15px; font: 10px var(--mono); }.boot-display { display: flex; align-items: center; gap: 22px; margin: 18px 0; padding: 28px 22px; background: var(--screen); border: 8px solid #303524; box-shadow: inset 0 0 0 2px #aab477; }.boot-logo { display: grid; place-items: center; flex: 0 0 72px; height: 72px; color: var(--acid); background: #211c2d; border: 3px solid var(--ink); box-shadow: 4px 4px 0 #aab477; font: 25px var(--pixel); }.boot-copy { display: grid; gap: 8px; }.boot-copy span,.boot-copy small { font: 10px var(--mono); }.boot-copy strong { font: 30px/1 var(--display); letter-spacing: .05em; }.boot-walkway { position: relative; height: 55px; margin: 4px 0 4px; overflow: hidden; border-bottom: 3px solid #3b3542; }.boot-walkway::before { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(59,53,66,.45) 12px 18px); }.boot-walker { position: absolute; bottom: 5px; left: -28px; width: 22px; height: 38px; animation: boot-walk 4.6s steps(18, end) infinite; }.boot-walker i { position: absolute; display: block; background: #c14b91; }.walker-head { top: 0; left: 6px; width: 12px; height: 12px; background: #3b3542!important; border: 2px solid #c14b91; border-radius: 50%; }.walker-body { top: 13px; left: 4px; width: 15px; height: 14px; background: #a84b74!important; border: 2px solid #3b3542; }.walker-arm { top: 15px; left: 1px; width: 5px; height: 13px; transform-origin: top; animation: walker-arm .28s steps(2, end) infinite alternate; }.walker-leg { top: 27px; width: 5px; height: 11px; transform-origin: top; background: #3b3542!important; }.walker-leg-left { left: 5px; animation: walker-leg-left .28s steps(2, end) infinite alternate; }.walker-leg-right { left: 13px; animation: walker-leg-right .28s steps(2, end) infinite alternate; }.boot-progress { height: 16px; margin: 16px 0 14px; padding: 3px; background: var(--ink); border: 2px solid var(--ink); }.boot-progress span { display: block; width: 0; height: 100%; background: var(--pink); animation: boot-progress 5s linear forwards; }.boot-foot { color: #3b3542; font-size: 9px; }
a { color: inherit; text-decoration: none; }.topbar,main,footer { width: min(1160px,calc(100% - 48px)); margin: auto; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; background: transparent; }.brand { display: flex; align-items: center; gap: 12px; }.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--acid); font: 10px var(--pixel); transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--orange); }.brand-name { color: var(--acid); font: 22px "HoodBoy Brand", var(--display); letter-spacing: .02em; }.nav { display: flex; gap: 28px; color: #c0b4c2; font: 11px var(--mono); }.nav a:hover { color: var(--acid); }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--ink); background: var(--acid); border: 2px solid var(--acid); font: 11px var(--mono); box-shadow: 5px 5px 0 var(--orange); transition: transform .2s,box-shadow .2s; }.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--orange); }.button-ghost { color: var(--paper); background: transparent; border-color: var(--paper); box-shadow: none; }.button-small { padding: 11px 14px; font-size: 10px; box-shadow: 3px 3px 0 var(--orange); }
.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1fr .8fr; gap: 7vw; align-items: center; padding: 60px 0 100px; }.eyebrow,.section-kicker,.section-aside { color: var(--acid); font: 11px var(--mono); letter-spacing: .08em; }.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--acid); box-shadow: 0 0 15px var(--acid); animation: blink 1s infinite; }h1,h2,h3 { margin: 0; line-height: .96; }h1 { max-width: 8ch; margin: 24px 0 26px; color: var(--paper); font: clamp(3.8rem,8.5vw,8rem) var(--display); letter-spacing: -.06em; }h1 em { color: var(--acid); font-style: normal; text-shadow: 4px 4px 0 rgba(255,116,69,.75); }.lede,.section-copy p,.signal-head>p:last-child,.cta>p,.faq p { max-width: 540px; color: var(--muted); line-height: 1.8; font-size: 16px; }.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }.hero-caption,.console-top,.screen-top,.screen-footer,footer { display: flex; justify-content: space-between; color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; }.hero-caption { max-width: 470px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-console { position: relative; padding: 21px; color: var(--ink); background: #798055; border: 3px solid #a4b277; border-radius: 18px 18px 45px 18px; box-shadow: 12px 14px 0 #050604,0 0 60px rgba(217,255,57,.12); transform: rotate(2deg); }.console-top { color: #d7e79b; margin-bottom: 14px; }.hero-art { display: block; width: 100%; height: auto; border: 9px solid #2e3424; }.art-meta { display: flex; justify-content: space-between; padding-top: 13px; color: #d7e79b; font: 10px var(--mono); }.console-screen,.console-controls,.console-speaker { display: none; }
.section { padding: 110px 0 30px; }.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: end; border-top: 1px solid var(--line); }.section h2,.signal h2,.cta h2 { max-width: 10ch; margin-top: 25px; color: var(--paper); font: clamp(2.7rem,5.5vw,5.6rem) var(--display); letter-spacing: -.05em; }.mono-note { color: var(--acid)!important; font: 13px/2 var(--mono)!important; }.section-title-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }.section-aside { color: var(--muted); font-size: 10px; }.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }.card { position: relative; min-height: 310px; padding: 22px; border: 2px solid var(--acid); background: #20271a; box-shadow: 6px 6px 0 #050604; overflow: hidden; }.card::after { content: "MODE"; position: absolute; right: -4px; bottom: 24px; color: rgba(216,232,163,.08); font: 70px var(--pixel); transform: rotate(-90deg); }.card-orange { border-color: var(--orange); background: #33231a; }.card-pink { border-color: var(--pink); background: #31202a; }.card-number { color: var(--acid); font: 12px var(--mono); }.card-orange .card-number { color: var(--orange); }.card-pink .card-number { color: var(--pink); }.card h3 { position: relative; z-index: 1; margin: 64px 0 18px; color: var(--paper); font: 22px/1.2 var(--pixel); }.card p { position: relative; z-index: 1; max-width: 28ch; color: var(--muted); line-height: 1.7; font-size: 14px; }.card-arrow { position: absolute; right: 20px; bottom: 18px; color: var(--acid); font-size: 25px; }.card-orange .card-arrow { color: var(--orange); }.card-pink .card-arrow { color: var(--pink); }
.signal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; border-top: 1px solid var(--line); }.signal-head h2 { font-size: clamp(2.4rem,4.6vw,4.8rem); }.matrix { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }.matrix-item { min-height: 180px; padding: 20px; background: var(--ink); }.matrix-item span { color: var(--acid); font: 10px var(--mono); }.matrix-item strong { display: block; margin: 35px 0 10px; color: var(--paper); font: 20px var(--display); }.matrix-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.faq-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: 8vw; border-top: 1px solid var(--line); }.faq { display: grid; gap: 10px; }.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }.faq summary { cursor: pointer; color: var(--paper); font: 17px var(--display); }.faq p { margin: 16px 0 0; font-size: 14px; }.cta { position: relative; padding: 150px 0 170px; border-top: 1px solid var(--line); overflow: hidden; }.cta h2 { max-width: 8ch; font-size: clamp(3.5rem,8vw,8rem); }.cta>p { max-width: 400px; }.cta-stamp { position: absolute; right: 5%; bottom: 15%; color: var(--orange); font: clamp(35px,8vw,100px)/.9 var(--pixel); transform: rotate(-12deg); text-align: center; text-shadow: 5px 5px 0 rgba(255,130,178,.5); }footer { padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 9px; }
.roadmap { border-top: 1px solid var(--line); }.roadmap-list { margin-top: 24px; border-top: 1px solid var(--line); }.roadmap-item { display: grid; grid-template-columns: 130px 1fr 90px; gap: 26px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }.roadmap-phase,.roadmap-item>strong { color: var(--acid); font: 11px var(--mono); }.roadmap-item h3 { color: var(--paper); font: 23px var(--display); letter-spacing: .03em; }.roadmap-item p { max-width: 580px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }.roadmap-item>strong { justify-self: end; color: var(--muted); }.roadmap-item.active { background: linear-gradient(90deg,rgba(217,255,57,.08),transparent); }.roadmap-item.active>strong { color: var(--orange); }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease,transform .7s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }
.is-booted .hero-copy,.is-booted .hero-console { animation: boot-rise .8s ease-out both; }
.miner-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; border-top: 1px solid var(--line); }.miner-heading h2 { margin-bottom: 22px; }.miner-heading>p:not(.section-kicker) { color: var(--muted); line-height: 1.75; max-width: 310px; }.miner-heading .button { margin-top: 12px; }.miner-panel { padding: 12px; background: #222d18; border: 2px solid var(--acid); box-shadow: 7px 7px 0 #050604; }.panel-bar,.mine-status,.timer-row { display: flex; justify-content: space-between; align-items: center; color: var(--acid); font: 10px var(--mono); }.miner-screen { margin-top: 12px; padding: 24px; background: #34461b; border: 2px solid #647d2e; box-shadow: inset 0 0 30px rgba(11,20,4,.42); }.screen-label { margin-bottom: 12px; color: #c9eb72; font: 11px var(--mono); }.cartridge-grid,.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.cartridge,.time-option { cursor: pointer; padding: 15px 11px; color: var(--paper); background: #1b2813; border: 1px solid #607c2b; text-align: left; font: 13px var(--display); transition: background .2s,border-color .2s,transform .2s; }.cartridge:hover,.time-option:hover,.cartridge.selected,.time-option.selected { background: #607d2a; border-color: var(--acid); transform: translateY(-2px); }.cartridge span,.time-option small { display: block; }.cartridge small,.time-option small { margin-top: 8px; color: #c9eb72; font: 10px var(--mono); }.cartridge-chip { display: block; width: 24px; height: 24px; margin-bottom: 16px; border: 3px solid rgba(255,255,255,.55); border-radius: 5px; }.green { background: #b6ff00; }.purple { background: #9c54ff; }.gold { background: #ffd84a; }.time-label { margin-top: 24px; }.time-option { text-align: center; }.mine-status { margin-top: 24px; color: var(--paper); }.progress-track { height: 16px; margin: 10px 0 13px; background: #17220f; border: 1px solid #607c2b; }.progress-track span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(135deg,var(--acid) 0 9px,#8bb713 9px 17px); transition: width .3s linear; }.timer-row { color: #9db56c; }.timer-row strong { color: var(--acid); }.mine-button { width: 100%; margin-top: 22px; justify-content: center; }.mine-button:disabled { cursor: wait; opacity: .65; transform: none; }.stats-strip { display: grid; grid-template-columns: repeat(3,1fr); margin: 35px 0 70px; border: 1px solid var(--line); }.stats-strip div { padding: 20px; border-right: 1px solid var(--line); }.stats-strip div:last-child { border-right: 0; }.stats-strip span { display: block; color: var(--muted); font: 10px var(--mono); }.stats-strip strong { display: block; margin-top: 12px; color: var(--acid); font: 24px var(--display); }
.supply-mark { display: flex; align-items: baseline; gap: 12px; margin-top: 36px; color: var(--acid); }.supply-mark strong { font: clamp(3rem,6vw,6rem) var(--display); line-height: .85; }.supply-mark span { color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.play-modal { display: none; position: fixed; inset: 0; z-index: 50; place-items: center; overflow-y: auto; padding: 20px; }.play-modal.is-open { display: grid; }.modal-backdrop { position: absolute; inset: 0; background: rgba(10,8,17,.82); backdrop-filter: blur(5px); }.play-window { position: relative; z-index: 1; width: min(560px,100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #171321; border: 1px solid var(--acid); box-shadow: 8px 8px 0 var(--pink), 0 25px 80px rgba(0,0,0,.55); animation: window-in .25s ease-out; }.window-bar { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; color: var(--ink); background: var(--acid); font: 11px var(--mono); }.window-close { cursor: pointer; border: 0; color: var(--ink); background: transparent; font: 26px/1 var(--display); }.window-body { overflow-y: auto; padding: 30px; }.window-status { margin: 0; color: var(--pink); font: 10px var(--mono); }.window-body h2 { margin: 24px 0 12px; color: var(--paper); font: clamp(2.4rem,7vw,4rem) var(--display); }.window-body h2 span { color: var(--pink); }.window-copy { margin: 0 0 28px; color: var(--muted); line-height: 1.7; }.leaderboard { border-top: 1px solid var(--line); }.leaderboard-head,.leader-row { display: grid; grid-template-columns: 45px 1fr 80px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font: 11px var(--mono); }.leaderboard-head { grid-template-columns: 1fr 80px; padding: 12px 0; color: var(--acid); }.leaderboard-head span:last-child { text-align: right; }.leader-row b { color: var(--pink); }.leader-row span { color: var(--paper); }.leader-row strong { color: var(--acid); text-align: right; }.leader-row.faded { opacity: .55; }.window-button { margin-top: 26px; }
@keyframes window-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes blink { 50% { opacity: .25; } } @keyframes equalize { to { height: 24px; } }
@keyframes boot-progress { to { width: 100%; } } @keyframes boot-pulse { 50% { filter: brightness(1.05); } } @keyframes boot-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } @keyframes boot-walk { 0% { left: -28px; } 100% { left: calc(100% + 6px); } } @keyframes walker-arm { to { transform: rotate(35deg); } } @keyframes walker-leg-left { to { transform: rotate(28deg); } } @keyframes walker-leg-right { to { transform: rotate(-28deg); } }
@media (max-width: 900px) { .hero,.signal,.faq-section { grid-template-columns: 1fr; }.hero { padding-top: 35px; }.hero-console { max-width: 560px; }.cards { grid-template-columns: 1fr; }.card { min-height: 260px; }.card h3 { margin-top: 42px; }.roadmap-item { grid-template-columns: 100px 1fr; }.roadmap-item>strong { grid-column: 2; justify-self: start; } }
@media (max-width: 620px) { .topbar,main,footer { width: calc(100% - 28px); }.topbar { flex-wrap: wrap; }.nav { order: 3; width: 100%; justify-content: space-between; }.button-small { margin-left: auto; }.hero { padding-top: 22px; }.hero-console { padding: 12px; border-radius: 12px 12px 30px 12px; }.console-screen { min-height: 310px; }.screen-logo { margin: 58px 0 55px; font-size: 24px; }.section { padding-top: 80px; }.section-title-row { align-items: flex-start; gap: 20px; flex-direction: column; }.matrix { grid-template-columns: 1fr; }.matrix-item { min-height: 145px; }.matrix-item strong { margin-top: 22px; }.cta { padding: 110px 0 140px; }.cta-stamp { bottom: 8%; right: 0; }footer { gap: 15px; flex-direction: column; } }
@media (max-width: 900px) { .miner-section { grid-template-columns: 1fr; }.miner-panel { max-width: 680px; } }
@media (max-width: 620px) { .cartridge-grid,.time-grid { grid-template-columns: 1fr; }.cartridge,.time-option { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; }.cartridge-chip { margin: 0; }.cartridge small,.time-option small { margin: 0; } .stats-strip { grid-template-columns: 1fr; }.stats-strip div { border-right: 0; border-bottom: 1px solid var(--line); }.stats-strip div:last-child { border-bottom: 0; } }
/* Refined boot screen: the logo leads, while the hardware details stay quiet. */
.boot-screen { background: radial-gradient(circle at 50% 42%, rgba(118,96,160,.2), transparent 42%), #0f0e17; }
.boot-shell { width: min(520px, 100%); padding: 0; color: var(--paper); background: #171321; border: 1px solid rgba(200,185,142,.8); box-shadow: 8px 8px 0 var(--pink), 0 24px 70px rgba(0,0,0,.55); animation: boot-pulse 1.4s steps(2, end) infinite; }
.boot-top { padding: 15px 19px; color: var(--acid); border-bottom: 1px solid var(--line); }
.boot-display { justify-content: center; min-height: 145px; margin: 0; padding: 30px 28px; background: linear-gradient(135deg, #242035, #13121e); border: 0; border-bottom: 1px solid var(--line); box-shadow: inset 0 -12px 30px rgba(0,0,0,.2); }
.boot-brand { width: min(190px, 48%); }
.boot-copy { gap: 10px; padding-left: 24px; border-left: 1px solid rgba(200,185,142,.35); }
.boot-copy span { color: var(--acid); }
.boot-copy small { color: var(--muted); }
.boot-walkway { margin: 0 19px; }
.boot-progress { margin: 20px 19px 15px; }
.boot-foot { padding: 0 19px 16px; }
@media (max-width: 520px) { .boot-display { align-items: start; flex-direction: column; gap: 18px; padding: 26px 20px; }.boot-brand { width: min(190px, 72%); }.boot-copy { padding: 0; border: 0; }.boot-walkway { margin-inline: 20px; }.boot-progress { margin-inline: 20px; }.boot-foot { padding-inline: 20px; font-size: 8px; } }
/* Full-width miner layout */
.miner-section { grid-template-columns: 1fr; }
.brand-image { object-fit: cover; object-position: center 43%; padding: 0; border: 0; border-radius: 3px; background: #e8dfd2; }
.brand-wordmark { display: block; width: 142px; height: auto; }
.boot-brand { display: block; width: min(340px, 88%); height: auto; flex: 0 0 auto; content: url("assets/hoodboy-wordmark-centered.png"); margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.game-hud { display: flex; justify-content: space-between; gap: 14px; margin: 22px 0 10px; padding: 11px 13px; color: var(--acid); background: #25251b; border: 1px solid rgba(200,185,142,.38); font: 11px var(--mono); letter-spacing: .05em; }
.game-hud strong { color: var(--paper); font-weight: 400; }
.game-board { position: relative; height: 260px; overflow: hidden; background: #687344; border: 7px solid #292b21; box-shadow: inset 0 0 0 2px #a1a77b, inset 0 0 35px rgba(17,24,9,.45); outline: none; }
.game-board::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(30,41,13,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(30,41,13,.35) 1px, transparent 1px); background-size: 14px 14px; pointer-events: none; }
.game-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(232,223,210,.06) 6px); }
.game-player, .game-spark, .game-message { position: absolute; z-index: 1; }
.game-player { bottom: 14px; left: 50%; display: grid; place-items: center; width: 44px; height: 32px; color: #687344; background: #dbe4a3; border: 4px solid #252b18; box-shadow: 4px 4px 0 rgba(35,42,18,.65); font: 12px var(--pixel); transform: translateX(-50%); transition: left .12s ease-out; }
.game-player::before { content: ""; position: absolute; left: 5px; right: 5px; bottom: -8px; height: 4px; background: #252b18; }
.game-spark { top: -12%; left: 50%; color: #f4edbe; text-shadow: 2px 2px 0 #3f4d25; font: 28px/1 var(--pixel); transform: translateX(-50%); }
.game-message { top: 50%; left: 50%; width: 90%; color: #e8dfd2; text-align: center; font: 15px/1.6 var(--pixel); transform: translate(-50%, -50%); text-shadow: 2px 2px 0 #3d4825; pointer-events: none; }
.game-board.is-running .game-message { opacity: 0; }
.game-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.game-start { min-width: 180px; justify-content: center; }
.touch-controls { display: flex; gap: 8px; }
.touch-controls button { display: grid; place-items: center; width: 42px; height: 38px; cursor: pointer; color: var(--ink); background: var(--acid); border: 2px solid var(--acid); box-shadow: 3px 3px 0 var(--orange); font: 18px/1 var(--display); }
.touch-controls button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--orange); }
.game-board.game-over { background: #594554; }
.game-board.game-over .game-message { opacity: 1; }
.game-bricks { position: absolute; inset: 0; z-index: 1; }
.game-brick { position: absolute; display: block; width: 9.3%; height: 6%; background: #d6d89a; border: 2px solid #303c20; box-shadow: 2px 2px 0 rgba(32,43,18,.75); transition: opacity .12s, transform .12s; }
.game-brick:nth-child(3n) { background: #b4bd7c; }
.game-brick:nth-child(3n + 1) { background: #e2d6a2; }
.game-brick.is-broken { opacity: 0; transform: scale(.45); }
.game-player { width: 48px; height: 14px; border-width: 3px; box-shadow: 3px 3px 0 rgba(35,42,18,.65); font-size: 0; }
.game-player::before { left: 4px; right: 4px; bottom: -7px; height: 3px; }
.game-spark { display: block; width: 14px; height: 14px; color: transparent; background: #f4edbe; border: 3px solid #394826; border-radius: 50%; box-shadow: 2px 2px 0 #3f4d25; font-size: 0; }
.attempts-note { margin: 12px 0 0; color: var(--muted); text-align: right; font: 10px var(--mono); }
.reset-demo { margin-left: 8px; padding: 0; cursor: pointer; color: var(--pink); background: transparent; border: 0; font: inherit; text-decoration: underline; }
.score-submit { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.score-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--acid); font: 10px var(--mono); }
.score-result strong { color: var(--paper); font: 34px var(--display); }
.form-note { margin: 12px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
#scoreForm { display: grid; gap: 9px; }
#scoreForm label:not(.check-row) { margin-top: 5px; color: var(--acid); font: 10px var(--mono); }
#scoreForm input[type="text"] { width: 100%; padding: 12px; color: var(--paper); background: #25202e; border: 1px solid rgba(232,223,210,.35); outline: none; font: 12px var(--mono); }
#scoreForm input[type="text"]:focus { border-color: var(--acid); box-shadow: 0 0 0 2px rgba(200,185,142,.15); }
.check-row { display: flex; align-items: center; gap: 9px; margin: 8px 0; color: var(--muted); font: 11px var(--mono); }
.check-row input { accent-color: var(--pink); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-actions .button { flex: 1 1 145px; justify-content: center; padding: 13px 10px; }
.form-error { min-height: 15px; margin: 4px 0 0; color: var(--pink); font: 10px var(--mono); }
.leaderboard { margin-top: 30px; border-top: 1px solid var(--line); }
.leaderboard-title { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 7px; color: var(--pink); font: 10px var(--mono); }
.leaderboard-title span:last-child { color: var(--muted); }
.leader-empty { margin: 0; padding: 18px 0; color: var(--muted); font: 10px var(--mono); }
.play-again, .play-reset { width: 100%; justify-content: center; margin-bottom: 10px; }
.play-reset { color: var(--pink); border-color: rgba(194, 72, 137, .6); }
.play-reset:hover { color: var(--paper); border-color: var(--pink); }
.submit-toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: min(390px, calc(100vw - 48px)); padding: 16px 18px; color: var(--ink); background: var(--acid); border: 2px solid var(--paper); box-shadow: 5px 5px 0 var(--pink); font: 11px/1.5 var(--mono); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.leaderboard .leaderboard-head, .leaderboard .leader-row { padding: 10px 0; }
.leaderboard .leader-row { grid-template-columns: 45px 1fr 80px; }
.leaderboard:empty { display: none; }
@media (max-width: 620px) { .window-body { padding: 22px 18px; }.game-board { height: 230px; }.game-controls { align-items: stretch; flex-direction: column; }.game-start { width: 100%; }.touch-controls { justify-content: center; }.touch-controls button { width: 54px; height: 42px; }.game-hud { gap: 7px; padding-inline: 9px; font-size: 9px; }.form-actions { flex-direction: column; }.form-actions .button { width: 100%; } }
/* Oversized logo lockup for the boot sequence. */
.boot-display { position: relative; flex-direction: column; align-items: center; gap: 19px; min-height: 205px; padding: 30px 28px 23px; overflow: hidden; }
.boot-display::before { content: "SIGNAL // 2003"; position: absolute; top: 10px; right: 14px; color: rgba(200,185,142,.48); font: 8px var(--mono); letter-spacing: .12em; }
.boot-display::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(200,185,142,.045) 6px); }
.boot-brand { position: relative; z-index: 1; width: min(340px, 88%); }
.boot-copy { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(340px, 88%); padding: 12px 0 0; border-top: 1px solid rgba(200,185,142,.35); border-left: 0; }
.boot-copy span { color: var(--acid); }
.boot-copy small { color: var(--muted); }
.boot-walkway { height: 62px; margin-top: 0; }
@media (max-width: 520px) { .boot-display { min-height: 190px; padding: 29px 18px 20px; }.boot-brand { width: min(340px, 100%); }.boot-copy { width: 100%; }.boot-walkway { margin-inline: 20px; } }
