:root{--ink:#080e18;--line:#ffffff21;--muted:#849bb1;--cyan:#83e8f5;--orange:#ff955a;--white:#e8f3fc;font-family:Arial,Helvetica,sans-serif;color:var(--white);font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}button{color:inherit}button:hover{filter:brightness(1.17)}[hidden]{display:none!important}#space{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#070c1699,transparent 43%,#070c1644),linear-gradient(0deg,#060b15df,transparent 29%,transparent 75%,#060b1544)}header{position:fixed;top:0;left:0;right:0;z-index:5;height:92px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--white);font-weight:800;letter-spacing:5px;font-size:25px;display:flex;align-items:center;gap:20px}.brand span{font-weight:400;font-size:9px;letter-spacing:2px;color:var(--muted);border-left:1px solid var(--line);padding-left:20px}.header-right{display:flex;align-items:center;gap:20px}.signal{font-size:9px;letter-spacing:1.4px;color:var(--muted)}.signal i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--cyan);margin-right:7px;box-shadow:0 0 12px var(--cyan)}.icon-btn{padding:10px 12px;background:#09131b66;border:1px solid var(--line);font-size:10px;letter-spacing:1px}.screen{position:fixed;inset:92px 0 0;pointer-events:none}.screen button,.screen a,.screen .fleet{pointer-events:auto}.ship-info{position:absolute;top:8%;left:42px;width:300px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--cyan);display:flex;gap:12px;align-items:center}.eyebrow #ship-number{color:var(--muted);margin-left:auto}.dash{width:22px;height:2px;background:var(--cyan)}h1{font-size:clamp(32px,4.1vw,62px);letter-spacing:-2px;margin:26px 0 6px;font-weight:800;line-height:1}p{line-height:1.6}.role{font-size:10px;letter-spacing:2.1px;color:var(--cyan);margin-bottom:22px}.description{font-size:13px;color:#a4b5c7;max-width:285px;min-height:61px;margin:0 0 25px}#ship-stats{margin-bottom:30px}.stat{display:grid;grid-template-columns:85px 1fr 25px;align-items:center;gap:10px;margin:13px 0;font-size:9px;letter-spacing:1px;color:var(--muted)}.stat b{text-align:right;color:var(--white);font-weight:400}.stat-track{height:3px;background:#ffffff19}.stat-track i{height:100%;background:var(--cyan);display:block;transition:width .3s}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:var(--orange);color:#171619;padding:18px 22px;font-weight:800;font-size:11px;letter-spacing:1.4px;box-shadow:0 8px 35px #ff955a11}.primary span{font-size:20px;font-weight:400;line-height:10px}.launch-note{text-align:center;font-size:10px;color:var(--muted);letter-spacing:.5px;margin-top:11px}.briefing{position:absolute;right:42px;top:8%;width:213px;border-top:1px solid var(--line);padding-top:19px}.briefing .eyebrow{font-size:8px;letter-spacing:1.5px;color:var(--muted)}h2{font-size:29px;letter-spacing:-1px;line-height:1.15;font-weight:500}.briefing p{font-size:11px;color:#93a9bd;margin-bottom:23px}.mission-line{display:flex;gap:15px;font-size:10px;line-height:1.7;margin:17px 0;color:#9cb0c4}.mission-line b{font-size:10px;color:var(--orange);font-weight:400}.record{margin-top:25px;border-top:1px solid var(--line);padding-top:18px;font-size:8px;letter-spacing:1.4px;color:var(--muted);display:flex;justify-content:space-between}.record strong{color:var(--white);font-size:12px;font-weight:400}.preview-caption{position:absolute;left:42%;bottom:222px;display:flex;flex-direction:column;gap:8px;font-size:7px;letter-spacing:1.5px;color:#71869b}.preview-caption span:first-child{font-size:11px;color:var(--cyan)}.fleet{position:absolute;left:42px;right:42px;bottom:59px}.fleet-label{font-size:10px;letter-spacing:2px;margin-bottom:14px;display:flex;gap:18px;align-items:center}.fleet-label span{font-size:8px;color:var(--muted);letter-spacing:1.1px}.fleet-label .fleet-hint{margin-left:auto}#fleet-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.ship-card{position:relative;min-width:0;height:112px;overflow:hidden;border:1px solid #ffffff16;background:#0c18268f;text-align:left;padding:0 10px 10px;transition:background .2s,border-color .2s}.ship-card img{height:77px;width:100%;object-fit:contain;mix-blend-mode:screen;opacity:.8;display:block}.ship-card .card-num{position:absolute;top:8px;left:8px;font-size:7px;color:#7e9aad;letter-spacing:1px}.ship-card b{display:block;font-size:8px;font-weight:500;letter-spacing:1px}.ship-card.selected{border-color:var(--cyan);background:#1633438a}.ship-card.selected:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--cyan)}.ship-card.selected img{opacity:1}footer{position:absolute;bottom:0;left:42px;right:42px;height:40px;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;color:#778da1;border-top:1px solid var(--line)}kbd{border:1px solid #ffffff30;font-family:inherit;font-size:8px;padding:3px 5px;margin-right:7px;margin-left:10px;color:#b7cad9}kbd:first-child{margin-left:0}#loading{position:fixed;inset:0;z-index:100;background:#080e18;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px}#loading p{font-size:12px;color:var(--muted)}.load-track{width:260px;height:2px;background:#ffffff18}.load-track i{display:block;background:var(--cyan);height:100%;width:0;transition:width .15s}#hud{position:fixed;inset:92px 0 0;pointer-events:none}.mission-hud{position:absolute;top:29px;left:42px}.mission-hud h2{font-size:24px;letter-spacing:.5px;margin:10px 0}.mission-hud p{font-size:11px;color:var(--muted);margin:0}.score-hud{position:absolute;top:28px;right:42px;text-align:right}.score-hud>span,.score-hud small{display:block;font-size:9px;letter-spacing:1.7px;color:var(--muted)}.score-hud strong{font-size:36px;font-weight:400;letter-spacing:4px;line-height:1.5;font-variant-numeric:tabular-nums}.flight-status{position:absolute;bottom:34px;left:42px;width:235px}.flight-status>span{display:block;font-size:13px;letter-spacing:3px;margin-bottom:24px}.meter-title{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);letter-spacing:1.5px;margin:13px 0 8px}.meter-title b{color:var(--white);font-weight:400}.track{height:4px;background:#ffffff1a}.track i{display:block;width:100%;height:100%;background:var(--cyan);transition:width .12s}.track.boost i{background:var(--orange)}.speed-hud{position:absolute;bottom:33px;right:42px;text-align:right}.speed-hud strong{font-size:48px;font-weight:300;letter-spacing:-2px;display:block;font-variant-numeric:tabular-nums}.speed-hud>span{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.speed-hud button{display:block;margin-top:20px;margin-left:auto;pointer-events:auto}.speed-hud small{color:var(--muted);margin-left:16px}.reticle{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);width:64px;height:64px;border:1px solid #83e8f526;border-radius:50%;color:#bceefa80;display:grid;place-items:center}.reticle b{font-size:22px;font-weight:200}.reticle i{position:absolute;width:4px;height:4px;top:-2px;background:var(--cyan)}#flight-help{position:absolute;bottom:34px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:.3px;color:#9cb7c9;transition:opacity 1s;white-space:nowrap}#toast{position:absolute;left:50%;top:22%;transform:translateX(-50%);font-size:13px;letter-spacing:3px;text-align:center;color:var(--cyan);transition:opacity .3s;opacity:0;white-space:nowrap}#boss-hud{position:absolute;top:36px;left:34%;width:32%;text-align:center}#boss-hud>span{font-size:9px;letter-spacing:2px;color:var(--orange);display:block;margin-bottom:12px}#boss-fill{background:var(--orange)}#damage-flash{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 130px #ff4a3290;opacity:0}.modal{position:fixed;inset:0;z-index:20;background:#030914a8;backdrop-filter:blur(12px);display:grid;place-items:center}.modal-card{width:min(440px,90vw);border:1px solid #ffffff29;background:#0b1624eb;padding:39px}.modal-card h2{font-size:39px;margin:20px 0}.modal-card p{font-size:12px;color:var(--muted);margin-bottom:26px}.secondary{display:block;width:100%;border:1px solid #ffffff25;background:transparent;padding:15px;font-size:10px;letter-spacing:1px;margin-top:12px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:26px 0 32px;gap:18px;font-size:8px;color:var(--muted);letter-spacing:1px}.result-grid strong{display:block;font-size:25px;color:var(--white);font-weight:400;letter-spacing:0;margin-top:8px}#touch-controls{display:none}body.playing .vignette{background:linear-gradient(0deg,#030a14b3,transparent 22%,transparent 73%,#030a1466)}
@media(max-height:760px) and (min-width:901px){header{height:72px}.screen,#hud{top:72px}.ship-info,.briefing{top:5%}.ship-info{width:270px}h1{margin-top:20px;font-size:43px}.description{margin-bottom:14px;min-height:54px}#ship-stats{margin-bottom:20px}.stat{margin:10px 0}.briefing h2{margin:16px 0}.mission-line{margin:12px 0}.briefing p{margin-bottom:12px}.record{margin-top:15px}.ship-card{height:93px}.ship-card img{height:63px}.fleet{bottom:48px}.preview-caption{bottom:182px}.primary{padding:15px 20px}.role{margin-bottom:15px}}
@media(max-width:1100px){.briefing{width:170px;right:25px}.ship-info{left:25px;width:250px}header{padding:0 25px}.fleet,footer{left:25px;right:25px}h1{font-size:39px}#fleet-list{gap:5px}.ship-card{padding:0 6px 7px}.ship-card b{font-size:7px;letter-spacing:.5px}.signal{display:none}.description{font-size:12px}}
@media(max-width:900px){header{height:66px;padding:0 20px}.brand{font-size:21px;letter-spacing:3px;gap:10px}.brand span{font-size:7px;padding-left:10px;letter-spacing:1px}.header-right{gap:8px}.icon-btn{padding:9px 8px;font-size:9px}.screen,#hud{top:66px}.briefing{display:none}.ship-info{top:28px;left:20px;width:245px}.fleet{left:20px;right:20px;bottom:54px}#fleet-list{display:flex;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}.ship-card{min-width:91px;height:97px}.ship-card img{height:65px}.ship-card b{font-size:8px}.preview-caption{left:auto;right:25px;bottom:190px;text-align:right}.fleet-hint{display:none}footer{left:20px;right:20px}footer>span:last-child{display:none}.mission-hud,.flight-status{left:20px}.score-hud,.speed-hud{right:20px}.score-hud strong{font-size:28px}.mission-hud h2{font-size:18px}.flight-status{width:190px}#flight-help{font-size:8px;bottom:10px}#boss-hud{top:115px;left:25%;width:50%}}
@media(max-width:600px){.brand span{display:none}h1{font-size:33px;letter-spacing:-1px;margin:16px 0 5px}.ship-info{top:22px;width:196px}.role{font-size:8px;letter-spacing:1px;margin:10px 0}.description{font-size:11px;max-width:174px;min-height:53px;margin-bottom:13px}.stat{font-size:8px;grid-template-columns:68px 1fr 20px;margin:9px 0;gap:6px}#ship-stats{margin-bottom:17px}.primary{padding:14px 15px;font-size:9px;letter-spacing:.8px}.launch-note{font-size:8px}.eyebrow{font-size:8px;gap:7px;letter-spacing:1px}.fleet-label{font-size:8px;gap:9px}.fleet-label span{font-size:7px}.preview-caption{right:18px;font-size:6px;max-width:125px;line-height:1.7;bottom:175px}.fleet{bottom:37px}.ship-card{height:85px;min-width:83px}.ship-card img{height:58px}footer{height:30px;font-size:6px;letter-spacing:0}kbd{font-size:6px;margin-left:4px;margin-right:3px}.mission-hud{top:22px}.mission-hud h2{font-size:15px}.mission-hud p{max-width:165px;font-size:9px}.score-hud{top:21px}.score-hud strong{font-size:23px}.score-hud>span,.score-hud small{font-size:7px}.flight-status{bottom:165px;width:140px}.flight-status>span{font-size:9px;margin-bottom:12px}.meter-title{font-size:7px}.speed-hud{bottom:165px}.speed-hud strong{font-size:30px}.speed-hud>span{font-size:6px}.speed-hud button{margin-top:12px}#flight-help{display:none}#toast{top:30%;font-size:10px;letter-spacing:1px;max-width:90vw;white-space:normal}.modal-card{padding:28px}.modal-card h2{font-size:33px}#boss-hud{top:115px;left:20%;width:60%}}
@media(pointer:coarse){#touch-controls{display:block;pointer-events:auto}#joystick{position:absolute;bottom:30px;left:30px;width:104px;height:104px;border:1px solid #83e8f543;border-radius:50%;background:#19344455;touch-action:none;display:grid;place-items:center}#joystick i{display:block;width:42px;height:42px;background:#83e8f533;border:1px solid #83e8f590;border-radius:50%;pointer-events:none}#touch-fire,#touch-boost{position:absolute;border:1px solid #ff955a88;background:#2c252b88;border-radius:50%;font-size:10px;letter-spacing:1px;touch-action:none}#touch-fire{bottom:37px;right:28px;width:90px;height:90px}#touch-boost{bottom:49px;right:132px;width:65px;height:65px;border-color:#83e8f570;background:#19344466;font-size:8px}.flight-status,.speed-hud{bottom:165px}#flight-help{display:none}}
@media(max-height:570px){.briefing{display:none}.ship-info{top:15px;width:235px}.description,.launch-note,.preview-caption{display:none}h1{font-size:30px;margin:14px 0 5px}.role{margin:7px 0 12px}.stat{margin:7px 0}#ship-stats{margin-bottom:15px}.fleet{bottom:30px}.fleet-label{margin-bottom:7px}.ship-card{height:61px;min-width:70px}.ship-card img{height:42px}.ship-card b{font-size:7px}footer{height:25px}header{height:58px}.screen,#hud{top:58px}.fleet{left:285px;bottom:24px}.fleet-label span{display:none}#fleet-list{overflow-x:auto;display:flex}.ship-info .eyebrow{font-size:8px}.flight-status{bottom:24px;width:150px}.speed-hud{bottom:24px}.flight-status>span{margin-bottom:10px}.meter-title{margin:8px 0 6px}.speed-hud strong{font-size:28px}.mission-hud h2{font-size:17px}#toast{top:36%}#boss-hud{top:20px}#flight-help{display:none}.modal-card{padding:24px}.modal-card h2{font-size:30px;margin:15px 0}}
/* Expansion: studio opening, campaign choices and shared records. */
#splash{position:fixed;inset:0;background:#030a13;z-index:110;display:grid;place-items:center}#splash>img{position:absolute;width:100%;height:100%;object-fit:cover}#splash:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#020811ed,transparent 40%);pointer-events:none}.splash-bottom{position:absolute;z-index:1;bottom:5%;width:min(350px,80vw);text-align:center}.splash-bottom p{font-size:13px;letter-spacing:4px;text-shadow:0 2px 10px #000}.splash-bottom small{display:block;margin-top:14px;color:#becedb;font-size:12px}#loading{background:transparent;pointer-events:none;justify-content:flex-end;padding-bottom:22px}#loading .brand,#loading p,#loading .load-track{display:none}.mode-switch{display:flex;gap:5px;margin:14px 0 8px}.mode-switch button{background:#071321b8;border:1px solid #ffffff26;padding:10px 12px;flex:1;font-size:10px;letter-spacing:1px}.mode-switch button[aria-pressed=true]{border-color:var(--cyan);color:var(--cyan);background:#143441bb}#mode-description{color:var(--muted);font-size:10px;margin:8px 0 14px}#ship-stats{margin-bottom:17px}.ranking-card{width:min(660px,94vw);max-height:90dvh;overflow:auto}.rank-heading{display:flex;align-items:flex-start;justify-content:space-between}.rank-heading h2{font-size:30px}.rank-heading button{font-size:18px}.profile-form{display:grid;grid-template-columns:1fr 90px;gap:10px;margin-bottom:15px}.profile-form label{grid-column:1/-1;font-size:12px;letter-spacing:1px;color:var(--muted)}.profile-form input{min-width:0;background:#07111d;border:1px solid #416070;color:#e8f3fc;font:inherit;padding:11px;font-size:16px}.profile-form .secondary{margin:0}.record-cards{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.record-cards>div{border:1px solid #294550;padding:17px;font-size:12px;color:var(--muted)}.record-cards strong{display:block;font-size:33px;font-weight:400;color:var(--cyan);margin:9px 0}.record-cards span{font-size:12px}.rank-table-wrap{max-height:250px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:12px 9px;border-bottom:1px solid #ffffff18}th{color:var(--muted);font-weight:400;font-size:12px}td:last-child,th:last-child{text-align:right}.ranking-card p{font-size:14px;margin:9px 0 18px}.ranking-card details{font-size:14px;margin:20px 0}.ranking-card summary{cursor:pointer;color:var(--cyan)}#personal-history{padding-left:16px;color:#a5b8c9;font-size:12px;line-height:2}.upgrade-card{width:min(780px,93vw)}.upgrade-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.upgrade-options button{padding:25px 15px;background:#102332;border:1px solid #41626a;text-align:left}.upgrade-options b{font-size:14px;color:var(--cyan)}.upgrade-options span{display:block;margin-top:10px;font-size:13px;line-height:1.5;color:#acbfcd}#challenge{color:var(--orange);font-size:11px;margin-top:8px}#pulse-status{color:var(--orange);font-size:9px;letter-spacing:1px}#save-status{font-size:12px!important;margin:12px 0!important}#touch-pulse{display:none}#boss-hud{top:85px}.briefing h2{font-size:26px}.briefing .mission-line{margin:12px 0}
@media(max-height:760px) and (min-width:901px){.ship-info{top:3%}.description{min-height:40px;font-size:12px;margin-bottom:10px}.role{margin-bottom:10px}.stat{margin:8px 0}#ship-stats{margin-bottom:8px}.mode-switch{margin-top:10px}.mode-switch button{padding:8px}#mode-description{margin:6px 0 10px}.launch-note{display:none}}
@media(max-width:600px){#splash>img{object-fit:contain}.splash-bottom{bottom:10%}.splash-bottom p{font-size:10px;letter-spacing:2px}.header-right{gap:5px}.brand{font-size:18px}header{padding:0 14px}.mode-switch button{padding:8px 7px;font-size:8px}#ship-stats{margin-bottom:8px}#mode-description{font-size:9px}.launch-note{display:none}.ship-info{width:196px}.description{font-size:10px;min-height:40px}.ranking-card{padding:22px}.rank-heading h2{font-size:25px}.record-cards strong{font-size:26px}.record-cards>div{padding:12px}.upgrade-options{grid-template-columns:1fr}.upgrade-options button{padding:17px}.upgrade-options span{margin-top:6px}.upgrade-card h2{font-size:28px}#boss-hud{top:117px}#challenge{max-width:210px;font-size:9px}.flight-status{bottom:175px}}
@media(pointer:coarse){#touch-pulse{display:block;position:absolute;right:132px;bottom:124px;width:65px;height:50px;background:#322720c9;border:1px solid var(--orange);font-size:9px;touch-action:none}}
@media(max-height:570px){.ship-info{top:12px}.ship-info h1{font-size:26px}.ship-info .role{margin:6px 0}.mode-switch{margin:9px 0 4px}#mode-description{font-size:9px;margin:5px 0 8px}.ship-info .primary{padding:13px}.briefing{display:none}.splash-bottom{bottom:4%;width:280px}.splash-bottom p{display:none}}

/* Nova ofensiva: original score, live power timers and visible equipment. */
.brand-icon{width:30px;height:30px;flex:none;border-radius:7px}.music-control{display:grid;gap:14px;margin:22px 0 26px;color:#a8c3d2;font-size:10px;letter-spacing:1px}.music-control input{width:100%;accent-color:#83e8f5;cursor:pointer}.modal-card{max-height:92dvh;overflow-y:auto}.upgrade-options button{cursor:pointer;transition:background .2s,transform .2s}.upgrade-options button:hover,.upgrade-options button:focus-visible{background:#1b3a4a;border-color:#82efff;transform:translateY(-3px)}.upgrade-options i{font-style:normal;display:block;font-size:36px;color:#ffd08a;margin-bottom:16px}.upgrade-options small{display:block;margin-top:18px;color:#ffd08a;letter-spacing:1px;font-size:9px}
#power-status{position:absolute;left:50%;bottom:38px;transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:min(520px,42vw)}.power-chip{position:relative;display:flex;gap:15px;align-items:center;padding:12px 13px 15px;border:1px solid color-mix(in srgb,var(--power) 45%,transparent);background:#081523e8;color:var(--power);font-size:10px;overflow:hidden}.power-chip span{font-size:13px;font-variant-numeric:tabular-nums}.power-chip i{height:3px;position:absolute;bottom:0;left:0;background:var(--power)}#equipment-status{position:absolute;bottom:13px;width:100%;text-align:center;color:#a1c6d4;font-size:8px;letter-spacing:1px}#combat-status{position:absolute;top:148px;width:100%;text-align:center;color:#ffd294;letter-spacing:1.5px;font-size:10px;text-shadow:0 2px 8px #000}.medals{border-top:1px solid #254252;padding-top:15px;color:#ffd294!important;font-size:12px!important}#share-status{display:block;margin-top:10px;line-height:1.5;color:#aad8e2}#toast{max-width:680px;white-space:normal;line-height:1.7;text-align:center}
@media(max-width:600px){.brand-icon{width:25px;height:25px}.brand{gap:6px;letter-spacing:2px}.signal{display:none}#power-status{bottom:315px;width:94%;gap:5px}.power-chip{font-size:8px;padding:7px 8px 10px;gap:8px}.power-chip span{font-size:10px}#equipment-status{bottom:151px;font-size:6px;letter-spacing:.5px;padding:0 15px}#combat-status{top:157px;font-size:8px}#toast{width:90vw;font-size:10px}.upgrade-options i{float:left;font-size:29px;margin:0 13px 0 0}.upgrade-options small{margin-top:10px}.upgrade-options button{padding:14px}.upgrade-card p{font-size:12px}.upgrade-card h2{font-size:27px}.upgrade-options span{font-size:12px}.modal-card{max-height:92dvh}}
@media(max-height:570px){#power-status{bottom:100px;width:45%;left:52%}.power-chip{padding:6px 8px 9px;font-size:8px}#combat-status{top:90px}.upgrade-card{width:90vw}.upgrade-options{grid-template-columns:repeat(3,1fr)}.upgrade-options i{font-size:20px;margin-bottom:8px}.upgrade-options button{padding:12px}.upgrade-card h2{font-size:25px;margin:9px 0}.upgrade-card p{font-size:12px;margin-bottom:10px}#equipment-status{bottom:7px}}
@media(prefers-reduced-motion:reduce){.upgrade-options button{transition:none}}
/* Hardcore keeps the hangar's identity, with a distinct warning accent. */
.mode-switch button{font-size:12px;letter-spacing:.3px;padding:11px 7px;min-height:42px;min-width:0}
.mode-switch button[data-mode=hardcore]{color:#ff9a97;border-color:#934444}
.mode-switch button[data-mode=hardcore][aria-pressed=true]{color:#ffe7e4;border-color:#ff6865;background:#6b202bc9}
#mode-description{font-size:12px;line-height:1.5;min-height:36px}
#threat-level{display:inline-block;margin:5px 0;padding:5px 8px;border-left:2px solid #ffbd7a;background:#080e18cc;color:#ffd09d;font-size:12px;letter-spacing:.6px}
#threat-level.hardcore{color:#ff9996;border-color:#ff6663}
@media(max-width:600px){.ship-info .mode-switch{flex-wrap:wrap}.ship-info .mode-switch button[data-mode=hardcore]{flex-basis:100%}.ship-info .mode-switch{gap:4px;margin-top:6px}#mode-description{font-size:12px;margin:6px 0 9px}#threat-level{font-size:10px;padding:3px 5px}#boss-hud{top:148px}#combat-status{top:187px}}
@media(max-height:570px){.ship-info .mode-switch{flex-wrap:nowrap}.ship-info .mode-switch button[data-mode=hardcore]{flex-basis:auto}.mode-switch button{font-size:10px;min-height:36px}#threat-level{font-size:10px}#combat-status{top:135px}}
/* Flight deck for two pilots. */
.ship-info .mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px}.duo-entry{width:100%;margin:6px 0 10px;padding:11px;border-color:#8aa0ff;color:#cbd3ff;display:flex;justify-content:space-between;font-size:13px}.duo-entry span{font-size:11px}
.duo-menu-card{width:min(860px,95vw);padding:28px}.duo-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.duo-heading h2{margin:15px 0 24px;font-size:30px}.duo-heading .icon-btn{font-size:20px}.duo-options{display:grid;gap:12px}.duo-options button{text-align:left;padding:23px;background:#102333;border:1px solid #426476}.duo-options b{font-size:16px;color:var(--cyan)}.duo-options span{display:block;margin-top:9px;font-size:14px;line-height:1.5;color:#afc4d5}.duo-options button:last-child{border-color:#785782}.duo-options button:last-child b{color:#e0b6ff}
#duo-setup p{font-size:14px;line-height:1.6}#duo-back{margin:0 0 20px;font-size:12px}.duo-selects{display:grid;grid-template-columns:1fr 1fr;gap:15px}.duo-selects label,.commander-label{display:grid;gap:9px;font-size:13px;color:#b9d5e4}.duo-menu-card select,.duo-menu-card input{width:100%;font-size:16px;padding:12px;background:#0a1927;color:#e6f3ff;border:1px solid #547184;border-radius:3px}.room-join{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:24px}.room-join label{grid-column:1/-1;font-size:13px}.room-join .secondary{margin:0}.room-invite{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;background:#153044}.room-invite small{display:block;font-size:12px;color:#abc4d5}.room-invite strong{font-size:29px;letter-spacing:3px;display:block;margin-top:8px;user-select:all}.room-invite button{font-size:12px;padding:12px;margin:0}.room-pilots{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.room-pilots div{padding:14px;border:1px solid #3c5c6c;font-size:14px;line-height:1.7}.room-pilots small{display:block;color:#abc4d5}.commander-label{margin:18px 0}.army-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.army-grid button{padding:8px;background:#102335;border:1px solid #355b70;font-size:11px}.army-grid img{width:100%;height:65px;object-fit:contain}.army-grid b{display:block}.army-slots{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.army-slots button{font-size:12px;border:1px solid #a78be5;background:#2e2345;padding:9px}.room-note{display:block;font-size:12px;line-height:1.5;color:#99b4c5;margin-top:15px}#room-start{margin-top:12px;background:#91ecd3}#duo-error{color:#ffb68e;font-size:14px;margin-bottom:0;min-height:20px}
body.duo-playing>header,body.duo-playing>.vignette{display:none}#duo-hud{position:fixed;inset:0;z-index:9;pointer-events:none}#duo-hud button{pointer-events:auto;touch-action:none;background:#0c233ce8;border:1px solid #7695ab;color:#edf8ff;padding:10px;font-size:12px;border-radius:5px}#duo-top{position:absolute;top:0;left:0;right:0;z-index:3;height:46px;background:#051021de;display:flex;align-items:center;gap:12px;padding:5px 12px;font-size:12px}#duo-top b{color:#8dedff;white-space:nowrap}#duo-progress{flex:1}#duo-network{position:absolute;top:43px;width:100%;text-align:center;color:#ffd392;font-size:13px;z-index:4;background:#081725cc;margin:0}.pilot-view{position:absolute;top:46px;bottom:0;width:50%;border-right:1px solid #70899c55}.pilot-view[data-pilot="1"]{left:50%;border-left:1px solid #70899c55}.duo-vitals{position:absolute;top:24px;left:15px;right:15px;font-size:12px;display:grid;grid-template-columns:1fr auto;gap:6px;color:#8cefff}.pilot-view[data-pilot="1"] .duo-vitals{color:#ffbe77}.pilot-health{width:100%;height:6px;grid-column:1/-1;accent-color:#71eaf7}.pilot-detail{grid-column:1/-1;color:#d8e6ed;font-size:11px}.duo-controls{position:absolute;inset:auto 12px 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.duo-stick{width:90px;height:90px;border-radius:50%;border:1px solid #bad9e577;background:#183a5466;position:relative;touch-action:none;pointer-events:auto;flex-shrink:0}.duo-stick i{display:block;position:absolute;top:29px;left:29px;width:30px;height:30px;border-radius:50%;background:#93d6ed88;border:1px solid #cef4ff}.duo-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-width:180px}#duo-hud .duo-actions button{min-width:60px;min-height:40px;font-size:10px}#duo-hud .duo-actions button[data-action=fire]{grid-column:1/-1;min-height:55px;background:#733725c9;border-color:#ffb07a;font-size:12px}.duo-single .pilot-view{left:0!important;width:100%!important;border:0}.duo-single .pilot-view[data-pilot="1"]{display:none}.duo-single .duo-controls{max-width:550px;left:50%;width:calc(100% - 30px);transform:translateX(-50%)}#duo-result{pointer-events:auto}#duo-result .primary{background:var(--orange);color:#171619;padding:16px}#duo-result h2{font-size:30px}
@media(orientation:portrait){#duo-hud:not(.duo-single) .pilot-view{left:0;top:46px;bottom:auto;width:100%;height:calc((100% - 46px)/2);border-bottom:1px solid #91b8ce}#duo-hud:not(.duo-single) .pilot-view[data-pilot="1"]{top:calc(50% + 23px)}.duo-vitals{top:16px}.duo-controls{bottom:12px}.duo-stick{width:80px;height:80px}.duo-stick i{top:24px;left:24px}#duo-top{gap:6px;font-size:10px}#duo-top button{font-size:10px;padding:8px}#duo-progress{font-size:10px}}
@media(max-width:600px){.duo-menu-card{padding:20px}.duo-heading h2{font-size:25px}.army-grid{grid-template-columns:repeat(3,1fr)}.room-invite strong{font-size:24px}.room-pilots{gap:6px}.room-pilots div{font-size:12px;padding:9px}.duo-entry{font-size:12px}.ship-info{top:12px}.ship-info .description{display:none}.ship-info .role{margin:7px 0}.ship-info h1{margin:12px 0 4px}.ship-info .mode-switch button{min-height:34px;padding:7px}#mode-description{min-height:0;margin:5px 0;font-size:11px}.duo-entry{padding:9px;margin:6px 0}.duo-vitals{font-size:11px}.duo-selects{gap:9px}.duo-options button{padding:18px}}
@media(max-height:570px){.ship-info .duo-entry{padding:7px;min-height:30px;margin:4px 0}.ship-info .mode-switch{margin:4px 0}.ship-info .mode-switch button{min-height:28px;padding:5px}.ship-info #mode-description{font-size:10px;min-height:0;margin:4px 0}.duo-controls{bottom:8px}.duo-stick{width:70px;height:70px}.duo-stick i{top:19px;left:19px}.duo-vitals{top:8px}.duo-actions{gap:4px}#duo-hud .duo-actions button{min-height:30px;padding:6px}#duo-hud .duo-actions button[data-action=fire]{min-height:38px}}

/* Órion store */
.shop-card{width:min(1050px,95vw);padding:32px;max-height:94dvh}.shop-heading{display:flex;justify-content:space-between;gap:20px}.shop-heading h2{margin:12px 0 8px}.shop-heading p{margin:0 0 20px}.shop-heading>button{align-self:flex-start}.wallet-line{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#122b36;border:1px solid #497785;gap:20px}.wallet-line small{font-size:9px;letter-spacing:2px;color:#9bbdc8}.wallet-line strong{display:block;font-size:35px;color:#ffc574;font-weight:500;margin-top:4px}.wallet-line a,.wallet-line>span{font-size:10px;color:#a4eaff;max-width:220px;line-height:1.7}.shop-explain{font-size:12px!important;margin:16px 0!important}.shop-tabs{display:flex;gap:5px;margin:22px 0 18px;overflow-x:auto}.shop-tabs button{border:1px solid #315263;background:#091923;padding:12px;font-size:10px;white-space:nowrap}.shop-tabs button[aria-pressed=true]{border-color:#ffc574;color:#ffc574}.shop-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shop-product{background:#0c1e2b;border:1px solid #2d4e61;padding:20px;display:flex;flex-direction:column;min-width:0}.shop-product.master-product{border-color:#b18445;background:linear-gradient(145deg,#24251f,#0b1b2b)}.shop-product>img{width:100%;height:155px;object-fit:contain}.product-symbol{height:100px;display:grid;place-items:center;font-size:55px;color:#ffc574}.shop-product h3{font-size:16px;letter-spacing:1px;margin:18px 0 9px}.shop-product p{font-size:12px;margin:0 0 16px;line-height:1.6}.product-tag{font-size:8px;letter-spacing:1px;color:#a8cad9;margin:auto 0 14px}.shop-product .secondary{font-size:9px;line-height:1.5;background:#132d3a;border-color:#3c6277}.product-price{font-size:25px;color:#ffd19a;margin:4px 0 10px}.product-price del{font-size:13px;color:#93a7b3;margin-right:6px}.sale-timing{font-size:10px!important}.shop-product label{font-size:9px;letter-spacing:1px;margin:10px 0}.shop-product select{display:block;width:100%;margin-top:8px;background:#081624;color:#d8edf6;padding:12px;border:1px solid #4d7481;font-size:13px}.shop-note{margin:24px 0 15px!important;font-size:11px!important}.wallet-history{font-size:12px;color:#a8c6d5}.wallet-history li{margin:10px 0}#shop-status{font-size:12px;line-height:1.6;margin:15px 0;color:#ffc574;min-height:20px}#wallet-header{color:#ffd292;margin-left:6px}.ship-card.locked{opacity:.62;position:relative}.ship-card.locked:after{content:'BLOQUEADA';position:absolute;top:5px;right:5px;font-size:6px;background:#081621;color:#ffd399;padding:4px}#fleet-list{display:flex;overflow-x:auto;scrollbar-width:thin}.ship-card{flex:0 0 calc((100% - 90px)/10);min-width:93px}
@media(max-width:900px){.header-right{gap:4px}.brand span{display:none}.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-card{padding:24px}.signal{display:none}}
@media(max-width:600px){.shop-products{grid-template-columns:1fr}.shop-heading h2{font-size:29px}.shop-card{padding:20px}.wallet-line{padding:14px}.wallet-line strong{font-size:29px}.wallet-line a{max-width:150px;font-size:9px}.shop-product>img{height:180px}.shop-tabs{margin-top:18px}.shop-tabs button{font-size:8px;padding:10px}.brand{font-size:15px;letter-spacing:1px;gap:3px}.brand-icon{width:21px;height:21px}.header-right .icon-btn{padding:8px 6px;font-size:8px}#wallet-header{display:inline-flex}.ship-card{min-width:83px}}

#pix-checkout,#payment-orders{border:1px solid #335266;border-radius:18px;padding:22px;margin-top:20px}#pix-qr{display:block;max-width:100%;margin:18px 0;border-radius:10px}#pix-code{width:100%;box-sizing:border-box;background:#05101c;color:#c0eaff;border:1px solid #416177;border-radius:10px;padding:12px;word-break:break-all}.payment-order{padding:18px 0;border-bottom:1px solid #335266}.payment-order small{display:block;overflow-wrap:anywhere}.payment-order input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:12px;margin:12px 0;background:#061626;color:white;border:1px solid #476170}.payment-order label{display:block;padding:12px 0}.payment-order button{margin-top:10px}#pix-checkout p{line-height:1.6;color:#b9c9d6}#shop-orders,#shop-admin{margin:15px 8px 0 0}

#duo-reward{z-index:95;pointer-events:auto}.duo-reward-pilot{border:1px solid #32546b;padding:18px;margin:12px 0;border-radius:14px}.duo-reward-pilot select{display:block;width:100%;margin:10px 0;padding:12px;background:#0b2234;color:#dffcff;border:1px solid #41687c;border-radius:8px}#duo-reward-status{color:#ffce88}

/* Keep all three ship attributes reachable on phones and short windows. */
.ship-info{bottom:210px;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;pointer-events:auto;padding-right:10px}
.ship-info #ship-stats{display:block;margin:16px 0}
.ship-info .stat{grid-template-columns:100px minmax(35px,1fr) 24px;font-size:12px;letter-spacing:0;gap:8px;margin:9px 0}
.ship-info .stat-track{height:6px;border-radius:4px;overflow:hidden}.ship-info .stat-track i{border-radius:4px}
.legacy-reward{padding:14px 18px;border:1px solid #997333;background:#302711;color:#ffdb9b;font-size:14px;line-height:1.6}
@media(max-width:600px){.ship-info{width:min(250px,calc(100vw - 40px));bottom:160px;max-height:none}.ship-info #ship-stats{margin:12px 0}.ship-info .stat{font-size:12px;margin:8px 0}.ship-info .role{font-size:10px}.ship-info .mode-switch{display:grid;grid-template-columns:1fr 1fr}.ship-info .mode-switch button{font-size:11px}.ship-info .mode-switch button[data-mode=hardcore]{flex-basis:auto}}
@media(max-height:570px){.ship-info{max-height:none;bottom:30px}.ship-info #ship-stats{margin:10px 0}.ship-info .stat{margin:7px 0}}

/* Blender arsenal and interstellar Orion crystal */
.orion-icon{width:26px;height:26px;object-fit:contain;vertical-align:middle;flex-shrink:0}.wallet-total{display:flex;align-items:center;gap:14px}.orion-wallet{width:76px;height:76px;object-fit:contain}#wallet-header{display:inline-flex;align-items:center;gap:2px}.wallet-history li .orion-icon{margin-right:6px}.gear-pair{display:flex;align-items:center;height:155px}.gear-pair img{width:50%;height:100%;object-fit:contain}.shop-product>img,.gear-pair{background:radial-gradient(ellipse,#16374580,transparent 70%)}.shop-product .secondary .orion-icon{width:22px;height:22px}.wallet-line small{font-size:12px}.shop-product p{font-size:14px}.product-tag{font-size:12px;letter-spacing:.4px}.shop-product .secondary{font-size:12px}.shop-product label{font-size:12px}.shop-tabs button{font-size:12px}
@media(max-width:600px){.orion-wallet{width:54px;height:62px}.wallet-total{gap:6px}.wallet-line{flex-wrap:wrap;gap:12px}.wallet-line a{max-width:none;font-size:12px}.header-right #wallet-header{font-size:11px}.header-right .orion-icon{width:21px;height:21px}.gear-pair{height:180px}.shop-tabs button{font-size:12px}}

.shop-product.bundle-product{border-color:#99d5ef;background:linear-gradient(145deg,#16354b,#111a2c)}.bundle-images{height:155px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:90px 65px}.bundle-images img{width:100%;height:100%;object-fit:contain}.bundle-images img:first-child{grid-column:1/-1}.bundle-saving{color:#a3f1db}.bundle-owned{color:#ffd39d}

.invite-entry{font-size:12px;line-height:1.5;letter-spacing:.4px;color:#b9f3ff;border-color:#568296;margin-top:10px;white-space:normal}.invite-incoming{border-color:#ffc574;color:#ffc574}.referral-card{width:min(590px,94vw);max-height:92dvh;overflow-y:auto}.referral-card h2{font-size:32px;margin:16px 0}.referral-card p{font-size:15px;line-height:1.6}.referral-reward{display:grid;grid-template-columns:85px 1fr;align-items:center;margin:14px 0}.referral-reward img{width:80px;height:90px;object-fit:contain;grid-row:1/3}.referral-reward strong{font-size:32px;color:#b9f3ff}.referral-reward span{font-size:14px;color:#9ab6c8}.referral-note{color:#9ab6c8}.referral-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.referral-card .primary,.referral-card .secondary{font-size:12px;letter-spacing:.4px}.referral-card label{font-size:12px;color:#aacbdb}#referral-link{width:100%;box-sizing:border-box;background:#071422;border:1px solid #4b7182;color:#c7ecf7;padding:12px;margin-top:8px;font-size:14px}#referral-status{color:#ffcf90}#referral-screen{z-index:100}.referral-card a.primary{display:block;text-align:center;text-decoration:none;padding:16px}

.duo-partner-label{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px;color:#b8eafa;margin:16px 0}.duo-partner-label select{padding:12px;border:1px solid #4f8296;background:#0b1b2b;color:#e8f3fc;font-size:14px}.duo-robot-local .pilot-view[data-pilot="1"] .duo-controls{display:none}#duo-robot-note{color:#abd9e7;font-size:14px}

/* Flight log and optional store offers */
.prize-summary{grid-column:1/-1;padding:20px;border:1px solid #344565;border-radius:14px;background:#122035}.prize-summary h3{margin-top:0}.prize-summary p{color:#c2d3e5;line-height:1.6}.prize-card{position:relative;gap:12px}.prize-card progress{width:100%;height:10px;accent-color:#76e9e1}.prize-value{color:#8cf4e7;font-size:22px}.prize-earned{border-color:#56c7ad;background:linear-gradient(145deg,#133331,#101a2c)}.prize-earned small{color:#8cf4e7}.offer-dialog{color:#e7effb;background:#101b2d;border:1px solid #52778e;border-radius:22px;width:min(440px,calc(100vw - 48px));max-height:85dvh;overflow:auto;padding:26px;box-shadow:0 30px 100px #000a}.offer-dialog::backdrop{background:#030915ba;backdrop-filter:blur(8px)}.offer-art{width:100%;height:150px;object-fit:contain;border-radius:12px}.offer-dialog h2{font-size:28px}.offer-dialog p{line-height:1.5;color:#c7d4e6}.offer-note{font-size:12px}.offer-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.offer-mute{display:flex;align-items:center;gap:9px;font-size:12px;color:#c7d4e6}.offer-mute input{width:18px;height:18px}.shop-tabs{flex-wrap:wrap}

.shop-product .item-feedback{margin:12px 0 0;color:#a7f0e5;font-size:13px;line-height:1.5}
/* Public game introduction and crawlable help link. */
.splash-bottom{width:min(430px,88vw)}.splash-bottom h1{font-size:20px;line-height:1.25;letter-spacing:0;margin:0 0 12px;text-shadow:0 2px 10px #000}.splash-bottom .splash-intro{font-size:15px;letter-spacing:0;line-height:1.45;margin:0 0 18px;color:#d0dfeb}.about-link{color:#b9e7f2;text-decoration:underline;text-underline-offset:4px}.splash-bottom .about-link{display:inline-block;font-size:14px;margin-top:14px}footer .about-link{font-size:11px}@media(max-height:570px){.splash-bottom h1{font-size:16px;margin-bottom:10px}.splash-bottom .about-link{margin-top:8px}.splash-bottom small{margin-top:8px}}
/* Keep the flight actions outside the scrolling ship details. */
#hangar{inset:92px 0 0}.ship-info{top:20px;bottom:192px;width:300px;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:visible;padding-right:0;gap:12px}.ship-details{overflow:auto;min-height:0;padding:0 12px 8px 0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#83e8f5 #142333}.ship-details h1{margin-top:10px;font-size:36px}.ship-details .description{font-size:14px;min-height:0}.ship-details .role{font-size:12px}.launch-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;border-top:1px solid #ffffff30;background:#080e18e8}.launch-actions button{margin:0;min-height:46px;padding:12px;font-size:12px;letter-spacing:.2px;text-align:left}.launch-actions #launch{grid-column:1/-1;grid-row:1;font-size:14px}.launch-actions #invite-friend{grid-column:1/-1;font-size:12px}.ship-info .launch-note{display:none}.ship-info .mode-switch button{min-height:40px;font-size:12px}.ship-info #mode-description{font-size:12px}.fleet{bottom:48px}.fleet-label{font-size:12px}#fleet-list{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px;scrollbar-width:thin}.ship-card{flex:0 0 105px;height:105px}.ship-card b{font-size:11px;letter-spacing:0}.ship-card img{height:74px}.preview-caption{bottom:200px}.header-right .icon-btn{min-height:42px;font-size:12px;letter-spacing:0}.account-card{max-height:88dvh;overflow:auto}.account-card p{font-size:16px;line-height:1.6}.account-card a{font-size:14px;text-decoration:none;line-height:1.5}#training-panel{position:fixed;z-index:25;top:165px;left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 32px));padding:18px;background:#0a1d2df2;border:1px solid #83e8f5;box-shadow:0 10px 40px #0006}#training-panel strong{font-size:20px;color:#83e8f5}#training-panel p{font-size:16px;margin:10px 0}#training-panel>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}#training-panel button{margin:0;width:auto;padding:12px;font-size:12px}#challenge{max-width:420px;font-size:13px;line-height:1.5}.mission-hud{max-width:65vw}
@media(max-width:900px){header{height:112px;padding:10px 20px;display:flex;flex-wrap:wrap;gap:6px}.brand{height:32px}.header-right{width:100%;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.header-right>*{flex-shrink:0}.header-right .icon-btn{font-size:12px;padding:10px}#hangar{inset:112px 0 0}.ship-info{left:20px;top:10px;width:280px;bottom:172px}.briefing{display:none}.fleet{left:20px;right:20px;bottom:46px}.ship-card{height:88px;flex-basis:94px}.ship-card img{height:59px}#hud{top:112px}.mission-hud{left:16px}.score-hud{right:16px}.preview-caption{display:none}#training-panel{top:190px}footer{left:20px;right:20px}footer>span{display:none}footer .about-link{font-size:12px}}
@media(max-width:600px){.ship-info{width:calc(100% - 40px);bottom:158px;grid-template-rows:minmax(100px,1fr) auto;gap:6px}.ship-details{max-width:245px;background:linear-gradient(90deg,#080e18da,#080e1800)}.ship-details h1{font-size:28px}.ship-details .description{display:none}.ship-details .role{margin:6px 0}.ship-details #ship-stats{margin:9px 0}.launch-actions{grid-template-columns:1fr 1fr 1fr;background:#080e18eb;gap:6px}.launch-actions #launch{grid-column:1/3}.launch-actions #open-duo{grid-row:1;grid-column:3}.launch-actions #invite-friend{grid-column:1/3}.launch-actions #open-training{grid-column:3}.launch-actions button{font-size:11px;padding:10px;min-height:48px}.launch-actions #open-duo span{display:none}.ship-info .mode-switch{grid-template-columns:repeat(2,1fr)}.fleet-label>span{font-size:10px}.fleet-hint{display:none}.mission-hud{max-width:65vw}#challenge{font-size:12px}#training-panel{top:180px}#training-panel strong{font-size:18px}#training-panel p{font-size:14px}.account-card{padding:22px}}
@media(max-height:570px) and (min-width:601px){header{height:58px;flex-wrap:nowrap}.brand{font-size:18px}.header-right{width:auto;max-width:70%;padding:0}#hangar{inset:58px 0 0}.ship-info{top:8px;bottom:12px;width:310px;left:16px;grid-template-rows:minmax(70px,1fr) auto;gap:4px}.launch-actions{gap:5px}.launch-actions button{min-height:38px;padding:9px}.fleet{left:350px;right:16px;bottom:42px}.fleet-label>span{display:none}.ship-card{flex-basis:90px}.preview-caption,.briefing{display:none}footer{left:350px;right:16px}.ship-details h1{font-size:26px}#hud{top:58px}#training-panel{top:70px;left:auto;right:16px;transform:none;width:340px}#training-panel p{font-size:14px}.mission-hud{max-width:40vw}}
.launch-actions #open-training{grid-row:2;grid-column:2}.launch-actions #invite-friend{grid-row:3}.ship-details{display:flex;flex-direction:column}.ship-details>*{flex-shrink:0}.ship-details .description{order:10;margin-top:10px}.training-active .mission-hud{display:none}
@media(max-width:600px){.launch-actions #open-training{grid-row:2;grid-column:3}.launch-actions #invite-friend{grid-row:2;grid-column:1/3}}

@media(max-width:600px){.ship-info{bottom:180px}}

/* Dedicated objective mode stays distinct and fits narrow mode selectors. */
.mode-switch{flex-wrap:wrap}.mode-switch button[data-mode=missions]{flex-basis:100%;border-color:#77d6a6;color:#a7f5cb}.mode-switch button[data-mode=missions][aria-pressed=true]{background:#163e33;border-color:#a7f5cb}.ship-info .mode-switch button[data-mode=missions]{grid-column:1/-1}

.rewarded-ad-card{display:flex;gap:16px;align-items:flex-start;margin:16px 0;padding:18px;border:1px solid #458a9d;border-radius:12px;background:#102a38}.rewarded-ad-card img{object-fit:contain;flex:none}.rewarded-ad-card h3{margin:0 0 8px;font-size:18px}.rewarded-ad-card p{font-size:14px;line-height:1.5;margin:8px 0}.rewarded-ad-card button{min-height:44px;white-space:normal}.rewarded-ad-card button:disabled{opacity:.6;cursor:default}#rewarded-ad-status:empty{display:none}.rewarded-ad-active header,.rewarded-ad-active #shop-screen,.rewarded-ad-active #hangar{pointer-events:none}@media(max-width:450px){.rewarded-ad-card{padding:14px;gap:10px}.rewarded-ad-card img{width:42px;height:42px}}

/* Permanent ship evolution */
.hangar-upgrade{width:100%;margin:10px 0;color:#a5efff;border-color:#356674;font-size:11px;letter-spacing:.08em;padding:11px}
.upgrade-intro{grid-column:1/-1;max-width:820px;color:#afc5d9;line-height:1.7;margin:0 0 12px}
.ship-upgrade .level-badge{color:#9dedff;font-size:12px;letter-spacing:.08em}
.ship-upgrade progress{width:100%;height:7px;accent-color:#7cecff;margin:12px 0}
.ship-upgrade .upgrade-stats{font-variant-numeric:tabular-nums;line-height:1.8;min-height:64px}
.ship-upgrade .aura-reward{color:#a7accd;font-size:11px;min-height:32px}
.upgrade-visual{position:relative;overflow:hidden;border-radius:8px}
.upgrade-visual img{width:100%;display:block}
.max-level{border-color:#81dfe6!important;box-shadow:inset 0 0 25px #66eaff10}
.max-level .level-badge,.max-level .aura-reward{color:#ffe0a5}
.max-level .upgrade-visual:after{content:'';position:absolute;inset:18% 14%;border:1px solid #95f8ff;border-radius:50%;box-shadow:0 0 13px #67deff80,inset 0 0 15px #85edff30;transform:rotate(-22deg);pointer-events:none;animation:astral-pulse 3s ease-in-out infinite alternate}
@keyframes astral-pulse{to{opacity:.55;transform:rotate(18deg) scale(.93)}}
@media(prefers-reduced-motion:reduce){.max-level .upgrade-visual:after{animation:none}}

/* The expedition is a navigable star chart, with ten routes of ten worlds. */
.galaxy-entry{margin-bottom:8px;background:linear-gradient(100deg,#244956,#254472);border:1px solid #78c4df;color:#f2fbff;font-size:12px}
.galaxy-entry span{font-size:10px;letter-spacing:.12em}
.galaxy-screen{position:fixed;inset:0;z-index:80;overflow:auto;background:radial-gradient(ellipse at 20% 65%,#102c4160,transparent 65%),#060d19;padding:30px max(22px,calc((100vw - 1440px)/2));color:#e8f6ff}
.galaxy-screen[hidden]{display:none}
.galaxy-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.galaxy-heading h2{font-size:clamp(24px,3vw,38px);font-weight:500;letter-spacing:-.04em;margin:9px 0 16px}.galaxy-heading .secondary{width:auto;padding:12px 18px;font-size:12px}
.galaxy-progress{display:flex;align-items:center;gap:24px;font-size:14px;color:#a9c8dc;margin:12px 0 22px}.galaxy-progress strong{color:#e9f6ff}.galaxy-progress progress{flex:1;height:6px;accent-color:#80e3cf}
#galaxy-sectors{display:flex;gap:8px;overflow:auto;padding-bottom:16px}#galaxy-sectors button{flex:0 0 auto;border:1px solid #29425a;background:#0b1827;color:#a1b8cc;padding:11px 15px;border-radius:30px;font:inherit;font-size:12px;cursor:pointer}#galaxy-sectors button[aria-pressed=true]{background:#244a5a;color:#e1ffff;border-color:#70c8cf}
.galaxy-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.galaxy-chart{min-width:0;border:1px solid #284257;border-radius:18px;background:radial-gradient(ellipse at 40% 30%,#15375980,transparent 65%),#091321;padding:22px}.galaxy-chart-heading{display:flex;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.1em;color:#a4c5df}
.galaxy-worlds{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 6px;padding:28px 0}.galaxy-node{position:relative;display:flex;align-items:center;flex-direction:column;background:transparent;border:1px solid transparent;border-radius:14px;padding:10px 3px;color:#cce3ef;cursor:pointer;min-width:0;font:inherit}.galaxy-node img{width:100%;max-width:150px;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 0 14px #a0dfff0c)}.galaxy-node small{font-size:10px;letter-spacing:.1em;color:#8faec2}.galaxy-node strong{font-size:14px;font-weight:500;margin:6px 0;overflow-wrap:anywhere}.galaxy-node span{font-size:10px;letter-spacing:.05em;color:#78d9cf}.galaxy-node[aria-pressed=true]{border-color:#75cbd4;background:#12364a66}.galaxy-node.locked img{filter:saturate(.5);opacity:.48}.galaxy-node.locked span{color:#8b98ad}.galaxy-node.rescued span{color:#f6d18a}.galaxy-node.frontier img{filter:drop-shadow(0 0 16px #6cdfef40)}.galaxy-map-note{font-size:13px;line-height:1.7;color:#9bb3c9;margin-bottom:0}
.galaxy-detail{align-self:start}.galaxy-portrait{background:radial-gradient(circle,#244c6540,transparent 68%);height:240px;text-align:center}.galaxy-portrait img{width:240px;height:240px;object-fit:contain}.galaxy-detail h3{font-size:32px;font-weight:500;letter-spacing:-.03em;margin:10px 0}.galaxy-detail p{font-size:14px;line-height:1.7;color:#abc1d5}.galaxy-detail .eyebrow{font-size:11px}.galaxy-reward{display:flex;flex-direction:column;gap:8px;border-block:1px solid #263e52;padding:16px 0;margin:18px 0}.galaxy-reward span{font-size:11px;color:#a2b4cc;letter-spacing:.12em}.galaxy-reward strong{font-size:22px;color:#efcd91;font-weight:500}.galaxy-detail #galaxy-medals{font-size:12px}.galaxy-detail .primary{width:100%;font-size:12px}.galaxy-detail #galaxy-status{font-size:12px}
@media(max-width:1000px){.galaxy-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.galaxy-worlds{grid-template-columns:repeat(3,minmax(0,1fr))}.galaxy-chart{padding:14px}.galaxy-chart-heading{flex-direction:column}.galaxy-portrait,.galaxy-portrait img{width:210px;height:210px}}
@media(max-width:650px){.galaxy-screen{padding:20px 14px}.galaxy-heading{align-items:flex-start}.galaxy-heading h2{font-size:25px}.galaxy-heading .secondary{font-size:10px;padding:10px;max-width:95px}.galaxy-progress{flex-wrap:wrap;gap:12px}.galaxy-progress progress{min-width:100px}.galaxy-layout{display:flex;flex-direction:column-reverse}.galaxy-detail{width:100%;display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 14px}.galaxy-portrait{grid-row:1/4;width:110px;height:110px}.galaxy-portrait img{width:110px;height:110px}.galaxy-detail h3{margin:0;font-size:28px}.galaxy-detail p{margin:0}.galaxy-detail .galaxy-reward,.galaxy-detail #galaxy-medals,.galaxy-detail .primary,.galaxy-detail #galaxy-status{grid-column:1/-1}.galaxy-detail .galaxy-reward{margin:0;padding:8px 0;flex-direction:row;align-items:center;justify-content:space-between}.galaxy-worlds{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 2px;padding:12px 0}.galaxy-node strong{font-size:10px}.galaxy-node small,.galaxy-node span{font-size:8px}.galaxy-map-note{font-size:12px}.galaxy-entry{font-size:10px;padding:12px}}

@media(max-width:650px){.galaxy-worlds{grid-template-columns:repeat(3,minmax(0,1fr))}.galaxy-node strong{font-size:13px}.galaxy-node small,.galaxy-node span{font-size:10px}}

.galaxy-trophy{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid #77dbd94d;border-radius:12px;background:linear-gradient(115deg,#12304799,#101522);margin-top:18px}.galaxy-trophy img{width:120px;height:90px;object-fit:contain}.galaxy-trophy strong{font-size:12px;letter-spacing:1px;color:#8ce7e5}.galaxy-trophy p{font-size:12px;line-height:1.6;color:#afc4d8;margin:6px 0 0}@media(max-width:480px){.galaxy-trophy{gap:8px;padding:10px}.galaxy-trophy img{width:90px;height:68px}}

#open-account{position:relative}#open-account [data-player-level]{color:#88f0e2;margin-left:5px;font-weight:800}.player-mini-track{position:absolute;left:0;bottom:0;width:100%;height:2px;background:#ffffff19}.player-mini-track i{display:block;height:100%;background:#88f0e2;transition:width .3s;width:0}.player-progress-card{padding:22px;border:1px solid #77e8df55;border-radius:14px;background:linear-gradient(125deg,#103344,#111929);margin:18px 0}.player-level-top{display:flex;align-items:center;gap:16px}.player-level-badge{display:grid;place-items:center;flex-shrink:0;width:62px;height:68px;background:#193f50;border:2px solid #83e8d8;border-radius:14px 14px 26px 26px;color:#a0fff0;font-size:30px}.player-level-top small{font-size:10px;letter-spacing:1px;color:#a4bccd}.player-level-top h3{font-size:19px;margin:6px 0;letter-spacing:1px}.player-progress-card progress{display:block;width:100%;height:10px;margin-top:20px;border:0;border-radius:10px;overflow:hidden;accent-color:#8aebd8;background:#ffffff16}.player-progress-card progress::-webkit-progress-bar{background:#ffffff16}.player-progress-card progress::-webkit-progress-value{background:linear-gradient(90deg,#62caff,#8ff5c9)}.player-xp{font-size:12px;color:#c6e8ef}.player-level-reward{display:block;font-size:12px;color:#ffc980;margin:16px 0}.player-level-rules{font-size:12px;color:#adc0d2}.player-progress-card>small{font-size:10px;color:#8bb5c5}.player-level-up{font-size:13px;color:#9affdb;font-weight:bold}@media(max-width:480px){.player-progress-card{padding:15px}.player-level-top h3{font-size:16px}.player-level-badge{width:48px;height:56px;font-size:25px}}

.site-promotion{--promo-accent:#c8fa64;width:min(500px,calc(100vw - 40px));padding:28px;border-color:var(--promo-accent);background:linear-gradient(140deg,#192640,#0b1425)}.site-promo-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#c7d4e6;font-size:.875rem;line-height:1.5}.site-promo-top .icon-btn{flex-shrink:0;min-width:44px;min-height:44px}.site-promotion .site-promo-category{color:var(--promo-accent);font-size:.875rem;letter-spacing:.08em;margin:30px 0 10px}.site-promotion h2{font-size:clamp(1.75rem,5vw,2.5rem);line-height:1.12;margin:0 0 18px;overflow-wrap:anywhere}.site-promotion .site-promo-headline{font-size:1.25rem;color:#fff}.site-promotion p{font-size:1rem}.site-promo-actions{display:grid;gap:12px;margin:26px 0 14px}.site-promo-actions a{display:block;text-align:center;background:var(--promo-accent);color:#101827;padding:16px;border-radius:10px;text-decoration:none;font-size:.95rem;font-weight:800;line-height:1.4}.site-promo-actions a:focus-visible{outline:3px solid white;outline-offset:4px}.site-promo-actions button{min-height:48px;white-space:normal}.site-promotion .site-promo-note{font-size:.875rem;color:#a9bbd0;margin-bottom:0}@media(max-width:480px){.site-promotion{padding:20px}.site-promo-top{font-size:.8125rem}}
