:root{color-scheme:dark;--ink:#101714;--line:#34403a;--text:#edf1e6;--dim:#aab5aa;--gold:#f8be62;--mono:'IBM Plex Mono','SFMono-Regular',Consolas,monospace;--sans:'Barlow','Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#0d1310;color:var(--text);font-family:var(--sans);overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,canvas:focus-visible{outline:3px solid #ffe4a9;outline-offset:3px}button:disabled{cursor:wait}button,canvas{user-select:none;-webkit-user-select:none}[hidden]{display:none!important}.shell{min-height:100svh;max-width:1800px;margin:auto;padding:0 clamp(12px,3.5vw,66px);display:flex;flex-direction:column}.mast,.footer{display:flex;align-items:center;justify-content:space-between;flex:none}.mast{height:72px}.wordmark,.tools,.utility,.genre,.launches,.how,.best,.hp,.score,.topline,.phase,.burst{display:flex;align-items:center}.wordmark{gap:12px;font-style:italic;font-weight:900;letter-spacing:.16em;font-size:24px}.crest{position:relative;width:28px;height:24px;display:block;transform:skew(-11deg);background:var(--gold);clip-path:polygon(0 15%,100% 0,63% 39%,97% 35%,18% 100%,40% 57%,0 63%,29% 34%)}.tools{gap:8px}.utility{min-height:44px;padding:0 12px;background:none;border:0;gap:9px;font-size:13px;color:#c3cdc3;font-weight:700}.utility:hover{color:#fff}.bars{display:flex;gap:2px;height:14px;align-items:center}.bars b{width:2px;background:var(--gold);height:6px}.bars b:nth-child(2){height:14px}.bars b:last-child{height:9px}.utility[aria-pressed=false] .bars b{height:2px;background:#939b93}.pauseIcon{font-weight:900}.shell>main{display:flex;flex:1;min-height:0}.brief{position:relative;width:100%;isolation:isolate;overflow:hidden;border:1px solid #495045;min-height:580px;background:#16231a;display:flex;align-items:center}.poster{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(90deg,rgba(9,20,16,.98) 0%,rgba(10,21,16,.87) 13%,rgba(10,21,16,.6) 29%,rgba(10,21,16,.08) 57%,transparent 76%),linear-gradient(0deg,rgba(8,19,14,.55),transparent 45%),url(assets/cover.webp);background-position:center,center,100% 46%;background-size:cover,cover,82% auto;background-repeat:no-repeat}.briefBody{margin:clamp(32px,4vw,76px);padding:25px 0 32px;max-width:620px}.genre,.mono,.best,.topHud small,.phase,.burst strong{font-family:var(--mono);letter-spacing:.08em}.genre{color:#f7cb85;font-size:13px;font-weight:700;gap:12px}.genre i{width:30px;height:2px;background:var(--gold)}h1{font-family:'Archivo Black','Arial Black',Impact,var(--sans);font-weight:1000;font-size:clamp(68px,8.4vw,150px);line-height:.83;letter-spacing:-.075em;margin:35px 0 17px;color:#f3f3e9}h1 span{color:#f1bd73}.brief h2{font-size:clamp(22px,2.1vw,35px);letter-spacing:.15em;font-weight:800;margin:0}.brief p,.dialogBox p,.controlHelp{line-height:1.7}.brief p{font-size:15px;margin:27px 0 30px;color:#e2e8dd}.launches{gap:12px;flex-wrap:wrap}.primary,.secondary,.burst{min-height:49px;font-weight:800;border:1px solid transparent;letter-spacing:.03em}.primary,.secondary{padding:0 24px;display:inline-flex;justify-content:center;align-items:center;gap:12px}.primary{background:var(--gold);color:#1b211b;min-width:164px}.primary:hover:not(:disabled){background:#ffcf82}.primary:disabled{opacity:.65}.playIcon{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid #20251a}.secondary{background:#131e19b5;border-color:#8c9685;color:#e8eee2}.secondary:hover{background:#26352c}.footer{min-height:52px;gap:10px;font-size:12px;color:#aab4aa;letter-spacing:.04em}.how{gap:10px;flex-wrap:wrap}.key{border:1px solid #4a594c;font-size:11px;padding:2px 5px;color:#d6ded2}.autofire{padding-left:10px;border-left:1px solid #435044}.best{gap:12px}.best b{font-size:15px;color:#e9eddf;font-weight:500}.touchOnly{display:none}.flight{width:100%;display:flex;align-items:center;justify-content:center;gap:clamp(22px,4vw,74px);background:radial-gradient(ellipse at 45% 32%,#24372b,#111b16 65%,#101714);border:1px solid #304236}.fieldWrap{height:min(calc(100svh - 134px),860px);aspect-ratio:420/680;position:relative;background:#294238;overflow:hidden;box-shadow:0 0 0 1px #586653,0 12px 55px #070d0a8a}.fieldWrap canvas{position:absolute;width:100%;height:100%;inset:0;display:block;touch-action:none;outline:none}.topHud{position:absolute;top:0;left:0;right:0;color:white;pointer-events:none;padding:11px 13px 14px;background:linear-gradient(#0a1518e8,#11201a97,transparent);text-shadow:0 1px 3px #101915}.topline{justify-content:space-between;gap:10px}.hp,.score{gap:7px}.topHud small,.phase{font-size:10px;font-weight:700}.score strong{font:700 17px var(--mono);letter-spacing:.06em}.hp>span{display:flex;gap:3px}.hp i{height:8px;width:11px;transform:skewX(-14deg);background:#94e0cd}.hp i.empty{background:#425852}.phase{justify-content:space-between;margin-top:7px}.track{height:3px;background:#131b1abc;margin-top:4px}.track i{display:block;height:100%;background:var(--gold);transition:width .12s}.track i.core{background:#ff6746}.notice{position:absolute;top:34%;left:4%;right:4%;text-align:center;opacity:0;color:#fff0c8;letter-spacing:.08em;font-weight:800;font-size:clamp(17px,2.1vw,28px);text-shadow:0 2px 9px #060c0a,0 1px 3px #000;pointer-events:none;transition:opacity .2s}.notice.on{opacity:1}.actions{width:215px}.mission{border-top:1px solid #536353;padding-top:18px}.mission .mono{display:block;color:#b5c0ad;font-size:12px}.mission b{display:block;font-size:21px;margin:9px 0 20px}.burst{position:relative;gap:9px;width:100%;padding:0 12px;color:#1a221c;background:#f5c478;border-color:#ecc48c;justify-content:center}.burst:disabled{cursor:default;background:#28382e;color:#abb9a9;border-color:#4b5a4c}.burst strong{font-size:10px}.burstIcon{font:22px Georgia}.controlHelp{font-size:13px;color:#b7c3b5}.dialog{position:absolute;inset:0;background:#07130dd9;display:grid;place-items:center;z-index:5}.dialogBox{width:88%;text-align:center;border-top:1px solid #6b7563;border-bottom:1px solid #6b7563;padding:30px 8px}.dialogBox .genre{justify-content:center}.dialogBox h2{font-size:clamp(28px,3vw,45px);margin:12px 0}.dialogBox p{color:#d0d8cb;font-size:15px;margin:12px 0 20px;white-space:pre-line}.dialogBox button{margin:4px;min-height:44px;padding:0 16px;min-width:0}.shell.playing{height:100svh;min-height:0}.shell.playing .mast{height:61px}.shell.playing .footer{min-height:43px}
@media(pointer:coarse),(max-width:700px){.touchOnly{display:inline}.desktopOnly{display:none}}
@media(max-width:700px){.shell{padding:0 12px}.mast{height:52px}.wordmark{font-size:20px}.crest{width:23px;height:21px}.utility{font-size:12px;padding:0 6px}.brief{align-items:flex-end;min-height:min(660px,calc(100svh - 100px))}.poster{background-image:linear-gradient(0deg,#0c1913 0%,rgba(12,25,19,.98) 17%,rgba(12,25,19,.8) 40%,rgba(12,25,19,.1) 65%,transparent 88%),url(assets/cover.webp);background-size:cover,auto 63%;background-position:center,52% top}.briefBody{margin:0;padding:clamp(180px,41svh,405px) 21px 26px;max-width:none}.genre{font-size:11px;gap:8px}.genre i{width:20px}h1{font-size:clamp(57px,15.2vw,86px);margin:17px 0 12px;line-height:.85}.brief h2{font-size:20px}.brief p{font-size:13px;margin:14px 0 19px}.launches{gap:8px}.primary,.secondary{min-height:46px;padding:0 15px;font-size:14px}.primary{min-width:125px}.footer{min-height:43px;font-size:11px}.how{gap:6px}.best{gap:5px}.best b{font-size:12px}.flight{border:0;flex-direction:column;gap:0;background:#101714;min-height:0}.shell.playing{padding:0 max(4px,env(safe-area-inset-left)) env(safe-area-inset-bottom)}.shell.playing .mast{padding:0 7px;height:43px}.shell.playing .footer{display:none}.shell.playing main{min-height:0}.fieldWrap{height:auto;width:min(100%,calc((100svh - 99px - env(safe-area-inset-bottom))*420/680));min-height:0;max-height:100%;flex-shrink:1}.actions{width:min(100%,520px);height:55px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 8px}.mission{padding:0;border:0}.mission .mono{font-size:9px}.mission b{font-size:13px;margin:3px 0}.burst{width:auto;padding:0 14px;min-width:118px;min-height:42px}.controlHelp{display:none}.topHud{padding:8px 10px 11px}.notice{font-size:18px}.dialogBox p{font-size:13px}}
@media(max-height:550px) and (min-width:701px){.mast,.shell.playing .mast{height:42px}.footer,.shell.playing .footer{min-height:32px}.brief{min-height:380px}.briefBody{padding:8px 0}.brief p{margin:10px 0}.fieldWrap{height:calc(100svh - 84px)}}
@media(max-height:490px) and (max-width:700px) and (orientation:landscape){.flight{flex-direction:row;gap:20px}.fieldWrap{height:calc(100svh - 47px);width:auto}.actions{width:135px;height:auto;display:block}.mission{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important}}
@media(min-width:701px){.poster{background:linear-gradient(110deg,#0b1813,#203428)}.poster::after{content:"";position:absolute;inset:0 0 0 12%;background:url(assets/cover.webp) 53% 49%/cover no-repeat;mask-image:linear-gradient(90deg,transparent 0%,#0007 19%,#000 48%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0007 19%,#000 48%)}}
h1{letter-spacing:-.055em}

.formState{font-size:12px;line-height:1.55;font-weight:750;letter-spacing:.06em;color:#bff8ee;background:#142621d6;border:1px solid #80a49a;border-radius:3px;padding:1px 7px;white-space:nowrap}
.formState[data-form="robot"]{color:#e4d8ff;border-color:#bda6df;background:#201d31dc}
.transform{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:47px;margin:0 0 8px;padding:0 12px;color:#d4f2e6;border:1px solid #85a495;background:#23372e;font-weight:800}
.transform:hover:not(:disabled){background:#354b40}
.transform:disabled{opacity:.65;cursor:default}
.transform kbd{font:12px var(--mono);border:1px solid #6e8276;border-radius:3px;padding:2px 5px}
@media(max-width:700px){
 .actions{gap:6px;padding:2px 4px}.mission{flex:1;min-width:0}.mission b{font-size:12px}
 .transform,.actions .burst{width:auto;min-width:0;min-height:44px;margin:0;padding:0 10px;font-size:14px;gap:5px;white-space:nowrap}
 .transform kbd{display:none}.topline .formState{font-size:10px}
}
@media(max-height:490px) and (max-width:700px) and (orientation:landscape){.actions .transform,.actions .burst{width:100%;margin:5px 0}}
.equipment{display:flex;justify-content:space-between;margin-top:4px;font-size:11px;color:#f3f4e6;text-shadow:0 1px 3px #000}.equipment b{color:#ffdc96}.brief .itemKey{font-size:12px;color:#d0daca;margin:0 0 20px;line-height:1.55}
.armory{margin:0 0 15px;width:min(350px,100%);font-size:13px;color:#e4ebdf}.armory summary{cursor:pointer;padding:6px 0;font-weight:700}
.shell:not(.playing){background:#060e18;color:#edf4ff}.shell:not(.playing) .crest,.shell:not(.playing) .bars b{background:#61e7e0}
.brief{background:#071321;border-color:#344859}.poster{inset:0;background:linear-gradient(90deg,#06101aeb,transparent 70%),url(assets/title.webp) 68% center/cover no-repeat}.poster::after{display:none}
.briefBody{width:min(440px,88%);padding:25px 0;margin:clamp(22px,4vw,75px);max-width:none}
.brief .genre{color:#99efe8;font-size:11px;letter-spacing:.12em}.brief .genre i{background:#58dacf}
.brief h1{font-size:clamp(76px,7.6vw,125px);font-style:italic;line-height:.82;letter-spacing:-.066em;margin:24px 0 13px;text-shadow:0 3px 22px #00101a}.brief h1 span{color:#a4eceb}.brief h2{font-size:18px;letter-spacing:.32em}
.recordDeck{display:grid;grid-template-columns:1fr 1.16fr;background:#07131de8;border:1px solid #42616e;border-left:3px solid #68e7da;margin:20px 0 0;padding:12px 0}
.record{min-width:0;padding:0 14px;display:grid;gap:3px}.record.world{border-left:1px solid #385564}.record span{font:700 11px var(--mono);letter-spacing:.17em;color:#9edfdc}.record strong{font:700 clamp(22px,2.4vw,34px) var(--mono);letter-spacing:.04em;color:#f3faff}.record small{font-size:11px;color:#bbcbd4;overflow-wrap:anywhere}.world span{color:#ffc57c}
.pilot{background:#081521e8;border:1px solid #425766;border-top:0}.pilot summary{cursor:pointer;min-height:42px;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:7px 12px;font-size:12px}.pilot summary b{color:#b1e5e4}.pilot summary::after{content:'⌄';color:#73e2d6}.pilot[open] summary::after{transform:rotate(180deg)}
#pilotForm{display:flex;flex-wrap:wrap;gap:10px;padding:8px 12px 14px}#pilotForm label{display:grid;flex:1 1 135px;gap:4px;font-size:11px;color:#bccedc}#pilotForm input,#pilotForm select{width:100%;box-sizing:border-box;background:#101f2e;border:1px solid #697d88;border-radius:2px;height:40px;padding:0 6px;color:#fff;font-size:16px}#pilotForm button{min-height:38px;background:#a8e6e2;border:0;color:#071c27;padding:0 15px;font-weight:700}#profileStatus{font-size:12px;color:#a1f4e4}
.launches{margin-top:16px}.brief .primary{background:#ffb963}.armory{margin:8px 0 0}.shell:not(.playing) .battleBest{display:none}
@media(max-width:700px){.brief{align-items:flex-end;min-height:calc(100svh - 108px)}.poster{inset:0;background:linear-gradient(0deg,#08131e 24%,#08131eb0 56%,transparent 83%),url(assets/title.webp) 76% top/auto max(270px,48svh) no-repeat}.briefBody{margin:clamp(105px,19svh,190px) 16px 12px;padding:0;width:calc(100% - 32px)}.brief h1{font-size:clamp(52px,13vw,76px);margin:12px 0}.brief h2{font-size:15px}.recordDeck{margin-top:14px;padding:9px 0}.record strong{font-size:24px}.brief .genre{font-size:10px}.launches{margin-top:12px}.brief .primary,.brief .secondary{min-height:44px}}

.armory{width:min(430px,100%)}.hangar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;background:#233745;padding:2px}.model{min-width:0;background:#091622;text-align:center;padding:5px 0}.model b{font-size:clamp(9px,2.4vw,11px);color:#bae4e4}.model i{display:block;width:100%;aspect-ratio:1;background:url(assets/armament8.webp) var(--x) 0/800% 200% no-repeat}.model i:last-child{background-position:var(--x) 100%}

.itemGuide{display:none}.playing .itemGuide{display:flex;align-items:center;justify-content:center;gap:3px 12px;flex-wrap:wrap;color:#cdd6d2;font-size:11px;line-height:1.45}.itemGuide span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.itemGuide b{font:700 12px var(--mono)}
@media(min-width:701px){.playing .footer .how{display:none}}

.fieldSlot{display:contents}
@media(max-width:700px){
 .shell.playing{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100dvh}
 .shell.playing .flight{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:stretch;gap:0}
 .playing .fieldSlot{container-type:size;display:grid;place-items:center;min-width:0;min-height:0}
 .playing .fieldWrap{width:min(100cqw,calc(100cqh * 420 / 680));height:auto;max-height:none;aspect-ratio:420/680}
 .playing .actions{height:auto;min-height:0;justify-self:center;padding:7px 8px 3px}
 .playing .mission .mono{line-height:1.25}.playing .mission b{line-height:1.35;margin:2px 0 0}
 .shell.playing .footer{display:flex;justify-content:center;min-height:0;padding:4px 6px 6px}
 .playing .footer .how,.playing .footer .best{display:none}.playing .itemGuide{gap:2px 10px}
}
@media(max-width:700px) and (orientation:landscape) and (max-height:490px){
 .shell.playing .flight{grid-template-columns:minmax(0,1fr) minmax(110px,25%);grid-template-rows:minmax(0,1fr)}
 .playing .actions{width:100%;align-self:center}
}
