@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Russo+One&display=swap');
:root{font-family:Manrope,system-ui,sans-serif;color:#e9f7f1;background:#061820;font-synthesis:none;--edge:clamp(14px,3vw,42px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0}button{font-family:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}#renderCanvas{position:fixed;inset:0;width:100%;height:100%;display:block;outline:0;touch-action:none}.hidden{display:none!important}.vignette{pointer-events:none;position:fixed;inset:0;z-index:1;background:radial-gradient(ellipse at 52% 48%,transparent 17%,rgba(0,6,17,.34) 82%,rgba(0,5,11,.57))}
/* A full 3D scene remains visible behind the lobby, rather than a static landing screen. */
.lobby{position:fixed;inset:0;z-index:6;pointer-events:none;background:linear-gradient(90deg,rgba(5,17,24,.84) 0%,rgba(5,17,24,.22) 35%,transparent 62%,rgba(5,17,24,.34)),linear-gradient(0deg,rgba(2,13,20,.71),transparent 24%,transparent 75%,rgba(2,11,17,.57));display:flex;flex-direction:column;justify-content:space-between;padding:calc(18px + var(--safe-top)) var(--edge) calc(12px + var(--safe-bottom))}.lobby button{pointer-events:auto}.lobby-header,.lobby-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.lobby-brand,.game-brand{font-family:'Russo One',Impact,sans-serif;font-weight:900;font-size:clamp(17px,2.2vw,27px);letter-spacing:.035em;text-shadow:0 2px 15px #0008;display:flex;align-items:center;gap:11px}.brand-mark{font:900 22px Manrope;color:#173f32;background:#b4e495;border-radius:12px;padding:7px 12px}.header-chips{display:flex;gap:9px;align-items:center}.season-chip,.build-chip{font-size:10px;font-weight:800;letter-spacing:.15em;padding:11px 13px;border-radius:9px;background:#0c2430b8;border:1px solid #a2cbb92d;backdrop-filter:blur(7px)}.build-chip{color:#a5c6bd}.lobby-layout{flex:1;display:grid;grid-template-columns:minmax(200px,1fr) minmax(140px,1fr) minmax(255px,345px);align-items:center;gap:12px;min-height:0}.lobby-intro{align-self:center;max-width:390px;text-shadow:0 3px 19px #000a}.lobby-kicker{font-size:11px;font-weight:900;letter-spacing:.19em;color:#b6e9a8;display:flex;align-items:center;gap:9px}.live-dot{display:block;width:8px;height:8px;background:#abeb8a;border-radius:99px;box-shadow:0 0 13px #a7e7ad}.lobby-intro h1{font-family:'Russo One',Impact,sans-serif;font-size:clamp(32px,4.3vw,68px);line-height:1.09;margin:17px 0;letter-spacing:-.02em}.lobby-intro h1 span{display:block;color:#a7e8a0}.lobby-intro p{max-width:360px;color:#d4e7df;line-height:1.85;font-size:clamp(11px,1.2vw,15px)}.lobby-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:23px}.lobby-pills span{font-size:9px;font-weight:800;letter-spacing:.08em;border:1px solid #b5e2b047;padding:8px 10px;border-radius:7px;background:#0b2836ad}.lobby-character-tag{align-self:end;justify-self:center;margin-bottom:clamp(30px,7vh,75px);display:flex;flex-direction:column;align-items:center;gap:3px;text-shadow:0 2px 10px #000f;font-size:12px;letter-spacing:.05em;text-align:center}.lobby-character-tag small{font-size:9px;letter-spacing:.2em;color:#afe4c1}.lobby-character-tag strong{font-family:'Russo One',sans-serif;font-size:17px}.lobby-character-tag span{font-size:11px;color:#b4cfc7}.mode-card{pointer-events:none;align-self:center;justify-self:end;width:min(100%,345px);padding:25px;border:1px solid #b8d9bb52;border-radius:17px;background:linear-gradient(160deg,#0b2536ed,#102a2be8);box-shadow:0 18px 60px #0008,inset 0 1px 0 #fff2;backdrop-filter:blur(11px)}.mode-topline{display:flex;justify-content:space-between;color:#a6d9b1;letter-spacing:.1em;font-size:10px;font-weight:900}.mode-topline span:last-child{color:#86ada3}.mode-icon{width:58px;height:58px;border-radius:15px;background:linear-gradient(130deg,#6ca085,#254c50);display:grid;place-items:center;font-size:30px;margin:20px 0 16px;border:1px solid #e0edc055}.mode-label{font-size:10px;font-weight:900;letter-spacing:.2em;color:#a0c4b7}.mode-card h2{font-family:'Russo One',sans-serif;font-size:clamp(22px,2.3vw,31px);line-height:1.15;margin:8px 0 13px}.mode-card p{color:#c0d6d0;font-size:12px;line-height:1.8;margin:0 0 17px}.mode-stats{display:flex;gap:14px;font-size:10px;letter-spacing:.08em;font-weight:900;color:#e2f0cf;margin-bottom:17px}.play-btn{width:100%;border:1px solid #f3ffbc;border-bottom:3px solid #477864;min-height:58px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(180deg,#c6ec97,#86c49a);box-shadow:0 8px 0 #446d64,0 14px 28px #0007;color:#143b36;font-size:23px;font-weight:900;letter-spacing:.15em;transition:transform .14s,box-shadow .14s}.play-btn:active{transform:translateY(5px);box-shadow:0 3px 0 #446d64}.play-triangle{font-size:17px}.play-arrow{font-size:32px;margin-left:auto}.play-btn .play-triangle{margin-left:auto}.mode-footnote{display:block;text-align:center;font-size:8px;color:#93b8b3;letter-spacing:.09em;margin-top:19px}.lobby-footer{font-size:9px;letter-spacing:.19em;color:#a1c4b7}.lobby-footer span:last-child{color:#98c69c}
/* Gameplay HUD */
.game-hud{position:fixed;inset:0;z-index:5;pointer-events:none}.game-topbar{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:calc(11px + var(--safe-top)) var(--edge) 9px;background:linear-gradient(#061620ca,transparent);gap:12px}.game-brand{font-size:17px}.mini-mark{color:#19412e;background:#b6e299;padding:4px 7px;border-radius:8px}.round-indicator{background:#091e2bd9;padding:10px 14px;border:1px solid #87b4a44f;border-radius:10px;letter-spacing:.11em;font-size:10px;font-weight:800;white-space:nowrap}.round-indicator strong{font-size:15px;color:#d2f6cb;letter-spacing:.03em;margin-left:7px}.objective-panel{position:absolute;top:calc(69px + var(--safe-top));left:var(--edge);max-width:min(310px,70vw);padding:13px 17px;background:#09202edb;border:1px solid #709b846e;border-left:4px solid #a5e29a;border-radius:10px;box-shadow:0 9px 28px #0007;display:flex;flex-direction:column;gap:6px}.eyebrow,.status-label{font-size:10px;color:#a2c7ad;font-weight:900;letter-spacing:.18em}.objective-panel strong{font-size:14px;line-height:1.3}.objective-panel #objectiveSub{font-size:12px;color:#b4e4bb}.status-panel{position:absolute;left:var(--edge);bottom:calc(38px + var(--safe-bottom));width:205px;padding:13px 15px;background:#091e2cd9;border:1px solid #759e9657;border-radius:11px}.status-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.status-row span{font-size:10px;color:#9dc8b7;font-weight:900;letter-spacing:.1em}.status-row div{color:#ee8989;font-size:22px;letter-spacing:2px;white-space:nowrap}.stamina-track{background:#29493f;border-radius:9px;margin-top:6px;height:7px;overflow:hidden}#staminaFill{width:100%;height:100%;background:linear-gradient(90deg,#6aa78e,#cdf49a)}.center-hint{position:absolute;top:21%;left:50%;transform:translateX(-50%);font-size:clamp(13px,2.2vw,22px);font-weight:900;letter-spacing:.1em;color:#ffc0ae;text-shadow:0 2px 12px #210404,0 0 22px #fa685b96;text-align:center;white-space:nowrap}.interaction{position:absolute;bottom:15%;left:50%;transform:translateX(-50%);border-radius:9px;background:#0b3229ee;padding:12px 18px;font-weight:900;letter-spacing:.04em;font-size:12px;border:1px solid #d0ecab;text-align:center;max-width:45vw}.control-help{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:800;letter-spacing:.05em;color:#b2d2c3;text-align:center;white-space:nowrap}.view-hint{display:none}.mobile-controls{display:none}.result-shell{position:fixed;z-index:9;inset:0;display:flex;justify-content:center;align-items:center;padding:22px;background:#06171fe8;backdrop-filter:blur(9px);text-align:center}.result-panel{width:min(460px,100%);border:1px solid #bbdeac6f;border-radius:19px;padding:clamp(22px,5vw,46px);background:linear-gradient(145deg,#143536,#09232e);box-shadow:0 20px 90px #0009}.result-panel h1{font-family:'Russo One',sans-serif;font-size:clamp(23px,5vw,38px);margin:13px 0}.result-panel p{color:#c4dfd3;line-height:1.7;font-size:14px;margin-bottom:32px}#resultMark{color:#c6eba7;font-size:39px}
@media (pointer:coarse),(max-width:760px){.mobile-controls{display:flex;position:absolute;left:calc(14px + env(safe-area-inset-left,0px));right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(14px + var(--safe-bottom));justify-content:space-between;align-items:end;gap:9px}.joystick-base{pointer-events:auto;touch-action:none;flex-shrink:0;position:relative;width:clamp(91px,27vw,118px);height:clamp(91px,27vw,118px);border-radius:50%;background:#a9d3bf20;border:2px solid #baeaca7f;display:grid;place-items:center;backdrop-filter:blur(4px);box-shadow:inset 0 0 22px #b6eacd19}.joystick-knob{width:48%;height:48%;border-radius:50%;background:#bfe9b49c;border:2px solid #e4f8d9;box-shadow:0 0 17px #07191673;will-change:transform}.mobile-buttons{pointer-events:auto;display:flex;align-items:end;gap:clamp(5px,2vw,12px)}.mobile-buttons button{width:clamp(49px,14vw,65px);height:clamp(49px,14vw,65px);flex-shrink:0;border-radius:50%;background:#0b3443e8;border:1px solid #a0ccbaac;color:#e6ffe5;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 22px #0006;user-select:none;-webkit-user-select:none}.mobile-buttons button.action{width:clamp(60px,17vw,77px);height:clamp(60px,17vw,77px);background:linear-gradient(180deg,#c1e4a5,#82b99d);color:#153c32;border:2px solid #ecffcb}.mobile-buttons button span{font-size:25px;line-height:1}.mobile-buttons button small{font-size:8px;margin-top:4px;font-weight:900;letter-spacing:.04em}.mobile-buttons button.pressed{background:#c0ec9c;color:#143b32}.control-help{display:none}.game-brand{font-size:13px}.round-indicator{font-size:9px;padding:8px}.round-indicator strong{font-size:12px}.objective-panel{top:calc(58px + var(--safe-top));left:12px;padding:10px 12px;max-width:min(275px,calc(100vw - 24px))}.objective-panel strong{font-size:12px}.objective-panel #objectiveSub{font-size:10px}.eyebrow,.status-label{font-size:9px}.status-panel{left:12px;bottom:calc(141px + var(--safe-bottom));width:165px;padding:9px 11px}.status-row{margin-bottom:6px}.status-row span{font-size:9px}.status-row div{font-size:17px}.interaction{bottom:calc(126px + var(--safe-bottom));max-width:45vw;font-size:10px;padding:9px 12px}.view-hint{display:block;position:absolute;bottom:calc(5px + var(--safe-bottom));left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:.08em;color:#9fc9b3;opacity:.7;white-space:nowrap}.center-hint{top:31%;font-size:13px}.lobby{padding:calc(14px + var(--safe-top)) 16px calc(13px + var(--safe-bottom))}.lobby-header .lobby-brand{font-size:16px}.brand-mark{font-size:15px;padding:5px 8px}.build-chip{display:none}.season-chip{font-size:8px;padding:8px}.lobby-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;gap:0;min-height:0}.lobby-intro{align-self:start;margin-top:24px}.lobby-intro h1{font-size:clamp(24px,8.1vw,40px);margin:10px 0}.lobby-intro p{font-size:11px;margin:6px 0;line-height:1.5}.lobby-pills{margin-top:9px}.lobby-pills span{font-size:8px;padding:5px 7px}.lobby-kicker{font-size:9px}.lobby-character-tag{align-self:end;justify-self:center;margin:0 0 8px;gap:0}.lobby-character-tag strong{font-size:13px}.lobby-character-tag span{font-size:9px}.mode-card{align-self:end;justify-self:stretch;width:100%;padding:13px 15px;border-radius:14px}.mode-topline,.mode-label,.mode-icon,.mode-card p,.mode-stats,.mode-footnote{display:none}.mode-card h2{font-size:19px;margin:0 0 9px}.play-btn{min-height:50px;font-size:19px}.lobby-footer{margin-top:11px;font-size:8px}.lobby-footer span:last-child{display:none}}
@media (orientation:landscape) and (max-height:550px){.lobby{padding-top:calc(7px + var(--safe-top));padding-bottom:calc(6px + var(--safe-bottom))}.lobby-layout{grid-template-columns:minmax(170px,1fr) minmax(80px,.7fr) minmax(185px,255px);grid-template-rows:1fr;gap:9px}.lobby-intro{align-self:center;margin-top:0}.lobby-intro h1{font-size:clamp(25px,4.2vw,47px);margin:9px 0}.lobby-intro p{font-size:10px}.lobby-pills{margin-top:8px}.lobby-pills span{padding:5px 7px}.lobby-character-tag{align-self:end;margin-bottom:8px}.mode-card{align-self:center;justify-self:end;padding:15px}.mode-card h2{font-size:19px;margin:7px 0}.mode-icon{display:none}.mode-label{display:block}.mode-topline{display:flex;font-size:8px}.mode-card p{display:block;font-size:10px;line-height:1.35;margin:6px 0}.mode-stats{display:flex;font-size:8px;margin:9px 0}.mode-footnote{display:none}.lobby-footer{margin-top:4px}.season-chip{font-size:8px}.game-topbar{padding-top:calc(4px + var(--safe-top));padding-bottom:4px}.objective-panel{top:calc(50px + var(--safe-top));left:auto;right:12px;width:215px;max-width:32vw;padding:8px 10px}.objective-panel strong{font-size:11px}.status-panel{top:calc(50px + var(--safe-top));bottom:auto;left:12px;width:164px;padding:7px 10px}.status-row{margin-bottom:3px}.status-row div{font-size:15px}.center-hint{top:37%}.mobile-controls{bottom:calc(10px + var(--safe-bottom))}.joystick-base{width:clamp(85px,20vh,110px);height:clamp(85px,20vh,110px)}.mobile-buttons button{width:clamp(48px,16vh,62px);height:clamp(48px,16vh,62px)}.mobile-buttons button.action{width:clamp(58px,18vh,73px);height:clamp(58px,18vh,73px)}.view-hint{display:none}.interaction{bottom:12px;max-width:210px;font-size:9px;padding:7px 10px}}
@media (max-height:620px) and (orientation:portrait){.lobby-intro{margin-top:10px}.lobby-intro p{display:none}.lobby-pills{margin-top:7px}.lobby-character-tag{display:none}.mode-card{padding:10px}}
