:root{font-family:"Segoe UI","Yu Gothic UI","Meiryo",sans-serif;color:#e3e5d6;background:#151d1a;font-synthesis:none;--bg:#151d1a;--panel:#202a24;--line:#394238;--muted:#9aa797;--cream:#e3e5d6;--yellow:#ecc572;--green:#b5c7a0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}button:hover:not(:disabled){filter:brightness(1.13)}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:.04em;line-height:1.5;font-weight:650}h2{font-size:22px;line-height:1.6}h3{font-size:17px}p{font-size:13px;line-height:1.9;color:var(--muted)}small{font-size:11px}.header{height:90px;border-bottom:1px solid var(--line);padding:0 5%;display:flex;align-items:center;justify-content:space-between;max-width:1500px;margin:auto}.brand{display:flex;gap:12px;align-items:center;background:none;border:0;text-align:left;font-size:20px;font-weight:750;letter-spacing:2px}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:2px;color:var(--muted);margin-top:4px}.brand-mark{background:var(--cream);color:#273429;width:43px;height:43px;display:block;text-align:center;line-height:35px;position:relative;font-size:35px;font-weight:900;clip-path:polygon(0 0,80% 0,100% 20%,100% 100%,0 100%)}.brand-mark span{position:absolute;bottom:-7px;right:3px;font-size:9px;letter-spacing:0}.resources{display:flex;gap:36px;align-items:center}.resources>span{font-size:10px;letter-spacing:1.3px;color:var(--muted)}.resources b{font-size:18px;font-weight:500;letter-spacing:1px}.resources small{color:var(--muted)}.credit-icon{color:var(--yellow);margin-right:8px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b1cd8e;box-shadow:0 0 8px #b1cd8e44;margin-right:7px}.layout{display:grid;grid-template-columns:175px minmax(0,1fr);max-width:1320px;margin:0 auto;padding:0 32px;gap:36px}.sidebar{border-right:1px solid var(--line);padding:36px 22px 20px 0;position:sticky;top:0;height:calc(100vh - 90px);min-height:560px;display:flex;flex-direction:column}.nav-caption,.tiny-label{font-size:9px;letter-spacing:1.7px;color:#9ba68f}.nav-caption{margin-bottom:25px}.nav-item{display:flex;gap:14px;align-items:center;border:0;background:none;width:100%;padding:15px 13px;text-align:left;font-size:13px;margin-bottom:7px;color:var(--muted)}.nav-item>span{font-size:22px;line-height:1}.nav-item small{margin-left:auto;color:var(--muted);font-size:9px}.nav-item.active{background:#323b2c;color:#e3ddba;border-left:2px solid var(--yellow)}.sidebar-bottom{margin-top:auto;padding:20px 0 0}.signal{font-size:15px;letter-spacing:2px;color:var(--green)}.sidebar-bottom p{font-size:12px;margin:9px 0 22px}.sidebar-bottom small{display:block;font-size:9px;letter-spacing:1px}.text-btn{border:0;background:transparent;color:var(--muted);font-size:11px;padding:8px 0;display:block;text-align:left}.import{cursor:pointer}input[type=file]{display:none}.main{padding:34px 0 48px;min-width:0}.home-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#aab29b;margin-bottom:9px}.home-intro p{margin-top:6px}.chapter-tag{border:1px solid var(--line);padding:10px 14px;font-size:9px;color:var(--muted);letter-spacing:1px;display:flex;align-items:center;gap:15px}.chapter-tag strong{font-size:25px;font-weight:300;color:var(--cream)}.hangar-panel{border:1px solid #47513f;background:#202920}.panel-heading{height:41px;border-bottom:1px solid #49533f;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:10px;letter-spacing:1px;color:var(--muted)}.panel-heading b{color:var(--cream);margin-left:10px}.hangar-art{height:320px;position:relative;overflow:hidden;background:linear-gradient(180deg,#293429 0%,#303c2d 50%,#52604a 51%,#3e4b35 100%)}.hangar-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#0b161511 3px,#0b161511 4px);pointer-events:none}.hangar-grid{position:absolute;inset:51% -20% -55%;background-image:linear-gradient(#95a37722 1px,transparent 1px),linear-gradient(90deg,#95a37722 1px,transparent 1px);background-size:65px 48px;transform:perspective(250px) rotateX(40deg)}.hangar-beam{position:absolute;width:36px;top:0;height:165px;background:#1b271e;border:6px solid #35432f;box-shadow:6px 0 #15231744}.beam-left{left:7%}.beam-right{right:7%}.hangar-beam:after{content:"";position:absolute;top:100px;left:-30px;width:90px;height:12px;background:#273725;transform:rotate(-40deg)}.hangar-label{position:absolute;left:20%;top:28px;font-size:28px;font-weight:800;letter-spacing:3px;color:#bac79944}.hangar-label span{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.wall-lights{display:flex;position:absolute;left:12%;right:12%;top:0;justify-content:space-between}.wall-lights i{width:55px;height:5px;background:#e8dbaa;box-shadow:0 0 28px #d9d39d80}.hangar-door{position:absolute;width:34%;height:128px;left:42%;top:31px;border:7px solid #46523d;background:repeating-linear-gradient(0deg,#243023,#243023 17px,#3d4b34 18px,#3d4b34 20px);box-shadow:0 0 0 2px #1b271e}.hangar-door span{position:absolute;bottom:8px;right:10px;color:#9ba97b55;font-size:8px;letter-spacing:1px}.hangar-units{display:flex;position:absolute;left:5%;right:5%;bottom:64px;justify-content:space-around;gap:5px}.docked{position:relative;width:30%;height:192px;background:none;border:none;display:flex;align-items:center;justify-content:center;padding:0}.docked svg{position:relative;z-index:2;filter:drop-shadow(4px 7px 0 #111d2044);width:min(100%,180px);height:auto;transition:transform .2s}.docked:hover svg{transform:translateY(-5px)}.platform{position:absolute;bottom:2px;width:92%;height:50px;border:1px solid #a0ad7844;background:#1a2c2533;transform:skewY(-2deg)}.bay-no{position:absolute;left:3%;top:18px;font-size:10px;color:#a3b18c66}.docked-name{position:absolute;top:100%;left:0;width:100%;font-size:9px;color:#a6b094;text-align:center;letter-spacing:1px}.docked-name b{color:#e3e5cb}.docked-name em{display:block;font-size:8px;font-style:normal;margin-top:5px;color:#c3d5a5}.hangar-footer{position:absolute;bottom:0;left:0;width:100%;background:#1c2b21b3;display:flex;justify-content:space-between;padding:9px 18px;font-size:8px;letter-spacing:1px;color:#aeb894}.hazard-line{position:absolute;bottom:31px;height:3px;left:0;right:0;background:repeating-linear-gradient(120deg,#b0a15f 0,#b0a15f 8px,#283326 8px,#283326 17px);opacity:.5}.hangar-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px}.hangar-summary h3{margin-top:5px}.hangar-summary p{font-size:11px;margin-top:5px}.btn{border:1px solid #4b5745;background:#283329;padding:12px 17px;color:var(--cream);font-size:12px;min-height:42px;font-weight:600}.btn.primary{background:var(--yellow);border-color:var(--yellow);color:#2b3022}.btn.full{width:100%}.btn.small{font-size:10px;padding:10px}.btn.text-btn{background:none;border:0;padding:0;color:var(--muted);font-size:10px;min-height:26px}.home-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;margin-top:20px}.next-mission,.ship-status{padding:24px;border:1px solid var(--line);position:relative}.next-mission{background:#242d25;overflow:hidden}.next-mission>div{position:relative;z-index:1}.next-mission h2{font-size:20px}.next-mission p{font-size:11px;margin:7px 0 16px}.mission-number{position:absolute;right:12px;top:22px;font-size:88px;line-height:1;font-weight:800;color:#9ca3860b}.tags{display:flex;gap:6px;flex-wrap:wrap}.tags span{font-size:9px;border:1px solid #4b5543;padding:5px 7px;color:var(--muted)}.gold{color:var(--yellow)!important}.ship-status h3{font-size:14px;display:flex;justify-content:space-between;margin:10px 0 15px}.ship-status h3 span{color:var(--yellow);font-weight:400}.ship-status p{font-size:10px;margin:13px 0 7px}.meter{display:block;height:4px;background:#46504077;overflow:hidden}.meter i{display:block;height:100%;background:#adbb8f;transition:width .4s}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:30px 0 16px;gap:12px}.section-heading h2{font-size:16px}.section-heading>span{font-size:8px;letter-spacing:1.5px;color:#82917f}.unit-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.unit-card{background:#202a23;border:1px solid var(--line);padding:18px;text-align:left}.unit-card-top{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.unit-card-top b{font-size:12px;font-weight:400;color:var(--cream)}.unit-card h3{font-size:20px;letter-spacing:1px;margin:9px 0}.unit-card p{display:flex;justify-content:space-between;gap:4px;font-size:9px;margin-bottom:10px}.unit-card small{font-size:9px;color:var(--muted);display:block;margin-top:10px}.unit-card small span{float:right}.page-title{margin-bottom:28px}.page-title p{margin-top:7px}.mission-list{display:grid;gap:12px}.mission-card{background:#202a23;border:1px solid var(--line)}.mission-card.selected{border-color:#9ba67b}.mission-card.locked{opacity:.5}.mission-select{background:none;border:0;width:100%;padding:22px;display:flex;gap:23px;align-items:center;text-align:left}.mission-select:disabled{opacity:1}.mission-index{font-size:30px;font-weight:300;color:#aab68e}.mission-select h3{margin:3px 0 7px}.mission-select .eyebrow{font-size:9px;margin:0}.mission-select div>span{font-size:10px;color:var(--muted)}.mission-state{margin-left:auto;font-size:10px;color:var(--green);white-space:nowrap}.mission-detail{padding:0 22px 22px}.mission-detail>p{padding:18px 0;border-top:1px solid var(--line)}.drop-preview{background:#17231c;padding:16px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:11px}.drop-preview>span{color:var(--muted);margin-right:10px}.drop-preview small{width:100%;font-size:10px;color:var(--muted)}.squad-prepare{display:flex;gap:8px;align-items:center;margin:18px 0;flex-wrap:wrap}.squad-prepare>span{font-size:10px;color:var(--muted);width:100%}select{background:#202a23;border:1px solid #56614e;color:var(--cream);padding:12px 8px;font-size:11px;min-width:0;max-width:100%;border-radius:0}.squad-prepare select{flex:1;min-width:140px}.unit-selector{display:flex;gap:8px;overflow-x:auto;margin-bottom:20px}.unit-selector button{border:1px solid var(--line);background:#202a23;min-width:120px;padding:12px;text-align:left;font-weight:650}.unit-selector small{display:block;font-weight:400;color:var(--muted);font-size:9px;margin-top:4px}.unit-selector button.active{border-color:var(--yellow);color:var(--yellow)}.garage-display{display:flex;align-items:center;justify-content:space-between;padding:25px;background:radial-gradient(ellipse at 60% 80%,#52624766,transparent 60%),repeating-linear-gradient(0deg,transparent,transparent 31px,#7d8e7022 32px),#263128;border:1px solid var(--line);min-height:240px}.garage-display h2{font-size:30px;letter-spacing:2px}.garage-display p{font-size:10px;margin-top:14px}.form-tag{display:inline-block;border:1px solid #727e58;color:#c7d0ad;padding:6px 9px;font-size:10px;letter-spacing:2px;margin-top:8px}.garage-robot svg{filter:drop-shadow(8px 12px 0 #111f2744)}.garage-level{width:100px;text-align:right}.garage-level small{display:block;color:var(--muted);font-size:9px}.garage-level strong{font-size:65px;font-weight:250;line-height:1.4}.garage-level .meter{margin-top:10px}.stats-row{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);border-top:0}.stats-row>div{padding:18px;text-align:center;border-right:1px solid var(--line)}.stats-row>div:last-child{border:0}.stats-row small{display:block;color:var(--muted);font-size:10px}.stats-row b{font-size:24px;font-weight:400;display:block;margin-top:6px}.tabs{display:flex;border-bottom:1px solid var(--line);margin:24px 0 20px;gap:10px}.tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;padding:15px;color:var(--muted);font-size:13px}.tabs button.active{border-color:var(--yellow);color:var(--yellow)}.equipment-list{display:grid;gap:10px}.equipment{width:100%;display:flex;gap:18px;align-items:center;padding:15px 18px;border:1px solid var(--line);background:#202a23;text-align:left}.equipment.selected{border-color:#929e71;background:#2c3729}.equipment>div{flex:1}.equipment b{font-size:14px;letter-spacing:.5px}.equipment b small{font-size:10px;color:var(--muted);font-weight:400;margin-left:7px}.equipment p{font-size:11px;margin:6px 0}.equipment>span:last-child{font-size:10px;color:var(--green);white-space:nowrap}.equipment .meter{max-width:300px;margin:8px 0 5px}.equipment small{color:var(--muted);font-size:9px}.weapon-glyph{font-size:35px;color:#b6c49b;width:50px;text-align:center}.skill-slot{padding:20px;background:var(--panel);border:1px solid var(--line)}.skill-slot>span{font-size:10px;margin-right:20px;color:var(--muted)}.skill-slot p{margin:15px 0}.branches{display:flex;gap:10px}.branches .active{border-color:var(--yellow);color:var(--yellow)}.muted{color:var(--muted);font-size:12px;line-height:1.8}.development-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.development-card{background:var(--panel);border:1px solid var(--line);padding:20px;text-align:center}.development-card .meter{margin:15px 0}.development-card .btn{margin-top:8px}.development-card .small{font-size:9px}.repair-row{display:flex;align-items:center;gap:20px;padding:20px;border-bottom:1px solid var(--line)}.repair-row>span:first-child{font-size:22px;color:#b5c79d}.repair-row>div{flex:1}.repair-row p{font-size:11px;margin-top:4px}.repair-row>span:last-child,.repair-row>small{font-size:10px}.green{color:var(--green)}.codex-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.codex-item{display:flex;flex-direction:column;align-items:center;background:var(--panel);border:1px solid var(--line);padding:16px 8px}.codex-item small{color:var(--muted);font-size:10px;margin-top:8px}.codex-item b{font-size:11px;letter-spacing:1px;margin-top:5px}.codex-item p{font-size:10px;margin-top:5px}.codex-item.unknown svg{filter:brightness(0) opacity(.4)}.codex-item.unknown{color:#778370}.archive-weapons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.archive-weapons>div{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);padding:18px}.archive-weapons span{font-size:9px;letter-spacing:1px;color:var(--muted)}.archive-weapons b{font-size:13px}.archive-weapons small{font-size:10px;color:var(--muted)}.explore-panel{text-align:center;border:1px solid var(--line);background:var(--panel);padding:35px}.explore-panel p{margin:20px 0}.radar{width:180px;height:180px;border:1px solid #819164;border-radius:50%;margin:0 auto 28px;position:relative;background:repeating-radial-gradient(circle,#53684622 0,#53684622 28px,#91a47866 29px,#53684622 30px);overflow:hidden}.radar i{position:absolute;inset:0;background:conic-gradient(transparent 240deg,#a1bf6666);animation:scan 6s linear infinite}.radar span{position:absolute;inset:0;display:grid;place-items:center;font-size:55px;color:#c6d4a2}@keyframes scan{to{transform:rotate(360deg)}}.save-actions{display:flex;gap:12px;justify-content:center;margin-top:25px}.save-actions label{cursor:pointer}.battle-main{max-width:700px;margin:0 auto;width:100%}.battle-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.battle-heading h2{font-size:20px}.battle-heading .eyebrow{margin-bottom:4px}.battle-shell{border:1px solid #5b6650;background:#202b24}.turn-bar{display:flex;justify-content:space-between;padding:15px 18px;background:#303d2c;font-size:11px;letter-spacing:1.5px}.turn-bar b{color:var(--yellow)}.battle-objective{padding:10px 15px;font-size:10px;color:#bdc7ac;background:#1b271f;display:flex;justify-content:space-between;gap:10px}.battle-map{width:100%;height:auto;display:block;background:radial-gradient(ellipse,#354736,#1f2d24)}.map-cell{cursor:pointer}.map-cell:hover{filter:brightness(1.2)}.battle-unit{cursor:pointer}.battle-unit.acted{opacity:.5}.battle-unit:hover{filter:brightness(1.25)}.map-legend{display:flex;justify-content:center;gap:15px;font-size:9px;color:var(--muted);padding:0 10px 13px;background:#1f2d24}.map-legend i{width:7px;height:7px;display:inline-block;margin-right:4px}.legend-blue{background:#88b2a5}.legend-red{background:#c7815c}.enemy-info{padding:10px 16px;background:#63463844;font-size:10px;border-top:1px solid #9a6b4844;display:flex;flex-direction:column;gap:7px}.enemy-info span{color:#d0ad8c}.tactical-gauge{display:flex;align-items:center;gap:14px;padding:13px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tactical-gauge>span:first-child{font-size:8px;letter-spacing:1.2px;color:#c4c9a8}.tactical-gauge .meter{flex:1;height:5px}.tactical-gauge .meter i{background:var(--yellow)}.tactical-gauge b{font-size:16px;color:var(--yellow)}.tactical-gauge small{font-size:9px;color:var(--muted)}.battle-roster{display:flex;border-bottom:1px solid var(--line)}.battle-roster button{flex:1;display:flex;gap:4px;align-items:center;justify-content:center;border:0;background:#253128;padding:7px 2px}.battle-roster .active{background:#3c4832;box-shadow:inset 0 -2px var(--yellow)}.battle-roster b{font-size:11px}.battle-roster small{font-size:9px;display:block;margin-top:5px;color:var(--muted)}.command-panel{padding:17px}.selected-unit{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.selected-unit b{font-size:15px;letter-spacing:1px}.selected-unit small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.selected-unit>div:last-child{text-align:right}.selected-unit span{font-size:10px;color:#cbd3b7}.command-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.command-grid button{position:relative;text-align:left;padding:12px 9px;border:1px solid #4e5b43;background:#27352a;min-height:76px}.command-grid b{display:block;font-size:11px;letter-spacing:.6px;color:#cdd5b9}.command-grid small{display:block;font-size:9px;margin-top:5px;line-height:1.5;color:var(--muted)}.command-grid em{display:block;font-size:8px;font-style:normal;margin-top:6px;color:#98a885}.command-grid button.active{border-color:var(--yellow);background:#494b30}.command-grid .active b{color:var(--yellow)}.attack-preview{margin:13px 0;padding:13px 15px;background:#19241d;min-height:78px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.attack-preview>div>span{display:block;font-size:10px;color:var(--muted)}.attack-preview>div>b{display:block;margin-top:7px;font-size:22px;font-weight:500;color:var(--yellow)}.attack-preview small{font-size:9px;color:var(--muted)}.attack-preview p{font-size:11px}.attack-preview>small{width:100%;margin-top:-7px}.hp-after{font-size:10px;color:var(--cream)}.attack-actions{display:flex;gap:8px}.attack-actions .btn{font-size:11px;padding:10px}.btn.support{color:#d8e4c1;border-color:#9cb785;background:#3b5337}.turn-actions{display:flex;justify-content:space-between;gap:8px}.btn.end-turn{font-size:11px;background:#c5cfb2;color:#243022;border-color:#c5cfb2}.battle-log{font-size:10px;margin-top:15px;color:var(--muted);padding:13px;border:1px solid var(--line)}.battle-log summary{cursor:pointer}.battle-log summary span{margin-left:14px;color:#ced5b7}.battle-log p{font-size:10px;padding:6px 0;border-bottom:1px solid #33402f}.result-page{max-width:560px;margin:auto;text-align:center;padding:15px 0}.result-emblem{font-size:65px;color:var(--yellow);margin:12px 0}.result-page h1{font-size:48px;line-height:1.08;letter-spacing:4px;color:#e6cd89}.result-page>p{margin:18px 0}.result-message{font-size:11px;color:var(--muted);margin-bottom:28px}.result-unit{display:flex;align-items:center;gap:15px;text-align:left;padding:17px;background:var(--panel);border-bottom:1px solid var(--line)}.result-unit>div{flex:1}.result-unit b{font-size:13px}.result-unit p{font-size:12px;margin:5px 0}.result-unit strong{color:var(--yellow)}.result-unit small{font-size:10px;color:var(--muted)}.result-unit .meter{margin-top:10px}.loot{margin:25px 0;text-align:left}.loot>div{display:flex;justify-content:space-between;padding:17px;background:#253126;border:1px solid var(--line);margin-top:8px;font-size:12px}.loot>div>span{font-size:9px;letter-spacing:1px;color:var(--muted)}.loot .rare{border-color:var(--yellow);color:var(--yellow);background:#494329}.loot-item{animation:reveal .6s both}@keyframes reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.result-buttons{display:grid;gap:10px;margin-top:25px}.chapter-complete{border:1px solid var(--yellow);color:var(--yellow);padding:22px;font-size:11px;line-height:2.2;letter-spacing:1px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90%;background:#e1d9b4;color:#25311e;padding:15px 24px;box-shadow:0 5px 40px #0008;z-index:20;font-size:12px;line-height:1.6}.warning{padding:15px;background:#634b32;color:#f5d49c;font-size:12px;line-height:1.8;margin-bottom:15px}.notice{display:flex;justify-content:space-between;align-items:center;padding:20px;background:var(--panel);margin-bottom:20px;font-size:12px}.mobile-nav{display:none}@media(min-width:1500px){.layout{padding:0 10px;gap:48px}.main{padding-top:45px}.hangar-art{height:360px}.docked{height:225px}.docked svg{width:200px;max-width:100%}}@media(max-width:1050px){.layout{grid-template-columns:140px minmax(0,1fr);gap:24px;padding:0 24px}.sidebar{padding-right:15px}.resources>span{display:none}.development-grid{gap:8px}.development-card{padding:14px}.home-bottom{grid-template-columns:1fr 1fr}.hangar-art{height:280px}.docked{height:165px}.garage-display{padding:18px}.garage-robot svg{width:160px}.garage-level{width:85px}.unit-card{padding:14px}.command-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.header{height:72px;padding:0 20px}.brand{font-size:16px;letter-spacing:1.5px;gap:9px;padding:0}.brand-mark{width:34px;height:36px;font-size:29px;line-height:30px}.brand small{font-size:8px;letter-spacing:1px}.resources b{font-size:15px}.resources small{font-size:9px}.layout{display:block;padding:0 18px}.sidebar{display:none}.main{padding:26px 0 100px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#19241df5;border-top:1px solid #56614b;z-index:10;padding:6px 6px max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-nav button{flex:1;padding:5px 0;border:0;background:transparent;color:#96a68c;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:46px}.mobile-nav button span{font-size:20px;line-height:1}.mobile-nav button.active{color:var(--yellow)}h1{font-size:25px}.home-intro{margin-bottom:20px}.home-intro p{font-size:10px}.eyebrow{font-size:8px;letter-spacing:1.6px}.chapter-tag{padding:8px;font-size:7px;gap:8px}.chapter-tag strong{font-size:22px}.hangar-art{height:252px}.hangar-label{font-size:20px;left:18%;top:28px}.hangar-label span{font-size:6px}.hangar-door{height:105px;top:27px;left:50%;width:34%;border-width:5px}.hangar-beam{width:22px;height:140px;border-width:4px}.hangar-units{left:2%;right:2%;bottom:62px;gap:0}.docked{height:136px;width:33%}.docked svg{width:126px;max-width:100%}.docked-name{font-size:7px;letter-spacing:.3px}.docked-name em{font-size:7px}.hangar-footer{padding:9px 10px;font-size:6px}.panel-heading{padding:0 12px;font-size:8px;height:35px}.panel-heading b{margin-left:5px}.hangar-summary{display:block;padding:18px}.hangar-summary h3{font-size:16px}.hangar-summary p{font-size:10px}.hangar-summary .primary{margin-top:17px;width:100%;font-size:13px;min-height:46px}.home-bottom{grid-template-columns:1fr;gap:13px;margin-top:15px}.next-mission,.ship-status{padding:20px}.next-mission .eyebrow,.ship-status .eyebrow{font-size:9px}.ship-status h3{font-size:14px}.ship-status{display:grid;grid-template-columns:1fr auto;gap:0 15px}.ship-status .eyebrow,.ship-status h3,.ship-status .meter{grid-column:1/3}.ship-status p{margin:10px 0 0}.ship-status .text-btn{margin-top:7px}.section-heading{margin-top:24px}.section-heading h2{font-size:15px}.section-heading>span{font-size:7px}.unit-cards{gap:8px}.unit-card{padding:12px 9px}.unit-card h3{font-size:16px}.unit-card-top{font-size:8px}.unit-card-top b{font-size:10px}.unit-card p{display:block;font-size:8px}.unit-card p span{display:block;margin-top:3px}.unit-card small{font-size:8px;line-height:1.8}.unit-card small span{display:none}.mission-select{padding:18px 15px;gap:15px}.mission-select h3{font-size:15px}.mission-index{font-size:25px}.mission-state{font-size:8px}.mission-detail{padding:0 15px 15px}.page-title p{font-size:11px}.mission-select .eyebrow{font-size:7px;letter-spacing:1px}.drop-preview{font-size:10px;padding:12px}.squad-prepare select{flex-basis:100%;font-size:12px}.garage-display{padding:16px 13px;min-height:185px;position:relative;overflow:hidden}.garage-display h2{font-size:23px}.garage-display .eyebrow{font-size:7px;letter-spacing:1px}.garage-display p{font-size:8px;max-width:120px}.garage-robot svg{width:125px;height:145px}.garage-level{width:64px}.garage-level strong{font-size:44px}.garage-level small{font-size:7px}.form-tag{font-size:8px;letter-spacing:1px}.stats-row>div{padding:13px 5px}.stats-row b{font-size:21px}.stats-row small{font-size:9px}.equipment{padding:13px 10px;gap:10px}.equipment>svg{width:58px;flex-shrink:0}.equipment b{font-size:12px}.equipment b small{display:block;margin:4px 0 0}.equipment p{font-size:10px}.equipment>span:last-child{font-size:8px}.equipment small{font-size:8px}.weapon-glyph{width:30px;flex-shrink:0}.equipment .eyebrow{font-size:8px}.development-grid{grid-template-columns:1fr}.development-card{display:grid;grid-template-columns:100px 1fr;gap:7px 15px;text-align:left;padding:20px}.development-card>svg{grid-row:1/5;width:100px;height:110px}.development-card h2{font-size:20px}.development-card .eyebrow{margin:0}.development-card p{font-size:12px}.development-card .meter{margin:0}.development-card .btn{grid-column:1/3}.repair-row{padding:16px 5px;gap:12px}.repair-row b{font-size:12px}.repair-row p{font-size:10px}.repair-row>small{font-size:8px;max-width:70px}.codex-grid{grid-template-columns:repeat(3,1fr);gap:8px}.codex-item{padding:12px 4px}.codex-item svg{width:85px;height:85px;max-width:100%}.codex-item b{font-size:8px;letter-spacing:.5px}.codex-item p{font-size:8px}.archive-weapons>div{padding:13px}.archive-weapons b{font-size:11px}.archive-weapons small{font-size:9px}.battle-main{padding-top:18px}.battle-heading h2{font-size:17px}.battle-heading{margin-bottom:14px}.battle-objective{font-size:8px;padding:10px}.turn-bar{font-size:9px;padding:13px}.battle-map{margin-top:8px}.map-legend{gap:10px;font-size:7px}.tactical-gauge{padding:12px;gap:10px}.tactical-gauge>span:first-child{font-size:7px}.command-panel{padding:12px}.command-grid{grid-template-columns:repeat(2,1fr)}.command-grid button{min-height:68px;padding:10px;display:grid;grid-template-columns:1fr auto}.command-grid b{font-size:10px}.command-grid small{grid-column:1/3;margin-top:3px;font-size:9px}.command-grid em{grid-column:2;grid-row:1;font-size:8px;margin:0}.selected-unit b{font-size:13px}.selected-unit small{font-size:8px}.selected-unit>div:last-child{max-width:57%}.selected-unit span{font-size:9px}.attack-preview{padding:12px;gap:12px}.attack-preview>div>b{font-size:20px}.attack-preview p{font-size:10px}.attack-actions{width:100%}.attack-actions .btn{flex:1;min-height:44px}.turn-actions .btn{font-size:9px;padding:9px;min-height:42px}.battle-log summary span{display:block;margin:10px 0 0;font-size:9px}.result-page h1{font-size:42px}.toast{bottom:83px;width:max-content;font-size:11px;padding:12px 18px}.notice{font-size:10px;padding:12px;gap:10px}.explore-panel{padding:28px 15px}.save-actions{flex-wrap:wrap}.save-actions .btn{font-size:10px}.warning{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.damage-fx{pointer-events:none;animation:damage-rise 1.1s both}.damage-fx text{fill:#ffe6a0;stroke:#253123;stroke-width:3px;paint-order:stroke;font-size:21px;font-weight:800;letter-spacing:1px}@keyframes damage-rise{0%{opacity:0;transform:translateY(12px)}20%{opacity:1}75%{opacity:1}100%{opacity:0;transform:translateY(-15px)}}
.ship-deck{margin:28px 0;border:1px solid #69745e;background:linear-gradient(135deg,#28372f,#19231f);padding:22px}.ship-deck .section-heading{margin:0 0 14px}.ship-guidance{border-left:3px solid #dcc482;padding:10px 14px;background:#d9c47e0c;color:#eee2bb;line-height:1.8}.ship-facilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.ship-facility{border:1px solid #586151;padding:16px;background:#17231de0;display:flex;flex-direction:column;gap:8px}.ship-facility.operational{border-top:3px solid #bbcba1}.facility-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.facility-number{font-size:22px;color:#c8b17b}.facility-state{font-size:11px;color:#e1c891}.operational .facility-state{color:#c1d7ae}.ship-facility h3{margin:6px 0 0;font-size:18px}.ship-facility p{margin:0;font-size:12px;color:#c9cbbb}.facility-effect{font-size:13px;line-height:1.8;padding:10px 0;flex:1}.facility-action{display:grid;gap:8px}.facility-action small,.ship-help{font-size:12px;color:#b9c2ae;line-height:1.8}.ship-help{margin:16px 0 0}.terms-guide{margin:18px 0;border:1px solid #64705b;padding:14px;line-height:1.9;color:#d7dccb}.terms-guide summary{cursor:pointer;color:#e6d4a2}.terms-guide p{font-size:13px}.eyebrow,.tiny-label,.nav-caption{letter-spacing:.08em}.docked-name em{white-space:normal}.ship-facility button{white-space:normal;min-height:44px}
@media(max-width:1050px){.ship-facilities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ship-deck{padding:14px}.ship-deck .section-heading{display:block}.ship-deck .section-heading span{display:block;margin-top:6px}.ship-facilities{gap:8px}.ship-facility{padding:12px}.ship-facility h3{font-size:16px}.facility-effect{font-size:12px}.ship-guidance{font-size:13px}.facility-heading{flex-wrap:wrap}}
.sortie-guide{margin:18px 0;padding:18px;border:1px solid #64735b;background:#16261d}.sortie-guide h3{margin:0 0 10px;font-size:17px}.sortie-guide>p{line-height:1.9;font-size:13px}.sortie-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sortie-units article{border:1px solid #52624c;padding:14px;display:flex;flex-direction:column;gap:10px}.sortie-units article>div{display:grid;gap:5px}.sortie-units small,.sortie-guide>small{font-size:12px;color:#c3c9b5;line-height:1.8}.sortie-units article>span{font-size:13px}.sortie-units dl{display:flex;justify-content:space-between;gap:8px;margin:0}.sortie-units dt{font-size:11px;color:#b6c5a7}.sortie-units dd{margin:5px 0;font-size:14px}.sortie-units button{margin-top:auto;min-height:44px}.sortie-advice{color:#e3d398}.equipment-comparison{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;padding-top:10px;border-top:1px solid #71815c55;font-size:12px;line-height:1.7}.equipment-comparison strong{width:100%;font-size:11px;color:#c7cdb8}.equipment-comparison .stat-up{color:#c4e6aa}.equipment-comparison .stat-down{color:#efbe9e}
@media(max-width:700px){.sortie-units{grid-template-columns:1fr}.sortie-units article>div{display:flex;justify-content:space-between;gap:8px}.sortie-guide{padding:12px}.sortie-units dl{justify-content:flex-start;gap:28px}.equipment-comparison{font-size:11px}}
.growth-unlocks{display:grid;gap:8px;margin-top:12px}.growth-unlocks>div{border-left:3px solid #dec479;background:#c8b46914;padding:8px 12px;display:grid;gap:4px}.growth-unlocks small{color:#cfbe8b}.growth-unlocks b{color:#ecdfb9;font-size:14px}.growth-next{font-size:12px!important;line-height:1.8;color:#b9c9aa}.weapon-mastery-results{padding:18px;text-align:left;border:1px solid #b9a36a;background:#222e23;margin:18px 0}.weapon-mastery-results h3{font-size:16px;color:#e5cf91}.weapon-mastery-results p{font-size:13px;line-height:1.8}.result-unit{align-items:flex-start}.result-unit>div{min-width:0;flex:1}.result-unit .btn{margin-top:8px;min-height:44px}.result-page h1{line-height:1.35}
.archive-filters{display:flex;gap:8px;flex-wrap:wrap}.archive-filters button{min-height:44px;padding:10px 18px;border:1px solid #657553;background:#1d2c22;color:#dae0c6}.archive-filters button[aria-pressed=true]{background:#c8cb9c;color:#1c291c}.archive-explanation{font-size:13px;line-height:1.9;color:#bbc6b0;margin:18px 0}.weapon-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.weapon-source-card{padding:20px;border:1px solid #687455;background:#1d2b22}.weapon-source-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#dfc58c}.weapon-source-heading .owned-weapon{color:#b4d3a0}.weapon-source-card h3{font-size:19px;margin:14px 0}.weapon-source-card p{font-size:13px;line-height:1.8}.weapon-source-card small{font-size:12px;color:#bfccb0;line-height:1.8}.weapon-source-card .weapon-bonus{color:#e0c786}.weapon-sources{display:grid;gap:10px;border-top:1px solid #586648;margin-top:16px;padding-top:14px;font-size:13px}.weapon-sources>div{display:grid;gap:7px;padding:8px 0}.weapon-sources .btn{justify-self:start;min-height:44px}.weapon-sources .locked-source{color:#bead91}.collection-complete{grid-column:1/-1;padding:24px;border:1px solid #9fa56c;color:#e0d299;line-height:1.9}
@media(max-width:600px){.weapon-source-grid{grid-template-columns:1fr}.weapon-source-card{padding:16px}.archive-filters button{flex:1;padding:10px 8px}.weapon-source-card h3{font-size:17px}}
.roadmap-help{font-size:13px;line-height:1.9;color:#c5cbb8}.frame-roadmap{margin:24px 0}.frame-roadmap>h3{font-size:18px;color:#e0ca91}.form-roadmap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-roadmap-card{padding:16px;border:1px solid #647154;background:#1b2a21}.form-roadmap-heading{display:flex;align-items:center;gap:12px}.form-roadmap-heading h4{font-size:17px;margin:7px 0}.form-roadmap-heading small{color:#d7c28c;font-size:11px}.form-roadmap-card p{font-size:13px;line-height:1.8}.form-candidate{display:grid;gap:10px;border-top:1px solid #596648;padding-top:12px}.form-candidate>b{font-size:12px;color:#cbd5b9}.mastery-requirement{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px}.mastery-requirement progress{width:100%;height:8px;accent-color:#d3be77}.form-candidate button{min-height:44px;justify-self:start}.other-candidates{margin-top:12px;font-size:12px}.other-candidates summary{cursor:pointer;min-height:32px;color:#d8c28e}.other-candidates>div{display:grid;gap:6px;padding:10px 0;border-top:1px solid #58614c}.other-candidates button{justify-self:start;min-height:44px}@media(max-width:600px){.form-roadmap-grid{grid-template-columns:1fr}.form-roadmap-card{padding:14px}}
.attack-preview>.area-targets{display:block;max-height:48px;overflow:auto;font-size:11px;line-height:1.6;color:#e4cb91}
.attack-preview{flex-wrap:wrap}.attack-preview>small{flex-basis:100%}.attack-preview>p{flex:1}
.chapter-scene,.chapter-journal{padding:24px;margin:22px 0;border:1px solid #796b49;background:linear-gradient(120deg,#303b2b,#1b2923);text-align:left}.chapter-scene h2,.chapter-journal h2{color:#eed39b;margin:8px 0 14px}.chapter-scene p,.chapter-journal p{color:#cbd1be;line-height:2;margin:12px 0;max-width:65ch}.chapter-scene strong{display:block;margin-top:22px;color:#efd898}.chapter-journal summary{cursor:pointer;min-height:44px;padding:12px 0;border-top:1px solid #536048}.chapter-scene small{color:#c9ba90}@media(max-width:600px){.chapter-scene,.chapter-journal{padding:18px}.chapter-scene h2,.chapter-journal h2{font-size:20px}}
.reward-heading,.reward-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.reward-heading h2{font-size:20px}.unopened-reward{text-align:center;padding:22px!important;border:1px dashed #8e794e;margin:14px 0}.unopened-reward>span{display:block;font-size:42px;color:#ecc572}.reward-actions button{min-height:44px}.reward-reveal>small{display:block;margin-top:16px;color:#bfc5b2}.special-loot{border:1px solid #e8c476!important;background:linear-gradient(100deg,#66532855,#d7b75c22)}.map-stage{position:relative}.special-cutin{position:absolute;inset:0;z-index:20;overflow:hidden;background:linear-gradient(130deg,#14251af5,#5b512ef5);display:flex;align-items:center;justify-content:center;gap:14px;padding:20px;animation:cutin-enter .22s ease-out}.special-cutin.shield{background:linear-gradient(130deg,#152d2bf5,#397c6cf5)}.special-cutin.artillery{background:linear-gradient(130deg,#1b2639f5,#5b5684f5)}.cutin-art{position:relative;flex-shrink:0}.cutin-copy{position:relative;max-width:300px}.cutin-copy h2{color:#ffe0a0;font-size:27px;margin:12px 0}.cutin-copy p{color:#e4e8da}.cutin-copy b{display:block;font-size:12px;margin-top:14px}.special-cutin>button{position:absolute;bottom:12px;right:12px;pointer-events:auto!important;min-height:44px}.cutin-rays{position:absolute;inset:-50%;background:repeating-linear-gradient(155deg,transparent 0 24px,#f0d49113 25px 28px);transform:rotate(-10deg)}@keyframes cutin-enter{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@media(max-width:600px){.special-cutin{gap:5px;padding:12px}.cutin-art svg{width:120px;height:120px}.cutin-copy h2{font-size:19px}.cutin-copy small{font-size:10px}.cutin-copy p{font-size:11px}.reward-actions{flex-direction:column;align-items:stretch}}@media(prefers-reduced-motion:reduce){.special-cutin{animation:none}}
.reward-reveal>.unopened-reward{display:block}.reward-reveal>.unopened-reward>span{font-size:42px}.reward-reveal>.unopened-reward p{text-align:center}
.archive-appearance{display:inline-flex;flex:0 0 72px;align-items:center;justify-content:center;width:72px;height:80px;background:#d6cfb814;border-radius:4px}.archive-appearance>svg{width:72px;height:72px}.archive-silhouette>svg{filter:brightness(0) opacity(.65)}
.weapon-collection-title{display:flex;align-items:center;gap:12px}.weapon-collection-icon{color:#d8c991;background:#29352a;border-radius:4px;flex-shrink:0}.weapon-collection-icon.weapon-silhouette{color:#111b16;background:#80917b}
.part-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #78847155;border-radius:6px;margin-bottom:10px}.part-card.selected{border-color:#d6bd76;background:#d6bd7610}.part-card h3{margin:0 0 6px}.part-card p{font-size:13px;line-height:1.6}.part-card small{color:#a6b19e}.part-card .btn{flex-shrink:0;min-height:44px}@media(max-width:520px){.part-card{align-items:stretch;flex-direction:column;gap:12px}}
