:root{color-scheme:dark;--edge:#314250;--text:#f1f7f8;--muted:#91a8b4;--teal:#89f3df;--warn:#eaa76e;--danger:#ff7175;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#070d14;color:var(--text)}button,a{font:inherit}button{cursor:pointer;touch-action:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.shell{display:flex;flex-direction:column;min-height:100dvh}.topbar{height:70px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px;background:#09131c;border-bottom:1px solid #283843}.back{display:flex;align-items:center;gap:12px;font-size:11px;color:#acc2ca;font-weight:800;letter-spacing:.12em;white-space:nowrap}.back:hover{color:#fff}.identity{display:flex;align-items:center;gap:12px}.symbol{display:grid;place-items:center;width:38px;height:38px;color:#061b1c;background:var(--teal);font-size:22px;font-weight:900;clip-path:polygon(50% 0%,100% 15%,100% 75%,50% 100%,0% 75%,0% 15%)}.identity strong{display:block;letter-spacing:.17em;font-size:16px;font-weight:900}.identity em{color:var(--teal);font-style:normal}.identity small{display:block;margin-top:3px;color:var(--muted);font-size:9px;letter-spacing:.16em}.header-right{display:flex;align-items:center;gap:10px;color:#94b0b5;font-size:10px;letter-spacing:.11em;font-weight:800}.status-dot{height:7px;width:7px;background:#7be1c8;border-radius:50%;box-shadow:0 0 12px #67f6d9}.header-right button,.game-over button{padding:10px 15px;margin-left:12px;background:#17332f;border:1px solid #497d71;color:#dcfff6;border-radius:2px;font-size:11px;font-weight:900;letter-spacing:.09em}.header-right button:hover,.game-over button:hover{background:#22604f}
.main{width:100%;max-width:1920px;margin:0 auto;flex:1;display:flex;flex-direction:column;min-height:0}.viewport{position:relative;flex:1;min-height:570px;overflow:hidden;background:linear-gradient(#122b38,#365268)}#stage{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,12,19,.54),transparent 25%,transparent 68%,rgba(3,11,20,.68)),linear-gradient(90deg,rgba(5,14,22,.55),transparent 38%,transparent 65%,rgba(3,11,20,.25));}
.hud{position:absolute;pointer-events:none}.upper-left{top:31px;left:36px;max-width:345px}.eyebrow{color:var(--teal);font-size:10px;font-weight:900;letter-spacing:.2em}.small-diamond{font-size:12px}.upper-left h1{margin:12px 0 7px;font-size:clamp(24px,2.55vw,36px);font-weight:820;letter-spacing:-.04em;line-height:1.05}.upper-left p{color:#d2e0e6;font-size:12px;line-height:1.55;max-width:270px;margin:0}.objectives{margin-top:20px;display:grid;gap:7px}.objective{display:flex;align-items:center;gap:9px;color:#d8e2e7;font-weight:700;font-size:10px;letter-spacing:.1em}.objective b{width:17px;height:17px;display:grid;place-items:center;border:1px solid #69828d;font-size:9px;color:var(--teal)}.objective.done{color:var(--teal)}.objective.done b{background:#184b43;border-color:var(--teal)}
.upper-right{top:31px;right:34px;width:186px;background:rgba(8,21,29,.56);border:1px solid rgba(170,207,213,.23);padding:12px;backdrop-filter:blur(10px)}.map-heading,.radar-legend{display:flex;justify-content:space-between;gap:7px;font-size:9px;font-weight:800;letter-spacing:.1em;color:#bed0d6}.map-heading{padding-bottom:9px}.map-heading span:last-child{color:var(--teal)}#radar{display:block;width:160px;height:160px;background:rgba(6,23,31,.78);border-radius:50%;border:1px solid #4b7175}.radar-legend{margin-top:11px;font-size:7px;color:#a4b7be}.radar-legend span{display:flex;gap:4px;align-items:center}.radar-legend i{width:5px;height:5px;display:inline-block;border-radius:50%}.legend-player{background:#fff}.legend-objective{background:#72e5be}.legend-enemy{background:#ff8888}
.lower-left{bottom:33px;left:36px;width:275px}.operative{display:flex;gap:10px;align-items:center;margin-bottom:17px}.operative-icon{width:39px;height:39px;display:grid;place-items:center;background:#26494d;border:1px solid #81b9a5;font-size:15px;font-weight:900;color:var(--teal)}.operative-title{display:block;font-size:13px;font-weight:900;letter-spacing:.14em}.operative-title small{color:var(--teal);font-size:9px}.operative-sub{display:block;margin-top:4px;color:#b0c1c5;font-size:9px;letter-spacing:.13em}.meter-row{display:flex;justify-content:space-between;margin:0 0 6px;font-size:10px;font-weight:850;letter-spacing:.11em}.meter-row strong{color:#f9f9f9}.meter{height:7px;overflow:hidden;background:rgba(7,18,28,.8);border:1px solid #6e7c7b}.meter>div{height:100%;transition:width .12s linear}.hp>div{background:#d6f5e3;width:100%;box-shadow:0 0 16px #82f4c2}.stamina>div{background:#74d8d8;width:100%}.stamina-row{margin-top:13px}
.lower-right{right:36px;bottom:32px;width:212px;text-align:right}.target-small{display:flex;flex-direction:column;color:#b9c8cc;font-size:9px;letter-spacing:.14em;font-weight:800}.target-small b{margin-top:5px;color:var(--teal);font-size:11px}.target-distance{display:flex;justify-content:flex-end;align-items:baseline;gap:6px;font-size:41px;font-weight:900;letter-spacing:-.07em}.target-distance small{font-size:10px;letter-spacing:.15em;font-weight:800}.threats{padding-top:10px;border-top:1px solid #77969b;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;color:#b2c7cc;letter-spacing:.08em;text-align:left}.threats strong{white-space:nowrap;color:#f7f5ef}.perf{display:flex;justify-content:space-between;margin-top:13px;color:#adcbcb;font-size:9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.crosshair{pointer-events:none;position:absolute;top:49%;left:50%;width:15px;height:15px;transform:translate(-50%,-50%);opacity:.52}.crosshair i{position:absolute;background:#dafff8}.crosshair i:nth-child(1){width:1px;height:5px;top:0;left:7px}.crosshair i:nth-child(2){width:1px;height:5px;bottom:0;left:7px}.crosshair i:nth-child(3){height:1px;width:5px;left:0;top:7px}.crosshair i:nth-child(4){height:1px;width:5px;right:0;top:7px}.info-ping{position:absolute;bottom:168px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--teal);padding:10px 14px;background:#071b1ee8;border:1px solid #43756d}.info-ping[hidden]{display:none}.info-ping kbd{font:800 12px ui-monospace,monospace;padding:4px 8px;background:#15463c;color:#fff;border:1px solid #88caba}.message{position:absolute;left:50%;top:20px;transform:translateX(-50%);max-width:48%;text-align:center;white-space:normal;font-size:10px;letter-spacing:.12em;font-weight:900;padding:9px 18px;color:#eafffa;background:rgba(5,24,28,.63);border:1px solid #3c6665;pointer-events:none}
.bottom-bar{min-height:56px;background:#0c1820;border-top:1px solid #2d434e;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 34px}.tip{display:flex;flex-wrap:wrap;gap:14px;color:#95b3bc;font-size:10px}.tip strong{color:#e8faf6;letter-spacing:.14em}.bottom-meta{flex:none;color:#5faea4;font-size:9px;font-weight:900;letter-spacing:.12em}.bottom-meta i{font-style:normal;color:#415968;margin:0 4px}
.mobile-controls{display:none;position:absolute;bottom:24px;left:18px;right:18px;justify-content:space-between;align-items:end;pointer-events:none}.mobile-controls button{pointer-events:auto;display:grid;place-items:center;min-width:51px;min-height:51px;border:1px solid #78b4af;background:rgba(7,25,33,.72);color:#f2fffc;font-size:12px;font-weight:900;border-radius:7px;user-select:none;-webkit-user-select:none}.mobile-controls button.pressed{background:rgba(65,158,133,.8);border-color:#a4ffef}.touch-move{display:grid;justify-items:center;gap:2px}.touch-move>div{display:flex;gap:2px}.touch-actions{display:grid;grid-template-columns:repeat(2,60px);gap:6px}.touch-actions button{font-size:10px}
.game-over{position:absolute;inset:0;background:rgba(2,10,14,.76);display:grid;place-items:center;z-index:6;backdrop-filter:blur(7px)}.game-over[hidden]{display:none}.game-over-panel{width:min(92%,460px);background:#0c202a;padding:40px;border:1px solid #5d9990;box-shadow:0 20px 90px #0008}.game-over h2{font-size:32px;letter-spacing:-.03em;line-height:1.12;margin:18px 0}.game-over p{color:#bfd7db;font-size:14px;line-height:1.7}.game-over button{margin:18px 0 0}.failure{z-index:9;position:absolute;inset:12px;padding:32px;background:#321a23f5;border:1px solid #ff8790;color:#fff;display:grid;place-items:center;text-align:center;font-size:16px}.failure[hidden]{display:none}
@media(hover:none),(pointer:coarse){.mobile-controls{display:flex}.lower-left{bottom:166px}.lower-right{bottom:166px}.info-ping{bottom:255px}.tip{display:none}}
@media(max-width:780px){.topbar{padding:0 12px;height:59px}.back span,.header-right>span:not(.status-dot){display:none}.identity strong{font-size:12px;letter-spacing:.06em}.identity small{font-size:7px;letter-spacing:.05em}.symbol{width:30px;height:30px;font-size:17px}.header-right button{font-size:9px;padding:8px;margin-left:0}.viewport{min-height:calc(100dvh - 59px)}.upper-left{left:16px;top:17px;max-width:220px}.upper-left h1{font-size:23px;margin:7px 0}.upper-left p{font-size:10px;max-width:180px}.eyebrow{font-size:8px;letter-spacing:.1em}.objectives{margin-top:12px;gap:5px}.objective{font-size:8px}.upper-right{top:17px;right:12px;width:124px;padding:6px}.map-heading{font-size:7px;padding:5px}#radar{width:110px;height:110px}.radar-legend{font-size:6px;gap:2px}.lower-left{bottom:162px;left:14px;width:154px}.operative{margin-bottom:7px;gap:6px}.operative-icon{width:27px;height:27px;font-size:10px}.operative-title{font-size:9px}.operative-title small{font-size:7px}.operative-sub{font-size:7px}.meter-row{font-size:8px;margin-bottom:4px}.meter{height:6px}.stamina-row{margin-top:7px}.lower-right{right:13px;bottom:162px;width:130px}.target-small{font-size:7px}.target-small b{font-size:8px}.target-distance{font-size:26px}.target-distance small{font-size:7px}.threats{font-size:7px}.perf{font-size:7px;gap:3px;flex-wrap:wrap}.message{top:auto;bottom:290px;max-width:80%;min-width:180px;font-size:8px;padding:6px}.bottom-bar{display:none}.info-ping{bottom:310px;font-size:8px}.mobile-controls{display:flex}.mobile-controls button{min-width:48px;min-height:48px}.touch-actions{grid-template-columns:repeat(2,60px)} }
@media(max-width:390px){.upper-left{max-width:185px}.upper-right{width:108px}#radar{width:94px;height:94px}.radar-legend span{font-size:5px}.mobile-controls button{min-width:45px;min-height:45px}.touch-actions{grid-template-columns:repeat(2,53px)}.lower-left{width:135px}.lower-right{width:115px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
