:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f0f2df;background:#162b2c;font-synthesis:none}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}#app{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;height:100dvh;overflow:hidden}canvas{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;touch-action:none}header{position:absolute;left:40px;right:40px;top:max(28px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:750;letter-spacing:5px;text-decoration:none;color:inherit;pointer-events:auto}.mark{display:grid;place-items:center;width:32px;height:36px;border:1px solid #b1c6ad88;color:#dce4b7;font-family:Georgia,serif;font-size:24px;letter-spacing:0;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%)}.edition{font-size:10px;letter-spacing:2px;color:#c3d2c3;display:flex;gap:12px;align-items:center}.edition i{height:3px;width:3px;background:#b6c8b0;border-radius:50%}.heading{position:absolute;top:115px;left:40px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2.7px;color:#bacaac}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(32px,4vw,54px);font-weight:400;margin:12px 0;letter-spacing:-1.5px}.subtitle{font-size:12px;color:#b5c8ba;letter-spacing:.3px}footer{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.scene-info{display:flex;gap:12px;align-items:center}.live-dot{width:7px;height:7px;border-radius:50%;background:#b7d2a0;box-shadow:0 0 16px #b7d2a066}.scene-info strong{display:block;font-size:12px;font-weight:500;letter-spacing:.4px}.scene-info small{display:block;color:#9eb5aa;font-size:10px;margin-top:6px}.controls{display:flex;gap:22px;align-items:center}.hint{font-size:10px;color:#9eb5aa}button{background:#1c3435bb;color:#d8e4cd;border:1px solid #77908666;border-radius:7px;padding:11px 15px;font:inherit;font-size:11px;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}button:hover{background:#36504c}button:focus-visible{outline:2px solid #cbe6a7;outline-offset:3px}button span{font-size:18px;vertical-align:-1px;margin-right:6px}.world-label{position:absolute;pointer-events:none;font-size:8px;letter-spacing:1.8px;white-space:nowrap;padding:7px 10px;border-radius:4px;background:#142c2caa;transform:translate(-50%,-50%);border:1px solid #a4cab422;color:#d4dfc4}.world-label span{font-size:8px;margin:0 4px}.enemy{color:#e8b6a2}.ally{color:#c7e8c9}#error{position:absolute;top:25%;right:25%;bottom:25%;left:25%;background:#203a38;padding:30px;line-height:1.6;border:1px solid #7c9786;border-radius:12px}#error h2{font-size:20px}@media(max-width:700px){header{left:20px;right:20px;top:22px}.brand{font-size:12px;letter-spacing:3px}.edition{font-size:8px;letter-spacing:1px;gap:7px}.heading{left:20px;top:85px}.eyebrow{font-size:8px;letter-spacing:1.7px}.subtitle{font-size:11px}footer{left:20px;right:20px;bottom:20px}.hint{display:none}.scene-info strong{font-size:11px}.scene-info small{font-size:9px}button{padding:8px 10px;font-size:10px}.world-label{font-size:7px;letter-spacing:1px}#error{top:20%;right:5%;bottom:20%;left:5%}}@media(max-height:500px){.heading{top:62px}.heading h1{font-size:29px;margin:7px 0}.subtitle,.eyebrow{display:none}header{top:16px}footer{bottom:12px}}.health{position:absolute;transform:translate(-50%,-100%);width:88px;pointer-events:none;text-align:center}.health small{font-size:7px;letter-spacing:1px;color:#e0ebd5;text-shadow:0 1px 4px #152e2a}.health>div{height:5px;background:#20352ed9;border:1px solid #172b25;border-radius:3px;overflow:hidden;margin:4px 0}.health b{display:block;height:100%;background:#b4dfb2}.health.red b{background:#e5a190}.health em{font-style:normal;font-size:8px;color:#e9eee0;text-shadow:0 1px 4px #152e2a}@media(max-width:700px){.health{width:72px}.health small{font-size:6px}}.heading{top:85px}.heading h1{font-size:34px}.heading .eyebrow{font-size:8px}canvas{cursor:grab}canvas:active{cursor:grabbing}.health{width:82px}@media(max-width:700px){.heading{top:72px}.heading h1{font-size:28px}.scene-info small{font-size:8px}.scene-info strong{max-width:170px;font-size:10px}.controls{gap:6px}.heading .subtitle{font-size:10px}}.combat-readout{position:absolute;bottom:20px;left:50%;transform:translate(-50%);text-align:center;pointer-events:none;max-width:300px}.combat-readout strong{display:block;font-size:11px;color:#d5e6bf}.combat-readout small{display:block;font-size:9px;color:#9bb7ac;margin-top:5px}#joystick{position:absolute;left:max(30px,env(safe-area-inset-left));bottom:max(45px,env(safe-area-inset-bottom));width:126px;height:126px;border:1px solid #adc6a95c;border-radius:50%;background:radial-gradient(circle,#37554c80,#152d2a99);box-shadow:inset 0 0 0 12px #829e7920,0 4px 24px #0004;touch-action:none;-webkit-user-select:none;user-select:none;cursor:move}#joystick small{position:absolute;top:140px;width:100%;text-align:center;font-size:8px;letter-spacing:2px;color:#9eb5aa}#joy-knob{position:absolute;left:38px;top:38px;width:48px;height:48px;border:1px solid #c0d1a9;border-radius:50%;background:radial-gradient(circle at 35% 25%,#668572,#304c43);box-shadow:0 4px 12px #0005;pointer-events:none}.joy-cross{position:absolute;top:24px;right:24px;bottom:24px;left:24px;border:1px solid #bbd9b123;border-radius:50%}#battle-buttons{position:absolute;right:max(25px,env(safe-area-inset-right));bottom:max(30px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:18px;-webkit-user-select:none;user-select:none}.skill-row{display:flex;gap:12px;align-items:center}.skill{position:relative;width:58px;height:58px;border-radius:50%;padding:0;display:grid;place-items:center;color:#d8e6c0;border:1px solid #b5c7989c;background:radial-gradient(circle at 35% 25%,#42614f,#19302c);box-shadow:0 4px 12px #0005;touch-action:none}.skill .glyph{font-size:30px;margin:0;line-height:1}.skill small{position:absolute;top:63px;font-size:8px;letter-spacing:1px;white-space:nowrap;color:#adc5b3}.skill b{position:absolute;font-size:18px;text-shadow:0 2px 4px #000}.skill kbd{position:absolute;right:-2px;top:-5px;font-size:8px;color:#9cb7a9;background:#18302c;padding:2px 4px;border-radius:3px}.skill.cooling .glyph{opacity:.2}.skill.cooling{border-color:#52665b}.skill.hidden-active{box-shadow:0 0 20px #91b8ff66;border-color:#b3c7ff}.skill.passive{opacity:.7;border-style:dashed;background:#243b32}.skill.passive b{font-size:10px;bottom:4px;color:#d9e9b9}.skill.passive .glyph{font-size:24px;margin-bottom:10px}#attack{width:88px;height:88px;border-radius:50%;border:2px solid #d1bf88;background:radial-gradient(circle at 40% 30%,#736c45,#344336);box-shadow:0 0 0 5px #bfa16a18,0 6px 20px #0005;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;touch-action:none}#attack span{margin:0;font-size:35px;line-height:1}#attack strong{font-size:9px;letter-spacing:2px}#attack kbd{font-size:7px;color:#c2c7a3}#attack.active{box-shadow:0 0 0 5px #bfa16a30,0 0 24px #e5c37455}#cancel-skill{position:absolute;right:90px;bottom:260px;padding:18px;border:1px solid #dc9b8b;border-radius:40px;background:#60372dc9;color:#f0c0b0;font-size:11px;pointer-events:none}@media(max-width:700px){#joystick{left:18px;bottom:40px;width:100px;height:100px}#joy-knob{left:29px;top:29px;width:40px;height:40px}#joystick small{top:111px}#battle-buttons{right:18px;bottom:28px;gap:24px}.skill-row{gap:8px}.skill{width:44px;height:44px}.skill .glyph{font-size:25px}.skill small{top:48px;font-size:7px}.skill kbd,#attack kbd{display:none}.skill b{font-size:14px}#attack{width:76px;height:76px}.combat-readout{bottom:165px;width:100%;max-width:340px}.combat-readout small{font-size:8px}#cancel-skill{right:35px;bottom:245px}.heading .subtitle{display:none}}@media(max-height:500px){#joystick{bottom:22px;width:100px;height:100px}#joy-knob{left:29px;top:29px;width:40px;height:40px}#joystick small{display:none}#battle-buttons{bottom:16px;gap:20px}.skill{width:44px;height:44px}.skill small{top:48px}.combat-readout{bottom:16px;max-width:230px}.combat-readout small{display:none}}@media(max-width:700px){.combat-readout{bottom:195px}}.match-settings{pointer-events:auto;text-align:right}.match-settings label{font-size:9px;letter-spacing:2px;margin-right:8px;color:#aabfab}.match-settings select{font:inherit;font-size:11px;padding:6px 12px;border:1px solid #769380;background:#19312d;color:#e5edda;border-radius:5px}.match-settings small{display:block;font-size:10px;margin-top:8px;color:#b6c8a9}.building-health{width:60px}.building-health small{font-size:6px}#match-result{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:#0b201de8;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}#match-result[hidden]{display:none}#match-result h2{font-family:Georgia,serif;font-size:32px;font-weight:400}#match-result p{color:#98b2a7}#match-result button{font-size:15px;padding:15px 25px}.heading .subtitle{max-width:260px}@media(max-width:700px){.match-settings small{font-size:8px}.match-settings select{padding:5px 8px;font-size:10px}}html,body,#app{touch-action:none;overscroll-behavior:none}#app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button,select{touch-action:manipulation}#joystick-zone{position:absolute;left:0;bottom:0;width:25%;max-width:200px;height:25%;z-index:2;touch-action:none}#joystick{z-index:2;pointer-events:none;transition:opacity .12s}#joystick.floating small{display:none}#battle-buttons{z-index:3}@media(hover:hover)and (pointer:fine){#joystick,#joystick-zone{display:none}}.health b{background:#f58b67}.health.red b{background:#80d6fa}.ally{color:#ffac88}.enemy{color:#99dfff}canvas.aiming,canvas.aiming:active{cursor:crosshair}.skill.aiming{border-color:#a8e8ff;box-shadow:0 0 0 3px #84d8ff55,0 0 20px #84d8ff66}#cancel-skill{pointer-events:auto;cursor:pointer;z-index:4}#battle-buttons{right:max(12px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));flex-direction:row;align-items:flex-end;gap:30px;pointer-events:none}.skill-row{flex-direction:column-reverse;gap:14px;pointer-events:auto}#attack{order:-1;pointer-events:auto}.skill small{top:50%;right:calc(100% + 7px);transform:translateY(-50%);font-size:7px;letter-spacing:.5px}#cancel-skill{right:max(110px,env(safe-area-inset-right));bottom:130px}@media(max-height:500px){#battle-buttons{bottom:max(12px,env(safe-area-inset-bottom))}.skill-row{gap:10px}}header{justify-content:flex-end}#gold{color:#f5cd68;font-size:15px;font-weight:700;margin-top:6px;font-variant-numeric:tabular-nums}.gold-popup{position:absolute;pointer-events:none;transform:translate(-50%,-100%);color:#ffe082;font-size:16px;font-weight:800;text-shadow:0 2px 4px #352807;z-index:1}#shop-toggle{margin-top:7px;padding:7px 10px;color:#f5d280}#shop-toggle #gold{font-size:14px;margin:0}#inventory{min-height:16px;color:#f5d280;font-size:17px;letter-spacing:5px;margin-top:5px}#shop{position:absolute;right:max(16px,env(safe-area-inset-right));top:100px;width:min(340px,calc(100% - 32px));max-height:calc(100% - 116px);overflow:auto;z-index:15;background:#152b2bf5;border:1px solid #9caa7e77;border-radius:14px;padding:16px;box-shadow:0 12px 45px #0007;touch-action:pan-y}#shop[hidden]{display:none}.shop-heading{display:flex;justify-content:space-between;align-items:center}.shop-heading strong{font-size:18px}#shop-close{font-size:23px;padding:0 9px}#shop p{font-size:11px;line-height:1.5;color:#bfd0ba}.shop-item{display:flex;align-items:center;gap:12px;width:100%;margin:8px 0;text-align:left;padding:12px}.shop-item>span{font-size:25px;color:#f4d387;width:26px}.shop-item>div{flex:1}.shop-item small{display:block;font-size:10px;margin-top:5px;color:#b6ccbb}.shop-item b{color:#f4d387;font-size:11px;white-space:nowrap}.shop-item:disabled{opacity:.48;cursor:default}#shop-message{color:#f4d387!important}.gold-popup{animation:coin-pop .18s ease-out}@keyframes coin-pop{0%{font-size:11px}to{font-size:16px}}@media(max-height:500px){#shop{top:70px;max-height:calc(100% - 82px);padding:10px}.shop-item{padding:8px;margin:5px 0}}#battle-buttons{width:236px;height:236px;right:max(6px,env(safe-area-inset-right));bottom:env(safe-area-inset-bottom,0px);display:block}.skill-row{display:contents}.skill-slot{position:absolute;width:64px;height:64px;pointer-events:auto}.skill-slot[data-slot="0"]{right:160px;bottom:16px}.skill-slot[data-slot="1"]{right:140.7px;bottom:88px}.skill-slot[data-slot="2"]{right:88px;bottom:140.7px}.skill-slot[data-slot="3"]{right:16px;bottom:160px}.skill{width:64px;height:64px}.skill .glyph{width:36px;height:36px;margin:0!important}.glyph svg,#attack svg,#recall svg{width:100%;height:100%}.skill small,.skill kbd{display:none}.skill.passive{opacity:.5}.skill.unlearned .glyph{opacity:.18}.skill.unlearned{background:#152927;border-color:#56685b}.skill.cooling .glyph{opacity:.16}.skill.cooling{background:#122321;border-color:#40544c}.skill .cooldown{font-size:22px;color:#eff4e3}.ranks{position:absolute;bottom:2px;font-size:15px;letter-spacing:3px;color:#d5be73}.learn-skill{position:absolute;left:-5px;top:-5px;width:26px;height:26px;border-radius:50%;padding:0;background:#c7a857;color:#182d29;border:2px solid #ffe3a0;font-size:21px;line-height:1;box-shadow:0 3px 10px #0008;touch-action:manipulation}.learn-skill[hidden]{display:none}#attack{position:absolute;right:0;bottom:0;width:96px;height:96px;padding:21px}#recall{position:absolute;left:calc(min(25vw,200px) + 12px);bottom:max(2px,env(safe-area-inset-bottom));width:40px;height:40px;padding:8px;border-radius:50%;border:1px solid #94b9c5;background:#19363ae0;color:#b3dfea;touch-action:manipulation}#recall-time{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:19px;color:#fff;text-shadow:0 1px 5px black}.channeling svg{opacity:.2}.channeling{box-shadow:0 0 18px #8bdeff99}.combat-readout{bottom:82px;pointer-events:none}@media(max-width:700px),(max-height:500px){#battle-buttons{width:212px;height:212px;bottom:env(safe-area-inset-bottom,0px);right:max(4px,env(safe-area-inset-right))}.skill-slot,.skill{width:56px;height:56px}.skill-slot[data-slot="0"]{right:144px;bottom:16px}.skill-slot[data-slot="1"]{right:126.85px;bottom:80px}.skill-slot[data-slot="2"]{right:80px;bottom:126.85px}.skill-slot[data-slot="3"]{right:16px;bottom:144px}#attack{width:88px;height:88px;padding:19px}.skill .glyph{width:32px;height:32px}.learn-skill{width:24px;height:24px;left:-4px;top:-4px;font-size:19px}.combat-readout{bottom:76px;max-width:220px}}#attack svg{transform:rotate(45deg)}.team-stats{position:absolute;top:max(8px,env(safe-area-inset-top));width:180px;pointer-events:none;z-index:3}.team-stats.allies{left:max(10px,env(safe-area-inset-left));--team-color:#ef9875}.team-stats.enemies{right:max(10px,env(safe-area-inset-right));--team-color:#88d6ed}header{left:50%;right:auto;top:max(8px,env(safe-area-inset-top));transform:translate(-50%);justify-content:center}.match-settings{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:4px 6px;text-align:center}.match-settings label{margin:0}.match-settings select{padding:4px 7px}.match-settings #shop-toggle{margin:0;padding:5px 7px}.match-settings #progression{grid-column:1/-1;margin:0}.match-settings #inventory{grid-column:1/-1;margin:0;min-height:0;font-size:13px}.match-settings label{grid-column:1;grid-row:1}.match-settings select{grid-column:2;grid-row:1}.match-settings #shop-toggle{grid-column:3;grid-row:1}.match-settings #progression{grid-row:2}#damage-feedback{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;opacity:0;background:radial-gradient(ellipse at center,transparent 44%,#c71d1520 66%,#c21a1678 100%);box-shadow:inset 0 0 55px #b4141540}.damage-cracks{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;color:#ffc2b1;opacity:0;filter:drop-shadow(0 0 3px #f63828)}#damage-feedback.critical{background:radial-gradient(ellipse at center,transparent 38%,#bf121232 65%,#be1010a3 100%);box-shadow:inset 0 0 65px #b8090966}#damage-feedback.critical .damage-cracks{opacity:.8}.creep-health{width:58px}.creep-health>div{height:6px;margin:0 0 2px;border-color:#071b1e;box-shadow:0 1px 3px #0008}.creep-health em{font-size:9px;font-weight:600;color:#f4f2df;text-shadow:0 1px 3px #000,0 0 3px #000}.team-player{pointer-events:auto;cursor:pointer;touch-action:manipulation}.team-player:focus-visible{outline:2px solid var(--team-color);outline-offset:2px}.team-player:hover{border-color:var(--team-color)}.match-settings{grid-template-columns:32px auto}.match-settings #settings-toggle{grid-column:1;grid-row:1;width:32px;height:32px;padding:5px;display:grid;place-items:center}.match-settings #settings-toggle svg{width:23px;height:23px}.match-settings #shop-toggle{grid-column:2;grid-row:1}#settings-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25;background:#061c2145;display:flex;align-items:flex-start;justify-content:center;padding:70px 12px 12px;touch-action:manipulation}#settings-backdrop[hidden]{display:none}#settings-popup{width:290px;max-height:calc(100dvh - 82px);overflow:auto;border:1px solid #a8bda17a;border-radius:13px;padding:16px;background:#152d2df5;box-shadow:0 12px 40px #0008;touch-action:pan-y}#settings-title{font-size:16px}#settings-close{font-size:23px;padding:0 8px}.difficulty-setting{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 14px;font-size:12px}.difficulty-setting select{font:inherit;font-size:12px;color:#e5edda;background:#203c39;border:1px solid #77908688;border-radius:6px;padding:7px}#camera-mode,#joystick-mode{display:block;width:100%;text-align:left;margin-top:9px;padding:12px;font-size:13px}#camera-mode[aria-pressed=true],#joystick-mode[aria-pressed=true]{border-color:#b5c79899;color:#e1eecb}#app.joystick-disabled #joystick,#app.joystick-disabled #joystick-zone{display:none}#app.joystick-enabled #joystick,#app.joystick-enabled #joystick-zone{display:block}#start-hero-match{width:100%;padding:10px;color:#f0d28d;border-color:#b69b65;margin-bottom:5px}#recall kbd{display:none}@media(hover:hover)and (pointer:fine){.skill kbd{display:block;position:absolute;top:0;right:0;font-size:11px;padding:2px 4px;border:1px solid #91a68b66;border-radius:4px;background:#102929;color:#edf0d8;pointer-events:none}.skill.passive kbd{display:none}#attack kbd{display:block;position:absolute;bottom:6px;left:50%;transform:translate(-50%);font-size:9px;color:#d6dfba;pointer-events:none}#recall kbd{display:block;position:absolute;bottom:1px;right:2px;font-size:8px;color:#cfecf3;pointer-events:none}}.team-stats{display:flex;gap:6px;width:auto;max-width:none}.team-stats.enemies{flex-direction:row-reverse}.team-player{position:relative;flex:none;width:44px;height:44px;padding:0;margin:0;border:1px solid #8ca89b70;border-radius:5px;background:#142c2c;box-shadow:0 2px 8px #0005;overflow:hidden}.team-player.self{border-color:#f5e2ad}.team-avatar,.team-avatar svg{display:block;width:100%;height:100%}.team-hp-track{position:absolute;bottom:0;left:0;right:0;height:4px;margin:0;background:#061515;overflow:hidden}.team-hp-track i{display:block;height:100%;background:var(--team-color);transition:width .12s linear}.team-respawn{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff3d7;font-size:20px;font-weight:700;text-shadow:0 2px 4px #000;pointer-events:none}.team-player.dead .team-avatar{filter:grayscale(1);opacity:.3}@media(max-width:700px),(max-height:500px){.team-player{width:38px;height:38px}.team-stats{gap:4px}}@media(max-width:480px){header{top:max(54px,calc(env(safe-area-inset-top) + 48px))}}@media(orientation:portrait)and (max-width:700px){#joystick-zone{width:calc(100% - 212px - max(4px,env(safe-area-inset-right)));max-width:none;height:max(25%,calc(212px + env(safe-area-inset-bottom,0px)))}#recall{z-index:3}}#battle-buttons{width:212px;height:212px;right:max(2px,env(safe-area-inset-right))}#battle-buttons .skill-slot[data-slot="0"]{right:140px;bottom:16px}#battle-buttons .skill-slot[data-slot="1"]{right:123.4px;bottom:78px}#battle-buttons .skill-slot[data-slot="2"]{right:78px;bottom:123.4px}#battle-buttons .skill-slot[data-slot="3"]{right:16px;bottom:140px}#battle-buttons .skill:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:0}@media(max-width:700px),(max-height:500px){#battle-buttons{width:192px;height:192px}#battle-buttons .skill-slot[data-slot="0"]{right:124.2px;bottom:16px}#battle-buttons .skill-slot[data-slot="1"]{right:109.7px;bottom:70.1px}#battle-buttons .skill-slot[data-slot="2"]{right:70.1px;bottom:109.7px}#battle-buttons .skill-slot[data-slot="3"]{right:16px;bottom:124.2px}}@media(orientation:portrait)and (max-width:700px){#joystick-zone{width:calc(100% - 192px - max(2px,env(safe-area-inset-right)));height:max(25%,calc(192px + env(safe-area-inset-bottom,0px)))}}@media(orientation:landscape)and (pointer:coarse){#battle-buttons .skill-slot{transform:translateY(8px)}}.health b{background:#55d5ff}.health.red b{background:#ff263e}.team-stats.allies{--team-color:#55d5ff}.team-stats.enemies{--team-color:#ff263e}.ally{color:#55d5ff}.enemy{color:#ff263e}#death-notice{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:9;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none;text-align:center;white-space:nowrap;text-shadow:0 2px 12px #000,0 0 30px #000b}#death-notice[hidden]{display:none}#death-notice strong{font-size:clamp(26px,5vw,42px);font-weight:650;color:#ff6a71}#death-notice .death-countdown{font-size:clamp(64px,12vw,96px);font-weight:750;line-height:1;color:#fff4df}#death-notice.counting strong{font-size:20px;opacity:.8}.health>div{position:relative;height:7px}.health>div:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to right,transparent calc(100% - 1px),#071b22cc 0);background-size:var(--hp-step,100%) 100%;background-repeat:repeat-x}.hero-health{--hp-color:#55d5ff;padding-left:17px}.hero-health.red{--hp-color:#ff263e}.hero-health>div{margin:4px 0;border-radius:0 3px 3px 0;border-color:#13272b}.hero-health .hero-level{position:absolute;left:0;top:8px;width:19px;height:19px;display:grid;place-items:center;border:1px solid var(--hp-color);border-radius:50%;background:#13272bf5;color:#f5f6e9;font-size:10px;font-weight:700;line-height:1;z-index:1}.hero-health small{display:block;line-height:10px;white-space:nowrap}.hero-health em:empty{display:none}.hero-health .hero-level{border:0;background:radial-gradient(circle,#13272b 0 7px,transparent 7.5px),conic-gradient(from 0deg,#f3d45c 0deg var(--xp-angle,0deg),#43534c var(--xp-angle,0deg) 360deg)}.health small,.health em,.hero-health small{display:none}.hero-health .hero-level{top:-2px}#hero-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:18px;background:#0d2228e8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}#hero-select[hidden],#possession-menu[hidden]{display:none}.hero-select-panel{text-align:center;width:min(540px,100%)}.hero-select-panel h2{font-size:28px;margin:0 0 10px}.hero-select-panel>p{font-size:12px;color:#a8c2bd;margin:0 0 24px}.hero-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero-choice{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 8px;background:#203c3e;border:1px solid #809b8e99;border-radius:14px}.hero-choice:hover{background:#36564f;border-color:#edcf80}.hero-choice-portrait{display:block;width:min(100px,100%);aspect-ratio:1;border-radius:10px;overflow:hidden;margin:0}.hero-choice-portrait svg{display:block;width:100%;height:100%}.hero-choice strong{font-size:16px}.hero-choice small{font-size:11px;color:#afc9c0}#possession-menu{position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:8;display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 12px;border:1px solid #6fbdd177;border-radius:12px;background:#142d32ed;box-shadow:0 4px 20px #0006}.possession-name{font-size:11px;color:#c4e9e8}#possess-hero{width:52px;height:48px;padding:7px;color:#74ddfa;border:1px solid #74ddfa99;border-radius:9px}#possess-hero svg{width:100%;height:100%}@media(max-width:480px){.hero-choices{gap:8px}.hero-choice{padding:12px 6px}.hero-choice strong{font-size:14px}.hero-choice small{font-size:10px}#possession-menu{bottom:max(218px,calc(env(safe-area-inset-bottom) + 208px))}}header{left:max(10px,env(safe-area-inset-left));right:auto;top:calc(max(8px,env(safe-area-inset-top)) + 51px);transform:none;justify-content:flex-start}.match-settings{display:flex;gap:6px;align-items:center}.match-settings #progression{display:none}.match-settings #settings-toggle,.match-settings #shop-toggle{width:34px;height:34px;margin:0;padding:5px;display:grid;place-items:center;border-radius:7px;background:#183032e8}.match-settings #shop-toggle svg{width:25px;height:25px;color:#e5c878}#shop{left:max(10px,env(safe-area-inset-left));right:auto;top:calc(max(8px,env(safe-area-inset-top)) + 94px);width:min(320px,calc(100% - 20px));max-height:calc(100dvh - 110px - env(safe-area-inset-top));padding:14px}#shop .shop-heading{gap:10px}#shop #gold{margin:0 0 0 auto;white-space:nowrap}#shop h3{font-size:12px;margin:14px 0 8px;color:#bdd3c8}#shop-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.shop-item{position:relative;aspect-ratio:1;display:grid;place-items:center;padding:8px 8px 17px;margin:0;border-radius:5px;background:#203a3b}.shop-item>svg{width:35px;height:35px;color:#e4ca8f}.shop-item b{position:absolute;bottom:3px;left:0;right:0;font-size:10px;text-align:center}.shop-item.selected{border-color:#f1d48b;background:#354842;box-shadow:0 0 0 1px #f1d48b55}.shop-item.owned b{color:#81e0af}#shop-detail{margin-top:12px;padding:10px;border:1px solid #91a89633;border-radius:7px;background:#0c252966}#shop-detail strong{font-size:13px}#shop-detail p{margin:6px 0}#shop-buy{width:100%;padding:8px;color:#edd089}#shop-buy:disabled{opacity:.45;cursor:default}#inventory{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0;min-height:0;letter-spacing:normal}.inventory-slot{display:grid;place-items:center;aspect-ratio:1;border:1px solid #91a89655;border-radius:4px;background:#0d2428;padding:4px;color:#e4ca8f}.inventory-slot svg{width:100%;height:100%}#shop-message:empty{display:none}#settings-backdrop{justify-content:flex-start;padding-left:max(10px,env(safe-area-inset-left));padding-top:100px}@media(max-width:700px),(max-height:500px){header{top:calc(max(8px,env(safe-area-inset-top)) + 45px)}#shop{top:calc(max(8px,env(safe-area-inset-top)) + 85px);max-height:calc(100dvh - 100px - env(safe-area-inset-top))}#settings-backdrop{padding-top:94px}}#camera-lock{position:absolute;left:max(14px,env(safe-area-inset-left));bottom:calc(25% + 12px);z-index:4;width:38px;height:38px;padding:7px;border-radius:9px;background:#152e32e8;color:#a8c6c7;border:1px solid #6b858877;touch-action:manipulation}#camera-lock svg{width:100%;height:100%}#camera-lock[aria-pressed=true]{color:#75ddfa;border-color:#75ddfa99;background:#21434a}@media(orientation:portrait)and (max-width:700px){#camera-lock{bottom:calc(max(25%,192px + env(safe-area-inset-bottom,0px)) + 12px)}}.creep-health{width:44px}.creep-health>div{height:3px;margin:0;border:0;border-radius:2px;box-shadow:0 1px 2px #0006}.creep-health>div:after{opacity:.6}#settings-popup{max-height:calc(100dvh - 112px)}#skill-description{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:calc(218px + env(safe-area-inset-bottom,0px));z-index:18;width:min(310px,calc(100% - 24px));max-height:calc(100dvh - 240px - env(safe-area-inset-bottom,0px));overflow:auto;padding:14px;border:1px solid #9fcbb38c;border-radius:12px;background:#102b30f5;box-shadow:0 8px 30px #0007;pointer-events:none}#skill-description[hidden]{display:none}#skill-description strong{display:block;font-size:16px;color:#f1d791}#skill-description small{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:#9cc7c9}#skill-description p{margin:9px 0 0;font-size:12px;line-height:1.5;color:#e2e8d9}#skill-description .skill-description-cooldown{color:#f2b888}#battle-buttons .skill{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@media(orientation:landscape)and (max-height:500px){#skill-description{right:205px;bottom:12px;width:min(300px,calc(100% - 220px));max-height:calc(100dvh - 24px);padding:12px}}#hud-gold{color:#f5cd68;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 1px 3px #0009}.heal-plus{position:absolute;width:25px;height:25px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 0 5px #32ff79);z-index:2}.heal-plus[hidden]{display:none}.heal-plus svg{width:100%;height:100%;fill:#70ff9a;stroke:#e1ffe8;stroke-width:1}@media(hover:hover)and (pointer:fine){.skill kbd{top:9px;right:2px;z-index:3;font-weight:700;background:#102929f5}#attack kbd{bottom:3px}}#tower-warning{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:11;opacity:0;background:radial-gradient(ellipse at center,transparent 48%,#ed181522 70%,#ed181599 100%);box-shadow:inset 0 0 45px #e51c244d}.play-mode{display:flex;justify-content:center;gap:20px;margin:15px 0 22px;color:#d6e8d8;font-size:14px}.play-mode label{display:flex;align-items:center;gap:6px;cursor:pointer}.play-mode input{accent-color:#d8c27c}#network-status{position:absolute;top:max(8px,env(safe-area-inset-top));left:50%;transform:translate(-50%);max-width:40%;font-size:10px;color:#d7e8db;background:#142b2ddd;padding:5px 8px;border-radius:5px;pointer-events:none;z-index:45;text-align:center}#network-status[hidden]{display:none}.team-player.human{overflow:visible;border-color:var(--team-color);box-shadow:0 0 0 1px #fff5,0 0 12px color-mix(in srgb,var(--team-color) 45%,transparent)}.team-player.human .team-avatar{border-radius:4px;overflow:hidden}.team-player.human:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border:1px solid var(--team-color);border-radius:7px;box-shadow:0 0 9px var(--team-color),inset 0 0 6px color-mix(in srgb,var(--team-color) 35%,transparent);pointer-events:none;animation:human-presence 3s ease-in-out infinite;z-index:2}.team-player.human:after{content:"";position:absolute;right:-3px;top:-3px;width:7px;height:7px;border:2px solid #122b30;border-radius:50%;background:#efffff;box-shadow:0 0 0 1px var(--team-color),0 0 8px var(--team-color);pointer-events:none;z-index:3}.team-player.human.self:after{background:#ffe5a2}.team-player.human .team-hp-track{border-radius:0 0 4px 4px}@keyframes human-presence{0%,to{opacity:.35}50%{opacity:.85}}@media(prefers-reduced-motion:reduce){.team-player.human:before{animation:none;opacity:.65}}.team-player{overflow:visible}.team-player .team-avatar{border-radius:4px;overflow:hidden}.hero-score{position:absolute;top:calc(100% + 4px);left:0;right:0;text-align:center;font-size:9px;line-height:11px;font-weight:600;letter-spacing:.7px;font-variant-numeric:tabular-nums;color:#dbe6df;text-shadow:0 1px 3px #000;pointer-events:none}#match-score{position:absolute;top:calc(env(safe-area-inset-top) + 10px);left:50%;transform:translate(-50%);display:flex;align-items:center;gap:7px;z-index:4;font-size:13px;line-height:16px;font-variant-numeric:tabular-nums;text-shadow:0 1px 4px #000;pointer-events:none}#match-score .allied-score{color:#7be3ff}#match-score .enemy-score{color:#ff687a}#match-score span{font-size:10px;opacity:.55}header{left:env(safe-area-inset-left,0px);top:calc(max(8px,env(safe-area-inset-top)) + 76px);transform:none}.match-settings{flex-direction:column;gap:5px;align-items:center}.match-settings #settings-toggle{order:0}.match-settings #shop-toggle{order:1}.match-settings #settings-toggle,.match-settings #shop-toggle{border-radius:0 7px 7px 0}#hud-gold{order:2;font-size:11px;line-height:16px;min-width:34px;text-align:center}#network-status{top:calc(env(safe-area-inset-top) + 31px)}
