@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-wght-normal-Bc-8i84L.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAfsABQAAAAAEAwAAAeCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoP0hWQVJbBmA/U1RBVIFiJyYAdC9qEQgKhGSEAAsgADCGCAE2AiQDOgQgBYlMB4EUDAcbLQ4onoexrSC/2ZyLAa8p8VHB8/x3Vue+V0hVJalMJg2nx/TCrQXxBeqLjQG7FyM1WEa/X1tEXN7cFz9EJEMmMUz3RihWSSKeQCbcIou0izz/C8v+fq3VfajEa9gDD11CImXS7qL/RJFVzC1qiB6KmKeD6TZdQ6IRGv78dL6uSVVCfgni5mzu7kcgQBgAEAQTQRCoL++STTYybkJxNfQxAAIAGu8OdEB9teW2jh4BpgDqFjAeSEByW3zFP0CBBgNMsMCGEDjgggdhiEAUAeIIED7ABTDUEnkIE9Q9ahFgKttcVhApo4ACB4qobHaccgDfEjFO6aaWUhjMLt2SyIvHKoDqoA4CSUwEIYQCEjhAO9R1G6keDeDZGjNo+AhxOjCEGTr1WeIF3kYBiLAOKvkJSMiKX0VdAyQt3SDJClCkxJCHkCzfqyVTriJZLcolS32JZHUekq2TYNkYtCtjYHMQXSxGjXDz2t/yLWXzDzxz+o3zFwDEaN23F+13pyMdQAEaSKAR9vcGq4A4MTSKCElGW+M7UcY7xqkggITb28ZJhlqc9q2twYKTt0NjixBgYvO9BIihEBLYuOFXQzfIQ7dXGUEEEgFDooBfAzqiQbpJrhiWSuKJCRFKYbHCyJKI2G5GiZbNAvgAu5pc3vwx4G+g3aDkhklABiSz0BICXrYghtYhx/cdJ+44rY2oZ0aMNRFz3VZjb6W33F3gzltqtOCV8tTHSpOeXuItfvr5lCdfzFpqtEitvqdcdGGFd28ZqqC0tPbeChGXgrIlnhSWu/eUso4uKWFLugyDzQJhflY4659+WjQ++6x72WUMv9G8mw6QJl7BVxX5fe/kpUsOvnZwee9uQ0cGXYd0o89XB2748sDSnt8d2VphdOTTgceDVvOds0v9P/s7HPq15aGun/6Vllb56f1dl0t1LejqrNkpdRZsG8TOnM5vkBG5oiVyVGnS8LHps5cfNWJs6qKPfaNSxiQNBUm3cKNWROr0GSur7Za31k1vieq7LH11VF+jXdRIasRKflc7jkobm1Z9te1IyZA0pDkhLR98+H37Zf1c/8at+dB7x+7GfVyTfJMPiYztsnl59Y5l4j+0n1RXlpHnF3Tq7HecmNF/CJodEMAikruxiyJaGLvHOdAfoA+oDvpjBm2b91cHGRZMU9n25xEU0A8fgEEAdKI3Q1iDtc034sug5YVMkE2jsE+BIkwSoQ3gxXMqz9tELp48bd0cFKOKS7xYjEuXBnZP5ia7DyiO/X/YI+PQSbt2uSdqAkWL9nQbV1XB94/+uPfdZz8dnXYFBYrcTl2SIR/ybxJNJPz/Gupb0JaZeens2ekC7EKr8t+Ls/P5VJPYJdHKyqfg2nqU6bhlidzcddQV/7MmecTzJ5VPcKXkNKSEogHjYFx6QZ7rQ+FSe8njaiNuOnXS8H2ScQ619c2mC3VTtauL0rRbXd/CkSOP37FY9Zkjz8+GibYUMOEWF+RdrFS8Ecv1SHOpPUPZGEIpjPvFyU5cXKjd6OXqorTqy9GwRd++HVufPGnVsW+aO3vggKZ18jR9sXaTC1PWTEsVUaK0FkNySbTQDqlm2PfDjZcu4aalnSLKjnOoYQ0nUlqqXcGpPu/4VgV/xU2pAqW4BW3qzhQ8/hFKhV2qE3+BKAtDqBXjfgnVdH4y0wg5tbVNRenNdTWOrenWLcupQdmsbq5b+18piTe/xRdp1xbILxNPJGInm2z6hoB21Lal0i+ePTtd7B45+3XhFJ329evskXm7qurUVREotqSluSo/L29d3qDhI4YOQqWhI4YNvBNfsMHeXKemXrxQfKeuPOGRVayA3JtkJKEgbPp+dXUDluddutRYLFoXGXWX6N3WFaGLbQtRSitVYNacTNSdy7AaG/HSaUEANcBoGXNdcZvZsOqQ1icBDv21/gzAoYPHH/WDW0qNR3QTYKEAEHig6o13NXbND06CQPlRtYjGNnSktRc09k1mAMDvAlDKfQjgy6fssInlfzmNAjKkDxoxHOBLdVRAIVt9j4qo+hA1w9T1aNBNTUOTTNUHLbqokE+UAfJXCIGw/IxCSL5GRUJeR40rL/UxTm4Q08H6MbCs70ObuNyIIXrINHQYInF06UUlevTjbQzTh5upiDMzMMogUtEnjPs/Y7jAHCJeB0GBHh04tC6FiB6ZFB1oArUSIoFoqhzCeAN6lHwm0T4C3VVPWvjpSMXReuWesMEcoqrmgtNBGd2noWeV0hNAz9rFeShNJxHGsPa3HXeKTk8b55hahySYHaYKKFFLpCfN8rsoaJn01CR04Gkc+5k7KVTCmClX8Q10HCrUEkVlSX+XO33oQR9609tJ516H497WSobWs5Up6TLaS10/dessIskgJSLiDlWvHVUywpkQ7hdPZqGyiEF0uVQerVcPamT1A3eKXdyI1vG9OoflrSXihZ1qqGE3nhmAgiIbRCQgPLEPtOM3UQwTLYaYYomNlpA44opnjV6jkD6id80OOrzf6BzmMD6eEa1zKyeYG1fzfEf16V6jw9XYOaar1/b2kP/IYX8oR2mcFvv2GtBV3JXgd437AQAA) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #0e1715;--bg-deep: #09110f;--panel: rgba(20, 31, 28, .9);--panel-solid: #16221f;--panel-soft: rgba(26, 40, 36, .72);--line: rgba(255, 255, 255, .09);--line-strong: rgba(255, 255, 255, .16);--text: #f4efe3;--muted: #a5b1a8;--muted-2: #77867c;--gold: #f0b44f;--gold-2: #f5cf7b;--gold-deep: #b97c24;--teal: #74c9b8;--teal-deep: #3f8f82;--green: #7ad6a0;--red: #e16c5c;--red-soft: #ffb1a6;--blue: #8fb6e8;--shadow-lg: 0 24px 70px rgba(0, 0, 0, .46);--shadow-md: 0 12px 34px rgba(0, 0, 0, .32);--shadow-sm: 0 4px 14px rgba(0, 0, 0, .22);--radius-lg: 22px;--radius-md: 15px;--radius-sm: 10px;--font-display: "Outfit Variable", "Outfit", system-ui, sans-serif;--font-ui: "Inter Variable", "Inter", system-ui, -apple-system, sans-serif;--font-mono: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:var(--bg-deep);color:var(--text);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}body{user-select:none;-webkit-user-select:none}[hidden]{display:none!important}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:2px}#app{position:fixed;inset:0;overflow:hidden}#game{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;display:block}#game:active{cursor:grabbing}.grain{position:absolute;inset:0;pointer-events:none;opacity:.035;z-index:3;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");mix-blend-mode:overlay}.ico{flex:0 0 auto;display:inline-block;vertical-align:middle}.rotate-hint{position:absolute;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:calc(24px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));background:radial-gradient(circle at 50% 28%,rgba(240,180,79,.09),transparent 58%),linear-gradient(160deg,#0c1614,#101d19 60%,#0a1210);text-align:center}.rotate-card{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:330px}.rotate-glyph{width:72px;height:72px;color:var(--gold-2);animation:rotate-nudge 2.8s ease-in-out infinite}.rotate-card strong{font-family:var(--font-display);font-size:19px;font-weight:700;line-height:1.2}.rotate-card span{font-size:11.5px;line-height:1.5;color:var(--muted)}.rotate-fullscreen{margin-top:6px}@keyframes rotate-nudge{0%,28%{transform:rotate(0)}62%,to{transform:rotate(-90deg)}}@media(orientation:portrait)and (pointer:coarse){.rotate-hint{display:flex}}.hud{position:absolute;inset:0;z-index:10;pointer-events:none;transition:opacity .35s ease}.hud.is-hidden{opacity:0;visibility:hidden}.topbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:14px;padding:max(12px,calc(var(--safe-top) + 8px)) calc(16px + var(--safe-right)) 12px calc(16px + var(--safe-left));background:none;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:9px;flex:0 0 auto}.brand-logo{display:grid;place-items:center;filter:drop-shadow(0 4px 12px rgba(240,180,79,.2))}.brand-text{display:flex;flex-direction:column;line-height:1;gap:4px;text-shadow:0 1px 3px rgba(0,0,0,.65),0 0 14px rgba(0,0,0,.4)}.brand-text strong{font-family:var(--font-display);font-weight:800;font-size:19px;letter-spacing:.09em}.brand-text span{font-family:var(--font-mono);font-size:7.5px;letter-spacing:.18em;color:var(--muted-2)}.statbar{display:flex;align-items:stretch;gap:8px;flex:0 1 auto;min-width:0}.stat{display:flex;align-items:center;gap:8px;padding:7px 11px;border-radius:13px;border:1px solid var(--line);background:linear-gradient(180deg,#182622db,#0f1916c7);box-shadow:var(--shadow-sm);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);min-width:0}.stat-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#f0b44f21;border:1px solid rgba(240,180,79,.24);color:var(--gold-2);font-family:var(--font-mono);font-size:12px;font-weight:700;flex:0 0 auto}.stat-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.stat-label{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);font-weight:600;white-space:nowrap}.stat strong{font-family:var(--font-mono);font-size:14px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}.income-stat .stat-icon{background:#7ad6a01a;border-color:#7ad6a033;color:var(--green);font-family:var(--font-ui)}#income-value.is-positive{color:var(--green)}#income-value.is-negative{color:var(--red-soft)}.level-stat{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:138px}.level-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.level-top .stat-label{color:var(--text);font-size:10px;letter-spacing:.04em;text-transform:none}#xp-label{font-family:var(--font-mono);font-size:8.5px;color:var(--muted-2);white-space:nowrap}.xp-track{height:4px;border-radius:999px;background:#ffffff14;overflow:hidden}.xp-track i{display:block;height:100%;width:0%;border-radius:inherit;background:linear-gradient(90deg,var(--gold-deep),var(--gold-2));transition:width .35s ease}.top-actions{margin-left:auto;display:flex;align-items:center;gap:6px;flex:0 0 auto}.era-pill{display:flex;align-items:center;gap:7px;height:36px;padding:0 11px;border-radius:11px;border:1px solid var(--line);background:#121d1ab3;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);margin-right:3px}.era-dot{width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 10px #74c9b8b3}.era-name{font-size:10px;font-weight:600;color:var(--text);white-space:nowrap}.era-year{font-family:var(--font-mono);font-size:9px;color:var(--muted-2)}.icon-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;border:1px solid var(--line);background:#121d1ab8;color:var(--text);transition:background .15s ease,transform .15s ease,border-color .15s ease;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:0}.icon-btn:hover{background:#22342fe6;border-color:var(--line-strong)}.icon-btn:active{transform:scale(.94)}.icon-btn.is-active{color:var(--gold-2);border-color:#f0b44f52;background:#f0b44f1f}.icon-btn.is-muted{color:var(--muted-2)}.icon-btn.subtle{width:28px;height:28px;border-color:transparent;background:transparent;color:var(--muted-2)}.icon-btn.subtle:hover{color:var(--text);background:#ffffff12}.top-btn{width:36px;height:36px}.speed-btn{height:36px;min-width:43px;border-radius:11px;border:1px solid var(--line);background:#121d1ab8;color:var(--gold-2);font-family:var(--font-mono);font-size:11px;font-weight:700;transition:background .15s ease,transform .15s ease;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.speed-btn:hover{background:#22342fe6}.speed-btn:active{transform:scale(.94)}.side-card{position:absolute;left:calc(16px + var(--safe-left));top:92px;width:286px;max-height:calc(100vh - 230px);overflow-y:auto;padding:14px;border-radius:var(--radius-md);border:1px solid var(--line);background:linear-gradient(180deg,#16231fe6,#0e1714db);box-shadow:var(--shadow-md);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto;scrollbar-width:thin}.side-card-head{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-2);margin-bottom:10px}.side-card-toggle{margin-left:auto;width:22px;height:22px;flex:0 0 auto}.side-card-close{width:22px;height:22px;flex:0 0 auto}.side-card.is-collapsed{width:max-content;max-width:260px;padding:8px 9px;overflow:visible}.side-card.is-collapsed .side-card-head{margin-bottom:0}.side-card.is-collapsed>:not(.side-card-head){display:none}.objective-title{display:block;font-family:var(--font-display);font-size:17px;line-height:1.18;font-weight:700;margin-bottom:7px}.objective-hint{margin:0 0 11px;font-size:11.5px;line-height:1.5;color:var(--muted)}.objective-empty{display:flex;flex-direction:column;gap:5px;font-size:11.5px;line-height:1.45;color:var(--muted);margin-bottom:12px}.objective-empty strong{color:var(--text);font-size:13px}.objective-actions{display:flex;gap:6px}.objective-divider{height:1px;background:var(--line);margin:13px 0 11px}.objective-sub{display:flex;align-items:center;gap:6px;font-size:9.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);margin-bottom:8px}.objective-stats{display:flex;gap:12px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line);font-size:10px;color:var(--muted-2)}.objective-stats span{display:inline-flex;align-items:center;gap:4px}.demand-row{display:flex;align-items:center;gap:7px;margin:6px 0}.demand-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#ffffff0d;flex:0 0 auto}.demand-main{flex:1;min-width:0}.demand-top{display:flex;justify-content:space-between;gap:8px;font-size:9.5px;color:var(--muted);margin-bottom:3px}.demand-top strong{color:var(--text);font-weight:600;font-size:10.5px}.bar{position:relative;height:4px;border-radius:999px;background:#ffffff14;overflow:hidden}.bar .bar-mark{position:absolute;top:0;bottom:0;width:1px;background:#ffffff8c;box-shadow:0 0 0 1px #00000040;pointer-events:none}.bar i{display:block;height:100%;border-radius:inherit;transition:width .4s ease}.bar.small{height:3px}.bar.big{height:7px}.tutorial-card{display:none;position:absolute;left:calc(16px + var(--safe-left));bottom:calc(104px + var(--safe-bottom));width:336px;padding:12px 13px 11px;border-radius:var(--radius-md);border:1px solid rgba(240,180,79,.24);background:linear-gradient(180deg,#1c2924f0,#101a16eb);box-shadow:var(--shadow-md);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto;cursor:pointer}.tutorial-top{display:flex;align-items:flex-start;gap:9px}.tutorial-badge{display:grid;place-items:center;min-width:31px;height:31px;border-radius:9px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#1a211d;font-family:var(--font-mono);font-size:12px;font-weight:700;flex:0 0 auto}.tutorial-badge small{font-size:7px;opacity:.65;margin-left:1px}.tutorial-title-wrap{flex:1;min-width:0}.tutorial-title-wrap strong{display:block;font-family:var(--font-display);font-size:13.5px;line-height:1.2;font-weight:700;margin-bottom:2px}.tutorial-hint{display:block;font-size:10.5px;line-height:1.4;color:var(--muted);max-height:2.8em;overflow:hidden;transition:max-height .2s ease}.tutorial-card.is-expanded .tutorial-hint{max-height:8em}.tutorial-chevron{color:var(--muted-2);padding-top:4px;transition:transform .2s ease}.tutorial-close{width:20px;height:20px;flex:0 0 auto;align-self:center;margin-left:-2px}.tutorial-card.is-expanded .tutorial-chevron{transform:rotate(180deg)}.tutorial-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.tutorial-dots{display:flex;gap:3px}.tutorial-dots i{width:5px;height:5px;border-radius:50%;background:#ffffff21}.tutorial-dots i.done{background:#f0b44f73}.tutorial-dots i.active{background:var(--gold);box-shadow:0 0 7px #f0b44f99}.btn-tutorial{padding:5px 9px;font-size:10px;border-radius:7px;background:#f0b44f21;border:1px solid rgba(240,180,79,.28);color:var(--gold-2);white-space:nowrap}.delivery-ticker{position:absolute;top:84px;left:50%;transform:translate(-50%,-8px);display:flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;border:1px solid rgba(122,214,160,.24);background:#11201ae0;box-shadow:var(--shadow-sm);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:10.5px;color:var(--text);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;white-space:nowrap;z-index:2}.delivery-ticker.is-visible{opacity:1;transform:translate(-50%)}.ticker-good{display:grid;place-items:center}.minimap-wrap{position:absolute;right:calc(16px + var(--safe-right));bottom:calc(104px + var(--safe-bottom));width:172px;padding:8px;border-radius:14px;border:1px solid var(--line);background:linear-gradient(180deg,#16231fe6,#0d1613db);box-shadow:var(--shadow-md);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto;transition:width .2s ease}.minimap-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 5px;font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);font-weight:600}.minimap-collapse{width:20px;height:20px;display:grid;place-items:center;border:none;border-radius:6px;background:#ffffff0d;color:var(--muted-2);padding:0}#minimap{display:block;width:100%;aspect-ratio:1;border-radius:8px;background:#2f6f7d;cursor:pointer}.minimap-zoom{position:absolute;right:12px;bottom:12px;display:flex;flex-direction:column;gap:3px}.minimap-zoom button{width:22px;height:22px;border-radius:6px;border:1px solid var(--line);background:#0a120fc7;color:var(--text);font-size:13px;line-height:1;display:grid;place-items:center;padding:0}.minimap-wrap.is-collapsed{width:116px}.minimap-wrap.is-collapsed #minimap,.minimap-wrap.is-collapsed .minimap-zoom{display:none}.minimap-wrap.is-collapsed .minimap-head{padding-bottom:0}.hint-bar{position:absolute;left:50%;bottom:calc(91px + var(--safe-bottom));transform:translate(-50%);display:flex;align-items:center;gap:8px;max-width:min(760px,calc(100vw - 24px));padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:#0e1815d1;box-shadow:var(--shadow-sm);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--muted);font-size:10.5px;line-height:1.3;pointer-events:auto;white-space:nowrap;overflow:hidden}.hint-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);flex:0 0 auto;box-shadow:0 0 8px #f0b44f80}#hint-text{overflow:hidden;text-overflow:ellipsis}.hint-action{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;margin-left:4px;padding:3px 8px;border-radius:999px;border:1px solid rgba(240,180,79,.45);background:#f0b44f1f;color:var(--gold);font:inherit;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:background .15s ease,border-color .15s ease}.hint-action:hover,.hint-action:focus-visible{background:#f0b44f38;border-color:#f0b44fb3}.hint-action .ico{flex:0 0 auto}.hint-action kbd,.fine-print kbd{display:inline-block;padding:0 4px;border-radius:4px;border:1px solid rgba(240,180,79,.4);background:#f0b44f1f;font:inherit;font-weight:700;line-height:1.35}@media(max-width:720px){.hint-action kbd{display:none}}.tool-dock{position:absolute;left:50%;bottom:calc(12px + var(--safe-bottom));transform:translate(-50%);display:flex;align-items:center;gap:4px;padding:6px 8px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,#182622eb,#0d1613e6);box-shadow:var(--shadow-lg);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);pointer-events:auto;max-width:calc(100vw - 16px)}.dock-group{display:flex;align-items:center;gap:3px}.dock-grip{display:none}.dock-divider{width:1px;height:30px;background:var(--line);margin:0 4px}.dock-btn{position:relative;width:58px;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:none;border-radius:13px;background:transparent;color:var(--muted);transition:background .16s ease,color .16s ease,transform .16s ease;padding:0}.dock-btn:hover{background:#ffffff0f;color:var(--text)}.dock-btn:active{transform:scale(.95)}.dock-btn.is-active{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#1a211d;box-shadow:0 6px 18px #f0b44f38}.dock-btn.is-active .dock-label{color:#1a211d}.dock-ico{display:grid;place-items:center;height:23px}.dock-label{font-size:8.5px;font-weight:600;letter-spacing:.01em;line-height:1}.dock-key{position:absolute;top:4px;right:5px;font-family:var(--font-mono);font-size:6.5px;opacity:.38;line-height:1}.dock-btn.is-active .dock-key{opacity:.5}.dock-panels .dock-btn{color:var(--muted-2)}.dock-panels .dock-btn:hover{color:var(--teal)}.dock-undo-group,.dock-undo-divider{display:none}.dock-undo .dock-ico{color:var(--gold-2)}.icon-btn.is-disabled,.dock-btn:disabled{opacity:.38;pointer-events:none}.toast-stack{position:absolute;top:calc(84px + var(--safe-top));right:calc(16px + var(--safe-right));display:flex;flex-direction:column;align-items:flex-end;gap:7px;pointer-events:none;z-index:4;max-width:min(380px,calc(100vw - 24px))}.toast{display:flex;align-items:flex-start;gap:7px;padding:8px 11px;border-radius:10px;border:1px solid var(--line);background:#111c18f0;box-shadow:var(--shadow-md);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:10.5px;line-height:1.4;color:var(--text);opacity:0;transform:translate(8px);transition:opacity .2s ease,transform .2s ease}.toast.is-in{opacity:1;transform:none}.toast-icon{display:grid;place-items:center;width:18px;height:18px;border-radius:6px;flex:0 0 auto}.toast-info .toast-icon{background:#74c9b824;color:var(--teal)}.toast-success{border-color:#7ad6a038}.toast-success .toast-icon{background:#7ad6a024;color:var(--green)}.toast-warn{border-color:#e16c5c3d}.toast-warn .toast-icon{background:#e16c5c24;color:var(--red-soft)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border-radius:10px;border:1px solid var(--line);background:#ffffff0e;color:var(--text);font-size:12px;font-weight:600;line-height:1.15;transition:background .16s ease,transform .16s ease,border-color .16s ease,opacity .16s ease;white-space:nowrap}.btn:hover{background:#ffffff1a;border-color:var(--line-strong)}.btn:active{transform:translateY(1px) scale(.99)}.btn:disabled{opacity:.38;pointer-events:none}.btn-gold{background:linear-gradient(135deg,var(--gold-2),var(--gold));border-color:transparent;color:#1a211d;box-shadow:0 8px 22px #f0b44f2e}.btn-gold:hover{background:linear-gradient(135deg,#ffe09a,#f3bd5b);box-shadow:0 10px 28px #f0b44f47}.btn-ghost{background:transparent}.btn-danger{background:#e16c5c21;border-color:#e16c5c52;color:var(--red-soft)}.btn-danger:hover{background:#e16c5c33}.btn-large{padding:13px 20px;border-radius:13px;font-size:13.5px}.btn-small{padding:6px 10px;border-radius:8px;font-size:10.5px}.btn-block{width:100%}.btn-gold.btn-block,.btn.btn-block{justify-content:center}.sheet-root{position:absolute;inset:0;z-index:30;pointer-events:none}.sheet-root.is-open{pointer-events:auto}.sheet-backdrop{position:absolute;inset:0;background:#04090857;opacity:0;transition:opacity .25s ease}.sheet-root.is-open .sheet-backdrop{opacity:1}.sheet{position:absolute;left:50%;bottom:0;transform:translate(-50%,100%);width:min(640px,100%);max-height:min(78vh,760px);display:flex;flex-direction:column;border-radius:24px 24px 0 0;border:1px solid var(--line);border-bottom:none;background:linear-gradient(180deg,#1c2b27,#111b18);box-shadow:0 -20px 70px #00000080;transition:transform .3s cubic-bezier(.22,.9,.3,1);overflow:hidden}.sheet.is-in{transform:translate(-50%)}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 13px;border-bottom:1px solid var(--line);flex:0 0 auto;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)}.sheet-title{display:flex;align-items:center;gap:10px;min-width:0}.sheet-title-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#f0b44f1f;border:1px solid rgba(240,180,79,.22);color:var(--gold-2);flex:0 0 auto}.sheet-title h2{margin:0;font-family:var(--font-display);font-size:20px;line-height:1.15;font-weight:700;letter-spacing:-.01em}.sheet-title p{margin:3px 0 0;font-size:10px;color:var(--muted-2)}.sheet-close{width:32px;height:32px;border-color:transparent;background:#ffffff0d;flex:0 0 auto}.sheet-body{padding:14px 18px calc(22px + var(--safe-bottom));overflow-y:auto;display:flex;flex-direction:column;gap:13px;min-height:0;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.sheet-body>*{flex-shrink:0}.station-axis{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted)}.station-axis>span{margin-inline-end:auto}.station-axis .btn[aria-pressed=true]{color:var(--gold);border-color:var(--gold)}.station-build-list{display:grid;gap:5px}.station-build-option{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:61px;padding:8px 10px;border:1px solid rgba(215,226,215,.14);border-radius:7px;background:#c7d9ca0d;color:inherit;font:inherit;text-align:left;cursor:pointer}.station-build-option:is(:hover,:focus-visible){border-color:var(--gold);background:#f3c56817}.station-build-option small{display:block;color:var(--muted)}.station-build-price{color:var(--gold);white-space:nowrap;font-variant-numeric:tabular-nums}.station-build-price.is-unaffordable{color:#e68a80}.station-track-swatch{display:grid;align-content:center;gap:3px;height:36px;padding-inline:5px}.station-track-swatch i{display:block;height:4px;border-block:1px solid #b8b1a1;background:repeating-linear-gradient(90deg,#86755a 0 2px,#313a32 2px 5px)}.sheet-body::-webkit-scrollbar{width:6px}.sheet-body::-webkit-scrollbar-thumb{background:#ffffff24;border-radius:999px}.sheet-toolbar{display:flex;align-items:center;gap:10px;justify-content:space-between}.toolbar-hint{font-size:10px;color:var(--muted-2)}.sheet-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto;padding:12px 18px calc(12px + var(--safe-bottom));border-top:1px solid var(--line);background:#0f1815eb}.list-section-title{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);margin-top:2px}.list-section{display:flex;flex-direction:column;gap:8px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:26px 16px;border:1px dashed var(--line-strong);border-radius:14px;color:var(--muted);font-size:11.5px;line-height:1.45}.empty-state .ico{color:var(--muted-2)}.empty-state strong{color:var(--text);font-size:14px}.empty-inline{font-size:11px;color:var(--muted-2);padding:6px 0}.fine-print{margin:0;font-size:10px;line-height:1.5;color:var(--muted-2)}.fine-print.center{text-align:center}.route-list{display:flex;flex-direction:column;gap:9px}.route-card{position:relative;padding:11px 11px 10px 14px;border-radius:13px;border:1px solid var(--line);background:#ffffff09;overflow:hidden}.route-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--route-color, var(--gold))}.route-card-head{display:flex;align-items:flex-start;gap:8px}.route-card.is-paused{opacity:.82}.route-paused{flex:0 0 auto;align-self:center;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#f0c979;background:#f3c56824;border:1px solid rgba(243,197,104,.32);white-space:nowrap}.route-color{width:9px;height:9px;border-radius:50%;background:var(--route-color, var(--gold));margin-top:3px;flex:0 0 auto;box-shadow:0 0 10px color-mix(in srgb,var(--route-color, var(--gold)) 50%,transparent)}.route-card-title{flex:1;min-width:0}.route-card-title strong{display:block;font-size:12.5px;font-weight:600;margin-bottom:4px}.route-stations{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:9.5px;color:var(--muted)}.route-stations span{padding:2px 5px;border-radius:4px;background:#ffffff0b}.route-arrow{display:inline-flex;color:var(--muted-2)}.route-arrow.is-loop{color:var(--gold-2);margin-left:1px}.route-trains{display:flex;flex-direction:column;gap:4px;margin:8px 0 7px}.route-no-train{font-size:10px;color:var(--muted-2);padding:2px 0}.train-row{display:flex;align-items:center;gap:7px;padding:6px 7px;border-radius:9px;background:#ffffff09;border:1px solid transparent}.train-row.is-warn{border-color:#e16c5c33;background:#e16c5c0f}.train-row.is-moving .train-dot{color:var(--green)}.train-dot{display:grid;place-items:center;width:46px;height:26px;border-radius:7px;background:#ffffff0d;color:var(--gold-2);flex:0 0 auto;overflow:hidden}.train-thumb{width:42px;height:20px;object-fit:contain}.train-row-main{flex:1;min-width:0}.train-row-top{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:2px}.train-row-top strong{font-weight:600;font-size:10.5px}.train-status{color:var(--muted-2);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:52%}.train-row-bottom{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted-2)}.train-row-bottom span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-sequence{padding:10px;border-radius:12px;background:#ffffff09;border:1px solid var(--line)}.sequence-label{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2);font-weight:600;margin-bottom:7px}.sequence-empty{font-size:10.5px;color:var(--muted-2)}.route-mode{display:flex;flex-direction:column;gap:7px;padding:10px;border-radius:12px;background:#ffffff09;border:1px solid var(--line)}.route-mode .sequence-label{margin-bottom:0}.route-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.route-mode-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 9px;border-radius:9px;border:1px solid var(--line);background:#ffffff08;color:var(--muted);font-size:10.5px;font-weight:600}.route-mode-btn.is-active{border-color:#f0b44f73;background:#f0b44f21;color:var(--gold-2)}.sequence-chips{display:flex;flex-wrap:wrap;gap:5px}.station-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 5px 4px 8px;border-radius:7px;background:#f0b44f1a;border:1px solid rgba(240,180,79,.22);color:var(--gold-2);font-size:9.5px;font-weight:600}.station-chip button{display:grid;place-items:center;width:16px;height:16px;border:none;border-radius:4px;background:#00000029;color:inherit;padding:0}.station-picker{display:flex;flex-direction:column;gap:5px}.station-option{display:flex;align-items:center;gap:9px;width:100%;padding:8px 9px;border-radius:10px;border:1px solid var(--line);background:#ffffff08;text-align:left;transition:background .15s ease,border-color .15s ease}.station-option:hover{background:#ffffff0f;border-color:var(--line-strong)}.station-option.is-selected{border-color:#f0b44f47;background:#f0b44f12}.station-option-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#ffffff0d;color:var(--gold-2);flex:0 0 auto}.station-option-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.station-option-main strong{font-size:11px;font-weight:600}.station-option-main small{font-size:9px;color:var(--muted-2)}.station-option-state{display:grid;place-items:center;width:20px;height:20px;border-radius:6px}.station-option-state.is-ok{color:var(--green);background:#7ad6a01a}.station-option-state.is-off{color:var(--red-soft);background:#e16c5c1a}.loco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loco-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px;border-radius:12px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0e,#ffffff05),#0a120f66}.loco-card .train-art-wrap{width:100%;height:64px}.loco-card>.btn{width:100%;justify-content:center}@media(max-width:560px){.loco-grid{grid-template-columns:1fr}}.loco-card.is-poor{opacity:.65}.loco-card.is-locked{opacity:.52}.train-art-wrap{position:relative;width:132px;height:54px;flex:0 0 auto;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,#ffffff0f,#0000002e),repeating-linear-gradient(90deg,rgba(0,0,0,.22) 0 2px,transparent 2px 11px),linear-gradient(180deg,#3b4a41,#26332c)}.train-art-wrap:before,.train-art-wrap:after{content:"";position:absolute;left:0;right:0;height:1px;background:#dce6dc38}.train-art-wrap:before{top:15px}.train-art-wrap:after{bottom:15px}.train-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}.lock-badge{position:absolute;inset:0;display:grid;place-items:center;background:#090f0d99;color:var(--muted)}.assign-list{display:flex;flex-direction:column;gap:7px}.assign-card{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;border:1px solid rgba(240,180,79,.22);background:linear-gradient(180deg,#f0b44f14,#ffffff06)}.assign-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.assign-main strong{font-size:12px;font-weight:700}.assign-main span{font-size:9.5px;color:var(--muted)}.assign-main small{font-size:9px;color:var(--muted-2)}@media(max-width:540px){.train-art-wrap{width:96px;height:46px}}.loco-main{flex:1;min-width:0}.loco-main>strong{display:block;font-size:11.5px;font-weight:600;margin-bottom:1px}.loco-main>span{display:block;font-size:9px;color:var(--muted-2)}.loco-stats{display:flex;flex-wrap:wrap;gap:5px 8px;margin-top:4px;font-size:8.5px;color:var(--muted)}.loco-stats span{display:inline-flex;align-items:center;gap:3px}.settlement-list{display:flex;flex-direction:column;gap:5px}.build-hint{display:flex;align-items:flex-start;gap:7px;margin-bottom:10px;padding:8px 10px;border-radius:9px;border:1px solid rgba(230,180,90,.18);background:#e6b45a0f;color:var(--muted);font-size:10px;line-height:1.45}.build-hint svg{flex:0 0 auto;margin-top:1px;color:var(--gold)}.build-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.build-card{position:relative;display:flex;align-items:flex-start;gap:8px;padding:9px;border-radius:10px;border:1px solid var(--line);background:#ffffff07;text-align:left;transition:background .15s ease,border-color .15s ease,transform .1s ease}.build-card:hover:not(:disabled){background:#ffffff0f;border-color:var(--line-strong)}.build-card.is-active{border-color:#e6b45aa6;background:#e6b45a1a}.build-card.is-locked{opacity:.45;cursor:not-allowed}.build-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:color-mix(in srgb,var(--build-color, #e6b969) 16%,transparent);border:1px solid color-mix(in srgb,var(--build-color, #e6b969) 30%,transparent);color:var(--build-color, #e6b969);flex:0 0 auto}.build-main{display:flex;flex-direction:column;gap:2px;min-width:0}.build-top{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.build-top strong{font-size:10.5px;font-weight:600;color:var(--text)}.build-top em{font-style:normal;font-size:9px;font-weight:600;color:var(--gold);white-space:nowrap}.build-sub{font-size:8.5px;color:var(--muted)}.build-desc{font-size:8.5px;line-height:1.35;color:#e6e2d48c}.build-lock{position:absolute;right:7px;bottom:6px;display:inline-flex;align-items:center;gap:3px;font-size:8px;color:var(--muted)}.btn.danger{color:#ffb4aa;border-color:#e0695f59}@media(max-width:620px){.build-grid{grid-template-columns:1fr}}.settlement-row{display:flex;align-items:center;gap:9px;width:100%;padding:8px 9px;border-radius:10px;border:1px solid var(--line);background:#ffffff07;text-align:left;transition:background .15s ease,border-color .15s ease}.settlement-row:hover{background:#ffffff0f;border-color:var(--line-strong)}.settlement-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--avatar, #e6b969) 16%,transparent);border:1px solid color-mix(in srgb,var(--avatar, #e6b969) 28%,transparent);color:var(--avatar, #e6b969);flex:0 0 auto}.settlement-avatar.industry{border-radius:9px}.settlement-main{flex:1;min-width:0}.settlement-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:2px}.settlement-top strong{font-size:11px;font-weight:600}.level-pill,.status-pill{display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border-radius:4px;background:#ffffff0e;color:var(--muted);font-size:8.5px;font-weight:600;white-space:nowrap}.status-pill.is-ok{background:#7ad6a01a;color:var(--green)}.status-pill.is-warn{background:#e16c5c1a;color:var(--red-soft)}.status-pill.is-moving{background:#7ad6a01a;color:var(--green)}.settlement-sub{font-size:9px;color:var(--muted-2);margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-chevron{display:grid;place-items:center;color:var(--muted-2);transform:rotate(-90deg);flex:0 0 auto}.goal-hero{position:relative;padding:16px;border-radius:15px;border:1px solid rgba(240,180,79,.2);background:linear-gradient(135deg,#f0b44f1f,#f0b44f08);display:flex;flex-direction:column;align-items:flex-start;gap:6px}.goal-hero.is-done{align-items:center;text-align:center;border-color:#7ad6a038;background:linear-gradient(135deg,#7ad6a01a,#7ad6a005);color:var(--green)}.goal-hero strong{font-family:var(--font-display);font-size:17px;line-height:1.2;color:var(--text)}.goal-hero p{margin:0;font-size:11px;line-height:1.5;color:var(--muted)}.goal-number{font-family:var(--font-mono);font-size:9px;color:var(--gold-2);letter-spacing:.08em}.goal-demand-list{display:flex;flex-direction:column;gap:5px}.goal-demand{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border-radius:10px;border:1px solid var(--line);background:#ffffff07;text-align:left}.goal-demand:hover{background:#ffffff0e}.goal-demand>div{flex:1;min-width:0}.goal-demand-top{display:flex;justify-content:space-between;gap:8px;font-size:9.5px;color:var(--muted-2);margin-bottom:3px}.goal-demand-top strong{color:var(--text);font-size:10.5px;font-weight:600}.reward{font-family:var(--font-mono);font-size:9.5px;color:var(--gold-2);white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.stats-grid>div{padding:8px;border-radius:9px;border:1px solid var(--line);background:#ffffff07;display:flex;flex-direction:column;gap:2px}.stats-grid span{font-size:8px;color:var(--muted-2);text-transform:uppercase;letter-spacing:.07em}.stats-grid strong{font-family:var(--font-mono);font-size:11px;font-weight:600}.unlock-list{display:flex;flex-direction:column;gap:4px}.unlock-row{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;border:1px solid var(--line);background:#ffffff06;opacity:.55}.unlock-row.is-unlocked{opacity:1;border-color:#7ad6a026}.unlock-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#ffffff0d;color:var(--muted);flex:0 0 auto}.unlock-row.is-unlocked .unlock-icon{color:var(--green);background:#7ad6a01a}.unlock-row>div{flex:1;display:flex;flex-direction:column;gap:1px}.unlock-row strong{font-size:10.5px;font-weight:600}.unlock-row span,.unlock-state{font-size:8.5px;color:var(--muted-2)}.settlement-hero{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:13px;border:1px solid color-mix(in srgb,var(--hero, #e6b969) 20%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--hero, #e6b969) 12%,transparent),transparent)}.settlement-hero-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:color-mix(in srgb,var(--hero, #e6b969) 15%,transparent);border:1px solid color-mix(in srgb,var(--hero, #e6b969) 25%,transparent);color:var(--hero, #e6b969)}.settlement-hero p{margin:0;font-size:11px;line-height:1.55;color:var(--muted)}.hero-meta{display:flex;gap:12px;font-size:9.5px;color:var(--muted-2)}.detail-block{padding:10px;border-radius:12px;border:1px solid var(--line);background:#ffffff07}.detail-block-title{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);margin-bottom:8px}.station-status-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.station-name{flex:1;font-size:11px;font-weight:600}.route-mini{display:flex;align-items:center;gap:7px;padding:6px 7px;border-radius:8px;background:#ffffff09;margin-bottom:4px;font-size:9.5px;color:var(--muted)}.route-mini>span:first-child{width:6px;height:6px;border-radius:50%;flex:0 0 auto}.route-mini strong{color:var(--text);font-size:10px;font-weight:600}.route-mini span:last-child{margin-left:auto;color:var(--muted-2);font-size:8.5px;text-align:right}.demand-detail-head{display:flex;align-items:center;gap:9px;margin-bottom:8px}.demand-detail-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffffff0d;flex:0 0 auto}.demand-detail-head>div{flex:1;display:flex;flex-direction:column;gap:2px}.demand-detail-head strong{font-size:13px;font-weight:600}.demand-detail-head span{font-size:9.5px;color:var(--muted-2)}.industry-output{display:flex;align-items:center;gap:9px;margin-bottom:7px}.industry-output>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffffff0d}.industry-output>div{display:flex;flex-direction:column;gap:2px}.industry-output strong{font-size:12px}.industry-output span{font-size:9.5px;color:var(--muted-2)}.input-list{display:flex;flex-direction:column;gap:5px;margin-top:8px}.input-row{display:flex;align-items:center;gap:6px;font-size:9.5px;color:var(--muted)}.input-row .bar{flex:1;margin:0 4px}.input-row strong{font-family:var(--font-mono);font-size:9px;color:var(--text);min-width:20px;text-align:right}.train-detail-hero{display:flex;align-items:center;gap:12px;padding:11px;border-radius:13px;border:1px solid var(--line);background:#ffffff09}.train-visual{position:relative;width:116px;height:58px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,#ffffff0f,#0000002e),repeating-linear-gradient(90deg,rgba(0,0,0,.22) 0 2px,transparent 2px 11px),linear-gradient(180deg,#3b4a41,#26332c);flex:0 0 auto}.train-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.train-meta-grid{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:9px;color:var(--muted)}.train-meta-grid span{display:inline-flex;align-items:center;gap:3px}.cargo-list{display:flex;flex-direction:column;gap:4px}.cargo-row{display:flex;align-items:center;gap:7px;padding:5px 6px;border-radius:7px;background:#ffffff09;font-size:10px}.cargo-row strong{flex:1;font-weight:500}.cargo-row>span:last-child{font-family:var(--font-mono);font-size:9px;color:var(--muted)}.modal-root{position:absolute;inset:0;z-index:50;pointer-events:none}.modal-backdrop{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#0409088c;opacity:0;transition:opacity .24s ease;pointer-events:auto}.modal-backdrop.is-in{opacity:1}.modal{position:relative;width:min(560px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow-y:auto;padding:24px;border-radius:22px;border:1px solid var(--line-strong);background:linear-gradient(180deg,#1d2d29,#121c19);box-shadow:var(--shadow-lg);opacity:0;transform:translateY(14px) scale(.985);transition:opacity .24s ease,transform .24s cubic-bezier(.22,.9,.3,1);scrollbar-width:thin}.modal-backdrop.is-in .modal{opacity:1;transform:none}.modal h2{margin:0 0 8px;font-family:var(--font-display);font-size:29px;line-height:1.08;letter-spacing:-.02em;font-weight:700}.modal h2 em{color:var(--gold-2);font-style:normal}.modal p{margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--muted)}.modal-glow{position:absolute;top:-120px;left:50%;width:420px;height:300px;transform:translate(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(240,180,79,.16),transparent 65%);pointer-events:none}.modal-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2);margin-bottom:10px}.modal-lead{font-size:12.5px!important;color:var(--muted)!important}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}.welcome-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}.welcome-steps>div{padding:10px;border-radius:11px;border:1px solid var(--line);background:#ffffff08}.welcome-steps span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#f0b44f1f;color:var(--gold-2);font-family:var(--font-mono);font-size:10px;font-weight:700;margin-bottom:7px}.welcome-steps strong{display:block;font-size:10.5px;margin-bottom:3px}.welcome-steps p{margin:0;font-size:9.5px;line-height:1.4;color:var(--muted-2)}.unlock-modal{text-align:center;display:flex;flex-direction:column;align-items:center}.unlock-badge{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#f0b44f33,#f0b44f0f);border:1px solid rgba(240,180,79,.28);color:var(--gold-2);margin-bottom:13px;box-shadow:0 0 40px #f0b44f1f}.confirm-modal{text-align:center}.confirm-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e16c5c1f;border:1px solid rgba(225,108,92,.24);color:var(--red-soft);margin:0 auto 12px}.menu-modal h2,.settings-modal h2{margin-bottom:16px}.menu-list{display:flex;flex-direction:column;gap:4px}.menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 11px;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--text);text-align:left;font-size:12px;transition:background .15s ease,border-color .15s ease}.menu-item:hover{background:#ffffff0e;border-color:var(--line)}.menu-item .ico{color:var(--muted-2)}.menu-footer{display:flex;justify-content:space-between;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-family:var(--font-mono);font-size:8px;color:var(--muted-2)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.setting-row:last-of-type{border-bottom:none}.setting-row>div{display:flex;flex-direction:column;gap:2px}.setting-row strong{font-size:12px;font-weight:600}.setting-row span{font-size:9.5px;color:var(--muted-2)}.toggle{position:relative;width:42px;height:24px;border-radius:999px;border:1px solid var(--line);background:#ffffff12;padding:0;flex:0 0 auto;transition:background .2s ease,border-color .2s ease}.toggle i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--muted);transition:transform .2s ease,background .2s ease}.toggle.is-on{background:#f0b44f3d;border-color:#f0b44f66}.toggle.is-on i{transform:translate(18px);background:var(--gold-2)}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.help-card{padding:10px;border-radius:11px;border:1px solid var(--line);background:#ffffff08}.help-card>span{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#74c9b81a;color:var(--teal);margin-bottom:7px}.help-card strong{display:block;font-size:11px;margin-bottom:3px}.help-card p{margin:0;font-size:9.5px;line-height:1.45;color:var(--muted-2)}.help-card b{color:var(--muted);font-weight:600}.controls-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;padding:10px;border-radius:10px;border:1px solid var(--line);background:#ffffff06}.controls-table>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 0;font-size:9.5px;color:var(--muted-2)}.controls-table b{font-family:var(--font-mono);font-size:8.5px;color:var(--muted);font-weight:500}.start-screen{position:absolute;inset:0;z-index:40;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .5s ease,visibility .5s ease;overflow:hidden}.start-screen.is-visible{opacity:1;visibility:visible;pointer-events:auto}.start-screen.is-leaving{opacity:0;pointer-events:none}.start-overlay{position:absolute;inset:0;background:radial-gradient(ellipse at 72% 40%,rgba(240,180,79,.06),transparent 48%),linear-gradient(90deg,#070d0cf7,#070d0ce6 34%,#070d0c8c 66%,#070d0c33),linear-gradient(0deg,rgba(7,13,12,.88) 0%,transparent 34%,rgba(7,13,12,.35) 100%)}.start-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:54px 54px;mask-image:radial-gradient(ellipse at 28% 52%,black,transparent 68%);-webkit-mask-image:radial-gradient(ellipse at 28% 52%,black,transparent 68%)}.start-content{position:relative;z-index:2;width:min(1240px,100%);height:100%;margin:0 auto;padding:calc(26px + var(--safe-top)) calc(42px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(42px + var(--safe-left));display:flex;flex-direction:column}.start-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.start-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 9px 5px 6px;border-radius:10px;border:1px solid var(--line);background:#111b18a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:.08em}.start-badge em{font-family:var(--font-mono);font-size:6.5px;font-style:normal;letter-spacing:.14em;color:var(--gold-2);padding:2px 4px;border-radius:3px;background:#f0b44f1a}.start-version{font-family:var(--font-mono);font-size:8px;letter-spacing:.08em;color:var(--muted-2)}.start-main{margin-top:auto;margin-bottom:auto;padding-top:40px;max-width:650px}.start-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-2);margin-bottom:12px}.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px #f0b44fb3}.start-main h1{margin:0;font-family:var(--font-display);font-size:clamp(66px,9.2vw,126px);font-weight:800;line-height:.82;letter-spacing:-.055em;color:var(--text);text-shadow:0 20px 50px rgba(0,0,0,.35)}.start-main h1 span{color:var(--gold);text-shadow:0 0 60px rgba(240,180,79,.22)}.start-sub{max-width:490px;margin:20px 0 22px;font-size:14px;line-height:1.6;color:var(--muted)}.start-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.start-actions .btn-large{min-width:154px}.start-btn-icon{display:inline-flex;align-items:center;justify-content:center}.start-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:540px;margin-top:28px}.start-feature{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border-radius:11px;border:1px solid var(--line);background:#121d1a8a;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.start-feature-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0b44f1a;border:1px solid rgba(240,180,79,.18);color:var(--gold-2);flex:0 0 auto}.start-feature>div{display:flex;flex-direction:column;gap:2px;min-width:0}.start-feature strong{font-size:10px;font-weight:600}.start-feature span:last-child{font-size:9px;line-height:1.35;color:var(--muted-2)}.start-train{position:absolute;right:-1%;bottom:3%;width:min(600px,48vw);opacity:.94;pointer-events:none;filter:drop-shadow(0 20px 30px rgba(0,0,0,.25));animation:trainFloat 7s ease-in-out infinite}.start-train svg{width:100%;height:auto;display:block}@keyframes trainFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}.start-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:18px;font-family:var(--font-mono);font-size:7.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2)}@media(max-width:1120px){.start-train{width:42vw;right:-5%;opacity:.72}.brand-text{display:none}.side-card{width:260px}}@media(max-width:860px){.topbar{gap:8px}.era-pill{display:none}.stat{padding:6px 9px}.money-stat .stat-icon{width:24px;height:24px;font-size:10px}.level-stat{min-width:112px}.start-content{padding:calc(18px + var(--safe-top)) calc(22px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(22px + var(--safe-left))}.start-main{max-width:540px}.start-train{width:46vw;right:-10%;bottom:8%;opacity:.42}.start-features{max-width:460px}.sheet{left:50%;right:auto;bottom:0;width:min(600px,100%);max-height:80vh;border-radius:22px 22px 0 0;border-bottom:none}}@media(max-width:720px){.topbar{padding:max(7px,calc(var(--safe-top) + 5px)) calc(9px + var(--safe-right)) 7px calc(9px + var(--safe-left));gap:6px}.brand-logo svg{width:30px;height:30px}.statbar{gap:5px;flex:1;min-width:0}.stat{padding:5px 7px;border-radius:10px;gap:5px}.money-stat{flex:0 1 auto}.money-stat strong{font-size:12.5px}.stat-label{font-size:7.5px}.level-stat{min-width:92px;flex:1}.level-stat .stat-label{font-size:8.5px}#xp-label{display:none}.top-actions{gap:4px}.top-btn{width:32px;height:32px;border-radius:9px}.speed-btn{height:32px;min-width:37px;border-radius:9px;font-size:10px}#btn-undo,.side-card{display:none}.tutorial-card{display:block;top:auto;bottom:calc(128px + var(--safe-bottom));left:calc(8px + var(--safe-left));right:calc(8px + var(--safe-right));width:auto;padding:9px 10px;border-radius:12px;background:linear-gradient(180deg,#1b2924ed,#0f1915e6)}.tutorial-title-wrap strong{font-size:12px}.tutorial-hint{font-size:9.5px;max-height:2.7em}.tutorial-bottom{margin-top:6px}.tutorial-badge{min-width:28px;height:28px;font-size:11px}.btn-tutorial{padding:4px 8px;font-size:9px}.minimap-wrap{top:calc(62px + var(--safe-top));right:calc(8px + var(--safe-right));bottom:auto;width:106px;padding:5px;border-radius:11px}.minimap-head{font-size:7px;padding-bottom:3px}.minimap-collapse{width:16px;height:16px}.minimap-zoom{display:none}.minimap-wrap.is-collapsed{width:80px}.hint-bar{bottom:calc(78px + var(--safe-bottom));font-size:9px;padding:5px 9px;max-width:calc(100vw - 20px);left:50%}.tool-dock{bottom:calc(8px + var(--safe-bottom));padding:5px 6px;border-radius:17px;gap:2px}.dock-btn{width:42px;height:46px;border-radius:10px;gap:1px}.dock-ico .ico{width:19px;height:19px}.dock-label{font-size:7px}.dock-key{display:none}.dock-divider{margin:0 2px;height:26px}.dock-undo-group{display:flex}.dock-undo-divider{display:block}.delivery-ticker{top:calc(104px + var(--safe-top));font-size:9px;padding:4px 9px;max-width:calc(100vw - 24px);overflow:hidden;text-overflow:ellipsis}.toast-stack{top:calc(104px + var(--safe-top));right:calc(8px + var(--safe-right));left:auto;align-items:flex-end;max-width:min(300px,calc(100vw - 24px))}.toast{font-size:9.5px;padding:7px 9px}.sheet{width:100%;max-height:94vh;max-height:94dvh;border-radius:20px 20px 0 0}.sheet-head{padding:13px 14px 10px}.sheet-title h2{font-size:17px}.sheet-body{padding:12px 14px calc(18px + var(--safe-bottom))}.sheet-actions{padding:10px 14px calc(10px + var(--safe-bottom));gap:6px}.sheet-title-icon{width:31px;height:31px}.modal{width:calc(100vw - 18px);padding:19px;border-radius:18px}.modal h2{font-size:23px}.welcome-steps{grid-template-columns:1fr;gap:5px}.welcome-steps>div{display:flex;align-items:flex-start;gap:8px;padding:8px}.welcome-steps span{margin-bottom:0;flex:0 0 auto}.welcome-steps strong{margin-bottom:1px}.help-grid,.controls-table{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.start-content{padding:calc(14px + var(--safe-top)) calc(16px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(16px + var(--safe-left))}.start-main{padding-top:20px;max-width:100%}.start-main h1{font-size:clamp(44px,14.6vw,72px);letter-spacing:-.065em;line-height:.84}.start-sub{font-size:12px;line-height:1.5;margin:15px 0 17px;max-width:420px}.start-actions{gap:6px}.start-actions .btn-large{flex:1 1 auto;min-width:0;padding:11px 14px;font-size:12px}.start-features{grid-template-columns:1fr 1fr;gap:5px;margin-top:18px}.start-feature{padding:7px}.start-feature-icon{width:23px;height:23px}.start-feature strong{font-size:9px}.start-feature span:last-child{font-size:8px}.start-train{width:62vw;right:-16%;bottom:6%;opacity:.22}.start-footer{font-size:6.5px;padding-top:10px}.start-footer span:last-child{display:none}.start-version{display:none}.start-badge{font-size:10px}.start-badge em{display:none}.start-eyebrow{font-size:8.5px;letter-spacing:.12em;margin-bottom:9px}}@media(max-width:400px){.dock-btn{width:38px;height:44px}.dock-ico .ico{width:18px;height:18px}.dock-label{font-size:6.5px}.money-stat strong{font-size:11.5px}.level-stat{min-width:78px}.top-btn{width:30px;height:30px}.speed-btn{height:30px;min-width:34px}.hint-bar{max-width:calc(100vw - 124px);left:calc(50% - 36px)}.minimap-wrap{width:94px}.start-features{grid-template-columns:1fr}.start-feature span:last-child{font-size:8.5px}}@media(max-height:520px)and (orientation:landscape){.tutorial-card{display:none}.modal{max-height:calc(100dvh - 12px);padding:14px 18px;border-radius:16px}.modal-eyebrow{margin-bottom:4px}.modal h2{font-size:20px;margin-bottom:6px}.modal p{font-size:11px;margin-bottom:8px}.modal-actions{margin-top:10px}.setting-row{padding:7px 0}.setting-row strong{font-size:11px}.setting-row span{font-size:9px}.side-card{top:60px;max-height:calc(100vh - 160px)}.minimap-wrap{display:none}.start-main h1{font-size:62px}.start-features{display:none}.start-main{margin-top:auto;margin-bottom:auto}.start-train{width:34vw;bottom:4%}}@media(max-height:430px)and (orientation:landscape){.start-content{padding-top:calc(10px + var(--safe-top));padding-bottom:calc(10px + var(--safe-bottom))}.start-badge{padding:3px 7px 3px 4px;font-size:10px}#start-logo-mark svg{width:28px;height:28px}.start-version{display:none}.start-main{padding-top:0;max-width:560px}.start-eyebrow{margin-bottom:6px;font-size:9px}.start-main h1{font-size:clamp(48px,14vh,60px)}.start-sub{margin:8px 0 10px;font-size:11.5px;line-height:1.45;max-width:470px}.start-actions{gap:7px}.start-actions .btn-large{min-width:128px;padding:9px 16px;font-size:12px}.start-features,.start-footer{display:none}.start-train{width:32vw;right:-2%;bottom:2%}}@media(orientation:landscape)and (max-height:520px)and (pointer:coarse){.topbar{padding:max(6px,calc(var(--safe-top) + 4px)) calc(8px + var(--safe-right)) 6px calc(8px + var(--safe-left));gap:6px}.statbar{gap:5px;flex:0 1 auto}.stat{padding:4px 7px;border-radius:9px;gap:5px}.stat-icon{width:22px;height:22px;border-radius:7px;font-size:10px}.stat-label{font-size:7px}.stat strong{font-size:11.5px}.money-stat{flex:0 1 auto}.level-stat{min-width:88px;flex:0 0 auto}.level-top .stat-label{font-size:8.5px}#xp-label{display:none}.top-actions{gap:4px}.top-btn{width:30px;height:30px;border-radius:9px}.speed-btn{height:30px;min-width:34px;border-radius:9px;font-size:10px}#btn-undo{display:none}.dock-undo-group{display:flex}.dock-undo-divider{display:block}.side-card,.tutorial-card,.minimap-wrap{display:none}.tool-dock{bottom:calc(6px + var(--safe-bottom));padding:4px 5px;border-radius:15px;gap:2px;max-width:calc(100vw - 10px)}.dock-group{gap:1px}.dock-divider{height:24px;margin:0 2px}.dock-btn{width:40px;height:46px;border-radius:9px;gap:1px}.dock-ico{height:20px}.dock-ico .ico{width:18px;height:18px}.dock-label{font-size:6.5px}.dock-key{display:none}.hint-bar{bottom:calc(76px + var(--safe-bottom));padding:4px 9px;gap:6px;font-size:9px;max-width:min(560px,calc(100vw - 24px))}.sheet{max-height:96vh;max-height:calc(100dvh - 6px);border-radius:16px 16px 0 0}.sheet-head{padding:9px 12px 8px;align-items:center}.sheet-title{gap:8px}.sheet-title-icon{width:26px;height:26px;border-radius:8px}.sheet-title h2{font-size:15px}.sheet-title p{display:none}.sheet-close{width:28px;height:28px}.sheet-body{padding:10px 12px 12px;gap:10px}.sheet-actions{padding:8px 12px calc(8px + var(--safe-bottom));gap:6px}.sheet[data-panel=settlement] .sheet-body,.sheet[data-panel=industry] .sheet-body,.sheet[data-panel=train] .sheet-body,.sheet[data-panel=station] .sheet-body{display:grid;gap:8px 10px;align-items:start}.sheet-body.is-city{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}.sheet-body.is-city .settlement-hero,.sheet[data-panel=train] .train-detail-hero,.sheet[data-panel=station] .station-detail{grid-column:1 / -1}.sheet-body.is-city .demand-detail{grid-column:1;grid-row:span 2}.sheet-body.is-industry{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}.sheet-body.is-industry .industry-detail{grid-column:2;grid-row:1 / span 3}.sheet-body.is-industry .settlement-hero{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon text" "icon meta";align-items:center;gap:2px 8px;padding:8px 10px}.sheet-body.is-industry .settlement-hero-icon{grid-area:icon;grid-row:1 / span 2}.sheet-body.is-industry .settlement-hero p{grid-area:text}.sheet-body.is-industry .hero-meta{grid-area:meta;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;text-align:left}.sheet[data-panel=train] .sheet-body,.sheet[data-panel=station] .sheet-body{grid-template-columns:1fr 1fr}.sheet[data-panel=cities] .sheet-body{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;align-items:start}.sheet[data-panel=goals] .goal-demand-list,.sheet[data-panel=goals] .unlock-list{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px}.settlement-hero{flex-direction:row;align-items:center;gap:10px;padding:9px 10px}.settlement-hero-icon{width:34px;height:34px;border-radius:10px}.settlement-hero p{flex:1;min-width:0;font-size:10.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hero-meta{flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.delivery-ticker{display:none}.toast-stack{top:calc(52px + var(--safe-top));right:calc(8px + var(--safe-right));left:auto;align-items:flex-end;max-width:min(300px,64vw)}.toast{font-size:9px;padding:6px 8px}}@media(max-width:720px),(orientation:landscape)and (max-height:520px)and (pointer:coarse){.tool-dock{bottom:0;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:calc(6px + var(--safe-bottom));box-shadow:none}.dock-grip{display:flex;position:absolute;top:-14px;left:50%;transform:translate(-50%);width:50px;height:15px;align-items:center;justify-content:center;padding:0;border:1px solid var(--line);border-bottom:none;border-radius:9px 9px 0 0;background:linear-gradient(180deg,#182622eb,#16231fe6);color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent}.dock-grip .ico{width:13px;height:13px;transition:transform .15s ease}.dock-grip:active{color:var(--text)}.tool-dock.is-collapsed{gap:0;padding:0 10px var(--safe-bottom);border-radius:14px}.tool-dock.is-collapsed>:not(.dock-grip){display:none}.tool-dock.is-collapsed .dock-grip{position:static;transform:none;width:58px;height:32px;border:none;border-radius:12px;background:transparent}.tool-dock.is-collapsed .dock-grip .ico{transform:rotate(180deg)}}@media(max-width:720px){.statbar{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;grid-auto-flow:column;row-gap:0;column-gap:4px}.money-stat,.income-stat{padding:2px 5px}.money-stat{border-radius:10px 10px 0 0;border-bottom:none}.income-stat{display:flex;border-radius:0 0 10px 10px;border-top:none;background:#0f1916c7}.money-stat .stat-label,.income-stat .stat-label{display:none}.money-stat .stat-copy,.income-stat .stat-copy{flex-direction:row;align-items:baseline;gap:3px}.money-stat strong,.income-stat strong{font-size:10.5px}.money-stat .stat-icon,.income-stat .stat-icon{width:15px;height:15px;font-size:8px}.level-stat{grid-row:1 / span 2;min-width:0;padding:2px 5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}.demand-level{flex:0 0 auto;font-size:9px;color:var(--muted);padding:2px 6px;border-radius:5px;background:#ffffff0d;white-space:nowrap}.demand-next{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.warn-text{color:#f0c979}.industry-level{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.industry-level-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.industry-level-head .detail-block-title{margin:0}.cargo-plan{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:12px;background:#ffffff09;border:1px solid var(--line)}.cargo-plan-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cargo-plan .sequence-label{margin-bottom:0}.cargo-capacity{font-size:9px;font-weight:700;letter-spacing:.04em;color:var(--gold-2);padding:2px 6px;border-radius:6px;background:#f0b44f1a;border:1px solid rgba(240,180,79,.22);white-space:nowrap}.cargo-stop{display:flex;flex-direction:column;gap:5px}.cargo-stop-head{font-size:10px;font-weight:700;color:var(--text)}.cargo-limit-row{display:grid;grid-template-columns:minmax(84px,auto) 1fr 72px;align-items:center;gap:8px;padding:2px 0 2px 8px;border-left:2px solid var(--line)}.cargo-good{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;color:var(--muted);white-space:nowrap}.cargo-limit-row input[type=range]{width:100%;height:18px;margin:0;accent-color:var(--gold-2);background:transparent}.cargo-value{font-size:9.5px;font-weight:600;color:var(--muted-2);text-align:right;white-space:nowrap}.route-map-wrap{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:12px;background:#ffffff09;border:1px solid var(--line)}.route-map-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.route-map-hint{font-size:8.5px;color:var(--muted-2);text-align:right}.route-map{display:block;width:100%;height:196px;border-radius:9px;background:#1b2b24;border:1px solid rgba(255,255,255,.06);cursor:pointer;touch-action:manipulation}@media(max-width:540px){.route-map{height:168px}}.route-map-fit:disabled{opacity:.4;cursor:default}.route-map-fit{padding:3px 7px;border-radius:6px;border:1px solid rgba(240,180,79,.25);background:#f0b44f1a;color:var(--gold-2);font-size:8.5px;font-weight:700;white-space:nowrap}.route-map-head{flex-wrap:wrap}.assign-card .train-art-wrap{width:190px;height:64px}@media(max-width:540px){.assign-card .train-art-wrap{width:118px;height:52px}}.route-map-tools{display:flex;align-items:center;gap:4px;margin-left:auto}.route-map-zoom{width:22px;height:20px;display:grid;place-items:center;border-radius:6px;border:1px solid var(--line);background:#ffffff0a;color:var(--muted);font-size:12px;font-weight:700;line-height:1}.route-map-zoom:hover{color:var(--gold-2);border-color:#f0b44f59}
