 :root{color-scheme:dark;font-family:system-ui,"Microsoft YaHei",sans-serif;color:#e7f7ff;background:#070d1b}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#123146,transparent 55%),radial-gradient(ellipse at 90% 70%,#251947,transparent 60%);min-height:100vh}button,.button{font:inherit;cursor:pointer;border:1px solid #39506b;background:#112039;color:#c8e5f8;border-radius:9px;padding:11px 17px;text-decoration:none;transition:.18s}button:hover,.button:hover{border-color:#65efff;background:#18354d}button:focus-visible,a:focus-visible{outline:2px solid #ff83c7;outline-offset:4px}button:disabled{opacity:.4;cursor:default}.primary{background:#64ebed;color:#062633;border-color:#64ebed;font-weight:800}.primary:hover{background:#a3ffff}header{padding:22px 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #29415a}header a{color:#9bc6da;text-decoration:none}header span,.eyebrow{font-size:11px;letter-spacing:.23em;color:#69d9df}main{max-width:1280px;margin:auto;padding:35px 4%}.panel{text-align:center;max-width:900px;margin:25px auto}h1{font-size:clamp(48px,8vw,88px);letter-spacing:.12em;margin:18px 0;background:linear-gradient(110deg,#63eeff,#b8a2ff,#ff9bcf);background-clip:text;color:transparent;text-shadow:0 0 60px #48ccfa33}.subtitle,.muted{color:#92a9c2;line-height:1.8}.hero{margin:25px auto;max-width:700px}.hero svg{width:100%;fill:none;stroke:#66efff;stroke-width:2;filter:drop-shadow(0 0 8px #44dfff)}.hero .pink{stroke:#cc95ff}.menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:540px;margin:auto}.menu-actions button,.menu-actions a{padding:16px}.level-head{display:flex;justify-content:space-between;gap:20px;align-items:center}h2{margin:9px 0;font-size:28px}.level-head p{color:#94adc5;font-size:14px}.budget{display:grid;text-align:right;gap:4px;white-space:nowrap}.budget small,.budget span{color:#8babc1;font-size:12px}.budget strong{font-size:29px;color:#80f7d3}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 12px}#materials,.tools{display:flex;gap:6px;flex-wrap:wrap}.selected{border-color:#69efff;background:#1e465b;box-shadow:0 0 15px #53eeff22}.stage{position:relative;border:1px solid #34526c;border-radius:15px;overflow:hidden;background:#080f20;box-shadow:0 20px 70px #0005}canvas{width:100%;height:460px;display:block;touch-action:none}.stage-label{position:absolute;left:20px;top:18px;color:#64839e;font-size:10px;letter-spacing:.17em;pointer-events:none}#status{position:absolute;left:16px;right:16px;bottom:14px;background:#101f35e8;border:1px solid #2d5368;padding:11px 15px;border-radius:8px;font-size:13px;color:#a9dae6;pointer-events:none}.under{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#89a6bd;margin-top:14px}dialog{color:#e7f7ff;background:#101c30;border:1px solid #456c88;border-radius:18px;width:min(680px,92vw);max-height:85vh;padding:32px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#020713cc;backdrop-filter:blur(7px)}.close{float:right;padding:3px 11px;font-size:24px}.level-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.level-grid button{text-align:left;line-height:1.8}.level-grid small{display:block;color:#8daec6}dialog p,dialog li{line-height:1.9;color:#a9bfd1}dialog h2{font-size:26px}dialog label{display:block;margin:22px 0}dialog button{margin-top:8px}[hidden]{display:none!important}@media(max-width:650px){header span{display:none}main{padding:22px 12px}canvas{height:410px}.level-head{align-items:start}h2{font-size:21px}.budget strong{font-size:24px}.toolbar button{font-size:12px;padding:10px}.menu-actions{gap:8px}.under{font-size:11px}.level-grid{grid-template-columns:1fr}}

.campaign-summary{text-align:left;margin:28px auto 0;max-width:700px;background:#102137b8;border:1px solid #335168;border-radius:14px;padding:22px}.campaign-summary h3{margin:12px 0;color:#cceff7}.campaign-summary p{font-size:13px;line-height:1.9;color:#99b5c9}.campaign-track{display:flex;flex-wrap:wrap;gap:8px}.campaign-track span{font-size:10px;border:1px solid #30455e;color:#70879e;border-radius:5px;padding:7px}.campaign-track .active{color:#77eaff;border-color:#61d9ec}.campaign-track .done{color:#9df6ce;border-color:#52a58b}.chapter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.chapter-tabs button{padding:8px 13px;font-size:12px}.chapter-title{color:#b8efff}.chapter-title small{font-size:12px;color:#8caec3;font-weight:400;margin-left:12px}.locked{opacity:.65}.level-preview{display:block;width:100%;border:1px solid #39556c;border-radius:10px;margin:16px 0}.chapter-kicker{font-size:12px;color:#71dce7!important;margin-top:-4px}.preview-stats{display:flex;justify-content:space-around;border-bottom:1px solid #2d455e;padding-bottom:16px;gap:12px;color:#97b4c7;font-size:12px}.preview-stats b{color:#c9f4ff;margin-left:6px}.radio{border-left:2px solid #79dfea;background:#18344866;padding:13px 16px;margin:16px 0;color:#c0e7ef;font-size:13px;line-height:1.9}.mission-goal{font-size:13px}.mission-goal strong{color:#82eac4;margin-right:8px}.clearance-note{font-size:12px!important;color:#9ab3c9}.preview-actions{display:flex;gap:8px;flex-wrap:wrap}.chapter-intro,.chapter-ending{font-size:13px}.mission-story{font-size:12px!important;color:#9fbbc7!important;max-width:760px;line-height:1.7}dialog{width:min(850px,94vw)}.level-grid button small{min-height:20px}.level-grid button small:last-child{color:#8ecabd}@media(max-width:650px){.preview-stats{gap:5px;font-size:10px}.preview-stats b{margin-left:3px}dialog{padding:22px}.chapter-tabs{gap:5px}.chapter-tabs button{padding:7px 8px}.level-preview{min-height:150px}.campaign-summary{padding:16px}.level-head{gap:9px}.level-head .eyebrow{font-size:9px;letter-spacing:.1em}.mission-story{font-size:11px!important}}

.terrain-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #31536a;background:#10263b;border-radius:9px;padding:10px 14px;margin:0 0 12px;font-size:11px;color:#9dbdce;line-height:1.7}#terrainInfo{max-width:75%}#terrainHUD{white-space:nowrap;color:#a7e9ed}.terrain-brief{background:#1b30456b;border:1px solid #33566c;border-radius:9px;padding:13px 15px;font-size:12px}.terrain-brief strong{color:#9ce5ed}.terrain-brief p{margin:6px 0;font-size:12px}.terrain-brief small{color:#b8c8df;line-height:1.8}@media(max-width:650px){.terrain-bar{align-items:start;flex-direction:column;gap:4px}#terrainInfo{max-width:100%}#terrainHUD{font-size:10px}}

.driver-setting{display:flex;gap:6px;align-items:center;font-size:12px;color:#a8cad7}.driver-setting select{padding:10px;border:1px solid #39506b;border-radius:8px;background:#12243a;color:#d0e9ef}.durability-panel{padding:16px 18px;margin-top:14px;border:1px solid #33566c;border-radius:12px;background:#11253b}.durability-title,.telemetry{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#abc5d3}.durability-title strong{color:#e0f3f7;font-size:13px}#healthValue{color:#90f5d1;font-variant-numeric:tabular-nums}.health-track{height:12px;overflow:hidden;border-radius:7px;background:#283b4c;margin:11px 0}#healthFill{width:0;height:100%;background:#51d3b1;transition:width .12s linear}.telemetry{font-size:11px;line-height:1.8}.telemetry strong{color:#e2c78b;font-size:12px}.vehicle-brief{border:1px solid #3c6076;border-radius:10px;background:#18304477;padding:14px;margin:12px 0;font-size:13px}.vehicle-brief strong{color:#9de8e9}.vehicle-brief p{font-size:12px;margin:7px 0}.vehicle-brief small{color:#b5c9d6;line-height:1.8}.stage-label{color:#2b667c;background:#e5f7f9ad;border:1px solid #d5edf1;padding:5px 8px;border-radius:5px}#materials button{font-size:12px}#materials button[data-type="wood"]{background:repeating-linear-gradient(8deg,#5b402c,#5b402c 3px,#674a32 4px,#674a32 6px);color:#f4d2a0}#materials button[data-type="steel"]{background:linear-gradient(#758a99,#344e63 48%,#7b8e9d 52%,#334c61);color:#e5f1f5;box-shadow:inset 0 0 0 1px #b8c6cf44}#materials button[data-type="cable"]{border-style:dashed;color:#ffafd6}#materials button[data-type="road"]{background:#354650;color:#dce9dc}#materials button.selected{outline:2px solid #6aeeef;outline-offset:2px}@media(max-width:650px){.telemetry{align-items:start;flex-direction:column;gap:3px}.durability-panel{padding:12px}.driver-setting select{font-size:11px;padding:8px}.tools{align-items:center}.stage-label{font-size:8px}}

.result-stars{display:inline-block;font-size:42px;letter-spacing:.18em;color:#ffd584;text-shadow:0 0 20px #fbb75566}.stage{border-color:#69dbe6;box-shadow:0 0 25px #46bbd424,0 20px 70px #0005}

.scene-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#66cddd #142a3a;scrollbar-width:thin}.scene-scroll canvas{max-width:none;min-width:100%;display:block}.convoy-brief{padding:12px 15px;border:1px solid #447183;border-radius:9px;margin:14px 0;background:#16384699;color:#b6e4ec;font-size:12px;line-height:1.9;max-height:130px;overflow:auto}#materials button[data-type="concrete"]{background:repeating-linear-gradient(110deg,#647a85,#647a85 5px,#718691 6px,#718691 7px);color:#d9f5f5}
