/* Backgrounds are decorative. Values and controls remain real HTML. */
.command-ui{--accent:#83dff1;--panel:rgba(9,21,31,.84);--raised:rgba(17,37,50,.88);--line:rgba(160,208,225,.23);--text:#edf6fa;--muted:#abc0cc;background:#070e16;min-height:100vh}
.scene-backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#07111a}
.scene-layer{position:absolute;inset:0;background-position:center;background-size:100% auto;background-repeat:no-repeat;opacity:0;transition:opacity 2.4s ease;transform:none;isolation:isolate}
.scene-layer::before{content:"";position:absolute;inset:-24px;background-image:inherit;background-position:center;background-size:cover;filter:blur(20px);opacity:.75;z-index:0}
.scene-layer::after{content:"";position:absolute;inset:0;background-image:inherit;background-position:center;background-size:100% auto;background-repeat:no-repeat;z-index:1}
.scene-layer.is-visible{opacity:1}
.scene-motion{position:absolute;left:0;top:50%;width:100%;height:auto;transform:translateY(-50%);z-index:2;pointer-events:none}
.motion-enabled .scene-layer.is-visible{animation:none}
.scene-paused .scene-layer{animation-play-state:paused!important}
.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,12,20,.34),rgba(4,12,20,.38) 55%,rgba(4,12,20,.85));box-shadow:inset 0 0 180px #030a1244}
@keyframes scene-drift{from{transform:scale(1.025) translate(-.4%,0)}to{transform:scale(1.065) translate(.5%,-.5%)}}
.command-ui .app-shell{max-width:1640px;padding:0 40px;position:relative}
.command-ui .topbar{height:auto;min-height:94px;gap:24px;border-bottom-color:var(--line);flex-wrap:wrap;padding:15px 0}
.command-ui .brand strong{font-size:18px;letter-spacing:.16em}.command-ui .brand small{display:block;font-size:10px;color:var(--muted);margin-top:5px;letter-spacing:.08em}.command-ui .brand-mark{color:#9febe1}
.command-nav{display:flex;gap:22px;margin:auto}.command-nav a,.command-nav button{font:500 13px system-ui;color:var(--muted);text-decoration:none;background:none;border:0;padding:12px 0;cursor:pointer}.command-nav a{color:var(--text);border-bottom:2px solid var(--accent)}.command-nav button:hover{color:var(--accent)}
.command-ui .topbar-actions{gap:9px}.command-ui .build-tag{display:none}.command-ui .connection{font-size:12px}
.command-ui .overview-cover.game-cover{background:none;border:0;border-radius:0;overflow:visible;min-height:590px;padding:48px 0 30px;gap:45px;justify-content:flex-start;margin:0;box-shadow:none}
.command-ui .game-cover::before{display:none}.command-ui .cover-heading{max-width:850px}.command-ui .cover-heading h1{font-family:system-ui,sans-serif;font-size:clamp(28px,3.3vw,48px);font-weight:600;letter-spacing:-.035em;line-height:1.15;text-shadow:0 2px 22px #0008}.command-ui .cover-heading .eyebrow{color:#d5edf4;letter-spacing:.18em;font-size:10px;margin-bottom:15px}.command-ui .cover-community-note{font-size:12px;color:#dfebf1;max-width:600px;line-height:1.7}.command-ui .window-tag{background:#08172299;border-color:var(--line);margin-top:18px}
.command-ui .game-cover .folder-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px;width:min(100%,640px);margin:0 auto 20px;padding:26px 30px;background:rgba(9,20,29,.65);backdrop-filter:blur(7px);border:1px solid rgba(199,231,240,.36);box-shadow:0 20px 65px #0003;border-radius:15px;text-align:center;transition:background .25s ease}
.connection-intro{width:100%}.folder-emblem{display:block;font-size:34px;color:#d5f4fa;margin-bottom:12px}.command-ui .folder-panel strong{font-size:23px;font-weight:550}.command-ui #first-visit-note{font-size:14px;line-height:1.65;color:#d6e7ef;margin:12px 0}.command-ui .folder-panel .folder-actions{width:100%;justify-content:center}.command-ui #connect-folder{min-width:260px;padding:15px 26px;font-size:14px;background:#c5eff9;color:#0a202d;box-shadow:0 0 28px #9cddfa20}.command-ui .folder-panel details{width:100%;text-align:left;margin:0;border-top:1px solid var(--line);padding-top:12px}.command-ui .folder-panel summary{font-size:12px}.command-ui .folder-panel p{line-height:1.6}.command-ui .folder-panel #folder-scan-status,.command-ui .folder-panel #log-read-status{font-size:11px;color:#adc3cf}.command-ui #connection-help{background:#ffffff06;border-radius:6px;padding:12px}
.folder-emblem svg{width:32px;height:32px}.command-ui:not(.has-history) #folder-status{display:none}
.command-ui.has-history .overview-cover.game-cover{min-height:0;gap:25px;padding:35px 0 24px}.command-ui.has-history .cover-heading h1{font-size:clamp(26px,2.8vw,40px)}.command-ui.has-history .game-cover .folder-panel{width:100%;text-align:left;justify-content:space-between;margin:0;padding:19px 24px;gap:12px;background:rgba(8,25,32,.65)}.has-history .connection-intro{width:auto;flex:1}.has-history .folder-emblem{display:none}.command-ui.has-history .folder-panel strong{font-size:17px}.command-ui.has-history .folder-panel .folder-actions{width:auto}.command-ui.has-history #connect-folder{min-width:190px;padding:13px 20px}.command-ui.has-history .window-tag{margin-top:10px}
.command-ui .plan-panel,.command-ui .metric-card,.command-ui .table-panel,.command-ui #accounts-overview,.command-ui .feedback-panel,.command-ui .support-panel{background:var(--panel);border-color:var(--line);box-shadow:0 10px 40px #0002;backdrop-filter:blur(5px)}
.command-ui .plan-panel{margin-top:4px}.command-ui .metric-card.featured{background:rgba(13,51,49,.88)}.command-ui .metrics-grid{gap:14px}.command-ui .metric-value{font-variant-numeric:tabular-nums;font-size:clamp(25px,2.4vw,42px)}.command-ui .metric-footnote{line-height:1.6}.command-ui .table-panel{border-radius:12px}.command-ui .table-heading{gap:12px;flex-wrap:wrap;padding:20px}.command-ui .table-heading h2{font-size:20px}.command-ui #table-wrap{background:rgba(4,14,23,.25)}.command-ui #rows td{font-variant-numeric:tabular-nums}.command-ui .method-note,.command-ui .section-caption{background:rgba(4,14,23,.7);padding:12px;border-radius:6px}.command-ui .account-tab{background:rgba(8,23,34,.7)}
.command-ui .primary-button,.command-ui .secondary-button,.command-ui .icon-button{transition:background .18s,box-shadow .18s,transform .18s}.command-ui button:focus-visible,.command-ui a:focus-visible,.command-ui input:focus-visible,.command-ui select:focus-visible{outline:2px solid #b9edff;outline-offset:4px}.command-ui .primary-button:hover{box-shadow:0 0 22px #a2e5f533}.command-ui button:disabled{opacity:.45;cursor:not-allowed}
.command-ui dialog{background:rgba(9,22,33,.98);border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 100px #0008}.command-ui dialog::backdrop{background:#02070ec4;backdrop-filter:blur(6px)}.command-ui #planner-dialog{width:min(820px,94vw);max-width:820px}.planner-interactive{background:#ffffff04;border:1px solid var(--line);border-radius:10px;padding:20px;margin:20px 0}.planner-interactive input[type=range]{width:100%;accent-color:var(--accent);margin:18px 0;min-height:30px}.planner-presets{display:flex;gap:8px;flex-wrap:wrap}.planner-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:18px}.planner-preview div{padding:12px 0;border-top:1px solid var(--line)}.planner-preview dt{font-size:11px;color:var(--muted);margin-bottom:10px}.planner-preview dd{margin:0;font:600 16px var(--mono);overflow-wrap:anywhere}.planner-interactive p{font-size:12px;line-height:1.7}.visual-settings select{width:100%}.mobile-setup{display:none}.command-ui [hidden]{display:none!important}
@media(min-width:1900px){.command-ui .app-shell{padding:0 48px}.command-ui .overview-cover.game-cover{min-height:640px}}
@media(max-width:1100px){.command-ui .app-shell{padding:0 24px}.command-nav{order:3;width:100%;justify-content:center}.command-ui .topbar{gap:15px}.command-ui .topbar-actions{margin-left:auto}.command-ui .topbar-actions #privacy-toggle{font-size:10px}.command-ui .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.command-ui .app-shell{padding:0 16px}.command-ui .topbar{min-height:80px}.command-ui .brand strong{font-size:15px}.command-ui .brand-mark{width:30px}.command-ui .topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.command-ui .connection{width:100%;justify-content:flex-end}.command-ui .brand{gap:8px}.command-ui #privacy-toggle{max-width:130px}.command-nav{gap:25px}.command-ui .overview-cover.game-cover{padding-top:32px;min-height:0;gap:30px}.command-ui .game-cover .folder-panel{padding:22px 18px;width:100%}.command-ui.has-history .game-cover .folder-panel{padding:20px}.command-ui.has-history .folder-panel .folder-actions{width:100%}.command-ui .cover-heading h1{font-size:32px;max-width:330px}.command-ui .cover-community-note{font-size:11px}.command-ui .metrics-grid{grid-template-columns:1fr}.command-ui .metric-value{font-size:34px}.command-ui .plan-panel{flex-direction:column;align-items:stretch;gap:20px}.command-ui .next-plan{text-align:left}.planner-preview{grid-template-columns:1fr}.command-ui .table-heading{padding:16px}.command-ui .feedback-panel,.command-ui .support-panel{padding:22px}.command-ui .folder-panel .mobile-setup{display:block;font-size:12px;line-height:1.7}.command-ui #connect-folder{min-width:0;width:100%}.scene-layer{background-position:60% center}}
@media(prefers-reduced-motion:reduce){.command-ui *, .command-ui *::before,.command-ui *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
