:root{color:#e5f1ff;--tg-safe-top:0px;--tg-safe-bottom:0px;--tg-safe-left:0px;--tg-safe-right:0px;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0b1424;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:0}button:disabled{opacity:.38;cursor:default}[hidden]{display:none!important}.game-shell{width:100%;max-width:540px;height:100dvh;min-height:540px;padding:calc(6px + max(env(safe-area-inset-top),var(--tg-safe-top))) max(8px,var(--tg-safe-right)) calc(6px + max(env(safe-area-inset-bottom),var(--tg-safe-bottom))) max(8px,var(--tg-safe-left));background:radial-gradient(at 5% 0,#20334b,#101c30 55%);flex-direction:column;margin:auto;display:flex;position:relative;overflow:hidden}.topbar{flex-shrink:0;justify-content:space-between;align-items:center;height:43px;padding:0 3px;display:flex}.mark{align-items:center;gap:8px;display:flex}.brand-icon{color:#0b2333;background:linear-gradient(135deg,#a0ffb1,#28dce3);border-radius:11px;place-items:center;width:32px;height:32px;font-size:25px;display:grid;box-shadow:inset 0 1px #ffffff80}.mark strong{letter-spacing:-.35px;font-size:14px;display:block}.mark small{letter-spacing:1.6px;color:#8ea5bf;margin-top:3px;font-size:7px;display:block}.header-actions{align-items:center;gap:6px;display:flex}.coins{color:#ffd43b;white-space:nowrap;background:#2f2c2b;border:1px solid #ffdb4240;border-radius:12px;padding:6px 9px;font-size:13px}.coins b{color:#fff0b7}.icon-button{background:#263951;border-radius:11px;place-items:center;width:44px;height:36px;font-size:20px;display:grid}.statusbar{flex-shrink:0;align-items:center;gap:7px;height:34px;padding:0 2px;display:flex}.level-pill{letter-spacing:1px;white-space:nowrap;background:#26384d;border-radius:9px;padding:6px 10px;font-size:9px;font-weight:800}.level-pill b{letter-spacing:0;margin-left:4px;font-size:13px}.queue-pill{background:#26384d;border-radius:9px;flex:1;align-items:center;gap:7px;height:27px;padding:4px 10px;font-size:11px;display:flex;position:relative;overflow:hidden}.mini-android{color:#73e9d2;font-size:17px}.queue-pill i{background:#5fe253;width:70%;height:3px;transition:width .25s;position:absolute;bottom:0;left:0}.queue-pill.warn i{background:#ffd43b}.queue-pill.critical{background:#533044;animation:1s ease-in-out infinite pulse}.queue-pill.critical i{background:#ff304f}.pause-button{height:28px;font-size:15px}.queue-preview{flex-shrink:0;height:82px;padding:6px 8px 8px}.queue-caption{letter-spacing:1px;color:#8ea5bf;justify-content:space-between;align-items:center;height:16px;font-size:8px;font-weight:800;display:flex}.queue-caption b{color:#b7cedc;letter-spacing:0;font-size:9px}.next-queue{justify-content:center;align-items:center;gap:12px;height:50px;display:flex}.queue-robot{filter:drop-shadow(0 3px 2px #060f27);width:39px;height:43px;padding-top:3px;position:relative}.robot-head{background:linear-gradient(145deg,#ffffff7a,var(--robot) 30%,var(--robot) 62%,#0004);z-index:1;border:1px solid #fff4;border-radius:8px;width:31px;height:25px;margin:auto;position:relative;box-shadow:inset 0 -2px 1px #0003}.robot-head:before{content:"";background:linear-gradient(#173951,#07182b);border-radius:4px;position:absolute;top:6px;bottom:5px;left:4px;right:4px}.robot-head i:before,.robot-head i:after{content:"";z-index:2;background:#a4f8ff;border-radius:2px;width:4px;height:4px;position:absolute;top:10px;box-shadow:0 0 4px #5ef4ff}.robot-head i:before{left:8px}.robot-head i:after{right:8px}.robot-head em{z-index:2;background:#94d9ee;border-radius:2px;width:5px;height:2px;position:absolute;bottom:7px;left:13px}.robot-head.shape-1{border-radius:50%}.robot-head.shape-2{height:22px;margin-top:3px}.robot-body{background:linear-gradient(135deg,var(--robot),var(--robot) 50%,#0005);border:1px solid #ffffff29;border-radius:5px;width:21px;height:15px;margin:-1px auto;position:relative}.robot-body:before,.robot-body:after{content:"";background:var(--robot);border-radius:3px;width:4px;height:13px;position:absolute;bottom:0}.robot-body:before{left:-7px;transform:rotate(10deg)}.robot-body:after{right:-7px;transform:rotate(-10deg)}.queue-robot.first:after{content:"";border:1px solid var(--robot);z-index:-1;background:linear-gradient(#fff0,#ffffff10);border-radius:11px;position:absolute;top:-3px;bottom:-1px;left:-3px;right:-3px}.queue-robot b{color:#0a2130;text-align:center;z-index:3;background:#a2ffd2;border-radius:50%;width:14px;height:14px;font-size:9px;line-height:14px;position:absolute;top:0;right:-5px}.arena{isolation:isolate;background:#56616a;border-radius:19px;flex:1;min-height:310px;position:relative;overflow:hidden;box-shadow:0 0 0 1px #728ba055,0 10px 30px #0003}#world{touch-action:none;outline:none;width:100%;height:100%;display:block}.quality-chip,.time-chip{color:#aebfcf;pointer-events:none;background:#142438b8;border-radius:7px;padding:4px 6px;font-size:8px;font-weight:700;position:absolute;bottom:9px}.quality-chip{left:9px}.time-chip{font-variant-numeric:tabular-nums;right:9px}.camera-switch{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#142438e8;border:1px solid #c2e9ff25;border-radius:12px;gap:2px;padding:3px;display:flex;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.camera-switch button{color:#8ca8bd;white-space:nowrap;background:0 0;border-radius:8px;height:36px;padding:0 9px;font-size:9px;font-weight:800}.camera-switch button.active{color:#0e2934;background:#87efcf}.bottom-controls{flex-shrink:0;height:91px;padding-top:7px}.waiting-status{color:#8099b3;justify-content:space-between;gap:8px;padding:0 4px 6px;font-size:8px;font-weight:700;line-height:10px;display:flex}.boosters{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.boosters button{text-align:center;background:linear-gradient(150deg,#2e435e,#24344a);border:1px solid #8db3d820;border-radius:13px;grid-template-columns:28px 1fr;align-content:center;align-items:center;height:58px;padding:7px 4px;display:grid;position:relative;box-shadow:0 3px #0a1527,inset 0 1px #ffffff1a}.boosters button>span{color:#85eccc;grid-row:span 2;font-size:27px;font-weight:700;line-height:33px}.boosters button:nth-child(2)>span{color:#ffd43b}.boosters button:nth-child(3)>span{color:#74d2ff}.boosters b{font-size:10px}.boosters small{color:#90b4c5;min-height:10px;margin-top:3px;font-size:8px;display:block}.feedback{text-align:center;color:#8095af;min-height:10px;margin:6px 2px 0;font-size:8px;line-height:1.3}.countdown{color:#fff;pointer-events:none;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#14223b45;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.countdown span{letter-spacing:3px;font-size:11px;font-weight:900}.countdown b{text-shadow:0 4px #183344;font-size:96px;line-height:1.3;animation:.8s ease-out infinite count}.tutorial{z-index:3;background:#13243af5;border:1px solid #84eace66;border-radius:15px;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;bottom:58px;left:10px;right:10px;box-shadow:0 6px 20px #06112355}.tutorial-icon{color:#102c3b;background:#87efcf;border-radius:10px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:24px;display:grid}.tutorial b{color:#c4f4e5;font-size:11px}.tutorial p{color:#97b9c6;margin:4px 0 0;font-size:9px;line-height:1.4}.tutorial button{color:#123447;background:#87efcf;border-radius:10px;flex-shrink:0;width:40px;height:40px;font-size:17px}.rescue-hud{color:#fff;background:#152b45f2;border:1px solid #ff597466;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:9px;display:flex;position:absolute;top:46px;left:10px;right:10px}.rescue-hud b{max-width:65%;font-size:10px}.rescue-hud button{color:#263746;background:#ffdd67;border-radius:8px;padding:9px;font-size:9px}.debug-hud{color:#bcf3d4;white-space:pre;pointer-events:none;background:#09182ddd;border-radius:8px;padding:8px;font:9px/1.5 monospace;position:absolute;top:46px;left:8px}.loading{z-index:10;background:#111d30;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.loading b{font-size:20px}.loading small{color:#94bdc7;font-size:11px}.loader{border:4px solid #26435c;border-top-color:#71eccb;border-radius:50%;width:39px;height:39px;animation:1s linear infinite spin}dialog{color:#e3f0ff;text-align:center;background:linear-gradient(150deg,#223752,#112238);border:1px solid #54769560;border-radius:25px;width:min(390px,100% - 28px);max-height:88dvh;padding:25px 21px;overflow:auto;box-shadow:0 20px 70px #06152777}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#071225a6}dialog h2{letter-spacing:-1px;margin:9px 0 10px;font-size:27px}dialog p{color:#a4bdcc;font-size:12px;line-height:1.55}.eyebrow{letter-spacing:1.8px;color:#7ee9cc;font-size:9px;font-weight:800}.primary,.secondary{border-radius:13px;width:100%;margin-top:11px;padding:13px;font-size:13px;font-weight:800;display:block}.primary{color:#102e3e;background:linear-gradient(#9dffd7,#62ddbc);box-shadow:0 3px #2d937c}.secondary{color:#c2deeb;background:#2c435e}.text-button{color:#a5bace;background:0 0;width:100%;margin-top:8px;padding:13px;font-size:11px}.ad-button{color:#443722;background:linear-gradient(#ffe27e,#ffcc46);box-shadow:0 3px #a67929}.dialog-close{background:#304c65;border-radius:20px;width:30px;height:30px;font-size:19px;position:absolute;top:10px;right:12px}.setting{text-align:left;background:0 0;border-bottom:1px solid #48627a66;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:13px 0;font-size:12px;display:flex}.setting select{background:#263e56;border:1px solid #678099;border-radius:9px;max-width:145px;padding:7px;font-size:12px}.setting b{color:#8beacc;font-size:11px}.setting input{accent-color:#80eaca;width:20px;height:20px}.dialog-note{margin-top:18px;font-size:10px!important}.version{color:#7d9bb2;margin-top:18px;font-size:9px;display:block}.result-symbol{color:#ffd43b;font-size:51px}.result-metrics{color:#8beacc;justify-content:center;gap:10px;padding:8px 0;font-size:11px;display:flex}.toast{bottom:calc(12px + env(safe-area-inset-bottom));color:#fff;opacity:0;pointer-events:none;z-index:100;background:#223d56f5;border:1px solid #87e1df55;border-radius:14px;max-width:calc(100% - 24px);padding:12px 17px;font-size:12px;transition:all .2s;position:fixed;left:50%;transform:translate(-50%,12px);box-shadow:0 5px 18px #092e4244}.toast.visible{opacity:1;transform:translate(-50%)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 3px #ff304f33}}@keyframes count{0%{transform:scale(1.1)}80%{transform:scale(1)}}@keyframes board{50%{color:#102e3e;background:#5fe253;transform:scale(1.08)}}.board-pulse{animation:.3s ease-out board}@media (max-width:350px){.mark strong{font-size:13px}.mark small{font-size:6px}.header-actions{gap:4px}.coins{padding:6px}.next-queue{gap:9px}.boosters b{font-size:9px}.boosters small{font-size:7px}.quality-chip{display:none}}@media (max-height:720px){.topbar{height:37px}.statusbar{height:31px}.queue-preview{height:64px;padding-top:2px;padding-bottom:2px}.queue-caption{height:12px;font-size:7px}.next-queue{gap:10px;height:44px}.queue-robot{transform:scale(.88)}.bottom-controls{height:82px}.boosters button{height:52px}.feedback{margin-top:4px;font-size:7px}.game-shell{min-height:500px}.camera-switch button{height:33px}.time-chip,.quality-chip{display:none}}@media (prefers-reduced-motion:reduce){.countdown b,.queue-pill.critical,.board-pulse{animation:none}}.queue-caption small{color:#bfffaa;letter-spacing:0;background:#263d4f;border-radius:5px;padding:3px 5px;font-size:9px;font-weight:800}.queue-caption span{flex:1}.queue-caption b{margin-right:10px}@media (pointer:coarse){.camera-switch,.countdown{-webkit-backdrop-filter:none;backdrop-filter:none}dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.queue-robot{filter:none}}
