@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--gold:#f4cc70;--muted:#a8aab9;--ink:#10121b;--blue:#6384ff}*{box-sizing:border-box}body{margin:0;background:#090b13;color:#fff;font-family:Inter,Arial,sans-serif;overflow:hidden;touch-action:auto}button{font:600 14px Inter,Arial,sans-serif;cursor:pointer;color:inherit;background:#252936;border:1px solid #ffffff20;border-radius:7px;padding:10px 15px;transition:background .15s,transform .15s}button:hover{background:#394057}button:active{transform:scale(.96)}button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button:disabled{opacity:.4;cursor:default}#arena{touch-action:none;position:absolute;width:100%;height:100%;display:block}header{position:absolute;top:0;left:0;width:100%;padding:22px 28px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#090b13e8,transparent);z-index:2;pointer-events:none}header>*{pointer-events:auto}.brand{display:flex;gap:11px;align-items:center;font:800 17px/1.04 'Barlow Condensed',Impact,sans-serif;letter-spacing:2px}.brand .seal{width:42px;height:42px;display:grid;place-items:center;border:1px solid #f4cc7055;border-radius:50%;color:var(--gold);font-size:23px}.brand div span{display:block;font-size:27px;letter-spacing:4px}.top-actions{display:flex;gap:8px}.top-actions button{background:#11151fce}.top-actions button span{color:var(--gold);margin-left:5px}.hud{position:absolute;top:100px;left:28px;right:28px;display:flex;justify-content:space-between;pointer-events:none;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--muted);margin-bottom:7px}.player-card{width:245px}.player-card>b{font:700 25px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.7px}.health-track{height:8px;background:#282b3b;border-radius:3px;margin-top:10px;overflow:hidden}#hpFill{height:100%;width:100%;background:linear-gradient(90deg,#4068ff,#a8bdff);transition:width .25s}.health-label{display:flex;justify-content:space-between;font-size:12px;color:#c8cede;margin-top:7px}.score-card{text-align:center}.score-card strong{font:700 49px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:3px;font-variant-numeric:tabular-nums}#statusText{font-size:10px;letter-spacing:1.9px;color:var(--gold);margin-top:9px}.progress-card{width:184px;text-align:right}.coins{color:var(--gold);font-size:26px}.coins small{font-size:10px;letter-spacing:1px;margin-left:5px}.progress-track{height:3px;background:#ffffff20;margin-top:16px}#progressFill{height:100%;background:var(--gold)}#progressText{font-size:12px;color:var(--muted);display:block;margin-top:7px}#waveBadge{position:absolute;left:28px;top:240px;pointer-events:none}#waveBadge span{display:block;color:var(--gold);font-size:10px;letter-spacing:2px;font-weight:700}#waveBadge b{display:block;font:700 37px 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px;margin:3px 0}#waveBadge small{color:#aeb5c8;font-size:12px}#enemyCards{position:absolute;right:28px;top:235px;display:flex;flex-direction:column;gap:10px;max-height:42vh;overflow:auto;width:187px;pointer-events:none}.enemy-card{background:#131723c9;border-left:2px solid #d45665;padding:10px 12px;border-radius:0 5px 5px 0}.enemy-card b{font:600 18px 'Barlow Condensed',Impact,sans-serif}.enemy-card small{display:block;font-size:10px;color:var(--gold);margin:3px 0 7px}.enemy-health{height:3px;background:#ffffff20}.enemy-health i{display:block;height:100%;background:#d65e72}#announcement{position:absolute;left:50%;top:28%;transform:translateX(-50%);text-align:center;pointer-events:none;font:700 38px 'Barlow Condensed',Impact,sans-serif;text-shadow:0 2px 20px #000;letter-spacing:1px;white-space:pre-line}#announcement small{font:500 14px Inter,sans-serif;letter-spacing:0;color:var(--gold);display:block;margin-top:5px}#toast{position:absolute;bottom:108px;left:50%;transform:translateX(-50%);border:1px solid #ffffff20;background:#0e1322e8;padding:11px 20px;border-radius:6px;font-size:14px;opacity:0;transition:opacity .2s;pointer-events:none;text-align:center;max-width:85%}#desktopControls{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#090b13ee);padding:35px 28px 23px;display:flex;align-items:center;gap:22px;font-size:12px;color:#c3c7d8}kbd{display:inline-block;background:#ffffff12;border:1px solid #ffffff20;border-bottom:2px solid #ffffff30;border-radius:4px;padding:5px 7px;color:white;font:700 11px Inter,sans-serif;margin-right:5px}.ability-status{margin-left:auto;font-size:11px!important;font-weight:700;letter-spacing:1.3px;color:var(--gold)!important}#mobileControls{display:none}.overlay{position:absolute;inset:0;background:#090c15a0;backdrop-filter:blur(5px);z-index:4;display:flex;align-items:center;justify-content:center;padding:24px}.overlay.hidden{display:none}.panel{max-width:870px;width:100%;max-height:90vh;overflow:auto;background:linear-gradient(145deg,#1b2031f5,#101420f5);border:1px solid #ffffff1c;border-radius:15px;box-shadow:0 30px 100px #0009;padding:32px;touch-action:pan-y}.panel h1,.panel h2{font-family:'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;margin:0;line-height:.94;letter-spacing:1px}.panel h1{font-size:clamp(48px,7vw,76px)}.panel h1 em{color:var(--gold);font-style:normal}.panel h2{font-size:39px}.panel p{font-size:14px;color:#b9c2d6;line-height:1.7;max-width:570px}.start-panel{position:relative;max-width:650px;overflow:hidden}.kicker{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:2px;margin-bottom:15px}.intro-stats{display:flex;border-top:1px solid #ffffff15;border-bottom:1px solid #ffffff15;margin:25px 0;padding:17px 0;gap:35px}.intro-stats b{display:block;font:700 32px 'Barlow Condensed',Impact,sans-serif}.intro-stats span{font-size:11px;letter-spacing:1px;color:#aeb8d0}.primary{background:var(--gold);color:#171825;border:0;padding:15px 25px;font-weight:800}.primary:hover{background:#ffe1a0}.secondary{background:transparent;margin-left:10px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.close{background:#ffffff0b;font-size:21px;width:39px;height:39px;padding:0}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.power-card{background:#ffffff04;border:1px solid #ffffff14;padding:18px;border-radius:9px}.power-card.equipped{border-color:var(--gold);background:#f4cc700a}.power-card .tier{font-size:11px;color:var(--gold);letter-spacing:1px;font-weight:700}.power-card h3{font:700 25px 'Barlow Condensed',Impact,sans-serif;margin:9px 0}.power-card p{font-size:12px;line-height:1.6;min-height:58px;margin:0 0 15px}.power-card button{width:100%}.tabs{display:flex;gap:8px;margin-bottom:18px}.tabs .active{background:var(--gold);color:var(--ink)}.roster-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.roster-entry{padding:13px;background:#ffffff05;border:1px solid #ffffff10;border-radius:7px;text-align:left}.roster-entry b{display:block;font:600 20px 'Barlow Condensed',Impact,sans-serif}.roster-entry small{display:block;color:var(--gold);font-size:11px;line-height:1.5;margin-top:5px}.roster-entry.defeated{opacity:.6}.roster-entry .stamp{color:#8ac5ab;font-size:10px}.model-view{height:295px;border:1px solid #ffffff12;background:#090c17;border-radius:8px;overflow:hidden}.model-view canvas{width:100%;height:100%;display:block}.leader-detail p{margin:10px 0}.detail-tags{display:flex;gap:8px;margin:15px 0}.detail-tags span{font-size:11px;padding:7px 10px;background:#ffffff08;border-radius:5px;color:var(--gold)}.controls-help{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px;color:#bac2d5;margin:20px 0}.tip{font-size:12px!important;color:#8f9bb5!important}.paused-title{margin-bottom:20px!important}.nosound{opacity:.5}body.cinematic .hud,body.cinematic #waveBadge,body.cinematic #enemyCards,body.cinematic footer{opacity:.35}
@media(max-width:850px){header{padding:14px 16px}.brand{font-size:13px}.brand div span{font-size:21px}.brand .seal{width:33px;height:33px}.top-actions{gap:5px}.top-actions button{font-size:12px;padding:8px 10px}.hud{top:83px;left:16px;right:16px;gap:16px}.player-card{width:170px}.player-card>b{font-size:21px}.score-card strong{font-size:38px}.progress-card{width:110px}.eyebrow{font-size:9px}.coins{font-size:22px}.coins small{display:none}#desktopControls{gap:10px;padding:25px 16px 15px;font-size:10px}#waveBadge{left:16px;top:205px}#enemyCards{right:16px;top:203px;width:147px}.panel{padding:25px}.shop-grid{grid-template-columns:repeat(2,1fr)}.roster-grid{grid-template-columns:repeat(2,1fr)}}
@media(pointer:coarse),(max-width:650px){#desktopControls{display:none}#mobileControls{display:block;position:absolute;bottom:max(17px,env(safe-area-inset-bottom));left:20px;right:20px;height:145px;pointer-events:none}#joystick{pointer-events:auto;position:absolute;bottom:0;left:0;width:114px;height:114px;border:2px solid #ffffff25;border-radius:50%;background:#13192b70;touch-action:none}#stick{position:absolute;top:33px;left:33px;width:44px;height:44px;border-radius:50%;background:#cbd6f644;border:1px solid #ffffff44}.touch-actions{position:absolute;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,61px);gap:8px;align-items:center;pointer-events:auto}.touch{height:58px;border-radius:50%;padding:0;background:#252f47ce;font-size:11px;touch-action:none}.touch.small{height:43px;border-radius:20px}.touch.power{grid-row:1/3;grid-column:3;height:71px;background:#f4cc70;color:#161928}.health-label{font-size:9px}.hud{gap:10px}.player-card{width:145px}.player-card>b{font-size:18px}.score-card strong{font-size:33px}.score-card .eyebrow{font-size:8px;letter-spacing:1px}.progress-card{width:82px}#statusText{font-size:8px;letter-spacing:.8px}.progress-track{margin-top:12px}#progressText{font-size:9px}#waveBadge{top:185px}#waveBadge b{font-size:27px}#waveBadge small{font-size:10px}#waveBadge span{font-size:8px;letter-spacing:1px}#enemyCards{top:190px;width:116px;max-height:26vh;gap:5px}.enemy-card{padding:7px 8px}.enemy-card b{font-size:15px}.enemy-card small{font-size:8px}#announcement{top:36%;font-size:28px;width:90%}#toast{bottom:180px;font-size:12px;width:max-content}.overlay{padding:15px}.panel{padding:23px;max-height:85vh}.intro-stats{gap:23px}.intro-stats b{font-size:29px}.intro-stats span{font-size:9px}.panel p{font-size:13px}.shop-grid{gap:8px}.power-card{padding:13px}.power-card h3{font-size:22px}.power-card p{font-size:11px;min-height:73px}.power-card button{font-size:12px;padding:9px}.panel h2{font-size:32px}.roster-grid{gap:6px}.roster-entry{padding:10px}.roster-entry b{font-size:17px}.top-actions #soundBtn{display:none}.brand .seal{display:none}.top-actions button{padding:7px 9px}.controls-help{font-size:11px;gap:8px}.secondary{margin-left:6px;padding:15px}.model-view{height:245px}}
@media(max-height:550px) and (orientation:landscape){header{padding:10px 16px}.hud{top:62px}.player-card>b{font-size:17px}.score-card strong{font-size:29px}.eyebrow{margin-bottom:3px}.health-track{margin-top:5px}#waveBadge{top:143px}#enemyCards{top:135px;max-height:31vh}#waveBadge b{font-size:26px}#mobileControls{height:110px}#joystick{width:94px;height:94px}#stick{left:23px;top:23px}.touch-actions{grid-template-columns:repeat(3,51px);gap:5px}.touch{height:47px}.touch.power{height:61px}.touch.small{height:35px}#announcement{top:40%}.panel{max-height:91vh}.start-panel{max-width:600px}.intro-stats{margin:15px 0;padding:10px 0}.panel h1{font-size:43px}.panel p{margin:8px 0}.controls-help{margin:12px 0}}
.stamina-row{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:9px;letter-spacing:.8px;color:#dbbf7f}.stamina-track{height:4px;flex:1;background:#ffffff15;overflow:hidden;border-radius:3px}#staminaFill{height:100%;background:linear-gradient(90deg,#be943e,#f5db91);transition:width .15s}#staminaText{font-variant-numeric:tabular-nums;letter-spacing:0}#targetHud{position:absolute;bottom:96px;left:28px;pointer-events:none}#targetHud span{font-size:9px;letter-spacing:2px;color:#a1abc3;display:block}#targetHud b{display:block;margin-top:5px;font:600 19px 'Barlow Condensed',Impact,sans-serif;color:var(--gold)}#enemyCards{pointer-events:auto}.enemy-card{cursor:pointer;transition:border-color .15s,background .15s}.enemy-card.locked{border-left-color:var(--gold);background:#302b1dce}.enemy-card:hover{background:#263149d9}.touch-actions{grid-template-columns:repeat(3,61px)}.target-touch{grid-column:2;grid-row:1}.touch[data-act=dodge]{grid-column:1;grid-row:2}.touch[data-act=slam]{grid-column:2;grid-row:2}.touch[data-act=strike]{grid-column:3;grid-row:2}.touch[data-act=power]{grid-column:3;grid-row:1;height:58px}.touch[data-act=block]{grid-column:1;grid-row:1;height:58px}.touch[data-act=target]{height:58px}.touch[data-act=dodge]{height:58px}#desktopControls{gap:14px}.ability-status{max-width:170px}
@media(pointer:coarse),(max-width:650px){#targetHud{left:20px;bottom:175px}#targetHud b{font-size:15px}#targetHud span{font-size:8px}.stamina-row{font-size:8px;gap:4px}.player-card{width:150px}.touch-actions{gap:7px}}
@media(max-height:550px) and (orientation:landscape){#targetHud{bottom:127px}.touch[data-act]{height:45px}.touch-actions{grid-template-columns:repeat(3,51px)}}
#enemyCards{pointer-events:none}.enemy-card{cursor:default}#wavePowers{position:absolute;left:28px;bottom:104px;display:flex;gap:6px;flex-wrap:wrap;max-width:390px;pointer-events:none}#wavePowers>span{width:100%;font-size:10px;letter-spacing:1.3px;color:#b5bcce;margin-bottom:2px}#wavePowers b{font-size:12px;padding:7px 10px;border:1px solid #ad9bef55;background:#28263bd9;border-radius:6px;color:#e2dcff}.touch-actions{grid-template-columns:repeat(3,65px);gap:8px}.touch-actions button[data-act]{grid-column:auto!important;grid-row:auto!important;height:65px;border-radius:50%;font-size:12px}.touch-actions button[data-act=strike]{background:#5d78cdde;border-color:#afc2ff66}.touch-actions button[data-act=power]{background:#dfbd75;color:#161928}#desktopControls{gap:26px}.brand div span{letter-spacing:3px}
@media(pointer:coarse),(max-width:650px){#wavePowers{left:20px;bottom:172px;max-width:300px}#wavePowers b{font-size:10px;padding:5px 8px}#wavePowers>span{font-size:8px}.touch-actions{bottom:13px}.power-card p{min-height:90px}}
@media(max-width:370px){#joystick{width:94px;height:94px}#stick{left:23px;top:23px}.touch-actions{grid-template-columns:repeat(3,60px);gap:5px}.touch-actions button[data-act]{height:60px}}
@media(max-height:550px) and (orientation:landscape){#wavePowers{bottom:124px;max-width:400px}.touch-actions button[data-act]{height:51px}.touch-actions{grid-template-columns:repeat(3,51px)}}

.reborn-title{font-size:clamp(30px,6vw,58px)!important;line-height:1.05!important}.brand>div{font-size:11px}.brand span{font-size:19px}.stamina-row{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:9px}.stamina-track{flex:1;height:5px;background:#273043;border-radius:6px;overflow:hidden}#staminaFill{height:100%;background:#94d5b4;transition:width .1s}.stamina-row>span:last-child{font-variant-numeric:tabular-nums}

/* Mode hub and clearer arcade controls. */
.at-home .hud,.at-home #waveBadge,.at-home #wavePowers,.at-home #enemyCards,.at-home #desktopControls,.at-home #mobileControls{display:none!important}.at-home header .top-actions #shopBtn,.at-home header .top-actions #pauseBtn{display:none}.at-home .overlay{background:linear-gradient(100deg,#080b16f5,#10172dde)}.start-panel{width:min(860px,94vw);max-width:860px;text-align:left;border:1px solid #f4cc7040;background:linear-gradient(145deg,#1b2032,#101420);box-shadow:0 24px 100px #0008}.home-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.home-edition{font-weight:800;color:var(--gold);letter-spacing:3px;font-size:14px}.mode-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin:24px 0}.mode-card{padding:24px;display:flex;flex-direction:column;gap:12px;text-align:left;background:#25304d;border:1px solid #7392ff80;border-radius:16px}.mode-card strong{font-size:30px;font-family:'Barlow Condensed',Impact,sans-serif}.mode-card>span{font-size:16px;line-height:1.5}.mode-card .mode-tag{font-size:12px;color:var(--gold);font-weight:800;letter-spacing:2px}.mode-card small{font-size:13px;color:#bac5dc}.mode-card>b{margin-top:14px;color:var(--gold);font-size:16px}.future-mode{background:#ffffff04;border:1px dashed #ffffff25;color:#b4b9ca;justify-content:center}.home-bottom{display:flex;gap:10px}.controls-help{font-size:14px}.tip{font-size:13px!important;line-height:1.6!important}.touch-actions{display:grid!important;grid-template-columns:repeat(2,64px)!important;gap:8px}.touch[data-act=dash]{grid-column:1;grid-row:1;background:#514428;border-color:#f4cc7070}.touch[data-act=power]{grid-column:2;grid-row:1}.touch[data-act=dodge]{grid-column:1;grid-row:2}.touch[data-act=strike]{grid-column:2;grid-row:2}.touch{min-height:58px}.eyebrow{font-size:12px}#desktopControls{gap:12px}.player-card{padding:12px 16px;background:#101725b8;border:1px solid #ffffff16;border-radius:12px}#wavePowers b{font-size:12px}#staminaFill{width:100%}@media(max-width:650px){.mode-grid{grid-template-columns:1fr}.future-mode{padding:16px}.future-mode strong{font-size:22px}.future-mode>span:not(.mode-tag){display:none}.start-panel{padding:24px!important}.mode-card{padding:18px}.top-actions{gap:4px}.top-actions button{padding:8px;font-size:12px}.brand .seal{display:none}.hud{left:12px;right:12px;gap:8px}.player-card{padding:10px;width:170px}.player-card>b{font-size:21px}.health-label{font-size:11px}.reborn-title{font-size:38px!important}.home-top .kicker{font-size:12px}.home-edition{font-size:12px}.home-bottom button{flex:1}.overlay{padding:10px}}

.flight-mode{background:linear-gradient(145deg,#284853,#142d3c);border-color:#99e1d566}.mode-grid{grid-template-columns:1fr 1fr}@media(max-width:650px){.mode-grid{grid-template-columns:1fr}.flight-mode{padding:18px}}

.arena-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.arena-option{text-align:left;padding:20px;display:flex;flex-direction:column;gap:10px}.arena-option b{font-size:20px}.arena-option span{font-size:14px;color:#b7c5d6;line-height:1.5}.arena-option small{color:var(--gold)}.arena-option.selected{border-color:var(--gold)}.parkour-mode{margin:0 0 18px;background:linear-gradient(120deg,#382d64,#233b62);border-color:#a99aff60;display:grid;grid-template-columns:1fr 1fr;width:100%}.parkour-mode strong,.parkour-mode>.mode-tag{grid-column:1/-1}.start-panel{max-height:90vh;overflow-y:auto}#arenaName{color:var(--gold);font-size:12px!important;display:block;margin-bottom:5px}@media(max-width:650px){.arena-grid{grid-template-columns:1fr}.parkour-mode{display:flex}.home-bottom{flex-wrap:wrap}.top-actions{flex-wrap:wrap;justify-content:flex-end;max-width:240px}.brand{max-width:140px}}

@media(max-width:650px){header{padding:12px;align-items:flex-start}.top-actions{max-width:240px;gap:4px}.top-actions button{padding:6px 7px;font-size:11px}#soundBtn{min-width:30px}.hud{top:126px}#waveBadge{top:252px}.brand{font-size:10px}#enemyCards{top:auto;bottom:210px;max-height:120px;overflow:auto}}

.clash-mode{background:linear-gradient(125deg,#273954,#544a73);border-color:#f5d57a66}.clash-mode .mode-tag{color:#ffe38c}.mode-grid{align-items:stretch}

#comboReadout{position:absolute;left:26px;top:250px;color:#ffe087;font-size:14px;font-weight:800;pointer-events:none}body.at-home #comboReadout{display:none}@media(max-width:700px){#comboReadout{left:12px;top:214px;font-size:12px}}
