*{box-sizing:border-box}html,body{color:#f4ebe2;background:#1a0f0b;height:100%;margin:0;font-family:Segoe UI,system-ui,sans-serif;overflow:hidden}#game{width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}.hidden{display:none!important}.panel{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#180d099e;border:1px solid #ffc8a024;border-radius:10px;width:290px;padding:14px 16px;position:absolute;top:18px}.top-left{left:18px}.top-right{font-size:14px;right:18px}.brand{letter-spacing:.32em;color:#ef8a4c;font-size:12px;font-weight:800}.credits{font-variant-numeric:tabular-nums;margin:2px 0 8px;font-size:30px;font-weight:700}.credits small{opacity:.7;font-size:13px}.bar-label{opacity:.9;font-variant-numeric:tabular-nums;justify-content:space-between;margin-bottom:4px;font-size:12px;display:flex}.bar-label.zone{margin-top:12px}.bar{background:#ffffff21;border-radius:5px;height:10px;overflow:hidden}.bar.small{height:6px;margin-top:6px}.bar i{background:linear-gradient(90deg,#e0651c,#f5a35c);width:0;height:100%;transition:width .12s;display:block}.bar i.full{background:#ff3d2e;animation:.6s infinite alternate pulse}.bar i.teal{background:linear-gradient(90deg,#2fb7a0,#8ff0d8)}@keyframes pulse{to{opacity:.55}}.mats{opacity:.92;flex-wrap:wrap;gap:3px 10px;margin-top:7px;font-size:11px;display:flex}.mats i{border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:#ef8a4c;font-size:11px}.mission-title{margin:2px 0;font-size:17px;font-weight:700}.crosshair{background:#ffffffbf;border-radius:50%;width:5px;height:5px;margin:-2.5px;position:absolute;top:50%;left:50%;box-shadow:0 0 3px #000}.prompt{opacity:0;background:#180d09bf;border-radius:8px;padding:8px 16px;font-weight:600;transition:opacity .15s;position:absolute;bottom:13%;left:50%;transform:translate(-50%)}.prompt.on{opacity:1}.toasts{flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;top:22px;left:50%;transform:translate(-50%)}.toast{background:#180d09d9;border-radius:8px;padding:7px 16px;font-size:14px;animation:.25s ease-out rise}.toast.good{color:#8ff0d8}.toast.money{color:#ffd27a;font-weight:700}.toast.bad{color:#ff9a86}.toast.big{color:#ffb27a;font-size:18px;font-weight:700}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.overlay{pointer-events:auto;background:#0c06048c;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.start{background:linear-gradient(#14080440,#140804cc)}.title{text-align:center;max-width:720px;padding:20px}.title h1{letter-spacing:.24em;margin:0 0 0 .24em;font-size:clamp(64px,12vw,128px);font-weight:800}.tag{opacity:.92;margin:4px 0 26px;font-size:20px}button{font:inherit;color:inherit;cursor:pointer;border:0;border-radius:8px}.primary{color:#fff;background:#e0651c;padding:11px 20px;font-weight:700}.primary:hover:not(:disabled){background:#f27a30}.primary.big{padding:14px 38px;font-size:20px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible{outline-offset:2px;outline:2px solid #8ff0d8}.ghost{background:#ffffff1a;padding:7px 12px}.keys{flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:30px 0 0;padding:0;font-size:14px;list-style:none;display:flex}.keys b{background:#ffffff24;border-radius:5px;margin-right:3px;padding:2px 7px}.shop{background:#21130d;border:1px solid #ffc8a033;border-radius:12px;width:min(620px,94vw);max-height:90vh;padding:20px 22px;overflow:auto}.shop header{justify-content:space-between;align-items:center;display:flex}.shop h2{margin:0}.shop h3{letter-spacing:.1em;text-transform:uppercase;color:#ef8a4c;margin:18px 0 8px;font-size:12px}.row{font-variant-numeric:tabular-nums;justify-content:space-between;padding:4px 0;display:flex}.row.muted{opacity:.6}.dot{border-radius:50%;width:9px;height:9px;margin-right:7px;display:inline-block}#sell{width:100%;margin-top:8px}.up{border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;display:flex}.up p{opacity:.78;margin:2px 0 0;font-size:13px}.up small{opacity:.65}.buy{color:#fff;font-variant-numeric:tabular-nums;background:#2c7f70;min-width:96px;padding:8px 12px;font-weight:700}.buy:hover:not(:disabled){background:#36998a}.toolbar{gap:8px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.slot{background:#180d09a8;border:1px solid #ffc8a024;border-radius:8px;padding:8px 14px;font-size:13px}.slot.on{background:#e0651c59;border-color:#ef8a4c;font-weight:700}.slot.locked{opacity:.4}.slot kbd{font:inherit;opacity:.7;margin-right:6px}.catalog{background:#21130d;border:1px solid #ffc8a033;border-radius:12px;flex-direction:column;width:min(860px,96vw);max-height:92vh;padding:18px 20px;display:flex}.catalog header{justify-content:space-between;align-items:center;display:flex}.catalog h2{margin:0}.cat-body{grid-template-columns:minmax(200px,300px) 1fr;gap:18px;min-height:0;margin-top:12px;display:grid;overflow:hidden}.cat-list{padding-right:4px;overflow:auto}.cat-list h3,.cat-card h3{letter-spacing:.1em;text-transform:uppercase;opacity:.65;margin:12px 0 5px;font-size:11px}.cat-item{text-align:left;width:100%;color:inherit;background:#ffffff0d;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;margin-bottom:6px;padding:6px;display:flex}.cat-item:hover,.cat-item.on{background:#e0651c2e;border-color:#e0651c}.cat-item img{object-fit:contain;background:#140b07;border-radius:5px;width:62px;height:40px}.cat-item span{flex-direction:column;min-width:0;display:flex}.cat-item small{opacity:.7;font-size:11px}.cat-item.money,.cat-item.limit{opacity:.62}.cat-card{padding-right:6px;overflow:auto}.cat-card p{margin:2px 0;font-size:14px;line-height:1.4}.cat-card ul{margin:2px 0;padding-left:18px;font-size:13px;line-height:1.45}.cat-big{object-fit:contain;background:#140b07;border-radius:8px;width:100%;max-height:190px;margin-bottom:8px;display:block}.cat-price{color:#ffb27a;margin-top:2px;font-weight:700}.cat-status{border-radius:10px;margin-top:5px;padding:2px 8px;font-size:12px;font-weight:700;display:inline-block}.cat-status.available{color:#a8f5df;background:#1d5a4e}.cat-status.money{color:#ffd2a8;background:#6a3a14}.cat-status.limit{color:#ffb9ad;background:#5e2018}.cat-count{opacity:.8;margin:10px 0!important;font-size:13px!important}.cat-note{opacity:.65;margin-top:6px;display:block}@media (width<=640px){.cat-body{grid-template-columns:1fr;overflow:auto}}.cat-item.peek{background:#ffffff1f;border-color:#ffffff40}.cat-sel{opacity:.85;margin:0 0 6px;font-size:13px}.catalog{height:min(690px,92vh)}.cat-body{flex:1;grid-template-rows:minmax(0,1fr)}.cat-big{height:170px}.cat-card{flex-direction:column;min-height:0;display:flex}.cat-card>*{flex-shrink:0}.cat-card #cat-build{margin-top:auto;position:sticky;bottom:22px}.cat-note{background:#21130d;position:sticky;bottom:0}.cat-status{align-self:flex-start}.cat-card{padding-bottom:6px}.cat-card #cat-build{box-shadow:0 -14px 14px #21130d}.cat-card .cat-count{margin-bottom:22px!important}#mars-web-shell [hidden]{display:none!important}.mars-load{z-index:1000;color:#f6eee5;background:#17120f;place-items:center;padding:28px;font-family:Segoe UI,system-ui,sans-serif;display:grid;position:fixed;inset:0}.mars-load-card{width:min(440px,100%)}.mars-load-mark{color:#ee9a68;letter-spacing:.34em;font-size:12px;font-weight:700}.mars-load h1{margin:26px 0 16px;font-size:clamp(28px,5vw,38px);font-weight:500;line-height:1.1}.mars-load-message{color:#c5b6a8;font-size:15px;line-height:1.7}.mars-load-track{background:#44342a;height:2px;margin-top:30px;overflow:hidden}.mars-load-track i{background:#ee9a68;width:35%;height:100%;animation:1.8s ease-in-out infinite alternate mars-loading;display:block}.mars-load-error .mars-load-track{display:none}.mars-load-actions{align-items:center;gap:22px;margin-top:26px;display:flex}.mars-load-actions a,.mars-load-actions button{color:#f6eee5;font:inherit;cursor:pointer;background:0 0;border:1px solid #6b5140;border-radius:4px;padding:10px 14px;text-decoration:none}.mars-shell-tools{z-index:40;color:#dacbbe;white-space:nowrap;background:#140d0aeb;border:1px solid #e6b6923b;border-radius:5px;align-items:center;gap:14px;padding:11px 16px;font-family:Segoe UI,system-ui,sans-serif;font-size:12px;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%)}.mars-shell-tools a,.mars-shell-tools button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:2px;padding:0;text-decoration:none}.mars-shell-tools a:hover,.mars-shell-tools button:hover{color:#ffa46b}.mars-shell-tools :focus-visible,.mars-load :focus-visible{outline-offset:5px;outline:2px solid #e7a170}.mars-shell-status:empty{display:none}.mars-shell-status{color:#f4d2b7;white-space:normal;text-align:center;background:#21150e;border-radius:4px;width:min(440px,86vw);margin:8px 0 0;padding:12px 15px;line-height:1.5;position:absolute;top:100%;left:50%;transform:translate(-50%)}@keyframes mars-loading{to{transform:translate(190%)}}@media (width<=600px){.mars-shell-tools{justify-content:center;gap:10px;width:calc(100% - 24px);font-size:11px;top:12px}}@media (prefers-reduced-motion:reduce){.mars-load-track i{width:100%;animation:none}}
