@font-face{font-family:Barlow C;src:url('./assets/fonts/BarlowCondensed-Bold.ttf')}@font-face{font-family:Barlow C;src:url('./assets/fonts/BarlowCondensed-BoldItalic.ttf');font-style:italic}
:root{color-scheme:dark;--orange:#ff9953;--amber:#ffb975;--ink:#0d171b;--muted:#a4b0af;--line:#ffffff24;--title:'Barlow C','Arial Narrow',sans-serif;font-family:Inter,'Malgun Gothic','Apple SD Gothic Neo',sans-serif;background:#0e191d;color:#f4f2e9;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;width:100%}body{overflow-x:hidden}button,a{font:inherit}button{border:0;color:inherit;cursor:pointer;background:none}button:focus-visible,a:focus-visible{outline:2px solid #ffbe70;outline-offset:3px}button:disabled{cursor:default;opacity:.45}button:hover:enabled{filter:brightness(1.14)}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.symbols{position:absolute;height:0;width:0;pointer-events:none}
#home{height:100svh;min-height:610px;display:flex;flex-direction:column;isolation:isolate}.topbar{background:#101b1e;display:flex;align-items:stretch;padding:0 clamp(20px,4.2vw,80px);gap:clamp(22px,4vw,76px);height:66px;flex:none;z-index:1;border-bottom:1px solid #ffffff19}.brand,.utilities,.money,.fleet-head,.fleet-head>div,.hero-actions,.ghost,.vr,.aux,.location,.primary,.panel-top,.shop-name{display:flex;align-items:center}.brand{white-space:nowrap;gap:9px}.brand .brandmark{color:var(--orange);width:39px;height:32px;stroke:none}.brand span{font:italic 28px/.95 var(--title);letter-spacing:-.7px}.brand b{font:14px/1 var(--title);letter-spacing:1.8px;color:#b8c4c0;margin:3px 0 0 5px;padding:3px 0 3px 14px;border-left:1px solid #6b7776}.topbar nav{display:flex;gap:25px}.nav{position:relative;padding:0 1px;color:#9aa8a8;font-size:13px;font-weight:700}.nav.current{color:#fff3e6}.nav.current:after{content:'';height:3px;bottom:0;left:0;right:0;background:var(--orange);position:absolute}.utilities{margin-left:auto;gap:12px}.money{gap:5px;font:20px var(--title);font-variant-numeric:tabular-nums}.money svg{color:var(--amber);width:19px}.money small{font:13px var(--title);color:#a4b2b0}.divider{height:19px;width:1px;background:var(--line);margin:0 3px}.icon,.small-icon,.hud-btn{display:grid;place-items:center;padding:5px;min-width:32px;min-height:32px;color:#cad4ce}.icon:hover,.small-icon:hover{color:var(--orange)}
.hero{position:relative;min-height:0;flex:1;overflow:hidden;background:#193037}.hero-art,.hero-shade{position:absolute;inset:0}.hero-art{background:url('./assets/art/key-visual.webp') center 39%/cover no-repeat}.hero-shade{background:linear-gradient(90deg,rgba(8,22,26,.91),rgba(7,22,27,.73) 22%,rgba(8,21,24,.21) 46%,transparent 66%),linear-gradient(0deg,rgba(7,17,19,.63),transparent 17%)}.hero-copy{position:relative;margin-left:clamp(28px,5.4vw,112px);height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 0 24px;width:max-content;max-width:57%;z-index:1}.mission-id,.micro,.fleet-count,.location i,.flight,.mount kbd,.shop-code{font-family:var(--title);letter-spacing:2px}.mission-id{font-size:16px;line-height:1;letter-spacing:3.1px;color:#ffb375;display:flex;align-items:center;gap:10px}.mission-id span{width:24px;height:3px;background:var(--orange)}h1{margin:15px 0 17px -4px;font:italic clamp(76px,min(8.8vw,12.3vh),150px)/.80 var(--title);letter-spacing:-.037em;color:#f3f0e5;text-shadow:0 2px 14px #09191a25}h1 em{color:var(--orange)}.hero-copy h2{font-size:clamp(17px,1.55vw,26px);letter-spacing:-1.1px;margin:0 0 8px}.hero-copy p{font-size:clamp(12px,.94vw,16px);line-height:1.65;margin:0;color:#c1cec9;letter-spacing:-.2px}.hero-actions{gap:10px;margin-top:clamp(16px,2.4vh,30px)}.primary,.ghost,.sub-button{font-size:14px;font-weight:800;min-height:44px;border-radius:2px;justify-content:center;gap:13px;white-space:nowrap}.primary{background:var(--orange);color:#172026;padding:0 23px;min-width:144px;justify-content:space-between;box-shadow:inset 0 1px 0 #ffe0be66}.primary svg{width:22px;stroke-width:2}.ghost,.sub-button{border:1px solid #a0aeab66;background:#132328b8;color:#e0e8e3;padding:0 17px}.ghost svg{width:16px}.location{position:absolute;bottom:20px;right:clamp(22px,4.2vw,80px);gap:6px;font-size:11px;letter-spacing:.35px;color:#eceee6;text-shadow:0 1px 5px #000}.location i{color:var(--orange);margin:0 4px}.location svg{height:15px;width:15px;color:var(--amber)}
.fleet{background:linear-gradient(106deg,#172529,#101a1e 65%);padding:17px clamp(20px,4.2vw,80px) 22px;flex:none;border-top:1px solid #8395914a}.fleet-head{justify-content:space-between;margin-bottom:11px}.fleet-head>div{gap:11px}.fleet-head h2{font-size:18px;margin:0;letter-spacing:-.8px}.bar{width:4px;height:15px;background:var(--orange)}.fleet-count{font-size:12px;color:#97a7a4;letter-spacing:1.4px}.fleet-tools .divider{height:14px}.vr{font-size:12px;gap:6px;color:#d1d9d4;font-weight:700}.vr svg{width:19px}.small-icon{min-width:25px;min-height:25px;padding:2px;border:1px solid #63757566;border-radius:2px}.small-icon svg{width:13px;height:13px}.fleet-tools .small-icon+.small-icon{margin-left:-6px}.fleet-list{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#4d5c5d transparent;gap:9px;padding:2px 2px 6px;scroll-snap-type:x proximity}.frame-card{display:grid;position:relative;grid-template-columns:42% 58%;align-items:center;overflow:hidden;text-align:left;flex:0 0 clamp(185px,17.6vw,305px);height:91px;scroll-snap-align:start;border:1px solid #65757258;background:linear-gradient(119deg,#2b393a,#1a282c 66%);border-radius:2px;padding:0 5px 0 2px}.frame-card:before{content:'';position:absolute;inset:0;opacity:.28;background:repeating-linear-gradient(135deg,transparent 0 9px,#afc9b908 9px 10px);pointer-events:none}.frame-card[aria-pressed=true]{border:1px solid #ffa05d;background:linear-gradient(115deg,#4a3c31,#28302e 77%);box-shadow:inset 3px 0 var(--orange)}.frame-card img{width:100%;height:83px;object-fit:contain;filter:drop-shadow(1px 4px 2px #050d11a8);position:relative}.card-copy{padding-left:5px;min-width:0;z-index:1}.card-copy small{font-size:10px;color:#b4c1b9}.card-copy b{display:block;margin:3px 0;font-size:clamp(12px,.96vw,16px);line-height:1.3;letter-spacing:-.65px;word-break:keep-all}.card-copy em{font-style:normal;font-size:10px;color:#a3b1ab}.pick{display:none;position:absolute;right:-1px;top:-1px;width:22px;height:16px;background:var(--orange);clip-path:polygon(25% 0,100% 0,100% 100%,0 100%)}.pick svg{width:12px;height:12px;color:#172128;margin-left:7px;stroke-width:2.4}.frame-card[aria-pressed=true] .pick{display:block}
dialog{background:linear-gradient(140deg,#233338,#111e23 78%);color:#e9eee7;border:1px solid #83918c75;box-shadow:0 20px 100px #0009;border-radius:4px;width:min(610px,94vw);max-height:90svh;overflow:auto;padding:21px 27px 26px}dialog::backdrop{background:#071217a8;backdrop-filter:blur(5px)}.panel-top{justify-content:space-between}.micro{font-size:12px;color:var(--amber)}dialog h2{font-size:27px;letter-spacing:-1px;margin:5px 0 16px}dialog h3{font-size:15px;color:#ecf1e8;margin:18px 0 8px}dialog p,dialog li,.control-row{font-size:13px;line-height:1.65;color:#c1ceca}dialog p{margin:8px 0}dialog a{color:var(--amber)}.panel-actions,.setting-row,.shop-row,.control-row,.result-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-actions{margin-top:20px;justify-content:flex-end;flex-wrap:wrap}.sub-button{min-height:35px;font-size:12px}.panel-actions .primary{min-height:38px;min-width:120px}.control-row,.setting-row,.shop-row,.result-row{border-bottom:1px solid var(--line);padding:8px 0}.control-row kbd{color:#ffe4c5;font:12px monospace}.control-row span{text-align:right}.shop-row p{font-size:11px;margin:2px 0}.shop-row b,.result-row b{font-size:14px}.shop-row small{color:var(--amber);font-size:10px;margin-left:7px}.shop-name{gap:15px}.shop-name img{width:96px;height:76px;object-fit:contain}.shop-name b{font-size:19px}.shop-code{font-size:13px;color:var(--amber)}.choice{background:#253439;padding:6px 9px;border-radius:2px;color:#f4f1e4}.choice.on{outline:1px solid var(--orange)}.fine{font-size:11px;color:#97a6a1}.money-inline{color:var(--amber)}#toast{pointer-events:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);color:#fff1d8;background:#14272bef;z-index:20;display:none;padding:10px 18px;border:1px solid #e3b58480;font-size:13px}#toast.show{display:block}
#battle,#viewport,#viewport canvas,#hud,#touch{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;touch-action:none}#viewport{background:#212e31}#viewport canvas{display:block}#hud{pointer-events:none;color:#f4faed;text-shadow:0 1px 4px #061319,0 0 3px #061319;font-variant-numeric:tabular-nums;user-select:none}.mission-hud,#boss-hud,#comms,.condition,#arsenal,.flight,#radar,#tip,#warning{position:absolute}.mission-hud{left:3%;top:4%;border-left:3px solid var(--orange);padding:4px 12px;background:linear-gradient(90deg,#102228cd,transparent)}.mission-hud b{font-size:16px}.micro span{color:#a4b3a7}.hud-btn{position:absolute;top:3%;right:2.4%;pointer-events:auto;background:#13262bb5;border:1px solid #ffffff55;border-radius:2px}.line{height:5px;background:#12232bbd;box-shadow:0 0 0 1px #e3ede580}.line i{display:block;height:100%;background:#c4eedc;transform-origin:left;transition:transform .09s linear}.condition{bottom:6%;left:3%;width:clamp(165px,19vw,310px);background:linear-gradient(90deg,#0e2028be,transparent);padding:8px 12px}.ap,.en{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px}.condition small{font:14px var(--title);letter-spacing:1px}.ap b{font:35px/.98 var(--title)}.condition .line{grid-column:1/3}.en{margin:6px 0 4px}.en span{font:13px var(--title)}.en .line i{background:#8fe7ed}.condition .self-impact{height:2px;box-shadow:none;margin:5px 0}.self-impact i,.stagger i{background:#ffb04d}.aux{gap:14px;font-size:10px;color:#dce8d8}.flight{bottom:4%;left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:1px;text-align:center;background:#142a2db3;padding:4px 8px;white-space:nowrap}.flight b{color:#ffc88f;margin-left:9px}.flight b:empty{margin:0}#arsenal{bottom:5%;right:3%;display:grid;grid-template-columns:1fr 1fr;gap:4px;width:clamp(260px,24vw,430px)}.mount{position:relative;background:#14262dd9;border-left:2px solid var(--orange);padding:5px 7px 7px;min-width:0}.mount small{font-size:9px;color:#f4c18c}.mount kbd{font-size:11px;color:#d0e4db;letter-spacing:.5px;float:right}.mount b{display:block;font-size:11px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mount i{position:absolute;bottom:1px;left:0;right:0;height:2px;background:#b0ddc8;transform-origin:left}#radar{width:90px;height:90px;bottom:6%;left:calc(3% + clamp(165px,19vw,310px) + 8px);opacity:.9}.mission-hud .micro,#boss-hud .micro{font-size:11px;letter-spacing:1.6px}#boss-hud{width:34%;left:33%;top:3%;text-align:center;padding:3px 10px;background:linear-gradient(90deg,transparent,#15232b9a 25% 75%,transparent)}#boss-hud b{display:block;font-size:15px;margin:2px 0 5px}#boss-hud .hp i{background:#f78e64}#boss-hud .stagger{height:2px;box-shadow:none;margin-top:4px}#comms{top:16%;left:3%;display:flex;align-items:center;gap:9px;max-width:300px;padding:6px 12px 6px 5px;background:linear-gradient(90deg,#0b1e24e0,#0b2125b9);border-left:2px solid #8ad9cc}#comms img{width:47px;height:49px;object-fit:contain}#comms b{color:#a8e6d6;font-size:11px}#comms p{font-size:12px;line-height:1.4;margin:3px 0}#reticle{position:absolute;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%,-50%);border:1px solid #e7f4dfa8;border-radius:50%;box-shadow:0 0 3px #13282d}#reticle i{position:absolute;inset:6px;background:#fff6db;border-radius:50%}#target{position:absolute;width:52px;height:45px;transform:translate(-50%,-50%);color:#ffc16b;filter:drop-shadow(0 1px 2px #172425)}#target i{position:absolute;width:12px;height:10px;border:2px solid currentColor}#target i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0}#target i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0}#target i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0}#target i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0}#target span,#target small{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}#target span{top:100%;font:13px var(--title)}#target small{bottom:104%;font-size:10px;color:#fff}.blip{position:absolute;color:#ff9774;font:15px var(--title);transform:translate(-50%,-50%)}.blip.ally{color:#8efada}.blip.relic{color:#86ffd0;font-size:12px}#warning{top:26%;left:50%;transform:translateX(-50%);text-align:center;background:#35231bd9;color:#ffbc73;font-size:13px;font-weight:700;letter-spacing:.4px;padding:5px 12px;border:1px solid #e9984a85}#warning:empty{display:none}#tip{left:50%;bottom:12%;transform:translateX(-50%);font-size:11px;text-align:center;color:#e7f1df;background:#12252dc2;padding:4px 9px;border-radius:2px}#tip:empty{display:none}#damage-flash{position:absolute;inset:0;box-shadow:inset 0 0 8vw #fa5c3a94;opacity:0;transition:opacity .22s}#damage-flash.on{opacity:1}
#touch{display:none;pointer-events:none;user-select:none;-webkit-user-select:none}#touch button,[data-stick]{touch-action:none;pointer-events:auto}#touch button{background:#17272fc7;color:#ffe6c5;border:1px solid #c8d1c18a;border-radius:5px;font:700 12px sans-serif;padding:5px 7px;min-width:38px;min-height:33px}#touch .pressed{background:#cb803d;color:#111}[data-look]{position:absolute;inset:14% 0 0 22%;pointer-events:auto}[data-stick]{position:absolute;left:5%;bottom:10%;width:94px;height:94px;border-radius:50%;border:1px solid #d5e5da99;background:#22323970;display:grid;place-items:center}[data-stick] i{width:55%;height:55%;border-radius:50%;border:1px solid #ffe6c5a0;background:#b0c3b153}.touch-actions,.touch-flight{position:absolute;display:grid;gap:4px}.touch-actions{right:2%;bottom:4%;grid-template-columns:repeat(4,1fr);max-width:42vw}.touch-actions [data-act=fly]{grid-column:span 2}.touch-flight{left:2%;bottom:2.5%;grid-template-columns:repeat(4,1fr)}body.touch-play #touch{display:block}body.touch-play #arsenal,body.touch-play #tip{display:none}body.touch-play #radar{bottom:4%;left:27%;width:55px;height:55px}body.touch-play .condition{left:auto;right:2%;bottom:calc(4% + 84px);width:145px;padding:3px 7px}body.touch-play .ap b{font-size:23px}body.touch-play .flight{bottom:3%;font-size:10px}body.touch-play #pause-btn{z-index:4;pointer-events:auto}#hud{z-index:2}#touch{z-index:1}
@media(min-width:1700px){.hero-copy{margin-left:7vw}.fleet{padding-top:22px;padding-bottom:28px}.frame-card{height:108px}.frame-card img{height:100px}}
@media(max-width:850px){.brand b{display:none}.topbar{gap:22px;padding:0 20px}.topbar nav{gap:17px}.utilities{gap:5px}.hero-copy{max-width:65%}.frame-card{flex-basis:184px}.location{font-size:10px}.fleet{padding-left:20px;padding-right:20px}#comms{max-width:225px}.condition{left:2%}}
@media(max-width:540px) and (orientation:portrait){#home{min-height:655px}.topbar{padding:0 11px;gap:12px;height:52px}.brand span{font-size:20px}.brand .brandmark{width:25px}.brand{gap:3px}.topbar nav{gap:10px}.nav{font-size:11px}.utilities{gap:0}.money{font-size:15px}.utilities .divider{display:none}.icon{min-width:26px}.hero-art{background-position:62% center}.hero-shade{background:linear-gradient(90deg,#071a20dc,#10222755 72%,transparent),linear-gradient(0deg,#0c191ccb,transparent 50%)}.hero-copy{max-width:88%;margin-left:23px}.fleet{padding:12px}.location{display:none}.fleet-count{font-size:11px}.hero-copy p{font-size:12px}}
@media(orientation:landscape) and (max-height:600px){#home{height:100svh;min-height:285px}.topbar{height:38px;gap:24px;padding:0 max(15px,env(safe-area-inset-left))}.brand .brandmark{width:26px;height:24px}.brand span{font-size:20px}.brand b{display:none}.nav{font-size:11px}.utilities,.brand{gap:5px}.utilities svg{width:17px}.hero-copy{margin-left:4vw;padding:7px 0}.mission-id{font-size:11px;letter-spacing:2px}.mission-id span{width:16px;height:2px}h1{font-size:clamp(43px,12.7vh,73px);margin:5px 0 6px}.hero-copy h2{font-size:14px;margin:0 0 3px}.hero-copy p{font-size:10px;line-height:1.35}.hero-actions{margin-top:7px;gap:6px}.primary,.ghost{min-height:30px;font-size:11px;gap:6px;padding:0 11px}.primary{min-width:98px}.hero-actions svg{width:15px}.location{bottom:8px;right:12px;font-size:9px}.fleet{padding:5px 13px 4px}.fleet-head{margin-bottom:2px}.fleet-head h2{font-size:13px}.bar{height:11px}.fleet-list{gap:6px;padding-bottom:2px}.frame-card{height:55px;flex-basis:145px}.frame-card img{height:49px}.card-copy b{font-size:11px;margin:1px 0}.card-copy small,.card-copy em{font-size:8px}.fleet-tools .small-icon{min-height:19px;min-width:21px}.fleet-tools .vr{font-size:10px}.fleet-head>div{gap:7px}.mission-hud{top:2%;left:2%;padding:2px 6px}.mission-hud b,#boss-hud b{font-size:12px}.mission-hud .micro,#boss-hud .micro{font-size:9px}#comms{top:16%;left:2%;max-width:195px;gap:4px;padding:3px 6px}#comms img{width:31px;height:32px}#comms p{font-size:9px}#comms b{font-size:9px}#warning{top:20%;font-size:10px}dialog{max-height:92svh;padding:10px 18px 12px}dialog h2{font-size:20px;margin:0 0 8px}dialog h3{margin:10px 0 4px}.shop-name img{width:60px;height:46px}.shop-row,.control-row{padding:4px 0}[data-stick]{width:73px;height:73px;bottom:16%;left:5%}.touch-actions{right:max(2%,env(safe-area-inset-right))}.touch-flight{left:max(2%,env(safe-area-inset-left))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important}}

#touch [data-act^=w]{background:linear-gradient(to right,#a3d6c1 var(--ready,100%),#4c5859 var(--ready,100%)) bottom/100% 2px no-repeat,#17272fd9}#touch .reload{color:#ffb779}#target.hard:after{content:"";position:absolute;width:6px;height:6px;left:calc(50% - 3px);top:calc(50% - 3px);border:1px solid currentColor;transform:rotate(45deg)}

.brief-art{display:block;width:100%;height:clamp(80px,18vh,165px);object-fit:cover;object-position:50% 36%;border:1px solid var(--line);margin:0 0 14px}
