:root{--ink: #2b2440;--ink-2: #5b5478;--ink-3: #8a84a6;--paper: #fffdf8;--paper-2: #f6f1ff;--line: #e6def5;--pink: #f0537a;--pink-2: #ff7fa0;--go: #22b36a;--go-2: #45d38a;--sky: #2f8cf0;--gold: #ffc21a;--warn: #f08a24;--bad: #e2475f;--shadow: 0 6px 18px rgba(60, 40, 110, .16), 0 2px 4px rgba(60, 40, 110, .1);--shadow-lg: 0 18px 50px rgba(60, 40, 110, .25), 0 4px 10px rgba(60, 40, 110, .12);--r: 20px;--font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;--safe-t: env(safe-area-inset-top, 0px);--safe-b: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#cfe6ff;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none}#game{position:fixed;inset:0;width:100vw;height:100vh;display:block;touch-action:none}#ui{position:fixed;inset:0;pointer-events:none;z-index:2}.ic{width:24px;height:24px;flex:none}button{font-family:inherit;color:inherit}.btn{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border:0;border-radius:999px;font-size:17px;font-weight:800;letter-spacing:.01em;cursor:pointer;background:#fff;color:var(--ink);box-shadow:var(--shadow),inset 0 -3px #00000014;transition:transform .12s ease,box-shadow .12s ease,background .12s ease,opacity .12s}.btn:hover:not([disabled]){transform:translateY(-2px);box-shadow:var(--shadow-lg),inset 0 -3px #00000014}.btn:active:not([disabled]){transform:translateY(1px) scale(.97);box-shadow:0 2px 6px #3c286e33,inset 0 2px #00000014}.btn[disabled],.icon-btn[disabled]{opacity:.42;cursor:default}.btn.primary{background:linear-gradient(180deg,var(--pink-2),var(--pink));color:#fff;text-shadow:0 1px 0 rgba(120,20,50,.25)}.btn.ghost{background:#ffffffeb;border:2px solid var(--line)}.btn.small{min-height:46px;padding:0 14px;font-size:15px}.btn.huge{min-height:66px;padding:0 44px;font-size:24px}.btn.huge .ic{width:30px;height:30px}.btn.danger{color:var(--bad)}.btn.go{background:linear-gradient(180deg,var(--go-2),var(--go));color:#fff;min-height:58px;padding:0 30px;font-size:22px;flex:1;text-shadow:0 1px 0 rgba(0,80,40,.3)}.btn.go .ic{width:26px;height:26px}.btn.go.nudge{animation:nudge 1.1s ease-in-out infinite}@keyframes nudge{0%,to{box-shadow:0 0 #45d38a80,var(--shadow)}50%{box-shadow:0 0 0 9px #45d38a59,var(--shadow)}}.icon-btn{pointer-events:auto;width:48px;height:48px;min-width:48px;border:0;border-radius:50%;background:#fffffff2;display:inline-grid;place-items:center;cursor:pointer;box-shadow:var(--shadow);transition:transform .12s ease,background .12s;color:var(--ink)}.icon-btn:hover:not([disabled]){transform:translateY(-2px)}.icon-btn:active:not([disabled]){transform:scale(.94)}.icon-btn[aria-pressed=true]{background:var(--ink);color:#fff}.icon-btn.big{width:60px;height:60px;background:linear-gradient(180deg,var(--go-2),var(--go));color:#fff}.icon-btn.big .ic{width:28px;height:28px}:focus-visible{outline:3px solid var(--sky);outline-offset:3px}button:focus:not(:focus-visible){outline:none}kbd{display:inline-block;min-width:22px;padding:1px 6px;border-radius:6px;background:var(--paper-2);border:1px solid var(--line);border-bottom-width:2px;font-family:inherit;font-size:12px;font-weight:800;text-align:center}.screens{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:calc(16px + var(--safe-t)) 16px calc(16px + var(--safe-b));pointer-events:none;z-index:10}.screens.visible{display:flex}.screens.dim{background:#463c7847;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);pointer-events:auto}.screen{pointer-events:auto;max-height:100%;display:flex;animation:screen-in .28s cubic-bezier(.2,1.3,.4,1) both}.screen.stay{animation:none}@keyframes screen-in{0%{transform:translateY(14px) scale(.97);opacity:0}}.card{background:var(--paper);border-radius:28px;box-shadow:var(--shadow-lg);padding:24px;width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;border:3px solid #fff}.card h2{margin:0 0 12px;font-size:26px;display:flex;align-items:center;gap:10px}.row{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.row.wrap{flex-wrap:wrap}.title-screen{width:100%;height:100%;align-items:flex-start;justify-content:center}html.title-wide .title-screen{justify-content:flex-start;align-items:center}html.title-wide .title-card{margin:0 0 0 4vw;max-width:40vw}.title-card{margin-top:3vh;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:26px 28px 24px;border-radius:36px;background:#fffdf8d1;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:var(--shadow-lg);border:3px solid rgba(255,255,255,.9);max-width:calc(100vw - 32px)}.logo{display:flex;flex-direction:column;line-height:.95;font-weight:900;letter-spacing:-.01em}.logo .l1{font-size:clamp(38px,7vw,66px);color:#fff;-webkit-text-stroke:2px transparent;text-shadow:0 3px 0 #7fb6f0,0 6px 0 #5d97d8,0 10px 18px rgba(40,80,160,.35)}.logo .l2{font-size:clamp(44px,8.4vw,80px);color:var(--pink);text-shadow:0 3px 0 #fff,0 6px 0 #c83a60,0 10px 18px rgba(160,30,70,.3)}.tagline{margin:0;font-size:18px;font-weight:700;color:var(--ink-2);max-width:420px}.title-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.title-stars{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--ink-2)}.title-stars .ic{color:var(--gold)}.tut{text-align:center;position:relative;padding-top:28px}.tut-pip .pip-face{width:96px;height:84px;margin:0 auto;display:block;animation:bob 2.4s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-6px)}}.tut-art{display:flex;align-items:center;justify-content:center;gap:12px;min-height:110px;color:var(--sky)}.tut-art>.ic{width:64px;height:64px}.tut-art>.ic:first-child{color:#f0537a}.tut-art>.ic:last-child{color:#f07b3f}.tut-arrow .ic{width:30px;height:30px;color:var(--ink-3)}.tut-spot{width:64px;height:64px;border-radius:50%;border:4px dashed #9c8fd0;display:grid;place-items:center;color:#6b5fb0;animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.1)}}.tut-facts{flex-direction:column;gap:8px;align-items:stretch;font-size:17px;color:var(--ink)}.tut-facts>span{display:flex;align-items:center;gap:10px;justify-content:flex-start;background:var(--paper-2);border-radius:14px;padding:8px 14px}.tut-facts .ic{color:#e0a000}.lanes-demo i{width:6px;height:22px;border-radius:3px;background:#c98f58;display:inline-block}.tut-go{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(180deg,var(--go-2),var(--go));color:#fff;font-size:28px;font-weight:900;padding:14px 34px;border-radius:999px;box-shadow:var(--shadow)}.tut-text{font-size:21px;font-weight:800;margin:12px 0 6px;line-height:1.3}.dots{display:flex;gap:8px;justify-content:center;margin:10px 0}.dots i{width:10px;height:10px;border-radius:50%;background:var(--line)}.dots i.on{background:var(--pink);width:26px;border-radius:6px}.map-card{background:#fffdf8e6;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-radius:30px;box-shadow:var(--shadow-lg);border:3px solid #fff;padding:18px;width:min(860px,calc(100vw - 24px));max-height:calc(100vh - 24px);display:flex;flex-direction:column}.map-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.map-head h2{flex:1;margin:0;font-size:26px;text-align:center}.mtiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;overflow:auto;padding:4px}.mtile{position:relative;border:3px solid #fff;border-radius:22px;background:linear-gradient(180deg,#fff,#eef5ff);box-shadow:var(--shadow);padding:12px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;min-height:132px;transition:transform .12s ease}.mtile:hover:not([disabled]){transform:translateY(-3px) rotate(-1deg)}.mtile:active:not([disabled]){transform:scale(.96)}.mtile.done{background:linear-gradient(180deg,#fff,#e9fbef)}.mtile.locked{background:linear-gradient(180deg,#f3f1f8,#e7e3f1);cursor:default;color:var(--ink-3)}.mt-num{position:absolute;top:8px;left:10px;font-weight:900;font-size:15px;color:#fff;background:var(--ink);border-radius:999px;min-width:26px;height:26px;display:grid;place-items:center}.mtile.locked .mt-num{background:var(--ink-3)}.mt-icon .ic{width:40px;height:40px;color:var(--sky)}.mtile.done .mt-icon .ic{color:var(--go)}.mtile.locked .mt-icon .ic{color:var(--ink-3)}.mt-name{font-weight:800;font-size:15px;text-align:center;line-height:1.15}.mt-stars{display:flex;gap:2px}.mt-stars .ic{width:20px;height:20px;color:#d8d2ea}.mt-stars .got .ic{color:var(--gold)}.mt-x{position:absolute;top:6px;right:8px}.mt-x .ic{color:#b27cff}.brief-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}.brief-head h2{margin:0}.mnum{display:inline-grid;place-items:center;background:var(--ink);color:#fff;font-weight:900;border-radius:999px;min-width:30px;height:30px;padding:0 8px;font-size:16px}.mnum.big{min-width:44px;height:44px;font-size:22px}.pip-says{display:flex;align-items:center;gap:12px;background:#eaf4ff;border-radius:18px;padding:10px 14px;margin-bottom:12px}.pip-says .pip-face{width:64px;height:56px;flex:none}.pip-says p{margin:0;font-size:19px;font-weight:800;line-height:1.3}.goals{display:grid;gap:6px}.goal{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink-2);font-size:16px}.goal .ic{color:#e0a000}.toggle{pointer-events:auto;display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:2px solid var(--line);background:#fff;border-radius:18px;padding:10px 14px;min-height:56px;cursor:pointer;margin-top:12px;transition:background .12s,border-color .12s}.toggle b{display:block;font-size:16px}.toggle small{display:block;color:var(--ink-2);font-size:14px;font-weight:600}.toggle .knob{width:46px;height:28px;border-radius:999px;background:#ddd6ee;position:relative;flex:none;transition:background .15s}.toggle .knob:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}.toggle.on{border-color:#bfe3cc;background:#f0fbf4}.toggle.on .knob{background:var(--go)}.toggle.on .knob:after{transform:translate(18px)}.brief .toggle>.ic{color:#b27cff;width:30px;height:30px}.brief .toggle.on{border-color:#d8c6ff;background:#f6f0ff}.results-screen{align-self:center}.results{width:min(560px,calc(100vw - 24px))}.res-head{display:flex;gap:14px;align-items:center;margin-bottom:10px}.res-head .pip-face{width:76px;height:66px;flex:none}.results.win .res-head .pip-face{animation:hop .6s ease-in-out 3}@keyframes hop{50%{transform:translateY(-10px) rotate(-5deg)}}.res-head h2{margin:0 0 2px;font-size:30px}.res-head p{margin:0;font-weight:700;color:var(--ink-2);font-size:17px;line-height:1.35}.stars,.finds{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.srow{display:flex;align-items:center;gap:10px;background:#f5f3fa;border-radius:16px;padding:8px 12px;animation:row-in .4s cubic-bezier(.2,1.4,.4,1) both;animation-delay:var(--d, 0s)}@keyframes row-in{0%{transform:scale(.8);opacity:0}}.srow b{display:block;font-size:16px}.srow small{display:block;color:var(--ink-2);font-weight:600;font-size:14px}.srow .sicon .ic{width:34px;height:34px;color:#d3cde6}.srow.got{background:#fff8e0}.srow.got .sicon .ic{color:var(--gold);filter:drop-shadow(0 2px 0 #e0a000)}.srow .stype .ic{color:var(--ink-3)}.finds li{display:flex;gap:10px;align-items:flex-start;font-weight:700;font-size:16px;line-height:1.35;padding:10px 12px;border-radius:16px}.finds li.why{background:#fff1e6}.finds li.why .ic{color:var(--warn)}.finds li.yay{background:#e9fbef}.finds li.yay .ic{color:var(--go)}.plan-time{display:flex;align-items:center;gap:6px;color:var(--ink-2);font-weight:700;margin:10px 0 0}details.more,.nb-open details{margin-top:10px;background:#eef5ff;border-radius:16px;padding:8px 12px}details summary{cursor:pointer;font-weight:800;display:flex;align-items:center;gap:8px;min-height:36px;list-style:none;color:var(--sky)}details summary::-webkit-details-marker{display:none}details p{margin:6px 0 4px;font-weight:600;line-height:1.45;color:var(--ink-2)}.new-notes{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.note-chip{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;border:2px dashed #b9a7ff;background:#f6f0ff;border-radius:999px;padding:6px 14px;min-height:44px;font-weight:700;cursor:pointer}.note-chip .ic{color:#8a63f2}.menu-list{display:grid;gap:8px}.menu-list .btn{justify-content:flex-start}.keys{margin-top:14px;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--ink-2);font-weight:600}.slider{display:flex;align-items:center;gap:10px;font-weight:800;margin:6px 0;min-height:48px}.slider span{width:96px}.slider input{flex:1;accent-color:var(--pink);height:32px;pointer-events:auto}.toggles{display:grid;gap:0}.toggles .toggle{margin-top:8px}.privacy{font-size:13px;color:var(--ink-3);font-weight:600;text-align:center;margin:12px 0 0}.confirm p{font-weight:600;color:var(--ink-2)}.notebook{width:min(720px,calc(100vw - 24px))}.nb-head{display:flex;align-items:center;justify-content:space-between}.nb-count{font-weight:800;color:var(--ink-3)}.nb-intro{font-weight:700;color:var(--ink-2)}.nb-open{display:grid;grid-template-columns:240px 1fr;gap:14px;background:#fffaf0;border-radius:20px;padding:12px;margin-bottom:12px;border:2px solid #f4e6c8}.nb-open h3{margin:4px 0;font-size:22px}.nb-short{margin:0;font-weight:800;font-size:18px;line-height:1.35}.diagram{width:100%;height:auto;background:#eef6ff;border-radius:14px}.npages{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}.npage{pointer-events:auto;border:2px solid var(--line);background:#fff;border-radius:16px;padding:6px;display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:800;font-size:14px;cursor:pointer;min-height:92px}.npage .diagram{border-radius:10px}.npage.sel{border-color:var(--sky);background:#eef6ff}.npage.locked{background:#f4f2f9;color:var(--ink-3);cursor:default}.nlock{flex:1;display:grid;place-items:center}.toast{position:fixed;top:calc(70px + var(--safe-t));left:50%;transform:translate(-50%);background:#fff;border-radius:999px;padding:10px 18px;box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:8px;font-weight:700;z-index:20;animation:toast-in .35s cubic-bezier(.2,1.4,.4,1) both;transition:opacity .4s,transform .4s;border:2px solid #d8c6ff;white-space:nowrap;max-width:calc(100vw - 24px)}.toast .ic{color:#8a63f2}.toast.out{opacity:0;transform:translate(-50%) translateY(-10px)}@keyframes toast-in{0%{transform:translate(-50%) translateY(-16px) scale(.9);opacity:0}}.fatal{position:fixed;inset:0;display:grid;place-items:center;background:linear-gradient(180deg,#9fd3ff,#ffe1ef);pointer-events:auto;z-index:50;padding:16px}.fatal-card{background:#fff;border-radius:28px;padding:28px;max-width:460px;text-align:center;box-shadow:var(--shadow-lg)}.fatal-card p{font-weight:600;color:var(--ink-2);line-height:1.45}.hud{position:fixed;inset:0;pointer-events:none;display:none}.hud.visible{display:block}.topbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:10px;padding:calc(10px + var(--safe-t)) 12px 6px;pointer-events:none}.topbar>*{pointer-events:auto}.mtitle{display:flex;align-items:center;gap:8px;background:#fffffff2;border-radius:999px;padding:6px 16px 6px 8px;box-shadow:var(--shadow);font-weight:900;font-size:18px;min-height:48px;min-width:0}.mname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xbadge{display:inline-flex;align-items:center;gap:3px;background:#f1e8ff;color:#7d4fe0;font-size:13px;border-radius:999px;padding:2px 8px 2px 4px}.xbadge .ic{width:18px;height:18px}.budget{display:flex;align-items:center;gap:2px;background:#fffffff2;border-radius:999px;padding:4px 12px 4px 8px;min-height:48px;box-shadow:var(--shadow)}.tok .ic{width:30px;height:30px;color:#c98f58;transition:transform .2s,color .2s}.tok.used .ic{color:#ddd6ee;transform:scale(.85)}.tok-num{font-weight:900;font-size:20px;margin-left:4px}.tok-num small{font-size:13px;color:var(--ink-2);font-weight:700}.budget.empty .tok-num{color:var(--ink-3)}.budget.shake{animation:shake .4s}@keyframes shake{25%{transform:translate(-6px)}75%{transform:translate(6px)}}.clock{display:flex;align-items:center;gap:6px;font-weight:900;background:#fffffff2;border-radius:999px;padding:0 14px;min-height:48px;box-shadow:var(--shadow);font-variant-numeric:tabular-nums}.clock[hidden]{display:none}.top-tools{margin-left:auto;display:flex;gap:8px}.hint-btn .ic{color:#e0a000}.bubble{position:absolute;display:flex;align-items:center;gap:10px;background:#fff;border-radius:22px;padding:8px 8px 8px 10px;box-shadow:var(--shadow-lg);border:3px solid #d6e9ff;pointer-events:auto;opacity:0;transform:translateY(-8px) scale(.96);transition:opacity .2s,transform .2s;visibility:hidden;max-width:420px;z-index:3}.bubble.visible{opacity:1;transform:none;visibility:visible}.bubble.pop{animation:bubble-pop .35s cubic-bezier(.2,1.5,.4,1)}@keyframes bubble-pop{0%{transform:scale(.85)}}.bubble .pip-face{width:54px;height:48px;flex:none}.bubble p{margin:0;font-weight:800;font-size:17px;line-height:1.3;flex:1}.bubble-x{border:0;background:transparent;width:44px;height:44px;border-radius:50%;cursor:pointer;color:var(--ink-3);flex:none;display:grid;place-items:center}.bubble-x .ic{width:20px;height:20px}.anchors{position:absolute;inset:0;pointer-events:none}.anchors>*{position:absolute;left:0;top:0;pointer-events:auto;will-change:transform}.dragsvg{width:100vw;height:100vh;pointer-events:none!important;display:none;overflow:visible}.dragsvg.on{display:block}.dragsvg line{stroke:#fff;stroke-width:8;stroke-linecap:round;stroke-dasharray:2 14;filter:drop-shadow(0 2px 3px rgba(60,40,110,.4))}.qbadges{pointer-events:none!important}.qbadges>*{position:absolute;left:0;top:0}.spot{width:54px;height:54px;border:0;padding:0;background:transparent;display:grid;place-items:center;cursor:pointer;z-index:2}.spot .dot{width:100%;height:100%;border-radius:50%;border:4px dashed #8f7fd6;background:#ffffffeb;color:#6b5fb0;display:grid;place-items:center;box-shadow:var(--shadow);transition:background .12s}.spot .ic{width:28px;height:28px;stroke-width:3}.spot:not(.built) .dot{animation:spot-breathe 2.2s ease-in-out infinite}@keyframes spot-breathe{50%{box-shadow:0 0 0 6px #8f7fd640,var(--shadow)}}.spot:hover .dot{background:#fff}.spot:active .dot{background:#efeaff}.spot:active .ic{transform:scale(.82)}.spot.built{width:46px;height:46px}.spot.built .dot{width:32px;height:32px;border:3px solid #fff;background:var(--go);color:#fff}.spot.built .ic{width:18px;height:18px}.spot.hinted .dot{border-color:var(--gold);box-shadow:0 0 0 6px #ffc21a73,var(--shadow)}.ltag{display:flex;align-items:center;gap:6px;background:#fffffff0;border-radius:999px;padding:3px 9px 3px 7px;box-shadow:0 2px 6px #3c286e2e;font-weight:900;font-size:14px;pointer-events:none!important;white-space:nowrap}.ltag.off{background:#fffc;color:var(--ink-2)}.ltag.fixed{opacity:.92}.hud.sim .ltag{opacity:.7;transform-origin:center}.lanes{display:inline-flex;gap:2px;align-items:center}.lanes i{width:5px;height:15px;border-radius:3px;background:#c98f58}.lsteps{display:inline-flex;align-items:center;gap:2px}.lsteps .ic{width:18px;height:18px;color:#e0a000}.wtag{display:flex;align-items:center;gap:4px;background:#eef0f8;border:2px solid #c7cadd;border-radius:999px;padding:2px 9px 2px 5px;font-weight:900;font-size:14px;pointer-events:none!important;white-space:nowrap}.wtag small{font-size:11px;color:var(--ink-2)}.wtag.storm .ic{color:#5b5f84}.wtag.wind .ic{color:#4f8fd0}.wtag.active{background:#2f3150;border-color:#fff08a;color:#fff}.wtag.active .ic,.wtag.active small{color:#fff08a}.wtag.past{opacity:.35}.isl{width:46px;height:46px;border-radius:50%;border:3px solid #fff;background:var(--c);color:#fff;display:grid;place-items:center;cursor:grab;box-shadow:var(--shadow);touch-action:none;z-index:1}.isl .ic{width:26px;height:26px}.isl.k-balloon{width:40px;height:40px}.isl.k-balloon .ic{width:22px;height:22px}.iname{position:absolute;bottom:100%;left:50%;transform:translate(-50%,-2px);font-size:12px;font-weight:900;color:var(--ink);background:#ffffffe6;border-radius:999px;padding:1px 7px;white-space:nowrap}.k-balloon .iname{display:none}.cnt{position:absolute;bottom:-8px;right:-24px;background:#fff;color:var(--ink);border-radius:999px;padding:1px 7px 1px 5px;font-size:13px;font-weight:900;display:flex;align-items:center;gap:2px;box-shadow:0 2px 5px #3c286e33;border:2px solid var(--c)}.cnt .ic{width:15px;height:15px;color:var(--c)}.cnt.full{background:var(--go);color:#fff;border-color:#fff}.isl.target{transform-origin:center;outline:4px solid var(--gold);outline-offset:3px}.qb{display:flex;align-items:center;gap:4px;border-radius:999px;padding:3px 10px 3px 6px;font-weight:900;font-size:14px;white-space:nowrap;box-shadow:var(--shadow);border:2px solid #fff;animation:pop-in .3s cubic-bezier(.2,1.5,.4,1) both}@keyframes pop-in{0%{opacity:0}}.qb.queue{background:#ffe7b8;color:#8a5200}.qb.storm{background:#2f3150;color:#fff08a}.qb.nopath{background:#ffd9df;color:#a3243b}.qb .ic{width:18px;height:18px}.hint-arrow{position:absolute;left:0;top:0;pointer-events:none;color:var(--gold);z-index:4}.hint-arrow .ic{width:46px;height:46px;stroke-width:3.2;filter:drop-shadow(0 2px 0 #b07800) drop-shadow(0 4px 6px rgba(0,0,0,.2));animation:arrow-bounce .9s ease-in-out infinite}@keyframes arrow-bounce{50%{transform:translateY(-10px)}}.mapwrap{position:absolute;pointer-events:auto;background:#fffdf8f0;border-radius:22px;box-shadow:var(--shadow-lg);border:3px solid #fff;padding:6px;z-index:2}.mapwrap[hidden]{display:none}.routemap{width:100%;height:100%}.routemap svg{width:100%;height:100%;display:block}.rm-link .rm-hit{stroke:transparent}.rm-link .rm-bar{stroke:#c98f58;stroke-linecap:round}.rm-link.off .rm-bar{stroke:#b3a8d8;stroke-dasharray:4 8}.rm-link[data-link]{cursor:pointer}.rm-link[data-link]:hover .rm-bar,.rm-link[data-link]:focus .rm-bar{stroke:#8f7fd6}.rm-link:focus{outline:none}.rm-link:focus-visible .rm-hit{stroke:#2f8cf040}.rm-step{fill:#ffc94d;stroke:#fff;stroke-width:1.5}.rm-link.off .rm-step{fill:#fff;stroke:#b3a8d8}.rm-weather rect{fill:#eef0f8;stroke:#9da1bd;stroke-width:1.5}.rm-weather.storm{color:#5b5f84}.rm-weather.wind{color:#4f8fd0}.rm-route{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.rm-route.a{stroke:#2b2440;stroke-dasharray:1 9;stroke-width:6}.rm-route.b{stroke:#e0a000;stroke-dasharray:10 7}.panel{position:absolute;pointer-events:auto;display:flex;flex-direction:column;gap:10px;z-index:2}.orders{display:flex;gap:10px}.order{background:#fffdf8f7;border-radius:var(--r);box-shadow:var(--shadow);border:3px solid #fff;padding:8px;display:flex;flex-direction:column;gap:6px;position:relative}.order.sel{border-color:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 25%,transparent),var(--shadow)}.order.star{background:linear-gradient(180deg,#fffbea,#fff4cc)}.order-head{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:2px 4px;min-height:44px;cursor:pointer;border-radius:14px;text-align:left;font-weight:900;font-size:16px}.order-head:hover{background:#00000008}.okey{font-size:11px;color:var(--ink-3);border:1.5px solid var(--line);border-radius:6px;padding:0 4px;line-height:16px}.pk{display:inline-flex;align-items:center;gap:2px;color:var(--c)}.pk .ic{width:28px;height:28px}.pk b{color:var(--ink);font-size:17px}.to .ic{width:18px;height:18px;color:var(--ink-3)}.dest .ic{width:28px;height:28px}.dname{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.moon{display:inline-flex;align-items:center;gap:2px;background:#2f3150;color:#fff;border-radius:999px;padding:2px 9px 2px 5px;margin-left:auto}.moon .ic{width:18px;height:18px;color:#fff08a}.route{display:flex;align-items:center;gap:4px;background:#f4f1fb;border-radius:16px;padding:3px;min-height:50px}.route.b{background:#fff6d6}.route.none{gap:8px;padding:6px 12px;font-weight:800;color:#a3243b;background:#ffe9ec}.cyc{width:44px;height:44px;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 3px #3c286e33;display:grid;place-items:center;cursor:pointer;flex:none}.cyc .ic{stroke-width:3}.cyc:active:not([disabled]){transform:scale(.92)}.cyc[disabled]{opacity:.3;cursor:default}.rinfo{flex:1;display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap;justify-content:center}.rbadge{font-weight:900;font-size:13px;width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:var(--ink);color:#fff}.rbadge.b{background:#e0a000;border-radius:50%}.stops{display:inline-flex;align-items:center}.stop .ic{width:20px;height:20px}.dash{width:8px;height:2px;background:var(--ink-3);display:inline-block;border-radius:2px}.rsteps{display:inline-flex;align-items:center;gap:1px;font-weight:900;border-radius:999px;padding:0 7px 0 3px;font-size:14px}.rsteps .ic{width:16px;height:16px}.rsteps.fine{background:#dff6e8;color:#13703f}.rsteps.slow{background:#ffe5cc;color:#9a4b00}.rwx .ic{width:18px;height:18px;color:#5b5f84}.rcount{font-size:11px;color:var(--ink-3);font-weight:800}.chips{display:flex;flex-wrap:wrap;gap:5px}.chip{display:inline-flex;align-items:center;gap:2px;min-width:44px;height:44px;padding:0 7px;border-radius:12px;border:2px solid var(--line);background:#fff;cursor:pointer;font-weight:900;color:var(--c)}.chip b{color:var(--ink);font-size:14px}.chip .ic{width:22px;height:22px}.chip.a{border-color:var(--ink);border-style:solid}.chip.b{border-color:#e0a000;border-style:dashed;background:#fff6d6}.chip.st-ok{background:#e3f8ea;border-color:#9fdcb6;color:var(--go)}.chip.st-late{background:#fff0e0;border-color:#f0b77a;color:var(--warn)}.chip.insp{outline:3px solid var(--sky)}.route-line{display:flex;gap:6px;align-items:center}.route-line .route{flex:1;min-width:0}.split-btn{display:inline-flex;align-items:center;gap:6px;flex:none;border:2px solid var(--line);background:#fff;border-radius:999px;min-height:44px;padding:0 14px 0 10px;font-weight:800;font-size:15px;cursor:pointer}.split-btn.on{background:#fff6d6;border-color:#e0a000}.split-btn[disabled]{opacity:.45;cursor:default}.progress{display:inline-flex;align-items:center;gap:4px;font-weight:900;margin-right:4px}.progress .ok,.progress .late{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:2px 10px 2px 5px}.progress .ok{background:#e3f8ea;color:#13703f}.progress .late{background:#fff0e0;color:#9a4b00}.actions{background:#fffdf8f7;border-radius:var(--r);box-shadow:var(--shadow);border:3px solid #fff;padding:8px}.act-row{display:flex;gap:8px;align-items:center}.sim-row{justify-content:space-between}.sim-row .btn{margin-left:auto}.speed b{font-size:15px}.timeline{padding:2px 4px 6px}.tl-track{position:relative;height:44px;display:flex;align-items:center}.tl-track .scrub{width:100%;margin:0;accent-color:var(--pink);height:44px;position:relative;z-index:1;background:transparent}.tl-moon{position:absolute;top:-4px;transform:translate(-50%);z-index:2;pointer-events:none}.tl-moon .ic{width:18px;height:18px;fill:currentColor}.tl-wx{position:absolute;bottom:6px;height:6px;border-radius:3px;background:#5b5f84;opacity:.6}.tl-wx.wind{background:#4f8fd0;bottom:0}.tl-label{display:flex;justify-content:space-between;font-weight:800;color:var(--ink-2);font-size:14px}.tl-step{color:var(--ink);font-size:18px}.inspector{position:absolute;pointer-events:auto;background:#fff;border-radius:22px;box-shadow:var(--shadow-lg);border:3px solid var(--c);padding:10px 12px;z-index:5;max-height:46vh;overflow:auto}.inspector[hidden]{display:none}.insp-head{display:flex;align-items:center;gap:10px}.insp-head>div{flex:1}.insp-head b{display:block;font-size:16px}.insp-head small{color:var(--ink-2);font-weight:700}.insp-head .pk .ic{width:34px;height:34px}.insp-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:5px}.insp-list li{display:grid;grid-template-columns:22px 70px 1fr;gap:6px;align-items:center;font-weight:700;font-size:14px;padding:5px 8px;border-radius:12px;background:#f6f4fb}.insp-list li .ic{width:20px;height:20px}.insp-list .when{color:var(--ink-3);font-size:12px;font-weight:800}.insp-list li.warn{background:#fff3e6}.insp-list li.warn .ic{color:var(--warn)}.insp-list li.ok{background:#e7f8ee}.insp-list li.ok .ic{color:var(--go)}.hud.side .panel{top:calc(72px + var(--safe-t));right:12px;bottom:12px;width:350px}.hud.side .orders{flex-direction:column;overflow-y:auto;flex:1;padding:3px;margin:-3px}.hud.side .bubble{left:14px;bottom:14px;max-width:min(420px,calc(100vw - 400px))}.hud.side .mapwrap{left:12px;top:calc(72px + var(--safe-t));width:300px;height:230px}.hud.side .inspector{left:14px;bottom:14px;width:min(380px,calc(100vw - 400px))}.hud:not(.side) .topbar{gap:6px;padding:calc(8px + var(--safe-t)) 8px 4px}.hud:not(.side) .mtitle{font-size:16px;padding:4px 12px 4px 6px;flex:1}.hud:not(.side) .budget{padding:4px 8px 4px 4px}.hud:not(.side) .tok .ic{width:24px;height:24px}.hud:not(.side) .tok-num small{display:none}.hud:not(.side) .top-tools{gap:4px;margin-left:0}.hud:not(.side) .top-tools .icon-btn{width:44px;height:44px;min-width:44px}.hud:not(.side) .clock{padding:0 8px}.hud:not(.side) .panel{left:0;right:0;bottom:0;padding:0 8px calc(8px + var(--safe-b));gap:8px}.hud:not(.side) .orders{overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 3px 4px;margin:0 -3px;scrollbar-width:none}.hud:not(.side) .orders::-webkit-scrollbar{display:none}.hud:not(.side) .order{flex:0 0 min(320px,calc(100vw - 40px));scroll-snap-align:center}.hud:not(.side) .orders:has(.order:only-child) .order{flex-basis:100%}.panel>.bubble{position:static;max-width:none;padding:4px 6px 4px 8px;border-width:2px;border-radius:18px;box-shadow:var(--shadow);gap:8px;transition:none}.panel>.bubble.idle p{color:var(--ink-2);font-weight:700}.panel>.bubble.idle .bubble-x{visibility:hidden}.panel>.bubble.empty{display:none}.panel>.bubble .bubble-x{width:40px;height:40px}.hud:not(.side).sim .progress{display:none}.hud:not(.side) .mapwrap{left:6px;right:6px;top:calc(60px + var(--safe-t));height:auto}.hud.map-cover .anchors,.hud.map-cover .hint-arrow,.hud.map-cover .zoomctl{display:none}.hud:not(.side) .inspector{left:8px;right:8px;top:calc(62px + var(--safe-t))}.hud:not(.side) .btn.small span{display:none}.hud:not(.side) .btn.small{padding:0 12px}.hud:not(.side) .sim-row .btn.small span{display:inline}@media(max-width:560px){.mtiles{grid-template-columns:repeat(3,1fr);gap:8px}.mtile{min-height:118px;padding:10px 4px 8px}.mt-name{font-size:13px}.mt-icon .ic{width:32px;height:32px}.card{padding:18px}.card h2{font-size:22px}.nb-open{grid-template-columns:1fr}.row .btn{padding:0 14px}.results .row .btn span{font-size:15px}.results .row{display:grid;grid-template-columns:1fr 1fr}.results .row .btn{justify-content:center;padding:0 10px}.results .row .btn:nth-child(odd):last-child{grid-column:1 / -1}.title-card{margin-top:3vh}.keys{display:none}.res-head h2{font-size:25px}.tagline{font-size:16px}}@media(max-height:500px){.title-card{margin-top:0;gap:8px;padding:14px 20px}.logo .l1{font-size:34px}.logo .l2{font-size:40px}.btn.huge{min-height:54px}}html.calm *,html.calm *:before,html.calm *:after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}.hud:not(.side) .bubble p{font-size:15px}.hud:not(.side) .bubble .pip-face{width:42px;height:38px}.hud:not(.side).sim .order{padding:6px;gap:4px}.hud:not(.side).sim .order-head{min-height:36px}.hud:not(.side) .timeline{padding:0 2px 2px}.hud:not(.side) .tl-track{height:36px}.hud:not(.side) .tl-label{display:none}.hud:not(.side) .actions{padding:6px 8px}.hud:not(.side) .sim-row .icon-btn{width:46px;height:46px;min-width:46px}.hud:not(.side) .sim-row .icon-btn.big{width:54px;height:54px}.hud:not(.side) .sim-row .btn.small{margin-left:4px}.zoom-reset[hidden]{display:none}.hud:not(.side) .split-btn{width:48px;height:50px;padding:0;justify-content:center;border-radius:16px}.hud:not(.side) .split-btn span{display:none}.hud:not(.side) .rcount{display:none}.hud:not(.side) .isl{width:40px;height:40px}.hud:not(.side) .isl .ic{width:22px;height:22px}.hud:not(.side) .iname{display:none}.hud:not(.side) .spot{width:46px;height:46px}.hud:not(.side) .spot.built{width:44px;height:44px}.hud:not(.side) .ltag,.hud:not(.side) .wtag{font-size:12px;padding:2px 7px 2px 5px}.hud:not(.side) .lanes i{width:4px;height:12px}.hud:not(.side) .lsteps .ic,.hud:not(.side) .wtag .ic{width:15px;height:15px}.hud:not(.side) .budget .tok{display:none}.hud:not(.side) .budget .tok:first-child{display:inline}.hud:not(.side) .budget .tok:first-child .ic{color:#c98f58;transform:none}@media(max-width:600px){.toast{top:calc(60px + var(--safe-t));font-size:14px;padding:8px 14px}}.hud.side .panel,.hud.side .orders{pointer-events:none}.hud.side .order,.hud.side .actions{pointer-events:auto}.zoomctl{position:absolute;display:flex;flex-direction:column;gap:6px;z-index:3}.zoomctl .icon-btn{width:44px;height:44px;min-width:44px}.zoomctl .icon-btn .ic{stroke-width:2.6}.hud.side .zoomctl{right:374px;bottom:14px}.hud:not(.side) .zoomctl{right:8px;top:calc(64px + var(--safe-t))}.hud.side .zoom-reset,.hud:not(.side) .zoom-reset{position:static}.hud.dense .isl{width:34px;height:34px;border-width:2px}.hud.dense .isl .ic{width:19px;height:19px}.hud.dense .iname{display:none}.hud.dense .spot{width:44px;height:44px}.hud.dense .spot .ic{width:22px;height:22px}.hud.dense .spot.built{width:44px;height:44px}.hud.dense .spot.built .dot{width:28px;height:28px}.hud.dense .ltag,.hud.dense .wtag{font-size:11px;padding:1px 6px 1px 4px;gap:3px}.hud.dense .lanes i{width:3px;height:10px}.hud.dense .lsteps .ic,.hud.dense .wtag .ic{width:13px;height:13px}.hud.dense .cnt{font-size:11px;bottom:-7px;right:-18px}
