@font-face{font-family:Agency;src:url('./assets/agency.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{color-scheme:dark;--green:#6cff00;--ink:#0b0b0b;--paper:#fcfcfc;--muted:#a6a6a6;--line:#343434;--font:Agency,"Helvetica Neue",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}html{background:var(--ink)}body{margin:0;background:var(--ink);color:var(--paper);font-family:var(--font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:5px}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button{border:0}button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}
.topbar{max-width:1560px;height:104px;margin:auto;padding:24px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center}.brand img{display:block;width:147px;height:43px}.header-note,.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700}.header-note{color:var(--muted)}.toolbar{display:flex;gap:12px;align-items:center}.tool,.icon-tool{height:44px;display:flex;align-items:center;justify-content:center;background:transparent}.tool{gap:9px;font-size:13px}.sound-icon{font-size:25px;color:var(--green)}.icon-tool{width:44px;border:1px solid var(--line);border-radius:50%}.icon-tool:hover{border-color:var(--green)}
#app{max-width:1560px;margin:auto;padding:20px 48px 0}.intro{display:grid;grid-template-columns:1fr 1.05fr;gap:20px;min-height:570px;align-items:center}.intro-copy{padding:40px 0 40px 0;position:relative;z-index:2}.eyebrow{color:var(--muted);display:flex;align-items:center;gap:10px;margin:0 0 24px}.status-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 18px #6cff0044}h1{margin:0 0 25px;font-size:clamp(74px,8.3vw,132px);font-weight:900;letter-spacing:-.075em;line-height:.9}.bang{color:var(--green)}.tagline{font-weight:700;font-size:clamp(23px,2.3vw,35px);letter-spacing:-.035em;line-height:1.15;margin:0 0 20px}.intro-text{max-width:355px;font-size:18px;color:#b8b8b8;line-height:1.6;margin:0 0 30px}.start-actions{display:flex;align-items:center;gap:24px}.primary{background:var(--green);color:var(--ink);font-weight:750;padding:17px 28px;min-height:56px;border-radius:999px;font-size:16px;transition:transform .16s,background .16s;white-space:nowrap}.primary:hover{background:#87ff30;transform:translateY(-2px)}.primary:active{transform:scale(.98)}.text-button{background:none;border-bottom:1px solid #626262;padding:5px 0;font-size:14px;line-height:1.4}.text-button:hover{color:var(--green);border-color:var(--green)}.facts{display:flex;flex-wrap:wrap;gap:0;color:#999;font-size:12px;margin-top:28px}.facts span+span:before{content:"/";padding:0 12px;color:#4b4b4b}
.intro-art{height:520px;position:relative;overflow:hidden;background:#191919;border-radius:50% 50% 12px 12px;isolation:isolate;margin:0 0 0 15px}.intro-scene{position:absolute;width:175%;height:100%;object-fit:cover;left:-35%;opacity:.6;filter:grayscale(1) contrast(1.15)}.art-scrim{position:absolute;inset:0;background:linear-gradient(180deg,#0b0b0b00 30%,#0b0b0b88 80%,#0b0b0b 100%)}.hero-halo{width:310px;height:310px;border:1px solid #6cff0055;border-radius:50%;position:absolute;top:105px;left:50%;transform:translateX(-50%);box-shadow:0 0 60px #6cff0014,inset 0 0 60px #6cff0014}.hero-halo:after{content:"";position:absolute;inset:30px;border:1px dashed #6cff0033;border-radius:50%}.intro-mark{position:absolute;left:50%;top:50%;width:180px;height:245px;transform:translate(-50%,-50%) rotate(-9deg);filter:drop-shadow(0 18px 0 #050505);animation:float 3s ease-in-out infinite}.art-tag{position:absolute;bottom:46px;left:50%;transform:translateX(-50%) rotate(-6deg);padding:7px 14px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:800;letter-spacing:.05em;white-space:nowrap}.art-dot{width:20px;height:20px;background:var(--green);position:absolute;transform:rotate(-10deg)}.d1{left:16%;top:33%}.d2{right:17%;top:60%;width:14px;height:14px}.art-spark{position:absolute;right:11%;top:19%;font-size:70px;color:var(--paper);line-height:1}.underbar{border-top:1px solid var(--line);display:flex;align-items:center;gap:40px;margin-top:36px;padding:24px 0}.record{font-size:12px;color:var(--muted);white-space:nowrap}.record strong{font-size:18px;font-weight:750;color:var(--paper);margin-left:12px;font-variant-numeric:tabular-nums}.underbar p{margin:0;max-width:680px;font-size:14px;color:#999}.little-mark{font-size:29px;color:var(--green);margin-left:auto}.footer{max-width:1560px;margin:auto;padding:26px 48px 35px;display:flex;justify-content:space-between;gap:20px;color:#767676;font-size:12px}.footer a{text-decoration:none}
.arena{position:relative;overflow:hidden;background:#eee9e1;border-radius:8px;height:clamp(420px,66dvh,740px);min-height:380px;isolation:isolate;touch-action:none;user-select:none;-webkit-user-select:none}.arena canvas{width:100%;height:100%;display:block;outline:none}.hud{position:absolute;z-index:2;inset:22px 24px auto;display:flex;justify-content:space-between;align-items:start;pointer-events:none;color:var(--ink)}.hud-score,.hud-time{display:flex;flex-direction:column}.hud-score>span,.hud-time>span{font-size:10px;letter-spacing:.12em;font-weight:750}.hud strong{font-size:34px;letter-spacing:-.045em;line-height:1.1;font-weight:850;font-variant-numeric:tabular-nums}.hud strong span{font-size:18px;margin-left:3px}.hud-time{width:125px;text-align:center;align-items:center}.time-track{height:3px;width:100px;background:#0002;margin-top:8px}.time-track i{display:block;height:100%;background:var(--ink);transform-origin:left}.hud-right{display:flex;gap:20px;align-items:center}.lives{display:flex;gap:6px;padding-top:7px}.lives i{display:block;width:13px;height:13px;background:var(--ink);transform:rotate(-6deg)}.lives i.lost{background:#0002}.pause-btn{pointer-events:auto;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fcfcfc8c;color:var(--ink);border:1px solid #0002}.chapter{position:absolute;left:24px;top:116px;font-size:11px;font-weight:750;letter-spacing:.1em;color:#444}.game-bottom{position:absolute;left:24px;right:24px;bottom:25px;display:flex;justify-content:space-between;align-items:center;z-index:2;pointer-events:none}.dot-meter>span{font-size:9px;letter-spacing:.12em;color:#999;font-weight:750}.dot-meter>div{display:flex;align-items:center;gap:7px;margin-top:7px}.dot-meter i{width:16px;height:16px;border:1px solid #626262;transform:rotate(-7deg)}.dot-meter i.on{background:var(--green);border-color:var(--green);box-shadow:0 0 15px #6cff0055}.dot-meter b{color:var(--green);font-size:10px;letter-spacing:.07em;margin-left:5px}.jump-button{pointer-events:auto;background:var(--green);color:var(--ink);padding:13px 18px;border-radius:99px;display:flex;align-items:center;gap:20px;font-weight:750;font-size:13px;min-width:142px;justify-content:space-between}.jump-button:active{transform:scale(.97)}.boost-track{position:absolute;bottom:0;height:4px;left:0;right:0;z-index:2}.boost-track i{display:block;background:var(--green);height:100%;transform-origin:left;transform:scaleX(0)}.playhint{position:absolute;bottom:107px;left:50%;transform:translateX(-50%);color:#dedede;font-size:10px;font-weight:700;letter-spacing:.1em;white-space:nowrap;pointer-events:none}.toast{position:absolute;left:50%;top:24%;transform:translate(-50%,12px);background:var(--ink);color:var(--green);padding:11px 17px;font-weight:850;font-size:clamp(12px,2.2vw,20px);letter-spacing:-.02em;opacity:0;transition:opacity .15s,transform .15s;white-space:nowrap;pointer-events:none}.toast.on{opacity:1;transform:translate(-50%,0)}.arena.boosting{box-shadow:inset 0 0 0 3px var(--green)}.debug{position:absolute;left:15px;top:165px;background:#000d;color:#6cff00;padding:8px;font:11px monospace;pointer-events:none}.playing .intro{display:none}.playing .underbar{margin-top:18px}.playing .footer{padding-top:10px}.playing #app{padding-top:12px}
dialog{border:1px solid #3b3b3b;color:var(--paper);background:#151515;border-radius:20px;max-width:510px;width:calc(100% - 32px);padding:36px;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}.modal h2{font-size:38px;letter-spacing:-.05em;line-height:1.05;font-weight:850;margin:0 0 22px}.modal p{font-size:16px;line-height:1.5}.modal .eyebrow{margin-bottom:15px;color:var(--green)}.close{position:absolute;right:18px;top:15px;font-size:27px;background:none;line-height:1;width:34px;height:34px}.help-list{padding:0;margin:0 0 22px;list-style:none}.help-list li{display:flex;align-items:start;gap:18px;margin:20px 0;font-size:15px;line-height:1.5}.help-list b{flex:0 0 25px;color:var(--green);font-size:18px}.muted{color:var(--muted)}.setting{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:17px 0;font-size:15px}.setting input{width:22px;height:22px;accent-color:var(--green)}.key-button,select{padding:7px 12px;background:#333;border:1px solid #5a5a5a;border-radius:8px;color:var(--paper)}.result{text-align:center}.result h2{font-size:44px}.result .eyebrow{justify-content:center}.result-score{display:flex;flex-direction:column;margin:24px 0}.result-score strong{font-size:90px;letter-spacing:-.07em;font-weight:900;line-height:1;color:var(--green);font-variant-numeric:tabular-nums}.result-score>span,.result-stats span{font-size:10px;letter-spacing:.1em;color:var(--muted);font-weight:700}.result-stats{display:flex;justify-content:center;gap:45px;margin-bottom:25px}.result-stats>div{display:flex;flex-direction:column}.result-stats strong{font-size:27px;line-height:1.3}.result>.primary{width:100%}.result-links{display:flex;justify-content:center;gap:20px;margin-top:16px;flex-wrap:wrap}.result-links button{font-size:12px}.result-cta{border-top:1px solid var(--line);margin-top:27px;padding-top:15px}.result-cta p{font-weight:750;margin:4px 0}.result-cta a{font-size:13px;color:var(--green);text-underline-offset:4px}.result label{display:block;font-size:13px;margin:15px 0 6px}textarea{display:block;width:100%;min-height:95px;resize:vertical;background:#252525;color:var(--paper);padding:12px;border:1px solid #555;border-radius:8px;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.large-text{font-size:18px}.large-text .help-list li,.large-text .setting{font-size:18px}.high-contrast{--muted:#d3d3d3}.high-contrast .intro-text,.high-contrast .underbar p,.high-contrast .footer{color:#d3d3d3}.reduced-motion *, .reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important}
@keyframes float{0%,100%{transform:translate(-50%,-50%) rotate(-9deg)}50%{transform:translate(-50%,-54%) rotate(-5deg)}}
@media(min-width:1600px){.intro{min-height:650px}.intro-art{height:590px}.intro-mark{width:210px;height:280px}.hero-halo{top:145px}}
@media(max-width:1000px){.topbar{padding:20px 28px;height:90px}#app{padding:10px 28px 0}.footer{padding-left:28px;padding-right:28px}.intro{min-height:500px;grid-template-columns:1.05fr 1fr}.intro-art{height:430px;margin-left:0}.intro-mark{width:135px;height:190px}.hero-halo{width:245px;height:245px;top:85px}.header-note{display:none}.start-actions{gap:17px}.primary{padding:16px 23px}.underbar{gap:24px}}
@media(max-width:680px){.topbar{padding:16px 20px;height:80px}.brand img{width:123px;height:36px}.toolbar{gap:6px}.tool{font-size:12px;gap:5px}.icon-tool{width:38px;height:38px}#app{padding:5px 20px 0}.intro{display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:0}.intro-copy{padding:26px 0 0}.eyebrow{font-size:9px;margin-bottom:22px}.intro h1{font-size:clamp(74px,18.3vw,117px);margin-bottom:23px}.tagline{font-size:27px;margin-bottom:16px}.intro-text{font-size:16px;max-width:325px;margin-bottom:24px}.start-actions{gap:27px}.primary{font-size:15px;min-height:54px;padding:16px 25px}.facts{margin-top:22px;font-size:11px}.intro-art{height:270px;max-width:440px;margin:22px 0 0;border-radius:48% 48% 8px 8px}.intro-mark{width:98px;height:140px;top:47%}.hero-halo{width:185px;height:185px;top:32px}.art-tag{bottom:20px;font-size:10px}.art-dot{width:13px;height:13px}.art-spark{font-size:45px;top:16%}.underbar{margin-top:20px;padding:17px 0;gap:16px;align-items:start}.underbar p{font-size:12px;max-width:245px}.record{font-size:10px;display:flex;flex-direction:column;gap:1px}.record strong{margin:0;font-size:19px}.little-mark{display:none}.footer{padding:15px 20px 22px;font-size:10px;gap:15px}.footer span{max-width:240px}.arena{height:clamp(440px,130vw,580px);min-height:440px;max-height:580px;border-radius:5px}.playing #app{padding:0 10px}.playing .topbar{height:72px}.playing .underbar{padding:14px 10px}.playing .footer{padding:12px 20px}.hud{inset:20px 18px auto}.hud strong{font-size:31px}.hud-time{width:85px}.time-track{width:72px}.hud-right{gap:9px}.lives{gap:4px}.lives i{width:10px;height:10px}.pause-btn{width:31px;height:31px}.chapter{left:18px;top:101px;font-size:10px}.game-bottom{left:18px;right:18px;bottom:max(22px,env(safe-area-inset-bottom))}.jump-button{min-width:135px;padding:14px 17px;font-size:12px}.dot-meter b{display:none}.toast{top:26%;font-size:13px}.playhint{bottom:105px;font-size:9px}.modal{padding:30px 25px}.modal h2{font-size:33px}.result h2{font-size:37px}.result-score strong{font-size:75px}.result .result-stats{gap:33px}}
@media(max-width:360px){.topbar{padding:14px}.tool>span:last-child{display:none}.intro h1{font-size:72px}.start-actions{gap:20px}.primary{padding:16px 20px}.hud-right{gap:5px}.hud{inset:20px 12px auto}.lives i{width:8px;height:8px}.game-bottom{left:14px;right:14px}.jump-button{min-width:120px}}
@media(max-height:550px) and (orientation:landscape){.playing .topbar{height:58px;padding-top:10px;padding-bottom:10px}.arena{height:calc(100svh - 68px);min-height:280px}.playing .underbar,.playing .footer{display:none}.chapter{top:92px}.game-bottom{bottom:15px}.playhint{bottom:75px}.hud{top:12px}.modal{max-height:calc(100dvh - 16px)}}
body.embedded .topbar{height:64px;padding:13px 18px}body.embedded #app{padding:0 10px}body.embedded .header-note,body.embedded .footer,body.embedded .underbar{display:none}body.embedded .intro{min-height:520px}body.embedded .arena{height:calc(100svh - 75px);max-height:none}body.embedded .intro-copy{padding-left:20px}@media(max-width:680px){body.embedded .intro-copy{padding-left:10px;padding-top:25px}body.embedded .intro-art{height:220px;margin-top:20px}body.embedded .intro{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep the complete brand ring and the contained Wallis scene visible. */
.hero-halo{border:2px solid #6cff00}.hero-halo:after{border:1px solid #6cff0066}
.intro-scene{width:100%;left:0;filter:none;opacity:.72}

@media(max-width:680px){body.embedded .arena{height:clamp(440px,130vw,580px);max-height:580px}}

/* Lives and language remain readable on small phones. */
.hud-lives{display:flex;flex-direction:column;gap:5px}
.hud-lives>span{font-size:10px;letter-spacing:.08em;font-weight:750;line-height:1.2}
.lives{gap:5px;padding-top:0}
.lives svg{display:block;width:22px;height:22px;fill:#e64159;stroke:#761c2b;stroke-width:1.3}
.lives svg.lost{fill:transparent;stroke:#777;opacity:.4}
.hud-right{align-items:flex-start}.hud-right .pause-btn{margin-top:13px}
.language-picker{display:flex;align-items:center}
.language-picker select{height:40px;min-width:59px;padding:7px 5px 7px 9px;font-size:12px;font-weight:750;border-radius:8px}
@media(max-width:680px){.topbar{gap:12px}.lives svg{width:18px;height:18px}.lives{gap:3px}.hud-lives{gap:6px}.language-picker select{height:38px}}
@media(max-width:480px){.toolbar{gap:5px}.tool>span:last-child{display:none}.tool{min-width:25px}.toast{max-width:92%;white-space:normal;text-align:center}.playhint{max-width:95%;text-align:center;white-space:normal}}
@media(max-width:360px){.brand img{width:98px;height:auto}.toolbar{gap:4px}.icon-tool{width:32px;height:34px}.language-picker select{min-width:52px;width:52px}.lives svg{width:16px;height:16px}.hud-lives>span{font-size:9px}}

/* Separate touch targets, including their visible keyboard-focus outlines. */
.pause-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:24px;padding:8px 0}
.pause-actions .primary{width:100%;white-space:normal;line-height:1.35}
.pause-actions .text-button{justify-self:center;min-height:44px;padding:10px 14px}
.pause-sound{justify-self:center;min-height:44px;padding:9px 18px;border:1px solid #626262;border-radius:24px;background:transparent;font-size:14px}
.pause-sound>span:first-child{color:var(--green);margin-right:5px}
#sound{border:1px solid var(--line);border-radius:22px;padding:0 12px;white-space:nowrap}
#sound>span:last-child{display:inline}
#sound[aria-pressed="true"]{border-color:#6cff0066}
@media(max-width:480px){
 .topbar,body.embedded .topbar,.playing .topbar{height:auto;min-height:80px;flex-wrap:wrap;row-gap:8px}
 .topbar .toolbar{flex:1 1 100%;justify-content:flex-end;gap:8px}
 #sound>span:last-child{display:inline}
 #sound{font-size:12px;min-height:38px;height:38px}
}

/* A closer, compact portrait camera: action fills the screen, not empty sky. */
@media(max-width:680px) and (orientation:portrait){
 .arena,body.embedded .arena{height:min(620px,calc(100svh - 108px));min-height:420px;max-height:620px}
 .playhint{bottom:78px;color:#a6a6a6;font-size:9px}
}

/* Campaign progress and power remain readable on phones. No flashing effects. */
.hud-time>span{font-size:11px;letter-spacing:.04em;white-space:nowrap}
.dot-meter b{display:block;font-size:11px;white-space:nowrap}
.dot-meter>div{position:relative;flex-wrap:wrap;max-width:260px}
.arena.boosting{box-shadow:inset 0 0 0 4px var(--green)}
.arena.boosting .dot-meter>span{color:var(--green)}
.result-stats{gap:22px}.result-stats>div{flex:1;min-width:0}.result-stats span{font-size:9px}
@media(max-width:680px){.dot-meter>div{max-width:160px;gap:6px}.dot-meter i{width:14px;height:14px}.dot-meter b{flex-basis:100%;margin-left:0;font-size:10px;line-height:1.1}.hud-time>span{font-size:9px}.result .result-stats{gap:12px}}

.power-headline{position:absolute;z-index:3;top:19%;left:0;width:100%;padding:0 10px;text-align:center;font-family:Agency,Arial,sans-serif;font-size:clamp(42px,8.8vw,112px);font-weight:900;line-height:1;letter-spacing:-.045em;color:var(--green);-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;text-shadow:4px 5px 0 var(--ink);pointer-events:none;transform:rotate(-4deg);animation:superpower-arrival .22s ease-out both}
.arena.boosting:has(.power-headline:not([hidden])) .toast{opacity:0}
@keyframes superpower-arrival{from{transform:scale(.7) rotate(-9deg);opacity:0}to{transform:scale(1) rotate(-4deg);opacity:1}}
@media(max-width:680px){.power-headline{top:25%;font-size:clamp(42px,11.6vw,78px);-webkit-text-stroke:1.5px var(--ink);text-shadow:3px 4px 0 var(--ink)}}
@media(max-height:550px) and (orientation:landscape){.power-headline{top:28%;font-size:52px}}

/* Readable in every world, including the night sky and the underworld. */
.hud-score,.hud-time,.hud-lives{background:#fbf7edeF;border:1px solid #1112;border-radius:5px;padding:7px 10px;box-shadow:0 2px 0 #1111}
.hud-time{box-sizing:content-box}.hud-right .pause-btn{background:#fbf7ed}
.chapter{color:#fbf7ed;background:#111e;padding:7px 10px;border-radius:3px;border-left:3px solid #6cff00;transition:color .6s,border-color .6s;max-width:calc(100% - 48px)}
.chapter.world-entering{color:#6cff00;border-color:#fbf7ed}
@media(max-width:680px){.hud{inset:14px 12px auto}.hud-score,.hud-time,.hud-lives{padding:6px 7px}.hud-time{width:74px}.hud-right{gap:5px}.chapter{top:112px;left:13px;font-size:10px}.hud strong{font-size:29px}}
@media(max-width:360px){.hud{left:8px;right:8px}.hud-time{width:63px}.hud-score,.hud-time,.hud-lives{padding:6px 5px}.hud-right{gap:3px}}
@media(prefers-reduced-motion:reduce){.chapter{transition:none}}

/* Ten rectangles stay on one row, with the count below on every screen. */
.dot-meter>div{display:grid;grid-template-columns:repeat(10,10px);gap:5px 4px;max-width:150px;align-items:center}
.dot-meter i{width:10px;height:14px}
.dot-meter b{grid-column:1/-1;display:block;margin:0;font-size:10px;line-height:1.15;min-height:12px}
@media(max-width:360px){.dot-meter>div{grid-template-columns:repeat(10,9px);gap:5px 3px}.dot-meter i{width:9px;height:13px}.dot-meter b{font-size:9px}}

/* Two deliberate touch actions: fire left, jump right. */
.game-actions{display:flex;gap:12px;align-items:stretch;pointer-events:auto;touch-action:none}
.game-actions *{touch-action:none}
.fire-button{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:9px;min-width:162px;min-height:51px;padding:12px 17px;border:1px solid #6cff00;border-radius:99px;background:#15220c;color:#6cff00;font-weight:800;font-size:13px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.fire-button small{font-size:9px;min-width:35px;font-variant-numeric:tabular-nums;font-weight:650}
.fire-button[aria-disabled="true"]{cursor:default;opacity:.7;border-color:#487526}
.fire-button:active:not([aria-disabled="true"]){transform:scale(.97)}
.laser-track{position:absolute;inset:auto 17px 5px;height:3px;background:#6cff0026;overflow:hidden;border-radius:4px}
.laser-track i{display:block;height:100%;background:#6cff00;transform-origin:left}
.game-actions .jump-button{touch-action:none;-webkit-touch-callout:none}
@media(max-width:680px){
 .game-bottom{flex-direction:column;align-items:stretch;gap:8px;bottom:max(17px,env(safe-area-inset-bottom))}
 .game-bottom .dot-meter{display:flex;align-items:center;justify-content:space-between;gap:8px}
 .game-bottom .dot-meter>span{font-size:8px;white-space:nowrap}
 .game-bottom .dot-meter>div{display:flex;flex-wrap:nowrap;max-width:none;gap:4px;margin:0}
 .game-bottom .dot-meter b{min-height:0;flex-basis:auto;margin-left:5px;font-size:9px}
 .game-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 .game-actions .fire-button,.game-actions .jump-button{min-width:0;width:100%;min-height:50px;padding:12px 14px;font-size:12px}
 .fire-button{gap:6px}.fire-button svg{width:18px;height:18px}.fire-button small{font-size:8px;min-width:30px}
 .playhint{display:none}
}
@media(max-width:360px){.game-actions{gap:9px}.game-bottom .dot-meter>div{gap:3px}.game-actions .fire-button{padding:12px 10px}.fire-button small{min-width:26px;font-size:7px}}
@media(max-height:550px) and (orientation:landscape){.game-bottom{bottom:13px}.playhint{bottom:82px}}

/* Sound remains reachable after the mobile game scrolls into view. */
.hud-buttons{display:flex;flex-direction:column;align-items:center;gap:5px;flex-shrink:0}
.arena-sound{pointer-events:auto;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #1113;border-radius:50%;background:#fbf7ed;color:#111;touch-action:manipulation}
.arena-sound svg{width:21px;height:21px}
.arena-sound[aria-pressed="true"]{background:#6cff00}
.arena-sound[aria-pressed="true"] .sound-slash,.arena-sound[aria-pressed="false"] .sound-waves{display:none}

/* A recovered life pops above the action, then lands on its actual HUD heart. */
.life-reward{position:absolute;inset:0;z-index:5;pointer-events:none;contain:layout style}
.life-reward-heart{position:absolute;display:block;fill:#f04465;stroke:#78182c;stroke-width:1.15;overflow:visible;filter:drop-shadow(0 4px 0 #090909) drop-shadow(0 0 18px #ff7a9580);will-change:transform}
.life-reward-label{position:absolute;transform:translateX(-50%);margin:0;padding:7px 17px;border:2px solid #6cff00;border-radius:7px;background:#0b0b0b;color:#6cff00;font-size:clamp(22px,4vw,36px);font-weight:900;line-height:1.1;white-space:nowrap;box-shadow:0 4px 0 #0b0b0b}
.lives svg.life-received{transform:scale(var(--life-glow,1));filter:drop-shadow(0 0 7px #6cff00);fill:#ff5878;opacity:1}
.arena.life-reward-active .toast{opacity:0}

/* Rangliste */
.secondary{width:100%;margin-top:12px;min-height:52px;padding:14px 24px;border-radius:999px;border:1px solid #5a5a5a;background:none;color:var(--paper);font-weight:750;font-size:15px}.secondary:hover{border-color:var(--green);color:var(--green)}
.board .eyebrow{justify-content:center}.board{text-align:center}.board-score{display:flex;flex-direction:column;margin:0 0 18px}.board-score span{font-size:10px;letter-spacing:.1em;color:var(--muted);font-weight:700}.board-score strong{font-size:56px;line-height:1.05;font-weight:900;letter-spacing:-.06em;color:var(--green);font-variant-numeric:tabular-nums}
.board-form{text-align:left;display:flex;flex-direction:column}.board-form label{font-size:13px;margin:14px 0 6px;font-weight:700}.board-form input[type=text],.board-form input[type=email]{background:#252525;color:var(--paper);border:1px solid #555;border-radius:10px;padding:13px 14px;font-size:16px;width:100%}.board-form input:focus-visible{outline:2px solid var(--green);outline-offset:1px}.board-form small{font-size:12px;margin-top:6px}
.board-form .board-consent{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:12px;line-height:1.5;color:#c8c8c8;margin:18px 0 20px}.board-consent input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:var(--green)}.board-consent a{color:var(--green);text-underline-offset:3px}
.board-form .primary{width:100%}.board-form .primary:disabled{opacity:.6;transform:none}#board-view-only{margin:16px auto 0;font-size:12px}#board-entry{display:flex;flex-direction:column}#board-entry[hidden],#board-view[hidden]{display:none}
.board-rank-note{font-weight:750;margin:0 0 12px}.board-list{list-style:none;margin:0 0 20px;padding:0;text-align:left;border-top:1px solid var(--line)}.board-list li{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:11px 10px;border-bottom:1px solid var(--line);font-size:15px}.board-list li.mine{background:#6cff0018;border-radius:8px;border-bottom-color:transparent;outline:1px solid #6cff0066}.board-rank{color:var(--muted);font-weight:800;font-variant-numeric:tabular-nums}.board-list li:nth-child(-n+3) .board-rank{color:var(--green)}.board-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-name small{color:var(--green);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.board-list strong{font-variant-numeric:tabular-nums}.board-list li.board-gap{display:block;text-align:center;color:var(--muted);padding:4px}
.board-message{color:var(--muted);font-size:14px;margin:6px 0 18px}.board>.primary{width:100%}#board-entry+#board-view+.board-message+.primary{margin-top:8px}
@media(max-width:680px){.board-score strong{font-size:46px}.board-list li{grid-template-columns:36px 1fr auto;padding:10px 6px;font-size:14px}}
