:root{--ink:#24465f;--muted:#7c92a4;--blue:#4e91bf;--shadow:0 10px 25px #264c7018;font-family:ui-rounded,'SF Pro Rounded','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',system-ui,sans-serif;color:var(--ink);background:#eef2f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 10% 16%,#fdfcf5,transparent 58%),radial-gradient(ellipse at 92% 90%,#dbe8ee,transparent 53%),#ecf1f4;user-select:none;-webkit-user-select:none}button,select{font:inherit}button{cursor:pointer;border:0;color:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible{outline:3px solid #459acf;outline-offset:4px}button:disabled{cursor:default}svg{width:24px;height:24px;vertical-align:middle;flex:none}button svg{pointer-events:none}.layout{height:100vh;height:100dvh;display:flex;justify-content:center;align-items:center;gap:clamp(32px,5vw,84px);padding:16px 32px}.game-shell{position:relative;flex:none;border-radius:29px;box-shadow:0 30px 70px #1f41632a,0 0 0 7px #ffffffc0,0 1px 1px #fff;overflow:hidden;background:#eeeade}.game-stage{position:absolute;width:480px;height:960px;transform-origin:0 0;overflow:hidden;isolation:isolate;touch-action:none}.game-stage canvas{position:absolute;inset:0;width:480px;height:960px;display:block;touch-action:none}.game-head{position:absolute;left:20px;right:20px;top:21px;display:flex;align-items:center;gap:12px;pointer-events:none;z-index:3}.game-head button{pointer-events:auto}.icon-button{width:56px;height:56px;border-radius:19px;background:linear-gradient(#fff,#eef6fc);box-shadow:inset 0 -3px 0 #dce9f3,0 4px 0 #9bb8ce,0 6px 9px #39536b20;border:2px solid #fff;display:grid;place-items:center}.icon-button svg{width:31px;height:31px;color:#448bc0;filter:drop-shadow(0 2px 0 #bddeed)}.level-button{height:52px;min-width:159px;padding:0 20px;display:flex;align-items:center;justify-content:center;gap:11px;border-radius:26px;background:linear-gradient(#fff,#edf7fd);box-shadow:inset 0 -2px 0 #dfecf7,0 4px 0 #9ebcce,0 5px 9px #3b546b15;border:2px solid #ffffff;font-weight:850;color:#2c5579}.level-button>span{font-size:18px;letter-spacing:1px}.level-button strong{font-size:29px;font-weight:900;letter-spacing:.5px}.level-button svg{width:13px;height:13px;color:#98b3c8;margin-left:1px}.wallet{margin-left:auto;height:45px;min-width:109px;display:flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(#fffdf8,#f9f4e6);padding:0 12px 0 6px;border-radius:24px;box-shadow:0 3px 0 #c7baa0;border:2px solid #fff9;font-size:22px;font-weight:900;color:#63523b;pointer-events:none}.coin{width:31px;height:31px;background:linear-gradient(135deg,#ffed9b,#edbd45);border:2px solid #fff2af;box-shadow:inset 0 0 0 2px #dfac36,0 2px 0 #caa449;border-radius:50%;display:grid;place-items:center;color:#c0892e;text-shadow:0 1px #fff6bd;font-size:18px}.top-stats{position:absolute;top:115px;left:26px;pointer-events:none;z-index:2}.passenger-meter{height:66px;min-width:149px;display:flex;gap:11px;align-items:center;padding:6px 16px 8px 11px;border-radius:13px;background:linear-gradient(120deg,#5089b3,#3e7098);box-shadow:inset 0 0 0 2px #92b9d2,0 4px 0 #a0b5c0,0 6px 8px #475c681c;border:3px solid #daeaf2;transform:rotate(-3deg);color:white}.passenger-meter:after{content:'';position:absolute;width:5px;height:15px;bottom:-19px;left:20px;background:linear-gradient(90deg,#9cb1bc,#cad7d6);box-shadow:89px 0 #a6bac4}.meter-icon svg{width:31px;height:35px;color:#f4f9fc}.passenger-meter>div{display:flex;flex-direction:column;line-height:1.03}.passenger-meter strong{font-size:29px;letter-spacing:.6px}.meter-label{font-size:10px;letter-spacing:1px;margin-top:4px;color:#edf5f9}.progress-line{display:flex;gap:9px;align-items:center;font-size:9px;color:#7790a0;margin:10px 0 0 4px}.progress-line b{font-weight:750}.meter-track{display:block;width:52px;height:4px;border-radius:4px;background:#d1dcd9;overflow:hidden}.meter-track i{display:block;height:100%;width:0;background:#7da9bf;border-radius:4px;transition:width .25s}.queue-peek{position:absolute;top:204px;left:26px;height:19px;display:flex;gap:8px;align-items:center;padding:0 10px;border-radius:14px;background:#fffdf4eb;color:#788b95;box-shadow:0 2px 0 #cecfc329;z-index:2;font-size:10px;font-weight:700}.queue-peek>svg{width:11px;height:11px;color:#9cafb9}.groups{display:flex;align-items:center;gap:9px}.q-group{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#4b677d;font-weight:800}.dot{display:inline-block;width:11px;height:11px;background:var(--dot,#75afd0);border-radius:50%;border:1px solid #ffffff8c;box-shadow:inset 0 -2px 0 #203a4418;flex:none}.lot-heading{position:absolute;left:28px;right:28px;top:465px;display:flex;justify-content:space-between;align-items:center;color:#6c8495;pointer-events:none;font-size:10px;font-weight:700}.lot-heading>span{display:flex;align-items:center;gap:4px}.lot-heading svg{width:14px;height:14px}.lot-heading small{font-size:9px;font-weight:500}.lot-heading b{font-size:10px;font-weight:750;margin-left:4px;color:#486c88}.game-tip{position:absolute;left:34px;right:34px;top:819px;min-height:27px;padding:6px 13px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;line-height:1.45;font-weight:700;color:#678298;border-radius:15px;background:#f9fcf7d9;box-shadow:0 2px 7px #40576a09;pointer-events:none;z-index:2}.game-tip .dot{width:9px;height:9px}.game-tip.warning{background:#fff2d5e8;color:#9a7a44}.tools{position:absolute;left:33px;right:33px;top:858px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;z-index:5}.tool{position:relative;height:83px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:2px solid #fff;border-radius:20px;background:linear-gradient(#fff,#e6f2fc);box-shadow:inset 0 -3px 0 #cbdff0,0 4px 0 #8daeca,0 6px 9px #415d7826;padding:2px 6px 9px;color:#2c5679;transition:transform .12s,filter .12s}.tool:not(:disabled):active,.icon-button:active,.level-button:active{transform:translateY(3px);box-shadow:inset 0 -2px 0 #c4dbe9,0 1px 0 #8daeca}.tool-art{position:absolute;left:8px;right:8px;top:5px;height:48px;border-radius:12px;background:linear-gradient(#fff1b9,#ffe091);box-shadow:inset 0 0 0 1px #fff7d8;display:flex;align-items:center;justify-content:center}.tool-art img{width:90px;height:60px;object-fit:contain;transform:translateY(-4px);pointer-events:none}.tool-symbol{position:absolute;left:2px;bottom:3px;width:24px;height:24px;color:#277c91;filter:drop-shadow(0 1px 0 #effbf6);stroke:#fff9;stroke-width:.4px}.tool:nth-child(2) .tool-symbol{color:#4485c5}.tool:nth-child(3) .tool-symbol{color:#c39337;left:auto;right:1px}.tool strong{font-size:14px;letter-spacing:.3px;font-weight:900;line-height:1.2}.uses{position:absolute;right:-6px;top:-10px;min-width:28px;height:28px;padding:0 5px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(#6db8e8,#418cc4);border:2px solid #e1f1f8;box-shadow:0 2px 0 #3d77a8;color:#fff;font-size:14px;font-weight:900;text-shadow:0 1px #286a9a}.tool:disabled{filter:saturate(.6);opacity:.60}.auto-banner{position:absolute;top:83px;left:88px;right:88px;z-index:12;background:#f9fcffed;color:#3f6d90;box-shadow:0 3px 12px #3c638327;display:none;justify-content:space-between;align-items:center;padding:7px 11px;border-radius:13px;font-size:11px;font-weight:750}.auto-banner.show{display:flex}.auto-banner button{padding:5px 9px;background:#e5f0f8;color:#4b7797;border-radius:8px;font-size:10px}.toast{position:absolute;left:28px;right:28px;top:769px;z-index:55;background:#28485eea;box-shadow:0 5px 16px #263a4d25;color:#fff;border:1px solid #dbeaf225;padding:12px 16px;border-radius:17px;font-size:12px;font-weight:650;text-align:center;line-height:1.6;opacity:0;transform:translateY(8px);pointer-events:none;transition:.18s}.toast.show{opacity:1;transform:none}
.overlay{position:absolute;inset:0;z-index:40;background:#24466670;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:28px;opacity:0;visibility:hidden;transition:opacity .18s,visibility .18s;touch-action:pan-y}.overlay.show{opacity:1;visibility:visible}.dialog{position:relative;max-height:850px;width:100%;border-radius:30px;background:#fbfdff;padding:28px;box-shadow:0 18px 70px #16335240;border:2px solid #fff;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.dialog h2{font-size:26px;margin:2px 0 8px;letter-spacing:1px}.dialog h3{font-size:17px;margin:19px 0 8px}.dialog p{font-size:14px;line-height:1.8;color:#72869a;margin:8px 0 18px}.dialog .eyebrow{font-size:10px;letter-spacing:2.5px;color:#8a9eb1;font-weight:800;margin:0 0 8px}.dialog-close{position:absolute;right:16px;top:16px;width:31px;height:31px;border-radius:10px;background:#ecf3f8;color:#5e7d96;display:grid;place-items:center}.dialog-close svg{width:18px;height:18px}.btn{width:100%;border-radius:15px;padding:14px 16px;font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;transition:filter .15s}.btn:hover{filter:brightness(1.03)}.btn.primary{background:#438fc5;color:#fff;box-shadow:0 4px 0 #316fa1}.btn.secondary{background:#edf4f9;color:#4e708c;margin-top:12px}.btn.gold{background:#f3cc76;color:#6c5428;box-shadow:0 4px 0 #d9ad5a}.btn.ghost{background:transparent;color:#8195a7;font-size:12px;margin-top:8px;padding:10px}.dialog .btn-row{display:flex;gap:10px}.dialog .btn-row .btn{margin:12px 0 0;flex:1}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0 17px}.level-tile{height:77px;position:relative;border-radius:15px;background:#eef4f8;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 3px 0 #b6cdd95e}.level-tile b{font-size:23px;font-weight:900;color:#466b88}.level-tile small{font-size:9px;letter-spacing:0;color:#c2a14f;height:12px}.level-tile.active{border-color:#6aa6cf;background:#e0f1fc}.level-tile.done{background:#fff0c4}.level-tile .hard{position:absolute;right:4px;top:3px;width:5px;height:5px;border-radius:50%;background:#d2a873}.legend-row{display:flex;gap:13px;flex-wrap:wrap;font-size:11px;color:#849aac;align-items:center}.help-row{display:flex;align-items:flex-start;gap:13px;margin:20px 0}.step-number{width:29px;height:29px;border-radius:10px;background:#e9f3fb;color:#4a84b1;font-weight:900;font-size:14px;display:grid;place-items:center;flex:none}.help-row strong{font-size:15px}.help-row p{font-size:13px;margin:4px 0 0;line-height:1.7}.car-capacities{display:flex;gap:9px;margin:16px 0 21px}.capacity-card{flex:1;text-align:center;border-radius:14px;background:#eef5fa;padding:12px 5px;color:#6a849b;font-size:11px}.capacity-card b{display:block;font-size:23px;color:#376987}.setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2edf4;padding:16px 0;font-size:14px}.toggle{min-width:63px;border-radius:12px;background:#e4eef5;padding:8px 12px;font-size:12px;font-weight:800}.toggle.on{background:#568dbb;color:white}.setting-row select{border:0;border-radius:10px;padding:8px;background:#eaf3f9;color:#617f98;font-size:13px}.queue-list{display:flex;gap:8px;flex-wrap:wrap;max-height:390px;overflow-y:auto;padding:4px 0 12px}.queue-chip{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:12px;background:#edf4f9;color:#426581;font-weight:800;font-size:13px}.queue-chip:first-child{outline:2px solid #b0ccdf}.queue-chip .dot{width:13px;height:13px}.queue-chip small{font-size:10px;font-weight:600;color:#8ca0b1}.sort-options{display:grid;gap:10px;margin:20px 0}.sort-option{display:flex;align-items:center;gap:12px;border:2px solid transparent;padding:14px;border-radius:16px;background:#edf4f8;text-align:left}.sort-option .dot{width:27px;height:27px}.sort-option strong{font-size:15px}.sort-option small{display:block;font-size:12px;color:#8194a5;margin-top:3px}.sort-option svg{margin-left:auto;width:18px}.result{text-align:center}.result .dialog-close{display:none}.result-badge{width:86px;height:86px;margin:0 auto 18px;border-radius:30px;background:linear-gradient(#ffe7a8,#f2c66d);display:grid;place-items:center;box-shadow:0 7px 0 #dab56a3b;transform:rotate(-5deg)}.result-badge svg{width:47px;height:47px;stroke:#a87929;stroke-width:1.7}.result-badge.fail{background:#edf4f8;box-shadow:0 7px 0 #b6ccd94a}.result-badge.fail svg{stroke:#7197b4}.result-stars{display:flex;justify-content:center;gap:10px;margin:17px 0}.result-stars svg{width:39px;height:39px;fill:#f6c669;stroke:#dca348}.result-stars svg.off{fill:#e7eff5;stroke:#cbd9e3}.result-details{background:#edf4f9;padding:14px 16px;border-radius:15px;text-align:left;font-size:12px;color:#7b8fa0;line-height:2;margin:17px 0 21px}.result-details b{color:#426c8d}.reward{display:flex;align-items:center;justify-content:center;gap:7px;font-size:18px;font-weight:850;color:#a97f37;margin:16px 0}.completion-note{font-size:12px;color:#708ba1;line-height:1.8}.sidebar{width:300px;flex:none;align-self:center}.brand-line{font-size:10px;color:#7b9ab0;font-weight:850;letter-spacing:3px;display:flex;align-items:center;gap:10px}.brand-line>svg{width:28px;height:28px;color:#4f88b1;background:#e0edf5;padding:4px;border-radius:8px}.sidebar h2{font-size:39px;line-height:1.4;letter-spacing:1.4px;font-weight:850;margin:22px 0 15px;color:#274964}.sidebar h2 span{color:#789bb4}.sidebar>.intro{font-size:13px;line-height:1.9;color:#728a9c;margin:0 0 27px}.info-card{border-radius:21px;padding:22px;background:#ffffffcc;border:1px solid #fff;box-shadow:0 9px 35px #35597706}.card-kicker{display:flex;align-items:center;justify-content:space-between;color:#92a8b9;font-size:10px;font-weight:750;letter-spacing:.6px}.difficulty{padding:4px 9px;border-radius:8px;background:#f8f1e1;color:#a58c59;letter-spacing:0}.info-card h3{font-size:20px;margin:11px 0 9px;color:#395c76}.info-card p{font-size:12px;line-height:1.9;color:#738a9b;margin:0}.mini-stats{display:flex;justify-content:space-between;padding-top:18px;margin-top:17px;border-top:1px solid #edf2f5}.mini-stats div{display:flex;flex-direction:column;gap:4px}.mini-stats b{font-size:23px;font-weight:850;color:#4b7798}.mini-stats small{font-size:10px;color:#92a7b8}.side-actions{display:flex;gap:10px;margin-top:13px}.side-actions button{border:1px solid #fff;border-radius:13px;padding:12px 10px;flex:1;font-size:12px;font-weight:750;background:#ffffff9c;color:#6688a0}.side-actions button:hover{background:#fff}.side-actions button svg{width:16px;height:16px;margin-right:5px}.micro-rule{display:flex;align-items:flex-start;gap:10px;margin:21px 1px;color:#8aa0b0;font-size:11px;line-height:1.9}.micro-rule svg{width:17px;height:17px;margin-top:3px;color:#8babbe}.demo-tools{border-top:1px solid #d8e3eb;padding-top:15px;color:#8b9fab;font-size:11px}.demo-tools summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;font-size:11px}.demo-tools summary:after{content:'+'}.demo-tools[open] summary:after{content:'−'}.demo-tools-content{padding-top:14px;display:grid;gap:10px}.demo-tools-content button{padding:11px;border-radius:10px;background:#e1edf5;color:#5881a0;font-size:12px;font-weight:750}.debug-label{display:flex;justify-content:space-between;align-items:center;font-size:11px}.debug-label select{border:0;border-radius:7px;padding:6px;background:#fff9;color:#69869a}.debug-text{font-family:ui-monospace,monospace;font-size:10px;line-height:1.7;color:#90a4b4;word-break:break-all;margin:0}.side-footer{font-size:10px;line-height:1.9;color:#a4b3bf;margin-top:22px;letter-spacing:.4px}.keyboard-tag{display:inline-block;border:1px solid #cedde6;border-bottom-width:2px;padding:0 4px;border-radius:4px;font-size:9px;color:#91a6b4}body.modal-open .sidebar{opacity:.72}.dialog .btn{letter-spacing:.25px}.dialog .level-tile{transition:transform .12s}.dialog .level-tile:hover{transform:translateY(-2px)}@media(max-height:820px) and (min-width:871px){.sidebar h2{font-size:32px;margin:13px 0 9px}.sidebar>.intro{margin-bottom:16px}.micro-rule{margin:16px 0}.sidebar .side-footer{margin-top:12px}.sidebar{max-height:calc(100dvh - 36px);overflow-y:auto;scrollbar-width:thin;padding-right:3px}}@media(max-width:870px){.sidebar{display:none}.layout{padding:12px;gap:0}.game-shell{border-radius:24px}}@media(max-width:520px){body{background:#ecefe9}.layout{padding:0}.game-shell{border-radius:0;box-shadow:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
