@import url('../shared/ui.css');
:root{color-scheme:dark;--mint:#a6ffe0;--ink:#eaf5ee}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#173439;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,sans-serif}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b9ffdf;outline-offset:4px}[hidden]{display:none!important}#world{position:fixed;inset:0;width:100%;height:100%;outline:none;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(8,27,29,.8),rgba(8,27,29,.12) 65%,rgba(8,27,29,.35)),linear-gradient(0deg,rgba(8,27,29,.7),transparent 40%)}.glass{background:rgba(15,40,41,.74);border:1px solid rgba(219,255,237,.18);box-shadow:0 20px 70px #061a2026,inset 0 1px #ffffff12;backdrop-filter:blur(22px)}.topbar{position:fixed;z-index:20;left:28px;right:28px;top:20px;height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-radius:18px}.brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.13em}.brand>b{font-size:34px;letter-spacing:-.12em;color:var(--mint)}.brand>b span{font-size:18px}.brand small{display:block;font-size:8px;letter-spacing:.22em;color:#a5bdb2;margin-top:4px}.top-right{display:flex;gap:13px;align-items:center;font-size:12px}.live-dot{width:6px;height:6px;background:var(--mint);border-radius:50%;box-shadow:0 0 12px #baffd8}.icon-btn{border:1px solid #ffffff25;background:#ffffff09;color:#fff;border-radius:10px;width:37px;height:37px;font-size:20px}.exit{color:#c5dbce;text-decoration:none;font-size:11px;border-left:1px solid #ffffff25;padding-left:15px}.menu{position:relative;z-index:2;min-height:100dvh;display:grid;grid-template-columns:1fr 390px;align-items:center;gap:55px;padding:120px max(5vw,30px) 85px;max-width:1600px;margin:auto}.kicker,.tiny{font-size:10px;letter-spacing:.2em;font-weight:800;color:#c9dfd2}.kicker{display:flex;align-items:center;gap:10px}.kicker i{width:23px;height:2px;background:var(--mint)}h1{font-size:clamp(44px,6.5vw,99px);font-weight:900;letter-spacing:-.075em;line-height:.98;margin:25px 0 22px;text-shadow:0 3px 30px #10282844}h1 em{font-style:normal;color:var(--mint)}.lead{font-size:16px;line-height:1.7;color:#d4e2d8}.tags{display:flex;gap:8px;margin:24px 0}.tags span{border:1px solid #e7ffe230;padding:7px 10px;border-radius:5px;font-size:9px;letter-spacing:.1em}.loadout-preview{margin-top:36px;padding-left:14px;border-left:2px solid #a7ffdc}.loadout-preview>span{display:block;color:#b2c7bb;font-size:9px;letter-spacing:.12em}.loadout-preview strong{display:block;margin-top:9px;font-size:16px}.loadout-preview i{font-size:9px;font-style:normal;font-weight:500;color:#b9cfc2;margin-left:7px}.legend{font-size:11px;color:#d1d9c6;line-height:1.8;margin-top:32px}.legend span{color:#9eb7ab}.launch{padding:27px;border-radius:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.online{font-size:8px;letter-spacing:.06em;color:var(--mint)}h2{font-size:26px;line-height:1.15;letter-spacing:-.04em;margin:24px 0}.launch h2 span{display:block;font-size:11px;font-weight:400;color:#b0c9bb;letter-spacing:0;margin-top:8px}.modes{border:0;margin:0;padding:0}.modes legend,.options label{font-size:10px;color:#b6cabc}.modes label{display:flex;align-items:center;gap:10px;border:1px solid #c8f6df20;background:#071e221f;border-radius:12px;padding:13px 11px;margin-top:9px;cursor:pointer}.modes label:has(input:checked){background:#b8ffde14;border-color:#baffd67a}.modes input{accent-color:#a2ffcf;width:15px;height:15px}.modes b{display:block;font-size:13px}.modes small{display:block;font-size:9px;color:#b4cabb;margin-top:5px}.modes i{margin-left:auto;color:var(--mint);font-style:normal;font-size:20px}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.options select{display:block;width:100%;margin-top:7px;font-size:12px;border-radius:7px;background:#143839;color:#eaffed;border:1px solid #b4d9c530;padding:10px}.start{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:10px;padding:16px 18px;background:var(--mint);color:#0d332b;font-size:12px;font-weight:900;letter-spacing:.05em;text-decoration:none;transition:background .2s,transform .2s}.start:hover{background:#d1ffe9;transform:translateY(-1px)}.start:disabled{opacity:.5;cursor:wait}#ready{font-size:9px;color:#b9cdbf;line-height:1.5;min-height:14px}.best{display:flex;align-items:center;gap:9px;border-top:1px solid #ffffff17;padding-top:16px;margin-top:14px}.best span{font-size:8px;letter-spacing:.08em}.best b{margin-left:auto;font-size:21px;color:var(--mint)}.best small{font-size:7px;color:#a5bfae;max-width:58px}.controls-line{position:absolute;bottom:24px;left:5vw;right:5vw;display:flex;gap:17px;flex-wrap:wrap;color:#d7e2d5;font-size:9px}kbd{font:700 9px system-ui;border:1px solid #d8efdd40;border-radius:4px;background:#18383799;padding:4px 6px;margin-right:3px}.playing .vignette{background:radial-gradient(ellipse,transparent 65%,#112c3235)}.radar{position:fixed;top:108px;left:28px;width:160px;border-radius:15px;padding:8px}.radar canvas{width:142px;height:142px;display:block}.radar span{font-size:7px;display:block;text-align:center;letter-spacing:.13em;color:#c5e5d4}.match-score{position:fixed;top:109px;left:50%;transform:translateX(-50%);display:flex;gap:30px;padding:12px 25px;border-radius:15px;align-items:center}.match-score div{text-align:center}.match-score b{display:block;font-size:22px}.match-score span{font-size:7px;color:#b8d1c5}.match-score>strong{font-size:26px;font-variant-numeric:tabular-nums}.feed{position:fixed;top:112px;right:28px;display:flex;flex-direction:column;gap:6px;max-width:300px}.feed p{margin:0;background:#102d32d9;border:1px solid #c2ffd324;padding:8px 12px;border-radius:6px;font-size:10px;color:#dcf6e8}.feed strong{color:var(--mint)}#crosshair{position:fixed;left:50%;top:50%;width:4px;height:4px;transform:translate(-50%,-50%);pointer-events:none}#crosshair i{position:absolute;background:#d5fff1;box-shadow:0 0 2px #000}#crosshair i:nth-child(1){width:2px;height:7px;top:-13px;left:1px}#crosshair i:nth-child(2){width:2px;height:7px;top:9px;left:1px}#crosshair i:nth-child(3){height:2px;width:7px;left:-13px;top:1px}#crosshair i:nth-child(4){height:2px;width:7px;left:9px;top:1px}#crosshair b{position:absolute;width:3px;height:3px;background:white;border-radius:50%}#scope{position:fixed;left:50%;top:50%;width:min(85vw,85vh);height:min(85vw,85vh);border:2px solid #18262b;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #071316ed;pointer-events:none}#scope i,#scope b{position:absolute;background:#111e20}#scope i{width:1px;left:50%;height:100%}#scope b{height:1px;top:50%;width:100%}#hitmarker{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);font-size:42px;color:#b7ffdc;opacity:0;pointer-events:none}#damage{position:fixed;inset:0;box-shadow:inset 0 0 100px #ff532e;opacity:0;pointer-events:none}#notice{position:fixed;left:50%;top:65%;transform:translateX(-50%);text-align:center;color:#fff;font-size:14px;font-weight:800;text-shadow:0 2px 10px #000}.bottom-hud{position:fixed;bottom:30px;left:28px;right:28px;display:flex;justify-content:space-between;pointer-events:none}.health{display:flex;align-items:center;gap:13px;border-radius:13px;padding:14px 20px}.health>span{color:var(--mint);font-size:23px}.health b{font-size:28px}.health i{display:block;width:80px;height:4px;background:#ffffff20}.health em{display:block;height:100%;background:var(--mint);width:100%}.weapon{padding:12px 20px;border-radius:13px;min-width:180px;text-align:right}.weapon>span{font-size:9px;letter-spacing:.15em;color:#c8e3d4}.weapon div{font-size:14px;color:#9eb6a6}.weapon div>b{color:white;font-size:35px;padding-right:6px}.weapon small{font-size:8px;color:#b7d0bc}.weapon-slots{position:fixed;bottom:43px;left:50%;transform:translateX(-50%);display:flex;gap:5px}.weapon-slots button{border:1px solid #e2ffe524;border-radius:7px;background:#16353bd9;color:#d3e7d7;padding:9px;font-size:8px;min-height:38px}.weapon-slots button.active{border-color:#b6ffdc;background:#b1ffdc23}.weapon-slots b{margin-left:4px}#look-hint{position:fixed;left:50%;transform:translateX(-50%);bottom:100px;width:80%;text-align:center;font-size:10px;color:#e1eee2;text-shadow:0 1px 5px #000}.modal-wrap{position:fixed;z-index:30;inset:0;display:grid;place-items:center;background:#071e2780;backdrop-filter:blur(8px);padding:20px}.modal{padding:34px;border-radius:22px;max-width:450px;width:100%;text-align:center}.modal h2{font-size:38px;margin:18px 0}.modal>p{color:#bad2c2;font-size:13px;line-height:1.6}.modal .start{margin-top:20px}.secondary{width:100%;border:1px solid #b8e8d32e;border-radius:9px;background:#ffffff06;color:#daf6e6;padding:13px;margin-top:10px;font-size:12px}.modal>a:not(.start){display:block;margin-top:20px;font-size:11px;color:#bfe3ca}.result-number{font-size:75px;font-weight:900;letter-spacing:-.07em;color:var(--mint)}.result-stats{display:flex;justify-content:space-around;margin:24px 0;font-size:10px;color:#bdd5c4}.result-stats b{display:block;font-size:24px;color:white;margin-bottom:5px}#death-screen{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#142c3866;pointer-events:none}#death-screen strong{font-size:clamp(25px,4vw,54px);letter-spacing:-.04em}#death-screen span{font-size:15px;padding-top:10px}.fps{position:fixed;bottom:8px;left:10px;font-size:8px;color:#c0d7c0;pointer-events:none}#touch-controls{position:fixed;inset:0;pointer-events:none;z-index:12}#joystick{position:absolute;bottom:110px;left:30px;width:108px;height:108px;border:1px solid #ddfff04f;background:#153b4344;border-radius:50%;pointer-events:auto;touch-action:none}#joystick span{position:absolute;width:42px;height:42px;border-radius:50%;background:#d5ffea55;left:32px;top:32px;border:1px solid #e9ffee55}#joystick b{position:absolute;top:115px;left:34px;font-size:8px;color:#d3e8d9}#aim-zone{position:absolute;left:40%;right:0;top:90px;bottom:110px;pointer-events:auto;touch-action:none}.touch-actions{position:absolute;bottom:120px;right:18px;display:grid;grid-template-columns:48px 68px;gap:10px;align-items:center}.touch-actions button{pointer-events:auto;touch-action:none;width:48px;height:48px;border:1px solid #d8ffe070;border-radius:50%;background:#163c4499;color:#eaffed;font-weight:800;font-size:20px}.touch-actions #touch-fire{width:68px;height:68px;background:#bcffdecc;color:#143e32;font-size:9px}.touch-actions button.active{background:#c0ffdb;color:#133d2e}.low-effects .glass{backdrop-filter:none;background:#143337ed}.reduce-effects *{scroll-behavior:auto!important;transition:none!important}
@media(max-width:1050px){.menu{grid-template-columns:1fr 340px;gap:25px;padding-left:30px;padding-right:30px}h1{font-size:60px}.launch{padding:22px}.loadout-preview i{display:block;margin:7px 0 0}.controls-line{gap:10px}.topbar{left:15px;right:15px}}
@media(max-width:750px){body:not(.playing){overflow:auto}.menu{display:block;padding:115px 20px 35px;min-height:100dvh}.intro{max-width:500px;margin:auto}.intro h1{font-size:54px;margin:22px 0 15px}.lead{font-size:13px}.tags{margin:20px 0}.loadout-preview,.legend{display:none}.launch{max-width:500px;margin:28px auto 0}.controls-line{position:static;max-width:500px;margin:25px auto 0;justify-content:center}.topbar{left:10px;right:10px;top:10px;height:62px;padding:0 13px}.top-right{gap:8px}.exit{font-size:9px;padding-left:8px}.brand{font-size:10px;gap:8px}.brand>b{font-size:29px}#player-nick{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.radar{top:85px;left:10px;width:94px;padding:4px}.radar canvas{width:84px;height:84px}.radar span{font-size:5px}.match-score{top:85px;gap:16px;padding:7px 12px}.match-score>strong{font-size:21px}.match-score b{font-size:16px}.match-score span{font-size:6px}.feed{right:10px;top:180px;max-width:210px}.feed p{font-size:8px;padding:6px 8px}.bottom-hud{bottom:24px;left:10px;right:10px}.health{gap:7px;padding:9px 12px}.health i{display:none}.health b{font-size:24px}.weapon{padding:7px 11px;min-width:124px}.weapon div>b{font-size:27px}.weapon-slots{bottom:27px;gap:3px}.weapon-slots button{padding:6px;font-size:7px;min-width:31px}.weapon-slots b{display:none}#look-hint{bottom:78px;font-size:8px}.modal{padding:25px}.modal h2{font-size:30px}#notice{top:58%;font-size:11px;width:80%}.fps{bottom:5px}}
@media(max-height:550px) and (min-width:751px){body:not(.playing){overflow:auto}.menu{padding-top:100px;padding-bottom:65px}.intro h1{font-size:55px}.legend,.loadout-preview{display:none}.launch{padding:18px}.modes label{padding:8px}.launch h2{margin:13px 0}.options{margin:10px 0}.best{display:none}.controls-line{bottom:10px}.radar{width:106px}.radar canvas{width:88px;height:88px}}
/* Keep touch controls above the health and ammo panels. */
#joystick{bottom:164px}.touch-actions{bottom:140px}
body:not(.playing){overflow:auto}
.online-button{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#244c48;border:1px solid #a4ffda77;color:#e8fff1;border-radius:10px;padding:14px;margin-top:14px;font-size:10px;font-weight:800}.online-button span{font-size:8px;color:#b3ffdd}.room-wrap{z-index:60}.room-modal{position:relative;max-height:94dvh;overflow:auto;max-width:470px}.room-close{position:absolute;right:15px;top:12px;width:35px;height:35px;color:#d9f9e6;background:#ffffff08;border:1px solid #ffffff25;border-radius:50%;font-size:23px}.room-connect>p,.room-note,#room-help{font-size:11px!important;line-height:1.6;color:#bcdac8}.room-connect form{margin:24px 0;text-align:left}.room-connect label{font-size:11px}.room-connect form>div{display:flex;gap:8px;align-items:center;margin-top:8px}.room-connect input{width:50%;padding:13px;border-radius:8px;border:1px solid #b4e5ce55;background:#133c3d;color:#eaffef;font:700 23px monospace;letter-spacing:.15em}.room-connect form button{margin:0;width:50%;padding:16px}.room-note{border-top:1px solid #c1ebda22;padding-top:15px;margin-top:22px;font-size:9px!important}#room-copy{display:block;margin:10px auto 22px;border:0;background:none;color:#b7ffde}#room-copy strong{display:block;font:900 48px monospace;letter-spacing:.12em}#room-copy small{font-size:8px;letter-spacing:.12em}.room-player{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid #c2eadc24;margin-top:7px;border-radius:9px;text-align:left;font-size:12px}.room-player span{font-size:8px;color:#acffd8}.room-leave{border:0;background:none;color:#c5dccc;font-size:11px;text-decoration:underline;padding:15px}#room-status{min-height:18px;color:#ffd5a8;font-size:11px}#network-badge{position:fixed;z-index:25;left:50%;top:89px;transform:translateX(-50%);font:700 8px monospace;color:#baffdc;background:#0c303ad4;border:1px solid #c8ffde33;padding:4px 8px;border-radius:5px}#network-badge.offline{color:#ffbe9d}
@media(max-width:750px){.weapon-slots{top:190px;bottom:auto;z-index:14}.weapon-slots button{min-height:44px;min-width:44px;padding:8px}.weapon-slots b{display:inline;font-size:7px}}
@media(max-width:380px){.topbar .exit{display:none}.top-right{gap:5px}#player-nick{max-width:43px}.health{padding:9px}.weapon{min-width:112px}.intro h1{font-size:clamp(38px,13.7vw,51px)}}

#crosshair.crouching i:nth-child(1){top:-10px}#crosshair.crouching i:nth-child(2){top:6px}#crosshair.crouching i:nth-child(3){left:-10px}#crosshair.crouching i:nth-child(4){left:6px}
.touch-actions{grid-template-columns:44px 44px 64px 44px 44px;gap:5px;width:max-content;right:12px}.touch-actions button{width:44px;height:44px}.touch-actions #touch-fire{width:64px;height:64px}.touch-actions #touch-crouch.active{background:#c0ffdb;color:#133d2e}.weapon-slots{gap:4px;max-width:calc(100vw - 20px);white-space:nowrap}.weapon-slots button{min-width:42px}
@media(max-width:750px){.weapon-slots{top:190px;bottom:auto;z-index:14;max-width:calc(100vw - 16px);overflow-x:auto;justify-content:flex-start}.weapon-slots button{min-height:42px;min-width:42px;padding:7px}.weapon-slots b{display:inline;font-size:7px}}
@media(max-width:390px){.touch-actions{grid-template-columns:40px 40px 58px 40px 40px;gap:4px;right:8px}.touch-actions button{width:40px;height:40px}.touch-actions #touch-fire{width:58px;height:58px}.weapon-slots button{min-width:39px;padding:6px}}

#crosshair{--gap:6px}#crosshair i{background:#baffd6;transition:top .06s linear,left .06s linear}#crosshair i:nth-child(1),#crosshair.crouching i:nth-child(1){top:calc(-7px - var(--gap))}#crosshair i:nth-child(2),#crosshair.crouching i:nth-child(2){top:calc(4px + var(--gap))}#crosshair i:nth-child(3),#crosshair.crouching i:nth-child(3){left:calc(-7px - var(--gap))}#crosshair i:nth-child(4),#crosshair.crouching i:nth-child(4){left:calc(4px + var(--gap))}
