:root{color-scheme:dark;--bg:#101713;--panel:#172119;--line:#344235;--cream:#eee9d5;--muted:#8e9a85;--lime:#c1d778;--yellow:#f6bf55;--pink:#e17a70;font-family:'Courier New',monospace;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--cream);min-height:100dvh;background-image:radial-gradient(ellipse at 50% 45%,#23352633,transparent 60%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:5px}button{color:inherit}button:disabled{cursor:default}button:active{transform:translateY(2px)}[hidden]{display:none!important}.site-header{height:94px;border-bottom:1px solid #2b382d;max-width:1320px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.brand{display:flex;align-items:center;text-decoration:none;color:var(--cream);font-weight:900;font-size:22px;letter-spacing:-1px}.brand>span:not(.brand-icon){color:var(--lime)}.brand-icon{color:var(--yellow);font-size:39px;margin-right:10px;transform:rotate(-12deg);line-height:1}.brand i{font-size:10px;letter-spacing:2px;font-style:normal;margin-left:15px;border:1px solid var(--line);padding:5px 6px;color:var(--muted)}.header-right{display:flex;gap:26px;align-items:center}.edition{font-size:11px;letter-spacing:1px;color:var(--muted)}.edition b{color:var(--cream);margin-left:10px}.icon-button{background:transparent;border:1px solid var(--line);height:36px;min-width:42px;font-size:19px;display:flex;align-items:center;justify-content:center;gap:7px}.icon-button span{font-size:10px}.arcade-layout{max-width:1256px;margin:34px auto 24px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(340px,420px) minmax(200px,1fr);gap:54px;padding:0 38px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.3px;color:var(--muted);font-weight:bold;line-height:1.6}.live-dot{display:inline-block;height:6px;width:6px;background:var(--pink);margin-right:8px;box-shadow:0 0 0 3px #e17a7014}h1{font-size:62px;line-height:.98;letter-spacing:-4px;margin:23px 0;color:var(--cream);font-weight:900}h1 span{color:var(--lime)}.intro{font-size:13px;line-height:1.8;color:#a8b09b;margin-bottom:30px}.divider{height:1px;background:var(--line);margin:28px 0}aside h2{font-size:11px;letter-spacing:1.2px;color:var(--muted);margin:0 0 22px}h3{font-size:11px;margin:0 0 7px;letter-spacing:.3px}.enemy-row{display:flex;gap:13px;align-items:center;margin:22px 0}.enemy-art{width:46px;height:60px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.enemy-art img{max-width:54px;max-height:61px;image-rendering:pixelated}.enemy-row p{font-size:10px;color:var(--muted);line-height:1.6;margin:0 0 5px}.enemy-tag{font-size:8px;letter-spacing:1px;color:var(--lime)}.enemy-tag.fast{color:var(--yellow)}.enemy-tag.tank{color:var(--pink)}.side-foot{font-size:8px;line-height:1.8;letter-spacing:.7px;color:#6c7a67;margin-top:29px}.game-column{width:100%;align-self:start}.cabinet-label,.cabinet-footer{display:flex;justify-content:space-between;align-items:center;height:30px;font-size:9px;letter-spacing:1px;color:#aab69a}.cabinet-label i{display:inline-block;width:5px;height:5px;background:var(--lime);margin-right:6px;vertical-align:1px}.cabinet-footer{font-size:8px;color:#75856e;height:34px}.cabinet-footer button{background:none;border:0;color:#aab69a;font-size:9px;padding:10px 0}.game-shell{aspect-ratio:390/650;position:relative;isolation:isolate;overflow:hidden;border:2px solid #65704a;box-shadow:0 0 0 5px #1b251b,0 0 0 6px #34412e,0 18px 60px #0006;background:#263629}canvas{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:none}.scanlines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,#00000012 3px 4px);z-index:2;opacity:.5}.game-overlay{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 27px;background:linear-gradient(180deg,#101913a8 0%,#17251a82 50%,#0c150fed 100%)}.ticket{color:var(--lime);font-size:8px;letter-spacing:1.3px;margin-bottom:26px}.game-title{line-height:.89;letter-spacing:-3px;transform:rotate(-4deg);text-shadow:3px 3px 0 #293522,6px 6px 0 #08130c;font-weight:1000}.game-title>span{display:block;font-size:55px;color:var(--lime);letter-spacing:1px}.game-title>strong{display:block;font-size:76px;color:var(--yellow)}.title-dot{color:var(--pink)}.hero-art{height:175px;width:230px;position:relative;margin:9px 0 0}.hero-halo{position:absolute;width:142px;height:142px;left:45px;top:22px;background:radial-gradient(ellipse,#bfce712e,transparent 65%)}.hero-clown{position:absolute;height:150px;width:auto;max-width:150px;object-fit:contain;left:50px;top:10px;image-rendering:pixelated;filter:drop-shadow(5px 10px 0 #0005);animation:bob 2.3s steps(3,end) infinite}.hero-chair{height:66px;width:auto;max-width:78px;position:absolute;right:8px;top:25px;image-rendering:pixelated;transform:rotate(28deg);filter:drop-shadow(4px 6px 0 #0005);animation:chair-bob 2.3s steps(3,end) infinite}.spark{position:absolute;color:var(--yellow)}.spark-a{top:32px;left:26px;font-size:23px}.spark-b{bottom:28px;right:19px;font-size:15px;color:var(--lime)}.menu-description{font-size:12px;line-height:1.8;color:#c1c9ac;margin:0 0 25px}.primary-button{border:0;border-bottom:4px solid #b87936;width:100%;background:var(--yellow);color:#242719;font-size:12px;font-weight:bold;letter-spacing:.7px;min-height:51px;display:flex;align-items:center;justify-content:center;gap:15px;box-shadow:3px 3px 0 #101a11;transition:background .15s}.primary-button:hover{background:#ffd276}.primary-button b{font-size:23px}.text-button{border:0;background:transparent;color:#c1c9ac;font-size:9px;letter-spacing:1px;padding:20px 8px}.text-button:hover{color:var(--yellow)}.menu-tip{display:flex;justify-content:space-between;width:100%;color:#819875;font-size:8px;margin-top:13px}.right-panel>.eyebrow{margin-bottom:15px}.right-panel>h2{font-size:34px;line-height:1.12;letter-spacing:-1.5px;color:var(--cream);margin:0 0 31px}.right-panel>h2 span{color:var(--lime)}.instruction{display:flex;gap:13px;margin-bottom:24px}.step-number{color:#67765d;font-size:10px;padding-top:2px}.instruction p{color:var(--muted);font-size:10px;line-height:1.9;margin:0}.instruction h3{color:#d9deca}kbd{font:9px 'Courier New',monospace;border:1px solid #475340;border-bottom:2px solid #475340;padding:2px 4px;display:inline-block;line-height:1;margin:0 1px;color:#b1bb9f}.key-row{display:inline-block;margin:0 3px 0 0}.pickup-title{font-size:9px;line-height:1.7;letter-spacing:.3px;color:var(--muted);margin-bottom:21px}.pickup-guide{display:flex;align-items:center;gap:12px;margin:19px 0}.pickup-icon{height:29px;width:29px;display:flex;align-items:center;justify-content:center;font-size:22px;border:1px solid currentColor;transform:rotate(-7deg);flex-shrink:0}.chair-icon{color:var(--yellow)}.speed-icon{color:var(--lime)}.heart-icon{color:var(--pink);font-size:17px}.pickup-guide strong{font-size:10px}.pickup-guide p{font-size:9px;color:var(--muted);margin:6px 0 0;line-height:1.5}.site-footer{max-width:1236px;margin:0 auto;padding:24px 22px;border-top:1px solid #29362a;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#68775f}.hud{position:absolute;inset:0;pointer-events:none;z-index:3;padding:17px 16px}.hud-top{display:flex;align-items:center;gap:14px}.hud-caption{font-size:7px;letter-spacing:1px;color:#b2bca3}.hearts{font-size:22px;color:var(--pink);letter-spacing:2px;filter:drop-shadow(2px 2px 0 #142317)}.hearts .empty{color:#515d48}.hud-score{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:3px}.hud-score strong{font-size:21px;color:#f1ebc7;line-height:1}.pause-button{pointer-events:auto;border:1px solid #b7c69660;background:#152817bd;width:34px;height:34px;font-size:17px}.hud-meta{display:flex;justify-content:space-between;margin-top:11px;border-top:1px solid #91a57630;padding-top:7px;font-size:8px;letter-spacing:1px;color:#d0d9b8;text-shadow:1px 1px #000}.hud-meta #wave{color:var(--yellow)}.toast{position:absolute;top:105px;left:50%;transform:translateX(-50%) translateY(-5px);min-width:220px;max-width:94%;padding:11px;background:#172219eb;border:1px solid var(--yellow);color:var(--yellow);font-size:10px;line-height:1.5;text-align:center;opacity:0;transition:.15s;box-shadow:3px 3px #0004}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.loadout-hud{position:absolute;bottom:14px;left:16px;right:16px;display:flex;justify-content:space-between;color:var(--yellow);font-size:9px;letter-spacing:1px;text-shadow:1px 1px #000}.loadout-hud span:last-child{color:var(--lime)}.touch-controls{position:absolute;bottom:40px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.joystick{pointer-events:auto;position:relative;width:92px;height:92px;border:1px solid #d5e9b366;border-radius:50%;background:#17241c69;touch-action:none;user-select:none}.joystick-cross:before,.joystick-cross:after{content:'';position:absolute;background:#d5e9b321;top:50%;left:10%;width:80%;height:1px}.joystick-cross:after{transform:rotate(90deg)}.stick{position:absolute;left:26px;top:26px;width:38px;height:38px;border-radius:50%;background:#c6d3a14d;border:2px solid #d3e1b994;box-shadow:0 3px 0 #18241855}.joystick>span{position:absolute;bottom:-17px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:1px;color:#d5e0bd99}.dash-button{pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #d5e9b388;background:#17241c99;color:var(--lime);width:70px;height:70px;border-radius:50%;touch-action:none;user-select:none}.dash-button strong{font-size:34px;line-height:1}.dash-button span{font-size:7px;letter-spacing:1px;margin-top:3px}.dash-button.cooling{opacity:.5}.compact-overlay{background:#111b13e8;backdrop-filter:blur(3px)}.compact-overlay h2{font-size:49px;line-height:1.05;letter-spacing:-2px;margin:8px 0 18px}.compact-overlay h2 em{font-style:normal;color:var(--yellow)}.compact-overlay p{font-size:11px;color:var(--muted);margin-bottom:35px}.results{width:100%;margin:8px 0 15px}.results>div{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.results span{font-size:9px;color:var(--muted);letter-spacing:1px}.results strong{font-size:22px;color:var(--lime)}.exit-fullscreen{display:none;position:absolute;right:12px;bottom:10px;z-index:8;width:25px;height:25px;min-width:25px;border:0;font-size:18px;background:#13201788}.rotate-note{display:none}.game-shell:fullscreen,.game-shell.immersive{border:0;box-shadow:none;height:100dvh;width:min(100vw,60dvh);max-width:none;aspect-ratio:390/650;margin:auto;background:#263629}.game-shell:fullscreen::backdrop{background:#080f0a}.game-shell.immersive{position:fixed;inset:0;z-index:100}.game-shell:fullscreen .exit-fullscreen,.game-shell.immersive .exit-fullscreen{display:flex}.game-shell:fullscreen .loadout-hud,.game-shell.immersive .loadout-hud{right:45px}body.immersive-active{overflow:hidden}body.immersive-active:before{content:'';position:fixed;inset:0;background:#080f0a;z-index:99}@keyframes bob{50%{transform:translateY(-5px)}}@keyframes chair-bob{50%{transform:translate(3px,-6px) rotate(34deg)}}@media(hover:hover) and (pointer:fine){.touch-controls{opacity:.4}.touch-controls:hover{opacity:1}}@media(min-width:1100px) and (max-height:900px){.arcade-layout{grid-template-columns:minmax(200px,1fr) minmax(310px,calc((100dvh - 215px)*.6)) minmax(200px,1fr);max-width:1160px;margin-top:22px;gap:50px}.site-header{height:76px}.site-footer{padding:17px 22px}h1{font-size:54px}.hero-art{height:145px}.hero-clown{height:133px}.hero-chair{height:56px}.ticket{margin-bottom:20px}.game-title>span{font-size:45px}.game-title>strong{font-size:64px}.menu-description{margin-bottom:18px}.game-overlay{padding:20px 24px}.menu-tip{margin-top:0}.right-panel>h2{font-size:30px;margin-bottom:24px}.instruction{margin-bottom:19px}.divider{margin:22px 0}}@media(max-width:1000px){.arcade-layout{gap:28px;grid-template-columns:minmax(310px,420px) 240px;justify-content:center}.left-panel{display:none}.site-header{padding:0 28px}.site-footer{margin:0 28px}}@media(max-width:700px){.site-header{height:61px;padding:0 20px;border-bottom:0}.brand{font-size:18px}.brand-icon{font-size:30px}.brand i,.edition{display:none}.header-right{gap:0}.icon-button{height:31px;min-width:36px}.arcade-layout{display:flex;margin:0 auto;padding:0 12px;justify-content:center;gap:0}.game-column{width:min(100%,calc((100dvh - 107px)*.6))}.right-panel,.site-footer{display:none}.cabinet-label{height:23px;font-size:8px}.cabinet-footer{height:23px;font-size:7px}.cabinet-footer button{font-size:8px;padding:5px 0}.game-shell{box-shadow:0 0 0 3px #1b251b,0 0 0 4px #34412e;border-width:1px}.game-overlay{padding:20px 24px}.ticket{font-size:7px;margin-bottom:23px}.game-title>span{font-size:clamp(34px,12vw,55px)}.game-title>strong{font-size:clamp(49px,17vw,76px)}.hero-art{height:clamp(105px,21dvh,175px)}.hero-clown{height:clamp(95px,19dvh,150px);left:60px}.hero-chair{height:clamp(45px,8dvh,66px);right:17px}.menu-description{font-size:11px;margin-bottom:21px}.primary-button{font-size:10px;min-height:47px}.menu-tip{font-size:6px;margin-top:5px}.text-button{padding:17px 7px;font-size:8px}.hero-halo{top:0}.hud{padding:13px 12px}.touch-controls{bottom:41px;left:20px;right:20px}.hearts{font-size:19px}.hud-score strong{font-size:18px}.compact-overlay h2{font-size:42px}}@media(max-height:710px) and (max-width:700px){.site-header{height:43px}.game-column{width:min(100%,calc((100dvh - 89px)*.6))}.ticket{margin-bottom:15px;font-size:6px}.game-title>span{font-size:37px}.game-title>strong{font-size:54px}.hero-art{height:110px;margin-top:3px}.hero-clown{height:105px;left:63px}.hero-chair{height:45px}.menu-description{font-size:9px;margin-bottom:13px}.text-button{padding:14px 5px}.menu-tip{font-size:6px;margin-top:0}.primary-button{min-height:42px;font-size:9px}.joystick{width:76px;height:76px}.stick{left:18px;top:18px}.dash-button{width:61px;height:61px}.hud-meta{font-size:7px}.hearts{font-size:16px}.hud-caption{font-size:6px}.pause-button{width:29px;height:29px}}@media(orientation:landscape) and (max-height:520px) and (pointer:coarse){.rotate-note{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#101713f5;z-index:20;text-align:center;padding:20px}.rotate-note>span{font-size:45px;color:var(--yellow);margin-bottom:20px}.rotate-note strong{font-size:11px}.rotate-note p{font-size:9px;color:var(--muted)}}@media(prefers-reduced-motion:reduce){.hero-clown,.hero-chair{animation:none}*{scroll-behavior:auto}}
/* Second act: clown selection, loadout, options and global scores. */
.header-right{gap:10px}.game-overlay#menu{padding-top:18px;padding-bottom:18px}.game-overlay#menu .ticket{margin-bottom:16px}.game-overlay#menu .game-title>span{font-size:43px}.game-overlay#menu .game-title>strong{font-size:59px}.game-overlay#menu .hero-art{height:98px;margin:8px 0}.game-overlay#menu .hero-clown{height:100px;left:73px;top:0}.game-overlay#menu .hero-chair{height:43px;right:33px;top:15px}.game-overlay#menu .hero-halo{width:130px;height:100px;top:0;left:50px}.game-overlay#menu .spark-a{top:16px;left:43px}.game-overlay#menu .spark-b{right:40px;bottom:3px}.character-select{display:flex;gap:7px;width:100%;margin:8px 0}.character-choice{border:1px solid #62744b7a;background:#18261ec9;padding:7px 3px 6px;flex:1;min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px}.character-choice img{width:40px;height:48px;object-fit:contain;image-rendering:pixelated}.character-choice strong{font-size:9px;letter-spacing:.8px}.character-choice small{font-size:6px;color:var(--muted);white-space:nowrap}.character-choice.selected{border-color:var(--yellow);background:#82703233;box-shadow:inset 0 -2px var(--yellow)}.character-choice.selected strong{color:var(--yellow)}.character-description{font-size:8px;color:#b4c39d;min-height:24px;line-height:1.6;margin:4px 0 10px}.menu-links{display:flex;justify-content:space-between;gap:10px;width:100%}.menu-links .text-button{font-size:8px;padding:12px 2px}.game-overlay#menu>#fullscreen-start{padding:15px 5px 4px}.weapon-belt{position:absolute;left:16px;bottom:31px;right:16px;display:flex;justify-content:center;gap:6px}.weapon-chip{font-size:7px;background:#132119cb;padding:5px 6px;border:1px solid #788c5966;color:var(--lime);letter-spacing:.1px}.weapon-chip.empty{color:#829475;font-size:6px}.weapon-chip[data-weapon="orbit"]{color:var(--yellow)}.weapon-chip[data-weapon="beach"]{color:#f2a3c1}.touch-controls{bottom:64px}.move-hint{position:absolute;bottom:103px;left:20px;color:#a9be8c;font-size:7px;line-height:1.8;max-width:100px;text-shadow:1px 1px #000}.floating-joystick{position:absolute;z-index:4;margin:0;pointer-events:none!important;transform:none;background:#17241ca3}.floating-joystick:not(.active){display:none}.joystick.active{opacity:1}.boss-hud{margin-top:13px;background:#151c16c9;padding:8px 9px;border:1px solid #dd89716b}.boss-hud>div:first-child{display:flex;justify-content:space-between;color:#f4b78c;font-size:8px;letter-spacing:.7px}.boss-track{height:5px;margin-top:7px;background:#613a33}.boss-track i{display:block;height:100%;background:#ed846e;transition:width .12s}.boss-hud:not([hidden])~.toast{top:155px}.utility-overlay{z-index:9;padding:25px;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.utility-overlay>.ticket{font-size:7px;margin:9px 0 14px}.utility-overlay>h2{font-size:37px;text-align:left;width:100%;margin:0 0 22px}.utility-overlay>.primary-button{margin-top:auto;flex-shrink:0}.option-setting{width:100%;text-align:left;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:20px}.option-setting h3{font-size:9px;letter-spacing:1px;color:var(--cream)}.option-setting p{font-size:9px;line-height:1.8;margin:10px 0 0;color:var(--muted)}.option-setting p b{color:var(--lime);font-weight:normal}.segmented{display:flex;margin-top:12px;border:1px solid var(--line)}.segmented button{background:transparent;border:0;padding:12px 5px;flex:1;font-size:9px;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--lime);color:#192016;font-weight:bold}.sound-setting{display:flex;align-items:center;justify-content:space-between}.option-toggle{background:#314323;color:var(--lime);border:1px solid #a5c36a;width:50px;min-height:36px;font-size:10px}.option-toggle[aria-pressed=false]{background:#282c25;color:var(--muted);border-color:var(--line)}.leaderboard-heading{display:flex;width:100%;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:9px;font-size:8px;color:var(--muted)}.leaderboard-list{width:100%;overflow-y:auto;max-height:48%;min-height:120px;flex:1;touch-action:pan-y}.leaderboard-entry{display:flex;align-items:center;gap:8px;padding:12px 1px;border-bottom:1px solid #36452d88;text-align:left}.leaderboard-rank{font-size:11px;color:var(--yellow);width:21px;flex-shrink:0}.leaderboard-person{display:flex;flex-direction:column;gap:4px;min-width:0}.leaderboard-person strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.leaderboard-person small{font-size:7px;color:var(--muted)}.leaderboard-entry>strong{font-size:13px;color:var(--lime);margin-left:auto}.leaderboard-status{font-size:9px!important;line-height:1.6!important;margin:15px 0 5px!important}.score-form{width:100%;margin:0 0 12px;text-align:left}.score-form>label{display:block;color:var(--muted);font-size:7px;letter-spacing:.6px;margin-bottom:7px}.score-form>div{display:flex;gap:6px}.score-form input{width:0;min-width:0;flex:1;background:#0d180f;color:var(--cream);border:1px solid var(--line);padding:9px 8px;font:16px 'Courier New',monospace;border-radius:0;user-select:text}.score-form button{border:1px solid var(--lime);background:#293d22;color:var(--lime);font-size:8px;padding:8px;white-space:nowrap}.score-form button:disabled{opacity:.5}.score-form #submit-status{font-size:8px;line-height:1.5;color:#a9bc90;margin:7px 0 0;min-height:25px}#game-over{overflow-y:auto}#game-over .ticket{margin-bottom:13px}#game-over h2{font-size:42px;margin:4px 0 8px}#game-over .results{margin:0 0 3px}#game-over .results>div{padding:10px 0}#game-over #record-text{font-size:9px;margin:8px 0 13px}#pause-menu #pause-options{padding-bottom:0}#pause-menu>p{margin-bottom:22px}@media(max-width:700px){.game-overlay#menu .ticket{font-size:6px;margin-bottom:14px}.game-overlay#menu .game-title>span{font-size:39px}.game-overlay#menu .game-title>strong{font-size:54px}.game-overlay#menu .hero-art{height:90px;margin:7px 0}.game-overlay#menu .hero-clown{height:90px;left:79px}.character-choice img{height:43px;width:36px}.character-choice{padding:6px 2px}.character-choice small{font-size:5px}.character-description{font-size:7px;min-height:22px}.game-overlay#menu .primary-button{font-size:10px}.utility-overlay>h2{font-size:33px}.utility-overlay{padding:22px}.option-setting{margin-bottom:17px;padding-bottom:16px}.weapon-belt{bottom:32px}.move-hint{font-size:6px}.leaderboard-person strong{max-width:138px}#game-over h2{font-size:37px}.score-form input{font-size:16px;width:0}.score-form button{font-size:7px}}@media(max-height:710px) and (max-width:700px){.game-overlay#menu{padding:13px 18px}.game-overlay#menu .ticket{margin-bottom:10px;font-size:5px}.game-overlay#menu .game-title>span{font-size:30px}.game-overlay#menu .game-title>strong{font-size:42px}.game-overlay#menu .hero-art{height:64px;margin:5px 0}.game-overlay#menu .hero-clown{height:67px;left:86px}.game-overlay#menu .hero-chair{height:31px;right:46px;top:11px}.game-overlay#menu .spark-a{font-size:16px;left:60px}.game-overlay#menu .spark-b{font-size:10px;right:60px}.character-select{gap:5px;margin:4px 0}.character-choice img{height:34px;width:30px}.character-choice strong{font-size:7px}.character-choice small{font-size:4.5px}.character-description{font-size:6px;min-height:20px;margin:2px 0 7px}.game-overlay#menu .primary-button{min-height:38px;font-size:8px}.game-overlay#menu>#fullscreen-start{font-size:7px;padding:12px 5px 0}.menu-links .text-button{font-size:6px;padding:11px 0}.utility-overlay{padding:17px}.utility-overlay>h2{font-size:27px;margin-bottom:15px}.utility-overlay>.ticket{font-size:5px}.option-setting{padding-bottom:13px;margin-bottom:13px}.option-setting p{font-size:7px}.option-setting h3{font-size:8px}.segmented button{font-size:8px;padding:9px 3px}#game-over{justify-content:flex-start;padding:18px}#game-over h2{font-size:28px}#game-over .ticket{font-size:6px;margin:2px 0 8px}#game-over .results>div{padding:6px 0}#game-over .results strong{font-size:17px}#game-over .results span{font-size:7px}#game-over #record-text{font-size:7px}.score-form>label{font-size:6px}.score-form input{padding:6px}.score-form #submit-status{font-size:7px;min-height:21px}.score-form button{font-size:6px;padding:5px}.boss-hud>div:first-child{font-size:6px}.boss-hud{padding:6px;margin-top:8px}.boss-hud:not([hidden])~.toast{top:132px}.weapon-chip{font-size:5px;padding:4px}.touch-controls{bottom:62px}}
/* The browser's visible viewport, including keyboard changes, owns immersive geometry. */
body.immersive-active> :not(.game-shell){visibility:hidden;pointer-events:none}
.game-shell.immersive,.game-shell:fullscreen{position:fixed;inset:auto;left:var(--visible-left,0px);top:var(--visible-top,0px);width:var(--visible-width,100vw);height:var(--visible-height,100dvh);margin:0;aspect-ratio:auto;max-width:none;max-height:none;border:0;box-shadow:none}
.game-shell.immersive{overflow:clip;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
.game-shell.immersive .hud{padding:calc(14px + var(--safe-top)) calc(14px + var(--safe-right)) 14px calc(14px + var(--safe-left))}
.game-shell.immersive .loadout-hud{left:calc(16px + var(--safe-left));right:calc(68px + var(--safe-right));bottom:calc(14px + var(--safe-bottom))}
.game-shell.immersive .weapon-belt{left:calc(16px + var(--safe-left));right:calc(16px + var(--safe-right));bottom:calc(44px + var(--safe-bottom));flex-wrap:wrap}
.game-shell.immersive .touch-controls{left:calc(20px + var(--safe-left));right:calc(20px + var(--safe-right));bottom:calc(82px + var(--safe-bottom))}
.game-shell.immersive .move-hint{left:calc(20px + var(--safe-left));bottom:calc(120px + var(--safe-bottom))}
.game-shell.immersive .toast{top:calc(105px + var(--safe-top))}
.game-shell.immersive .boss-hud:not([hidden])~.toast{top:calc(160px + var(--safe-top))}
.game-shell.immersive .pause-button{width:44px;height:44px;flex-shrink:0}
.game-shell.immersive .exit-fullscreen{display:flex;z-index:50;right:calc(10px + var(--safe-right));bottom:calc(8px + var(--safe-bottom));width:44px;height:44px;min-width:44px;border:1px solid #b7c69680;background:#132017ed}
.game-shell.immersive .game-overlay,.game-shell.immersive .game-overlay#menu{padding:calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(66px + var(--safe-bottom)) calc(24px + var(--safe-left));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;justify-content:flex-start;scroll-padding-top:calc(24px + var(--safe-top));scroll-padding-bottom:calc(66px + var(--safe-bottom))}
.game-shell.immersive .game-overlay> *{flex-shrink:0}
.game-shell.immersive .game-overlay> :first-child{margin-top:auto}
.game-shell.immersive .game-overlay> :last-child{margin-bottom:auto}
.game-shell.immersive .utility-overlay> :first-child{margin-top:0}
.game-shell.immersive .utility-overlay> :last-child{margin-bottom:0}
.game-shell.immersive .rotate-note{padding:calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(66px + var(--safe-bottom)) calc(24px + var(--safe-left))}
.chair-loadout{display:inline-flex;align-items:center;gap:5px;min-width:0}
.chair-loadout img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.loadout-hud{align-items:center}
/* Floating mode moves the stick out of this flex row; Dodge stays at the right. */
.dash-button{margin-left:auto}
/* Fourth act: double-time chaos and temporary furniture power-ups. */
.hud-actions{display:flex;align-items:center;gap:5px}.timescale-button{pointer-events:auto;touch-action:manipulation;width:34px;height:34px;border:1px solid #b7c69680;background:#152817dd;font-size:13px;font-weight:bold;color:var(--lime);flex-shrink:0}.timescale-button[aria-pressed=true]{background:var(--yellow);color:#172119;border-color:var(--yellow)}.game-shell.double-speed .hud-meta #timer{color:var(--yellow)}.speed-setting{display:flex;gap:10px;align-items:center;justify-content:space-between}.speed-setting .option-toggle{flex-shrink:0}.speed-setting p{max-width:230px}.buff-belt{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px;min-height:0}.buff-belt:empty{display:none}.buff-chip{font-size:7px;line-height:1.3;padding:5px 6px;background:#203728ed;border:1px solid #779b66;color:#c9eaaa;white-space:nowrap}.buff-chip[data-buff=rapid]{color:#ffce71;border-color:#c99745}.buff-chip[data-buff=fan]{color:#f5a5d2;border-color:#ba648d}.buff-chip[data-buff=freeze]{color:#abecff;border-color:#5eabc1}.buff-chip[data-buff=shield]{color:#d5c1ff;border-color:#9a80bf}.game-shell.has-buffs .toast{top:148px}.game-shell.has-buffs .boss-hud:not([hidden])~.toast{top:209px}.game-shell.immersive .timescale-button{width:44px;height:44px}.game-shell.immersive.has-buffs .toast{top:calc(153px + var(--safe-top))}.game-shell.immersive.has-buffs .boss-hud:not([hidden])~.toast{top:calc(213px + var(--safe-top))}.weapon-chip[data-weapon=stool]{color:#e6b78b}.weapon-chip[data-weapon=beach]{color:#ffa299}.game-shell .hud-top{gap:9px}.game-shell .hud-score strong{font-size:19px}.game-shell .hearts{letter-spacing:1px}@media(max-width:380px){.hud-actions{gap:3px}.timescale-button{width:29px;height:29px;font-size:11px}.game-shell .hud-top{gap:6px}.game-shell .hud-score strong{font-size:16px}.game-shell .hearts{font-size:16px;letter-spacing:0}.game-shell.immersive .timescale-button,.game-shell.immersive .pause-button{width:40px;height:40px}.buff-chip{font-size:6px;padding:4px}.weapon-chip{font-size:6px;padding:4px}.game-shell.has-buffs .toast{top:141px}.game-shell.has-buffs .boss-hud:not([hidden])~.toast{top:195px}}@media(max-height:710px) and (max-width:700px){.buff-chip{font-size:5px}.speed-setting p{max-width:145px}.weapon-chip{font-size:5px}}

/* Fifth act: four clowns and a longer climb through the arsenal. */
.character-select{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.character-choice{min-width:0}.character-choice strong{font-size:8px}.character-choice small{font-size:6px;letter-spacing:0}.character-choice img{max-width:100%}.speed-loadout{display:inline-flex;gap:4px;align-items:center}.upgrade-progress{font-size:7px;letter-spacing:0;padding:2px 3px;border:1px solid #89956866;color:#bfcfa1;white-space:nowrap}.chair-loadout{gap:4px}#health-caption{white-space:nowrap}.low-health #health-caption,.low-health .hearts{color:#ff9b8c}.restart-note{font-size:8px;line-height:1.5;color:var(--muted);max-width:240px}#pause-menu .text-button{padding:13px 8px}#arena-label{text-transform:uppercase;letter-spacing:.4px}@media(max-width:380px){.character-select{gap:3px}.character-choice strong{font-size:7px}.character-choice small{font-size:5px}.upgrade-progress{font-size:6px;padding:2px}.chair-loadout{gap:3px}.speed-loadout{gap:3px}.loadout-hud{font-size:7px}.chair-loadout img{width:21px;height:21px}.restart-note{font-size:7px}}

.weapon-belt{flex-wrap:wrap}.weapon-chip{white-space:nowrap}
