:root{--font-title:"Chakra Petch", sans-serif;--font-body:"Outfit", sans-serif;--font-mono:"JetBrains Mono", monospace;--bg-dark:#0a0f1d;--panel-bg:#0f172ad1;--panel-bg-subtle:#0f172aa6;--panel-bg-elevated:#1e293be0;--panel-bg-solid:#0f172a;--panel-border:#ffffff1f;--panel-border-bright:#ffffff38;--panel-glow-cyan:0 0 20px #38bdf859;--text-main:#f8fafc;--text-muted:#94a3b8;--text-bright:#fff;--color-cyber-sky:#38bdf8;--color-rail:#3b82f6;--color-pulse:#10b981;--color-mortar:#f97316;--color-cryo:#06b6d4;--color-gold:#f59e0b;--color-gold-bright:#facc15;--color-swarm-indigo:#6366f1;--color-swarm-purple:#a855f7;--color-danger:#ef4444;--color-danger-bright:#f43f5e;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--radius-xl:24px;--math-prompt-bg:#0f172ae0;--math-prompt-border:#38bdf847;--math-prompt-radius:var(--radius-md);--math-prompt-padding:14px;--math-formula-color:var(--color-cyber-sky);--math-formula-font:var(--font-mono);--math-formula-size:28px;--math-choice-bg:#1e293be0;--math-choice-border:#ffffff29;--math-choice-hover-bg:#334155f5;--math-choice-hover-border:var(--color-cyber-sky);--math-choice-hover-glow:0 0 14px #38bdf859;--math-choice-text:#fff;--math-choice-min-height:52px;--math-choice-min-width:92px;--math-key-pill-bg:#0f172ab3;--math-key-pill-color:#94a3b8;--math-key-pill-border:#ffffff1f;--math-correct-bg:#10b98159;--math-correct-border:#10b981;--math-correct-glow:0 0 16px #10b98199;--math-wrong-bg:#ef444459;--math-wrong-border:#ef4444;--math-wrong-glow:0 0 16px #ef444499;--math-antiguess-bg:#ef444429;--math-antiguess-border:#ef444473}.game-shell-header{border-radius:var(--radius-md);z-index:100;pointer-events:auto;justify-content:space-between;align-items:center;gap:12px;padding:8px 16px;display:flex;position:absolute;top:14px;left:14px;right:14px}.shell-left-controls{align-items:center;gap:8px;display:flex}.shell-center-mission{text-align:center;pointer-events:none;flex-direction:column;align-items:center;display:flex}.shell-mission-title{font-family:var(--font-title);color:var(--text-bright);letter-spacing:.05em;text-transform:uppercase;font-size:15px;font-weight:700}.shell-mission-status{font-family:var(--font-mono);color:var(--color-cyber-sky);letter-spacing:.02em;font-size:12px}.shell-right-controls{align-items:center;gap:8px;display:flex}.shell-audio-icon{justify-content:center;align-items:center;display:inline-flex}@media (width<=768px){.game-shell-header{gap:8px;padding:6px 10px;top:8px;left:8px;right:8px}.shell-mission-status{display:none}.shell-mission-title{font-size:13px}}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;scrollbar-width:thin;scrollbar-color:#38bdf873 #0f172abf;margin:0;padding:0}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:#0a1222d9;border-radius:4px}::-webkit-scrollbar-thumb{background:linear-gradient(#38bdf880 0%,#0ea5e959 100%);border:1px solid #38bdf840;border-radius:4px;transition:all .2s}::-webkit-scrollbar-thumb:hover{background:linear-gradient(#38bdf8 0%,#0284c7 100%);border-color:#67e8f9;box-shadow:0 0 10px #38bdf899}::-webkit-scrollbar-corner{background:0 0}body,html{background-color:var(--bg-dark);width:100%;height:100%;font-family:var(--font-body);color:var(--text-main);overflow:hidden}#arcade-portal-view{z-index:50;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}#game-view,#polyswarm-view,#polyminer-view,.game-view{z-index:10;background-color:var(--bg-dark);width:100%;height:100%;position:absolute;inset:0;overflow:hidden}#polyminer-container{background-color:#060d1a;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.btn-setup-offline{color:#fff;border-radius:var(--radius-md);cursor:pointer;letter-spacing:.5px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:1px solid #34d39980;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:800;transition:all .2s cubic-bezier(.34,1.56,.64,1);display:flex;box-shadow:0 0 16px #10b98166}.btn-setup-offline:hover{border-color:#6ee7b7;transform:translateY(-2px)scale(1.02);box-shadow:0 0 26px #10b981b3}.btn-setup-offline:active{transform:translateY(0)scale(.98)}#game-container{z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}#ui-root{z-index:10;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}#side-console-root{z-index:15;pointer-events:none;width:380px;position:absolute;top:86px;bottom:110px;right:18px}#side-console-root>*{pointer-events:auto}#modal-root{pointer-events:none;position:fixed;inset:0;z-index:100000005!important}#modal-root .modal-backdrop,#modal-root .drawer-backdrop,#modal-root .arcade-menu-overlay{pointer-events:auto}.modal-backdrop{-webkit-backdrop-filter:blur(10px);box-sizing:border-box;background:#040814d9;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto;z-index:100000010!important}.modal-window{border-radius:var(--radius-xl);box-sizing:border-box;background:#0f172af2;border:1px solid #ffffff29;flex-direction:column;width:100%;max-width:680px;max-height:calc(100vh - 48px);animation:.25s cubic-bezier(.16,1,.3,1) modalScaleIn;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 64px #000000b3,0 0 32px #10b9811f}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.94)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-header{background:#0f172ab3;border-bottom:1px solid #ffffff1a;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-title-group{flex-direction:column;gap:4px;display:flex}.modal-tag{font-family:var(--font-mono);color:#10b981;letter-spacing:1px;font-size:11px;font-weight:700}.modal-title{font-family:var(--font-title);color:var(--text-main);letter-spacing:1px;font-size:20px;font-weight:800}.modal-subtitle{color:var(--text-muted);font-size:13px}.modal-close-btn{color:var(--text-muted);cursor:pointer;background:#ffffff14;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.modal-close-btn:hover{color:#fff;background:#ef444433;border-color:#ef4444}.modal-body{box-sizing:border-box;flex-direction:column;flex:1;gap:20px;padding:24px;display:flex;overflow-y:auto}.modal-footer{background:#0a0f1e80;border-top:1px solid #ffffff1a;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.glass-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(14px);border:1px solid var(--panel-border);pointer-events:auto;box-shadow:0 8px 32px #00000073}.hud-top-stack{display:contents}.hud-top-bar{border-radius:var(--radius-lg);z-index:20;justify-content:space-between;align-items:center;height:64px;padding:0 20px;display:flex;position:absolute;top:14px;left:18px;right:18px}.hud-brand{align-items:center;gap:12px;display:flex}.brand-icon{border-radius:var(--radius-sm);width:38px;height:38px;font-family:var(--font-title);color:#fff;background:linear-gradient(135deg,#10b981,#06b6d4);justify-content:center;align-items:center;font-size:24px;font-weight:800;display:flex;box-shadow:0 0 15px #10b98180}.brand-text{flex-direction:column;display:flex}.brand-title{font-family:var(--font-title);letter-spacing:1.5px;background:linear-gradient(90deg,#38bdf8,#10b981);-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:16px;font-weight:800}.brand-sub{font-family:var(--font-title);letter-spacing:2px;color:var(--text-muted);font-size:11px}.hud-stats-group{align-items:center;gap:16px;display:flex}.stat-badge{border-radius:var(--radius-md);background:#1e293ba6;border:1px solid #ffffff14;align-items:center;gap:8px;padding:6px 14px;display:flex}.stat-glyph{justify-content:center;align-items:center;display:flex}.lives-badge .stat-glyph{color:#f43f5e}.credits-badge .stat-glyph{color:#facc15}.wave-badge .stat-glyph{color:#38bdf8}.stat-val{font-family:var(--font-mono);font-size:16px;font-weight:700}.lives-badge .stat-val{color:#f43f5e}.credits-badge .stat-val{color:#facc15}.wave-badge .stat-val{color:#38bdf8}.combo-meter-container{flex-direction:column;gap:4px;width:140px;display:flex}.combo-label{font-size:11px;font-weight:700;font-family:var(--font-mono);color:var(--text-muted);justify-content:space-between;align-items:center;display:flex}.overdrive-tag{color:#fbbf24;align-items:center;gap:4px;font-weight:800;animation:.8s infinite alternate pulseGlow;display:none}@keyframes pulseGlow{0%{text-shadow:0 0 4px #fbbf24;transform:scale(1)}to{text-shadow:0 0 12px #f59e0b;transform:scale(1.08)}}.combo-track{background:#ffffff1a;border-radius:4px;width:100%;height:7px;overflow:hidden}.combo-fill{background:linear-gradient(90deg,#10b981,#f59e0b);border-radius:4px;height:100%;transition:width .3s}.hud-controls-group{align-items:center;gap:10px;display:flex}.grade-selector-wrap{border-radius:var(--radius-sm);background:#1e293bb3;border:1px solid #ffffff1a;align-items:center;gap:6px;padding:4px 10px;display:flex}.grade-label{font-family:var(--font-title);color:var(--text-muted);font-size:11px;font-weight:700}.grade-select{color:#38bdf8;font-family:var(--font-title);cursor:pointer;background:0 0;border:none;outline:none;font-size:13px;font-weight:700}.grade-select option{color:#fff;background:#0f172a}.speed-toggle-group{border-radius:var(--radius-sm);background:#1e293bb3;border:1px solid #ffffff1a;display:flex;overflow:hidden}.speed-btn{color:var(--text-muted);font-family:var(--font-title);cursor:pointer;background:0 0;border:none;padding:6px 10px;font-size:12px;font-weight:700;transition:all .2s}.speed-btn:hover{color:#fff}.speed-btn.active{color:#0f172a;background:#38bdf8}.icon-btn{color:var(--text-main);border-radius:var(--radius-sm);font-family:var(--font-title);cursor:pointer;background:#1e293bb3;border:1px solid #ffffff1a;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.icon-btn:hover{background:#38bdf833;border-color:#38bdf8}.badges-btn{color:#facc15;background:#facc1526;border-color:#facc1559}.field-guide-btn{color:#34d399;background:#10b9812e;border-color:#10b98166}.telemetry-btn{color:#fbbf24;background:#f59e0b2e;border-color:#f59e0b66}.hyper-alert-banner{border-radius:var(--radius-xl);z-index:25;background:#0f172aeb;border:2px solid #facc15;align-items:center;gap:16px;padding:10px 20px;animation:.4s bannerBounce;display:flex;position:absolute;top:90px;left:50%;transform:translate(-50%);box-shadow:0 0 30px #facc1566}@keyframes bannerBounce{0%{opacity:0;transform:translate(-50%,-15px)}to{opacity:1;transform:translate(-50%)}}.hyper-alert-icon{color:#0f172a;background:#facc15;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;animation:.6s infinite alternate pulseGlow;display:flex}.hyper-alert-text{flex-direction:column;display:flex}.hyper-alert-text b{font-family:var(--font-title);color:#facc15;font-size:14px}.hyper-alert-text span{color:var(--text-muted);font-size:12px}.btn-hyper-activate{color:#0f172a;font-family:var(--font-title);border-radius:var(--radius-md);cursor:pointer;background:linear-gradient(135deg,#facc15,#eab308);border:none;padding:8px 16px;font-size:13px;font-weight:800}.inter-wave-banner{border-radius:var(--radius-xl);z-index:15;border:1px solid #38bdf859;align-items:center;gap:20px;padding:10px 22px;display:flex;position:absolute;top:92px;left:50%;transform:translate(-50%);box-shadow:0 0 25px #38bdf833}.prep-timer-col{flex-direction:column;display:flex}.prep-badge{font-family:var(--font-title);letter-spacing:1.5px;color:#38bdf8;font-size:10px;font-weight:800}.prep-countdown{font-family:var(--font-mono);color:#facc15;font-size:18px;font-weight:800}.prep-tip-col{border-left:1px solid #ffffff26;flex-direction:column;gap:2px;max-width:320px;padding-left:14px;display:flex}.tip-badge{font-family:var(--font-title);color:#facc15;align-items:center;gap:6px;font-size:10px;font-weight:800;display:flex}.tip-body{color:var(--text-muted);font-size:11px;line-height:1.25}.prep-actions-col{align-items:center;gap:10px;display:flex}.btn{border-radius:var(--radius-md);font-family:var(--font-title);cursor:pointer;border:none;outline:none;align-items:center;gap:6px;padding:9px 16px;font-size:12px;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex}.btn:active{transform:scale(.96)}.btn-primary{color:#fff;background:linear-gradient(135deg,#0284c7,#06b6d4);box-shadow:0 4px 15px #06b6d466}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 22px #06b6d499}.btn-bounty{color:#0f172a;background:linear-gradient(135deg,#d97706,#f59e0b);box-shadow:0 4px 15px #f59e0b59}.hud-bottom-dock{z-index:20;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.tower-cards-container{border-radius:var(--radius-xl);gap:12px;padding:10px 16px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex}@keyframes dockHighlightPulse{0%{border-color:#fff3;transform:scale(1);box-shadow:0 0 #facc1500}30%{border-color:#facc15;transform:scale(1.06);box-shadow:0 0 35px #facc15e6,0 0 60px #facc1566}60%{border-color:#facc15;transform:scale(1.03);box-shadow:0 0 25px #facc15b3}to{border-color:#fff3;transform:scale(1);box-shadow:0 0 #facc1500}}.tower-cards-container.pulse-dock-highlight{animation:1.2s ease-in-out forwards dockHighlightPulse}.tower-card{border-radius:var(--radius-md);cursor:pointer;text-align:left;background:#1e293b99;border:1px solid #ffffff1a;flex-direction:column;justify-content:space-between;width:140px;height:84px;padding:10px;transition:all .25s cubic-bezier(.16,1,.3,1);display:flex;position:relative}.tower-card:hover:not(.disabled){background:#334155cc;border-color:#ffffff4d;transform:translateY(-5px)}.tower-card.selected{background:#334155f2;border-color:#facc15;transform:translateY(-6px);box-shadow:0 0 20px #facc1566}.tower-card.disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.6)}.card-hotkey{font-family:var(--font-mono);color:var(--text-muted);font-size:11px;position:absolute;top:6px;right:8px}.card-symbol{font-family:var(--font-title);font-size:26px;font-weight:800;line-height:1}.card-pulse .card-symbol{color:var(--color-pulse)}.card-rail .card-symbol{color:var(--color-rail)}.card-mortar .card-symbol{color:var(--color-mortar)}.card-cryo .card-symbol{color:var(--color-cryo)}.card-details{flex-direction:column;display:flex}.card-name{font-family:var(--font-title);color:var(--text-main);font-size:12px;font-weight:700}.card-op{color:var(--text-muted);font-size:10px}.card-cost{font-family:var(--font-mono);color:#facc15;font-size:11px;font-weight:700}.side-command-console{border-radius:var(--radius-xl);flex-direction:column;gap:14px;width:100%;height:100%;padding:18px;animation:.25s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;overflow-y:auto}@keyframes slideInRight{0%{opacity:0;transform:translate(25px)}to{opacity:1;transform:translate(0)}}.side-console-header{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;padding-bottom:12px;display:flex}.tower-badge-icon{border-radius:var(--radius-sm);width:40px;height:40px;font-family:var(--font-title);color:#fff;justify-content:center;align-items:center;font-size:24px;font-weight:800;display:flex}.tower-meta{flex-direction:column;flex:1;display:flex}.tower-title{font-family:var(--font-title);font-size:16px;font-weight:800}.tower-level-row{align-items:center;gap:8px;display:flex}.level-label{color:#38bdf8;font-size:12px;font-weight:700}.stars-wrap{gap:2px;display:flex}.star-icon{color:#334155;display:flex}.star-icon.active{color:#facc15}.side-close-btn{color:var(--text-muted);cursor:pointer;background:#ffffff14;border:none;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.side-close-btn:hover{color:#fff;background:#ef44444d}.tower-stats-card{border-radius:var(--radius-md);background:#1e293b99;flex-direction:column;gap:8px;padding:12px;display:flex}.stat-row{color:var(--text-muted);justify-content:space-between;font-size:12px;display:flex}.stat-row b{font-family:var(--font-mono);color:#fff}.xp-bar-section{flex-direction:column;gap:4px;margin-top:4px;display:flex}.xp-header{color:var(--text-muted);justify-content:space-between;font-size:11px;font-weight:700;display:flex}.xp-track{background:#ffffff1a;border-radius:4px;width:100%;height:8px;overflow:hidden}.xp-fill{background:linear-gradient(90deg,#38bdf8,#10b981);border-radius:4px;height:100%;transition:width .3s}.math-challenge-card{border-radius:var(--radius-md);text-align:center;background:#0f172ae6;border:1px solid #ffffff26;flex-direction:column;gap:10px;padding:14px;transition:all .2s;display:flex}.challenge-header{justify-content:space-between;align-items:center;display:flex}.challenge-tag{font-family:var(--font-title);color:#38bdf8;letter-spacing:1px;align-items:center;gap:4px;font-size:11px;font-weight:800;display:flex}.xp-badge{font-family:var(--font-mono);color:#34d399;background:#10b98133;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:800}.math-prompt-widget,.math-prompt-card,.math-challenge-card{background:var(--math-prompt-bg);border:1px solid var(--math-prompt-border);border-radius:var(--math-prompt-radius);padding:var(--math-prompt-padding);box-sizing:border-box;flex-direction:column;gap:10px;width:100%;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.math-theme-default,.theme-default{--math-prompt-border:#38bdf847;--math-formula-color:var(--color-cyber-sky);--math-choice-hover-border:var(--color-cyber-sky);--math-choice-hover-glow:0 0 14px #38bdf859}.math-theme-hyper,.theme-hyper,.hyper-mode .math-challenge-card,.hyper-challenge{--math-prompt-border:#facc1561;--math-formula-color:var(--color-gold-bright);--math-choice-hover-border:var(--color-gold-bright);--math-choice-hover-glow:0 0 14px #facc1561}.math-theme-boss,.theme-boss{--math-prompt-border:#a855f761;--math-formula-color:#c084fc;--math-choice-hover-border:#c084fc;--math-choice-hover-glow:0 0 14px #a855f761}.math-theme-bounty,.theme-bounty{--math-prompt-border:#34d39961;--math-formula-color:#34d399;--math-choice-hover-border:#34d399;--math-choice-hover-glow:0 0 14px #34d39961}.math-prompt-header,.challenge-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.math-prompt-tag,.challenge-tag{font-family:var(--font-mono);letter-spacing:.5px;color:var(--math-formula-color);align-items:center;gap:5px;font-size:11px;font-weight:800;display:inline-flex}.math-prompt-badge,.xp-badge{font-family:var(--font-mono);color:var(--color-gold-bright);border-radius:var(--radius-sm);background:#facc1529;border:1px solid #facc154d;padding:3px 8px;font-size:11px;font-weight:800}.math-prompt-label,.question-prompt,.equation-prompt{color:var(--text-muted);font-size:12px;line-height:1.35}.math-prompt-formula,.question-formula,.equation-formula{font-family:var(--math-formula-font);font-size:var(--math-formula-size);color:var(--math-formula-color);letter-spacing:1px;text-align:center;padding:2px 0;font-weight:800}.math-choices-grid,.choices-grid{box-sizing:border-box;grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.math-choice-card,.choice-card{background:var(--math-choice-bg);border:1px solid var(--math-choice-border);border-radius:var(--radius-md);min-height:var(--math-choice-min-height);min-width:var(--math-choice-min-width,92px);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;justify-content:center;align-items:center;padding:10px 8px;transition:transform .14s cubic-bezier(.16,1,.3,1),background .14s,border-color .14s,box-shadow .14s;display:flex;position:relative}.math-choice-card:hover,.choice-card:hover{background:var(--math-choice-hover-bg);border-color:var(--math-choice-hover-border);box-shadow:var(--math-choice-hover-glow);transform:translateY(-2px)}.math-choice-card:active,.choice-card:active{transform:scale(.96)}.math-choice-card:disabled,.choice-card:disabled{opacity:.85;cursor:default}.choice-key{font-family:var(--font-mono);color:var(--math-key-pill-color);background:var(--math-key-pill-bg);border:1px solid var(--math-key-pill-border);border-radius:4px;padding:1px 5px;font-size:10px;font-weight:800;line-height:1.2;position:absolute;top:5px;left:7px}.choice-val{font-family:var(--font-mono);color:var(--math-choice-text);letter-spacing:.5px;font-size:21px;font-weight:800}.math-choice-card.correct,.choice-card.correct,.math-choice-card.reveal-correct,.choice-card.reveal-correct{background:var(--math-correct-bg)!important;border-color:var(--math-correct-border)!important;box-shadow:var(--math-correct-glow)!important}.math-choice-card.wrong,.choice-card.wrong{background:var(--math-wrong-bg)!important;border-color:var(--math-wrong-border)!important;box-shadow:var(--math-wrong-glow)!important}.choice-card.hyper-card{border-color:#facc1559}.choice-card.hyper-card:hover{border-color:var(--color-gold-bright);box-shadow:0 0 15px #facc1580}.math-anti-guess-feedback,.challenge-hint{color:var(--color-gold-bright);border-radius:var(--radius-sm);text-align:left;background:#facc151f;font-size:11px}.side-console-footer{margin-top:auto}.btn-danger-outline{color:#f87171;border-radius:var(--radius-md);width:100%;font-family:var(--font-title);cursor:pointer;background:0 0;border:1px solid #ef444466;padding:8px;font-size:12px;font-weight:700}.badges-modal-dialog{border-radius:var(--radius-xl);flex-direction:column;gap:16px;width:680px;max-height:85vh;padding:24px;animation:.25s cubic-bezier(.16,1,.3,1) modalEnter;display:flex}.badges-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:flex-start;padding-bottom:12px;display:flex}.badges-tag{font-family:var(--font-title);color:#facc15;letter-spacing:1.5px;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.badges-title{font-family:var(--font-title);font-size:20px;font-weight:800}.badges-sub{color:var(--text-muted);font-size:12px}.badges-filter-bar{border-bottom:1px solid #ffffff14;flex-wrap:wrap;gap:8px;padding:4px 0 8px;display:flex}.badge-tab{font-family:var(--font-title);color:var(--text-muted);cursor:pointer;background:#1e293b99;border:1px solid #ffffff1a;border-radius:20px;align-items:center;gap:6px;padding:6px 14px;font-size:11px;font-weight:800;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex}.badge-tab:hover{color:#fff;background:#334155cc;transform:translateY(-1px)}.badge-tab.active{color:#0b1329;background:#38bdf8;border-color:#38bdf8;box-shadow:0 0 15px #38bdf866}.badge-tab.tab-easy.active{color:#042f2e;background:#10b981;border-color:#10b981;box-shadow:0 0 15px #10b98166}.badge-tab.tab-medium.active{color:#fff;background:#0284c7;border-color:#38bdf8;box-shadow:0 0 15px #38bdf866}.badge-tab.tab-hard.active{color:#0f172a;background:#f59e0b;border-color:#facc15;box-shadow:0 0 15px #f59e0b66}.badge-tab.tab-epic.active{color:#fff;background:linear-gradient(135deg,#9333ea,#c026d3);border-color:#e879f9;box-shadow:0 0 18px #c026d38c}.badge-tab.tab-legendary.active{color:#451a03;background:linear-gradient(135deg,#d97706,#f59e0b);border-color:#fde047;box-shadow:0 0 22px #fbbf24a6}.badge-tab.tab-ancient.active{color:#082f49;background:linear-gradient(135deg,#0284c7,#38bdf8);border-color:#7dd3fc;box-shadow:0 0 22px #38bdf8b3}.badge-tab.tab-relic.active{color:#022c22;background:linear-gradient(135deg,#059669,#10b981);border-color:#6ee7b7;box-shadow:0 0 22px #10b981b3}.badges-grid-scroll{flex:1;grid-template-columns:1fr 1fr;gap:12px;padding-right:6px;display:grid;overflow-y:auto}.badge-card{border-radius:var(--radius-md);background:#1e293b99;border:1px solid #ffffff1a;flex-direction:column;gap:8px;padding:12px;display:flex}.badge-card.unlocked{border-color:#facc1580;box-shadow:0 0 15px #facc1526}.badge-card.epic.unlocked{border-color:#d846efb3;box-shadow:0 0 20px #c026d34d}.badge-card.legendary.unlocked{border-color:#facc15e6;box-shadow:0 0 25px #fbbf2473}.badge-card.ancient.unlocked{background:linear-gradient(135deg,#1e293bcc,#0e749040);border-color:#38bdf8e6;box-shadow:0 0 28px #38bdf873}.badge-card.relic.unlocked{background:linear-gradient(135deg,#1e293bcc,#05966940);border-color:#34d399e6;box-shadow:0 0 25px #10b98166}.badge-card.locked{opacity:.65}.badge-card.is-focused{outline-offset:2px;outline:2px solid #fde047;animation:1.6s ease-in-out 2 badgeFocusPulse}@keyframes badgeFocusPulse{0%,to{transform:scale(1);box-shadow:0 0 18px #facc158c}50%{transform:scale(1.015);box-shadow:0 0 32px #facc15e6}}.badge-card-header{justify-content:space-between;align-items:center;display:flex}.badge-icon-wrap{color:#facc15;background:#ffffff1a;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.badge-card.epic .badge-icon-wrap{color:#f0abfc}.badge-card.legendary .badge-icon-wrap{color:#fde047}.badge-card.ancient .badge-icon-wrap{color:#38bdf8;background:#38bdf833;box-shadow:0 0 10px #38bdf866}.badge-card.relic .badge-icon-wrap{color:#34d399;background:#10b98133;box-shadow:0 0 10px #10b98166}.badge-tier-tag{font-family:var(--font-title);border-radius:4px;padding:2px 6px;font-size:9px;font-weight:800}.badge-tier-tag.easy{color:#34d399;background:#10b98133}.badge-tier-tag.medium{color:#38bdf8;background:#38bdf833}.badge-tier-tag.hard{color:#fbbf24;background:#f59e0b33}.badge-tier-tag.epic{color:#e879f9;background:#a855f740;border:1px solid #e879f959}.badge-tier-tag.legendary{color:#fde047;background:linear-gradient(135deg,#d977064d,#f59e0b4d);border:1px solid #fde04780;box-shadow:0 0 10px #facc154d}.badge-tier-tag.ancient{color:#7dd3fc;background:linear-gradient(135deg,#0ea5e94d,#0284c74d);border:1px solid #7dd3fc99;box-shadow:0 0 12px #38bdf859}.badge-tier-tag.relic{color:#6ee7b7;background:linear-gradient(135deg,#10b9814d,#0596694d);border:1px solid #6ee7b799;box-shadow:0 0 12px #10b98159}.hidden-achievements-vault{text-align:center;border-radius:var(--radius-lg);background:#0f172aa6;border:1px dashed #fff3;flex-direction:column;grid-column:1/-1;align-items:center;gap:12px;padding:36px 24px;display:flex}.hidden-achievements-vault.ancient-vault{border-color:#38bdf866;box-shadow:inset 0 0 30px #38bdf81a}.hidden-achievements-vault.relic-vault{border-color:#10b98166;box-shadow:inset 0 0 30px #10b9811a}.vault-icon-halo{background:#ffffff0f;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.ancient-vault .vault-icon-halo{color:#38bdf8;background:#38bdf826;border:2px solid #38bdf880;box-shadow:0 0 20px #38bdf859}.relic-vault .vault-icon-halo{color:#34d399;background:#10b98126;border:2px solid #10b98180;box-shadow:0 0 20px #10b98159}.vault-icon-halo svg{width:26px;height:26px}.vault-title{font-family:var(--font-title);letter-spacing:1px;color:#f8fafc;margin:0;font-size:16px}.vault-lore{color:#94a3b8;max-width:460px;margin:0;font-size:12px;line-height:1.6}.vault-status-tag{font-family:var(--font-digits);letter-spacing:1px;color:#cbd5e1;background:#ffffff14;border-radius:20px;padding:4px 12px;font-size:11px;font-weight:800}.badge-name{font-family:var(--font-title);font-size:13px;font-weight:700}.badge-desc{color:var(--text-muted);font-size:11px}.badge-perk-row{gap:6px;font-size:11px;display:flex}.perk-label{font-family:var(--font-mono);color:#facc15;font-weight:800}.perk-text{color:#f8fafc;font-weight:600}.badge-progress-wrap{align-items:center;gap:8px;margin-top:auto;display:flex}.badge-progress-bar{background:#ffffff1a;border-radius:3px;flex:1;height:6px;overflow:hidden}.badge-progress-fill{background:#facc15;border-radius:3px;height:100%}.badge-progress-text{font-family:var(--font-mono);color:var(--text-muted);font-size:10px}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background:#0a0f1dbf;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-close-btn{color:var(--text-main);cursor:pointer;background:#ffffff1a;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.modal-close-btn:hover{background:#ef444466}.bounty-modal-dialog{border-radius:var(--radius-xl);flex-direction:column;gap:16px;width:580px;padding:24px;display:flex}.bounty-modal-header{justify-content:space-between;align-items:flex-start;display:flex}.bounty-badge{font-family:var(--font-title);color:#f59e0b;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.bounty-title{font-family:var(--font-title);font-size:20px;font-weight:800}.bounty-desc{color:var(--text-muted);font-size:13px}.bounty-contracts-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.contract-card{border-radius:var(--radius-md);background:#1e293b99;border:1px solid #ffffff1a;flex-direction:column;gap:10px;padding:14px;display:flex}.contract-card.bronze{border-top:3px solid #d97706}.contract-card.silver{border-top:3px solid #94a3b8}.contract-card.gold{border-top:3px solid #facc15}.contract-tier-badge{font-family:var(--font-title);font-size:10px;font-weight:800}.contract-reward{font-family:var(--font-mono);color:#facc15;align-items:center;gap:4px;font-size:13px;font-weight:700;display:flex}.contract-name{font-family:var(--font-title);font-size:13px;font-weight:700}.contract-meta{color:var(--text-muted);font-size:11px}.btn-contract{color:#38bdf8;font-family:var(--font-title);border-radius:var(--radius-sm);cursor:pointer;background:#38bdf82e;border:1px solid #38bdf866;margin-top:auto;padding:8px;font-size:11px;font-weight:700}.btn-contract.disabled{color:#10b981;background:#10b98133;border-color:#10b981}.equation-box{border-radius:var(--radius-md);text-align:center;background:#0f172ae6;border:1px solid #ffffff26;flex-direction:column;align-items:center;gap:8px;padding:16px;display:flex}.equation-prompt{color:var(--text-muted);font-size:13px}.equation-formula{font-family:var(--font-mono);color:#38bdf8;font-size:32px;font-weight:800}.reward-indicator{color:#facc15;font-size:13px}.drawer-backdrop{z-index:100;background:#00000080;justify-content:flex-end;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.telemetry-drawer{border-radius:var(--radius-xl) 0 0 var(--radius-xl);flex-direction:column;gap:16px;width:min(480px,100vw);height:100%;padding:24px;animation:.25s cubic-bezier(.16,1,.3,1) drawerEnter;display:flex}@keyframes drawerEnter{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:flex-start;padding-bottom:12px;display:flex}.drawer-tag{font-family:var(--font-title);color:#fbbf24;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.drawer-title{font-family:var(--font-title);font-size:17px;font-weight:800}.drawer-body{flex-direction:column;flex:1;gap:14px;padding-right:4px;display:flex;overflow-y:auto}.telemetry-card{border-radius:var(--radius-md);background:#0f172acc;border:1px solid #ffffff1a;flex-direction:column;gap:10px;padding:14px;display:flex}.card-hdr{justify-content:space-between;align-items:center;display:flex}.card-title{font-family:var(--font-title);color:var(--text-muted);font-size:12px;font-weight:800}.status-pill{font-family:var(--font-title);border-radius:4px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:800;display:flex}.status-verified{color:#34d399;background:#10b98133}.status-clean{color:#38bdf8;background:#38bdf833}.status-flagged{color:#f87171;background:#ef444433}.hash-display-row{flex-direction:column;gap:6px;display:flex}.hash-field{flex-direction:column;gap:2px;display:flex}.hash-label{color:var(--text-muted);font-size:11px}.hash-code{font-family:var(--font-mono);color:#38bdf8;word-break:break-all;background:#0006;border-radius:4px;padding:4px 8px;font-size:11px}.stats-metrics-grid{text-align:center;grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.metric-item{border-radius:var(--radius-sm);background:#1e293b80;flex-direction:column;gap:2px;padding:8px 4px;display:flex}.metric-num{font-family:var(--font-mono);color:#fff;font-size:16px;font-weight:800}.metric-sub{color:var(--text-muted);font-size:10px}.field-guide-dialog{border-radius:var(--radius-xl);flex-direction:column;gap:16px;width:640px;max-height:85vh;padding:24px;display:flex}.field-guide-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:flex-start;padding-bottom:12px;display:flex}.guide-badge{font-family:var(--font-title);color:#10b981;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.guide-title{font-family:var(--font-title);font-size:20px;font-weight:800}.guide-scrollable-content{flex-direction:column;flex:1;gap:16px;padding-right:6px;display:flex;overflow-y:auto}.guide-section{flex-direction:column;gap:8px;display:flex}.section-title{font-family:var(--font-title);color:#38bdf8;font-size:14px;font-weight:800}.towers-guide-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.tower-guide-card{border-radius:var(--radius-md);background:#1e293b99;border:1px solid #ffffff1a;flex-direction:column;gap:4px;padding:12px;display:flex}.guide-card-top{align-items:center;gap:8px;display:flex}.guide-card-top h4{font-family:var(--font-title);font-size:13px;font-weight:700}.op-badge{width:22px;height:22px;font-family:var(--font-title);background:#ffffff26;border-radius:4px;justify-content:center;align-items:center;font-size:14px;font-weight:800;display:flex}.guide-card-role{color:#38bdf8;font-size:11px;font-weight:600}.tower-guide-card p{color:var(--text-muted);font-size:12px}.guide-tips-list{color:var(--text-muted);flex-direction:column;gap:6px;padding-left:20px;font-size:12px;display:flex}.guide-tips-list b{color:#facc15}#floating-combat-layer{pointer-events:none;z-index:12;width:100vw;height:100vh;position:fixed;top:0;left:0;overflow:hidden}.floating-combat-text{font-family:var(--font-mono);text-shadow:0 2px 8px #000000f2,0 0 10px #0009;pointer-events:none;white-space:nowrap;will-change:transform, opacity;z-index:12;font-weight:800;position:absolute;top:0;left:0}.floating-combat-text.crit{text-shadow:0 0 15px #facc15e6,0 2px 8px #000000f2;font-size:24px}.credit-float-bonus{font-family:var(--font-title);color:#facc15;text-shadow:0 0 12px #facc15e6,0 2px 6px #000000e6;pointer-events:none;z-index:9999;opacity:1;font-size:18px;font-weight:800;transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity 1.1s ease-in;position:fixed;transform:translate(-50%)}.credit-float-bonus.fly-up{opacity:0;transform:translate(-50%,-40px)}.hyper-timer-wrap{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.hyper-timer-track{background:#0f172acc;border:1px solid #ffffff1a;border-radius:4px;height:8px;overflow:hidden}.hyper-timer-bar{background:#10b981;border-radius:4px;height:100%;transition:width .2s linear,background-color .3s}.hyper-time-text{font-family:var(--font-mono);color:#facc15;letter-spacing:1px;font-size:12px;font-weight:700}.hyper-expired-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:50;border-radius:var(--radius-md);background:#0f172aeb;justify-content:center;align-items:center;animation:.3s fadeIn;display:flex;position:absolute;inset:0}.expired-msg{text-align:center;color:#f8fafc;flex-direction:column;align-items:center;gap:8px;padding:20px;display:flex}.expired-icon{font-size:38px}.expired-msg b{font-family:var(--font-title);color:#ef4444;font-size:18px}.expired-msg span{color:var(--text-muted);font-size:13px}.shortcuts-window{max-width:680px}.shortcuts-body{flex-direction:column;gap:20px;display:flex}.shortcuts-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.shortcut-group{border-radius:var(--radius-md);background:#1e293b73;border:1px solid #ffffff14;flex-direction:column;gap:12px;padding:16px;display:flex}.group-title{font-family:var(--font-title);color:#38bdf8;letter-spacing:1px;border-bottom:1px solid #ffffff14;align-items:center;gap:8px;padding-bottom:8px;font-size:14px;font-weight:700;display:flex}.shortcut-row{align-items:center;gap:12px;display:flex}.shortcut-key,kbd{min-width:28px;height:28px;font-family:var(--font-mono);color:#f8fafc;background:linear-gradient(#334155,#1e293b);border:1px solid #ffffff40;border-bottom:2px solid #ffffff59;border-radius:6px;justify-content:center;align-items:center;padding:0 8px;font-size:13px;font-weight:700;display:inline-flex;box-shadow:0 2px 4px #0006}.keys-flex{align-items:center;gap:4px;display:flex}.shortcut-desc{color:var(--text-main);font-size:13px;line-height:1.4}.shortcuts-footer-tip{border-radius:var(--radius-md);color:#a7f3d0;background:#10b9811f;border:1px solid #10b9814d;padding:12px 16px;font-size:13px;line-height:1.4}.tutorial-window{max-width:740px}.tutorial-body{min-height:380px}.tut-slide{flex-direction:column;gap:16px;display:flex}.tut-slide-title{font-family:var(--font-title);color:#38bdf8;letter-spacing:.5px;font-size:22px;font-weight:800}.tut-slide-lead{color:var(--text-main);font-size:14px;line-height:1.5}.tut-box-label{font-family:var(--font-title);color:var(--text-muted);letter-spacing:1px;font-size:12px;font-weight:700}.tut-grade-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:8px;display:grid}.tut-grade-card{border-radius:var(--radius-md);cursor:pointer;text-align:left;background:#1e293b80;border:1px solid #ffffff1a;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;transition:all .2s;display:flex}.tut-grade-card:hover{background:#38bdf826;border-color:#38bdf8}.tut-grade-card.active{background:#10b98133;border-color:#10b981;box-shadow:0 0 15px #10b98159}.grade-title{font-family:var(--font-title);color:#f8fafc;font-size:15px;font-weight:800}.tut-grade-card.active .grade-title{color:#10b981}.grade-desc{color:var(--text-muted);font-size:11px;line-height:1.3}.tut-turrets-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tut-turret-card{border-radius:var(--radius-md);background:#1e293b80;border:1px solid #ffffff14;align-items:flex-start;gap:12px;padding:12px;display:flex}.tut-turret-icon{border-radius:var(--radius-sm);width:36px;height:36px;font-family:var(--font-title);color:#fff;flex-shrink:0;justify-content:center;align-items:center;font-size:20px;font-weight:800;display:flex}.card-pulse .tut-turret-icon{background:#10b981}.card-rail .tut-turret-icon{background:#3b82f6}.card-mortar .tut-turret-icon{background:#f97316}.card-cryo .tut-turret-icon{background:#06b6d4}.tut-turret-info h4{font-family:var(--font-title);color:#f8fafc;margin-bottom:4px;font-size:14px;font-weight:700}.turret-role{color:var(--text-muted);margin-bottom:4px;font-size:12px;line-height:1.3}.turret-cost{color:#facc15;font-size:11px;font-family:var(--font-mono)}.tut-mechanics-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tut-mech-box{border-radius:var(--radius-md);background:#1e293b73;border:1px solid #ffffff14;padding:14px}.mech-badge{font-family:var(--font-title);color:#38bdf8;letter-spacing:.8px;margin-bottom:6px;font-size:12px;font-weight:800}.tut-mech-box p{color:var(--text-main);font-size:12px;line-height:1.4}.tut-formula-box{border-radius:var(--radius-md);background:#0f172a99;border:1px solid #ffffff1f;padding:16px}.formula-title{font-family:var(--font-title);color:#facc15;letter-spacing:1px;margin-bottom:6px;font-size:13px;font-weight:800}.formula-eq{font-family:var(--font-mono);color:#f8fafc;margin-bottom:8px;font-size:13px;font-weight:700;line-height:1.4}.formula-note{color:var(--text-muted);font-size:12px;line-height:1.4}.tut-shortcuts-summary{flex-wrap:wrap;gap:10px;display:flex}.tut-shortcut-pill{color:var(--text-main);background:#1e293b99;border:1px solid #ffffff1a;border-radius:20px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;display:flex}.tutorial-footer{border-top:1px solid var(--panel-border);justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.tutorial-dots{gap:8px;display:flex}.tutorial-dot{background:#fff3;border-radius:50%;width:10px;height:10px;transition:all .2s}.tutorial-dot.active{background:#38bdf8;border-radius:10px;width:22px}.tutorial-nav-btns{align-items:center;gap:10px;display:flex}.game-over-window{max-width:760px}.game-over-header{border-bottom:1px solid var(--panel-border);align-items:center;gap:14px;padding:18px 24px;display:flex}.game-over-badge-icon{font-size:36px}.game-over-title-wrap{flex:1}.game-over-title{font-family:var(--font-title);letter-spacing:1px;font-size:24px;font-weight:800}.victory .game-over-title{color:#10b981}.defeat .game-over-title{color:#ef4444}.game-over-subtitle{color:var(--text-muted);font-size:13px}.game-over-body{flex-direction:column;gap:16px;max-height:70vh;display:flex;overflow-y:auto}.final-score-banner{border-radius:var(--radius-lg);background:linear-gradient(135deg,#1e293be6,#0f172af2);border:1px solid #facc1566;flex-direction:column;justify-content:center;align-items:center;padding:18px;display:flex;box-shadow:0 0 25px #facc1526}.final-score-label{font-family:var(--font-title);letter-spacing:2px;color:var(--text-muted);font-size:12px;font-weight:800}.final-score-val{font-family:var(--font-mono);color:#facc15;text-shadow:0 0 15px #facc1580;margin:4px 0;font-size:42px;font-weight:800}.final-score-grade{font-family:var(--font-title);color:#38bdf8;letter-spacing:1px;font-size:13px;font-weight:700}.score-breakdown-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.breakdown-card{border-radius:var(--radius-md);text-align:center;background:#1e293b80;border:1px solid #ffffff14;flex-direction:column;justify-content:center;align-items:center;padding:12px;display:flex}.bc-title{font-family:var(--font-title);color:var(--text-muted);letter-spacing:.8px;align-items:center;gap:4px;font-size:10px;font-weight:700;display:flex}.bc-val{font-family:var(--font-mono);color:#f8fafc;margin:4px 0;font-size:18px;font-weight:800}.bc-sub{font-family:var(--font-mono);color:#10b981;font-size:11px}.accuracy-fairness-box{border-radius:var(--radius-md);background:#0f172ab3;border:1px solid #ffffff1a;flex-direction:column;gap:8px;padding:14px;display:flex}.acc-row{justify-content:space-between;align-items:center;display:flex}.acc-label{font-family:var(--font-title);color:#38bdf8;font-size:13px;font-weight:700}.acc-val{font-family:var(--font-mono);color:#facc15;font-size:14px;font-weight:700}.formula-line{color:var(--text-muted);font-size:12px;line-height:1.4}.stats-toggle-wrap{justify-content:center;display:flex}.btn-review-stats{padding:8px 18px;font-size:13px}.detailed-stats-drawer{border-radius:var(--radius-md);background:#0f172acc;border:1px solid #ffffff14;padding:16px}.missed-title{font-family:var(--font-title);color:#ef4444;letter-spacing:1px;margin-bottom:12px;font-size:13px;font-weight:800}.missed-questions-list{flex-direction:column;gap:10px;display:flex}.missed-item-card{background:#1e293b80;border-left:3px solid #ef4444;border-radius:4px;flex-direction:column;gap:6px;padding:10px 14px;display:flex}.missed-item-header{font-family:var(--font-mono);align-items:center;gap:12px;font-size:13px;display:flex}.missed-num{color:var(--text-muted);font-weight:700}.missed-eq{color:#f8fafc;font-weight:800}.missed-user-ans{color:#ef4444}.missed-correct-ans{color:#10b981}.missed-tip{color:#fef08a;font-size:12px;line-height:1.4}.flawless-banner{border-radius:var(--radius-md);color:#10b981;background:#10b98126;border:1px solid #10b98166;align-items:center;gap:12px;padding:16px;display:flex}.flawless-icon{font-size:28px}.empty-stats-msg{color:var(--text-muted);text-align:center;padding:12px;font-size:13px}.game-over-footer{border-top:1px solid var(--panel-border);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:16px 24px;display:flex}.game-over-footer .btn{letter-spacing:.5px;border-radius:var(--radius-md);transition:all var(--transition-fast);justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:14px;font-weight:700;display:inline-flex}.game-over-footer .btn svg{flex-shrink:0}.game-over-footer .btn-play-again{padding:12px 28px;font-size:15px;font-weight:800}@keyframes shakeX{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.shake-error{animation:.35s shakeX;border-color:#ef4444!important}@media (width<=900px){.hud-top-bar{flex-wrap:wrap;gap:8px;height:auto;padding:10px 14px}.hud-stats-group{order:3;justify-content:space-between;width:100%}#side-console-root{width:320px}.tower-card{width:105px;height:72px;padding:6px}.score-breakdown-grid{grid-template-columns:1fr 1fr}.shortcuts-grid,.tut-turrets-grid,.tut-mechanics-grid{grid-template-columns:1fr}}.arcade-menu-overlay{z-index:500;pointer-events:auto;box-sizing:border-box;background:radial-gradient(circle at 50% 20%,#0d1b38 0%,#060a16 60%,#020409 100%);justify-content:center;padding:24px 20px;display:flex;position:fixed;inset:0;overflow-y:auto}.arcade-portal-container{flex-direction:column;gap:28px;width:100%;max-width:1240px;display:flex}.arcade-top-bar{border-radius:var(--radius-xl);border:1px solid #ffffff1f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.arcade-logo-group{align-items:center;gap:14px;display:flex}.arcade-logo-badge{width:44px;height:44px;font-family:var(--font-title);color:#fff;background:linear-gradient(135deg,#10b981 0%,#06b6d4 100%);border-radius:12px;justify-content:center;align-items:center;font-size:26px;font-weight:900;display:flex;box-shadow:0 0 20px #10b98166}.arcade-main-title{font-family:var(--font-title);letter-spacing:1.5px;color:#fff;font-size:22px;font-weight:900;line-height:1.1}.arcade-subtitle{color:#94a3b8;letter-spacing:.5px;font-size:12px}.arcade-profile-strip{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.user-status-card{border-radius:var(--radius-lg);cursor:pointer;background:#1e293b99;border:1px solid #ffffff1f;align-items:center;gap:12px;padding:8px 14px;transition:all .2s;display:flex}.user-status-card:hover{background:#334155cc;border-color:#38bdf8;transform:translateY(-2px)}.user-avatar{background:#0f172acc;border:2px solid #10b981;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:24px;display:flex}.user-info-text{flex-direction:column;gap:2px;display:flex}.user-name-row{align-items:center;gap:8px;display:flex}.char-name{font-family:var(--font-title);color:#f8fafc;font-size:14px;font-weight:700}.grade-badge{font-family:var(--font-mono);color:#34d399;background:#10b98133;border:1px solid #10b98166;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:800}.cadet-star-badge{font-family:var(--font-mono);color:#facc15;margin-left:2px;font-size:11px;font-weight:700}.cadet-best-score{font-family:var(--font-mono);color:#38bdf8;font-size:10px}.account-type-row{color:#94a3b8;align-items:center;gap:6px;font-size:11px;display:flex}.status-indicator{border-radius:50%;width:7px;height:7px}.status-indicator.online{background-color:#10b981;box-shadow:0 0 8px #10b981}.status-indicator.guest{background-color:#f59e0b}.portal-actions{align-items:center;gap:10px;display:flex}.btn-auth-signin{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);padding:8px 16px;font-size:13px;font-weight:700}.btn-auth-signout{color:#94a3b8;background:#ffffff14;border:1px solid #ffffff26;padding:8px 14px;font-size:12px}.btn-portal-lead{color:#facc15;background:#f59e0b26;border:1px solid #f59e0b66;padding:8px 16px;font-size:13px;font-weight:700}.btn-portal-donate{color:#38bdf8;background:#0ea5e926;border:1px solid #38bdf873;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.btn-portal-donate:hover{color:#fff;background:#0ea5e94d;border-color:#38bdf8;transform:translateY(-1px);box-shadow:0 0 16px #38bdf880}.portal-hero-banner{border-radius:var(--radius-xl);background:linear-gradient(90deg,#10b9811a 0%,#3b82f614 100%);border:1px solid #ffffff1a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;display:flex}.hero-left{flex-direction:column;gap:6px;max-width:640px;display:flex}.hero-tag{font-family:var(--font-mono);color:#10b981;letter-spacing:1.5px;font-size:11px;font-weight:800}.hero-heading{font-family:var(--font-title);color:#fff;letter-spacing:1px;font-size:26px;font-weight:900}.hero-desc{color:#94a3b8;font-size:13px;line-height:1.5}.hero-stats{align-items:center;gap:16px;display:flex}.h-stat-box{border-radius:var(--radius-md);background:#0f172ab3;border:1px solid #ffffff1a;flex-direction:column;align-items:center;min-width:90px;padding:10px 18px;display:flex}.h-stat-num{font-family:var(--font-mono);color:#facc15;font-size:20px;font-weight:800}.h-stat-label{color:#64748b;letter-spacing:.5px;font-size:10px;font-weight:700}.games-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;display:grid}.game-card{border-radius:var(--radius-xl);border:1px solid #ffffff1f;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;overflow:hidden}.game-card:hover{border-color:#ffffff4d;transform:translateY(-6px);box-shadow:0 20px 40px #0009}.featured-card.active-game{cursor:pointer;border:1px solid #10b98166;box-shadow:0 12px 36px #10b98126}.featured-card.active-game:hover{border-color:#10b981;box-shadow:0 20px 50px #10b9814d}.card-visual{background:#020617;width:100%;height:190px;position:relative;overflow:hidden}.lowpoly-art-frame{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.lowpoly-svg-preview{object-fit:cover;width:100%;height:100%}.active-badge,.locked-badge{font-family:var(--font-mono);letter-spacing:.5px;border-radius:6px;padding:4px 10px;font-size:11px;font-weight:800;position:absolute;top:12px;right:12px}.active-badge{color:#fff;background:#10b981e6;box-shadow:0 0 12px #10b98199}.locked-badge{color:#f1f5f9;background:#64748bb3}.card-content{flex-direction:column;flex:1;gap:12px;padding:22px;display:flex}.card-meta-row{justify-content:space-between;align-items:center;display:flex}.genre-tag{font-family:var(--font-mono);color:#38bdf8;letter-spacing:.5px;font-size:11px;font-weight:700}.age-tag{font-family:var(--font-mono);color:#facc15;font-size:11px;font-weight:700}.game-title{font-family:var(--font-title);color:#fff;letter-spacing:.5px;font-size:19px;font-weight:800}.game-desc{color:#94a3b8;flex:1;font-size:13px;line-height:1.5}.game-score-row{border-radius:var(--radius-md);background:#0f172aa6;border:1px solid #facc1540;justify-content:space-between;align-items:center;margin:2px 0 6px;padding:8px 12px;display:flex}.score-chip-label{font-family:var(--font-title);letter-spacing:.8px;color:#facc15;align-items:center;gap:6px;font-size:11px;font-weight:800;display:inline-flex}.score-trophy-icon{align-items:center;display:inline-flex}.score-trophy-icon svg{width:13px;height:13px}.score-chip-val{font-family:var(--font-mono);color:#fff;letter-spacing:.5px;font-size:13px;font-weight:800}.game-perks-row{font-size:11px;font-family:var(--font-mono);color:#34d399;flex-wrap:wrap;gap:8px;display:flex}.card-action-row{margin-top:6px}.btn-launch{letter-spacing:1px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);width:100%;padding:12px;font-size:15px;font-weight:800;box-shadow:0 4px 18px #10b98166}.btn-launch:hover{transform:translateY(-2px);box-shadow:0 8px 25px #10b98199}.saved-game-strip{border-radius:var(--radius-md);background:#f59e0b1f;border:1px solid #f59e0b59;flex-direction:column;gap:4px;margin:6px 0;padding:10px 14px;display:flex;box-shadow:0 0 16px #f59e0b1a}.saved-tag{font-family:var(--font-title);letter-spacing:1px;color:#facc15;font-size:11px;font-weight:800}.saved-details{font-family:var(--font-mono);color:#f8fafc;font-size:12px;font-weight:700}.card-action-row.saved-actions{gap:10px;width:100%;display:flex}.btn-resume-mission{color:#fff;background:linear-gradient(135deg,#10b981,#059669);flex:1.6;box-shadow:0 4px 16px #10b98166}.btn-resume-mission:hover{transform:translateY(-2px);box-shadow:0 6px 22px #10b98199}.btn-new-mission{color:#cbd5e1;border-radius:var(--radius-md);font-family:var(--font-title);cursor:pointer;background:#1e293bb3;border:1px solid #ffffff26;flex:1;justify-content:center;align-items:center;gap:6px;padding:12px;font-size:13px;font-weight:800;transition:all .2s;display:flex}.btn-new-mission:hover{color:#f87171;background:#ef444433;border-color:#ef444466;transform:translateY(-2px)}.btn-locked{opacity:.5;cursor:not-allowed;width:100%;padding:10px;font-size:13px}.character-modal-window{max-width:650px}.profile-account-strip{border-radius:var(--radius-md);background:#1e293b99;border:1px solid #ffffff14;padding:12px 16px}.strip-info{align-items:center;gap:10px;font-size:13px;display:flex}.strip-label{color:#94a3b8;font-family:var(--font-mono);font-size:11px}.strip-user{color:#fff;font-weight:700}.strip-badge{font-family:var(--font-mono);border-radius:4px;margin-left:auto;padding:3px 8px;font-size:10px;font-weight:800}.strip-badge.validated{color:#10b981;background:#10b98133;border:1px solid #10b98166}.strip-badge.guest{color:#facc15;background:#f59e0b33;border:1px solid #f59e0b66}.char-tabs{flex-direction:column;gap:8px;display:flex}.char-section-label{font-family:var(--font-mono);color:#38bdf8;letter-spacing:.5px;font-size:11px;font-weight:700}.existing-chars-row{gap:10px;padding-bottom:4px;display:flex;overflow-x:auto}.char-card-pill{border-radius:var(--radius-lg);color:var(--text-main);cursor:pointer;white-space:nowrap;background:#1e293b99;border:1px solid #ffffff1f;align-items:center;gap:8px;padding:8px 14px;transition:all .2s;display:flex}.char-card-pill.active{background:#10b98133;border-color:#10b981;box-shadow:0 0 12px #10b9814d}.char-pill-icon{font-size:18px}.char-pill-name{font-size:13px;font-weight:700}.char-pill-grade{font-family:var(--font-mono);color:#94a3b8;font-size:10px}.new-char-btn{color:#38bdf8;border-style:dashed}.form-group{flex-direction:column;gap:8px;display:flex}.form-label{font-family:var(--font-mono);color:#94a3b8;letter-spacing:.5px;font-size:12px;font-weight:700}.text-input{border-radius:var(--radius-md);color:#fff;width:100%;font-family:var(--font-title);box-sizing:border-box;background:#0f172acc;border:1px solid #ffffff29;padding:12px 16px;font-size:15px;font-weight:700;transition:border-color .2s}.text-input:focus{border-color:#10b981;outline:none;box-shadow:0 0 12px #10b9814d}.name-hint{color:#38bdf8;font-size:11px;font-family:var(--font-mono);margin-top:2px}.polyshape-card{border-radius:var(--radius-lg);background:#0f172ab3;border:1px solid #10b9814d;padding:16px 20px;box-shadow:0 0 20px #10b9811a}.polysigil-showcase-row{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.polysigil-svg-container{border-radius:var(--radius-lg);background:radial-gradient(circle,#10b98126 0%,#020617b3 70%);border:1px solid #ffffff1a;flex-shrink:0;justify-content:center;align-items:center;padding:10px;display:flex;box-shadow:0 0 24px #00000080}.polyshape-svg{filter:drop-shadow(0 0 8px #10b98166);transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.polyshape-svg:hover{transform:rotate(15deg)scale(1.08)}.polysigil-details{flex-direction:column;flex:1;gap:6px;min-width:240px;display:flex}.sigil-tag-row{align-items:center;gap:8px;display:flex}.sigil-badge{font-family:var(--font-mono);color:#10b981;background:#10b98133;border:1px solid #10b98166;border-radius:4px;padding:2px 8px;font-size:10px;font-weight:800}.sigil-hash{font-family:var(--font-mono);color:#facc15;font-size:11px;font-weight:700}.sigil-title{font-family:var(--font-title);color:#fff;letter-spacing:.5px;font-size:17px;font-weight:800}.sigil-desc{color:#94a3b8;margin:0;font-size:12px;line-height:1.4}.sigil-color-harmonics{align-items:center;gap:8px;margin-top:4px;display:flex}.harmonic-label{font-family:var(--font-mono);color:#64748b;font-size:10px;font-weight:700}.harmonic-swatch{border:1px solid #fff6;border-radius:50%;width:18px;height:18px;box-shadow:0 0 8px #00000080}.harmonic-name{font-family:var(--font-mono);color:#38bdf8;margin-left:4px;font-size:11px;font-weight:700}.pilot-polyshape-icon{background:#0f172a99;border:1px solid #ffffff1f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.user-polyshape-icon{background:#0f172ab3;border:1.5px solid #38bdf866;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.pilot-polyshape-wrap{align-items:center;gap:10px;display:flex}.pilot-name-text{font-family:var(--font-title);color:#fff;font-size:15px;font-weight:800}.grade-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.grade-notice{color:#38bdf8;font-size:11px;font-family:var(--font-mono)}.grade-cards-grid{grid-template-columns:1fr;gap:10px;display:grid}.grade-select-card{border-radius:var(--radius-md);text-align:left;cursor:pointer;background:#1e293b80;border:1px solid #ffffff1a;flex-direction:column;gap:4px;padding:12px 16px;transition:all .2s;display:flex}.grade-select-card:hover{background:#334155b3;border-color:#38bdf8}.grade-select-card.active{background:#10b9812e;border-color:#10b981;box-shadow:0 0 14px #10b98140}.g-card-top{align-items:center;gap:10px;display:flex}.g-badge{font-family:var(--font-title);color:#10b981;font-size:14px;font-weight:800}.g-sub{color:#f8fafc;font-size:12px;font-weight:700}.g-card-desc{color:#94a3b8;font-size:12px;line-height:1.35}.signin-modal-window{max-width:620px}.auth-comparison-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.auth-card{border-radius:var(--radius-lg);flex-direction:column;gap:10px;padding:16px;display:flex}.guest-card{background:#1e293b80;border:1px solid #f59e0b4d}.validated-card{background:#10b9811a;border:1px solid #10b98166}.auth-card-header{align-items:center;gap:8px;display:flex}.auth-card-header h4{font-family:var(--font-title);color:#fff;font-size:14px;font-weight:800}.auth-perks{color:#94a3b8;flex-direction:column;gap:6px;font-size:12px;line-height:1.35;list-style:none;display:flex}.perk-gold{color:#facc15}.notice-red{color:#f87171}.demo-logins-section{flex-direction:column;gap:8px;display:flex}.demo-buttons-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.btn-demo-auth{border-radius:var(--radius-md);color:#fff;cursor:pointer;background:#1e293bb3;border:1px solid #ffffff1f;flex-direction:column;align-items:center;gap:2px;padding:10px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.btn-demo-auth:hover{background:#3b82f64d;border-color:#3b82f6;transform:translateY(-2px)}.btn-demo-auth small{color:#94a3b8;font-size:10px}.custom-signin-form{flex-direction:column;gap:8px;display:flex}.form-row{gap:10px;display:flex}.leaderboard-modal-window{max-width:760px}.leaderboard-tabs-bar{background:#0a0f1e99;border-bottom:1px solid #ffffff1a;display:flex}.tab-btn{color:#94a3b8;cursor:pointer;font-family:var(--font-title);background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:2px;padding:14px;font-size:13px;font-weight:800;transition:all .2s;display:flex}.tab-btn.active{color:#fff;background:#ffffff0d;border-bottom:2px solid #10b981}.tab-sub{color:#64748b;font-size:11px;font-weight:500}.leaderboard-info-banner{border-radius:var(--radius-md);padding:10px 16px;font-size:12px;line-height:1.4}.info-gold{color:#facc15;background:#f59e0b1f;border:1px solid #f59e0b4d}.info-cyan{color:#38bdf8;background:#06b6d41f;border:1px solid #06b6d44d}.leaderboard-table-wrap{overflow-x:auto}.leaderboard-table{border-collapse:collapse;width:100%;font-size:13px}.leaderboard-table th{text-align:left;font-family:var(--font-mono);color:#64748b;border-bottom:1px solid #ffffff1a;padding:10px 12px;font-size:11px}.leaderboard-table td{border-bottom:1px solid #ffffff0f;padding:12px}.lead-row.top-rank{background:#ffffff05}.rank-badge{font-family:var(--font-mono);font-weight:800}.pilot-identity{align-items:center;gap:10px;display:flex}.pilot-avatar{font-size:20px}.pilot-names{flex-direction:column;display:flex}.pilot-char-name{color:#fff;font-weight:700}.pilot-account{color:#64748b;font-size:11px}.verified-icon{font-size:14px}.grade-tag{font-family:var(--font-mono);background:#ffffff14;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:800}.score-num{font-family:var(--font-mono);color:#facc15;font-size:15px}.footer-note{color:#64748b;font-size:11px;font-family:var(--font-mono);margin-right:auto}.clever-defeat-banner{border-radius:var(--radius-lg);background:#ef444426;border:1px solid #ef444466;align-items:flex-start;gap:16px;padding:16px 20px;animation:.4s shakeX;display:flex}.defeat-quote-icon{font-size:28px}.defeat-quote-content{flex-direction:column;gap:4px;display:flex}.defeat-quote-label{font-family:var(--font-mono);color:#f87171;letter-spacing:1px;font-size:11px;font-weight:800}.defeat-quote-text{font-family:var(--font-body);color:#fff;font-size:14px;font-weight:600;line-height:1.45}.defeat-rematch-offer{font-family:var(--font-title);color:#facc15;font-size:12px;font-weight:800}.victory-acclaim-banner{border-radius:var(--radius-lg);color:#10b981;background:#10b98126;border:1px solid #10b98166;align-items:center;gap:14px;padding:16px 20px;display:flex}.victory-quote-icon{font-size:28px}.score-pilot-tag{justify-content:space-between;align-items:center;width:100%;margin-bottom:6px;font-size:13px;font-weight:700;display:flex}.score-validation-wrap{flex-direction:column;justify-content:center;align-items:center;width:100%;margin-top:8px;display:flex}.score-auth-tag{font-family:var(--font-mono);white-space:nowrap;letter-spacing:.5px;border-radius:20px;justify-content:center;align-items:center;gap:6px;padding:6px 14px;font-size:11px;font-weight:700;display:inline-flex}.score-auth-tag.validated{color:#34d399;background:#10b98133;border:1px solid #10b98180}.score-auth-tag.guest{color:#facc15;background:#f59e0b33;border:1px solid #f59e0b73}.accuracy-grade-pill{font-family:var(--font-digits);letter-spacing:.5px;vertical-align:middle;border:1px solid;border-radius:6px;align-items:center;margin-left:6px;padding:1px 7px;font-size:11px;font-weight:800;display:inline-flex}.accuracy-grade-pill.grade-a-plus,.accuracy-grade-pill.grade-a,.accuracy-grade-pill.grade-a-minus{color:#34d399;background:#10b98133}.accuracy-grade-pill.grade-b-plus,.accuracy-grade-pill.grade-b,.accuracy-grade-pill.grade-b-minus{color:#38bdf8;background:#38bdf833}.accuracy-grade-pill.grade-c-plus,.accuracy-grade-pill.grade-c,.accuracy-grade-pill.grade-c-minus{color:#facc15;background:#facc1533}.accuracy-grade-pill.grade-d{color:#fb923c;background:#fb923c33}.accuracy-grade-pill.grade-f{color:#f87171;background:#ef444433}.unverified-note{font-family:var(--font-body);color:#94a3b8;text-align:center;margin-top:4px;font-size:11px;font-weight:500;display:block}.anti-guess-feedback{border-radius:var(--radius-md);background:#ef44442e;border:1px solid #ef444473;flex-direction:column;gap:6px;padding:12px 14px;animation:.35s shakeX;display:flex}.feedback-badge-wrong{font-family:var(--font-mono);color:#ef4444;letter-spacing:.5px;font-size:12px;font-weight:800}.feedback-ans-text{color:#fff;font-size:14px}.feedback-tip-text{color:#fef08a;margin:0;font-size:12px;line-height:1.4}.feedback-regen-status{font-family:var(--font-mono);color:#38bdf8;margin-top:4px;font-size:11px;font-weight:700}.cost-multiplier{color:#f97316;background:#f9731633;border-radius:3px;padding:1px 4px;font-size:10px;font-weight:800}@media (width<=768px){.modal-backdrop{align-items:flex-end;padding:10px}.modal-window{border-radius:20px 20px 0 0;max-width:100%;max-height:92vh}.modal-header{padding:14px 16px}.modal-title{font-size:17px}.modal-body{gap:14px;padding:16px}.modal-footer{flex-wrap:wrap;padding:12px 16px}.hud-top-bar{flex-wrap:wrap;gap:6px;height:auto;padding:8px 10px;top:6px;left:8px;right:8px}.brand-text{display:none}.hud-stats-group{flex:1;order:2;justify-content:flex-end;gap:6px}.stat-badge{padding:4px 8px;font-size:12px}.combo-meter-container{width:80px}.hud-controls-group{border-top:1px solid #ffffff14;order:3;justify-content:space-between;width:100%;padding-top:4px}.grade-selector-wrap{display:none}.hide-mobile{display:none!important}#side-console-root{z-index:80;background:#0f172af5;border-top:2px solid #38bdf866;border-radius:24px 24px 0 0;width:100%;max-height:58vh;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -12px 40px #000000b3}.side-console-aside{border:none;border-radius:24px 24px 0 0;max-height:58vh;overflow-y:auto}.choices-grid,.math-choices-grid{grid-template-columns:1fr 1fr;gap:10px;width:100%}.choice-card,.math-choice-card{min-height:52px;min-width:var(--math-choice-min-width,92px);padding:10px}.hud-bottom-dock{width:100%;padding:0 6px;bottom:8px}.tower-cards-container{justify-content:center;gap:6px;padding:6px;overflow-x:auto}.tower-card{width:78px;height:60px;padding:4px}.card-name{font-size:10px}.card-op{display:none}.card-cost{font-size:10px}.card-hotkey{display:none}.arcade-portal-container{gap:16px}.arcade-top-bar{padding:12px 14px}.portal-hero-banner{padding:16px}.hero-stats{justify-content:space-between;width:100%}.h-stat-box{min-width:70px;padding:8px 12px}.games-grid,.auth-comparison-grid,.demo-buttons-row{grid-template-columns:1fr}.avatar-grid{grid-template-columns:repeat(4,1fr)}.hud-camera-dock{display:none!important}.onboarding-cards-grid,.manual-features-grid,.camera-modes-grid,.briefing-box-grid{grid-template-columns:1fr}.leaderboard-grade-filter-bar{padding:8px 14px}}.hud-camera-dock{-webkit-backdrop-filter:blur(12px);z-index:20;pointer-events:auto;background:#0f172ae0;border:1px solid #ffffff26;border-radius:14px;align-items:center;gap:6px;padding:6px 12px;display:flex;position:fixed;bottom:24px;left:24px;box-shadow:0 8px 24px #0006}.camera-dock-label{font-family:var(--font-title);letter-spacing:.08em;color:var(--text-muted);margin-right:4px;font-size:11px;font-weight:700}.cam-preset-btn{font-family:var(--font-mono);color:#94a3b8;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:5px 10px;font-size:11px;font-weight:700;transition:all .2s}.cam-preset-btn:hover{color:#f8fafc;background:#ffffff1f;border-color:#ffffff40}.cam-preset-btn.active{color:#38bdf8;background:#0ea5e933;border-color:#38bdf8;box-shadow:0 0 10px #0ea5e959}.leaderboard-grade-filter-bar{background:#0a102073;border-bottom:1px solid #ffffff14;align-items:center;gap:8px;padding:10px 24px;display:flex;overflow-x:auto}.grade-pill-btn{font-family:var(--font-title);letter-spacing:.05em;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:6px 14px;font-size:12px;font-weight:700;transition:all .2s}.grade-pill-btn:hover{color:#fff;background:#ffffff1a;border-color:#ffffff40}.grade-pill-btn.active{color:#38bdf8;background:#0ea5e933;border-color:#38bdf8;box-shadow:0 0 12px #0ea5e94d}.empty-leaderboard-cell{text-align:center;color:var(--text-muted);font-family:var(--font-body);padding:36px 16px;font-size:14px;font-style:italic}.onboarding-modal-window{width:92%;max-width:760px}.onboarding-intro{color:#cbd5e1;margin-bottom:20px;font-size:14px;line-height:1.6}.onboarding-cards-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.onboarding-tier-card{background:#0f172abf;border:1px solid #ffffff1f;border-radius:20px;flex-direction:column;padding:24px;transition:all .25s;display:flex;position:relative}.onboarding-tier-card:hover{border-color:#ffffff40;transform:translateY(-2px);box-shadow:0 12px 30px #0006}.tier-validated{background:linear-gradient(135deg,#f59e0b14,#0f172ad9);border-color:#f59e0b66}.tier-guest{background:linear-gradient(135deg,#38bdf814,#0f172ad9);border-color:#38bdf866}.tier-badge-top{font-family:var(--font-title);letter-spacing:.06em;color:#0f172a;background:#f59e0b;border-radius:12px;padding:3px 10px;font-size:10px;font-weight:800;position:absolute;top:-10px;right:18px}.tier-badge-top.guest-badge{background:#38bdf8}.tier-icon{margin-bottom:12px;font-size:32px}.tier-title{font-family:var(--font-title);color:#f8fafc;margin-bottom:8px;font-size:18px;font-weight:800}.tier-desc{color:#94a3b8;flex:1;margin-bottom:16px;font-size:13px;line-height:1.5}.tier-perks-list{color:#cbd5e1;flex-direction:column;gap:8px;margin-bottom:20px;font-size:12px;list-style:none;display:flex}.btn-onboard-signin,.btn-onboard-guest{justify-content:center;width:100%;padding:12px;font-size:13px}.portal-manual-panel{background:#0f172ab3;border:1px solid #ffffff1a;border-radius:20px;flex-direction:column;gap:16px;margin-top:8px;padding:24px;display:flex}.manual-panel-header{justify-content:space-between;align-items:center;display:flex}.manual-title-wrap{align-items:center;gap:12px;display:flex}.manual-icon{font-size:26px}.manual-title{font-family:var(--font-title);letter-spacing:.04em;color:#f8fafc;font-size:16px;font-weight:800}.manual-sub{color:var(--text-muted);font-size:12px}.manual-features-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.manual-feature-box{background:#ffffff08;border:1px solid #ffffff0f;border-radius:14px;flex-direction:column;gap:8px;padding:16px;display:flex}.mf-icon{font-size:22px}.mf-content h4{font-family:var(--font-title);color:#f8fafc;margin-bottom:4px;font-size:13px;font-weight:700}.mf-content p{color:#94a3b8;font-size:12px;line-height:1.5}.guide-tabs-bar{border-bottom:1px solid #ffffff1a;gap:12px;padding:0 24px;display:flex}.briefing-box-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;display:grid}.briefing-box{background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;padding:14px}.briefing-box h4{font-family:var(--font-title);color:#38bdf8;margin-bottom:6px;font-size:13px;font-weight:700}.briefing-box p{color:#cbd5e1;font-size:12px;line-height:1.5}.shortcuts-table{flex-direction:column;gap:8px;margin-top:12px;display:flex}.shortcut-row{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.shortcut-row .keys{gap:6px;display:flex}.shortcut-row .desc{color:#cbd5e1;text-align:right;font-size:12px}.camera-modes-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px;display:grid}.cam-mode-box{text-align:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;gap:4px;padding:12px;display:flex}.cam-mode-box b{color:#38bdf8;font-family:var(--font-title);font-size:13px}.cam-mode-box span{color:#94a3b8;font-size:11px;line-height:1.4}.guide-footer-action{padding-top:14px}.guide-footer-action .btn{justify-content:center;width:100%;padding:12px;font-size:13px}.ledger-warn{font-weight:600;color:#f87171!important}.profile-account-strip{border-radius:var(--radius-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 18px;display:flex}.strip-online{background:#10b9811f;border:1px solid #10b98159}.strip-offline{background:#f59e0b1f;border:1px solid #f59e0b59}.strip-left{align-items:center;gap:12px;display:flex}.strip-icon{font-size:24px}.strip-text{flex-direction:column;display:flex}.strip-user{color:#fff;font-size:14px}.strip-actions{align-items:center;gap:8px;display:flex}.btn-sm{padding:6px 12px;font-size:11px;font-weight:700}.char-tabs-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.char-count-badge{font-family:var(--font-mono);color:#94a3b8;background:#ffffff14;border-radius:12px;padding:2px 8px;font-size:11px}.char-pill-wrap{align-items:center;display:flex;position:relative}.char-pill-info{text-align:left;flex-direction:column;display:flex}.btn-delete-kid{color:#fff;cursor:pointer;z-index:5;background:#ef4444;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;font-weight:800;transition:transform .15s;display:flex;position:absolute;top:-6px;right:-6px}.btn-delete-kid:hover{background:#dc2626;transform:scale(1.25)}.sigil-badge-validated{color:#10b981;background:#10b98133;border:1px solid #10b98166}.sigil-badge-offline{color:#f59e0b;background:#f59e0b33;border:1px solid #f59e0b66}.confirm-delete-window{border-color:#ef444473;max-width:520px;box-shadow:0 0 40px #ef444440}.confirm-delete-header{border-bottom:1px solid #ef444440}.danger-tag{color:#f87171;background:#ef444433;border:1px solid #ef444466}.delete-warning-banner{border-radius:var(--radius-md);background:#ef44441f;border:1px solid #ef444459;align-items:flex-start;gap:14px;margin-bottom:18px;padding:14px 16px;display:flex}.delete-warning-banner .warning-icon{color:#ef4444;flex-shrink:0;align-items:center;margin-top:2px;display:flex}.warning-strong{font-family:var(--font-title);color:#fca5a5;letter-spacing:.5px;margin-bottom:4px;font-size:13px;font-weight:800}.warning-sub{color:#e2e8f0;margin:0;font-size:12px;line-height:1.5}.confirm-prompt-group{flex-direction:column;gap:10px;display:flex}.required-target-name{color:#f87171;font-family:var(--font-mono);background:#ef444426;border-radius:4px;padding:2px 6px;font-size:13px;font-weight:800}.confirm-danger-input:focus{border-color:#ef4444;box-shadow:0 0 16px #ef444466}.match-feedback{font-family:var(--font-mono);font-size:11px;font-weight:600;transition:color .2s}.match-feedback.match-pending{color:#94a3b8}.match-feedback.match-success{color:#10b981;font-weight:700}.btn-danger-purge{color:#94a3b8;font-family:var(--font-title);border-radius:var(--radius-md);cursor:not-allowed;background:#ef444433;border:1px solid #ef44444d;align-items:center;gap:8px;padding:10px 18px;font-size:12px;font-weight:800;transition:all .2s;display:inline-flex}.btn-danger-purge.ready-to-purge{color:#fff;cursor:pointer;background:#dc2626;border-color:#ef4444;animation:1.5s infinite pulsePurge;box-shadow:0 0 20px #ef444480}.btn-danger-purge.ready-to-purge:hover{background:#b91c1c;transform:translateY(-1px)}@keyframes pulsePurge{0%,to{box-shadow:0 0 15px #ef444466}50%{box-shadow:0 0 28px #ef4444cc}}.badge-hangar-full{color:#facc15!important;background:#f59e0b33!important;border:1px solid #f59e0b80!important}.cloud-auth-block{flex-direction:column;gap:12px;margin-bottom:20px;display:flex}.btn-google-oidc{border-radius:var(--radius-md);color:#fff;width:100%;font-family:var(--font-title);cursor:pointer;background:linear-gradient(135deg,#4285f440,#4285f41a);border:1px solid #4285f480;justify-content:center;align-items:center;gap:10px;padding:14px 20px;font-size:13px;font-weight:800;transition:all .2s;display:flex;box-shadow:0 4px 14px #4285f433}.btn-google-oidc:hover{background:linear-gradient(135deg,#4285f466,#4285f433);border-color:#4285f4;transform:translateY(-1px);box-shadow:0 0 20px #4285f473}.btn-cloud-signin{color:#93c5fd;background:#4285f433;border:1px solid #4285f473}.btn-cloud-signin:hover{color:#fff;background:#4285f459;border-color:#60a5fa}.auth-divider-line{text-align:center;color:#64748b;font-family:var(--font-mono);letter-spacing:.5px;align-items:center;font-size:10px;font-weight:700;display:flex}.auth-divider-line:before,.auth-divider-line:after{content:"";border-bottom:1px solid #ffffff14;flex:1}.auth-divider-line span{padding:0 12px}.leaderboard-alert-box{border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px;padding:12px 18px;display:flex}.leaderboard-alert-box.alert-warning{color:#fef08a;background:#f59e0b1f;border:1px solid #f59e0b66;font-size:12px;line-height:1.45}.alert-icon{flex-shrink:0;font-size:22px}.alert-content{flex:1;min-width:200px}.upcoming-waves-dock{border-radius:var(--radius-lg);z-index:20;border:1px solid #ffffff1f;flex-direction:column;width:140px;max-height:calc(100vh - 200px);padding:10px;display:flex;position:absolute;top:92px;left:18px;box-shadow:0 12px 36px #00000080}.upcoming-waves-header{font-family:var(--font-title);letter-spacing:1px;color:var(--text-muted);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;font-size:10px;font-weight:800;display:flex}.upcoming-waves-hint{color:#38bdf8;font-size:9px}.waves-list-track{scrollbar-width:thin;scrollbar-color:#fff3 transparent;flex-direction:column;gap:6px;max-height:calc(100vh - 240px);padding-right:2px;display:flex;overflow:hidden auto}.wave-item-card{border-radius:var(--radius-sm);cursor:pointer;text-align:left;background:#1e293ba6;border:1px solid #ffffff14;outline:none;flex-direction:column;gap:4px;padding:8px 10px;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex}.wave-item-card:hover:not(:disabled){background:#334155e6;border-color:#38bdf880;transform:translate(4px);box-shadow:0 4px 12px #0000004d}.wave-item-card.wave-completed{opacity:.5;cursor:default;background:#10b98114;border-color:#10b9814d}.wave-item-card.wave-active{background:#38bdf826;border-color:#38bdf8;box-shadow:0 0 14px #38bdf866}.wave-item-card.wave-enrage-danger{background:#ef44442e;border-color:#ef4444;animation:1.8s ease-in-out infinite enragePulse}.wave-card-top{justify-content:space-between;align-items:center;display:flex}.wave-item-number{font-family:var(--font-mono);color:#fff;font-size:12px;font-weight:800}.wave-item-status-tag{font-family:var(--font-mono);color:#94a3b8;background:#ffffff1a;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:700}.wave-completed .wave-item-status-tag{color:#10b981;background:#10b98133}.wave-active .wave-item-status-tag{color:#38bdf8;background:#38bdf840}.wave-enrage-danger .wave-item-status-tag{color:#fca5a5;background:#ef444459}.wave-card-enemies{align-items:center;gap:3px;font-size:11px;display:flex}.wave-enemy-dot{justify-content:center;align-items:center;line-height:1;display:inline-flex}@keyframes enragePulse{0%,to{border-color:#ef444480;box-shadow:0 0 8px #ef444440}50%{border-color:#ef4444;box-shadow:0 0 18px #ef4444a6}}@keyframes activeWavePulse{0%,to{border-color:#38bdf866;box-shadow:0 0 8px #38bdf833}50%{border-color:#38bdf8e6;box-shadow:0 0 18px #38bdf88c}}.enrage-telemetry-banner{border-radius:var(--radius-sm);background:#ef444433;border:1px solid #ef444499;flex-direction:column;gap:2px;margin-bottom:8px;padding:4px 6px;animation:1.5s ease-in-out infinite alternate enrageBannerGlow;display:flex}@keyframes enrageBannerGlow{0%{border-color:#ef444480;box-shadow:0 0 6px #ef44444d}to{border-color:#ef4444;box-shadow:0 0 16px #ef4444cc}}.enrage-badge{font-family:var(--font-mono);color:#ff4500;letter-spacing:.5px;font-size:10px;font-weight:900}.enrage-sub{color:#fca5a5;font-size:9px;font-family:var(--font-mono)}.next-wave-incoming-card{border-radius:var(--radius-sm);cursor:pointer;background:#0ea5e929;border:1px solid #38bdf880;flex-direction:column;gap:6px;margin-bottom:4px;padding:8px 10px;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 0 16px #38bdf84d}.next-wave-incoming-card:hover{background:#0ea5e947;border-color:#38bdf8cc;transform:translate(4px);box-shadow:0 0 20px #38bdf880}.next-wave-top{justify-content:space-between;align-items:center;display:flex}.next-wave-tag{font-family:var(--font-title);color:#38bdf8;letter-spacing:.5px;font-size:9px;font-weight:800}.next-wave-timer{font-family:var(--font-mono);color:#facc15;font-size:11px;font-weight:800}.next-wave-info{justify-content:space-between;align-items:center;display:flex}.next-wave-num{font-family:var(--font-mono);color:#fff;font-size:12px;font-weight:800}.wave-countdown-track{background:#00000080;border-radius:2px;width:100%;height:4px;overflow:hidden}.wave-countdown-bar{background:linear-gradient(90deg,#38bdf8,#facc15);height:100%;transition:width .1s linear}.btn-call-next-instant{font-family:var(--font-title);color:#fff;cursor:pointer;text-align:center;background:linear-gradient(135deg,#38bdf84d,#0ea5e980);border:1px solid #38bdf899;border-radius:4px;margin-top:2px;padding:5px 8px;font-size:10px;font-weight:800;transition:all .2s}.btn-call-next-instant:hover{background:linear-gradient(135deg,#38bdf899,#0ea5e9cc);box-shadow:0 0 12px #38bdf880}.all-waves-deployed-notice{border-radius:var(--radius-sm);color:#34d399;font-family:var(--font-title);text-align:center;background:#10b98126;border:1px dashed #10b98180;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:12px 8px;font-size:10px;font-weight:800;display:flex}.all-waves-deployed-notice small{color:#94a3b8;font-size:8px;font-family:var(--font-body)}.initial-deploy-banner{border-radius:var(--radius-xl);z-index:25;-webkit-backdrop-filter:blur(12px);background:#0f172af0;border:1px solid #10b98166;align-items:center;gap:24px;padding:14px 26px;display:flex;position:absolute;top:92px;left:50%;transform:translate(-50%);box-shadow:0 0 32px #10b98140}.initial-deploy-info{flex-direction:column;gap:3px;display:flex}.initial-deploy-tag{font-family:var(--font-title);letter-spacing:1.5px;color:#10b981;font-size:10px;font-weight:800}.initial-deploy-title{font-family:var(--font-title);color:#fff;letter-spacing:.5px;margin:0;font-size:17px;font-weight:800}.initial-deploy-desc{color:var(--text-muted);max-width:440px;margin:0;font-size:12px;line-height:1.35}.btn-start-mission{color:#fff;font-family:var(--font-title);letter-spacing:.5px;border-radius:var(--radius-md);cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#10b981,#059669);border:none;padding:12px 22px;font-size:13px;font-weight:800;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 0 20px #10b98166}.btn-start-mission:hover{transform:translateY(-2px);box-shadow:0 0 28px #10b981a6}.pause-modal-overlay{z-index:2500;-webkit-backdrop-filter:blur(16px);background:#040814e0;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.pause-modal-dialog{text-align:center;border-radius:var(--radius-xl);background:#0f172af2;border:1px solid #ffffff29;flex-direction:column;align-items:center;width:90%;max-width:440px;padding:34px 28px;display:flex;box-shadow:0 24px 64px #000c,0 0 40px #38bdf833}.pause-modal-icon{filter:drop-shadow(0 0 16px #38bdf899);margin-bottom:12px;font-size:44px}.pause-modal-title{font-family:var(--font-title);letter-spacing:2px;color:#fff;margin:0 0 10px;font-size:24px;font-weight:900}.pause-modal-desc{color:var(--text-muted);max-width:360px;margin:0 0 26px;font-size:13px;line-height:1.5}.pause-modal-actions{flex-direction:column;gap:10px;width:100%;display:flex}.btn-pause-resume{width:100%;font-family:var(--font-title);color:#fff;border-radius:var(--radius-md);cursor:pointer;background:linear-gradient(135deg,#0284c7,#06b6d4);border:none;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-size:13px;font-weight:800;transition:all .2s;display:flex;box-shadow:0 4px 16px #06b6d466}.btn-pause-resume:hover{transform:translateY(-2px);box-shadow:0 6px 20px #06b6d499}.btn-pause-restart{width:100%;font-family:var(--font-title);color:#0f172a;border-radius:var(--radius-md);cursor:pointer;background:linear-gradient(135deg,#d97706,#f59e0b);border:none;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-size:13px;font-weight:800;transition:all .2s;display:flex;box-shadow:0 4px 16px #f59e0b59}.btn-pause-restart:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b8c}.btn-pause-home{width:100%;font-family:var(--font-title);color:#cbd5e1;border-radius:var(--radius-md);cursor:pointer;background:#1e293bcc;border:1px solid #ffffff1f;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-size:13px;font-weight:800;transition:all .2s;display:flex}.btn-pause-home:hover{color:#fff;background:#334155f2;transform:translateY(-2px)}@media screen and (width<=768px){.hud-top-stack{top:calc(6px + env(safe-area-inset-top,0px));z-index:25;pointer-events:none;flex-direction:column;gap:6px;display:flex;position:absolute;left:8px;right:8px}.hud-top-stack>*{pointer-events:auto;width:auto!important;max-width:100%!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}.hud-top-bar{flex-wrap:wrap;gap:6px;width:100%;height:auto;padding:6px 10px;box-shadow:0 4px 16px #0006}.initial-deploy-banner{box-sizing:border-box;background:#0f172af5;border:1px solid #10b98180;border-radius:12px;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding:6px 12px;display:flex;box-shadow:0 4px 16px #00000080}.initial-deploy-info{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.initial-deploy-tag{letter-spacing:1px;color:#10b981;font-size:8px;font-weight:800}.initial-deploy-title{color:#fff;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:11px;font-weight:800;overflow:hidden}.initial-deploy-desc{display:none}.btn-start-mission{white-space:nowrap;color:#fff;cursor:pointer;touch-action:manipulation;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;flex-shrink:0;min-height:36px;padding:6px 14px;font-size:11px;font-weight:800;box-shadow:0 0 14px #10b98180}.inter-wave-banner{box-sizing:border-box;background:#0f172af5;border:1px solid #38bdf866;border-radius:12px;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex;box-shadow:0 4px 16px #0006}.prep-timer-col{flex-direction:column;flex-shrink:0;display:flex}.prep-badge{font-size:8px}.prep-countdown{font-size:13px}.prep-tip-col{display:none}.prep-actions-col{flex-direction:row;flex-shrink:0;gap:6px;display:flex}.prep-actions-col .btn{border-radius:6px;padding:5px 8px;font-size:10px}.upcoming-waves-dock{background:#0f172af0;border:1px solid #38bdf84d;border-radius:12px;flex-direction:row;align-items:center;gap:6px;width:100%;height:42px;max-height:42px;padding:3px 6px;overflow:hidden;box-shadow:0 4px 16px #0006}.upcoming-waves-header{display:none}.waves-list-track{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-direction:row;align-items:center;gap:6px;width:100%;height:36px;max-height:36px;padding:0;display:flex;overflow:auto hidden}.waves-list-track::-webkit-scrollbar{display:none}.next-wave-incoming-card{cursor:pointer;touch-action:manipulation;background:#0ea5e938;border:1px solid #38bdf899;border-radius:8px;flex-direction:row;flex-shrink:0;align-items:center;gap:6px;min-width:max-content;height:32px;margin:0;padding:2px 8px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 10px #38bdf859}.next-wave-incoming-card .next-wave-top{align-items:center;gap:4px;display:flex}.next-wave-incoming-card .next-wave-tag{color:#38bdf8;white-space:nowrap;font-size:8px;font-weight:800}.next-wave-incoming-card .next-wave-timer{color:#facc15;white-space:nowrap;font-size:10px;font-weight:800}.next-wave-incoming-card .next-wave-info{align-items:center;gap:4px;display:flex}.next-wave-incoming-card .next-wave-num{color:#fff;white-space:nowrap;font-size:11px;font-weight:800}.next-wave-incoming-card .wave-countdown-track{background:#0006;border-radius:0;height:2px;position:absolute;bottom:0;left:0;right:0}.next-wave-incoming-card .btn-call-next-instant{color:#fff;white-space:nowrap;cursor:pointer;touch-action:manipulation;background:linear-gradient(135deg,#0ea5e9,#0284c7);border:none;border-radius:4px;min-width:auto;height:22px;padding:2px 6px;font-size:9px;font-weight:800;box-shadow:0 0 8px #0ea5e980}.wave-item-card{touch-action:manipulation;flex-shrink:0;justify-content:center;gap:2px;min-width:58px;height:32px;padding:2px 6px}.wave-item-card:hover:not(:disabled){transform:none}.wave-card-enemies{font-size:8px}.wave-item-number{font-size:10px}.wave-item-status-tag{padding:0 2px;font-size:8px}body.side-console-open .hud-bottom-dock{opacity:0;pointer-events:none;transform:translateY(24px)}.hud-bottom-dock{transition:opacity .2s,transform .2s}.level-select-ui-overlay{padding:8px 10px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}.level-top-bar{border-radius:var(--radius-lg);gap:6px;padding:8px 12px}.level-top-left{gap:8px}.level-top-left .btn span,.level-campaign-title .ls-tag,.ls-heading-desktop{display:none}.ls-heading-mobile{color:#fff;letter-spacing:.5px;font-size:13px;font-weight:800;display:inline}.level-top-right{flex-shrink:0;gap:4px}.ls-stars-badge{white-space:nowrap;flex-shrink:0;gap:4px;padding:3px 8px;font-size:11px}.ls-stars-badge .star-icon svg{width:13px;height:13px}.ls-stars-badge .star-text{white-space:nowrap}.level-top-right .btn span{display:none}.level-top-right .btn{padding:6px 9px}.level-briefing-dock{-webkit-overflow-scrolling:touch;border-radius:18px 18px 0 0;gap:6px;width:100%;max-width:100%;max-height:48dvh;padding:10px 12px 6px;overflow-y:auto;box-shadow:0 -8px 30px #000000b3}.briefing-title{margin:2px 0;font-size:15px}.briefing-badges{gap:4px}.briefing-stars{font-size:16px}.briefing-desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.3;display:-webkit-box;overflow:hidden}.briefing-special-rule{padding:3px 6px;font-size:10px}.briefing-enemies-row{gap:4px}.briefing-footer{gap:6px;padding-top:6px}.btn-launch-mission,.btn-locked{flex:1;min-height:44px;padding:8px 12px;font-size:12px}}.btn-next-level{color:#fff;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:1px solid #34d399;font-weight:800;box-shadow:0 0 16px #10b98166}.btn-next-level:hover{background:linear-gradient(135deg,#34d399 0%,#10b981 100%);transform:translateY(-2px);box-shadow:0 0 24px #10b98199}.arcade-brand-logo{object-fit:contain;filter:drop-shadow(0 0 10px #0ea5e980);border-radius:var(--radius-md)}.hud-brand-logo{object-fit:contain;filter:drop-shadow(0 0 8px #38bdf899)}.portal-footer{border-top:1px solid #ffffff14;width:100%;margin-top:40px;padding:24px 0 36px}.portal-footer-inner{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.footer-powered-row{color:var(--text-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;font-size:13px;display:flex}.footer-powered-row b{color:var(--primary);letter-spacing:.5px;font-weight:700}.footer-bullet{color:#fff3}.footer-domain-link{color:var(--primary-light);font-family:var(--font-digits);font-size:13px;text-decoration:none;transition:color .2s,text-shadow .2s}.footer-domain-link:hover{color:#38bdf8;text-shadow:0 0 8px #38bdf880}.footer-sub-label{color:#ffffff59;letter-spacing:.5px;margin:0;font-size:11px}.footer-version{font-family:var(--font-digits);color:#ffffff38;letter-spacing:.8px;-webkit-user-select:none;user-select:none;margin-top:3px;font-size:10px;transition:color .2s;display:inline-block}.footer-version:hover{color:#ffffff73}.welcome-modal-window{border-radius:var(--radius-xl);background:#0a1426f0;border:1px solid #38bdf84d;flex-direction:column;width:780px;max-width:95vw;max-height:90vh;animation:.3s cubic-bezier(.16,1,.3,1) modalPop;display:flex;overflow:hidden;box-shadow:0 20px 60px #000000b3,0 0 40px #0ea5e940}.welcome-header{background:linear-gradient(#0ea5e914 0%,#0000 100%);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:flex-start;padding:22px 28px 18px;display:flex}.welcome-title-wrap{flex-direction:column;gap:4px;display:flex}.welcome-badge{font-family:var(--font-digits);color:#38bdf8;letter-spacing:1px;text-transform:uppercase;font-size:11px;font-weight:700}.welcome-title{font-family:var(--font-title);color:#fff;letter-spacing:.5px;margin:0;font-size:24px;font-weight:800}.welcome-subtitle{color:var(--text-muted);margin:0;font-size:12px}.welcome-body{flex:1;padding:24px 28px;overflow-y:auto}.lore-slide{flex-direction:column;gap:16px;display:flex}.lore-hero-banner{align-items:stretch;gap:24px;display:flex}.lore-hero-graphic{border-radius:var(--radius-lg);background:#020714;border:1px solid #38bdf840;flex:0 0 280px;overflow:hidden;box-shadow:0 8px 24px #0006}.lore-svg{object-fit:cover;width:100%;height:100%;display:block}.lore-text-content{flex-direction:column;flex:1;gap:10px;display:flex}.lore-tag-row{gap:10px;display:flex}.lore-sector-tag{font-size:10px;font-weight:800;font-family:var(--font-digits);color:#38bdf8;border-radius:var(--radius-sm);background:#38bdf826;border:1px solid #38bdf84d;padding:3px 8px}.lore-year-tag{font-size:10px;font-weight:800;font-family:var(--font-digits);color:#facc15;border-radius:var(--radius-sm);background:#facc151f;border:1px solid #facc1540;padding:3px 8px}.lore-headline{font-family:var(--font-title);color:#fff;margin:0;font-size:18px;font-weight:700}.lore-paragraph{color:#cbd5e1;margin:0;font-size:13px;line-height:1.55}.lore-callout{border-radius:var(--radius-md);background:#10b9811f;border:1px solid #10b98159;align-items:flex-start;gap:12px;margin-top:4px;padding:12px 14px;display:flex}.lore-callout .callout-icon{font-size:20px;line-height:1}.lore-callout b{color:#34d399;font-size:12px;font-family:var(--font-title);margin-bottom:2px;display:block}.lore-callout p{color:#e2e8f0;margin:0;font-size:12px;line-height:1.45}.welcome-turrets-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:16px;display:grid}.welcome-turret-card{border-radius:var(--radius-lg);background:#0f172ab3;border:1px solid #ffffff1a;flex-direction:column;gap:6px;padding:16px;transition:transform .2s,border-color .2s;display:flex}.welcome-turret-card.card-pulse{border-color:#10b98166}.welcome-turret-card.card-rail{border-color:#3b82f666}.welcome-turret-card.card-mortar{border-color:#f9731666}.welcome-turret-card.card-cryo{border-color:#06b6d466}.wt-badge-header{align-items:center;gap:8px;display:flex}.wt-op-symbol{border-radius:var(--radius-sm);width:24px;height:24px;font-family:var(--font-digits);justify-content:center;align-items:center;font-size:15px;font-weight:900;display:flex}.card-pulse .wt-op-symbol{color:#34d399;background:#10b98133}.card-rail .wt-op-symbol{color:#60a5fa;background:#3b82f633}.card-mortar .wt-op-symbol{color:#fb923c;background:#f9731633}.card-cryo .wt-op-symbol{color:#22d3ee;background:#06b6d433}.wt-name{font-family:var(--font-title);color:#fff;font-size:15px;font-weight:700}.wt-role{font-size:11px;font-family:var(--font-digits);color:var(--text-muted);font-weight:700}.wt-desc{color:#94a3b8;flex:1;margin:2px 0 6px;font-size:12px;line-height:1.45}.wt-footer{border-top:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding-top:8px;font-size:12px;display:flex}.wt-cost{color:#facc15;font-weight:700;font-family:var(--font-digits)}.wt-key{color:var(--text-muted);font-size:11px}.wt-key b{color:#fff;border-radius:var(--radius-sm);background:#ffffff1a;padding:1px 5px}.welcome-tip-strip{border-radius:var(--radius-md);color:#e2e8f0;background:#38bdf81a;border:1px solid #38bdf840;align-items:center;gap:10px;padding:10px 14px;font-size:12px;display:flex}.welcome-mechanics-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.welcome-mech-card{border-radius:var(--radius-lg);background:#0f172ab3;border:1px solid #ffffff14;gap:12px;padding:14px;display:flex}.welcome-mech-card.highlight-hyper{background:#facc1514;border-color:#facc1559}.wm-icon{flex-shrink:0;font-size:22px;line-height:1}.wm-content h4{font-family:var(--font-title);color:#fff;margin:0 0 4px;font-size:14px;font-weight:700}.wm-content p{color:#94a3b8;margin:0;font-size:12px;line-height:1.45}.wm-content kbd{border-radius:var(--radius-sm);font-family:var(--font-digits);color:#facc15;background:#ffffff26;padding:1px 6px;font-size:11px}.welcome-footer{background:#0a0f1ce6;border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 28px;display:flex}.welcome-dots{gap:8px;display:flex}.welcome-dot{background:#fff3;border-radius:50%;width:10px;height:10px;transition:all .2s}.welcome-dot.active{background:#38bdf8;transform:scale(1.2);box-shadow:0 0 10px #38bdf8b3}.welcome-nav-btns{gap:12px;display:flex}@media (width<=768px){.welcome-modal-window{width:96vw;max-width:96vw;height:90dvh;max-height:90dvh}.welcome-header{padding:16px 20px 14px}.welcome-title{font-size:18px}.welcome-body{padding:16px 20px}.lore-hero-banner{flex-direction:column;gap:14px}.lore-hero-graphic{flex:none;height:140px}.welcome-turrets-grid,.welcome-mechanics-grid{grid-template-columns:1fr;gap:10px}.welcome-footer{flex-direction:column;gap:12px;padding:14px 20px}.welcome-nav-btns{justify-content:space-between;width:100%}}.story-modal-window{border-radius:var(--radius-xl);background:#0a1426f5;border:1px solid #38bdf859;flex-direction:column;width:900px;max-width:94vw;max-height:90vh;animation:.3s cubic-bezier(.16,1,.3,1) modalPop;display:flex;overflow:hidden;box-shadow:0 20px 60px #000c,0 0 40px #0ea5e940}.story-header{background:linear-gradient(#0ea5e91a 0%,#0000 100%);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:flex-start;padding:20px 28px 16px;display:flex}.story-title-wrap{flex-direction:column;gap:3px;display:flex}.story-badge{font-family:var(--font-digits);color:#38bdf8;letter-spacing:1.2px;text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex}.story-badge svg{color:#38bdf8}.story-title{font-family:var(--font-title);color:#fff;letter-spacing:.5px;margin:0;font-size:24px;font-weight:800}.story-subtitle{color:var(--text-muted);margin:0;font-size:12px}.story-body{flex:1;padding:22px 28px;overflow-y:auto}.story-slide{flex-direction:column;gap:14px;animation:.25s ease-out fadeIn;display:flex}.story-hero-banner{flex-direction:row;align-items:stretch;gap:26px;display:flex}.story-text-content{flex-direction:column;flex:1.25;justify-content:center;gap:10px;display:flex}.story-hero-graphic{border-radius:var(--radius-lg);background:#020714;border:1px solid #38bdf840;flex:0 0 340px;justify-content:center;align-self:stretch;align-items:center;min-height:230px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 24px #00000073}.story-svg{width:100%;height:100%;display:block}.story-tag-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.story-sector-tag{font-size:10px;font-weight:800;font-family:var(--font-digits);color:#38bdf8;border-radius:var(--radius-sm);letter-spacing:.5px;background:#38bdf826;border:1px solid #38bdf84d;align-items:center;gap:5px;padding:3px 8px;display:inline-flex}.story-sector-tag svg{width:13px;height:13px}.story-year-tag{font-size:10px;font-weight:800;font-family:var(--font-digits);color:#facc15;border-radius:var(--radius-sm);letter-spacing:.5px;background:#facc151f;border:1px solid #facc1540;align-items:center;gap:5px;padding:3px 8px;display:inline-flex}.story-year-tag svg{width:13px;height:13px}.story-headline{font-family:var(--font-title);color:#fff;margin:0;font-size:19px;font-weight:700}.story-paragraph b{color:#fff}.story-callout{border-radius:var(--radius-md);background:#10b9811f;border:1px solid #10b98159;align-items:flex-start;gap:12px;margin-top:2px;padding:12px 14px;display:flex}.story-callout.alert-variant{background:#ef44441f;border-color:#ef444459}.story-callout.alert-variant b{color:#f87171}.story-callout.command-variant{background:#3b82f61f;border-color:#3b82f659}.story-callout.command-variant b{color:#60a5fa}.story-callout.gold-variant{background:#f59e0b1f;border-color:#f59e0b59}.story-callout.gold-variant b{color:#fbbf24}.story-callout-icon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;margin-top:1px;display:flex}.story-callout-icon svg{width:18px;height:18px}.story-callout-text b{color:#34d399;font-size:12px;font-family:var(--font-title);letter-spacing:.5px;margin-bottom:2px;display:block}.story-callout-text p{color:#e2e8f0;margin:0;font-size:12px;line-height:1.45}.story-dots{align-items:center;gap:8px;display:flex}.story-dot{cursor:pointer;background:#fff3;border-radius:50%;width:10px;height:10px;transition:all .25s cubic-bezier(.34,1.56,.64,1)}.story-dot:hover{background:#ffffff80;transform:scale(1.15)}.story-dot.active{background:#38bdf8;border-radius:10px;width:24px;transform:scale(1);box-shadow:0 0 12px #38bdf8b3}.story-nav-btns{align-items:center;gap:12px;display:flex}.btn-save-world{background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%)!important;border-color:#38bdf8!important;box-shadow:0 0 20px #0ea5e980!important}.btn-save-world:hover{box-shadow:0 0 30px #0ea5e9cc!important}@media (width<=768px){.story-modal-window{width:96vw;max-width:96vw;height:90dvh;max-height:90dvh}.story-header{padding:16px 20px 14px}.story-title{font-size:19px}.story-body{padding:16px 20px}.story-hero-banner{flex-direction:column;gap:14px}.story-hero-graphic{flex:none;height:150px}.story-footer{flex-direction:column;gap:12px;padding:14px 20px}.story-nav-btns{justify-content:space-between;width:100%}.story-nav-btns .btn{flex:1;padding:10px 14px;font-size:12px}}.level-select-view{z-index:10;background:#0a0f1d;width:100vw;height:100dvh;position:fixed;inset:0;overflow:hidden}.level-select-root{width:100%;height:100%;position:relative}.level-select-canvas-container{width:100%;height:100%;position:absolute;top:0;left:0}.level-select-ui-overlay{pointer-events:none;padding:16px 20px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:15;box-sizing:border-box;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0}.level-top-bar{border-radius:var(--radius-xl);pointer-events:auto;justify-content:space-between;align-items:center;padding:12px 20px;display:flex;box-shadow:0 10px 30px #00000073}.level-top-left{align-items:center;gap:16px;display:flex}.level-campaign-title{flex-direction:column;display:flex}.ls-tag{font-family:var(--font-title);color:#38bdf8;letter-spacing:1.5px;font-size:10px;font-weight:800}.ls-heading{font-family:var(--font-title);color:#fff;margin:0;font-size:16px;font-weight:800}.ls-heading-desktop{display:inline}.ls-heading-mobile{display:none}.level-top-right{align-items:center;gap:12px;display:flex}.ls-stars-badge{font-family:var(--font-digits);color:#fde047;white-space:nowrap;background:#facc1526;border:1px solid #facc1573;border-radius:20px;flex-shrink:0;align-items:center;gap:6px;padding:5px 12px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 0 12px #facc151f}.ls-stars-badge .star-icon{color:#facc15;filter:drop-shadow(0 0 4px #facc1599);align-items:center;display:flex}.ls-stars-badge .star-icon svg{fill:#facc15;width:15px;height:15px}.ls-stars-badge .star-text{white-space:nowrap;align-items:baseline;gap:2px;display:inline-flex}.ls-stars-badge .star-count-current{color:#fef08a;font-weight:900}.ls-stars-badge .star-count-sep{color:#facc1599;margin:0 1px;font-size:11px}.ls-stars-badge .star-count-total{color:#facc15;opacity:.85;font-size:12px}.level-briefing-dock{-webkit-overflow-scrolling:touch;border-radius:var(--radius-xl);pointer-events:auto;flex-direction:column;align-self:center;gap:12px;width:min(720px,94vw);max-height:min(440px,48dvh);padding:16px 22px 10px;animation:.25s cubic-bezier(.16,1,.3,1) slideUpFade;display:flex;overflow-y:auto;box-shadow:0 16px 40px #000000a6}@keyframes slideUpFade{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.briefing-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:flex-start;padding-bottom:10px;display:flex}.briefing-sector{font-family:var(--font-title);color:#38bdf8;letter-spacing:1px;font-size:11px;font-weight:800}.briefing-title{font-family:var(--font-title);color:#fff;margin:2px 0 6px;font-size:20px;font-weight:800}.briefing-badges{gap:8px;display:flex}.biome-badge,.diff-badge,.waves-badge{font-family:var(--font-title);letter-spacing:.5px;border-radius:6px;padding:2px 8px;font-size:10px;font-weight:800}.biome-badge.biome-sakura{color:#f472b6;background:#f472b640;border:1px solid #f472b666}.biome-badge.biome-alpine{color:#38bdf8;background:#38bdf840;border:1px solid #38bdf866}.biome-badge.biome-canyon{color:#fbbf24;background:#f59e0b40;border:1px solid #f59e0b66}.biome-badge.biome-volcanic{color:#f87171;background:#ef444440;border:1px solid #ef444466}.diff-badge.diff-easy{color:#34d399;background:#10b98133}.diff-badge.diff-medium{color:#38bdf8;background:#0284c740}.diff-badge.diff-hard{color:#fbbf24;background:#f59e0b40}.diff-badge.diff-expert{color:#e879f9;background:#d946ef4d}.waves-badge{color:#f8fafc;background:#ffffff1a}.briefing-stars{gap:4px;font-size:22px;display:flex}.b-star.empty{opacity:.25;filter:grayscale()}.briefing-body{flex-direction:column;gap:8px;display:flex}.briefing-desc{color:var(--text-muted);margin:0;font-size:13px;line-height:1.45}.briefing-special-rule{color:#fca5a5;background:#ef44441f;border:1px solid #ef444459;border-radius:8px;padding:6px 12px;font-size:12px}.briefing-enemies-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.enemies-label{font-family:var(--font-title);color:#94a3b8;font-size:11px;font-weight:700}.enemies-icons-list{flex-wrap:wrap;gap:6px;display:flex}.enemy-pill{font-family:var(--font-title);color:#f8fafc;background:#ffffff14;border:1px solid #ffffff26;border-radius:4px;padding:2px 6px;font-size:9px;font-weight:800}.enemy-pill.enemy-gilded{color:#fde047;background:#f59e0b4d;border-color:#facc15}.enemy-pill.enemy-cryoshield{color:#67e8f9;background:#06b6d44d;border-color:#06b6d4}.enemy-pill.enemy-anomaly{color:#fca5a5;background:#ef44444d;border-color:#ef4444}.enemy-pill.enemy-miniboss{color:#fecdd3;background:#f43f5e4d;border-color:#f43f5e}.enemy-pill.enemy-boss{color:#fbcfe8;background:#ec48994d;border-color:#ec4899}.enemy-pill.enemy-overlord{color:#d8b4fe;background:#9333ea4d;border-color:#9333ea}.briefing-footer{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:5;background:#0f172af5;border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding-top:10px;display:flex;position:sticky;bottom:0}.best-score-box{flex-direction:column;display:flex}.best-score-box small{color:#94a3b8;font-size:10px}.best-score-box b{font-family:var(--font-digits);color:#facc15;font-size:15px}.story-modal-window{border-radius:var(--radius-xl);flex-direction:column;width:620px;max-width:95vw;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 50px #000000bf}.story-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.story-tag{font-family:var(--font-title);color:#facc15;letter-spacing:1px;align-items:center;gap:10px;font-size:11px;font-weight:800;display:flex}.story-counter{color:#94a3b8}.story-hero-graphic{background:radial-gradient(circle,#38bdf840 0%,#0f172acc 70%);justify-content:center;align-items:center;height:140px;display:flex;position:relative}.story-emoji-icon{font-size:64px;animation:3s ease-in-out infinite floatBob}@keyframes floatBob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.story-content-body{flex-direction:column;gap:10px;padding:24px 28px;display:flex}.story-title{font-family:var(--font-title);color:#fff;margin:0;font-size:22px;font-weight:800}.story-subtitle{font-family:var(--font-title);color:#38bdf8;font-size:13px;font-weight:700}.story-paragraph{color:#e2e8f0;margin:4px 0 0;font-size:14px;line-height:1.6}.story-callout-box{color:#fde047;background:#facc151a;border:1px solid #facc1559;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:600}.story-footer{background:#0a0f1ccc;border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 28px;display:flex}.story-dots{gap:8px;display:flex}.story-dot{background:#fff3;border-radius:50%;width:10px;height:10px;transition:all .2s}.story-dot.active{background:#38bdf8;transform:scale(1.2);box-shadow:0 0 10px #38bdf899}.story-actions{gap:10px;display:flex}.polydex-modal-window{border-radius:var(--radius-xl);flex-direction:column;width:860px;max-width:95vw;max-height:88vh;display:flex}.polydex-header-stats{font-family:var(--font-digits);color:#facc15;align-items:center;gap:16px;font-size:13px;display:flex}.polydex-body{flex:1;grid-template-columns:280px 1fr;gap:18px;padding:18px 24px;display:grid;overflow:hidden}.polydex-roster-column{padding:6px 6px 8px 4px;overflow-y:auto}.polydex-roster-scroll{flex-direction:column;gap:8px;padding-top:4px;padding-bottom:8px;display:flex}.polydex-card-item{cursor:pointer;text-align:left;background:#1e293b99;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;transition:all .2s;display:flex;position:relative}.polydex-card-item:hover{background:#334155cc;transform:translate(4px)}.polydex-card-item.active{background:#38bdf826;border-color:#38bdf8;box-shadow:0 0 16px #38bdf84d}.polydex-mini-icon{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.polydex-card-item .gold-badge{color:#facc15;background:#f59e0b33;border:1px solid #fbbf2480;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.polydex-card-item .gold-badge svg{width:14px;height:14px}.undisc-icon{color:#64748b;justify-content:center;align-items:center;display:flex}.undisc-icon svg{width:16px;height:16px}.polydex-item-info{flex-direction:column;flex:1;display:flex;overflow:hidden}.polydex-item-name{font-family:var(--font-title);color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.polydex-item-code{color:#94a3b8;font-size:10px;font-family:var(--font-mono)}.polydex-inspector-column{padding:4px 2px 8px;overflow-y:auto}.dossier-panel{border-radius:16px;flex-direction:column;gap:12px;padding:18px;display:flex}.dossier-header{padding-left:12px}.dossier-title-row{justify-content:space-between;align-items:baseline;display:flex}.dossier-name{font-family:var(--font-title);margin:0;font-size:22px;font-weight:800}.dossier-code{font-family:var(--font-mono);color:#94a3b8;font-size:11px}.dossier-tags{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.d-tag{background:#ffffff1a;border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.d-tag svg{width:12px;height:12px}.d-tag.armored{color:#38bdf8;background:#38bdf826;border:1px solid #38bdf859}.d-tag.freeze-immune{color:#a5f3fc;background:#a5f3fc26;border:1px solid #a5f3fc59}.d-tag.rail-reflect{color:#facc15;background:#facc1526;border:1px solid #facc1559}.d-tag.golden-loot{color:#fbbf24;background:#f59e0b33;border:1px solid #f59e0b80}.d-tag.math-penalty{color:#f87171;background:#ef444426;border:1px solid #ef444459}.dossier-preview-box{background:radial-gradient(circle,#1e293bb3 0%,#0f172af2 70%);border-radius:12px;justify-content:center;align-items:center;height:140px;display:flex}.dossier-stats-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.d-stat-cell{background:#0f172a99;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;padding:8px 10px;display:flex}.d-stat-label{font-size:9px;font-family:var(--font-title);color:#94a3b8;font-weight:700}.d-stat-val{font-family:var(--font-digits);color:#f8fafc;align-items:center;gap:5px;margin-top:2px;font-size:14px;font-weight:800;display:flex}.d-stat-val svg{width:14px;height:14px}.d-stat-val.text-hp{color:#38bdf8}.d-stat-val.text-credits{color:#facc15}.d-stat-val.text-threat{color:#f87171}.dossier-advisory{background:#0f172a99;border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.advisory-row{flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;display:flex}.adv-label{font-family:var(--font-title);align-items:center;gap:5px;font-size:11px;font-weight:800;display:inline-flex}.adv-label svg{width:13px;height:13px}.adv-label.text-weak{color:#facc15}.adv-label.text-str{color:#38bdf8}.adv-val{color:#f1f5f9;margin-left:6px}.dossier-synopsis{background:#0f172a66;border-radius:10px;padding:10px 12px}.synopsis-title{font-family:var(--font-title);color:#94a3b8;margin:0 0 4px;font-size:11px;font-weight:800}.synopsis-text{color:#e2e8f0;margin:0;font-size:12px;line-height:1.5}@media (width<=768px){.polydex-modal-window{border-radius:var(--radius-xl);width:96vw;max-width:96vw;height:90dvh;max-height:90dvh}.polydex-modal-window .modal-header{gap:8px;padding:10px 14px}.polydex-modal-window .modal-title{letter-spacing:.5px;font-size:13px}.polydex-header-stats{gap:8px;font-size:11px}.polydex-body{grid-template-columns:54px 1fr;gap:10px;padding:8px 10px}.polydex-roster-column{scrollbar-width:none;padding:6px 4px 8px 2px}.polydex-roster-column::-webkit-scrollbar{display:none}.polydex-roster-scroll{align-items:center;gap:8px;padding-top:6px;padding-bottom:12px}.polydex-card-item{border-radius:12px;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:0;transition:transform .15s,background .2s,border-color .2s;position:relative}.polydex-card-item:hover{transform:none}.polydex-card-item:active{transform:scale(.94)}.polydex-card-item.active{background:#38bdf840;border-color:#38bdf8;transform:scale(1.05);box-shadow:0 0 12px #38bdf873}.polydex-card-item .polydex-item-info{display:none}.polydex-mini-icon{border-radius:9px;width:38px;height:38px}.polydex-card-item .gold-badge{color:#000;z-index:2;background:#f59e0b;border:1px solid #fef08a;border-radius:50%;width:18px;height:18px;position:absolute;top:-4px;right:-4px;box-shadow:0 0 6px #f59e0bcc}.polydex-card-item .gold-badge svg{width:10px;height:10px}.polydex-inspector-column{padding-right:2px}.dossier-panel{border-radius:12px;gap:8px;padding:10px 12px}.dossier-header{padding-left:8px}.dossier-name{font-size:17px}.dossier-code{font-size:10px}.dossier-tags{gap:4px;margin-top:4px}.d-tag{padding:2px 5px;font-size:9px}.dossier-preview-box{height:95px}.dossier-preview-box .hologram-svg{width:90px;height:90px}.dossier-stats-grid{grid-template-columns:repeat(2,1fr);gap:6px}.d-stat-cell{padding:6px 8px}.d-stat-label{font-size:8.5px}.d-stat-val{font-size:13px}.dossier-advisory{gap:5px;padding:8px 10px}.advisory-row{flex-wrap:wrap;align-items:center;gap:4px;font-size:11px;display:flex}.adv-label{font-size:10px}.dossier-synopsis{padding:8px 10px}.synopsis-title{font-size:10px}.synopsis-text{font-size:11px;line-height:1.4}.undiscovered-panel{text-align:center;padding:16px 12px}.undisc-title{font-size:13px}.undisc-desc{font-size:11px;line-height:1.4}.polydex-modal-window .modal-footer{padding:8px 14px}.polydex-modal-window .modal-footer .footer-note{display:none}.polydex-modal-window .modal-footer .btn{width:100%;padding:8px 16px;font-size:12px}}.tutorial-overlay-layer{pointer-events:none;z-index:1000;position:fixed;inset:0}.btn-tutorial-skip{pointer-events:auto;color:#94a3b8;background:#0f172ad9;border:1px solid #fff3;font-size:11px;font-weight:800;position:fixed;top:18px;right:18px}.tutorial-spotlight-cutout{pointer-events:none;border:2px solid #38bdf8;border-radius:12px;animation:1.6s ease-in-out infinite spotlightPulse;position:absolute;box-shadow:0 0 0 9999px #000000bf}@keyframes spotlightPulse{0%,to{box-shadow:0 0 0 9999px #000000bf,0 0 15px #38bdf899}50%{box-shadow:0 0 0 9999px #000000bf,0 0 30px #38bdf8e6}}.tutorial-tooltip-card{pointer-events:auto;z-index:1005;background:#0f172af5;border:1px solid #38bdf8;border-radius:14px;flex-direction:column;gap:6px;max-width:310px;padding:14px 18px;display:flex;position:absolute;box-shadow:0 10px 30px #38bdf866}.tut-step-badge{font-family:var(--font-title);color:#facc15;letter-spacing:1px;font-size:10px;font-weight:800}.tut-step-text{color:#fff;font-size:13px;font-weight:700;line-height:1.4}.tut-action-btn{color:#fff;font-family:var(--font-title);letter-spacing:.5px;cursor:pointer;background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);border:1px solid #38bdf8;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin-top:6px;padding:8px 14px;font-size:11px;font-weight:800;transition:all .2s;display:inline-flex;box-shadow:0 4px 14px #0ea5e966}.tut-action-btn:hover{background:linear-gradient(135deg,#38bdf8 0%,#0ea5e9 100%);transform:translateY(-1px);box-shadow:0 6px 20px #38bdf899}.tut-pointer-indicator{justify-content:center;align-items:center;margin-top:6px;animation:1s infinite bounceDown;display:flex}.tut-pointer-indicator svg{color:#38bdf8;width:24px;height:24px}@keyframes bounceDown{0%,to{transform:translateY(0)}50%{transform:translateY(6px)}}.leaderboard-level-filter-bar{-webkit-overflow-scrolling:touch;border-bottom:1px solid #ffffff14;align-items:center;gap:6px;padding:6px 16px;display:flex;overflow-x:auto}.level-filter-label{font-family:var(--font-title);color:#94a3b8;white-space:nowrap;margin-right:4px;font-size:10px;font-weight:800}.level-pill-btn{font-family:var(--font-digits);color:var(--text-muted);cursor:pointer;white-space:nowrap;background:#1e293b99;border:1px solid #ffffff1a;border-radius:14px;padding:4px 10px;font-size:11px;font-weight:700;transition:all .2s}.level-pill-btn:hover{color:#fff;background:#334155cc}.level-pill-btn.active{color:#0b1329;background:#38bdf8;border-color:#38bdf8;box-shadow:0 0 12px #38bdf866}.advanced-turret-tooltip{z-index:1050;pointer-events:none;-webkit-backdrop-filter:blur(16px);background:#0b132bf5;border:1px solid #38bdf866;border-radius:12px;flex-direction:column;gap:8px;width:min(330px,100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 24px);padding:12px 14px;transition:width .15s,padding .15s;animation:.15s ease-out fadeIn;display:flex;position:fixed;overflow-y:auto;box-shadow:0 16px 40px #0009,0 0 24px #38bdf833}.advanced-turret-tooltip.is-advanced{gap:10px;width:min(360px,100vw - 16px);max-width:calc(100vw - 16px);padding:14px 16px}.advanced-turret-tooltip .tooltip-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;padding-bottom:8px;display:flex}.advanced-turret-tooltip .tooltip-badge{font-family:var(--font-title);letter-spacing:.5px;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:800}.advanced-turret-tooltip .tooltip-op{color:var(--text-muted);font-size:10px;font-weight:700}.advanced-turret-tooltip .tooltip-advanced-tag{font-family:var(--font-title);color:#38bdf8;letter-spacing:.5px;background:#38bdf826;border:1px solid #38bdf859;border-radius:4px;align-items:center;gap:4px;padding:2px 6px;font-size:9px;font-weight:800;display:inline-flex}.advanced-turret-tooltip .tooltip-basic-desc{color:#cbd5e1;font-size:11px;line-height:1.45}.advanced-turret-tooltip .tooltip-combat-grid{background:#0f172ab3;border:1px solid #ffffff0f;border-radius:8px;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px;display:grid}.advanced-turret-tooltip .stat-cell{flex-direction:column;gap:2px;display:flex}.advanced-turret-tooltip .stat-label{color:#94a3b8;letter-spacing:.5px;font-size:9px;font-weight:700}.advanced-turret-tooltip .stat-value{font-family:var(--font-digits);color:#fff;font-size:12px;font-weight:800}.advanced-turret-tooltip .stat-highlight{color:#38bdf8}.advanced-turret-tooltip .tooltip-mechanic-box{background:#1e293b80;border:1px solid #38bdf833;border-radius:8px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.advanced-turret-tooltip .mechanic-title{font-family:var(--font-title);color:#facc15;align-items:center;gap:6px;font-size:10px;font-weight:800;display:flex}.advanced-turret-tooltip .mechanic-desc{color:#e2e8f0;font-size:11px;line-height:1.35}.advanced-turret-tooltip .mechanic-why{color:#94a3b8;border-top:1px dashed #ffffff1a;margin-top:2px;padding-top:4px;font-size:10px;line-height:1.35}.advanced-turret-tooltip .tooltip-scaling-row{flex-wrap:wrap;align-items:center;gap:4px;font-size:9px;display:flex}.advanced-turret-tooltip .scaling-title{color:#94a3b8;margin-right:2px;font-weight:800}.advanced-turret-tooltip .scaling-pill{color:#cbd5e1;font-family:var(--font-digits);background:#1e293bb3;border:1px solid #ffffff14;border-radius:4px;padding:1px 4px}.advanced-turret-tooltip .tooltip-formula-box{color:#94a3b8;background:#0f172acc;border:1px solid #ffffff14;border-radius:6px;flex-direction:column;gap:3px;padding:6px 8px;font-size:10px;display:flex}.advanced-turret-tooltip .tooltip-formula-box code{color:#f1f5f9;font-family:var(--font-mono)}.advanced-turret-tooltip .tooltip-formula-box code b{color:#38bdf8}.advanced-turret-tooltip .tooltip-perks-list{flex-wrap:wrap;gap:4px;display:flex}.advanced-turret-tooltip .perk-tag{color:#fde047;background:#eab30826;border:1px solid #eab30859;border-radius:4px;align-items:center;gap:4px;padding:2px 6px;font-size:9px;font-weight:700;display:inline-flex}.advanced-turret-tooltip .tooltip-alt-hint{cursor:pointer;-webkit-user-select:none;user-select:none;background:#0f172ab3;border:1px solid #38bdf840;border-radius:6px;align-items:center;gap:8px;margin-top:2px;padding:6px 10px;transition:all .2s;display:flex}.advanced-turret-tooltip .tooltip-alt-hint:hover{background:#38bdf826;border-color:#38bdf880;transform:translateY(-1px)}.advanced-turret-tooltip .alt-hint-sep{color:#64748b;font-size:10px;font-weight:700}.advanced-turret-tooltip .tooltip-alt-hint.active{background:#38bdf826;border-color:#38bdf880;box-shadow:0 0 12px #38bdf833}.advanced-turret-tooltip .alt-kbd{font-family:var(--font-mono);color:#38bdf8;letter-spacing:.5px;-webkit-user-select:none;user-select:none;background:#38bdf833;border:1px solid #38bdf880;border-bottom:2px solid #38bdf8;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:800;line-height:1;display:inline-block}.advanced-turret-tooltip .alt-kbd.active{color:#0b1329;background:#38bdf8;border-color:#38bdf8 #38bdf8 #0284c7;border-bottom-style:solid;border-bottom-width:2px;box-shadow:0 0 8px #38bdf880}.advanced-turret-tooltip .alt-hint-text{color:#94a3b8;font-size:10px;line-height:1.3}.advanced-turret-tooltip .tooltip-alt-hint.active .alt-hint-text{color:#e2e8f0}.tower-tier-badge{color:#fbbf24;vertical-align:middle;background:#f59e0b33;border:1px solid #f59e0b66;border-radius:4px;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:800;display:inline-block}.guide-card-stats-row{flex-wrap:wrap;gap:6px;margin:6px 0 8px;display:flex}.guide-card-stats-row .stat-pill{color:#e2e8f0;background:#0f172ab3;border:1px solid #ffffff1a;border-radius:6px;padding:2px 7px;font-size:10px}.guide-card-stats-row .stat-pill b{color:#94a3b8}.tutorial-spotlight-cutout.pad-spotlight{pointer-events:none;border:3px solid #38bdf8;box-shadow:0 0 0 9999px #000000a6,0 0 25px #38bdf8e6;border-radius:50%!important}.pad-pointer-tip{pointer-events:auto}.floatingchat-container-wrap,.floatingchat-container-wrap-mobi{filter:drop-shadow(0 4px 18px #0000008c)drop-shadow(0 0 12px #0ea5e966);transition:opacity .3s,transform .2s cubic-bezier(.34,1.56,.64,1);z-index:9999999!important;border-radius:50%!important;width:52px!important;min-width:52px!important;max-width:52px!important;height:52px!important;overflow:visible!important}.floatingchat-container-wrap:hover,.floatingchat-container-wrap-mobi:hover{transform:translateY(-2px)scale(1.08)!important}.floatingchat-container-wrap{position:fixed!important;bottom:24px!important;left:auto!important;right:24px!important}.floatingchat-container-wrap-mobi{position:fixed!important;bottom:16px!important;left:auto!important;right:16px!important}.floatingchat-container,.floatingchat-container-mobi{border-radius:50%!important;width:52px!important;height:52px!important;overflow:hidden!important}.floating-chat-kofi-popup-iframe{z-index:10000000!important;position:fixed!important;bottom:85px!important;left:auto!important;right:24px!important}.floating-chat-kofi-popup-iframe-mobi{z-index:10000000!important;position:fixed!important;bottom:75px!important;left:auto!important;right:16px!important}body.hide-kofi-widget div[id^=kofi-widget-overlay-],body.hide-kofi-widget .floatingchat-container-wrap,body.hide-kofi-widget .floatingchat-container-wrap-mobi,body.hide-kofi-widget .floating-chat-kofi-popup-iframe,body.hide-kofi-widget .floating-chat-kofi-popup-iframe-mobi{visibility:hidden!important;pointer-events:none!important;opacity:0!important;display:none!important}.modal-backdrop{z-index:100000001!important}.footer-kofi-text-btn{color:#38bdf8;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;padding:0;font-family:inherit;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex}.footer-kofi-text-btn:hover{color:#7dd3fc;text-shadow:0 0 8px #38bdf880;text-decoration:underline}.footer-kofi-icon{color:#38bdf8;align-items:center;display:inline-flex}.footer-kofi-icon svg{width:14px;height:14px}.btn-portal-about{color:#f8fafc;font-family:var(--font-title);letter-spacing:.5px;border-radius:var(--radius-md);cursor:pointer;background:#1e293bb3;border:1px solid #38bdf84d;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex}.btn-portal-about:hover{color:#38bdf8;background:#0ea5e933;border-color:#38bdf8;transform:translateY(-1px);box-shadow:0 0 16px #0ea5e966}.footer-about-text-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;padding:0;font-family:inherit;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex}.footer-about-text-btn:hover{color:#38bdf8;text-shadow:0 0 8px #38bdf880;text-decoration:underline}.footer-about-icon{color:#38bdf8;align-items:center;display:inline-flex}.footer-about-icon svg{width:14px;height:14px}.portal-about-panel{border-radius:var(--radius-xl);background:linear-gradient(135deg,#0f172acc,#0b1329e6);border:1px solid #38bdf840;margin-top:24px;padding:24px 28px;box-shadow:0 8px 32px #02061766,inset 0 1px #ffffff14}.portal-about-inner{align-items:center;gap:28px;display:flex}.portal-about-avatar-wrap{flex-shrink:0}.portal-about-avatar-frame{background:#0b1329;border:3px solid #0ea5e9;border-radius:50%;justify-content:center;align-items:center;width:104px;height:104px;transition:transform .3s,box-shadow .3s;display:flex;overflow:hidden;box-shadow:0 0 24px #0ea5e973}.portal-about-avatar-frame:hover{transform:scale(1.05);box-shadow:0 0 32px #38bdf8a6}.portal-about-img{object-fit:cover;width:100%;height:100%;display:block}.portal-about-avatar-fallback{justify-content:center;align-items:center;width:100%;height:100%}.fallback-poly-avatar{width:80%;height:80%}.portal-about-text-content{flex:1}.about-tag-row{align-items:center;gap:10px;margin-bottom:6px;display:flex}.about-role-tag{font-family:var(--font-title);letter-spacing:.8px;color:#38bdf8;border-radius:var(--radius-sm);background:#0ea5e926;border:1px solid #38bdf84d;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.about-role-tag svg{width:13px;height:13px}.about-site-tag{color:#94a3b8;letter-spacing:.5px;font-size:11px;font-weight:700}.portal-about-name{font-family:var(--font-title);color:#fff;letter-spacing:.3px;margin-bottom:8px;font-size:20px;font-weight:800}.portal-about-blurb{color:#cbd5e1;max-width:820px;margin-bottom:16px;font-size:13.5px;line-height:1.5}.portal-about-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.btn-sm-about{align-items:center;gap:6px;padding:8px 18px;font-size:13px;display:inline-flex}.btn-sm-kofi{padding:8px 18px;font-size:13px}.about-dialog{border-radius:var(--radius-xl);background:linear-gradient(135deg,#0f172af5,#0b1329fa);border:1px solid #38bdf84d;flex-direction:column;width:92%;max-width:680px;max-height:88vh;animation:.25s cubic-bezier(.16,1,.3,1) forwards modalPopIn;display:flex;overflow:hidden;box-shadow:0 16px 48px #000000b3,0 0 32px #0ea5e940}.about-modal-header{background:#0f172a99;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.about-badge{font-family:var(--font-title);letter-spacing:.8px;color:#38bdf8;align-items:center;gap:6px;margin-bottom:4px;font-size:11px;font-weight:800;display:inline-flex}.about-badge svg{width:14px;height:14px}.about-main-title{font-family:var(--font-title);letter-spacing:.5px;color:#fff;font-size:22px;font-weight:900}.about-tabs-bar{background:#02061780;border-bottom:1px solid #ffffff0f;gap:8px;min-height:45px;padding:0 16px;display:flex}.about-tab-btn{font-family:var(--font-title);letter-spacing:.6px;color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:12px 18px;font-size:12.5px;font-weight:700;transition:all .2s;position:relative}.tab-label-desktop{display:inline}.tab-label-mobile{display:none}.about-tab-btn:hover{color:#e2e8f0}.about-tab-btn.active{color:#38bdf8}.about-tab-btn.active:after{content:"";background:#38bdf8;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:0;right:0;box-shadow:0 0 10px #38bdf8cc}.about-scroll-body{flex-direction:column;flex:1;gap:18px;padding:24px;display:flex;overflow-y:auto}.about-profile-hero{border-radius:var(--radius-lg);background:#1e293b59;border:1px solid #38bdf833;align-items:center;gap:22px;padding:18px;display:flex}.about-avatar-wrapper{flex-shrink:0;position:relative}.about-avatar-frame{z-index:2;background:#020c1b;border:3px solid #38bdf8;border-radius:50%;justify-content:center;align-items:center;width:110px;height:110px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 24px #38bdf866}.about-avatar-img{object-fit:cover;width:100%;height:100%;display:block}.about-avatar-fallback{justify-content:center;align-items:center;width:100%;height:100%}.about-avatar-glow{z-index:1;background:radial-gradient(circle,#0ea5e980 0%,#0000 70%);border-radius:50%;position:absolute;inset:-6px}.about-hero-details{flex:1}.creator-tagline-row{align-items:center;gap:8px;margin-bottom:4px;display:flex}.creator-badge{font-family:var(--font-title);color:#38bdf8;border-radius:var(--radius-sm);background:#0ea5e926;border:1px solid #38bdf84d;padding:2px 7px;font-size:10.5px;font-weight:800}.creator-location{color:#64748b;font-size:11px;font-weight:700}.creator-name{font-family:var(--font-title);color:#fff;margin-bottom:4px;font-size:22px;font-weight:900}.creator-lead{color:#cbd5e1;margin-bottom:10px;font-size:13px;line-height:1.45}.creator-chips-row{flex-wrap:wrap;gap:6px;display:flex}.creator-chip{color:#94a3b8;border-radius:var(--radius-md);background:#0f172ab3;border:1px solid #ffffff14;align-items:center;gap:5px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.chip-dot{background:#38bdf8;border-radius:50%;width:5px;height:5px;display:inline-block}.about-content-card{border-radius:var(--radius-lg);background:#0f172a80;border:1px solid #ffffff14;padding:18px 20px}.card-section-title{font-family:var(--font-title);color:#fff;align-items:center;gap:8px;margin-bottom:10px;font-size:15px;font-weight:800;display:flex}.title-glyph{color:#38bdf8;align-items:center;display:inline-flex}.title-glyph svg{width:16px;height:16px}.card-p{color:#94a3b8;margin-bottom:8px;font-size:13px;line-height:1.55}.card-p:last-child{margin-bottom:0}.about-promise-list{color:#cbd5e1;margin:10px 0 14px 22px;padding:0;font-size:13px;line-height:1.6}.about-promise-list li{margin-bottom:6px}.about-promise-list b{color:#38bdf8}.card-signoff{color:#f8fafc;border-top:1px dashed #ffffff1f;margin-top:14px;padding-top:12px;font-size:13.5px;font-style:italic}.about-points-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:10px;display:grid}.about-point{align-items:flex-start;gap:10px;display:flex}.point-num{font-family:var(--font-title);color:#38bdf8;border-radius:var(--radius-sm);background:#0ea5e91f;flex-shrink:0;padding:2px 6px;font-size:14px;font-weight:900}.about-point h5{color:#f1f5f9;margin-bottom:2px;font-size:13px;font-weight:700}.about-point p{color:#94a3b8;font-size:12px;line-height:1.4}.tech-spec-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.tech-spec-item{border-radius:var(--radius-md);background:#1e293b66;border:1px solid #ffffff0f;flex-direction:column;gap:2px;padding:10px 14px;display:flex}.spec-label{color:#38bdf8;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.spec-value{color:#f8fafc;font-size:13px;font-weight:600}.curriculum-tier-list{flex-direction:column;gap:8px;margin-top:10px;display:flex}.curriculum-tier-row{border-radius:var(--radius-md);background:#1e293b4d;border-left:3px solid #0284c7;align-items:center;gap:12px;padding:8px 12px;display:flex}.tier-grade{font-family:var(--font-title);color:#38bdf8;flex-shrink:0;min-width:90px;font-size:12px;font-weight:800}.tier-desc{color:#cbd5e1;font-size:12px;line-height:1.35}.support-hero-box{text-align:center;border-radius:var(--radius-lg);background:linear-gradient(135deg,#0ea5e91f,#0284c70d);border:1px solid #38bdf859;flex-direction:column;align-items:center;gap:12px;padding:24px 20px;display:flex}.support-icon-circle{color:#38bdf8;background:#0ea5e933;border:2px solid #38bdf8;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;display:flex;box-shadow:0 0 20px #38bdf866}.support-icon-circle svg{width:24px;height:24px}.support-title{font-family:var(--font-title);color:#fff;font-size:18px;font-weight:800}.support-desc{color:#cbd5e1;max-width:520px;font-size:13px;line-height:1.5}.btn-large-kofi{border-radius:var(--radius-md);padding:12px 28px;font-size:14px;font-weight:800}.contact-links-row{flex-wrap:wrap;gap:12px;margin-top:10px;display:flex}.contact-link-pill{border-radius:var(--radius-md);color:#f8fafc;background:#1e293b80;border:1px solid #38bdf84d;align-items:center;gap:8px;padding:8px 16px;font-size:12.5px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.contact-link-pill:hover{color:#38bdf8;background:#0ea5e933;border-color:#38bdf8;transform:translateY(-1px);box-shadow:0 0 12px #0ea5e959}.pill-icon{color:#38bdf8;align-items:center;display:inline-flex}.pill-icon svg{width:16px;height:16px}.about-modal-footer{background:#0f172a99;border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}@media (width<=768px){.portal-about-inner{text-align:center;flex-direction:column;gap:16px}.about-tag-row,.portal-about-actions{justify-content:center}.about-profile-hero{text-align:center;flex-direction:column;gap:14px}.creator-tagline-row,.creator-chips-row{justify-content:center}.about-points-grid,.tech-spec-grid{grid-template-columns:1fr}.about-tabs-bar{justify-content:space-around;gap:4px;min-height:45px;padding:0 8px;overflow-x:hidden}.about-tab-btn{white-space:nowrap;flex:1;justify-content:center;align-items:center;min-height:44px;padding:10px 8px;font-size:11px;display:inline-flex}.tab-label-desktop{display:none}.tab-label-mobile{font-size:11.5px;font-weight:800;display:inline}.leaderboard-modal-window,.about-dialog,.badges-modal-dialog,.polydex-modal-window,.story-modal-window,.welcome-modal-window{border-radius:var(--radius-xl)!important;align-self:center!important;width:96vw!important;max-width:96vw!important;height:90dvh!important;max-height:90dvh!important;margin:auto!important}.badges-modal-dialog{padding:16px 14px}.badges-grid-scroll{grid-template-columns:1fr}}.footer-legal-link{color:#94a3b8;padding:2px 4px;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s}.footer-legal-link:hover{color:#38bdf8;text-decoration:underline}.name-input-row{align-items:center;gap:8px;width:100%;display:flex}.name-input-row .form-input{flex:1}.btn-roll-name{color:#38bdf8;cursor:pointer;background:#1e293bd9;border:1px solid #38bdf866;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex}.btn-roll-name:hover{color:#fff;background:#38bdf833;border-color:#38bdf8;transform:translateY(-1px);box-shadow:0 0 12px #38bdf859}.btn-roll-name:active{transform:scale(.95)}.dice-icon-wrap{justify-content:center;align-items:center;transition:transform .3s cubic-bezier(.34,1.56,.64,1);display:inline-flex}.dice-icon-wrap.spinning{transform:rotate(360deg)scale(1.15)}.name-validation-msg{color:#f87171;background:#ef44441f;border:1px solid #ef44444d;border-radius:6px;margin-top:6px;padding:6px 10px;font-size:12.5px;font-weight:600;line-height:1.4}.btn-portal-admin{color:#fbbf24;background:linear-gradient(135deg,#f59e0b40 0%,#d9770659 100%);border:1px solid #f59e0b99;font-weight:700;box-shadow:0 0 16px #f59e0b4d}.btn-portal-admin:hover{background:linear-gradient(135deg,#f59e0b66 0%,#d9770680 100%);border-color:#fde68a;transform:translateY(-1px);box-shadow:0 0 24px #f59e0b80}.admin-config-window{border-color:#f59e0b66;width:95vw;max-width:980px;max-height:90vh;box-shadow:0 24px 64px #000c,0 0 40px #f59e0b2e}.admin-header-badge{color:#fbbf24;letter-spacing:1px;background:#f59e0b26;border:1px solid #f59e0b66;border-radius:4px;align-items:center;gap:6px;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.admin-tabs-bar{background:#0a0f1eb3;border-bottom:1px solid #ffffff14;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 24px;display:flex}.admin-tab-btn{color:#94a3b8;height:38px;font-family:var(--font-title);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:12px;font-weight:700;line-height:1;transition:all .25s cubic-bezier(.4,0,.2,1);display:inline-flex;overflow:hidden}.admin-tab-btn .tab-icon{flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;line-height:1;display:inline-flex}.admin-tab-btn .tab-icon svg{width:16px;height:16px;display:block}.admin-tab-btn .tab-label{opacity:0;vertical-align:middle;max-width:0;line-height:1;transition:max-width .25s cubic-bezier(.4,0,.2,1),opacity .2s,margin .25s;display:inline-block;overflow:hidden}.admin-tab-btn:hover{color:#f8fafc;background:#ffffff1a;border-color:#fff3}.admin-tab-btn.active{color:#fbbf24;background:#f59e0b2e;border-color:#f59e0b99;box-shadow:0 0 12px #f59e0b33}.admin-tab-btn.active .tab-label,.admin-tab-btn:hover .tab-label{opacity:1;max-width:180px;margin-left:2px}.admin-slider-group{flex-direction:column;gap:6px;margin-top:4px;display:flex}.admin-slider-header{justify-content:space-between;align-items:center;display:flex}.admin-slider-val-badge{font-family:var(--font-mono);color:#38bdf8;letter-spacing:.5px;background:#0ea5e91f;border:1px solid #38bdf859;border-radius:4px;padding:2px 7px;font-size:11.5px;font-weight:700;line-height:1.2}.admin-slider-input{appearance:none;cursor:pointer;background:#ffffff1f;border-radius:3px;outline:none;width:100%;height:6px;margin:6px 0;transition:background .2s}.admin-slider-input:hover{background:#fff3}.admin-slider-input::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#38bdf8;border:2px solid #0f172a;border-radius:50%;width:18px;height:18px;transition:transform .15s,background .15s;box-shadow:0 0 10px #38bdf8cc}.admin-slider-input::-moz-range-thumb{cursor:pointer;background:#38bdf8;border:2px solid #0f172a;border-radius:50%;width:18px;height:18px;box-shadow:0 0 10px #38bdf8cc}.admin-slider-input:hover::-webkit-slider-thumb{background:#67e8f9;transform:scale(1.15)}.admin-slider-input:hover::-moz-range-thumb{background:#67e8f9;transform:scale(1.15)}.admin-slider-input:active::-webkit-slider-thumb{background:#fbbf24;transform:scale(1.25);box-shadow:0 0 14px #fbbf24e6}.admin-slider-input:active::-moz-range-thumb{background:#fbbf24;transform:scale(1.25);box-shadow:0 0 14px #fbbf24e6}.admin-content-body{max-height:calc(90vh - 210px);padding:20px 24px;overflow-y:auto}.admin-cards-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.admin-card{background:#0f172ab3;border:1px solid #ffffff1a;border-radius:8px;flex-direction:column;gap:12px;padding:16px;display:flex}.admin-card-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding-bottom:8px;display:flex}.admin-card-title{color:#f8fafc;align-items:center;gap:8px;font-size:14px;font-weight:800;display:flex}.admin-field-row{flex-direction:column;gap:4px;display:flex}.admin-field-label{color:#94a3b8;justify-content:space-between;font-size:11.5px;font-weight:600;display:flex}.admin-input{color:#f8fafc;background:#02061799;border:1px solid #ffffff26;border-radius:6px;outline:none;padding:6px 10px;font-family:inherit;font-size:13px;transition:border-color .2s}.admin-input:focus{border-color:#fbbf24;box-shadow:0 0 8px #f59e0b4d}.admin-input-textarea{resize:vertical;box-sizing:border-box;background:#020617cc;width:100%;min-height:340px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;line-height:1.5}.admin-math-nav-section{flex-direction:column;gap:6px;display:flex}.admin-math-nav-label{color:#94a3b8;letter-spacing:.5px;font-size:11px;font-weight:700;font-family:var(--font-mono)}.admin-pills-row{flex-wrap:wrap;gap:6px;display:flex}.admin-pill-btn{color:#94a3b8;cursor:pointer;background:#0f172ab3;border:1px solid #ffffff1f;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .15s ease-in-out;display:flex}.admin-pill-btn:hover{color:#f8fafc;background:#1e293be6;border-color:#ffffff40}.admin-pill-btn.active{color:#38bdf8;background:#38bdf833;border-color:#38bdf8;box-shadow:0 0 10px #38bdf840}.admin-pill-btn .math-op-sym{font-family:var(--font-mono);color:#fbbf24;font-size:13px;font-weight:800}.admin-math-tier-card{border-left:3px solid #38bdf8}.admin-btn-test-question{color:#fbbf24;cursor:pointer;background:#f59e0b26;border:1px solid #f59e0b66;border-radius:4px;padding:4px 10px;font-size:11px;font-weight:700;transition:all .15s ease-in-out}.admin-btn-test-question:hover{color:#fff;background:#f59e0b4d;border-color:#fbbf24}.admin-math-preview-box{background:#020617d9;border:1px solid #38bdf859;border-radius:6px;flex-direction:column;gap:4px;padding:8px 12px;animation:.2s ease-in-out fadeIn;display:flex}.admin-math-preview-box .preview-equation{color:#38bdf8;font-size:15px;font-weight:800;font-family:var(--font-mono)}.admin-math-preview-box .preview-choices{color:#cbd5e1;font-size:11.5px}.admin-math-preview-box .preview-choice-chip{font-family:var(--font-mono);color:#f8fafc;background:#ffffff14;border:1px solid #ffffff26;border-radius:4px;padding:1px 6px;font-weight:700}.admin-math-preview-box .preview-tip{color:#a7f3d0;font-size:11px;font-style:italic}.admin-action-bar{background:#0a0f1ed9;border-top:1px solid #ffffff1a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;display:flex}.admin-note-input{color:#f8fafc;background:#02061799;border:1px solid #ffffff26;border-radius:6px;outline:none;flex:1;min-width:240px;padding:8px 12px;font-size:13px}.admin-btn-publish{color:#020617;letter-spacing:.5px;cursor:pointer;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:none;border-radius:6px;align-items:center;gap:8px;padding:10px 20px;font-size:13px;font-weight:800;transition:all .2s cubic-bezier(.34,1.56,.64,1);display:inline-flex;box-shadow:0 0 16px #f59e0b66}.admin-btn-publish:hover:not(:disabled){transform:translateY(-2px)scale(1.02);box-shadow:0 0 24px #f59e0b99}.admin-btn-publish:disabled{opacity:.5;cursor:not-allowed}.admin-status-strip{border-radius:6px;margin-bottom:12px;padding:8px 12px;font-size:12.5px;font-weight:600}.admin-status-strip.success{color:#34d399;background:#10b98126;border:1px solid #10b98166}.admin-status-strip.error{color:#f87171;background:#ef444426;border:1px solid #ef444466}.admin-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.admin-table th{color:#94a3b8;background:#ffffff0d;border-bottom:1px solid #ffffff1a;padding:10px;font-weight:700}.admin-table td{color:#e2e8f0;border-bottom:1px solid #ffffff0d;padding:10px}.admin-btn-rollback{color:#fbbf24;cursor:pointer;background:#f59e0b26;border:1px solid #f59e0b66;border-radius:4px;padding:4px 10px;font-size:11.5px;font-weight:700;transition:all .2s}.admin-btn-rollback:hover{background:#f59e0b4d;border-color:#fde68a}.admin-mod-search-bar{align-items:center;gap:10px;margin-bottom:16px;display:flex}.admin-mod-search-input{color:#f8fafc;background:#0f172acc;border:1px solid #ffffff26;border-radius:6px;outline:none;flex:1;padding:8px 12px;font-family:inherit;font-size:13px;transition:border-color .2s}.admin-mod-search-input:focus{border-color:#6366f199;box-shadow:0 0 8px #6366f140}.user-status-badge{letter-spacing:.5px;text-transform:uppercase;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:800;display:inline-block}.user-status-badge.status-active{color:#4ade80;background:#22c55e26;border:1px solid #22c55e4d}.user-status-badge.status-suspended{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b66}.user-status-badge.status-banned{color:#f87171;background:#ef444426;border:1px solid #ef444466}.btn-mod-reinstate{color:#4ade80;cursor:pointer;background:#22c55e26;border:1px solid #22c55e66;border-radius:4px;padding:4px 8px;font-size:11px;font-weight:700;transition:all .2s}.btn-mod-reinstate:hover{background:#22c55e4d;border-color:#86efac}.btn-mod-suspend{color:#fbbf24;cursor:pointer;background:#f59e0b26;border:1px solid #f59e0b66;border-radius:4px;padding:4px 8px;font-size:11px;font-weight:700;transition:all .2s}.btn-mod-suspend:hover{background:#f59e0b4d;border-color:#fde68a}.btn-mod-ban{color:#f87171;cursor:pointer;background:#ef444426;border:1px solid #ef444466;border-radius:4px;padding:4px 8px;font-size:11px;font-weight:700;transition:all .2s}.btn-mod-ban:hover{background:#ef44444d;border-color:#fca5a5}.admin-mod-tip{color:#94a3b8;font-size:12px;line-height:1.4}.vector-medal{vertical-align:middle;filter:drop-shadow(0 2px 4px #0006);transition:transform .2s;display:inline-block}.vector-medal:hover{transform:scale(1.15)rotate(-3deg)}.arcade-top-bar .btn-icon-only{border-radius:var(--radius-md);color:#94a3b8;cursor:pointer;background:#0f172ab3;border:1px solid #ffffff1f;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:all .2s;display:inline-flex}.arcade-top-bar .btn-icon-only:hover{color:#38bdf8;background:#1e293be6;border-color:#38bdf880;transform:translateY(-1px);box-shadow:0 4px 12px #38bdf833}.arcade-top-bar .btn-icon-only.btn-portal-admin:hover{color:#fbbf24;border-color:#f59e0b99;box-shadow:0 4px 12px #f59e0b33}.arcade-profile-strip{align-items:center;gap:12px;display:flex;position:relative}.profile-avatar-trigger{cursor:pointer;background:#0f172abf;border:1px solid #ffffff24;border-radius:9999px;align-items:center;gap:6px;padding:3px 8px 3px 3px;transition:all .2s;display:inline-flex;position:relative}.profile-avatar-trigger:hover{background:#1e293bf2;border-color:#38bdf8;box-shadow:0 0 16px #38bdf840}.profile-avatar-thumb{background:#020617b3;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:flex;overflow:hidden}.profile-avatar-chevron{color:#94a3b8;align-items:center;transition:transform .2s;display:flex}.profile-avatar-trigger.open .profile-avatar-chevron{transform:rotate(180deg)}.profile-avatar-dot{border:2px solid #0f172a;border-radius:50%;width:10px;height:10px;position:absolute;bottom:2px;left:28px}.profile-avatar-dot.online{background:#10b981;box-shadow:0 0 6px #10b981}.profile-avatar-dot.guest{background:#0ea5e9;box-shadow:0 0 6px #0ea5e9}.profile-popover-card{border-radius:var(--radius-lg);-webkit-backdrop-filter:blur(16px);z-index:1000;background:#0f172af7;border:1px solid #38bdf859;width:310px;padding:16px;animation:.18s cubic-bezier(.16,1,.3,1) popoverFadeIn;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 20px 40px #000000bf,0 0 20px #38bdf826}@keyframes popoverFadeIn{0%{opacity:0;transform:translateY(-8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.popover-header{border-bottom:1px solid #ffffff14;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;display:flex}.popover-avatar{background:#020617cc;border:1px solid #38bdf866;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;display:flex}.popover-info{flex:1;min-width:0}.popover-char-name{color:#f8fafc;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:800;display:block;overflow:hidden}.popover-grade-badge{font-family:var(--font-mono);color:#38bdf8;background:#38bdf833;border-radius:4px;margin-right:6px;padding:2px 6px;font-size:10px;font-weight:700}.popover-account-label{color:#94a3b8;margin-top:3px;font-size:11px;display:block}.popover-stats-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;display:grid}.popover-stat-box{border-radius:var(--radius-md);background:#02061780;border:1px solid #ffffff0f;padding:8px 10px}.popover-stat-title{font-size:10px;font-family:var(--font-mono);color:#64748b;text-transform:uppercase}.popover-stat-value{color:#fbbf24;align-items:center;gap:4px;margin-top:2px;font-size:13.5px;font-weight:800;display:flex}.popover-btn-manage{justify-content:center;width:100%}.btn-retire-cadet{color:#fca5a5;cursor:pointer;background:#ef44441f;border:1px solid #ef44444d;border-radius:6px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:700;transition:all .15s;display:inline-flex}.btn-retire-cadet:hover{color:#fff;background:#ef444440;border-color:#ef4444}.version-mismatch-window{border-color:#06b6d473;max-width:540px;box-shadow:0 0 50px #06b6d440,0 0 20px #f59e0b26}.version-mismatch-header{border-bottom:1px solid #06b6d440}.signal-tag{color:#fbbf24;font-family:var(--font-mono);letter-spacing:.8px;border-radius:var(--radius-sm);background:#f59e0b2e;border:1px solid #f59e0b66;align-items:center;gap:6px;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.signal-drift-banner{border-radius:var(--radius-md);background:#06b6d414;border:1px solid #06b6d44d;align-items:flex-start;gap:16px;margin-bottom:18px;padding:16px;display:flex}.signal-antenna-pulse{color:#22d3ee;background:#06b6d433;border:1px solid #06b6d480;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;animation:2s ease-in-out infinite antennaPulse;display:flex}@keyframes antennaPulse{0%{box-shadow:0 0 #06b6d499}70%{box-shadow:0 0 0 14px #06b6d400}to{box-shadow:0 0 #06b6d400}}.signal-lead{font-family:var(--font-title);color:#e0f2fe;margin-bottom:6px;font-size:14px;font-weight:700;line-height:1.4}.signal-sub{color:#cbd5e1;margin:0;font-size:12.5px;line-height:1.5}.version-telemetry-grid{border-radius:var(--radius-md);background:#0f172a99;border:1px solid #ffffff1a;justify-content:center;align-items:center;gap:12px;margin-bottom:18px;padding:14px;display:flex}.version-pill{border-radius:var(--radius-sm);flex-direction:column;align-items:center;gap:3px;min-width:130px;padding:8px 16px;display:flex}.cockpit-pill{background:#06b6d426;border:1px solid #06b6d466}.server-pill{background:#f59e0b26;border:1px solid #f59e0b66}.pill-label{letter-spacing:.8px;font-size:10px;font-weight:800;font-family:var(--font-mono);color:#94a3b8}.cockpit-pill .pill-version{font-family:var(--font-mono);color:#38bdf8;font-size:15px;font-weight:800}.server-pill .pill-version{font-family:var(--font-mono);color:#fbbf24;font-size:15px;font-weight:800}.version-arrow{color:#f59e0b;font-size:18px}.admin-wrangler-hint{border-radius:var(--radius-md);color:#fca5a5;background:#ef44441a;border:1px solid #ef444459;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12px;line-height:1.5;display:flex}.admin-wrangler-hint .hint-icon{color:#ef4444;flex-shrink:0;margin-top:1px}.sync-advice-hint{border-radius:var(--radius-md);color:#6ee7b7;background:#10b9811a;border:1px solid #10b9814d;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12px;line-height:1.5;display:flex}.sync-advice-hint .hint-icon{color:#10b981;flex-shrink:0;margin-top:1px}.code-inline{font-family:var(--font-mono);color:#f8fafc;background:#0006;border-radius:4px;padding:2px 6px;font-size:11px}.btn-recalibrate{background:linear-gradient(135deg,#0284c7 0%,#06b6d4 100%)!important;font-weight:800!important;box-shadow:0 0 20px #06b6d466!important}.btn-recalibrate:hover{transform:translateY(-1px);background:linear-gradient(135deg,#0369a1 0%,#0891b2 100%)!important}.leaderboard-wheel-pickers{background:#0a1020bf;border-bottom:1px solid #ffffff14;align-items:stretch;gap:10px;padding:10px 18px;display:flex}.wheel-column{background:#0f172aa6;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;flex:1;align-items:center;min-width:0;padding:6px 4px;display:flex;position:relative;box-shadow:inset 0 2px 6px #00000059}.wheel-column.game-wheel{flex:1.25}.wheel-column.grade-wheel{flex:1.1}.wheel-column.level-wheel{flex:.85}.wheel-header,.wheel-footer{z-index:4;flex-direction:column;align-items:center;width:100%;display:flex}.wheel-label{font-family:var(--font-title);letter-spacing:.08em;color:#94a3b8;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:800}.wheel-step-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:100%;padding:3px 0;transition:all .15s;display:flex}.wheel-step-btn:hover{color:#38bdf8;background:#38bdf81f}.wheel-step-btn svg{width:14px;height:14px}.wheel-viewport-wrap{width:100%;height:108px;position:relative;overflow:hidden}.wheel-viewport{scroll-snap-type:y mandatory;scrollbar-width:none;-ms-overflow-style:none;touch-action:pan-y;outline:none;width:100%;height:108px;position:relative;overflow-y:scroll}.wheel-viewport::-webkit-scrollbar{display:none}.wheel-track{flex-direction:column;padding:36px 0;display:flex}.wheel-item{scroll-snap-align:center;scroll-snap-stop:normal;text-align:center;color:#64748b;height:36px;min-height:36px;max-height:36px;font-family:var(--font-title);letter-spacing:.02em;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;opacity:.45;justify-content:center;align-items:center;padding:0 4px;font-size:13px;font-weight:700;transition:color .15s,transform .15s,opacity .15s;display:flex;overflow:hidden}.wheel-item:hover{color:#cbd5e1;opacity:.8}.wheel-item.active{color:#38bdf8;opacity:1;text-shadow:0 0 10px #38bdf880;font-size:14px;font-weight:800;transform:scale(1.05)}.wheel-reticle{pointer-events:none;z-index:2;background:linear-gradient(90deg,#38bdf80a 0%,#38bdf829 50%,#38bdf80a 100%);border-top:1px solid #38bdf873;border-bottom:1px solid #38bdf873;border-radius:6px;height:36px;position:absolute;top:50%;left:2px;right:2px;transform:translateY(-50%);box-shadow:inset 0 0 12px #38bdf826}.wheel-overlay-top,.wheel-overlay-bottom{pointer-events:none;z-index:3;height:36px;position:absolute;left:0;right:0}.wheel-overlay-top{background:linear-gradient(#0f172af2 0%,#0f172a66 60%,#0000 100%);top:0}.wheel-overlay-bottom{background:linear-gradient(#0000 0%,#0f172a66 40%,#0f172af2 100%);bottom:0}.leaderboard-modal-footer{justify-content:flex-end;align-items:center;gap:12px;padding:14px 20px;display:flex}@media (width<=600px){.leaderboard-wheel-pickers{gap:6px;padding:8px}.wheel-column{padding:4px 2px}.wheel-label{font-size:9px}.wheel-item{padding:0 2px;font-size:11px}.wheel-item.active{font-size:12px}.leaderboard-table th,.leaderboard-table td{padding:8px;font-size:12px}.pilot-char-name{font-size:12px}.pilot-account{font-size:10px}.score-num{font-size:13px}}#polyswarm-container,#polyswarm-container canvas{touch-action:none;-webkit-user-select:none;user-select:none}.polyswarm-hud-overlay{pointer-events:none;font-family:var(--font-body)}.ps-hud-shell{z-index:30;width:100%;max-width:960px;padding:max(8px, env(safe-area-inset-top)) 12px 0;pointer-events:none;margin:0 auto;position:relative}.ps-topbar{pointer-events:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#0a0c20eb 0%,#160f30d6 100%);border:1px solid #94a3ff2e;border-radius:14px;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:8px 12px;display:grid;box-shadow:0 10px 30px #0406148c}.ps-topbar-left{align-items:center;gap:6px;display:flex}.ps-ctrl-btn{color:#e2e8f0;min-height:36px;font-family:var(--font-title);letter-spacing:.04em;cursor:pointer;background:#18163ae0;border:1px solid #94a3ff3d;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:11px;font-weight:800;transition:transform .12s,border-color .15s,background .15s;display:inline-flex}.ps-ctrl-btn:hover{background:#1e294ef2;border-color:#38bdf8}.ps-ctrl-btn.is-turbo.is-active{color:#052e2b;background:linear-gradient(135deg,#0d9488 0%,#2dd4bf 100%);border-color:#99f6e4;box-shadow:0 0 16px #2dd4bfa6}.ps-level-diamond-wrap{flex-direction:column;align-items:center;padding:2px 6px;display:flex}.ps-level-diamond{background:#140e30f5;border:2px solid #e2a878;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;display:flex;transform:rotate(45deg);box-shadow:0 0 14px #e2a8784d}.ps-level-num{font-family:var(--font-title);color:#fef3c7;font-size:.98rem;font-weight:900;transform:rotate(-45deg)}.ps-level-caption{font-family:var(--font-title);letter-spacing:.08em;color:#e2a878;margin-top:5px;font-size:.6rem;font-weight:800}.ps-topbar-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ps-stat-chip{background:#111530d9;border:1px solid #94a3ff29;border-radius:9px;flex-direction:column;align-items:flex-end;padding:4px 10px;display:flex}.ps-chip-label{letter-spacing:.08em;color:#94a3b8;font-size:9px;font-weight:800}.ps-chip-val{font-family:var(--font-title);color:#f8fafc;font-size:13px;font-weight:800}.ps-stat-chip.is-squad .ps-chip-val{color:#2dd4bf}.ps-stat-chip.is-streak .ps-chip-val{color:#facc15}.ps-stat-chip.is-blaster .ps-chip-val{color:#67e8f9}.ps-telemetry-row{pointer-events:auto;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;display:grid}.ps-tele-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111530d6;border:1px solid #38bdf833;border-radius:10px;flex-direction:column;justify-content:space-between;gap:5px;padding:7px 10px;display:flex}.ps-tele-head{letter-spacing:.04em;color:#94a3b8;justify-content:space-between;align-items:center;gap:6px;font-size:10px;font-weight:800;display:flex}.ps-tele-head b{font-family:var(--font-mono);color:#f8fafc;font-size:11.5px}.ps-tele-bar{background:#070b18e0;border:1px solid #94a3ff24;border-radius:999px;height:10px;position:relative;overflow:hidden}.ps-tele-fill.is-teal{background:linear-gradient(90deg,#0ea5e9,#2dd4bf);height:100%;transition:width .14s linear}.ps-tele-subrow{font-family:var(--font-mono);justify-content:space-between;align-items:center;gap:6px;font-size:10px;font-weight:800;display:flex}.ps-delta-chip.is-ahead{color:#2dd4bf}.ps-delta-chip.is-over{color:#f0b688}.ps-best-chip{color:#cbd5e1;opacity:.9}.ps-width-pill{font-family:var(--font-mono);text-align:center;letter-spacing:.04em;border-radius:6px;padding:3px 8px;font-size:10.5px;font-weight:800}.ps-width-pill.tier-green{color:#6ee7b7;background:#10b98138;border:1px solid #10b9818c}.ps-width-pill.tier-yellow{color:#fde047;background:#facc1533;border:1px solid #facc158c}.ps-width-pill.tier-orange{color:#fdba74;background:#f973163d;border:1px solid #f97316a6}.ps-width-pill.tier-red{color:#fca5a5;background:#ef444447;border:1px solid #ef4444bf}.ps-width-pill.tier-split{color:#e9d5ff;background:#a855f742;border:1px solid #c084fca6}.ps-pause-overlay{z-index:95;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;background:#060716c2;justify-content:center;align-items:center;padding:16px;display:none;position:absolute;inset:0}.ps-pause-overlay.visible{display:flex}.ps-pause-card{text-align:center;background:linear-gradient(#180f34f5 0%,#0c0e24f5 100%);border:1.5px solid #2dd4bf73;border-radius:18px;width:min(440px,100%);padding:22px 20px;box-shadow:0 22px 60px #000000c7,0 0 32px #2dd4bf33}.ps-pause-badge{color:#5eead4;font-family:var(--font-mono);background:#2dd4bf29;border:1px solid #2dd4bf73;border-radius:999px;align-items:center;gap:6px;margin-bottom:10px;padding:4px 12px;font-size:11px;font-weight:800;display:inline-flex}.ps-pause-title{font-family:var(--font-title);color:#fff;margin:0 0 6px;font-size:20px;font-weight:900}.ps-pause-sub{color:#cbd5e1;margin:0 0 14px;font-size:13px}.ps-pause-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.ps-pause-stat{background:#0f172abf;border:1px solid #94a3ff2e;border-radius:10px;flex-direction:column;gap:3px;padding:8px 6px;display:flex}.ps-pause-stat span{color:#94a3b8;font-size:9px;font-weight:800}.ps-pause-stat b{font-family:var(--font-mono);color:#f8fafc;font-size:11.5px}.ps-pause-controls-hint{color:#94a3b8;flex-direction:column;gap:4px;margin-bottom:16px;font-size:12px;display:flex}.ps-pause-controls-hint b{color:#67e8f9}.ps-pause-actions{flex-direction:column;gap:8px;display:flex}.ps-pause-btn-resume{min-height:46px;font-weight:800}.bc-target-note{color:#5eead4;margin-top:3px;font-size:10.5px;font-weight:700;display:block}.bc-record-pill{color:#1e1b4b;font-family:var(--font-mono);background:linear-gradient(135deg,#f59e0b,#facc15);border-radius:999px;margin-top:4px;padding:2px 8px;font-size:10px;font-weight:900;display:inline-block}.bc-best-time{color:#94a3b8;margin-top:2px;font-size:10px;display:block}.ps-callout-banner{font-family:var(--font-title);letter-spacing:.5px;opacity:0;pointer-events:none;z-index:40;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:calc(100vw - 24px);padding:8px 18px;font-size:13px;font-weight:800;transition:opacity .2s,transform .2s;position:absolute;top:146px;left:50%;overflow:hidden;transform:translate(-50%)}.ps-callout-banner.visible{opacity:1}.ps-callout-banner.good{color:#fff;background:#10b981eb;border:1px solid #6ee7b7;box-shadow:0 4px 20px #10b98173}.ps-callout-banner.warn{color:#fff;background:#e11d48eb;border:1px solid #fda4af;box-shadow:0 4px 20px #e11d4873}.ps-boss-overclock-container{z-index:55;pointer-events:auto;width:min(395px,100vw - 32px);max-height:calc(100dvh - 166px);position:absolute;inset:152px 18px auto auto;transform:none}.ps-boss-overclock-dock{border-radius:var(--radius-xl);background:linear-gradient(#160f30f0 0%,#0c0f26f2 100%);border:1px solid #2dd4bf73;flex-direction:column;gap:10px;padding:16px 18px;animation:.25s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;box-shadow:0 18px 48px #000000c7,0 0 28px #2dd4bf33}.ps-boss-header{flex-direction:column;gap:6px;display:flex}.ps-boss-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ps-boss-tag{font-family:var(--font-mono);color:#f43f5e;align-items:center;gap:5px;font-size:11px;font-weight:800;display:inline-flex}.ps-boss-anger-badge{font-family:var(--font-mono);letter-spacing:.4px;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800;transition:all .2s}.ps-boss-anger-badge.anger-0{color:#38bdf8;background:#38bdf82e;border:1px solid #38bdf866}.ps-boss-anger-badge.anger-1{color:#fde047;background:#facc1533;border:1px solid #facc1580}.ps-boss-anger-badge.anger-2{color:#fdba74;background:#f9731640;border:1px solid #f9731699}.ps-boss-anger-badge.anger-3{color:#fca5a5;background:#ef444447;border:1px solid #ef4444b3;box-shadow:0 0 10px #ef444459}.ps-boss-anger-badge.anger-4{color:#fff;background:#e11d4859;border:1px solid #fb7185;animation:.5s infinite alternate pulseGlow;box-shadow:0 0 14px #e11d4899}.ps-boss-name{font-family:var(--font-title);color:#fff;margin:0;font-size:17px;font-weight:900}.ps-boss-taunt{color:#fde047;margin:0;font-size:12px;font-style:italic;line-height:1.3}.ps-boss-hp-bar{background:#000000a6;border:1px solid #f43f5e80;border-radius:999px;height:18px;position:relative;overflow:hidden}.ps-boss-hp-fill{background:linear-gradient(90deg,#e11d48,#f59e0b);height:100%;transition:width .2s}.ps-boss-hp-text{font-family:var(--font-mono);color:#fff;text-shadow:0 1px 3px #000000e6;justify-content:center;align-items:center;font-size:10.5px;font-weight:800;display:flex;position:absolute;inset:0}.ps-boss-charge-wrap{align-items:center;gap:8px;margin-top:2px;display:flex}.ps-boss-charge-label{font-family:var(--font-mono);color:#fb7185;white-space:nowrap;align-items:center;gap:4px;font-size:10px;font-weight:800;display:inline-flex}.ps-boss-charge-bar{background:#000000a6;border:1px solid #fb718573;border-radius:999px;flex:1;height:8px;overflow:hidden}.ps-boss-charge-fill{background:linear-gradient(90deg,#f43f5e,#fef08a);height:100%;transition:width 60ms linear;box-shadow:0 0 8px #f43f5ebf}.ps-overclock-math-box{border-radius:var(--radius-md);background:#1e293bb3;border:1px solid #ffffff14;flex-direction:column;gap:8px;padding:12px;display:flex}.ps-overclock-prompt-label{font-family:var(--font-mono);color:#38bdf8;align-items:center;gap:5px;font-size:11px;font-weight:800;display:flex}.ps-overclock-equation{font-family:var(--font-mono);color:#fff;text-align:center;padding:2px 0;font-size:26px;font-weight:900}.ps-overclock-choices{grid-template-columns:repeat(2,1fr);gap:8px;width:100%;display:grid}.ps-overclock-choice-btn{min-height:46px;min-width:var(--math-choice-min-width,92px);font-family:var(--font-mono);justify-content:center;align-items:center;gap:8px;font-size:17px;font-weight:800;display:flex}.ps-overclock-choice-btn.correct{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#6ee7b7!important}.ps-overclock-choice-btn.wrong{background:linear-gradient(135deg,#e11d48,#9f1239)!important;border-color:#fda4af!important}.ps-anti-guess-hint{color:#fecdd3;background:#f43f5e2e;border:1px solid #f43f5e73;border-radius:8px;margin-top:4px;padding:8px 10px;font-size:12px;line-height:1.35}@media (width<=768px){.ps-hud-shell{padding:max(6px, env(safe-area-inset-top)) 8px 0}.ps-topbar{gap:6px;padding:6px 8px}.ps-hide-sm{display:none}.ps-ctrl-btn{min-height:34px;padding:5px 8px;font-size:10.5px}.ps-stat-chip{padding:3px 6px}.ps-stat-chip.is-blaster{display:none}.ps-telemetry-row{gap:5px;margin-top:6px}.ps-tele-card{padding:5px 7px}.ps-tele-head{font-size:8.5px}.ps-tele-head b{font-size:10px}.ps-tele-subrow,.ps-width-pill{font-size:9px}.ps-callout-banner{padding:6px 12px;font-size:11.5px;top:132px}.ps-boss-overclock-container{width:auto;max-height:45dvh;inset:auto 8px 8px}.ps-boss-overclock-dock{border-radius:16px;gap:6px;padding:10px 12px}.ps-boss-header{gap:4px}.ps-boss-name{font-size:14px}.ps-boss-taunt{display:none}.ps-boss-hp-bar{height:15px}.ps-overclock-math-box{gap:6px;padding:8px 10px}.ps-overclock-equation{padding:0;font-size:21px}.ps-overclock-choice-btn{min-height:44px;min-width:var(--math-choice-min-width,92px);padding:6px 10px;font-size:15px}}.badge-tab.tab-mythic.active{color:#fda4af;background:#f43f5e38;border-color:#f43f5e;box-shadow:0 0 14px #f43f5e61}.badge-card.mythic{border-color:#f43f5e8c;box-shadow:0 0 18px #f43f5e2e}.diff-tag.diff-mythic{color:#fda4af;background:#f43f5e3d;border:1px solid #f43f5e8c}.grade-dare-selector{border-radius:var(--radius-md);background:#0f172ac7;border:1px solid #38bdf83d;flex-direction:column;gap:8px;margin-bottom:10px;padding:10px 12px;display:flex}.grade-dare-summary{color:var(--text-main);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.grade-dare-target{color:var(--color-cyber-sky)}.grade-dare-mult{font-family:var(--font-mono);color:var(--color-gold-bright);background:#f59e0b33;border:1px solid #facc1573;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700}.grade-dare-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grade-dare-label{font-family:var(--font-mono);color:var(--text-muted);letter-spacing:.05em;min-width:78px;font-size:11px;font-weight:700}.grade-dare-pills{flex-wrap:wrap;flex:1;align-items:center;gap:6px;display:flex}.grade-dare-pill{border-radius:var(--radius-sm);min-width:44px;min-height:44px;color:var(--text-main);font-family:var(--font-mono);cursor:pointer;background:#1e293bd9;border:1px solid #ffffff24;padding:0 12px;font-size:13px;font-weight:700;transition:border-color .15s,background .15s}.grade-dare-pill:hover:not(:disabled){border-color:var(--color-cyber-sky)}.grade-dare-pill.active{border-color:var(--color-cyber-sky);color:#fff;background:#0ea5e947;box-shadow:0 0 10px #38bdf852}.grade-dare-pill:disabled{opacity:.4;cursor:not-allowed}@font-face{font-family:NerdFontSymbols;src:local(Symbols Nerd Font Mono),local(JetBrainsMono Nerd Font),local(FiraCode Nerd Font),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}.nf-glyph{font-family:"NerdFontSymbols", "Symbols Nerd Font Mono", var(--font-mono), monospace;vertical-align:-.05em;font-style:normal;font-weight:400;line-height:1;display:inline-block}.nf-lg{font-size:1.15em}.nf-xl{font-size:1.45em}.polyminer-hud-overlay{--pm-bg-deep:#07091a;--pm-sheet-bg:#180f34eb;--pm-card-bg:#221546e0;--pm-card-border:#94a3ff29;--pm-teal-grad:linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);--pm-peach:#e2a878;--pm-peach-border:#f0b688;--pm-emerald:#34d399;--pm-cyan:#22d3ee;pointer-events:none;width:100vw;height:100dvh;font-family:var(--font-body);color:#f8fafc;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}.pm-3d-canvas-host{pointer-events:auto;z-index:1;background:#070918;position:absolute;inset:0}.pm-webgl-canvas{touch-action:none;width:100%;height:100%;display:block}.pm-pins-layer{z-index:4;pointer-events:none;position:absolute;inset:0}.pm-world-price-pin{pointer-events:auto;font-family:var(--font-title);letter-spacing:.03em;color:#fff;cursor:pointer;border:1.5px solid #ffffff73;border-radius:6px;padding:5px 12px;font-size:.88rem;font-weight:800;transition:transform .14s,filter .14s;position:absolute;transform:translate(-50%,-110%);box-shadow:0 4px 12px #0000008c}.pm-world-price-pin:after{content:"";background:currentColor;width:2px;height:8px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.pm-world-price-pin.is-affordable{color:#fff;background:linear-gradient(#16a34a 0%,#15803d 100%);border-color:#86efac;box-shadow:0 0 16px #22c55e8c}.pm-world-price-pin.is-locked{color:#fecaca;background:linear-gradient(#991b1b 0%,#7f1d1d 100%);border-color:#fca5a5}.pm-world-price-pin:hover{transform:translate(-50%,-118%)scale(1.06)}.pm-top-hud-layer{z-index:12;padding:max(8px, env(safe-area-inset-top)) 12px 0;pointer-events:none;width:100%;max-width:940px;margin:0 auto;position:relative}.pm-topbar{pointer-events:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#0a0c20eb 0%,#100e2ac7 100%);border:1px solid #ffffff14;border-radius:14px;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:8px 12px;display:grid}.pm-currency-stack{flex-direction:column;gap:3px;display:flex}.pm-curr-row{align-items:center;gap:6px;display:flex}.pm-curr-val{font-family:var(--font-title);letter-spacing:.02em;min-width:58px;font-size:.92rem;font-weight:800;transition:transform .15s}.pm-curr-val.is-cash{color:#e2e8f0}.pm-curr-val.is-credit{color:#67e8f9}.pm-curr-val.is-science{color:#cbd5e1}.pm-hud-pop{transform:scale(1.24);color:#facc15!important}.pm-curr-plus{color:#fff;cursor:pointer;background:#1e294ee6;border:1px solid #94a3ff4d;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;font-size:.85rem;font-weight:900;line-height:1;display:inline-flex}.pm-curr-plus:hover{background:#0ea5e959;border-color:#38bdf8}.pm-rank-diamond-btn{cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:center;padding:2px 6px;display:flex}.pm-rank-diamond{background:#140e30f2;border:2.2px solid #e2a878;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;transition:transform .2s,box-shadow .2s;display:flex;transform:rotate(45deg);box-shadow:0 0 14px #e2a87847}.pm-rank-diamond-btn.is-ready .pm-rank-diamond{background:linear-gradient(135deg,#0d9488,#14b8a6);border-color:#99f6e4;animation:1.3s ease-in-out infinite pmRankPulse;box-shadow:0 0 22px #2dd4bfc7}@keyframes pmRankPulse{0%,to{transform:rotate(45deg)scale(1)}50%{transform:rotate(45deg)scale(1.1)}}.pm-rank-num{font-family:var(--font-title);color:#fef3c7;font-size:1.05rem;font-weight:900;transform:rotate(-45deg)}.pm-rank-caption{font-family:var(--font-title);letter-spacing:.1em;color:#e2a878;margin-top:6px;font-size:.65rem;font-weight:800}.pm-rank-rewards-box{text-align:right;cursor:pointer;border-radius:8px;justify-self:end;padding:4px 6px}.pm-rank-rewards-box.is-ready{background:#0d94883d;border:1px solid #2dd4bf99}.pm-rewards-title{letter-spacing:.08em;color:#7dd3fc;margin-bottom:4px;font-size:.62rem;font-weight:800}.pm-rewards-grid{color:#f8fafc;flex-wrap:wrap;justify-content:flex-end;gap:8px;font-size:.74rem;font-weight:700;display:flex}.pm-rewards-grid span{align-items:center;gap:3px;display:inline-flex}.pm-objectives-row{pointer-events:auto;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;display:grid}.pm-obj-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111930d9;border:1px solid #38bdf833;border-radius:9px;flex-direction:column;justify-content:space-between;gap:6px;min-height:54px;padding:7px 8px;display:flex}.pm-obj-card.is-completed{background:var(--pm-teal-grad);border-color:#99f6e4;box-shadow:0 0 18px #2dd4bf73}.pm-obj-title{color:#e2e8f0;text-align:center;font-size:.7rem;font-weight:700;line-height:1.2}.pm-obj-card.is-completed .pm-obj-title{color:#052e2b;font-weight:800}.pm-obj-prog-wrap{background:#070b18d9;border-radius:5px;justify-content:center;align-items:center;height:16px;display:flex;position:relative;overflow:hidden}.pm-obj-prog-fill{background:linear-gradient(90deg,#0ea5e9,#14b8a6);transition:width .2s;position:absolute;inset:0 auto 0 0}.pm-obj-prog-text{z-index:1;font-family:var(--font-mono);color:#fff;font-size:.68rem;font-weight:800;position:relative}.pm-obj-done-row{font-family:var(--font-title);color:#fff;justify-content:center;align-items:center;gap:5px;font-size:.78rem;font-weight:900;display:flex}.pm-floating-side-controls{justify-content:space-between;align-items:flex-start;margin-top:10px;display:flex}.pm-side-col{pointer-events:auto;flex-direction:column;gap:8px;display:flex}.pm-side-col.is-right{align-items:flex-end}.pm-float-sq-btn,.pm-float-pill-btn{color:#f8fafc;min-width:44px;min-height:44px;font-family:var(--font-title);cursor:pointer;background:#0f142ee0;border:1.8px solid #ffffff59;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.75rem;font-weight:800;display:inline-flex;box-shadow:0 4px 14px #00000073}.pm-float-sq-btn.is-blue,.pm-float-pill-btn.is-cyan{color:#bae6fd;border-color:#38bdf8}.pm-float-sq-btn.is-teal{color:#99f6e4;border-color:#2dd4bf}.pm-float-pill-btn.is-gold{color:#fef9c3;background:linear-gradient(135deg,#92400eeb,#d97706e6);border-color:#facc15}.pm-drive-alert-pulse{animation:1.2s ease-in-out infinite pmDriveBob}@keyframes pmDriveBob{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.pm-float-timer-chip{color:#94a3b8;background:#0f172ac7;border:1px solid #94a3b847;border-radius:9px;align-items:center;gap:5px;padding:6px 10px;font-size:.68rem;font-weight:700;display:inline-flex}.pm-tutorial-host{z-index:22;pointer-events:none;max-width:520px;margin:8px auto 0;padding:0 12px;position:relative}.pm-tut-highlight{outline-offset:2px;animation:1.35s ease-in-out infinite pmTutPulse;outline:2.5px solid #2dd4bf!important;box-shadow:0 0 18px #2dd4bfb8,0 0 32px #38bdf861!important}@keyframes pmTutPulse{0%,to{box-shadow:0 0 14px #2dd4bf8c,0 0 26px #38bdf840}50%{box-shadow:0 0 24px #2dd4bff2,0 0 42px #38bdf88c}}.pm-tutorial-banner{pointer-events:auto;background:#140e30f0;border:1.5px solid #2dd4bf;border-radius:12px;padding:10px 14px;box-shadow:0 10px 26px #0000008c}.pm-tutorial-head{font-family:var(--font-title);color:#5eead4;justify-content:space-between;align-items:center;font-size:.8rem;font-weight:800;display:flex}.pm-tutorial-skip{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:.7rem;font-weight:700}.pm-tutorial-body{color:#e2e8f0;margin:5px 0 8px;font-size:.78rem;line-height:1.35}.pm-tutorial-foot{color:#94a3b8;justify-content:space-between;align-items:center;font-size:.7rem;display:flex}.pm-bottom-nav{z-index:25;pointer-events:auto;padding:0 4px max(6px, env(safe-area-inset-bottom));background:linear-gradient(#0c0a1cf5 0%,#070615 100%);border-top:1px solid #94a3ff24;grid-template-columns:repeat(6,1fr);align-items:end;width:min(940px,100%);min-height:58px;display:grid;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.pm-bottom-nav.has-trade-tab{grid-template-columns:repeat(7,1fr)}.pm-nav-tab{color:#64748b;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;min-height:54px;padding:6px 2px;transition:all .18s;display:flex;position:relative}.pm-nav-icon{font-size:1.25rem}.pm-nav-label{font-family:var(--font-title);letter-spacing:.04em;margin-top:4px;font-size:.62rem;font-weight:800;display:none}.pm-nav-tab.is-active{color:#e0f2fe;background:linear-gradient(#403676eb 0%,#1c163afa 100%);border-top:2px solid #93c5fd;border-radius:10px 10px 0 0;min-height:68px;margin-top:-14px;box-shadow:0 -6px 18px #00000073}.pm-nav-tab.is-active .pm-nav-icon{color:#93c5fd;font-size:1.38rem}.pm-nav-tab.is-active .pm-nav-label{display:block}.pm-nav-badge{color:#070615;background:#94a3b8;border:1px solid #0706158c;border-radius:99px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.66rem;font-weight:900;line-height:1;display:flex;position:absolute;top:4px;right:12%}.pm-drawer-host{left:50%;bottom:max(58px, calc(54px + env(safe-area-inset-bottom)));z-index:20;pointer-events:none;flex-direction:column;width:min(940px,100vw);max-height:60vh;display:flex;position:absolute;transform:translate(-50%)}.pm-drawer-host.is-open{pointer-events:auto}.pm-sheet{background:var(--pm-sheet-bg);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #a78bfa3d;border-left:1px solid #a78bfa24;border-right:1px solid #a78bfa24;border-radius:18px 18px 0 0;flex-direction:column;max-height:60vh;padding:12px 14px 16px;display:flex;overflow-y:auto;box-shadow:0 -14px 40px #040312cc}.pm-sheet-drag-head{font-family:var(--font-title);letter-spacing:.14em;color:#e2e8f0;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.85rem;font-weight:800;display:flex}.pm-sheet-close-x{color:#cbd5e1;cursor:pointer;background:#0f172aa6;border:1px solid #fff3;border-radius:99px;min-width:34px;min-height:34px}.pm-subtab-strip{justify-content:center;gap:22px;margin-bottom:12px;display:flex}.pm-subtab-btn{font-family:var(--font-title);letter-spacing:.08em;color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:6px 4px;font-size:.9rem;font-weight:800}.pm-subtab-btn.is-active{color:#fff;border-bottom-color:#f8fafc}.pm-prod-top-bar{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.pm-prod-top-bar .pm-subtab-strip{flex:1;margin-bottom:0}.pm-level-badge-btn{color:#fff;cursor:pointer;background:#181234e6;border:1.8px solid #ffffff8c;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-width:56px;min-height:52px;display:flex;position:relative}.pm-lv-kicker{letter-spacing:.08em;color:#cbd5e1;font-size:.55rem;font-weight:800}.pm-lv-num{font-family:var(--font-title);font-size:1.2rem;font-weight:900;line-height:1.05}.pm-lv-up-badge{color:#052e16;background:#22c55e;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;font-size:.75rem;display:flex;position:absolute;bottom:-6px;left:-6px}.pm-prod-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (width>=720px){.pm-prod-grid{grid-template-columns:repeat(4,1fr)}}.pm-prod-card{background:var(--pm-card-bg);border:1px solid var(--pm-card-border);color:#f8fafc;border-radius:12px;flex-direction:column;align-items:center;min-height:205px;padding:12px 10px;display:flex;position:relative}.pm-prod-card.is-locked,.pm-prod-card.is-empty{cursor:pointer;border-style:dashed;justify-content:center}.pm-prod-card.is-locked.can-afford{background:#10b98124;border-color:#34d399}.pm-prod-unlock-lbl{color:#cbd5e1;margin-top:10px;font-size:.86rem;font-weight:700}.pm-prod-unlock-cost.is-ok{color:#34d399;margin-top:4px;font-size:1rem;font-weight:900}.pm-prod-unlock-cost.is-poor{color:#f87171;margin-top:4px;font-size:1rem;font-weight:900}.pm-prod-diamond-empty{border:1.8px solid #94a3ff73;border-radius:10px;justify-content:center;align-items:center;width:64px;height:64px;display:flex;transform:rotate(45deg)}.pm-plus-glyph{color:#67e8f9;font-size:1.9rem;font-weight:800;transform:rotate(-45deg)}.pm-prod-empty-lbl{letter-spacing:.06em;color:#7dd3fc;margin-top:14px;font-size:.72rem;font-weight:800}.pm-slot-info-i,.pm-slot-clear-x{color:#e2e8f0;cursor:pointer;background:#0f172a8c;border:none;border-radius:99px;width:24px;height:24px;font-weight:900;position:absolute;top:7px}.pm-slot-info-i{font-family:Georgia,serif;font-style:italic;left:7px}.pm-slot-clear-x{font-size:.72rem;right:7px}.pm-slot-diamond-wrap{cursor:pointer;margin-top:8px;margin-bottom:8px;position:relative}.pm-slot-inv-pill{z-index:2;background:#94a3b859;border:1px solid #ffffff38;border-radius:99px;padding:2px 7px;font-size:.7rem;font-weight:800;transition:transform .16s,color .16s;position:absolute;top:-4px;left:-8px}.pm-slot-diamond{background:#0f172a5c;border:1.5px solid #ffffff38;border-radius:12px;justify-content:center;align-items:center;width:68px;height:68px;display:flex}.pm-slot-title{font-family:var(--font-title);text-align:center;margin-bottom:6px;font-size:.78rem;font-weight:800}.pm-slot-ingredients{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:8px;display:flex}.pm-ing-mini{flex-direction:column;align-items:center;gap:2px;display:flex}.pm-ing-ratio{font-family:var(--font-mono);font-size:.68rem;font-weight:700;transition:transform .16s,color .16s}.pm-ing-ratio.is-missing{color:#f87171}.pm-res-qty{transition:transform .16s,color .16s;display:inline-block}.pm-qty-bump{transform:scale(1.16);color:#5eead4!important}.pm-slot-prog-track{background:#090718bf;border-radius:99px;width:100%;height:9px;margin-top:auto;overflow:hidden}.pm-slot-prog-fill{background:linear-gradient(90deg,#c27858,#f4c19a);height:100%;transition:width .14s linear}.pm-slot-foot-timer{width:100%;font-family:var(--font-title);justify-content:space-between;align-items:center;margin-top:6px;font-size:.78rem;font-weight:800;display:flex}.pm-slot-speedup-btn{color:#e0f2fe;cursor:pointer;background:#0891b247;border:1px solid #38bdf8;border-radius:99px;align-items:center;gap:3px;padding:2px 7px;font-size:.68rem;font-weight:800;display:inline-flex}.pm-res-list{flex-direction:column;gap:6px;max-height:220px;margin-bottom:10px;display:flex;overflow-y:auto}.pm-res-row{cursor:pointer;background:#221546b8;border:1px solid #ffffff14;border-radius:9px;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.pm-res-row.is-selected{background:linear-gradient(90deg,#402672f2,#2d1b58f2);border-color:#a78bfa}.pm-res-row-left{align-items:center;gap:10px;font-weight:700;display:flex}.pm-res-row-right{font-family:var(--font-title);align-items:center;gap:16px;display:flex}.pm-res-price{color:#34d399;font-weight:800}.pm-autosell-toggle{color:#94a3b8;cursor:pointer;background:#0f172acc;border:1px solid #64748b;border-radius:6px;padding:3px 8px;font-size:.66rem;font-weight:800}.pm-autosell-toggle.is-on{color:#6ee7b7;background:#10b98140;border-color:#34d399}.pm-sell-dock{border-top:1px solid #ffffff1a;align-items:center;gap:12px;padding-top:8px;display:flex}.pm-sell-slider-wrap{flex:1}.pm-exo-slider{accent-color:#f4c19a;width:100%;height:10px}.pm-sell-readout{font-family:var(--font-title);flex-direction:column;align-items:flex-end;min-width:84px;font-size:.8rem;display:flex}.pm-sell-payout{color:#34d399;font-weight:900}.pm-pill-buy-btn{border:2px solid var(--pm-peach-border);color:#fff;min-width:96px;min-height:44px;font-family:var(--font-title);cursor:pointer;background:#120d26eb;border-radius:99px;justify-content:center;align-items:center;gap:6px;padding:6px 16px;font-size:.95rem;font-weight:900;display:inline-flex}.pm-pill-buy-btn.is-ok:hover{background:#f0b68838}.pm-pill-buy-btn.is-poor{color:#fca5a5;border-color:#f871718c}.pm-mine-header-bar{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:8px;padding-bottom:10px;display:flex}.pm-mine-cycle-btn{color:#f8fafc;cursor:pointer;background:#ffffff14;border:none;border-radius:8px;width:34px;height:34px}#pm-mine-prev{transform:scaleX(-1)}.pm-mine-title-text{font-family:var(--font-title);letter-spacing:.08em;text-align:center;flex:1;font-size:.86rem;font-weight:800}.pm-mine-top-split{grid-template-columns:82px 1fr;align-items:center;gap:12px;margin:10px 0;display:grid}.pm-mine-pilot-slot{color:#cbd5e1;cursor:pointer;background:#0f1430d9;border:1.5px solid #94a3ff59;border-radius:12px;justify-content:center;align-items:center;width:82px;height:92px;display:flex;position:relative}.pm-pilot-plus-circle{color:#052e2b;background:#2dd4bf;border-radius:99px;justify-content:center;align-items:center;width:24px;height:24px;font-weight:900;display:flex;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.pm-mini-assigned-pilot{font-family:var(--font-title);flex-direction:column;align-items:center;gap:3px;display:flex}.pm-mini-num{color:#94a3b8;font-size:.65rem}.pm-mini-callsign{color:#f8fafc;font-size:.72rem;font-weight:800}.pm-mini-mult{color:#2dd4bf;font-size:.78rem;font-weight:900}.pm-yield-thead,.pm-yield-trow{grid-template-columns:1.5fr .7fr .8fr .8fr;align-items:center;gap:6px;font-size:.74rem;display:grid}.pm-yield-thead{color:#94a3b8;margin-bottom:4px;font-weight:800}.pm-yield-trow{padding:3px 0;font-weight:700}.pm-yield-name{align-items:center;gap:5px;display:inline-flex}.pm-mine-mult-bar{color:#94a3b8;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.72rem;font-weight:800;display:flex}.pm-mult-pills{gap:6px;display:flex}.pm-mult-btn{color:#cbd5e1;cursor:pointer;background:#0f172acc;border:1px solid #94a3ff40;border-radius:6px;padding:4px 10px;font-size:.72rem;font-weight:800}.pm-mult-btn.is-active{color:#052e2b;background:#2dd4bf;border-color:#99f6e4}.pm-mine-upgrade-rows{flex-direction:column;gap:8px;display:flex}.pm-mine-stat-row{background:var(--pm-card-bg);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.pm-stat-info{flex:1}.pm-stat-title{color:#94a3b8;font-size:.72rem;font-weight:800}.pm-stat-lv{font-family:var(--font-title);font-size:.82rem;font-weight:900}.pm-stat-val{color:#67e8f9;font-size:.84rem;font-weight:800}.pm-tech-viewport{background:radial-gradient(circle,#191746 0%,#0b0b22 100%);border:1px solid #94a3ff29;border-radius:12px;max-height:290px;margin-bottom:10px;overflow:auto}.pm-tech-canvas{margin:0 auto;position:relative}.pm-tech-lines-svg{pointer-events:none;position:absolute;inset:0}.pm-tech-node{cursor:pointer;background:#0d122b;border:2.5px solid #334155;border-radius:99px;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .16s,box-shadow .16s;display:flex;position:absolute;transform:translate(-50%,-50%)}.pm-tech-node.is-root-diamond{border-radius:12px;width:62px;height:62px;transform:translate(-50%,-50%)rotate(45deg)}.pm-tech-node.is-root-diamond .pm-tech-node-face{transform:rotate(-45deg)}.pm-tech-node.is-root-diamond .pm-tech-stars{display:none}.pm-tech-node.is-unlocked{background:var(--pm-teal-grad);border-color:#99f6e4;box-shadow:0 0 18px #2dd4bf8c}.pm-tech-node.is-available{background:#101d3b;border-color:#2dd4bf;box-shadow:0 0 12px #2dd4bf40}.pm-tech-node.is-selected{box-shadow:0 0 0 3px #facc15,0 0 20px #facc158c}.pm-tech-ready-chev{color:#fff;background:#f97316;border-radius:99px;justify-content:center;align-items:center;width:20px;height:20px;font-size:.65rem;display:flex;position:absolute;top:-6px;right:-4px}.pm-tech-stars{color:#2dd4bf;letter-spacing:1px;white-space:nowrap;font-size:.72rem;position:absolute;bottom:-16px}.pm-tech-inspector{background:#0f132ceb;border:1px solid #2dd4bf47;border-radius:12px;padding:10px 12px}.pm-ti-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.pm-ti-title{font-family:var(--font-title);font-size:.92rem;font-weight:800}.pm-ti-effect{color:#2dd4bf;font-size:.76rem;font-weight:700}.pm-ti-desc{color:#cbd5e1;margin:6px 0 0;font-size:.78rem;line-height:1.3}.pm-ti-req{color:#f87171;margin-top:4px;font-size:.72rem;font-weight:700}.pm-ti-done-badge{color:#34d399;font-size:.82rem;font-weight:900}.pm-astro-subhead{color:#94a3b8;text-align:center;margin-bottom:10px;font-size:.75rem}.pm-astro-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}@media (width>=680px){.pm-astro-grid{grid-template-columns:repeat(4,1fr)}}.pm-astro-grid-card{color:#fff;cursor:pointer;border:1.5px solid #94a3ff40;border-radius:12px;flex-direction:column;align-items:center;padding:8px 6px 10px;transition:transform .14s;display:flex;position:relative;overflow:hidden}.pm-astro-grid-card.tier-common{background:linear-gradient(165deg,#1b2d3e,#0f1b2d)}.pm-astro-grid-card.tier-uncommon{background:linear-gradient(165deg,#144434,#0b241d);border-color:#34d399}.pm-astro-grid-card.tier-rare{background:linear-gradient(165deg,#1a2d5a,#101936);border-color:#38bdf8}.pm-astro-grid-card.tier-epic{background:linear-gradient(165deg,#521b5c,#280f35);border-color:#c084fc}.pm-astro-grid-card.tier-legendary{background:linear-gradient(165deg,#694b16,#322106);border-color:#fbbf24}.pm-astro-grid-card.tier-mythic{background:linear-gradient(165deg,#6c1031,#27091e);border-color:#f43f5e}.pm-astro-grid-card.is-unowned{opacity:.56;filter:grayscale(.5)}.pm-astro-grid-card.is-equipped{box-shadow:0 0 0 2px #2dd4bf}.pm-astro-top-row{justify-content:space-between;align-items:center;width:100%;margin-bottom:4px;display:flex}.pm-astro-stats-mini{align-items:center;gap:2px;display:flex}.pm-astro-mult{font-family:var(--font-title);margin-left:2px;font-size:.72rem;font-weight:900}.pm-astro-num-badge{color:#090b1a;width:24px;height:24px;font-family:var(--font-title);background:#fff;border-radius:99px;justify-content:center;align-items:center;font-size:.66rem;font-weight:900;display:flex}.pm-astro-callsign{color:#cbd5e1;margin-top:2px;font-size:.66rem;font-weight:700}.pm-astro-level{font-family:var(--font-title);letter-spacing:.06em;margin:2px 0 6px;font-size:.78rem;font-weight:800}.pm-astro-prog-pill{background:#050816bf;border-radius:99px;justify-content:center;align-items:center;width:90%;height:18px;display:flex;position:relative;overflow:hidden}.pm-astro-prog-fill{background:linear-gradient(90deg,#16a34a,#4ade80);position:absolute;inset:0 auto 0 0}.pm-astro-prog-text{z-index:1;font-family:var(--font-title);font-size:.72rem;font-weight:900;position:relative}.pm-astro-assigned-tag{color:#5eead4;margin-top:4px;font-size:.6rem;font-weight:800}.pm-boost-section-title{font-family:var(--font-title);letter-spacing:.1em;color:#93c5fd;margin:6px 0;font-size:.72rem;font-weight:800}.pm-boosts-list{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.pm-boost-row{background:var(--pm-card-bg);border:1px solid #94a3ff24;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.pm-boost-row.is-running{background:#0d948833;border-color:#2dd4bf}.pm-boost-info{flex:1}.pm-boost-name{font-family:var(--font-title);font-size:.9rem;font-weight:800}.pm-boost-desc{color:#94a3b8;margin-top:2px;font-size:.68rem}.pm-boost-live-tag{color:#042f2e;background:#14b8a6;border-radius:99px;margin-left:6px;padding:2px 6px;font-size:.66rem}.pm-qol-done-pill{color:#34d399;font-size:.82rem;font-weight:900}.pm-shop-tiers-row{grid-template-columns:repeat(6,1fr);gap:5px;margin-bottom:8px;display:grid}.pm-shop-tier-btn{color:#e2e8f0;cursor:pointer;background:#0f142ed9;border:1.5px solid #475569;border-radius:8px;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;display:flex}.pm-shop-tier-btn.is-active{background:#38bdf838;box-shadow:0 0 12px #38bdf859}.pm-st-name{font-family:var(--font-title);font-size:.68rem;font-weight:900}.pm-st-cost{color:#67e8f9;align-items:center;gap:3px;font-size:.72rem;font-weight:800;display:inline-flex}.pm-shop-bank-meta{text-align:center;color:#cbd5e1;margin-bottom:8px;font-size:.74rem}.pm-shop-grid-3x3{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px;display:grid}.pm-bank-cell{text-align:center;background:#120e2ee0;border:1.5px solid #94a3ff47;border-radius:10px;flex-direction:column;align-items:center;padding:8px 6px;transition:transform .1s,box-shadow .1s;display:flex}.pm-bank-cell.is-pilot{background:#221848eb}.pm-bank-cell.is-roulette-lit{z-index:2;transform:scale(1.06);box-shadow:0 0 0 3px #facc15,0 0 20px #facc15a6}.pm-bank-label{font-family:var(--font-title);margin-top:4px;font-size:.76rem;font-weight:800}.pm-bank-sub{color:#94a3b8;font-size:.6rem;font-weight:700}.pm-shop-pull-row{justify-content:center;display:flex}.pm-shop-pull-btn{width:100%;max-width:340px}.pm-modal-root{z-index:80;pointer-events:none;position:fixed;inset:0}.pm-modal-backdrop{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:max(12px, env(safe-area-inset-top)) 14px max(12px, env(safe-area-inset-bottom));z-index:85;background:#040510c7;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow-y:auto}.pm-combine-backdrop,.pm-crate-backdrop,.pm-cpu-backdrop,.pm-drive-backdrop{-webkit-backdrop-filter:none;background:#040510db}.pm-modal-card{color:#f8fafc;background:linear-gradient(#1c1644fa 0%,#0f0d26fa 100%);border:1.5px solid #94a3ff4d;border-radius:18px;width:min(460px,100%);max-height:90dvh;padding:18px;overflow-y:auto;box-shadow:0 24px 60px #000000bf}.pm-building-up-wrap{flex-direction:column;align-items:center;gap:18px;width:min(360px,92vw);display:flex}.pm-building-up-card{text-align:center;padding:24px 20px 26px}.pm-building-up-title{font-family:var(--font-title);letter-spacing:.14em;margin:0 0 22px;font-size:1.35rem;font-weight:800}.pm-building-diamond-badge{background:linear-gradient(135deg,#1c183ef2,#145366d9);border:2px solid #93c5fd;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:112px;height:112px;margin:0 auto 24px;display:flex;transform:rotate(45deg)}.pm-bd-kicker,.pm-bd-val{transform:rotate(-45deg)}.pm-bd-kicker{letter-spacing:.1em;color:#cbd5e1;font-size:.72rem}.pm-bd-val{font-family:var(--font-title);font-size:2.35rem;font-weight:900}.pm-building-spd-label{letter-spacing:.08em;color:#cbd5e1;margin-bottom:6px;font-size:.86rem}.pm-building-spd-compare{font-family:var(--font-title);justify-content:center;align-items:center;gap:12px;margin-bottom:22px;font-size:1.4rem;font-weight:800;display:flex}.pm-spd-arrows,.pm-spd-next{color:#22c55e}.pm-upgrade-credit-btn{width:100%;max-width:240px}.pm-floating-circle-x{color:#fff;cursor:pointer;background:#0f142ae6;border:2px solid #f8fafc;border-radius:99px;width:48px;height:48px;font-size:1.15rem}.pm-cpu-header{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:12px;display:flex}.pm-cpu-badge{font-family:var(--font-title);color:#67e8f9;letter-spacing:.06em;font-size:.82rem;font-weight:900}.pm-cpu-sub{color:#94a3b8;font-size:.74rem}.pm-cpu-head-actions{gap:6px;display:flex}.pm-icon-pill-btn{color:#f8fafc;cursor:pointer;background:#0f172acc;border:1px solid #94a3ff47;border-radius:10px;width:36px;height:36px}.pm-cpu-telemetry-strip{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px;display:grid}.pm-cpu-stat-pill{background:#0f172ad9;border:1px solid #ffffff1f;border-radius:9px;align-items:center;gap:6px;padding:7px 10px;font-size:.76rem;font-weight:700;display:flex}.pm-cpu-stat-pill.is-streak b{color:#facc15}.pm-cpu-stat-pill.is-credits b{color:#67e8f9}.pm-cpu-timer-row{color:#cbd5e1;justify-content:space-between;margin-bottom:4px;font-size:.74rem;font-weight:800;display:flex}.pm-cpu-timer-sec{font-family:var(--font-mono);font-variant-numeric:tabular-nums;text-align:right;color:#67e8f9;min-width:4.5ch}.pm-cpu-timer-track{background:#090d1a;border-radius:99px;width:100%;height:9px;margin-bottom:14px;overflow:hidden}.pm-cpu-timer-fill{transform-origin:0;will-change:transform;background:linear-gradient(90deg,#06b6d4,#2dd4bf);width:100%;height:100%}.pm-cpu-timer-fill.is-urgent{background:linear-gradient(90deg,#f97316,#ef4444)}.pm-cpu-problem-box{text-align:center;background:#0b1024eb;border:1.5px solid #38bdf859;border-radius:14px;margin-bottom:12px;padding:16px 12px}.pm-cpu-op-chip{letter-spacing:.08em;color:#2dd4bf;margin-bottom:6px;font-size:.7rem;font-weight:800}.pm-cpu-question-text{font-family:var(--font-mono);color:#fff;font-size:1.85rem;font-weight:900}.pm-cpu-choices-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.pm-cpu-choice-btn{color:#fff;min-height:54px;font-family:var(--font-mono);cursor:pointer;background:#1e294edb;border:1.5px solid #94a3ff47;border-radius:12px;justify-content:center;align-items:center;gap:10px;font-size:1.25rem;font-weight:800;display:flex}.pm-key-hint{color:#94a3b8;background:#ffffff1f;border-radius:5px;padding:2px 6px;font-size:.72rem}.pm-cpu-choice-btn.is-correct{background:#16a34a;border-color:#86efac}.pm-cpu-choice-btn.is-wrong{background:#b91c1c;border-color:#fca5a5}.pm-cpu-hint-card{background:#ef444429;border:1px solid #f87171;border-radius:10px;margin-bottom:10px;padding:10px 12px;font-size:.8rem}.pm-cpu-hint-head{color:#fecaca;margin-bottom:3px;font-weight:800}.pm-cpu-hint-body{color:#fde68a}.pm-cpu-summary{text-align:center}.pm-cpu-streak-big{font-family:var(--font-title);color:#fff;font-size:2rem;font-weight:900}.pm-cpu-new-record-gold{color:#451a03;font-family:var(--font-title);letter-spacing:.08em;background:linear-gradient(135deg,#f59e0b,#fde047);border-radius:99px;margin-top:4px;padding:4px 12px;font-size:.88rem;font-weight:900;display:inline-block}.pm-cpu-summary-title{letter-spacing:.12em;color:#94a3b8;margin:12px 0;font-size:.78rem;font-weight:800}.pm-cpu-breakdown{background:#0f142ad9;border-radius:12px;margin-bottom:12px;padding:10px 12px}.pm-cpu-b-row{justify-content:space-between;padding:5px 0;font-size:.82rem;display:flex}.pm-cpu-b-row.is-total{border-top:1px solid #ffffff1f;margin-top:4px;padding-top:8px;font-weight:900}.pm-cpu-b-val{align-items:center;gap:4px;font-weight:800;display:inline-flex}.pm-cpu-b-val.is-gold{color:#facc15}.pm-cpu-b-val.is-cyan{color:#22d3ee;font-size:1.05rem}.pm-cpu-ops-pills{font-family:var(--font-mono);justify-content:center;gap:8px;margin-bottom:14px;font-size:.75rem;display:flex}.pm-cpu-ops-pills span{background:#ffffff14;border-radius:8px;padding:4px 9px}.pm-cpu-summary-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pm-flying-credit-particle{z-index:120;pointer-events:none;transition:transform .62s cubic-bezier(.22,1,.36,1),opacity .62s;position:fixed}.pm-drive-card{text-align:center}.pm-drive-diamond{background:radial-gradient(circle,#14b8a659,#0f172ae6);border:2px solid #2dd4bf;border-radius:14px;justify-content:center;align-items:center;width:90px;height:90px;margin:0 auto 12px;display:flex;transform:rotate(45deg)}.pm-drive-diamond svg{transform:rotate(-45deg)}.pm-drive-big-cash{font-family:var(--font-title);color:#fff;font-size:2.2rem;font-weight:900}.pm-drive-bonus-row{color:#67e8f9;justify-content:center;gap:14px;margin:4px 0 12px;font-weight:800;display:flex}.pm-drive-headline{font-family:var(--font-title);margin:0 0 8px;font-size:1rem;font-weight:900}.pm-drive-copy{color:#cbd5e1;margin:0 0 16px;font-size:.84rem;line-height:1.4}.pm-drive-actions{justify-content:center;gap:12px;display:flex}.pm-drive-pips{gap:6px;margin:8px 0;display:flex}.pm-drive-pip{background:#ffffff24;border-radius:99px;flex:1;height:7px}.pm-drive-pip.is-done{background:#34d399}.pm-drive-pip.is-active{background:#facc15}.pm-drive-result-badge{font-family:var(--font-title);border-radius:99px;align-items:center;gap:6px;margin-bottom:12px;padding:5px 14px;font-weight:900;display:inline-flex}.pm-drive-result-badge.is-win{color:#6ee7b7;background:#10b98140;border:1px solid #34d399}.pm-drive-result-badge.is-fail{color:#fecaca;background:#ef44443d;border:1px solid #f87171}.pm-btn-teal,.pm-btn-outline,.pm-btn-gold,.pm-btn-danger-outline,.pm-pill-btn{min-height:44px;font-family:var(--font-title);cursor:pointer;border-radius:99px;justify-content:center;align-items:center;gap:6px;padding:8px 18px;font-size:.84rem;font-weight:900;display:inline-flex}.pm-btn-sm{min-height:34px;padding:4px 12px;font-size:.74rem}.pm-btn-teal{background:var(--pm-teal-grad);color:#042f2e;border:none}.pm-btn-outline{color:#f8fafc;background:0 0;border:1.5px solid #94a3b8}.pm-btn-gold,.pm-pill-btn.is-gold{color:#fff;background:linear-gradient(135deg,#d97706,#f59e0b);border:2px solid #facc15}.pm-pill-btn.is-teal{background:var(--pm-teal-grad);color:#042f2e;border:none}.pm-pill-btn.is-muted{color:#cbd5e1;background:0 0;border:1.5px solid #64748b}.pm-btn-danger-outline{color:#fecaca;background:0 0;border:1.5px solid #f87171}.pm-picker-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.pm-picker-head h3{font-family:var(--font-title);margin:0;font-size:.96rem}.pm-picker-grid{flex-direction:column;gap:7px;display:flex}.pm-recipe-pick-row{color:#fff;text-align:left;cursor:pointer;background:#221546d9;border:1px solid #ffffff1f;border-radius:10px;align-items:center;gap:10px;padding:9px 10px;display:flex}.pm-recipe-pick-row.is-locked{opacity:.45;cursor:not-allowed}.pm-recipe-pick-meta{flex:1}.pm-rp-title{font-family:var(--font-title);font-size:.84rem;font-weight:800}.pm-rp-have{color:#94a3b8;font-size:.72rem;font-weight:600}.pm-rp-ing{margin-top:2px;font-size:.72rem}.pm-rp-ing .is-missing{color:#f87171}.pm-rp-ing .is-ready{color:#6ee7b7}.pm-rp-right{text-align:right;flex-direction:column;font-size:.76rem;font-weight:800;display:flex}.pm-rp-right small{color:#34d399}.pm-set-btn-stack{flex-direction:column;gap:8px;margin-top:12px;display:flex}.pm-set-stats-box{background:#0f172acc;border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;font-size:.8rem;display:flex}.pm-set-cloud-box{background:#0e749024;border:1px solid #38bdf847;border-radius:10px;flex-direction:column;gap:8px;margin-top:10px;padding:10px 12px;display:flex}.pm-set-cloud-head{font-family:var(--font-title);color:#67e8f9;letter-spacing:.05em;align-items:center;gap:6px;font-size:.78rem;font-weight:900;display:flex}.pm-set-cloud-note{color:#cbd5e1;font-size:.73rem;line-height:1.35}.pm-set-cloud-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pm-set-cloud-actions button{text-align:center;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 10px;font-size:.72rem;display:flex}.pm-set-cloud-actions button:disabled{opacity:.48;cursor:not-allowed}.pm-set-cloud-confirm{color:#fecaca;background:#7f1d1d59;border:1px solid #f8717173;border-radius:8px;flex-direction:column;gap:8px;padding:8px 10px;font-size:.75rem;display:flex}.pm-set-cloud-confirm-btns{gap:8px;display:flex}.pm-set-cloud-confirm-btns button{flex:1;min-height:40px;font-size:.74rem}.pm-set-cloud-status{color:#e2e8f0;background:#0f172abf;border-radius:7px;padding:6px 8px;font-size:.74rem;font-weight:700}.pm-set-cloud-status.is-ok{color:#6ee7b7;border:1px solid #34d39966}.pm-set-cloud-status.is-err{color:#fca5a5;border:1px solid #f8717166}@media (width<=480px){.pm-set-cloud-actions{grid-template-columns:1fr}}.pm-chain-node{border-left:2px solid #2dd4bf;margin-top:8px;padding-left:10px}.pm-chain-node.pm-chain-blocked{border-left-color:#ef4444}.pm-chain-node.pm-chain-warning{border-left-color:#f59e0b}.pm-chain-row{align-items:center;gap:8px;display:flex}.pm-chain-meta{flex:1}.pm-chain-title{font-size:.82rem;font-weight:800}.pm-chain-stock{color:#cbd5e1;font-size:.72rem}.pm-chain-status{color:#5eead4;font-size:.7rem}.pm-chain-fix-btn{color:#e0f2fe;cursor:pointer;background:#0ea5e940;border:1px solid #38bdf8;border-radius:6px;padding:4px 8px;font-size:.68rem;font-weight:800}.pm-toast-layer{z-index:100;pointer-events:none;flex-direction:column;gap:6px;display:flex;position:fixed;top:128px;left:50%;transform:translate(-50%)}.pm-toast{color:#fff;font-family:var(--font-title);background:#0d9488f5;border:1px solid #99f6e4;border-radius:99px;padding:8px 16px;font-size:.8rem;font-weight:800;transition:opacity .3s;box-shadow:0 8px 20px #0000008c}.pm-toast.is-fading{opacity:0}.pm-holo-card{text-align:center;background:linear-gradient(155deg,#1b2838 0%,#0f172a 100%);border:2px solid #94a3ff59;border-radius:16px;padding:14px;position:relative;overflow:hidden;box-shadow:0 12px 30px #0000008c}.pm-holo-card.tier-uncommon{background:linear-gradient(155deg,#0d3b2e,#091d19);border-color:#34d399}.pm-holo-card.tier-rare{background:linear-gradient(155deg,#112a46,#0a1428);border-color:#38bdf8}.pm-holo-card.tier-epic{background:linear-gradient(155deg,#3b175f,#1c0b33);border-color:#c084fc}.pm-holo-card.tier-legendary{background:linear-gradient(155deg,#5c3a06,#281704);border-color:#fbbf24}.pm-holo-card.tier-mythic{background:linear-gradient(155deg,#4c0519,#24062b);border-color:#f43f5e}.pm-holo-card.is-silhouette{filter:grayscale(.85)opacity(.65)}.pm-card-watermark{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pm-card-header{z-index:2;justify-content:space-between;align-items:center;display:flex;position:relative}.pm-card-tier-pill{font-family:var(--font-title);border-radius:99px;padding:2px 9px;font-size:.68rem;font-weight:900}.pm-card-num-pill{color:#090b1a;font-family:var(--font-title);background:#fff;border-radius:99px;padding:2px 8px;font-size:.72rem;font-weight:900}.pm-card-badges-row{justify-content:center;gap:6px;min-height:18px;margin-top:6px;display:flex}.pm-card-badge{border-radius:6px;padding:2px 7px;font-size:.62rem;font-weight:900}.pm-card-badge.is-new{color:#451a03;background:#facc15}.pm-card-badge.is-eq{color:#042f2e;background:#14b8a6}.pm-card-badge.is-up{color:#052e16;background:#22c55e}.pm-card-art{z-index:2;margin:8px 0;position:relative}.pm-card-name{font-family:var(--font-title);z-index:2;font-size:1.05rem;font-weight:900;position:relative}.pm-card-role{color:#cbd5e1;z-index:2;margin-bottom:10px;font-size:.74rem;position:relative}.pm-card-stats{font-family:var(--font-title);z-index:2;justify-content:center;gap:12px;margin-bottom:10px;font-size:.82rem;font-weight:800;display:flex;position:relative}.pm-card-stats span{align-items:center;gap:4px;display:inline-flex}.pm-card-footer{color:#e2e8f0;border-top:1px solid #ffffff24;flex-direction:column;gap:4px;padding-top:8px;font-size:.72rem;display:flex}.pm-card-count{color:#2dd4bf;font-weight:900}.pm-crate-stage{text-align:center;background:linear-gradient(#1c1442fa 0%,#0b0a20fa 100%);border:2px solid #94a3ff59;border-radius:20px;width:min(390px,94vw);max-height:90dvh;margin:auto;padding:16px;overflow-y:auto;box-shadow:0 25px 60px #000c}.pm-crate-tier-pill{font-family:var(--font-title);border:1.5px solid #38bdf8;border-radius:99px;margin-bottom:6px;padding:4px 14px;font-size:.76rem;font-weight:900;display:inline-block}.pm-crate-3d-canvas-host{perspective:420px;justify-content:center;align-items:center;min-height:96px;margin:0 auto 4px;display:flex}.pm-crate-css-scene{perspective:360px;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.pm-crate-css-cube{width:44px;height:44px;transform-style:preserve-3d;animation:4.6s linear infinite pmCrateCubeSpin;position:relative}.pm-crate-face{background:var(--pm-crate-color,#38bdf8);opacity:.92;border:2px solid #ffffff73;border-radius:6px;position:absolute;inset:0;box-shadow:inset 0 0 12px #ffffff40,0 0 12px #00000059}.pm-crate-face.is-front{transform:rotateY(0)translateZ(22px)}.pm-crate-face.is-back{filter:brightness(.75);transform:rotateY(180deg)translateZ(22px)}.pm-crate-face.is-right{filter:brightness(.88);transform:rotateY(90deg)translateZ(22px)}.pm-crate-face.is-left{filter:brightness(.82);transform:rotateY(-90deg)translateZ(22px)}.pm-crate-face.is-top{filter:brightness(1.15);transform:rotateX(90deg)translateZ(22px)}.pm-crate-face.is-bottom{filter:brightness(.65);transform:rotateX(-90deg)translateZ(22px)}@keyframes pmCrateCubeSpin{0%{transform:rotateX(-22deg)rotateY(0)}to{transform:rotateX(-22deg)rotateY(360deg)}}.pm-crate-reveal-slot{justify-content:center;display:flex}.pm-flip-card-wrap{perspective:1000px;width:100%;max-width:290px;margin:2px auto;display:grid}.pm-flip-face{backface-visibility:hidden;grid-area:1/1;min-width:0;transition:transform .55s cubic-bezier(.22,1,.36,1),visibility linear}.pm-flip-back{position:relative;transform:rotateY(0)}.pm-card-back-svg{width:100%;height:100%;display:block;position:absolute;inset:0}.pm-flip-front{visibility:hidden;transform:rotateY(180deg)}.pm-flip-card-wrap.is-flipped .pm-flip-back{visibility:hidden;pointer-events:none;transition:transform .55s cubic-bezier(.22,1,.36,1),visibility 0s linear .55s;transform:rotateY(-180deg)}.pm-flip-card-wrap.is-flipped .pm-flip-front{visibility:visible;transform:rotateY(0)}.pm-crate-stage .pm-holo-card{padding:12px}.pm-crate-stage .pm-card-art{margin:4px 0}.pm-crate-stage .pm-card-role,.pm-crate-stage .pm-card-stats{margin-bottom:6px}.pm-crate-loot-card{background:#0f142ee6;border:1.5px solid #2dd4bf;border-radius:16px;width:100%;margin:8px 0 12px;padding:20px}.pm-crate-loot-title{font-family:var(--font-title);margin-top:8px;font-size:1.4rem;font-weight:900}.pm-crate-loot-sub{color:#94a3b8;margin-top:4px;font-size:.78rem}.pm-crate-foot-note{color:#94a3b8;margin:8px 0 10px;font-size:.72rem}.pm-combine-top{font-family:var(--font-title);justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:900;display:flex}.pm-combine-tier-strip{flex-wrap:wrap;justify-content:center;gap:6px;margin:12px 0;display:flex}.pm-tier-chip{opacity:.45;border:1px solid #475569;border-radius:6px;padding:3px 8px;font-size:.68rem;font-weight:800}.pm-tier-chip.has-cards{opacity:1;background:#ffffff14}.pm-combine-actions{flex-direction:column;gap:8px;display:flex}.pm-combine-hint{text-align:center;color:#cbd5e1;margin-top:6px;font-size:.78rem}.pm-merge-stage{isolation:isolate;contain:layout paint;flex-direction:column;align-items:center;padding:6px 0 4px;display:flex;position:relative;overflow:hidden}.pm-merge-arena{justify-content:center;align-items:center;width:100%;height:270px;transition:opacity .25s;display:flex;position:relative}.pm-merge-stage.is-revealed .pm-merge-arena,.pm-merge-stage.is-revealed .pm-merge-status-banner{display:none}.pm-merge-core-glow{opacity:.2;background:radial-gradient(circle,#fef08ae6 0%,#facc1559 55%,#0000 75%);border-radius:99px;width:54px;height:54px;transition:transform .6s,opacity .5s;transform:scale(.6)}.pm-merge-stage.is-converging .pm-merge-core-glow{opacity:1;transform:scale(2.1)}.pm-merge-source-card{width:68px;height:92px;transform:translate(var(--pm-mx,0px), var(--pm-my,0px)) rotate(var(--pm-mrot,0deg)) scale(1);opacity:1;transition:transform .56s cubic-bezier(.55, .05, .75, .25) var(--pm-mdelay,0s), opacity .22s ease .44s;background:linear-gradient(160deg,#1e293b,#0f172a);border:2px solid #94a3b8;border-radius:10px;flex-direction:column;justify-content:space-between;align-items:center;padding:5px 4px;display:flex;position:absolute;box-shadow:0 8px 20px #000000a6}.pm-merge-source-card.tier-common{background:linear-gradient(160deg,#1b2838,#0f172a)}.pm-merge-source-card.tier-uncommon{background:linear-gradient(160deg,#0d3b2e,#091d19)}.pm-merge-source-card.tier-rare{background:linear-gradient(160deg,#112a46,#0a1428)}.pm-merge-source-card.tier-epic{background:linear-gradient(160deg,#3b175f,#1c0b33)}.pm-merge-source-card.tier-legendary{background:linear-gradient(160deg,#5c3a06,#281704)}.pm-merge-mini-tag{font-family:var(--font-title);color:#050814;border-radius:99px;padding:1px 6px;font-size:.54rem;font-weight:900}.pm-merge-mini-num{font-family:var(--font-title);color:#f8fafc;font-size:.62rem;font-weight:900}.pm-merge-stage.is-converging .pm-merge-source-card{opacity:0;transform:translate(0)rotate(360deg)scale(.28)}.pm-merge-burst-flash{pointer-events:none;opacity:0;background:radial-gradient(circle,#fff 0%,#fef08af5 28%,#facc1580 56%,#0000 74%);border-radius:999px;width:260px;height:260px;position:absolute;transform:scale(.15)}.pm-merge-shockwave{pointer-events:none;opacity:0;border:3px solid #facc15;border-radius:999px;width:220px;height:220px;position:absolute;transform:scale(.2)}.pm-merge-stage.is-bursting .pm-merge-burst-flash{animation:.55s cubic-bezier(.16,1,.3,1) forwards pmMergeFlash}.pm-merge-stage.is-bursting .pm-merge-shockwave{animation:.55s cubic-bezier(.16,1,.3,1) forwards pmMergeShockwave}@keyframes pmMergeFlash{0%{opacity:.25;transform:scale(.2)}35%{opacity:1;transform:scale(1.45)}to{opacity:0;transform:scale(2.1)}}@keyframes pmMergeShockwave{0%{opacity:.95;transform:scale(.2)}to{opacity:0;transform:scale(1.8)}}.pm-merge-status-banner{font-family:var(--font-title);letter-spacing:.08em;color:#fde047;margin-top:6px;font-size:.82rem;font-weight:900}.pm-merge-reveal-layer{flex-direction:column;align-items:center;width:100%;padding-top:4px;display:none}.pm-merge-stage.is-revealed .pm-merge-reveal-layer{display:flex}.pm-sunburst-wrap{justify-content:center;align-items:center;width:100%;margin-bottom:6px;padding:14px 0;display:flex;position:relative}.pm-sunburst-rays{pointer-events:none;will-change:transform;justify-content:center;align-items:center;width:360px;height:360px;animation:16s linear infinite pmSunburstSpin;display:flex;position:absolute}@keyframes pmSunburstSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pm-merge-promoted-card{z-index:2;width:min(290px,100%);animation:.48s cubic-bezier(.22,1.32,.36,1) both pmPromotedCardPop;position:relative}@keyframes pmPromotedCardPop{0%{opacity:0;transform:scale(.45)}to{opacity:1;transform:scale(1)}}.pm-merge-promo-pill{z-index:2;font-family:var(--font-title);letter-spacing:.08em;background:#0f172ae6;border:1.5px solid #facc15;border-radius:99px;margin-bottom:6px;padding:4px 14px;font-size:.8rem;font-weight:900;position:relative}.pm-merge-mult-delta{z-index:2;color:#e2e8f0;margin-bottom:12px;font-size:.84rem;position:relative}.pm-merge-mult-delta .is-up{color:#34d399;font-family:var(--font-title)}.pm-merge-continue-btn{z-index:2;width:min(260px,100%);position:relative}.pm-cpu-config-box{background:#0f172ae6;border-radius:12px;flex-direction:column;gap:10px;padding:14px;display:flex}.pm-cpu-cfg-title{font-family:var(--font-title);color:#67e8f9;font-size:.84rem;font-weight:900}.pm-cpu-cfg-row{flex-direction:column;gap:4px;font-size:.8rem;display:flex}.pm-drive-lock-top{font-family:var(--font-title);justify-content:space-between;font-size:.86rem;font-weight:800;display:flex}.pm-drive-hint-msg{color:#fca5a5;min-height:22px;margin-bottom:6px;font-size:.78rem}.pm-locked-wing-box,.pm-empty-pilots-hint{text-align:center;background:#0f142cb8;border:1px dashed #94a3ff59;border-radius:14px;padding:18px 12px}.pm-inspector-head{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.pm-inspector-kicker{color:#2dd4bf;letter-spacing:.08em;font-size:.68rem;font-weight:800}.pm-inspector-name{font-family:var(--font-title);margin:2px 0 0;font-size:1.15rem}.pm-inspector-val{font-family:var(--font-title);color:#34d399;font-weight:900}.pm-inspector-lore{color:#cbd5e1;margin:0 0 10px;font-size:.78rem}.pm-bank-pilot-tag{justify-content:center;align-items:center;min-height:32px;display:inline-flex}@media (width<=480px){.pm-bottom-nav.has-trade-tab .pm-nav-tab{padding:4px 1px}.pm-bottom-nav.has-trade-tab .pm-nav-label{letter-spacing:.01em;font-size:.52rem}}.pm-galaxy-dock{z-index:22;pointer-events:none;width:min(860px,100% - 16px);display:none;position:absolute;bottom:70px;left:50%;transform:translate(-50%)}.pm-galaxy-dock.is-visible{display:block}.pm-galaxy-banner{pointer-events:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b0a1de0;border:1px solid #2dd4bf59;border-radius:16px;flex-direction:column;gap:8px;padding:10px 12px;display:flex;box-shadow:0 12px 32px #020617b8}.pm-gb-top{font-family:var(--font-title);letter-spacing:.08em;color:#5eead4;justify-content:space-between;align-items:center;font-size:.76rem;font-weight:800;display:flex}.pm-gb-planets-strip{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.pm-gb-planet-chip{color:#f8fafc;min-height:44px;font-family:var(--font-title);cursor:pointer;background:#13112ee6;border:1.5px solid #94a3ff40;border-radius:12px;flex:1 0 auto;align-items:center;gap:6px;padding:6px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.pm-gb-planet-chip.is-current{border-color:#2dd4bf;box-shadow:0 0 14px #2dd4bf61}.pm-gb-planet-chip.is-grayscale-locked{filter:grayscale();opacity:.72;border-style:dashed}.pm-gb-dot{border-radius:99px;width:10px;height:10px}.pm-gb-tag{color:#cbd5e1;background:#ffffff14;border-radius:6px;padding:2px 5px;font-size:.6rem}.pm-gb-actions{justify-content:center;display:flex}.pm-gb-land-btn{min-height:44px;padding:8px 18px}.pm-galaxy-pin{pointer-events:auto;color:#f8fafc;font-family:var(--font-title);cursor:pointer;white-space:nowrap;background:#090c20e0;border:1.5px solid #2dd4bfb3;border-radius:99px;flex-direction:column;align-items:center;gap:1px;padding:5px 10px;font-size:.68rem;font-weight:800;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 16px #0000008c}.pm-galaxy-pin.is-current{border-color:#facc15;box-shadow:0 0 14px #facc1573}.pm-galaxy-pin.is-grayscale-locked{filter:grayscale();color:#cbd5e1;opacity:.86;border-color:#64748b}.pm-galaxy-pin small{letter-spacing:.08em;color:#2dd4bf;font-size:.55rem}.pm-galaxy-pin.is-grayscale-locked small{color:#94a3b8}.pm-res-name-stack{flex-direction:column;gap:2px;display:flex}.pm-res-origin-tag,.pm-chain-planet-pill{letter-spacing:.04em;color:#7dd3fc;background:#38bdf82e;border:1px solid #38bdf852;border-radius:6px;padding:1px 6px;font-size:.58rem;font-weight:800;display:inline-block}.pm-ing-origin{color:#fbbf24;background:#f59e0b2e;border-radius:4px;padding:1px 4px;font-size:.54rem;font-weight:800}.pm-rp-lock-hint{color:#fbbf24;margin-top:2px;font-size:.66rem}.pm-trade-summary-bar{color:#cbd5e1;background:#13112ebf;border:1px solid #94a3ff29;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;padding:7px 10px;font-size:.72rem;display:flex}.pm-trade-hint-pill{color:#5eead4;font-size:.66rem;font-weight:700}.pm-trade-grid{flex-direction:column;gap:10px;display:flex}.pm-trade-card{background:#13112ee6;border:1.5px solid #94a3ff38;border-radius:14px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.pm-trade-card.is-locked{text-align:center;opacity:.85;border-style:dashed;align-items:center}.pm-tc-lock-head{font-family:var(--font-title);font-size:.86rem;font-weight:800}.pm-tc-lock-sub{color:#94a3b8;font-size:.72rem}.pm-tc-top-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.pm-tc-bay-title{font-family:var(--font-title);color:#2dd4bf;font-size:.75rem;font-weight:900}.pm-tc-route-selects{flex:1;justify-content:center;align-items:center;gap:4px;display:flex}.pm-trade-select{color:#f8fafc;background:#0d122b;border:1px solid #94a3ff59;border-radius:8px;min-height:36px;padding:5px 7px;font-size:.7rem;font-weight:700}.pm-tc-arrow{color:#5eead4;font-size:.72rem}.pm-tc-pause-btn{color:#e2e8f0;cursor:pointer;background:#0f172ad9;border:1px solid #94a3ff47;border-radius:8px;min-height:36px;padding:4px 10px;font-size:.66rem;font-weight:800}.pm-tc-pause-btn.is-paused{color:#fde68a;border-color:#fbbf24}.pm-tc-mid-row{grid-template-columns:1.2fr 1.4fr .75fr;align-items:stretch;gap:8px;display:grid}@media (width<=600px){.pm-tc-mid-row{grid-template-columns:1fr}}.pm-tc-supply-btn{color:#f8fafc;text-align:left;cursor:pointer;background:#0b122ae0;border:1px solid #38bdf859;border-radius:10px;align-items:center;gap:8px;min-height:48px;padding:7px 9px;display:flex}.pm-tc-sup-text{flex-direction:column;font-size:.74rem;display:flex}.pm-tc-sup-text small{color:#94a3b8;font-size:.64rem}.pm-tc-quota-box{background:#0b122ac7;border:1px solid #94a3ff33;border-radius:10px;flex-direction:column;justify-content:center;gap:4px;padding:5px 8px;display:flex}.pm-tc-q-lbl{color:#94a3b8;text-align:center;font-size:.6rem;font-weight:800}.pm-tc-q-btns{justify-content:space-between;align-items:center;gap:3px;display:flex}.pm-q-step{color:#f8fafc;cursor:pointer;background:#172044;border:1px solid #94a3ff47;border-radius:6px;min-width:28px;min-height:30px;padding:2px 5px;font-size:.66rem;font-weight:800}.pm-q-step.is-max{color:#5eead4;border-color:#2dd4bf}.pm-q-val{font-family:var(--font-title);color:#fbbf24;text-align:center;min-width:26px;font-size:.85rem;font-weight:900}.pm-tc-pilot-btn{color:#cbd5e1;cursor:pointer;background:#0b122ae0;border:1px dashed #94a3ff59;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:48px;padding:5px;display:flex}.pm-tc-pilot-btn.has-pilot{border-style:solid;border-color:#2dd4bf}.pm-tp-num{color:#94a3b8;font-size:.6rem}.pm-tp-name{color:#fff;font-size:.7rem;font-weight:800}.pm-tp-spd{color:#2dd4bf;font-size:.68rem;font-weight:900}.pm-tc-prog-wrap{flex-direction:column;gap:4px;display:flex}.pm-tc-status-row{color:#e2e8f0;justify-content:space-between;align-items:center;font-size:.68rem;font-weight:800;display:flex}.pm-tc-dispatch-btn{color:#fef08a;cursor:pointer;background:#facc1533;border:1px solid #facc15;border-radius:7px;padding:4px 8px;font-size:.64rem;font-weight:800}.pm-trade-prog-track{background:#090d22;border:1px solid #94a3ff29;border-radius:99px;height:9px;overflow:hidden}.pm-trade-prog-fill{height:100%;transition:width .14s linear}.pm-trade-prog-fill.is-loading{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.pm-trade-prog-fill.is-transit{background:linear-gradient(90deg,#0d9488,#2dd4bf)}.pm-trade-prog-fill.is-returning{background:linear-gradient(90deg,#7c3aed,#c084fc)}.pm-trade-prog-fill.is-paused{background:#475569}.pm-tc-upgrades-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pm-tc-up-btn{color:#f8fafc;cursor:pointer;background:#101836;border:1.5px solid #94a3ff4d;border-radius:9px;min-height:40px;padding:6px 8px;font-size:.68rem;font-weight:800}.pm-tc-up-btn.is-ok{color:#99f6e4;border-color:#2dd4bf}.pm-tc-up-btn.is-poor{color:#fca5a5;border-color:#f8717173}.pm-lp-modal,.pm-locked-world-modal,.pm-celebration-modal{width:94vw;max-width:520px;max-height:86vh;overflow-y:auto}.pm-lp-stepper{grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0;display:grid}.pm-lp-stepper span{text-align:center;font-family:var(--font-title);color:#94a3b8;background:#0f172acc;border:1px solid #94a3ff2e;border-radius:8px;padding:6px 4px;font-size:.65rem;font-weight:800}.pm-lp-stepper span.is-cur{color:#fff;border-color:#38bdf8}.pm-lp-stepper span.is-done{color:#6ee7b7;background:#10b98129;border-color:#34d399}.pm-lp-stage-card{background:#0b0f26d1;border:1px solid #94a3ff2e;border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.pm-lp-stage-card h4{font-family:var(--font-title);color:#5eead4;margin:0;font-size:.86rem}.pm-lp-stage-card p{color:#cbd5e1;margin:0;font-size:.76rem;line-height:1.35}.pm-lp-req-pill{background:#0f172ae6;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.pm-lp-ing-list{flex-direction:column;gap:6px;display:flex}.pm-lp-ing-row{background:#121938d9;border:1px solid #94a3ff29;border-radius:9px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:.76rem;font-weight:700;display:flex}.pm-lp-ing-row.is-ready{border-color:#34d39980}.pm-lp-ing-row.is-missing{border-color:#f8717159}.pm-lp-ing-left{align-items:center;gap:8px;display:flex}.pm-lp-origin{color:#fbbf24;font-size:.66rem}.pm-lp-manifest-row{background:#121938e0;border:1px solid #94a3ff38;border-radius:10px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.pm-lp-manifest-row.is-done{border-color:#34d399}.pm-lp-man-top{justify-content:space-between;align-items:center;gap:8px;font-size:.76rem;font-weight:700;display:flex}.pm-lp-man-actions{align-items:center;gap:8px;display:flex}.pm-lp-man-count{font-family:var(--font-title);color:#5eead4}.pm-btn-xs{min-height:32px;padding:4px 10px;font-size:.68rem}.pm-missing-tag{color:#fca5a5;font-size:.65rem;font-weight:800}.pm-lp-man-track{background:#090d22;border-radius:99px;height:7px;overflow:hidden}.pm-lp-man-fill{background:linear-gradient(90deg,#0d9488,#34d399);height:100%}.pm-lp-launch-actions{flex-direction:column;gap:8px;margin-top:4px;display:flex}.pm-lp-already-launched{text-align:center;color:#6ee7b7;font-family:var(--font-title);background:#10b98129;border-radius:10px;padding:10px;font-weight:900}.pm-lw-preview-pill.is-grayscale-locked{filter:grayscale();background:#0f172ad9;border:1px dashed #64748b;border-radius:12px;align-items:center;gap:12px;margin:8px 0;padding:10px 12px;display:flex}.pm-lw-sphere{background:radial-gradient(circle at 30% 30%, var(--pm-p-a,#94a3b8), var(--pm-p-b,#334155));border-radius:99px;flex-shrink:0;width:44px;height:44px}.pm-lw-title{font-family:var(--font-title);font-size:.96rem;font-weight:900}.pm-lw-sub{color:#94a3b8;font-size:.72rem}.pm-lw-tagline{color:#cbd5e1;margin:6px 0;font-size:.78rem}.pm-lw-trait-box,.pm-lw-req-box{background:#13112ed9;border:1px solid #94a3ff2e;border-radius:10px;margin-bottom:8px;padding:8px 10px;font-size:.74rem}.pm-lw-ores-preview{color:#94a3b8;flex-direction:column;gap:6px;margin-bottom:10px;font-size:.7rem;font-weight:800;display:flex}.pm-lw-ore-chips{flex-wrap:wrap;gap:6px;display:flex}.pm-lw-ore-chip{color:#e2e8f0;background:#0f172ad9;border:1px solid #94a3ff38;border-radius:8px;align-items:center;gap:5px;padding:4px 8px;font-size:.7rem;display:inline-flex}.pm-celebration-modal{text-align:center}.pm-cel-kicker{font-family:var(--font-title);color:#facc15;letter-spacing:.14em;font-size:.76rem;font-weight:900}.pm-cel-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.polydrive-shell{--pm-teal-grad:linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);color:#f8fafc;width:100%;height:100%;min-height:100dvh;font-family:var(--font-body);padding:max(10px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 20% 18%,#1e1348 0%,#090d22 52%,#050714 100%);flex-direction:column;gap:10px;display:flex;position:relative;overflow:hidden auto}.polydrive-shell button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.pd-bg-grid{pointer-events:none;opacity:.16;background-image:linear-gradient(90deg,#38bdf838 1px,#0000 1px),linear-gradient(#38bdf838 1px,#0000 1px);background-size:46px 46px;position:fixed;inset:0}.pd-bg-particles{pointer-events:none;position:fixed;inset:0;overflow:hidden}.pd-orb{filter:blur(60px);opacity:.24;border-radius:999px;animation:14s ease-in-out infinite alternate pdOrbFloat;position:absolute}.pd-orb-a{background:#06b6d4;width:320px;height:320px;top:-80px;right:8%}.pd-orb-b{background:#a855f7;width:280px;height:280px;animation-delay:-6s;bottom:-60px;left:5%}@keyframes pdOrbFloat{0%{transform:translate(0)scale(1)}to{transform:translate(-24px,18px)scale(1.12)}}.pd-topbar,.pd-controls-strip,.pd-tutorial-host,.pd-workspace{z-index:2;width:100%;max-width:1220px;margin:0 auto;position:relative}.pd-topbar{background:#120f30e6;border:1px solid #94a3ff38;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex;box-shadow:0 10px 28px #00000073}.pd-top-left,.pd-top-metrics,.pd-top-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pd-icon-btn{color:#f8fafc;min-height:40px;font-family:var(--font-title);cursor:pointer;background:#0f172ad9;border:1px solid #94a3ff47;border-radius:10px;align-items:center;gap:6px;padding:6px 11px;font-size:.74rem;font-weight:800;display:inline-flex}.pd-icon-btn.is-gold{color:#fde68a;border-color:#facc158c}.pd-icon-btn.is-cyan{color:#67e8f9;border-color:#22d3ee8c}.pd-brand-pill{align-items:center;gap:8px;display:flex}.pd-brand-name{font-family:var(--font-title);letter-spacing:.06em;color:#5eead4;font-size:.92rem;font-weight:900}.pd-grade-chip{color:#bae6fd;background:#38bdf82e;border:1px solid #38bdf873;border-radius:99px;padding:3px 8px;font-size:.68rem;font-weight:800}.pd-metric-pill{background:#0b0f24e0;border:1px solid #94a3ff33;border-radius:10px;flex-direction:column;align-items:center;min-width:74px;padding:5px 10px;display:flex}.pd-metric-pill small{color:#94a3b8;letter-spacing:.06em;font-size:.56rem;font-weight:800}.pd-metric-pill b{font-family:var(--font-mono);color:#f8fafc;font-size:.88rem}.pd-metric-pill.is-score b{color:#5eead4}.pd-metric-pill.is-streak b{color:#facc15}.pd-controls-strip{flex-direction:column;gap:8px;display:flex}.pd-drive-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.pd-drive-tab{color:#cbd5e1;cursor:pointer;text-align:left;background:#141032db;border:1.5px solid #94a3ff38;border-radius:12px;align-items:center;gap:8px;min-height:48px;padding:6px 10px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}.pd-drive-tab:hover{border-color:var(--pd-cat-accent,#38bdf8);transform:translateY(-1px)}.pd-drive-tab.is-active{border-color:var(--pd-cat-accent,#2dd4bf);color:#fff;background:linear-gradient(135deg,#132042f5,#1e1648f5);box-shadow:0 0 16px #2dd4bf3d}.pd-dt-sym{width:30px;height:30px;color:var(--pd-cat-accent,#2dd4bf);font-family:var(--font-mono);background:#ffffff14;border-radius:8px;flex-shrink:0;place-items:center;font-size:1.05rem;font-weight:900;display:grid}.pd-dt-meta{flex-direction:column;min-width:0;display:flex}.pd-dt-meta strong{font-family:var(--font-title);letter-spacing:.04em;font-size:.72rem}.pd-dt-meta small{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:.65rem;overflow:hidden}.pd-shape-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.pd-shape-tab{color:#cbd5e1;cursor:pointer;min-height:40px;font-family:var(--font-title);background:#0d0f26d1;border:1px solid #94a3ff33;border-radius:10px;justify-content:space-between;align-items:center;padding:5px 8px;font-size:.72rem;font-weight:800;display:flex}.pd-shape-tab.is-active{color:#fff;background:#0d94883d;border-color:#2dd4bf}.pd-shape-tab.is-done{color:#6ee7b7;border-color:#34d399}.pd-shape-tab.is-locked{opacity:.55}.pd-shape-tab small{font-family:var(--font-mono);color:#94a3b8;font-size:.68rem}.pd-tutorial-banner{background:linear-gradient(135deg,#11183af5,#221244f5);border:1.5px solid #2dd4bf;border-radius:14px;padding:10px 14px;box-shadow:0 10px 26px #00000080}.pd-tut-head{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.pd-tut-badge{font-family:var(--font-title);color:#5eead4;font-size:.7rem;font-weight:900}.pd-tut-skip{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #94a3ff4d;border-radius:6px;padding:3px 8px;font-size:.68rem}.pd-tut-title{font-family:var(--font-title);color:#fff;font-size:.88rem;font-weight:900}.pd-tut-body{color:#cbd5e1;margin:4px 0 8px;font-size:.78rem;line-height:1.4}.pd-tut-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.pd-tut-next{background:var(--pm-teal-grad,linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%));color:#042f2e;min-height:36px;font-size:.74rem;font-family:var(--font-title);cursor:pointer;border:none;border-radius:99px;justify-content:center;align-items:center;gap:6px;padding:6px 14px;font-weight:900;display:inline-flex}.pd-tut-highlight{border-radius:14px;animation:1.4s ease-in-out infinite pdTutPulse;box-shadow:0 0 0 3px #facc15,0 0 24px #facc158c!important}@keyframes pdTutPulse{0%,to{box-shadow:0 0 0 3px #facc15,0 0 18px #facc1573}50%{box-shadow:0 0 0 4px #fde047,0 0 28px #facc15cc}}.pd-workspace{grid-template-columns:minmax(300px,390px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.pd-disk-panel{background:#120f30eb;border:1.5px solid #94a3ff40;border-radius:18px;flex-direction:column;gap:10px;padding:14px;display:flex;box-shadow:0 18px 40px #0000008c}.pd-disk-panel.is-write-error{border-color:#ef4444;animation:.35s pdShake}@keyframes pdShake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.pd-disk-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.pd-disk-name{font-family:var(--font-title);color:#5eead4;font-size:.84rem;font-weight:900}.pd-disk-sub{color:#94a3b8;font-size:.72rem;font-weight:700}.pd-disk-status-led{letter-spacing:.04em;white-space:nowrap;border-radius:99px;padding:3px 8px;font-size:.64rem;font-weight:900}.pd-disk-status-led.is-corrupt{color:#fca5a5;background:#ef444433;border:1px solid #ef4444}.pd-disk-status-led.is-writing{color:#67e8f9;background:#22d3ee38;border:1px solid #22d3ee}.pd-disk-status-led.is-ok{color:#6ee7b7;background:#10b9813d;border:1px solid #34d399}.pd-disk-status-led.is-err{color:#fecaca;background:#ef444461;border:1px solid #f87171}.pd-disk-svg-wrap{width:100%;max-width:330px;margin:0 auto}.pd-disk-svg{width:100%;height:auto;display:block}.pd-sector-node{cursor:pointer;transition:opacity .2s}.pd-sector-node.is-corrupt path{animation:2.4s ease-in-out infinite pdCorruptPulse}.pd-sector-node.is-just-repaired path{animation:.75s pdRepairFlash}@keyframes pdCorruptPulse{0%,to{fill-opacity:.72}50%{fill-opacity:.96}}@keyframes pdRepairFlash{0%{filter:drop-shadow(0 0 10px #fff)}to{filter:none}}.pd-sector-lbl{font-family:var(--font-mono);fill:#fff;pointer-events:none;font-size:9px;font-weight:800}.pd-sector-lbl.is-compact{font-size:7.4px}.pd-spindle-op{font-family:var(--font-mono);font-size:20px;font-weight:900}.pd-spindle-pct{font-family:var(--font-mono);fill:#e2e8f0;font-size:11px;font-weight:800}.pd-actuator-arm{transition:transform .35s cubic-bezier(.22,1,.36,1)}.pd-disk-progress-bar{background:#090d1a;border:1px solid #94a3ff33;border-radius:99px;height:8px;overflow:hidden}.pd-disk-progress-fill{background:linear-gradient(90deg,#ef4444 0%,#f59e0b 45%,#10b981 100%);height:100%;transition:width .28s}.pd-disk-progress-fill.is-complete{background:linear-gradient(90deg,#10b981,#5eead4)}.pd-disk-legend{color:#cbd5e1;flex-wrap:wrap;justify-content:center;gap:10px;font-size:.68rem;display:flex}.pd-leg-item{align-items:center;gap:5px;display:inline-flex}.pd-dot{border-radius:99px;width:9px;height:9px;display:inline-block}.pd-dot.is-red{background:#ef4444}.pd-dot.is-amber{background:#facc15}.pd-dot.is-green{background:#34d399}.pd-disk-inspector{text-align:center;color:#cbd5e1;background:#0a0e22d9;border:1px solid #94a3ff33;border-radius:9px;padding:7px 10px;font-size:.74rem}.pd-txt-green{color:#6ee7b7}.pd-txt-red{color:#fca5a5}.pd-advance-btn{width:100%;min-height:44px;font-size:.76rem}.pd-mastered-pill{color:#6ee7b7;text-align:center;background:#10b98129;border:1px solid #34d39973;border-radius:10px;padding:8px 10px;font-size:.74rem;font-weight:800}.pd-cluster-stage{background:#120f30e6;border:1.5px solid #94a3ff3d;border-radius:18px;flex-direction:column;gap:10px;padding:12px;display:flex;box-shadow:0 18px 40px #0000008c}.pd-rule-banner{border:1px solid var(--pd-accent,#2dd4bf);background:#0a0e24e0;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex;box-shadow:inset 0 0 18px #2dd4bf14}.pd-rule-pill{flex-direction:column;gap:2px;min-width:0;display:flex}.pd-rule-shape{font-family:var(--font-title);color:var(--pd-accent,#5eead4);font-size:.74rem;font-weight:900}.pd-rule-phase{color:#f8fafc;font-size:.78rem;font-weight:700;line-height:1.28}.pd-timer-wrap{flex-shrink:0;position:relative}.pd-penalty-pop{font-family:var(--font-mono);color:#fecaca;pointer-events:none;opacity:0;background:#dc2626;border:1px solid #fca5a5;border-radius:99px;padding:1px 6px;font-size:.82rem;font-weight:900;position:absolute;top:-12px;right:6px;transform:translateY(4px)scale(.85)}.pd-penalty-pop.is-active{animation:.65s ease-out forwards pdPenaltyPop}@keyframes pdPenaltyPop{0%{opacity:1;transform:translateY(2px)scale(.95)}45%{opacity:1;transform:translateY(-10px)scale(1.12)}to{opacity:0;transform:translateY(-20px)scale(.95)}}.pd-timer-badge{font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:#67e8f9;text-align:center;background:#0891b238;border:1.5px solid #22d3ee;border-radius:10px;min-width:68px;padding:6px 12px;font-size:1.05rem;font-weight:900;transition:background .15s,border-color .15s,transform .15s}.pd-timer-badge.is-warn{color:#fde047;background:#eab30833;border-color:#facc15}.pd-timer-badge.is-crit{color:#fecaca;background:#ef444447;border-color:#ef4444}.pd-timer-badge.is-paused{color:#5eead4;background:#0d948833;border-style:dashed;border-color:#2dd4bf}.pd-timer-badge.is-penalty{transform:scale(1.08);color:#fff!important;background:#dc2626b8!important;border-color:#fca5a5!important}.pd-board-canvas{aspect-ratio:1;border-radius:16px;width:100%;max-width:600px;margin:0 auto;transition:box-shadow .18s;position:relative}.pd-board-canvas.is-penalty-flash{box-shadow:inset 0 0 28px #ef444473,0 0 18px #ef444466}.pd-board-svg{width:100%;height:100%;display:block}.pd-bg-orbit{fill:none;stroke:#38bdf824;stroke-width:1.4px;stroke-dasharray:6 6}.pd-bg-orbit.is-inner{stroke:#a855f724;stroke-dasharray:3 5}.pd-bus-line{stroke:#94a3ff40;stroke-width:2px;stroke-dasharray:5 5}.pd-bus-line.is-linked{stroke:#2dd4bf;stroke-width:2.8px;stroke-dasharray:none}.pd-poly-shape{transition:fill .2s,stroke .2s}.pd-outer-poly{fill:#1a1644e6;stroke:#94a3ff73;stroke-width:2.5px;cursor:pointer}.pd-outer-poly.is-focused{stroke:#38bdf8;fill:#1c2456f5;filter:drop-shadow(0 0 10px #38bdf859)}.pd-outer-poly.is-solved{fill:#064e3bd9;stroke:#34d399}.pd-center-poly{fill:#0e112ef2;stroke:#94a3ff4d;stroke-width:2px}.pd-center-poly.is-unlocked{fill:#112048fa}.pd-center-timer-stroke{fill:none;stroke:#22d3ee;stroke-width:5.5px;stroke-linecap:round;filter:drop-shadow(0 0 8px #22d3eeb3)}.pd-center-timer-stroke.is-warn{stroke:#facc15;filter:drop-shadow(0 0 8px #facc15bf)}.pd-center-timer-stroke.is-crit{stroke:#ef4444;filter:drop-shadow(0 0 10px #ef4444d9)}.pd-center-hub-op{font-family:var(--font-mono);fill:#94a3b8;pointer-events:none;font-size:16px;font-weight:900}.pd-num-tile{color:#fff;width:clamp(32px,5.8vw,44px);height:clamp(32px,5.8vw,44px);font-family:var(--font-mono);cursor:pointer;background:#0f1738f2;border:1.5px solid #94a3ff61;border-radius:10px;justify-content:center;align-items:center;padding:0 2px;font-size:clamp(.76rem,1.8vw,.96rem);font-weight:800;transition:transform .12s,background .15s,border-color .15s;display:flex;position:absolute;transform:translate(-50%,-50%)}.pd-num-tile.is-pent{width:clamp(29px,5.2vw,39px);height:clamp(29px,5.2vw,39px)}.pd-num-tile.is-oct{width:clamp(25px,4.4vw,35px);height:clamp(25px,4.4vw,35px);font-size:clamp(.66rem,1.5vw,.84rem)}.pd-num-tile.is-frac{font-size:clamp(.62rem,1.4vw,.78rem)}.pd-num-tile:hover:not(:disabled){background:#1e3a76fa;border-color:#38bdf8;transform:translate(-50%,-50%)scale(1.08)}.pd-num-tile.is-wrong{background:#b91c1c!important;border-color:#fca5a5!important}.pd-num-tile.is-dim{opacity:.45}.pd-center-tile.is-empty{color:#64748b;cursor:default;background:#0b0f24bf;border-style:dashed;border-color:#94a3ff47}.pd-center-tile.is-populated{color:#99f6e4;background:#0d948847;border-color:#2dd4bf}.pd-center-tile.is-active{color:#fff;background:#1e294efa;border-color:#facc15;box-shadow:0 0 12px #facc1559}.pd-outer-solved-badge{text-align:center;pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.pd-os-ans{font-family:var(--font-mono);color:#6ee7b7;font-size:1.05rem;font-weight:900}.pd-os-eq{font-family:var(--font-mono);color:#a7f3d0;white-space:nowrap;font-size:.62rem}.pd-cluster-hint{text-align:center;color:#cbd5e1;background:#0a0e22c7;border:1px solid #0000;border-radius:9px;min-height:24px;padding:6px 10px;font-size:.76rem;font-weight:700;transition:border-color .15s,color .15s}.pd-cluster-hint.is-penalty-msg{color:#fecaca;background:#7f1d1d73;border-color:#f87171a6}.pd-cluster-hint.is-win{color:#6ee7b7;background:#10b98129;border:1px solid #34d399}.pd-cluster-hint.is-timeout{color:#fecaca;background:#ef444433;border:1px solid #f87171}.pd-focused-tray{background:#0b1028eb;border:1px solid #38bdf857;border-radius:14px;flex-direction:column;gap:7px;padding:9px 10px;display:flex;box-shadow:0 8px 22px #00000059}.pd-focused-tray.is-center{background:#22183ef2;border-color:#facc15}.pd-outer-pips{flex-wrap:wrap;justify-content:center;gap:5px;display:flex}.pd-pip{color:#94a3b8;min-width:34px;min-height:28px;font-family:var(--font-mono);cursor:pointer;background:#0f1738d9;border:1px solid #94a3ff47;border-radius:99px;padding:2px 7px;font-size:.68rem;font-weight:800}.pd-pip.is-active{color:#fff;background:#0e74906b;border-color:#38bdf8;box-shadow:0 0 10px #38bdf859}.pd-pip.is-solved{color:#6ee7b7;cursor:default;background:#064e3ba6;border-color:#34d399}.pd-tray-label{font-family:var(--font-title);color:#93c5fd;letter-spacing:.05em;text-align:center;font-size:.68rem;font-weight:800}.pd-tray-btns{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:7px;display:grid}.pd-tray-btns.is-high-gon{grid-template-columns:repeat(4,minmax(0,1fr))}.pd-tray-btn{color:#fff;min-width:0;min-height:48px;font-family:var(--font-mono);cursor:pointer;background:linear-gradient(#1e2956f5,#121938f5);border:1.5px solid #94a3ff5c;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:.98rem;font-weight:800;transition:transform .1s,border-color .15s;display:inline-flex}.pd-tray-btn:active{transform:scale(.95)}.pd-tray-btn.is-center-btn{background:linear-gradient(#382860f5,#1d153af5);border-color:#facc15}.pd-tray-btn.is-wrong{background:#b91c1c!important;border-color:#fca5a5!important}.pd-tray-key{color:#93c5fd;background:#ffffff1f;border-radius:5px;padding:1px 5px;font-size:.66rem}.pd-mobile-disk-mini{text-align:left;color:#f8fafc;cursor:pointer;background:#0e1230eb;border:1px solid #2dd4bf61;border-radius:12px;flex-direction:column;gap:5px;width:100%;padding:8px 11px;display:none}.pd-mdm-top,.pd-mdm-sub{justify-content:space-between;align-items:center;gap:8px;display:flex}.pd-mdm-title{font-family:var(--font-title);color:#cbd5e1;font-size:.72rem;font-weight:900}.pd-mdm-pct{font-family:var(--font-mono);font-size:.76rem;font-weight:900}.pd-mdm-bar{background:#070a18;border:1px solid #94a3ff38;border-radius:99px;height:7px;overflow:hidden}.pd-mdm-fill{background:linear-gradient(90deg,#ef4444 0%,#f59e0b 45%,#10b981 100%);height:100%;transition:width .28s}.pd-mdm-fill.is-complete{background:linear-gradient(90deg,#10b981,#5eead4)}.pd-mdm-sub{color:#94a3b8;font-size:.68rem;font-weight:700}.pd-mdm-link{color:#5eead4;font-family:var(--font-title);white-space:nowrap;font-weight:900}.pd-toast-layer{top:max(68px, env(safe-area-inset-top));z-index:95;pointer-events:none;flex-direction:column;align-items:center;gap:6px;width:min(92vw,440px);display:flex;position:fixed;left:50%;transform:translate(-50%)}.pd-toast{color:#f8fafc;text-align:center;background:#0f172af5;border:1.5px solid #2dd4bf;border-radius:10px;padding:9px 14px;font-size:.8rem;font-weight:800;transition:opacity .35s;box-shadow:0 10px 26px #0009}.pd-toast.is-fading{opacity:0}.pd-modal-root{z-index:90;pointer-events:none;position:fixed;inset:0}.pd-modal-root>*{pointer-events:auto}@media (width<=920px){.pd-workspace{flex-direction:column;gap:12px;display:flex}.pd-cluster-col{order:1;width:100%}.pd-disk-col{order:2;width:100%}.pd-mobile-disk-mini{display:flex}.pd-drive-tabs,.pd-shape-tabs{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.pd-drive-tabs::-webkit-scrollbar{display:none}.pd-shape-tabs::-webkit-scrollbar{display:none}.pd-drive-tab{scroll-snap-align:start;flex:none;min-width:128px;min-height:44px}.pd-shape-tab{scroll-snap-align:start;flex:none;min-width:106px;min-height:42px}.pd-disk-svg-wrap{max-width:280px}}@media (width<=640px){.polydrive-shell{padding:max(6px, env(safe-area-inset-top)) 7px max(22px, env(safe-area-inset-bottom));gap:7px}.pd-topbar{border-radius:12px;gap:7px;padding:7px 9px}.pd-top-left{order:1}.pd-top-actions{order:2;gap:5px;margin-left:auto}.pd-top-metrics{order:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid}.pd-metric-pill{min-width:0;padding:4px 6px}.pd-metric-pill b{font-size:.82rem}.pd-icon-btn{justify-content:center;min-width:40px;min-height:40px;padding:6px 8px}.pd-icon-btn>span:not(.nf-glyph){display:none}.pd-icon-btn .nf-glyph{font-size:1.05rem}.pd-brand-name{letter-spacing:.04em;font-size:.82rem}.pd-cluster-stage{border-radius:14px;gap:7px;padding:9px 7px 10px}.pd-rule-banner{border-radius:10px;padding:7px 9px}.pd-rule-shape{font-size:.68rem}.pd-rule-phase{font-size:.72rem}.pd-timer-badge{min-width:60px;padding:5px 9px;font-size:.96rem}.pd-board-canvas{max-width:min(100%,440px)}.pd-num-tile{width:clamp(32px,8.6vw,42px);height:clamp(32px,8.6vw,42px);font-size:clamp(.76rem,3.2vw,.94rem);box-shadow:0 2px 8px #00000094}.pd-num-tile.is-pent{width:clamp(27px,7.2vw,37px);height:clamp(27px,7.2vw,37px);font-size:clamp(.7rem,2.8vw,.86rem)}.pd-num-tile.is-oct{width:clamp(23px,6.2vw,33px);height:clamp(23px,6.2vw,33px);font-size:clamp(.62rem,2.4vw,.78rem)}.pd-num-tile.is-frac{font-size:clamp(.6rem,2.2vw,.76rem)}.pd-tray-key,.pd-os-eq{display:none}.pd-os-ans{font-size:.92rem}.pd-disk-panel{border-radius:14px;padding:11px}}@font-face{font-family:NerdFontSymbols;src:local(Symbols Nerd Font Mono),local(JetBrainsMono Nerd Font),local(FiraCode Nerd Font),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}.nf-glyph,.nf{font-family:"NerdFontSymbols", "Symbols Nerd Font Mono", var(--font-mono), monospace;vertical-align:-.05em;font-style:normal;font-weight:400;line-height:1;display:inline-block}.pdg-root{isolation:isolate;color:#f8fafc;width:100%;height:100%;font-family:var(--font-body,"Outfit", system-ui, sans-serif);-webkit-user-select:none;user-select:none;touch-action:none;background:#09080d;position:relative;overflow:hidden}.pdg-canvas-host{z-index:1;position:absolute;inset:0}.pdg-canvas-2d{width:100%;height:100%;display:block}.hidden{display:none!important}.pdg-topbar{z-index:30;pointer-events:none;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;max-width:calc(100vw - 20px);display:flex;position:absolute;top:8px;left:10px;right:10px;transform:translateZ(0)}.pdg-tb-left,.pdg-tb-right{pointer-events:auto;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%;display:flex}.pdg-tb-btn,.pdg-tb-location,.pdg-tb-pill{color:#f8fafc;cursor:pointer;background:#0f172ae0;border:2px solid #120d10;border-radius:10px;align-items:center;gap:5px;min-height:36px;padding:5px 10px;font-size:.84rem;font-weight:700;display:inline-flex;box-shadow:0 3px #120d10,inset 0 0 0 1px #38bdf840}.pdg-tb-btn svg{width:17px;height:17px}.pdg-tb-btn:hover{border-color:#38bdf8;transform:translateY(-1px)}.pdg-tb-location{cursor:default;font-family:var(--font-title,"Chakra Petch", sans-serif);letter-spacing:.3px;color:#bae6fd}.pdg-tb-credits{color:#fde047;font-family:var(--font-mono,"JetBrains Mono", monospace);cursor:default}.pdg-tb-quantum{color:#67e8f9;font-family:var(--font-mono,"JetBrains Mono", monospace);cursor:default;border-color:#38bdf873}.pdg-tb-quantum.is-coin-pulse{animation:.24s ease-out pdgQuantumCoinPop}@keyframes pdgQuantumCoinPop{0%{transform:scale(1);box-shadow:0 3px #120d10}45%{border-color:#4ade80;transform:scale(1.16);box-shadow:0 0 18px #4ade80bf}to{transform:scale(1);box-shadow:0 3px #120d10}}.pdg-tb-minimap{color:#94a3b8;border-color:#38bdf873}.pdg-tb-minimap.is-active{color:#38bdf8;border-color:#38bdf8;box-shadow:0 3px #120d10,0 0 12px #38bdf866}.pdg-has-tip{position:relative}@media (hover:hover){.pdg-has-tip[data-tooltip]:after{content:attr(data-tooltip);color:#f8fafc;font-family:var(--font-body,"Outfit", sans-serif);white-space:nowrap;pointer-events:none;opacity:0;z-index:90;background:#090e1cf5;border:1.5px solid #38bdf88c;border-radius:8px;padding:5px 10px;font-size:.74rem;font-weight:700;line-height:1.2;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(-4px);box-shadow:0 6px 18px #000000a6}.pdg-has-tip[data-tooltip]:hover:after,.pdg-has-tip[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)translateY(0)}.pdg-tb-left .pdg-has-tip:first-child:after{left:0;transform:translateY(-4px)}.pdg-tb-left .pdg-has-tip:first-child:hover:after,.pdg-tb-left .pdg-has-tip:first-child:focus-visible:after{transform:translateY(0)}.pdg-tb-right .pdg-has-tip:last-child:after{left:auto;right:0;transform:translateY(-4px)}.pdg-tb-right .pdg-has-tip:last-child:hover:after,.pdg-tb-right .pdg-has-tip:last-child:focus-visible:after{transform:translateY(0)}.pdg-has-tip.pdg-tip-up[data-tooltip]:after{top:auto;bottom:calc(100% + 8px);transform:translate(-50%)translateY(4px)}.pdg-has-tip.pdg-tip-up[data-tooltip]:hover:after,.pdg-has-tip.pdg-tip-up[data-tooltip]:focus-visible:after{transform:translate(-50%)translateY(0)}}.pdg-root.is-supercomputer-open .pdg-topbar{z-index:100000015;pointer-events:none}.pdg-root.is-supercomputer-open .pdg-topbar *{pointer-events:none}.pdg-root.is-supercomputer-open #pdg-tb-quantum{pointer-events:auto}.pdg-tb-runes.is-complete{color:#38bdf8;border-color:#38bdf8;box-shadow:0 0 14px #38bdf873}.pdg-tb-research{color:#e9d5ff;font-family:var(--font-mono,monospace);border-color:#a855f7}.pdg-tb-research.is-ready{color:#ecfdf5;background:linear-gradient(135deg,#065f46,#047857);border-color:#10b981;animation:1.5s ease-in-out infinite pdgPulseGlow}@keyframes pdgPulseGlow{0%,to{box-shadow:0 0 8px #10b98166}50%{box-shadow:0 0 18px #10b981d9}}.pdg-hud-overlay{z-index:12;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:absolute;top:62px;right:12px}.pdg-radar-card{text-align:center;pointer-events:auto;background:#09080ddb;border:2.5px solid #120d10;border-radius:12px;width:138px;padding:4px;box-shadow:0 4px 14px #00000080,inset 0 0 0 1px #38bdf84d}#pdg-radar-canvas{border:1px solid #38bdf840;border-radius:8px;width:126px;height:126px;margin:0 auto;display:block}.pdg-radar-label{color:#38bdf8;letter-spacing:.8px;font-size:.7rem;font-weight:800;font-family:var(--font-title,sans-serif);margin-top:2px}.pdg-buffs-row{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.pdg-buff-chip{background:#18181b;border:2px solid #120d10;border-radius:999px;padding:4px 9px;font-size:.75rem;font-weight:800}.pdg-buff-chip.is-fuel{color:#fb923c;border-color:#f97316}.pdg-buff-chip.is-surge{color:#38bdf8;border-color:#06b6d4}.pdg-buff-chip.is-hyper{color:#fca5a5;border-color:#ef4444}.pdg-buff-chip.is-luck{color:#6ee7b7;border-color:#10b981}.pdg-interact-pill{z-index:30;color:#09080d;max-width:calc(100vw - 24px);font-family:var(--font-title,sans-serif);text-align:center;cursor:pointer;background:linear-gradient(135deg,#06b6d4,#0284c7);border:3px solid #120d10;border-radius:999px;padding:9px 18px;font-size:.9rem;font-weight:800;animation:1.8s ease-in-out infinite pdgFloatPill;position:absolute;bottom:124px;left:50%;transform:translate(-50%)translateZ(0);box-shadow:0 4px #120d10,0 0 18px #38bdf880}@keyframes pdgFloatPill{0%,to{transform:translate(-50%)translateZ(0)}50%{transform:translate(-50%,-4px)translateZ(0)}}.pdg-mine-dock{z-index:30;background:#0f172aeb;border:3px solid #120d10;border-radius:16px;flex-direction:column;align-items:stretch;gap:6px;width:min(100vw - 16px,680px);max-width:calc(100vw - 16px);padding:8px 10px;display:flex;position:absolute;bottom:10px;left:50%;overflow:visible;transform:translate(-50%)translateZ(0);box-shadow:0 6px 20px #000000a6,inset 0 0 0 1px #38bdf847}.pdg-md-stats{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.pdg-md-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.pdg-dock-btn,.pdg-md-tool,.pdg-md-act{color:#f8fafc;cursor:pointer;white-space:nowrap;background:#27272a;border:2px solid #120d10;border-radius:10px;flex:0 auto;justify-content:center;align-items:center;gap:5px;min-width:44px;min-height:44px;padding:5px 10px;font-size:.82rem;font-weight:800;transition:transform .1s,border-color .15s;display:inline-flex}.pdg-dock-btn:hover,.pdg-md-tool:hover,.pdg-md-act:hover{border-color:#38bdf8;transform:translateY(-1px)}.pdg-md-act.is-watch{color:#99f6e4;background:#0f172af5;border-color:#2dd4bfa6}.pdg-md-act.is-watch.is-empty{opacity:.62;color:#94a3b8;border-color:#475569}.pdg-dock-svg{align-items:center;display:inline-flex}.pdg-md-stat{flex-direction:column;gap:3px;min-width:0;display:flex}.pdg-md-bar-label{color:#cbd5e1;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;font-size:.72rem;font-weight:700;display:flex;overflow:hidden}.pdg-md-bar{background:#09080d;border:1px solid #3f3f46;border-radius:999px;width:100%;height:8px;overflow:hidden}.pdg-md-fill{background:linear-gradient(90deg,#06b6d4,#38bdf8);height:100%;transition:width .2s}.pdg-md-fill.is-amber{background:linear-gradient(90deg,#f59e0b,#fde047)}.pdg-md-fill.is-low{background:linear-gradient(90deg,#ef4444,#f97316)}.pdg-md-tool.is-active{color:#fff;background:linear-gradient(135deg,#0369a1,#06b6d4);border-color:#fde047}.pdg-md-act.is-chute{background:#065f46;border-color:#10b981}.pdg-md-act.is-recall{background:#3f3f46;border-color:#94a3b8}.pdg-tutorial-host{z-index:16;max-width:340px;position:absolute;top:64px;left:12px}.pdg-tutorial-banner{background:#0f172af0;border:3px solid #38bdf8;border-radius:14px;padding:12px 14px;box-shadow:0 8px 24px #000000a6}.pdg-tutorial-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.pdg-tutorial-title{font-family:var(--font-title,sans-serif);color:#38bdf8;font-size:.9rem;font-weight:800}.pdg-tutorial-skip{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:.78rem}.pdg-tutorial-body{color:#e2e8f0;margin:0 0 10px;font-size:.85rem;line-height:1.4}.pdg-tutorial-footer{color:#94a3b8;justify-content:space-between;align-items:center;font-size:.78rem;display:flex}.pdg-toast-host{z-index:100000050;pointer-events:none;flex-direction:column;align-items:center;gap:8px;width:min(92vw,480px);display:flex;position:fixed;top:64px;left:50%;transform:translate(-50%)}.pdg-toast{color:#f8fafc;background:#18181bf0;border:2px solid #38bdf8;border-radius:999px;padding:8px 16px;font-size:.86rem;font-weight:700;transition:opacity .3s;box-shadow:0 6px 16px #0000008c}.pdg-toast.is-positive{color:#a7f3d0;border-color:#10b981}.pdg-toast.is-warning{color:#fde68a;border-color:#f59e0b}.pdg-toast.is-fading{opacity:0}.pdg-ach-toast{pointer-events:auto;color:#f8fafc;text-align:left;cursor:pointer;background:#0f172af5;border:3px solid #38bdf8;border-radius:14px;align-items:center;gap:12px;width:min(92vw,400px);padding:10px 14px;transition:opacity .28s,transform .16s;animation:.26s cubic-bezier(.16,1,.3,1) pdgAchToastIn;display:flex;box-shadow:0 12px 30px #000000a6}.pdg-ach-toast:hover{transform:translateY(-2px)}.pdg-ach-toast.is-fading{opacity:0;transform:translateY(-6px)}@keyframes pdgAchToastIn{0%{opacity:0;transform:translateY(-14px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}.pdg-ach-toast-icon{background:#ffffff14;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.pdg-ach-toast-body{flex-direction:column;gap:2px;min-width:0;display:flex}.pdg-ach-toast-kicker{font-family:var(--font-title,"Chakra Petch", sans-serif);letter-spacing:.7px;text-transform:uppercase;font-size:.68rem;font-weight:800}.pdg-ach-toast-title{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:.94rem;font-weight:800;overflow:hidden}.pdg-ach-toast-sub{color:#94a3b8;font-size:.72rem;font-weight:600}.pdg-ach-toast.is-tier-easy{border-color:#10b981;box-shadow:0 8px 24px #10b9814d}.pdg-ach-toast.is-tier-easy .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-easy .pdg-ach-toast-kicker{color:#34d399}.pdg-ach-toast.is-tier-medium{border-color:#38bdf8;box-shadow:0 8px 24px #38bdf852}.pdg-ach-toast.is-tier-medium .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-medium .pdg-ach-toast-kicker{color:#38bdf8}.pdg-ach-toast.is-tier-hard{border-color:#f59e0b;box-shadow:0 8px 24px #f59e0b57}.pdg-ach-toast.is-tier-hard .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-hard .pdg-ach-toast-kicker{color:#fbbf24}.pdg-ach-toast.is-tier-epic{border-color:#d946ef;box-shadow:0 8px 26px #d946ef6b}.pdg-ach-toast.is-tier-epic .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-epic .pdg-ach-toast-kicker{color:#e879f9}.pdg-ach-toast.is-tier-legendary{border-color:#fde047;box-shadow:0 8px 28px #facc157a}.pdg-ach-toast.is-tier-legendary .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-legendary .pdg-ach-toast-kicker{color:#fde047}.pdg-ach-toast.is-tier-mythic{border-color:#f43f5e;box-shadow:0 8px 28px #f43f5e7a}.pdg-ach-toast.is-tier-mythic .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-mythic .pdg-ach-toast-kicker{color:#fda4af}.pdg-ach-toast.is-tier-ancient{border-color:#7dd3fc;box-shadow:0 8px 30px #38bdf88c,inset 0 0 0 1px #7dd3fc66}.pdg-ach-toast.is-tier-ancient .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-ancient .pdg-ach-toast-kicker{color:#7dd3fc}.pdg-ach-toast.is-tier-relic{border-color:#6ee7b7;box-shadow:0 8px 28px #10b98180,inset 0 0 0 1px #6ee7b759}.pdg-ach-toast.is-tier-relic .pdg-ach-toast-icon,.pdg-ach-toast.is-tier-relic .pdg-ach-toast-kicker{color:#6ee7b7}.pdg-badges-modal-root{z-index:100000025;pointer-events:none;position:fixed;inset:0}.pdg-badges-modal-root .modal-backdrop{pointer-events:auto}.pdg-coin-fx-layer{z-index:100000060;pointer-events:none;position:fixed;inset:0;overflow:hidden}.pdg-flying-qcoin{pointer-events:none;filter:drop-shadow(0 0 8px #4ade80d9);width:24px;height:24px;position:fixed;top:0;left:0}.pdg-joystick-zone{z-index:24;pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;opacity:.92;justify-content:center;align-items:center;width:112px;height:112px;display:flex;position:absolute;top:0;left:0}.pdg-joystick-base{background:#18181bbf;border:2.5px solid #38bdf8;border-radius:50%;justify-content:center;align-items:center;width:96px;height:96px;display:flex}.pdg-joystick-thumb{background:radial-gradient(circle at 35% 35%,#67e8f9,#0284c7);border:2px solid #120d10;border-radius:50%;width:42px;height:42px}.pdg-root.is-joystick-active .pdg-topbar,.pdg-root.is-joystick-active .pdg-topbar *,.pdg-root.is-joystick-active .pdg-hud-overlay,.pdg-root.is-joystick-active .pdg-hud-overlay *,.pdg-root.is-joystick-active .pdg-interact-pill,.pdg-root.is-joystick-active .pdg-mine-dock,.pdg-root.is-joystick-active .pdg-mine-dock *,.pdg-root.is-joystick-active .pdg-tutorial-host,.pdg-root.is-joystick-active .pdg-tutorial-host *{pointer-events:none!important}.pdg-modal-root{z-index:40;position:relative}.pdg-modal-window.pdg-space-chrome{color:#f8fafc;background:#18181b;border:3.5px solid #120d10;box-shadow:0 18px 48px #000000c7,inset 0 0 0 1px #38bdf852}.pdg-modal-window.pdg-space-hazard{box-shadow:0 18px 48px #000c,inset 0 0 0 2px #f59e0b80}.pdg-outpost-banner{background:#09080d;border:2.5px solid #120d10;border-radius:12px;height:170px;margin-bottom:12px;position:relative;overflow:hidden}.pdg-ob-layer{opacity:.9;background-repeat:repeat-x;background-size:auto 100%;position:absolute;inset:0}.pdg-ob-craters{background-position:0 bottom}.pdg-ob-structure{pointer-events:none;width:auto;height:158px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.pdg-ob-npc{filter:drop-shadow(0 4px 6px #000000b3);pointer-events:none;width:78px;height:78px;position:absolute;bottom:4px;left:16px}.pdg-ob-overlay{background:linear-gradient(#09080d0d 35%,#09080de0 100%);justify-content:space-between;align-items:flex-end;gap:10px;padding:10px 14px;display:flex;position:absolute;inset:0}.pdg-ob-meta{padding-left:78px}.pdg-ob-speaker{font-family:var(--font-title,sans-serif);color:var(--outpost-accent,#38bdf8);font-size:.85rem;font-weight:800}.pdg-ob-quote{color:#e2e8f0;font-size:.8rem;line-height:1.25}.pdg-ob-right{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;display:flex}.pdg-btn{cursor:pointer;border:2.5px solid #120d10;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 14px;font-size:.86rem;font-weight:800;transition:transform .1s,filter .15s;display:inline-flex}.pdg-btn-sm,.pdg-btn-mini{min-height:32px;padding:4px 10px;font-size:.78rem}.pdg-btn-primary{color:#09080d;background:linear-gradient(135deg,#06b6d4,#0284c7)}.pdg-btn-secondary{color:#f8fafc;background:#27272a}.pdg-btn-amber{color:#09080d;background:linear-gradient(135deg,#f59e0b,#d97706)}.pdg-btn-disabled{color:#64748b;cursor:not-allowed;opacity:.7;background:#27272a}.pdg-btn-danger{color:#fff;background:linear-gradient(135deg,#ef4444,#b91c1c)}.pdg-btn-danger:disabled{color:#64748b;cursor:not-allowed;opacity:.6;background:#27272a}.pdg-danger-box{background:#7f1d1d3d;border:2px solid #ef44448c;border-radius:12px;padding:12px}.pdg-reset-input{box-sizing:border-box;color:#f8fafc;width:100%;font-family:var(--font-mono,monospace);background:#09080d;border:2px solid #ef4444;border-radius:8px;margin-top:6px;padding:10px 12px;font-size:.92rem;font-weight:700}.pdg-cost-row{flex-wrap:wrap;gap:6px;margin:6px 0;display:flex}.pdg-cost-chip{background:#09080d;border:2px solid #120d10;border-radius:8px;align-items:center;gap:6px;padding:4px 9px;font-size:.78rem;font-weight:700;display:inline-flex}.pdg-cost-chip.is-met{color:#d1fae5;background:#10b9811f;border-color:#10b981}.pdg-cost-chip.is-missing{color:#fecaca;background:#ef444424;border-color:#ef4444}.pdg-cost-icon{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.pdg-cost-name{color:#f8fafc}.pdg-cost-count{font-family:var(--font-mono,monospace);font-weight:800}.pdg-tabs-bar{gap:8px;margin-bottom:10px;display:flex}.pdg-tab-btn{color:#94a3b8;cursor:pointer;background:#09080d;border:2px solid #27272a;border-radius:10px;flex:1;min-height:40px;padding:8px 12px;font-weight:800}.pdg-tab-btn.is-active{color:#38bdf8;background:#27272a;border-color:#38bdf8}.pdg-shop-scroll{max-height:52vh;padding-right:4px;overflow:hidden auto}.pdg-section-head{font-family:var(--font-title,sans-serif);color:#38bdf8;text-transform:uppercase;letter-spacing:.6px;margin:14px 0 8px;font-size:.92rem;font-weight:800}.pdg-grid-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.pdg-item-card,.pdg-research-card,.pdg-elev-card,.pdg-pick-upgrade-card{background:#27272a;border:2.5px solid #120d10;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.pdg-item-card.is-locked{opacity:.72}.pdg-item-top{align-items:flex-start;gap:10px;display:flex}.pdg-item-icon{background:#09080d;border:2px solid #120d10;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;display:flex}.pdg-item-title{color:#f8fafc;font-size:.94rem;font-weight:800}.pdg-item-sub{color:#cbd5e1;font-size:.78rem}.pdg-item-desc{color:#94a3b8;font-size:.8rem;line-height:1.35}.pdg-item-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.pdg-tier-chip,.pdg-count-badge,.pdg-tag-mini{color:#38bdf8;background:#09080d;border:1px solid #38bdf8;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:800}.pdg-pick-pair{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pdg-pick-side{background:#09080d;border:2px solid #120d10;border-radius:10px;flex:1;align-items:center;gap:10px;min-width:210px;padding:8px;display:flex}.pdg-pick-side.is-next{border-color:#38bdf8}.pdg-pick-arrow{color:#f59e0b;font-weight:800}.pdg-pattern-grid{grid-template-rows:repeat(3,10px);grid-template-columns:repeat(3,10px);gap:2px;margin-left:auto;display:grid}.pdg-pattern-cell{background:#27272a;border-radius:2px;width:10px;height:10px}.pdg-pattern-cell.is-hit{background:#38bdf8}.pdg-pattern-cell.is-primary{background:#facc15}.pdg-pick-buy-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.pdg-pick-owned-grid{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.pdg-owned-pick-chip{color:#f8fafc;cursor:pointer;background:#09080d;border:2px solid #3f3f46;border-radius:8px;align-items:center;gap:6px;padding:4px 8px;font-size:.78rem;display:inline-flex}.pdg-owned-pick-chip.is-equipped{color:#38bdf8;border-color:#38bdf8}.pdg-quip-line{color:#fde68a;font-size:.8rem;font-style:italic}.pdg-elev-note{background:#38bdf81f;border:1.5px solid #38bdf866;border-radius:10px;margin-bottom:10px;padding:8px 12px;font-size:.84rem}.pdg-elev-list{flex-direction:column;gap:8px;max-height:44vh;display:flex;overflow-y:auto}.pdg-elev-card{flex-direction:row;align-items:center;gap:12px}.pdg-elev-card.is-focused{border-color:#facc15}.pdg-elev-badge{text-align:center;min-width:66px;font-family:var(--font-title,sans-serif);background:#09080d;border:2px solid;border-radius:10px;padding:8px 6px;font-weight:800}.pdg-elev-info{flex:1}.pdg-elev-title{font-size:.92rem;font-weight:800}.pdg-elev-sub{color:#94a3b8;font-size:.78rem}.pdg-active-research-banner{background:#09080d;border:2.5px solid #a855f7;border-radius:12px;margin-bottom:12px;padding:12px}.pdg-ar-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.pdg-ar-time{font-family:var(--font-mono,monospace);color:#facc15;font-weight:800}.pdg-ar-track{background:#27272a;border-radius:999px;height:10px;margin:8px 0;overflow:hidden}.pdg-ar-fill{background:linear-gradient(90deg,#a855f7,#38bdf8);height:100%;transition:width .4s linear}.pdg-research-card.is-done{background:#10b98114;border-color:#10b981}.pdg-research-card.is-running{border-color:#a855f7}.pdg-res-header{color:#c084fc;justify-content:space-between;font-size:.74rem;font-weight:800;display:flex}.pdg-res-bonus{color:#10b981;font-size:.82rem;font-weight:700}.pdg-badge-done{color:#d1fae5;background:#065f46;border-radius:999px;padding:4px 10px;font-size:.76rem;font-weight:800;display:inline-block}.pdg-badge-running{color:#f3e8ff;background:#581c87;border-radius:999px;padding:4px 10px;font-size:.76rem;font-weight:800;display:inline-block}.pdg-runes-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.pdg-rune-card{background:#09080d;border:2px solid #27272a;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}.pdg-rune-card.is-found{border-color:var(--rune-hex,#38bdf8);box-shadow:0 0 12px #38bdf840}.pdg-rune-card.is-missing{opacity:.68}.pdg-rune-title{font-size:.84rem;font-weight:800}.pdg-rune-sub{color:#94a3b8;font-size:.75rem}.pdg-portal-hero{background:#09080d;border:2px solid #38bdf8;border-radius:12px;margin-bottom:10px;padding:10px}.pdg-portal-status{color:#e2e8f0;margin-bottom:10px;font-size:.9rem}.pdg-portal-runes{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:6px;margin-bottom:12px;display:grid}.pdg-portal-rune-chip{background:#27272a;border:2px solid #3f3f46;border-radius:8px;padding:6px 8px;font-size:.76rem;font-weight:700}.pdg-portal-rune-chip.is-dim{opacity:.6}.pdg-sell-toolbar{background:#09080d;border:2px solid #120d10;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:8px 10px;display:flex}.pdg-cargo-list{flex-direction:column;gap:6px;display:flex}.pdg-cargo-row,.pdg-star-row{background:#27272a;border:2px solid #120d10;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.pdg-cargo-left{align-items:center;gap:10px;display:flex}.pdg-cargo-name{font-size:.88rem;font-weight:800}.pdg-cargo-val{color:#cbd5e1;font-size:.76rem}.pdg-keep-tag{color:#38bdf8}.pdg-modal-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.pdg-seg-row{flex-wrap:wrap;gap:6px;display:flex}.pdg-seg-btn{color:#cbd5e1;cursor:pointer;background:#09080d;border:2px solid #3f3f46;border-radius:8px;padding:8px 12px;font-weight:700}.pdg-seg-btn.is-active{color:#38bdf8;border-color:#38bdf8}.pdg-set-section{margin-bottom:12px}.pdg-set-label{color:#94a3b8;margin-bottom:6px;font-size:.86rem;font-weight:800}.pdg-set-actions-stack{flex-direction:column;gap:8px;display:flex}.pdg-check-label{cursor:pointer;align-items:center;gap:8px;font-size:.84rem;display:flex}.pdg-treasure-hero{text-align:center;padding:8px}.pdg-treasure-quip{color:#fde68a;margin:8px 0;font-style:italic}.pdg-treasure-bonus{color:#10b981;font-weight:800}@media (width<=768px){.pdg-topbar{gap:5px;max-width:calc(100vw - 12px);top:6px;left:6px;right:6px}.pdg-tb-left,.pdg-tb-right{gap:4px}.pdg-hide-sm{display:none}.pdg-tb-btn,.pdg-tb-location,.pdg-tb-pill{min-height:36px;padding:4px 8px;font-size:.76rem}.pdg-hud-overlay{top:94px;right:6px}.pdg-tutorial-host{max-width:calc(100vw - 120px);top:94px;left:6px}.pdg-radar-card{width:96px}#pdg-radar-canvas{width:86px;height:86px}.pdg-grid-cards{grid-template-columns:minmax(0,1fr)}.pdg-interact-pill{padding:8px 14px;font-size:.84rem;bottom:136px}.pdg-mine-dock{gap:5px;width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:6px 8px;bottom:6px}.pdg-md-tool,.pdg-md-act{min-width:44px;min-height:44px;padding:4px 8px;font-size:.78rem}.pdg-ob-npc{width:58px;height:58px;left:8px}.pdg-ob-meta{padding-left:62px}.pdg-modal-footer-actions{flex-direction:column}.pdg-modal-footer-actions .pdg-btn{width:100%;min-height:46px}}@media (width<=480px){.pdg-hide-xs{display:none}}.pdg-radar-card.is-locked{cursor:pointer;border-color:#94a3b859}.pdg-radar-card.is-locked .pdg-radar-label{color:#f59e0b}.pdg-portal-celebration{text-align:center;background:linear-gradient(135deg,#0ea5e929,#a855f72e);border:2px solid #38bdf8;border-radius:12px;margin-bottom:10px;padding:12px 14px}.pdg-portal-celebration h3{color:#fde047;letter-spacing:.04em;margin:0 0 6px;font-family:Chakra Petch,sans-serif}.pdg-portal-celebration p{color:#e2e8f0;margin:0;font-size:.88rem;line-height:1.45}.pdg-rs-station{margin-bottom:10px}.pdg-rs-card{background:#0f172ad9;border:2px solid #10b98173;border-radius:12px;align-items:center;gap:14px;padding:12px 14px;display:flex}.pdg-rs-visual{flex-shrink:0;justify-content:center;align-items:center;display:flex}.pdg-rs-info{flex:1;min-width:0}.pdg-rs-pips-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.pdg-rs-pip{color:#94a3b8;background:#18181b;border:2px solid #334155;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;font-size:.78rem;font-weight:800;display:inline-flex}.pdg-rs-pip.is-lit{color:#ecfdf5;background:#065f46;border-color:#10b981;box-shadow:0 0 10px #10b98173}.pdg-rs-prog-lbl{color:#a7f3d0;margin-top:6px;font-size:.82rem;font-weight:700}.pdg-sc-backdrop{background:#02080ec7;padding-top:56px}.pdg-sc-chassis{background:linear-gradient(#334155 0%,#1e293b 52%,#0f172a 100%);border:4px solid #120d10;border-radius:18px;box-shadow:0 24px 64px #000000db,0 0 36px #22c55e40,inset 0 0 0 2px #94a3b840}.pdg-sc-chassis .modal-header{background:#0f172ad9;border-bottom:2px solid #090d16}.pdg-sc-chassis .modal-title{font-family:var(--font-mono,"JetBrains Mono", monospace);color:#86efac;text-shadow:0 0 10px #4ade808c}.pdg-sc-chassis .modal-tag.portal-tag{color:#4ade80;background:#14532d8c;border-color:#4ade808c}.pdg-sc-crt-bezel{background:linear-gradient(#1e293b,#0f172a);border:3px solid #09080d;border-radius:16px;padding:10px;box-shadow:inset 0 4px 12px #000000a6}.pdg-sc-crt-screen{color:#86efac;font-family:var(--font-mono,"JetBrains Mono", monospace);text-shadow:0 0 8px #4ade8073;background:radial-gradient(circle at 50% 42%,#052e16 0%,#021409 72%,#010a04 100%);border:2.5px solid #22c55e;border-radius:12px;padding:14px 16px;position:relative;overflow:hidden;box-shadow:0 0 28px #22c55e59,inset 0 0 46px #10b98133}.pdg-sc-scanlines{pointer-events:none;z-index:4;background:repeating-linear-gradient(#0000003d 0 1px,#0000 1px 3px),radial-gradient(#0000 58%,#0000007a 100%);position:absolute;inset:0}.pdg-sc-crt-inner{z-index:2;flex-direction:column;gap:12px;display:flex;position:relative}.pdg-sc-crt-topbar{color:#bbf7d0;background:#14532d6b;border:1.5px solid #4ade8059;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:.78rem;font-weight:800;display:flex}.pdg-sc-crt-topbar span{align-items:center;gap:5px;display:inline-flex}.pdg-sc-menu-subtitle{color:#4ade80;text-align:center;letter-spacing:.3px;font-size:.78rem;font-weight:700}.pdg-sc-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pdg-sc-mode-box{color:#bbf7d0;text-align:center;cursor:pointer;font-family:var(--font-mono,"JetBrains Mono", monospace);background:#032212bf;border:2.5px dashed #4ade80;border-radius:10px;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;padding:14px 10px;transition:transform .14s,box-shadow .14s,background .14s;display:flex;position:relative;box-shadow:0 0 14px #22c55e2e,inset 0 0 14px #22c55e14}.pdg-sc-mode-box:hover{background:#064e3b8c;border-color:#bbf7d0;transform:translateY(-2px);box-shadow:0 0 22px #4ade8073,inset 0 0 16px #4ade802e}.pdg-sc-mode-key{color:#4ade80;font-size:.72rem;font-weight:800;position:absolute;top:6px;left:8px}.pdg-sc-mode-icon{filter:drop-shadow(0 0 8px #4ade80a6);margin-top:6px}.pdg-sc-mode-title{color:#bbf7d0;letter-spacing:.4px;font-size:.88rem;font-weight:900}.pdg-sc-mode-desc{color:#86efac;font-size:.72rem;line-height:1.3;font-family:var(--font-body,"Outfit", sans-serif)}.pdg-sc-mode-rate{color:#4ade80;background:#021409d9;border:1px solid #4ade8073;border-radius:6px;margin-top:auto;padding:3px 8px;font-size:.68rem;font-weight:800}.pdg-sc-mode-rate.is-bonus{color:#fef08a;text-shadow:0 0 8px #facc1580;border-color:#fde047}.pdg-sc-crt-btn{color:#bbf7d0;min-height:36px;font-family:var(--font-mono,"JetBrains Mono", monospace);cursor:pointer;text-shadow:0 0 6px #4ade8073;background:#052e16d9;border:2px solid #4ade80;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:6px 12px;font-size:.76rem;font-weight:800;transition:transform .1s,background .15s;display:inline-flex}.pdg-sc-crt-btn:hover{background:#15803d8c;transform:translateY(-1px)}.pdg-sc-crt-btn.is-cashout{color:#fef08a;text-shadow:0 0 8px #facc158c;background:#713f1273;border-color:#fde047}.pdg-sc-telemetry-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pdg-sc-tele-pill{color:#86efac;background:#021409d1;border:1.5px solid #4ade8066;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:6px 8px;font-size:.76rem;display:flex}.pdg-sc-tele-pill.is-coins{color:#fef08a;border-color:#facc158c}.pdg-sc-timer-wrap{flex-direction:column;gap:4px;display:flex}.pdg-sc-timer-head{color:#4ade80;justify-content:space-between;font-size:.76rem;font-weight:800;display:flex}.pdg-sc-timer-readout.is-warn{color:#fde047;text-shadow:0 0 8px #facc1599}.pdg-sc-timer-readout.is-crit{color:#fca5a5;text-shadow:0 0 10px #ef4444d9}.pdg-sc-timer-track{background:#021409e6;border:1.5px solid #4ade8073;border-radius:999px;height:10px;overflow:hidden}.pdg-sc-timer-fill{transform-origin:0;will-change:transform;background:linear-gradient(90deg,#22c55e,#86efac);width:100%;height:100%;box-shadow:0 0 10px #4ade80bf}.pdg-sc-timer-fill.is-warn{background:linear-gradient(90deg,#f59e0b,#fde047);box-shadow:0 0 10px #facc15bf}.pdg-sc-timer-fill.is-crit{background:linear-gradient(90deg,#dc2626,#f87171);box-shadow:0 0 12px #ef4444d9}.pdg-sc-prompt-label{text-align:center;color:#4ade80;letter-spacing:.6px;font-size:.78rem;font-weight:800}.pdg-sc-equation{text-align:center;color:#dcfce7;text-shadow:0 0 14px #4ade80bf;background:#021409bf;border:1.5px dashed #4ade808c;border-radius:10px;padding:10px 8px;font-size:clamp(1.45rem,3.6vw,2.2rem);font-weight:900}.pdg-sc-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.pdg-sc-choices.is-operators{grid-template-columns:repeat(4,minmax(0,1fr))}.pdg-sc-choices.is-operators .pdg-sc-choice-btn{min-height:78px;padding:8px 12px;position:relative}.pdg-sc-choices.is-operators .pdg-sc-choice-key{position:absolute;top:6px;left:8px}.pdg-sc-choices.is-operators .pdg-sc-choice-val{justify-content:center;align-items:center;font-size:clamp(2.4rem,5.5vw,3.1rem);line-height:1;display:inline-flex}.pdg-sc-choice-btn{color:#dcfce7;min-height:54px;font-family:var(--font-mono,"JetBrains Mono", monospace);cursor:pointer;text-shadow:0 0 8px #4ade808c;background:#032212e0;border:2px dashed #4ade80;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:1.15rem;font-weight:900;transition:transform .1s,background .12s,border-color .12s;display:flex}.pdg-sc-choice-btn:hover:not(:disabled){background:#15803d85;border-style:solid;transform:translateY(-2px);box-shadow:0 0 18px #4ade8073}.pdg-sc-choice-btn:disabled{cursor:default}.pdg-sc-choice-key{color:#4ade80;opacity:.9;font-size:.76rem}.pdg-sc-choice-btn.is-correct{color:#fff;background:#16a34aa6;border-style:solid;border-color:#bbf7d0;box-shadow:0 0 22px #4ade80d9}.pdg-sc-choice-btn.is-wrong{color:#fecaca;text-shadow:0 0 8px #ef4444bf;background:#7f1d1dad;border-style:solid;border-color:#f87171}.pdg-sc-feedback{text-align:center;border-radius:8px;padding:8px 12px;font-size:.8rem;line-height:1.35}.pdg-sc-feedback.is-correct{color:#dcfce7;background:#14532dad;border:1.5px solid #4ade80}.pdg-sc-feedback.is-wrong{color:#fecaca;background:#7f1d1d85;border:1.5px solid #f87171}.pdg-sc-hint{color:#fde68a;font-size:.75rem;font-family:var(--font-body,"Outfit", sans-serif);margin-top:4px}.pdg-sc-confirm-overlay{z-index:6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#010a04e0;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.pdg-sc-confirm-card{text-align:center;background:#032212;border:2.5px solid #fde047;border-radius:12px;width:min(100%,420px);padding:16px;box-shadow:0 0 28px #facc1559}.pdg-sc-confirm-title{color:#fef08a;margin-bottom:8px;font-size:.96rem;font-weight:900}.pdg-sc-confirm-body{color:#dcfce7;font-size:.82rem;line-height:1.4;font-family:var(--font-body,"Outfit", sans-serif);margin:0 0 14px}.pdg-sc-confirm-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@media (width<=640px){.pdg-sc-mode-grid,.pdg-sc-telemetry-row{grid-template-columns:minmax(0,1fr)}.pdg-sc-choices.is-operators{grid-template-columns:repeat(2,minmax(0,1fr))}}.pdg-repair-status{color:#f8fafc;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;font-size:.92rem;font-weight:700;display:flex}.pdg-repair-timer{font-family:var(--font-mono,"JetBrains Mono", monospace);color:#fde047;white-space:nowrap;background:#f59e0b29;border:1px solid #f59e0b73;border-radius:999px;padding:3px 10px;font-size:.85rem;font-weight:800}.pdg-repair-bar-wrap{background:#0f172ad9;border:1px solid #ffffff1f;border-radius:999px;width:100%;height:8px;margin-bottom:16px;overflow:hidden}.pdg-repair-bar-fill{background:linear-gradient(90deg,#f59e0b,#ef4444);border-radius:999px;height:100%;transition:width .9s linear}.pdg-repair-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.pdg-repair-choice-card{aspect-ratio:1;color:#f8fafc;text-align:center;cursor:pointer;background:#0f172ad9;border:2px solid #38bdf859;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:14px 12px;transition:transform .14s,border-color .14s,box-shadow .14s,background .14s;display:flex}.pdg-repair-choice-card.is-kit{background:linear-gradient(#10b98129 0%,#0f172ae6 100%);border-color:#10b9818c}.pdg-repair-choice-card.is-town{background:linear-gradient(#38bdf829 0%,#0f172ae6 100%);border-color:#38bdf88c}.pdg-repair-choice-card:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 10px 24px #00000073}.pdg-repair-choice-card.is-kit:not(:disabled):hover{border-color:#34d399}.pdg-repair-choice-card.is-town:not(:disabled):hover{border-color:#38bdf8}.pdg-repair-choice-card.is-disabled,.pdg-repair-choice-card:disabled{opacity:.4;filter:grayscale(.8);cursor:not-allowed;box-shadow:none;background:#0f172a8c;border-color:#94a3b840;transform:none}.pdg-repair-choice-icon{justify-content:center;align-items:center;width:64px;height:64px;display:flex}.pdg-repair-choice-icon.is-town-icon svg{color:#38bdf8;width:52px;height:52px}.pdg-repair-choice-title{font-family:var(--font-title,"Chakra Petch", sans-serif);font-size:1.02rem;font-weight:800;line-height:1.15}.pdg-repair-choice-sub{color:#94a3b8;font-size:.78rem;line-height:1.25}@media (display-mode:fullscreen){.pdg-topbar{top:44px}.pdg-hud-overlay,.pdg-tutorial-host,.pdg-toast-host{top:98px}}.pdg-root.is-fullscreen .pdg-topbar{top:44px}.pdg-root.is-fullscreen .pdg-hud-overlay,.pdg-root.is-fullscreen .pdg-tutorial-host,.pdg-root.is-fullscreen .pdg-toast-host{top:98px}@media (width<=768px) and (display-mode:fullscreen){.pdg-hud-overlay,.pdg-tutorial-host{top:130px}}@media (width<=768px){.pdg-root.is-fullscreen .pdg-hud-overlay,.pdg-root.is-fullscreen .pdg-tutorial-host{top:130px}}
