:root{color-scheme:dark;font-family:"Space Grotesk",Arial,sans-serif;color:#edf3ef;background:#101722;font-synthesis:none}
.mobile-only{display:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{background:radial-gradient(ellipse at 50% -20%,#263342 0%,#151d29 45%,#101722 100%);min-height:100dvh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}.shell{width:min(1180px,100%);margin:auto;padding:0 clamp(12px,3vw,30px) 24px}.topbar{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #45505a;font:500 12px "DM Mono",monospace;letter-spacing:.11em}.back{color:#b3c3c6;text-decoration:none;white-space:nowrap}.back:hover,.back:focus-visible{color:#fff}.brand{font-size:15px;color:#f4f5e9;font-weight:700;letter-spacing:.16em}.brand-mark{font-size:22px;color:#f2b25e;vertical-align:-2px}.brand-sub{font-size:10px;color:#82949d;font-weight:400}.top-actions{display:flex;gap:8px}.top-actions button{background:#1d2a36;color:#d9e4df;border:1px solid #50616b;border-radius:4px;min-height:34px;padding:0 10px;font:500 10px "DM Mono",monospace;letter-spacing:.05em}.top-actions button:hover,.top-actions button:focus-visible{border-color:#eab065;color:#fff}.hud{display:flex;align-items:stretch;gap:8px;padding:13px 0}.hud-stat{min-width:91px;display:flex;flex-direction:column;gap:3px}.hud-stat small{font:500 10px "DM Mono",monospace;letter-spacing:.16em;color:#8fa2a9}.hud-stat strong{font:600 20px "DM Mono",monospace;color:#f6edda;line-height:1.1}.hud-stat strong span{font-size:12px;color:#8fa2a9}.health-stat{min-width:155px}.health-stat strong{font-size:21px;color:#f0b261;letter-spacing:.08em}.ability-stat{margin-left:auto;text-align:right}.ability-stat strong{font-size:14px;color:#88d7c8;padding-top:4px}.arena-frame{position:relative;width:100%;aspect-ratio:8/5;max-height:calc(100dvh - 164px);min-height:280px;background:#1a2630;border:2px solid #708087;box-shadow:0 0 0 5px #0e1720,0 24px 70px #04080eb3;overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.overlay{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:#101a26dc;backdrop-filter:blur(4px);padding:20px;text-align:center}.overlay.visible{display:flex}.panel{width:min(580px,100%);max-height:100%;overflow:auto;background:#1b2a36;border:1px solid #66818c;box-shadow:8px 8px 0 #0c141c;padding:clamp(20px,4vw,36px);text-align:left}.panel .eyebrow{font:500 11px "DM Mono",monospace;letter-spacing:.2em;color:#f1b468;margin:0 0 10px}.panel h1,.panel h2{font-size:clamp(29px,5vw,47px);line-height:1;letter-spacing:-.055em;margin:0 0 14px;color:#f4f4e8}.panel h2{font-size:clamp(25px,4vw,36px)}.panel p{margin:0 0 18px;color:#c0d1d2;line-height:1.45;font-size:clamp(14px,2vw,17px)}.panel .hint{color:#a4babf;font-size:13px;margin-top:16px;margin-bottom:0}.primary{border:0;border-radius:3px;background:#f1af5a;color:#15222b;font-weight:700;min-height:46px;padding:0 22px;box-shadow:3px 3px 0 #a8662f}.primary:hover,.primary:focus-visible{background:#ffd189;transform:translate(-1px,-1px);box-shadow:4px 4px 0 #a8662f}.secondary{border:1px solid #65818c;border-radius:3px;background:#253845;color:#e6f1ed;min-height:42px;padding:0 16px}.secondary:hover,.secondary:focus-visible{border-color:#b2d7d5}.actions{display:flex;gap:12px;flex-wrap:wrap}.upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.upgrade{background:#263845;color:#e9f0e8;border:1px solid #5c7780;min-height:164px;padding:15px;text-align:left;display:flex;flex-direction:column;gap:11px;border-radius:3px}.upgrade:hover,.upgrade:focus-visible{background:#304c58;border-color:#f1b468;transform:translateY(-2px)}.upgrade small{font:500 10px "DM Mono",monospace;color:#f1b468;letter-spacing:.13em}.upgrade strong{font-size:18px;line-height:1.05}.upgrade span{font-size:13px;color:#bfd0d1;line-height:1.3}.report{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.report div{border-top:1px solid #61727b;padding-top:8px}.report small{display:block;color:#91aab2;font:10px "DM Mono",monospace;letter-spacing:.1em}.report strong{display:block;color:#f3efdb;font:600 20px "DM Mono",monospace;margin-top:4px}.announcement{position:absolute;top:20px;left:50%;transform:translate(-50%,-10px);opacity:0;pointer-events:none;background:#152430ee;border:1px solid #b9b38d;color:#f3eacb;padding:8px 16px;font:500 13px "DM Mono",monospace;letter-spacing:.12em;white-space:nowrap;transition:opacity .15s,transform .15s}.announcement.show{opacity:1;transform:translate(-50%,0)}.bottom-bar{display:flex;justify-content:space-between;gap:12px;color:#91a4ac;font:500 10px "DM Mono",monospace;letter-spacing:.06em;padding-top:14px}.bottom-bar b{color:#e9b46e;margin:0 7px}.mobile-help{display:none}.touch-controls{display:none}button:focus-visible,a:focus-visible{outline:2px solid #f5c478;outline-offset:3px}
@media(max-width:650px){.shell{padding:0 9px 20px}.topbar{height:51px}.brand{font-size:13px}.brand-sub,.back span{display:none}.hud{padding:10px 2px}.hud-stat{min-width:60px}.hud-stat small{font-size:9px}.hud-stat strong{font-size:15px}.health-stat{min-width:112px}.health-stat strong{font-size:16px}.kills-stat{display:none}.ability-stat strong{font-size:12px}.arena-frame{min-height:0;max-height:none}.overlay{padding:10px}.panel{padding:17px;box-shadow:4px 4px 0 #0c141c}.panel h1{font-size:28px}.panel h2{font-size:25px}.panel p{font-size:14px;margin-bottom:12px}.panel .hint{font-size:12px;margin-top:10px}.upgrade-grid{gap:6px}.upgrade{min-height:132px;padding:9px;gap:6px}.upgrade strong{font-size:13px}.upgrade span{font-size:11px}.upgrade small{font-size:8px}.report{margin:12px 0}.report strong{font-size:16px}.desktop-help{display:none}.mobile-help{display:inline}.bottom-bar{font-size:9px;padding-top:12px}.touch-controls{display:flex;justify-content:space-between;align-items:center;padding:16px 6px 2px;gap:12px;touch-action:none}.touch-right{display:flex;align-items:center;gap:13px}.touch-pad{position:relative;width:100px;height:100px;border-radius:50%;border:1px solid #5d737e;background:#1b2b38;display:grid;place-items:center;touch-action:none;user-select:none;color:#8ba7af;font:500 10px "DM Mono",monospace;letter-spacing:.12em}.touch-pad i{position:absolute;width:37px;height:37px;border-radius:50%;background:#829da4aa;border:1px solid #c6d5d4;left:calc(50% - 18.5px);top:calc(50% - 18.5px);pointer-events:none}.aim-pad{width:78px;height:78px}.aim-pad i{width:28px;height:28px;left:calc(50% - 14px);top:calc(50% - 14px);background:#eab568aa;border-color:#eec48f}.touch-buttons{display:flex;flex-direction:column;gap:8px}.touch-buttons button{width:66px;min-height:44px;background:#ecad5d;color:#1b2830;border:0;border-radius:5px;font:700 12px "DM Mono",monospace}.touch-buttons button:last-child{background:#587886;color:#f2f2e9}.arena-frame canvas{cursor:default}}
@media(max-width:380px){.touch-pad{width:82px;height:82px}.aim-pad{width:68px;height:68px}.touch-right{gap:7px}.touch-buttons button{width:58px;min-height:40px}.upgrade{min-height:122px}}
@media(max-width:650px){.overlay{position:fixed;z-index:10}.panel{max-height:calc(100dvh - 32px)}}
@media(max-width:650px){.desktop-only{display:none}.mobile-only{display:inline}}
.shell{width:min(1180px,100%,calc((100dvh - 164px)*1.6 + 60px))}.arena-frame{max-height:none}
.top-actions button:disabled{opacity:.45;cursor:default}
@media(pointer:coarse) and (min-width:651px) and (max-height:600px){.shell{width:100%;max-width:none;padding:0 10px}.topbar{height:44px}main{position:relative}.hud{padding:6px 0;justify-content:center}.hud-stat{min-width:80px}.ability-stat{margin-left:0}.arena-frame{width:min(100%,calc((100dvh - 104px)*1.6));max-height:none;margin:auto}.touch-controls{position:absolute;z-index:2;top:50px;left:0;right:0;height:calc(100dvh - 104px);display:flex;align-items:flex-end;justify-content:space-between;padding:0 4px;pointer-events:none}.touch-controls>*{pointer-events:auto}.touch-right{display:flex;align-items:center;gap:8px}.touch-pad{position:relative;width:100px;height:100px;border-radius:50%;border:1px solid #5d737e;background:#1b2b38;display:grid;place-items:center;touch-action:none;user-select:none;color:#8ba7af;font:500 10px "DM Mono",monospace;letter-spacing:.12em}.touch-pad i{position:absolute;width:37px;height:37px;border-radius:50%;background:#829da4aa;border:1px solid #c6d5d4;left:calc(50% - 18.5px);top:calc(50% - 18.5px);pointer-events:none}.aim-pad{width:76px;height:76px}.aim-pad i{width:28px;height:28px;left:calc(50% - 14px);top:calc(50% - 14px);background:#eab568aa;border-color:#eec48f}.touch-buttons{display:flex;flex-direction:column;gap:6px}.touch-buttons button{width:60px;min-height:42px;background:#ecad5d;color:#1b2830;border:0;border-radius:5px;font:700 12px "DM Mono",monospace}.touch-buttons button:last-child{background:#587886;color:#f2f2e9}.bottom-bar{display:none}.overlay{position:fixed;z-index:10}.panel{max-height:calc(100dvh - 24px)}.desktop-only{display:none}.mobile-only{display:inline}}
@media(pointer:coarse) and (min-width:651px) and (max-height:600px){.arena-frame{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
