#command-console .command-dialog{display:flex;flex-direction:column}#command-notice{order:-1;position:sticky;top:0;z-index:2;background:#202d29;border:1px solid #bca574;padding:12px 14px;min-height:42px;line-height:1.4}.vehicle-card .request-another{margin-top:8px;background:transparent;border:1px solid #a297784f;color:#d6c9a6}.vehicle-card button:disabled{cursor:default;opacity:.66}#touch-controls[hidden]{display:none!important}#touch-controls{position:fixed;inset:var(--touch-viewport-top,0px) auto auto var(--touch-viewport-left,0px);width:var(--touch-viewport-width,100%);height:var(--touch-viewport-height,100dvh);max-height:none;z-index:18;pointer-events:none;user-select:none;-webkit-user-select:none}#touch-controls button,.touch-stick{pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent}#touch-toolbar{position:absolute;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(142px + env(safe-area-inset-bottom));display:flex;justify-content:center;flex-wrap:wrap;gap:5px;max-width:740px;margin:auto}#touch-toolbar button{min-height:44px;min-width:44px;padding:6px 10px;border-radius:6px;background:#14231be8;border:1px solid #bcc9a259;color:#f0eddb;font:11px/1.2 system-ui;flex:0 1 auto}#touch-controls button.held{background:#526047;border-color:#ecd69b}.touch-stick{position:absolute;bottom:calc(16px + env(safe-area-inset-bottom));width:116px;height:116px;border-radius:50%;border:1px solid #d3e2c981;background:#12261cc9;display:grid;place-items:center}#touch-move{left:max(16px,env(safe-area-inset-left))}#touch-aim{right:max(16px,env(safe-area-inset-right))}.touch-stick i{width:40px;height:40px;border-radius:50%;background:#c9d4b655;border:1px solid #e9edd09e;pointer-events:none}.touch-stick span{position:absolute;bottom:10px;font:10px system-ui;color:#e7eddb;pointer-events:none}#touch-fire{position:absolute;right:calc(max(16px,env(safe-area-inset-right)) + 130px);bottom:calc(49px + env(safe-area-inset-bottom));width:65px;height:65px;border-radius:50%;background:#743b2ade;border:2px solid #f3bd80;color:#fff1d7;font:600 12px system-ui}.touch-device{touch-action:manipulation}.touch-device #scene{touch-action:none}.touch-device #crosshair{display:block}@media(max-width:900px),(pointer:coarse){html,body{height:100%;height:100dvh;overscroll-behavior:none}#menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;overflow-y:auto!important;overflow-x:hidden;padding:78px max(16px,env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;gap:18px!important;max-height:100dvh}#menu[hidden]{display:none!important}#menu .intro{position:static!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important}#menu .intro h1{font-size:clamp(44px,10vw,76px)!important;margin:8px 0!important;line-height:1!important;letter-spacing:-2px!important}#menu .intro h2{font-size:22px!important}#menu .intro p{font-size:12px!important;line-height:1.5!important}#menu .scene-label,#menu .menu-footer,#menu .menu-controls{display:none!important}#briefing-classes{width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#briefing-classes .class-card,#briefing-classes .flight-brief{min-width:0!important;max-width:100%!important}#briefing-classes canvas{height:95px!important;max-width:100%!important}.class-card>button,.flight-brief button{min-height:44px!important}.modal{padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;align-items:center;overflow:auto;max-height:100dvh}.dialog,.map-dialog,.loadout-dialog,.radio-dialog,.command-dialog,.shared-dialog{max-width:100%!important;max-height:calc(100dvh - 22px)!important;min-width:0!important;padding:16px!important;overflow:auto;overscroll-behavior:contain}.modal button,.modal select,.modal input{min-height:44px;touch-action:manipulation}.modal input,.modal select{font-size:16px!important}.command-header h2,.map-top h2{font-size:23px!important}.command-tabs{gap:3px!important;flex-wrap:wrap}.command-tabs button{flex:1;min-width:0;font-size:11px!important;padding:8px!important}.vehicle-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.vehicle-card{padding:12px!important;min-width:0}.vehicle-card canvas{width:100%!important;height:110px!important}.vehicle-card p{font-size:11px!important}.command-resources{flex-wrap:wrap!important;gap:7px!important}.command-resources>div{flex:1;min-width:72px;padding:8px!important}.command-footer{display:none!important}.research-grid,.radio-options,#radio-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}#pause .dialog{display:flex!important;flex-direction:column!important}#cv-settings{padding:10px 0!important;border-left:0!important}.map-body{flex-direction:column!important;gap:14px!important}.map-body>canvas{width:100%!important;height:auto!important;aspect-ratio:1;touch-action:manipulation}.map-body aside{min-width:0!important;max-height:none!important}#map-sectors{max-height:260px!important;overflow:auto}.map-stats,.map-footer{display:none}.map-tools button{min-width:44px;min-height:44px}.map-top{gap:8px}#loadout-classes{grid-template-columns:repeat(2,minmax(0,1fr))!important}#fatal{inset:15% 5%!important;padding:24px!important}}@media(max-width:450px){.vehicle-catalog{grid-template-columns:1fr!important}.class-card h3{font-size:13px!important}.class-card header{gap:3px!important}.class-statrow{flex-wrap:wrap}.map-top .square{margin-left:0!important}#topbar{padding-inline:12px!important}.top-right{gap:8px!important}.brand b{font-size:18px!important}}.touch-device #cv-guide,.touch-device #cv-feed,.touch-device #cv-score,.touch-device #cv-menu-btn,.touch-device #cv-kit,.touch-device #cv-map-wrap,.touch-device #cv-flight{display:none!important}.touch-device #cv-objective{left:10px;top:10px;width:calc(100% - 20px);max-width:360px;padding:7px 10px}.touch-device #cv-lower-left{left:10px;top:83px;bottom:auto;width:135px}.touch-device #cv-vitals{padding:7px;min-height:0}.touch-device #cv-vitals header strong{font-size:20px}.touch-device #cv-lower-right{right:10px;top:83px;bottom:auto;width:155px}.touch-device #cv-weapon{padding:7px}.touch-device #cv-ammo{font-size:24px}.touch-device #cv-reserve{font-size:11px}.touch-device #cv-ammo-options{display:none}.touch-device #cv-tank-ammo{margin-top:3px}.touch-device #cv-ammo-state{margin-top:0;font-size:11px}.touch-device #cv-notice{bottom:auto;top:220px;max-width:calc(100vw - 24px);width:max-content;font-size:11px}.touch-device #cv-context{bottom:calc(250px + env(safe-area-inset-bottom));max-width:85vw;font-size:11px}.touch-device #cv-capture{top:48px;width:200px}@media(orientation:landscape)and (max-height:550px){.touch-device #cv-objective{max-width:240px}.touch-device #cv-lower-left{left:10px;top:70px;width:112px}.touch-device #cv-lower-right{right:10px;top:10px;width:130px}.touch-device #cv-notice{top:65px}.touch-device #cv-context{bottom:139px}#touch-toolbar{left:145px;right:145px;bottom:calc(8px + env(safe-area-inset-bottom));gap:4px;max-height:126px;overflow-y:auto}#touch-toolbar button{font-size:10px;padding:5px 7px;min-height:44px}#touch-fire{right:max(38px,env(safe-area-inset-right));bottom:calc(140px + env(safe-area-inset-bottom));width:56px;height:56px}.map-body{flex-direction:row!important}.map-body>canvas{width:45%!important;align-self:start}.map-body aside{flex:1}#menu{padding-top:60px!important}#briefing-classes{grid-template-columns:repeat(3,minmax(0,1fr))!important}}.touch-device #fl-chat:not(.expanded){display:none!important}.touch-device #fl-chat.expanded{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));top:calc(var(--chat-viewport-top,0px) + 8px);bottom:auto;width:auto;max-height:calc(var(--chat-viewport-height,100dvh) - 16px);overflow:hidden}.touch-device #fl-chat.expanded #chat-toggle{display:none}.touch-device #chat-panel{max-height:calc(var(--chat-viewport-height,100dvh) - 30px)}.touch-device #chat-input{font-size:16px}.touch-device #weapon-envelope{display:none!important}#touch-toolbar button[data-touch=skill],#touch-toolbar button[data-touch=utility]{white-space:pre-line;max-width:160px;line-height:1.45;position:relative;overflow:hidden;background-image:linear-gradient(#d4b87e,#d4b87e);background-size:var(--ability-progress,100%) 2px;background-repeat:no-repeat;background-position:left bottom}#touch-toolbar button:disabled{opacity:.64}#touch-toolbar button.touch-ability-active{border-color:#dec895;color:#f5e5c6}.touch-device #cv-flight{display:block!important}.touch-device #cv-flight[hidden]{display:none!important}.touch-device #cv-flight{padding:6px 7px}.touch-device #cv-flight header{font-size:10px;gap:5px}.touch-device #cv-flight-metrics,.touch-device #cv-seat-hint{font-size:9px}.touch-device #cv-flight-actions{display:none!important}.touch-device:has(#cv-flight:not([hidden])) #cv-notice{top:220px}#cv-mini-toggle{display:none}.touch-device #cv-score{display:flex!important;top:calc(52px + env(safe-area-inset-top));left:50%;gap:10px;padding:4px 8px;min-height:26px;border-radius:5px}.touch-device #cv-score b{font-size:16px}.touch-device #cv-score .cv-clock{font-size:11px;padding-inline:7px}.touch-device #cv-score .cv-team-tag{display:inline;font-size:9px}.touch-device #cv-map-wrap{display:block!important;position:fixed;left:max(8px,env(safe-area-inset-left));top:calc(150px + env(safe-area-inset-top));width:112px;min-height:84px;z-index:5}.touch-device #cv-map-stage{height:84px}.touch-device #cv-map-wrap .cv-map-caption{display:none}.touch-device #cv-mini-toggle{display:grid;place-items:center;position:fixed;left:calc(max(8px,env(safe-area-inset-left)) + 116px);top:calc(150px + env(safe-area-inset-top));width:44px;height:44px;min-width:44px;min-height:44px;z-index:6;pointer-events:auto;border:1px solid var(--cv-line);border-radius:6px;background:var(--cv-panel);color:var(--cv-text);font:600 20px/1 system-ui;touch-action:manipulation}.touch-device.touch-minimap-hidden #cv-map-wrap{display:none!important}.touch-device.touch-minimap-hidden #cv-mini-toggle{left:max(8px,env(safe-area-inset-left));width:112px;font-size:12px}.touch-device #cv-mini-toggle:focus-visible{outline:2px solid var(--cv-gold);outline-offset:3px}.touch-device #cv-reload,.touch-device #cv-grenades{font-size:11px}.touch-device #cv-ammo{font-size:26px}.touch-device #cv-weapon-name{font-size:11px;line-height:1.35}.touch-device #cv-objective{top:calc(8px + env(safe-area-inset-top))}.touch-device #cv-objective strong{font-size:12px}.touch-device #cv-objective small{display:none}.touch-device #cv-notice{left:auto;right:8px;top:calc(150px + env(safe-area-inset-top));transform:none;max-width:calc(100vw - 182px);font-size:12px}.touch-device #cv-context{font-size:12px;max-width:calc(100vw - 32px);bottom:calc(var(--touch-controls-height,360px) + 8px + env(safe-area-inset-bottom))}@media(orientation:landscape)and (max-height:550px){.touch-device #cv-score{top:calc(58px + env(safe-area-inset-top));max-width:calc(100vw - 400px)}.touch-device #cv-objective{left:max(8px,env(safe-area-inset-left));width:132px;max-width:132px;padding:6px;gap:6px}.touch-device #cv-objective strong{font-size:11px}.touch-device #cv-map-wrap,.touch-device #cv-mini-toggle{top:calc(146px + env(safe-area-inset-top))}.touch-device #cv-lower-left{left:max(8px,env(safe-area-inset-left));top:calc(58px + env(safe-area-inset-top));width:132px}.touch-device #cv-vitals{padding:6px}.touch-device #cv-vitals header{gap:4px;line-height:20px}.touch-device #cv-vitals header span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.touch-device #cv-vitals header small{white-space:nowrap}.touch-device #cv-health-track{margin-top:4px}.touch-device #cv-stamina-track{margin-top:3px}.touch-device #cv-notice{top:calc(96px + env(safe-area-inset-top));left:50%;right:auto;transform:translate(-50%);max-width:calc(100vw - 350px)}.touch-device #cv-context{bottom:min(calc(var(--touch-controls-height,170px) + 8px + env(safe-area-inset-bottom)),calc(50dvh - 44px));max-width:calc(100vw - 350px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-device:has(#touch-controls.touch-left-handed) #cv-map-wrap{left:auto;right:max(8px,env(safe-area-inset-right))}.touch-device:has(#touch-controls.touch-left-handed) #cv-mini-toggle{left:auto;right:calc(max(8px,env(safe-area-inset-right)) + 116px)}.touch-device.touch-minimap-hidden:has(#touch-controls.touch-left-handed) #cv-mini-toggle{left:auto;right:max(8px,env(safe-area-inset-right))}}
