/* Beveled buttons and score hierarchy adapted for this static game from
   21st.dev Retro Button and 8-bit Stats Dashboard. */
@font-face{font-family:'Mascot Hand';src:url('assets/fonts/GloriaHallelujah.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--ink:#142b1a;--paper:#f5ffe9;--yellow:#c8f25a;--orange:#48b84d;--mint:#ccefa6;--muted:#4b6348}
*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:var(--yellow);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}[hidden]{display:none!important}
.page{max-width:1560px;margin:auto;padding:0 42px}.site-header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:3px solid var(--ink)}.wordmark{font-family:Impact,'Arial Black',sans-serif;font-size:48px;line-height:1;text-transform:lowercase;letter-spacing:-2px;color:var(--ink);text-decoration:none;white-space:nowrap}.wordmark span{display:inline-block;transform:rotate(-7deg)}.wordmark sup{font:700 27px Arial,sans-serif;vertical-align:top;margin-left:4px}.header-note,.header-stamp,.serial,.stats-label,.live-state,.cabinet-bottom,.arena-note,.overlay-number,.start-hint,.drop-line,.rules h2,footer{font-family:'Courier New',monospace;font-weight:800;letter-spacing:.04em}.header-note{font-size:13px}.header-stamp{font-size:12px;padding:9px 13px;border:2px solid var(--ink);transform:rotate(3deg);background:var(--paper);box-shadow:3px 3px 0 var(--ink)}
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:30px;padding:26px 0 28px}.cabinet{min-width:0;border:4px solid var(--ink);border-radius:8px;background:var(--paper);box-shadow:9px 10px 0 var(--ink);overflow:hidden}.cabinet-top{display:flex;align-items:stretch;justify-content:space-between;gap:15px;background:var(--ink);color:var(--paper);padding:19px 22px 17px}.game-id{min-width:0}.serial{font-size:12px;color:var(--yellow)}.game-id h1{margin:4px 0 0;font:normal clamp(40px,4.5vw,70px)/.95 Impact,'Arial Black',sans-serif;letter-spacing:-.035em;text-transform:uppercase}.game-id em{color:var(--yellow);font-style:normal;white-space:nowrap}.stats-card{min-width:178px;padding:8px 14px;background:var(--yellow);border:3px solid var(--paper);outline:2px solid var(--ink);color:var(--ink);box-shadow:4px 4px 0 var(--orange);display:flex;flex-direction:column;justify-content:center;align-items:flex-end}.stats-label{width:100%;display:flex;justify-content:space-between;gap:8px;border-bottom:2px solid var(--ink);padding-bottom:5px;font-size:11px}.stats-label span{font-size:16px;line-height:10px}.stats-card strong{font:normal 58px/.95 Impact,'Arial Black',sans-serif;letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin-top:5px}.stats-card strong.bump{animation:score-bump .25s ease-out}
.tool-row{min-height:57px;padding:9px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px solid var(--ink);background:#f2eed9}.live-state{display:flex;align-items:center;gap:10px;font-size:12px}.live-state i{width:12px;height:12px;border-radius:50%;border:2px solid var(--ink);background:var(--orange);box-shadow:2px 2px 0 var(--ink)}.tool-actions{display:flex;gap:10px}
.retro-button{border:2px solid #070707;border-radius:4px;padding:3px;background:#050505;color:#fff;box-shadow:2px 2px 0 #8b8773;display:inline-flex;align-items:stretch;justify-content:stretch;transition:transform .12s,box-shadow .12s}.retro-button .button-face{display:flex;align-items:center;justify-content:center;min-height:100%;width:100%;border-radius:2px;background:var(--orange);box-shadow:inset 2px 2px 1px #ffc19e,inset -3px -3px 1px #9b361c,2px 2px 3px #000;color:#171613;font-weight:900;letter-spacing:.025em;transition:transform .12s,box-shadow .12s,background .12s}.retro-button:hover{transform:translateY(-2px)}.retro-button:active{box-shadow:none;transform:translate(2px,2px)}.retro-button:active .button-face{transform:scale(.97);background:#db532b;box-shadow:inset 0 0 5px #552414}.retro-button-small{min-width:43px;height:35px}.retro-button-small .button-face{font-size:21px;line-height:1}.retro-button-primary{min-width:230px;min-height:62px;box-shadow:5px 6px 0 var(--ink)}.retro-button-primary .button-face{padding:14px 27px;font:normal 27px Impact,'Arial Black',sans-serif;letter-spacing:.035em}
.arena{position:relative;min-height:580px;height:min(61vh,720px);overflow:hidden;touch-action:none;background-color:var(--paper);background-image:linear-gradient(to right,#e8e4d0 1px,transparent 1px),linear-gradient(to bottom,#e8e4d0 1px,transparent 1px);background-size:36px 36px;isolation:isolate}.arena:before,.arena:after{content:'';position:absolute;z-index:0;pointer-events:none;border:2px solid #d0cbb7;width:12px;height:12px}.arena:before{top:14px;left:15px;border-right:0;border-bottom:0}.arena:after{top:14px;right:15px;border-left:0;border-bottom:0}.arena-note{position:absolute;top:17px;left:50%;transform:translateX(-50%);font-size:11px;color:var(--muted);white-space:nowrap;pointer-events:none}#targets{position:absolute;inset:0}.target{position:absolute;top:0;left:0;width:82px;height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:3px solid var(--ink);border-radius:9px 11px 7px 12px;background:var(--tile,#fff);box-shadow:4px 5px 0 var(--ink);will-change:transform;user-select:none;padding:8px;cursor:inherit;z-index:1}.target:focus-visible{outline:4px solid var(--orange)}.target img{width:43px;height:43px;object-fit:contain;pointer-events:none}.target span{font-size:11px;font-weight:900;pointer-events:none}.target:active{filter:brightness(.95)}
.overlay{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 15px;background:rgba(255,253,240,.9);backdrop-filter:blur(2px)}.overlay-number{font-size:12px;padding:6px 12px;background:var(--ink);color:var(--yellow);transform:rotate(-3deg)}.start-hammer{font-size:64px;line-height:1;transform:rotate(-18deg);margin:18px 0 5px;filter:drop-shadow(4px 5px 0 #1c1b1640)}.overlay h2{margin:0;font:normal clamp(60px,7vw,100px)/.82 Impact,'Arial Black',sans-serif;letter-spacing:-.045em;text-transform:uppercase;transform:rotate(-3deg)}.overlay h2 i{color:var(--orange);font-style:normal;text-shadow:3px 3px 0 var(--ink)}.overlay p{font-size:17px;line-height:1.45;margin:24px 0 24px}.start-hint{font-size:11px;margin-top:24px}.drop-line{position:absolute;bottom:0;left:0;width:100%;height:42px;border-top:3px dashed #b4ad92;display:flex;align-items:center;justify-content:center;background:#f0ebd7;color:#625d4e;font-size:11px;pointer-events:none}.pop{position:absolute;z-index:4;pointer-events:none;color:var(--orange);font:normal 40px Impact,'Arial Black',sans-serif;text-shadow:2px 2px 0 var(--ink);animation:pop .58s ease-out forwards}#hammer{display:none;position:absolute;z-index:10;top:0;left:0;font-size:62px;line-height:1;pointer-events:none;transform-origin:75% 85%;filter:drop-shadow(3px 4px 0 #1c1b1655)}#hammer.hit{animation:whack .15s ease-in-out}.arena.playing.pointer-inside,.arena.playing.pointer-inside button{cursor:none}.arena.playing.pointer-inside #hammer{display:block}.cabinet-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 20px;background:var(--mint);border-top:3px solid var(--ink);font-size:11px}
.side-panel{display:flex;flex-direction:column;gap:21px}.side-top{display:flex;justify-content:space-between;align-items:start;padding:15px 5px 0}.scribble{font:normal 48px/.91 'Comic Sans MS',Impact,sans-serif;letter-spacing:-.055em;transform:rotate(-6deg);text-transform:lowercase}.side-star{font-size:57px;line-height:1;transform:rotate(15deg)}.mascot-card{margin:0;background:var(--paper);border:3px solid var(--ink);border-radius:6px 9px 5px 7px;padding:11px;box-shadow:6px 7px 0 var(--ink);transform:rotate(3deg)}.mascot-card img{display:block;width:100%;height:auto;mix-blend-mode:multiply}.mascot-card figcaption{font:italic 13px 'Courier New',monospace;text-align:center;margin:8px 0 3px}.rules{padding:17px 17px 10px;border:3px solid var(--ink);background:#f7ad91;box-shadow:5px 5px 0 var(--ink);transform:rotate(-1deg)}.rules h2{font-size:15px;margin:0 0 15px;display:flex;justify-content:space-between}.rules p{font-size:14px;line-height:1.25;margin:0;padding:9px 0;border-top:2px dashed var(--ink)}.rules b{font:900 13px 'Courier New',monospace;margin-right:7px}.rules strong{font-weight:900}
footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:3px solid var(--ink);padding:19px 0 26px;font-size:12px}footer span:first-child{font:normal 23px Impact,'Arial Black',sans-serif;letter-spacing:.015em}footer a{color:inherit;text-underline-offset:3px}@keyframes whack{50%{rotate:-60deg}}@keyframes pop{to{transform:translateY(-65px) rotate(13deg);opacity:0}}@keyframes score-bump{50%{transform:scale(1.18)}}
@media(max-width:1100px){.page{padding:0 24px}.game-layout{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.scribble{font-size:39px}.side-star{font-size:42px}.arena{min-height:520px}.stats-card{min-width:145px}.stats-card strong{font-size:48px}}
@media(max-width:760px){.page{padding:0 14px}.site-header{height:66px}.wordmark{font-size:37px}.header-note{display:none}.header-stamp{font-size:10px;max-width:145px;text-align:center}.game-layout{display:flex;flex-direction:column;gap:22px;padding-top:18px}.cabinet{width:100%;box-shadow:6px 7px 0 var(--ink)}.cabinet-top{padding:14px}.game-id h1{font-size:clamp(37px,8vw,57px)}.stats-card{min-width:122px;padding:6px 8px}.stats-card strong{font-size:43px}.stats-label{font-size:9px}.arena{height:62vh;min-height:430px;max-height:620px}.side-panel{display:grid;grid-template-columns:140px 1fr;gap:14px;align-items:start;width:100%}.side-top{display:none}.mascot-card{margin:4px 0 0;transform:rotate(-3deg);padding:4px;box-shadow:4px 4px 0 var(--ink)}.mascot-card figcaption{display:none}.rules{transform:none;box-shadow:4px 4px 0 var(--ink);padding:12px}.rules h2{font-size:12px}.rules p{font-size:12px;padding:6px 0}.rules b{font-size:11px}.cabinet-bottom{padding:12px;font-size:10px}.overlay h2{font-size:70px}footer{font-size:10px}footer span:first-child{font-size:18px}.target{width:72px;height:84px}.target img{width:39px;height:39px}}
@media(max-width:480px){.header-stamp{max-width:120px;padding:6px}.cabinet-top{gap:6px}.game-id h1{font-size:36px}.stats-card{min-width:100px}.stats-card strong{font-size:39px}.tool-row{padding:8px 12px}.live-state{font-size:10px}.arena{min-height:415px}.side-panel{grid-template-columns:100px 1fr}.rules p{font-size:11px}.rules h2{font-size:11px}.rules b{font-size:11px}.start-hint{font-size:9px}.retro-button-primary{min-width:210px}}
.arena.touch-hit #hammer{display:block}
body,button,.wordmark,.header-note,.header-stamp,.serial,.stats-label,.stats-card strong,.live-state,.health-group,.cabinet-bottom,.arena-note,.overlay-number,.start-hint,.drop-line,.rules,.mascot-card figcaption,footer,.target span,.pop{font-family:'Mascot Hand','Comic Sans MS',cursive}
.wordmark,.game-id h1,.stats-card strong,.retro-button-primary .button-face,.overlay h2,.scribble,footer span:first-child{font-family:'Mascot Hand','Comic Sans MS',cursive;font-weight:400}
.wordmark{font-size:42px;letter-spacing:-.065em}.game-id h1{font-size:clamp(34px,4.2vw,61px);line-height:1.1;letter-spacing:-.075em}.stats-card strong{font-size:48px;line-height:1.2}.retro-button-primary .button-face{font-size:23px;line-height:1.3}.overlay h2{font-size:clamp(48px,5.8vw,77px);line-height:1.1;letter-spacing:-.075em}.overlay p{line-height:1.6;max-width:480px}.scribble{font-size:40px;line-height:1.1}.target span{font-size:10px;line-height:1.3}.rules p{line-height:1.5}.mascot-card figcaption{font-style:normal}.pop{font-size:35px}.stats-label{font-size:12px}.start-hint{line-height:1.4;text-wrap:balance}
.health-group{display:flex;align-items:center;gap:10px;margin-left:auto;padding:4px 7px;border:2px solid var(--ink);background:var(--yellow);box-shadow:2px 2px 0 var(--ink);transform:rotate(-1deg);white-space:nowrap}.health-label{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;line-height:1.3}.health-label strong{font-size:14px;font-weight:400}#health{display:flex;gap:4px;padding:4px;border:2px solid var(--ink);background:var(--paper)}.life{width:24px;height:16px;background:var(--orange);border:1px solid var(--ink);transform:skew(-8deg);transition:background .2s}.life.lost{background:#e3ddc9}.tool-actions{flex-shrink:0}.arena.damage{animation:damage-flash .2s ease-out}@keyframes damage-flash{50%{box-shadow:inset 0 0 0 8px var(--orange)}}
@media(max-width:760px){.wordmark{font-size:32px}.game-id h1{font-size:clamp(28px,6vw,44px)}.stats-card strong{font-size:39px}.overlay h2{font-size:52px}.scribble{font-size:32px}.health-group{gap:5px;padding:3px 5px}.life{width:17px;height:12px}.health-label{font-size:10px}.health-label strong{font-size:12px}.retro-button-primary .button-face{font-size:21px}.rules h2{font-size:12px}.rules p{font-size:12px}}
@media(max-width:480px){.game-id h1{font-size:29px}.stats-card strong{font-size:34px}.stats-card{min-width:93px}.stats-label{font-size:10px}.overlay h2{font-size:44px}.overlay p{font-size:15px}.health-label{font-size:10px}.health-label strong{font-size:12px}.life{width:14px;height:11px}.health-group{gap:3px}#health{gap:2px;padding:3px}.tool-row{gap:5px}.retro-button-small{min-width:34px}.tool-actions{gap:5px}.live-state{font-size:10px}.arena-note,.drop-line,.cabinet-bottom{font-size:9px}}
@media(prefers-reduced-motion:reduce){.pop{animation-duration:.1s}#hammer.hit,.stats-card strong.bump{animation:none}.retro-button,.retro-button .button-face{transition:none}}

/* Green, marker-drawn edition. Keep the arcade's strong outlines and handmade type. */
.header-stamp{background:#e3f8bf}
.stats-card{box-shadow:4px 4px 0 #28763b}
.tool-row{background:#e1f5c7}
.live-state i{background:#55d65c}
.retro-button .button-face{box-shadow:inset 2px 2px 1px #abf2a1,inset -3px -3px 1px #216d32,2px 2px 3px #000;color:#102719}
.retro-button:active .button-face{background:#2e9c3d;box-shadow:inset 0 0 5px #154c24}
.arena{background-image:linear-gradient(to right,#dcebd0 1px,transparent 1px),linear-gradient(to bottom,#dcebd0 1px,transparent 1px)}
.arena:before,.arena:after{border-color:#b5cba8}
.target{border-radius:12px 8px 14px 6px;background:var(--tile,#dff6bf);box-shadow:4px 5px 0 var(--ink),inset 0 0 0 2px #ffffff85;transform-origin:51% 48%;padding:9px 5px 7px;gap:4px}
.target:before{content:'✳';position:absolute;top:0;left:5px;font:17px/1 'Mascot Hand',cursive;color:#357a34;transform:rotate(-18deg);pointer-events:none}
.target:after{content:'〰';position:absolute;right:4px;bottom:17px;font:14px/1 'Mascot Hand',cursive;color:#40964a;transform:rotate(12deg);pointer-events:none}
.target img{width:47px;height:47px;transform:rotate(-7deg);filter:drop-shadow(1px 1px 0 #142b1a66)}
.target span{font-size:10px;letter-spacing:-.06em;transform:rotate(3deg);text-shadow:.3px .3px 0 var(--ink)}
.overlay{background:rgba(245,255,233,.92)}
.drop-line{border-top-color:#83ac78;background:#e3f3d0;color:#355037}
.mascot-card{background:#e9f8d2}
.mascot-card img{mix-blend-mode:normal}
.rules{background:#a7df7b}
.life{background:#48b84d}.life.lost{background:#d9e5cb}
@media(max-width:760px){.target img{width:42px;height:42px}.target:after{bottom:15px}}

.header-actions{display:flex;align-items:center;gap:15px}
.social-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:5px 12px;border:3px solid var(--ink);border-radius:5px 9px 4px 7px;background:#e3f8bf;color:var(--ink);box-shadow:3px 4px 0 var(--ink);font:normal 15px 'Mascot Hand','Comic Sans MS',cursive;text-decoration:none;white-space:nowrap;transform:rotate(-2deg);transition:transform .12s,box-shadow .12s}
.social-button:hover{transform:rotate(1deg) translateY(-2px)}
.social-button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.social-button svg{width:23px;height:23px;fill:currentColor;stroke:currentColor;stroke-width:.4;stroke-linejoin:round;flex:none}
.music-button{min-width:66px;height:35px}
.music-button .button-face{padding:0 7px;font:normal 14px 'Mascot Hand','Comic Sans MS',cursive;white-space:nowrap}
.music-button[aria-pressed="false"] .button-face{background:#c6d3bc;color:#39503c;box-shadow:inset 2px 2px 1px #e2ecdb,inset -3px -3px 1px #7f987b,2px 2px 3px #000}
@media(max-width:760px){.header-actions{gap:8px}.social-button{min-width:42px;min-height:39px;padding:5px 7px}.social-button span{display:none}}
@media(max-width:410px){.header-stamp{display:none}.tool-row{flex-wrap:wrap}.tool-actions{margin-left:auto}.health-group{margin-left:0}}
