:root{--lime:#d8ff63;--ink:#132438}*{box-sizing:border-box}body{margin:0;background:#a5c6d8;color:white;font-family:'DM Sans',sans-serif;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:700 12px 'DM Sans',sans-serif;letter-spacing:1px;cursor:pointer;border:0;color:inherit}button:hover{filter:brightness(1.1);transform:translateY(-2px)}button:focus-visible{outline:3px solid var(--lime);outline-offset:4px}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}#vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(15,35,52,.8),rgba(15,35,52,.25) 50%,transparent 80%),linear-gradient(0deg,rgba(10,30,45,.4),transparent 30%)}body.playing #vignette{background:linear-gradient(0deg,#16304733,transparent 20%)}header{position:fixed;left:5%;right:5%;top:32px;display:flex;align-items:center;justify-content:space-between;z-index:5}.brand{font:900 29px 'Barlow Condensed',Impact,sans-serif;letter-spacing:-1px;text-decoration:none;color:white;display:flex;align-items:center;gap:3px}.brand span{color:var(--lime)}.brand i{font-size:27px;margin-left:12px;color:var(--lime)}.topright{display:flex;gap:12px;align-items:center}.chip{font-size:9px;letter-spacing:1.5px;padding:12px;border:1px solid #ffffff40;border-radius:30px}#sound,#pause{background:#142b3c55;backdrop-filter:blur(12px);border:1px solid #ffffff30;padding:12px 15px;border-radius:30px}main{position:absolute;top:25%;left:8%;max-width:750px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:3px;color:var(--lime);margin-bottom:18px}h1{font:900 clamp(60px,7.8vw,118px)/.91 'Barlow Condensed',Impact,sans-serif;letter-spacing:-2px;margin:0 0 25px}h1 em{font-style:normal;color:var(--lime)}p{font-size:15px;line-height:1.8;color:#e1edf5}main p{margin-bottom:28px}.actions{display:flex;gap:12px}.primary{background:var(--lime);color:var(--ink);padding:21px 25px;border-radius:6px;box-shadow:0 8px 24px #132a3320}.primary b{margin-left:25px;font-size:18px}.secondary{background:#ffffff0d;border:1px solid #ffffff55;border-radius:6px;padding:19px 22px;backdrop-filter:blur(12px)}.secondary span{margin-left:14px}.features{display:flex;gap:25px;font-size:9px;letter-spacing:1px;font-weight:700;margin-top:25px;color:#d2e1e9}.worldtag{margin-top:55px;font-size:11px;letter-spacing:2px;font-weight:700}.worldtag small{display:block;font-size:8px;color:#b4c9d6;margin:10px 0 0 16px}.live{display:inline-block;width:6px;height:6px;background:var(--lime);border-radius:50%;margin-right:8px}.bottom{position:fixed;bottom:25px;left:5%;right:5%;display:flex;justify-content:space-between;font-size:8px;letter-spacing:2px;color:#dae6ec99;pointer-events:none}.hidden{display:none!important}.overlay{position:fixed;inset:0;z-index:20;background:#0d1c2b9e;backdrop-filter:blur(15px);display:flex;align-items:center;justify-content:center;padding:20px}.panel{background:#142b40;border:1px solid #ffffff22;border-radius:18px;padding:40px;max-width:500px;width:100%;box-shadow:0 25px 90px #00172f66;position:relative}.panel h2{font:800 42px/1 'Barlow Condensed',Impact,sans-serif;margin:5px 0 16px}.panel button:not(.close){margin:8px 5px 0 0}.wide{max-width:900px;max-height:85vh;overflow:auto}.close{position:absolute;right:18px;top:12px;background:none;font-size:30px}#levelGrid .worldrow{margin:18px 0}.worldrow h3{font-size:11px;letter-spacing:2px;color:#c4d4e2}.cells{display:grid;grid-template-columns:repeat(12,1fr);gap:5px}.cells button{padding:10px 0;background:#254058;border-radius:5px;letter-spacing:0}.cells button.open{background:var(--lime);color:var(--ink)}.cells button.done{background:#568c89}.cells button:disabled{opacity:.4;cursor:default}#hud{position:fixed;inset:0;pointer-events:none}.stat{position:absolute;top:108px;left:5%;background:#10293b99;backdrop-filter:blur(12px);padding:16px 23px;border:1px solid #ffffff30;border-radius:12px}.stat small{display:block;color:var(--lime);font-size:10px;letter-spacing:2px}.stat strong{display:block;font:800 44px 'Barlow Condensed',Impact,sans-serif}.stat span{font-size:9px;letter-spacing:2px}.timer{position:absolute;top:100px;left:50%;transform:translateX(-50%);font:800 45px 'Barlow Condensed',Impact,sans-serif;text-shadow:0 3px 10px #14304c}.health{position:absolute;right:5%;top:110px;text-align:right}.health small{font-size:9px;letter-spacing:2px}#hearts{color:var(--lime);font-size:24px;margin-top:8px}.help{position:absolute;bottom:65px;width:100%;text-align:center;font-size:10px;letter-spacing:1px;text-shadow:0 1px 6px #000}#crosshair{position:absolute;left:50%;top:50%;font:300 28px sans-serif;color:#fff9;transform:translate(-50%,-50%)}#dashbar{position:absolute;bottom:100px;left:50%;width:120px;transform:translateX(-50%);background:#15334d66;height:5px;border-radius:5px}#dashbar i{display:block;background:var(--lime);height:100%;width:100%}#dashbar span{display:block;text-align:center;font-size:8px;letter-spacing:2px;margin-top:6px}#toast{position:fixed;left:50%;top:25%;transform:translateX(-50%);font:800 30px 'Barlow Condensed',Impact,sans-serif;color:var(--lime);pointer-events:none;text-shadow:0 3px 12px #123;opacity:0;transition:opacity .2s}#touch{position:fixed;inset:0;pointer-events:none}#stick{position:absolute;bottom:85px;left:30px;width:110px;height:110px;background:#ffffff20;border:1px solid #ffffff66;border-radius:50%;pointer-events:auto;touch-action:none}#knob{position:absolute;left:35px;top:35px;width:40px;height:40px;border-radius:50%;background:#ffffff99}#dash{position:absolute;bottom:100px;right:25px;width:88px;height:88px;border-radius:50%;background:var(--lime);color:var(--ink);pointer-events:auto;touch-action:none}#dash{right:125px;bottom:85px;width:60px;height:60px;background:#16364caa;color:white;border:1px solid #ffffff88;font-size:10px}@media(max-width:650px){header{top:20px}.brand{font-size:24px}.chip{display:none}main{left:7%;top:25%;right:5%}h1{font-size:66px}main p{font-size:12px}.primary{padding:18px 16px;font-size:10px}.secondary{padding:17px 15px;font-size:10px}.features{gap:12px;font-size:7px}.worldtag{margin-top:38px}.bottom{bottom:17px;font-size:6px;letter-spacing:1px}.bottom span:last-child{display:none}.panel{padding:25px}.panel h2{font-size:34px}.cells{grid-template-columns:repeat(6,1fr)}.help{display:none}.stat{top:90px;padding:10px 15px}.health{top:94px}.timer{top:85px;font-size:36px}}

#stick{pointer-events:none;z-index:1}#touchHint{position:absolute;bottom:36px;left:0;width:100%;text-align:center;font-size:12px;line-height:1.7;text-shadow:0 2px 5px #123;font-weight:700}#touchHint small{font-size:10px;font-weight:400;color:#e0edf4}body:has(#touch:not(.hidden)) #crosshair{display:none}body:has(#touch:not(.hidden)) #dashbar{bottom:205px}#world{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#toast{max-width:90%;text-align:center}@media(pointer:coarse){.bottom{display:none}#dash{bottom:91px;right:125px}#touchHint{pointer-events:none}}

/* Compact in-game HUD on phones, including landscape and display cutouts. */
@media (max-width:650px), (pointer:coarse) and (max-height:600px){
 body.playing header{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));left:auto;width:auto}
 body.playing header .brand,body.playing header .chip{display:none}
 body.playing .topright{gap:6px}
 body.playing #sound,body.playing #pause{width:44px;height:44px;min-width:44px;padding:0;border-radius:12px;display:grid;place-items:center}
 body.playing #sound{font-size:0;letter-spacing:0}
 body.playing #sound::before{content:'♫';font-size:21px}
 body.playing #sound[aria-pressed="false"]::before{content:'♪';opacity:.55}
 body.playing #pause{font-size:18px}
 body.playing .stat{top:max(8px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));width:112px;height:44px;padding:5px 8px;display:grid;grid-template-columns:38px 1fr;grid-template-rows:15px 17px;gap:0 5px;border-radius:12px;background:#10293b99}
 body.playing .stat small{grid-column:1;grid-row:1;align-self:center;font-size:0;letter-spacing:0;white-space:nowrap;line-height:15px}
 body.playing .stat small::after{content:attr(data-short);font:700 10px/15px 'DM Sans',sans-serif;letter-spacing:0}
 body.playing .stat strong{grid-column:2;grid-row:1 / 3;align-self:center;justify-self:end;font:800 22px/1 'Barlow Condensed',Impact,sans-serif;white-space:nowrap}
 body.playing .stat>span{display:none}
 body.playing .health{top:calc(max(8px,env(safe-area-inset-top)) + 23px);left:calc(max(8px,env(safe-area-inset-left)) + 8px);right:auto;text-align:left}
 body.playing .health small{display:none}
 body.playing #hearts{margin:0;font-size:10px;line-height:12px;letter-spacing:-1.4px;white-space:nowrap}
 body.playing .timer{top:max(8px,env(safe-area-inset-top));left:calc(max(8px,env(safe-area-inset-left)) + 120px);transform:none;min-width:48px;height:44px;display:grid;place-items:center;padding:0 7px;border-radius:12px;background:#10293b80;font:800 26px/1 'Barlow Condensed',Impact,sans-serif;font-variant-numeric:tabular-nums}
 body.playing .help,body.playing .bottom{display:none}
 body.playing #toast{top:calc(max(8px,env(safe-area-inset-top)) + 54px);font-size:18px;line-height:1.2;max-width:calc(100vw - 24px)}
}

/* Fractional shield damage stays visible without enlarging the mobile HUD. */
#hearts{display:flex;gap:4px;align-items:center;justify-content:flex-end;min-height:.7em}.shieldpip{display:block;flex:none;width:.64em;height:.64em;border-radius:50%;background:linear-gradient(90deg,var(--lime) var(--fill),#d8ff6330 var(--fill));box-shadow:inset 0 0 0 1px #d8ff6340}
@media (max-width:650px), (pointer:coarse) and (max-height:600px){body.playing #hearts{gap:2px;justify-content:flex-start;min-height:12px}}

#powerHud{position:absolute;top:230px;left:5%;display:flex;gap:6px;pointer-events:none}#powerHud:empty{display:none}.buff{display:inline-flex;align-items:center;gap:6px;background:#10293bba;border:1px solid #d8ff6370;border-radius:7px;padding:7px 10px;font-size:11px;color:var(--lime);font-variant-numeric:tabular-nums}.buff.shield{border-color:#79e6ff70;color:#79e6ff}.buff b{font-size:10px;letter-spacing:.6px}@media (max-width:650px),(pointer:coarse) and (max-height:600px){#powerHud{top:calc(max(8px,env(safe-area-inset-top)) + 49px);left:max(8px,env(safe-area-inset-left))}.buff{padding:3px 6px;font-size:10px;line-height:13px}.buff b{font-size:9px;letter-spacing:0}body.playing:has(#powerHud:not(:empty)) #toast{top:calc(max(8px,env(safe-area-inset-top)) + 77px)}}

.panel .keyboardHint{font-size:9px;letter-spacing:1px;color:var(--lime);line-height:1.5;margin:16px 0 0}@media(pointer:coarse){.keyboardHint{display:none}}

/* Gesture throwing needs no extra button over the arena. */
#touch #dash{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px}body:has(#touch:not(.hidden)) #touchHint{left:max(12px,env(safe-area-inset-left));right:calc(max(16px,env(safe-area-inset-right)) + 68px);bottom:max(14px,env(safe-area-inset-bottom));width:auto;text-align:left;font-size:10px;line-height:1.5}body:has(#touch:not(.hidden)) #touchHint small{font-size:9px}body:has(#touch:not(.hidden)) #dashbar{bottom:calc(max(16px,env(safe-area-inset-bottom)) + 75px);width:80px}

/* Approved Snowball Fight identity. */
.brand img{display:block;width:116px;height:auto}.game-logo{font-size:0;line-height:0;width:min(430px,44vw);margin:0 0 12px;letter-spacing:0}.game-logo img{display:block;width:100%;height:auto}#home{top:clamp(112px,14vh,160px)}#home .worldtag{margin-top:30px}
@media(max-width:650px){.brand img{width:88px}#home{top:max(94px,12vh)}.game-logo{width:min(300px,78vw);margin-bottom:10px}#home .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:10px}#home p{margin-top:0;margin-bottom:20px}#home .features{margin-top:18px}#home .worldtag{margin-top:22px}}
@media(max-width:650px) and (max-height:740px){.game-logo{width:min(250px,72vw)}#home .worldtag{margin-top:16px}}
@media(max-width:650px) and (max-height:620px){#home{top:82px}.game-logo{width:210px}#home .worldtag{display:none}}
@media(min-width:651px) and (max-height:550px){header{top:12px}.brand img{width:90px}#home{top:90px;left:7%;right:7%;max-width:none;display:grid;grid-template-columns:230px 1fr;column-gap:22px;align-items:start}.game-logo{width:230px;grid-column:1;grid-row:1 / 5;align-self:center}#home>.eyebrow,#home>p,#home>.actions,#home>.features{grid-column:2}#home .eyebrow{margin-bottom:8px}#home p{margin:0 0 12px;font-size:12px}#home .features{margin-top:12px}#home .worldtag{display:none}}

#fullscreen{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:10px;background:#142b3c55;backdrop-filter:blur(12px);border:1px solid #ffffff30;border-radius:30px}#fullscreen svg{width:20px;height:20px}#fullscreen .exit-fullscreen{display:none}#fullscreen[aria-pressed="true"] .enter-fullscreen{display:none}#fullscreen[aria-pressed="true"] .exit-fullscreen{display:block}#fullscreen[aria-pressed="true"]{color:var(--lime);border-color:#d8ff6370}html:fullscreen{width:100%;height:100%;background:#132438}html:-webkit-full-screen{width:100%;height:100%;background:#132438}
@media(max-width:650px),(pointer:coarse) and (max-height:600px){body.playing #fullscreen{border-radius:12px}.topright{gap:6px}#sound,#pause{width:44px;height:44px;padding:0;display:grid;place-items:center}#sound{font-size:0;letter-spacing:0}#sound::before{content:'♫';font-size:21px}#sound[aria-pressed="false"]::before{content:'♪';opacity:.55}}
@media(max-width:380px){body.playing .stat{width:100px;padding:5px 6px;grid-template-columns:34px 1fr;column-gap:3px}body.playing .stat strong{font-size:20px}body.playing #hearts{font-size:8.5px}body.playing .timer{left:calc(max(8px,env(safe-area-inset-left)) + 106px);min-width:44px;padding:0 5px;font-size:24px}}
/* The entry screen shows only the large logo. Keep header alignment unchanged. */
body:not(.playing) header .brand{visibility:hidden;pointer-events:none}

/* Menu-only language controls: no additional in-game obstruction. */
.locale-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;margin:16px 0;font-size:12px}.locale-tools select{font:inherit;color:#eef6fc;background:#1a3049;border:1px solid #668196;border-radius:8px;padding:8px;max-width:180px}.locale-tools a{color:#d8ff63;text-underline-offset:3px}.locale-tools label{color:#c9d7e3}.buff.shield{max-width:190px;white-space:normal}.health{max-width:150px}.health small{font-size:9px}#home{max-height:calc(100dvh - 120px);overflow-y:auto;scrollbar-width:thin}.playing .locale-tools{display:none}@media(max-width:600px){.locale-tools{margin:9px 0;gap:6px 10px;font-size:11px}.locale-tools select{padding:5px;max-width:145px}.health{max-width:92px}.health small{font-size:8px}#home{max-height:calc(100dvh - 95px)}.features{flex-wrap:wrap}.actions button{white-space:normal}.buff.shield{max-width:150px}}

#home{bottom:max(28px,env(safe-area-inset-bottom));max-height:none}.locale-tools{justify-content:flex-start}@media(max-width:650px){#home{bottom:max(12px,env(safe-area-inset-bottom))}}@media(min-width:651px) and (max-height:550px){#home>.locale-tools{grid-column:2}}
