:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0b1117;color:#dce6ef}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}button,select{font:inherit;color:inherit}.app{display:flex;flex-direction:column;height:100%;min-width:0}.topbar{position:relative;display:flex;align-items:center;gap:18px;padding:8px 14px;background:#111b24;border-bottom:1px solid #26394a;flex-wrap:wrap}.topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;pointer-events:none;background:linear-gradient(90deg,#fff 0 33.33%,#2445a8 33.33% 66.66%,#d52b1e 66.66% 100%);opacity:.85}.brand{display:flex;align-items:center;gap:8px;font-size:15px;letter-spacing:.2px;white-space:nowrap}.brand b{color:#4fc3f7;font-weight:700}.brand-mark{color:#ffd54f;font-size:22px}.mode-switch{display:flex;border:1px solid #335165;border-radius:6px;overflow:hidden}.mode-btn{padding:6px 11px;font-size:12px;color:#8fb3c9;text-decoration:none;background:#172532}.mode-btn:hover{background:#294457;color:#fff}.mode-btn.active{background:#ffd54f;color:#2b250c;font-weight:700}.levels{display:flex;gap:4px;flex:1;flex-wrap:wrap}.level-btn{background:#172532;border:1px solid #2a4052;color:#a9bfcd;padding:6px 10px;border-radius:6px;cursor:pointer;font-size:12px}.level-btn:hover{background:#203544;color:#fff}.level-btn.active{background:#0d47a1;border-color:#1976d2;color:#fff}.controls{display:flex;align-items:center;gap:6px}.btn{background:#1d2f3d;border:1px solid #335165;border-radius:6px;padding:7px 12px;cursor:pointer;font-size:13px}.btn:hover{background:#294457}.btn.primary{background:#1976d2;border-color:#2196f3;color:#fff;font-weight:600}.btn.primary:hover{background:#2196f3}.btn.ghost{background:transparent;border-style:dashed;color:#8fb3c9}.speed{display:flex;align-items:center;gap:6px;font-size:12px;color:#91a9b9}.speed select{background:#172532;border:1px solid #335165;border-radius:5px;padding:5px}.workspace{display:grid;grid-template-columns:55fr 45fr;flex:1;min-height:0}.app.exploring .workspace{grid-template-columns:1fr}.app.exploring .code-pane,.app.exploring .hud,.app.exploring .minimap,.app.exploring .console-pane,.app.exploring .gamepanel,.app.exploring .ceebot-objectif{display:none!important}.app.exploring .world-prompt{bottom:20px}.scene-pane{position:relative;display:flex;flex-direction:column;min-width:0;border-right:1px solid #26394a}.scene{flex:1;min-height:0;position:relative;overflow:hidden;background:#101821}.scene canvas{position:absolute;inset:0;display:block;width:100%;height:100%}.hud{position:absolute;top:14px;left:14px;pointer-events:none}.hud-card{background:linear-gradient(180deg,#ffe9a8,#e8c25e);border:2px solid #8a6a17;border-bottom:4px solid #6d5212;border-radius:5px;padding:9px 11px;width:232px;font-size:12px;color:#2b250c;box-shadow:0 8px 24px #0006;font-family:Trebuchet MS,sans-serif}.hud-row{display:flex;justify-content:space-between;gap:8px;margin:3px 0}.hud-label{color:#6b5415;font-size:10px;font-weight:700;letter-spacing:.08em}.hud-row span:last-child{text-align:right;font-weight:600}.energy-line{height:8px;background:#8d7423;border:1px solid #6d5212;border-radius:3px;margin:8px 0 4px;overflow:hidden}.energy-fill{height:100%;width:100%;background:#66e07a;transition:width .12s linear}.hud-help{color:#6b5415;font-size:10px;margin-top:8px;border-top:1px solid #b8973d;padding-top:6px}.minimap{position:absolute;right:14px;bottom:146px;width:150px;height:150px;border-radius:3px;image-rendering:pixelated;pointer-events:none;box-shadow:0 6px 20px #00000073}[data-status=won]{color:#1b5e20}[data-status=failed]{color:#b71c1c}[data-status=running]{color:#0d47a1}.console-pane{height:132px;flex:none;border-top:1px solid #26394a;background:#0d151d;overflow:hidden}.console-title{padding:6px 12px;color:#66869a;font-size:10px;letter-spacing:.12em;border-bottom:1px solid #1e2f3c}.console-list{height:104px;overflow-y:auto;padding:4px 12px;font-family:Menlo,Consolas,monospace;font-size:12px}.console-line{padding:2px 0;color:#a9c3d2;cursor:pointer}.console-line:hover{color:#fff}.console-error{color:#ff8a80}.console-warn{color:#ffd54f}.banner{position:absolute;top:20%;left:50%;transform:translate(-50%);padding:14px 22px;border-radius:10px;font-size:17px;font-weight:600;background:#0d1e16f0;border:1px solid #66bb6a;color:#c8e6c9;box-shadow:0 10px 40px #00000080;z-index:5;pointer-events:none}.banner-fail{background:#281010f0;border-color:#ef5350;color:#ffcdd2}.world-prompt{position:absolute;bottom:238px;left:50%;transform:translate(-50%);padding:9px 16px;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:2px solid #ffd54f;border-radius:6px;background:#1c2218e6;color:#ffe9a8;font:600 13px/1.3 Trebuchet MS,sans-serif;letter-spacing:.02em;box-shadow:0 8px 28px #00000080,inset 0 0 12px #ffd54f1f;z-index:6;pointer-events:none;animation:prompt-pulse 1.4s ease-in-out infinite}.world-prompt:before{content:"⌂";margin-right:8px;color:#ffd54f}@keyframes prompt-pulse{0%,to{border-color:#ffd54f}50%{border-color:#fff3c4;box-shadow:0 8px 28px #00000080,0 0 16px #ffd54f47}}.hidden{display:none!important}.code-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#0f1720}.tabs{display:flex;border-bottom:1px solid #26394a;background:#111b24;flex:none}.tab{background:none;border:none;border-bottom:2px solid transparent;padding:10px 16px;cursor:pointer;color:#7e9bad;font-size:13px}.tab:hover{color:#fff}.tab.active{color:#4fc3f7;border-bottom-color:#4fc3f7}.tab-body{flex:1;min-height:0;overflow:hidden}.editor{height:100%;overflow:hidden}.doc{height:100%;overflow-y:auto;padding:18px 22px;line-height:1.6;font-size:14px}.doc h2{color:#4fc3f7;font-size:18px;margin:0 0 12px}.doc h3{color:#90a4ae;font-size:13px;margin:20px 0 6px;text-transform:uppercase;letter-spacing:.08em}.doc p{color:#b9cbd6}.doc ol{padding-left:22px;color:#b9cbd6}.doc li{margin:10px 0}.doc pre{background:#0b131a;border:1px solid #223648;padding:10px;border-radius:6px;color:#9ccc65;font-size:12px;white-space:pre-wrap}.api-entry{border-bottom:1px solid #203342;padding:8px 0}.api-entry code{color:#ffd54f;font-weight:600}.api-entry p{margin:4px 0;font-size:13px}.api-entry pre{margin:4px 0}.code-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-top:1px solid #26394a;background:#111b24;flex:none}.hintline{color:#5f7c8e;font-size:11px}.app[data-mode=ceebot] .topbar{background:linear-gradient(180deg,#ffd95e,#e0a91d);border-bottom:3px solid #7a5a0c;color:#35290a}.app[data-mode=ceebot] .brand b,.app[data-mode=ceebot] .brand-mark{color:#6d3b00}.app[data-mode=ceebot] .mode-btn{background:#f8dd7a;color:#5b4409;border-color:#a37a12}.app[data-mode=ceebot] .mode-btn.active{background:#fff4c2;color:#2b250c}.app[data-mode=ceebot] .level-btn{background:#fff0b3;border:2px solid #a37a12;color:#5b4409;font-weight:600;box-shadow:inset 0 1px #fffbe6,0 2px #96700e}.app[data-mode=ceebot] .level-btn.active{background:#6a4b00;color:#fff3bf}.app[data-mode=ceebot] .btn{background:#ffe488;border:2px solid #9a730d;color:#3b2c08;font-weight:600;box-shadow:inset 0 1px #fffbe6,0 2px #9a730d}.app[data-mode=ceebot] .btn.primary{background:#fff2b8}.app[data-mode=ceebot] .speed select{background:#fff0b3;border-color:#9a730d;color:#3b2c08}.app[data-mode=ceebot] .code-pane{background:#fff6d8}.app[data-mode=ceebot] .tabs{background:linear-gradient(180deg,#ffd95e,#e0a91d);border-bottom:2px solid #8a670d}.app[data-mode=ceebot] .tab{color:#5b4409;font-weight:600}.app[data-mode=ceebot] .tab.active{color:#2b250c;border-bottom-color:#2b250c;background:#fff0b3}.app[data-mode=ceebot] .doc{background:#fff6d8;color:#3b2c08}.app[data-mode=ceebot] .doc p,.app[data-mode=ceebot] .doc li{color:#3b2c08}.app[data-mode=ceebot] .doc pre{background:#fff0b3;border-color:#d0a93d;color:#4d3b0a}.app[data-mode=ceebot] .api-entry code{color:#8d3a00}.app[data-mode=ceebot] .code-footer{background:linear-gradient(180deg,#ffd95e,#e0a91d);border-top:2px solid #8a670d}.app[data-mode=ceebot] .hintline{color:#5b4409}.ceebot-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;flex:none;padding:5px 8px;background:#f7d264;border-bottom:2px solid #a37a12;font-size:11px;color:#5b4409}.api-tool{background:#ffe488;border:2px solid #a37a12;border-radius:3px;padding:3px 7px;cursor:pointer;font-size:11px;color:#3b2c08;font-weight:600;box-shadow:inset 0 1px #fffbe6}.api-tool:hover{background:#fff4c2}.ceebot-objectif{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(430px,80%);z-index:7;padding:4px;background:linear-gradient(180deg,#ffd95e,#c79012);border:3px solid #79580b;border-radius:6px;box-shadow:0 12px 40px #00000073;font-family:Trebuchet MS,sans-serif;color:#332706}.objectif-head{display:flex;justify-content:space-between;padding:6px 10px;background:#fff0b3;border-bottom:2px solid #a37a12;letter-spacing:.12em;font-size:12px}.ceebot-objectif h2{margin:12px 12px 6px;font-size:18px}.ceebot-objectif p{margin:0 12px 10px;font-size:13px;line-height:1.5}.objectif-hints{margin:0 12px 12px;font-size:11px;opacity:.85;line-height:1.5}.ceebot-objectif>.btn{margin:0 12px 12px}.app[data-mode=ceebot] .minimap{border:3px solid #f5c518}.app[data-mode=ceebot] .console-pane{background:#1a1608}.app[data-mode=ceebot] .console-title{color:#d8ae35}.app[data-mode=ceebot] .speed{color:#5b4409}.app[data-mode=colobot] .topbar{background:repeating-linear-gradient(135deg,#ffc107 0 9px,#151515 9px 18px) bottom / 100% 4px no-repeat,linear-gradient(180deg,#4b5154,#24292c);border-bottom:2px solid #0d0f10;box-shadow:inset 0 1px #ffffff47,0 3px 10px #00000073}.app[data-mode=colobot] .brand{color:#f4ead2;text-shadow:0 1px 2px #000}.app[data-mode=colobot] .brand b,.app[data-mode=colobot] .brand-mark{color:#ffd54f}.app[data-mode=colobot] .btn,.app[data-mode=colobot] .level-btn{background:linear-gradient(180deg,#f0ead6,#b7ae96);border:2px solid #645e4f;color:#26231a;font-weight:600;box-shadow:inset 0 1px #fffdf2,0 2px #6b6555;text-shadow:none}.app[data-mode=colobot] .btn.primary{background:linear-gradient(180deg,#ffe27a,#d0a223);border-color:#7a5a0c}.app[data-mode=colobot] .level-btn.active{background:linear-gradient(180deg,#ffd95e,#c79214);border-color:#6e5109;color:#2b250c}.app[data-mode=colobot] .mode-btn{background:#31383c;color:#9fb0bb;border-color:#5a666d}.app[data-mode=colobot] .mode-btn.active{background:#ffd54f;color:#2b250c}.app[data-mode=colobot] .tabs{background:linear-gradient(180deg,#3d4447,#24292c);border-bottom:2px solid #0d0f10}.app[data-mode=colobot] .tab.active{color:#ffd54f}.game-icons{position:absolute;left:10px;top:10px;display:flex;gap:6px;z-index:6}.game-icons button{width:42px;height:42px;cursor:pointer;font-size:18px;font-weight:700;background:linear-gradient(180deg,#d9d2bb,#8f8975);color:#2a271d;border:2px solid #55503f;border-radius:4px;box-shadow:inset 0 1px #fff,0 2px #4d4838}.game-icons button:hover{filter:brightness(1.12)}.gamepanel{flex:none;height:122px;background:linear-gradient(180deg,#cfd3c9,#8c9188);border-top:2px solid #4b5049}.gp-title{height:26px;line-height:24px;text-align:center;font-weight:700;font-size:13px;color:#2b250c;background:linear-gradient(180deg,#ffe873,#e2b623);border-bottom:2px solid #9d770e}.gp-body{display:flex;align-items:center;gap:10px;padding:6px 10px;height:94px}.gp-slots{display:grid;grid-template-columns:repeat(7,42px);gap:3px}.gp-slot{display:flex;align-items:center;justify-content:center;width:42px;height:33px;font-size:14px;color:#7c7769;background:linear-gradient(145deg,#f2efe6,#a9a497);border:2px solid #76705f;border-radius:4px;box-shadow:inset 1px 1px #fff,inset -1px -1px #7d786c}.gp-turns{display:flex;flex-direction:column;gap:4px}.gp-turns button,.gp-actions button{cursor:pointer;color:#2a271d;font-weight:700;background:linear-gradient(180deg,#eee9d8,#aaa38f);border:2px solid #66604e;border-radius:4px;box-shadow:inset 0 1px #fff,0 2px #655f50}.gp-turns button{width:44px;height:40px;font-size:18px}.gp-bot{width:54px;height:54px;display:flex;align-items:center;justify-content:center;font-size:28px;color:#4a432f;background:linear-gradient(145deg,#ddd6c0,#97917c);border:3px solid #8a6a17;border-radius:6px}.gp-actions{display:flex;gap:4px;align-items:center;margin-left:auto}.gp-actions button{min-width:34px;height:38px;padding:0 6px;font-size:12px}.app[data-mode=ceebot] .gamepanel{background:linear-gradient(180deg,#ffe9a8,#d8ae35);border-top-color:#8a670d}.app[data-mode=ceebot] .gp-slot{background:linear-gradient(145deg,#fff6d8,#e0c67a);color:#9a7a2a;border-color:#a37a12}.app[data-mode=ceebot] .gp-turns button,.app[data-mode=ceebot] .gp-actions button{background:linear-gradient(180deg,#ffe488,#dcb43c);border-color:#9a730d;color:#3b2c08}.app[data-mode=ceebot] .game-icons button{background:linear-gradient(180deg,#ffe488,#d8ae35);border-color:#9a730d}.minimap{bottom:248px}.scene-pane{min-height:0}.console-pane{height:100px}.console-list{height:72px}.minimap{bottom:224px}.hud{top:62px}.game-icons button:nth-child(1){color:#e6a400;background:linear-gradient(180deg,#f7f3e6,#b4ae9b)}.game-icons button:nth-child(2){color:#e06a00}.game-icons button:nth-child(3){color:#1256a0;font-size:14px}.game-icons button:nth-child(4){color:#2e7d32;font-size:17px}.app[data-mode=colobot] .levels{flex-wrap:nowrap;overflow-x:auto;min-width:100px;max-width:100%;align-items:center}.app[data-mode=colobot] .level-btn{min-width:30px;flex-shrink:0}.level-btn:disabled{opacity:.4;cursor:not-allowed}.level-btn.completed{border-color:#59a77a;color:#a6e8b3}.campaign-progress{font-size:12px;white-space:nowrap;color:#97cdd5}.banner .btn{margin-left:10px}.satcom-dialog{width:min(980px,94vw);max-height:90vh;padding:0;border:1px solid #416b7a;border-radius:14px;background:#111e29;color:#e3edf3;box-shadow:0 20px 70px #000b;font-family:inherit;overflow:hidden}.satcom-dialog::backdrop{background:#071019b8;backdrop-filter:blur(4px)}.satcom-dialog[open]{display:flex;flex-direction:column}.satcom-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:#162935;border-bottom:1px solid #36515e}.satcom-dialog h2{margin:4px 0;font-size:26px;letter-spacing:1px}.satcom-dialog h2 span,.satcom-dialog small{color:#8ab9c5;font-size:12px;letter-spacing:1px}.satcom-dialog nav{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;overflow:visible;background:#172b37;padding:6px 10px}.satcom-dialog nav button{border:0;background:transparent;color:#a9c5d1;padding:7px 11px;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent}.satcom-dialog nav button.active{border-color:#67dbda;color:#d9ffff;background:#22424c}.satcom-body{overflow:auto;min-height:180px;padding:20px}.satcom-body h3{margin:0 0 14px;color:#c5f3f5}.satcom-body article{padding:14px 0;border-bottom:1px solid #2e4653}.satcom-body article h4{margin:5px 0;color:#e4edf0}.satcom-body p{margin:7px 0;line-height:1.55}.satcom-body pre{white-space:pre-wrap;background:#0b141d;padding:10px;border-radius:5px;color:#93e5d7}.satcom-body code{color:#8fe8da}.satcom-map-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);gap:20px}.satcom-map-grid canvas{width:100%;height:auto;border:1px solid #3c606e;border-radius:7px}.satcom-stat{font-size:30px;font-weight:700;color:#81e7d8}.satcom-body progress{width:100%;accent-color:#58cabb}.satcom-body .dot{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%}.satcom-body .green{background:#74d69c}.satcom-body .amber{background:#f8ca69}.satcom-body .grey{background:#83929d}.satcom-body .cyan{background:#82f5ff}.satcom-missions article{display:flex;align-items:center;gap:15px;justify-content:space-between}.satcom-missions .btn{flex-shrink:0}.satcom-dialog footer{padding:9px 20px;border-top:1px solid #36515e;color:#a4bfcb;font-size:12px}.satcom-body button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:600px){.satcom-map-grid{grid-template-columns:1fr}.satcom-body{padding:12px}.satcom-dialog nav button{padding:8px}.satcom-missions article{align-items:flex-start;flex-direction:column}}.health-panel{position:absolute;left:14px;bottom:8px;z-index:6;padding:6px 10px;border:1px solid #5f7f6d;border-radius:6px;background:#102018dd;color:#c8e6c9;font:600 12px/1.3 Trebuchet MS,sans-serif;pointer-events:none}.health-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px}.health-title b{color:#ffd54f}.health-track{height:6px;border:1px solid #2f5d45;border-radius:4px;background:#10231a;overflow:hidden}.health-fill{height:100%;width:100%;background:linear-gradient(90deg,#43a047,#69f0ae);transition:width .2s linear}.health-panel.exposed{border-color:#a54343;color:#ffcdd2}.health-panel.exposed .health-fill{background:linear-gradient(90deg,#c62828,#ff8a65)}.app:not(.exploring) .health-panel,.app[data-mode=ceebot] .health-panel{display:none}.titanium-panel{position:absolute;left:14px;bottom:64px;z-index:6;display:flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid #ffd54f66;border-radius:6px;background:#1a1608dd;color:#ffd54f;font:700 14px/1.3 Trebuchet MS,sans-serif;pointer-events:none}.titanium-panel .titanium-label{color:#c8e6c9;font-weight:600;font-size:11px}.app:not(.exploring) .titanium-panel{display:none}.app.exploring #run,.app.exploring #pause,.app.exploring #step,.app.exploring #reset,.app.exploring .speed,.app.exploring #icon-run,.app.exploring #icon-follow{display:none}.time-panel{position:absolute;left:14px;bottom:110px;z-index:6;display:flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid #5f7f6d66;border-radius:6px;background:#0e1a22cc;color:#cfe8ef;font:600 13px/1.3 Trebuchet MS,sans-serif;pointer-events:none;white-space:nowrap}.app:not(.exploring) .time-panel{display:none}.blocks-editor{flex:1;min-height:320px;border-radius:6px;overflow:hidden}.blocks-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 4px 0}#tab-blocks{display:flex;flex-direction:column}.levels,.satcom-dialog nav{scrollbar-width:none}.levels::-webkit-scrollbar,.satcom-dialog nav::-webkit-scrollbar{display:none}.touch-controls{display:none;position:absolute;inset:auto 0 0;z-index:9;pointer-events:none;padding:0 14px 16px;justify-content:space-between;align-items:flex-end;touch-action:none}.app.touch:not(.keyboard-visible) .touch-controls{display:flex}.touch-stick{position:relative;width:112px;height:112px;border-radius:50%;border:2px solid #67dbda88;background:#0e2029aa;pointer-events:auto;touch-action:none}.touch-stick-zone{position:absolute;inset:12px;border-radius:50%;border:1px dashed #67dbda55}.touch-knob{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#67dbdacc;box-shadow:0 2px 12px #000a;pointer-events:none}.touch-buttons{display:flex;align-items:flex-end;gap:8px;pointer-events:auto}.touch-btn{width:52px;height:52px;border-radius:50%;border:2px solid #ffd54f99;background:#1b2733dd;color:#ffe7a3;font:700 17px/1 Trebuchet MS,sans-serif;box-shadow:0 2px 10px #0008;touch-action:manipulation}.touch-action{width:66px;height:66px;border-color:#ffd54f;background:#3a2f14e0;color:#ffe7a3;font-size:24px}.touch-btn:active{background:#ffd54f55}.app:not(.exploring) .touch-stick{display:none}.app.touch:not(.keyboard-visible) .health-panel{bottom:140px}.app.touch:not(.keyboard-visible) .titanium-panel{bottom:140px}.app.touch:not(.keyboard-visible) .time-panel{bottom:182px}@media(max-width:700px){.topbar{gap:4px;padding:4px 6px}.brand{font-size:13px}.mode-switch{display:none}.levels{max-width:100%;overflow-x:auto}.controls{flex-wrap:wrap;gap:4px}.controls .btn{padding:6px 8px;font-size:12px}.workspace{grid-template-columns:1fr!important;grid-template-rows:minmax(44vh,56vh) minmax(0,1fr)}.scene-pane{min-height:44vh}.game-icons{transform:scale(.8);transform-origin:top left}.hud-help{display:none}.satcom-dialog{width:98vw;max-height:94vh}.satcom-dialog nav button{padding:6px 8px;font-size:11px;flex:1 1 auto}}.onboarding{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#050e17cc;backdrop-filter:blur(2px)}.onboarding.hidden{display:none}.onboarding-card{position:relative;width:min(580px,94vw);max-height:88vh;overflow:auto;padding:0 24px 20px;border:1px solid #416b7a;border-radius:14px;background:#111e29;color:#dceaf0;box-shadow:0 24px 70px #000c;font-family:Trebuchet MS,sans-serif}.onboarding-card:before{content:"";display:block;position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#fff 0 33.33%,#2445a8 33.33% 66.66%,#d52b1e 66.66%)}.onboarding-card header{padding:20px 0 6px}.onboarding-card small{color:#8ab9c5;font-size:11px;letter-spacing:1.4px}.onboarding-card h2{margin:8px 0 0;font-size:24px;color:#eaf6f8}.onboarding-card p{line-height:1.65;font-size:14px;color:#c7dbe4}.onboarding-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #2e4653;padding-top:14px}#onboarding-progress{color:#8ab9c5;font-size:12px;white-space:nowrap}.onboarding-buttons{display:flex;gap:8px}.onboarding-focus{outline:2px solid #67dbda;box-shadow:0 0 0 6px #67dbda33,0 0 26px #000a;z-index:201}.network-dialog{width:min(520px,94vw);max-height:90vh;overflow:auto;padding:0 20px 18px;border:1px solid #416b7a;border-radius:14px;background:#111e29;color:#dceaf0;box-shadow:0 24px 70px #000c;font-family:Trebuchet MS,sans-serif}.network-dialog::backdrop{background:#050e17bb;backdrop-filter:blur(2px)}.network-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 8px}.network-dialog h2{margin:4px 0 0;font-size:22px;color:#eaf6f8}.network-dialog small{color:#8ab9c5;font-size:11px;letter-spacing:1.4px}.network-status{padding:10px 12px;border:1px solid #2e4653;border-radius:8px;background:#0d1923;color:#9fd3dc;font-size:13px}.network-auth{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.network-auth input{grid-column:1/-1;padding:9px 10px;border:1px solid #365260;border-radius:7px;background:#0a141c;color:#e6f4f7;font:inherit}.network-auth .btn{padding:8px}.network-board{display:flex;align-items:center;gap:8px;margin-bottom:10px}.network-board label{display:flex;align-items:center;gap:8px;flex:1;color:#a8c6cf;font-size:13px}.network-board select{flex:1;padding:7px;border:1px solid #365260;border-radius:7px;background:#0a141c;color:#e6f4f7}.network-list{margin:0;padding-left:22px;max-height:220px;overflow:auto;color:#c7dbe4;font-size:13px;line-height:1.6}.network-dialog footer{margin-top:12px;padding-top:10px;border-top:1px solid #2e4653;color:#7396a2;font-size:11px}.network-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.network-actions .btn{flex:1 1 auto;min-width:110px}.btn-link{background:none;border:0;color:#8fd8e4;font-size:12px;padding:6px;text-decoration:underline}.btn-link:hover{color:#fff}.network-hint{grid-column:1/-1;margin:4px 0 0;color:#9fc3ce;font-size:12px}.network-providers{margin:14px 0;padding:12px;border:1px solid #2e4653;border-radius:9px;background:#0d1923}.network-provider-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.network-provider-buttons{display:flex;gap:7px;margin-top:8px}.btn-provider{flex:1;background:#182f3d;border:1px solid #3b6472;color:#dceaf0;font-size:12px}.btn-provider:hover{border-color:#67dbda;background:#204352}.network-reset[hidden]{display:none}.network-reset{display:grid;gap:7px;margin:12px 0;padding:12px;border:1px solid #5d8c68;border-radius:9px;background:#101f1c}.network-reset input{padding:9px 10px;border:1px solid #365260;border-radius:7px;background:#0a141c;color:#e6f4f7;font:inherit}.appearance-dialog{width:min(560px,94vw);max-height:92vh;overflow:auto;padding:0 20px 18px;border:1px solid #416b7a;border-radius:14px;background:#111e29;color:#dceaf0;box-shadow:0 24px 70px #000c;font-family:Trebuchet MS,sans-serif}.appearance-dialog::backdrop{background:#050e17bb;backdrop-filter:blur(2px)}.appearance-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 8px}.appearance-dialog h2{margin:4px 0 0;font-size:22px;color:#eaf6f8}.appearance-dialog small{color:#8ab9c5;font-size:11px;letter-spacing:1.4px}.appearance-hint{margin:4px 0 12px;color:#a8c6cf;font-size:13px}.appearance-skins{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.appearance-skin{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #365260;border-radius:9px;background:#0d1923;color:#dceaf0;text-align:left;cursor:pointer;font:inherit}.appearance-skin:hover{border-color:#67dbda}.appearance-skin.active{border-color:#ffd54f;box-shadow:inset 0 0 0 1px #ffd54f55}.appearance-skin small{display:block;margin-top:2px;color:#7396a2;font-size:10px;letter-spacing:0}.appearance-swatch{width:28px;height:28px;flex:none;border:3px solid;border-radius:50%;box-shadow:0 2px 6px #0008}.appearance-colors{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0 10px}.appearance-colors label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border:1px solid #2e4653;border-radius:8px;background:#0d1923;color:#a8c6cf;font-size:13px}.appearance-colors input{width:44px;height:28px;padding:0;border:0;background:none;cursor:pointer}.appearance-toggle{display:flex;align-items:center;gap:8px;color:#a8c6cf;font-size:13px}.appearance-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:10px;border-top:1px solid #2e4653;color:#7396a2;font-size:11px}
