*{box-sizing:border-box}html,body{margin:0;background:#091722;color:#edf5ed;font:15px/1.5 system-ui,sans-serif}button,select{font:inherit;color:inherit;background:#1b3443;border:1px solid #52656c;border-radius:7px;padding:9px 13px;cursor:pointer}button:hover,button:focus-visible{background:#345668;outline:2px solid #eecb75}button[aria-pressed=true],.primary{background:#f0cd7e;color:#14242b;border-color:#f0cd7e}button.pressed{background:#eecb75;color:#14242b}#game{max-width:1600px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:15px}small{letter-spacing:.13em;font-size:10px}h1{font-size:26px;line-height:1.2;margin:5px 0}h1 em{color:#f0cd7e;font-style:normal}h1 span{font-size:12px;display:inline-block;margin-left:10px;letter-spacing:.12em}.tools{display:flex;gap:7px;flex-wrap:wrap}#stage{height:clamp(430px,65vh,790px);position:relative;overflow:hidden;background:#96c1d4;touch-action:none;outline:none}#world,#world>canvas{width:100%;height:100%;display:block}.hud{position:absolute;top:20px;left:22px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.hud>div{background:#0b1c29dc;padding:12px 18px;border-left:3px solid #efc96e;min-width:190px;border-radius:4px}.hud small{display:block;font-weight:700;letter-spacing:.02em;font-size:15px}.hud strong{display:block;font-size:47px;line-height:1.2}.hud sup{font-size:12px;margin-left:7px}.hud #status{font-size:11px;color:#bdd4de}#minimap{background:#102838e8;border:1px solid #6a858b;border-radius:8px;width:230px;height:177px}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#071a29e8,#102d3b86)}.overlay[hidden]{display:none}.overlay>div{max-width:620px;padding:26px 38px}.overlay h2{font-size:clamp(30px,4vw,57px);line-height:1.05;margin:14px 0 20px;letter-spacing:-.045em}.overlay p{max-width:500px;color:#d0dee4}.primary{font-weight:750;padding:13px 24px;font-size:18px}.hint{font-size:12px}.touch{position:absolute;bottom:18px;left:18px;right:18px;display:flex;justify-content:space-between;pointer-events:none}.touch>div{display:flex;gap:9px}.touch button{pointer-events:auto;touch-action:none;min-width:70px;min-height:62px;background:#102634d9;font-weight:800;user-select:none}.touch .gas{background:#d5b468df;color:#14242b}.dashboard{display:flex;gap:15px;padding:16px 22px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #314451}.dashboard label{display:flex;align-items:center;gap:8px}.seasons{display:flex;gap:5px}details{padding:15px 24px;color:#bdcbd3;font-size:13px}summary{cursor:pointer;color:#f1d79f}details p{max-width:1050px}a{color:#e4cc91}#message{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);padding:8px 16px;border-radius:8px;background:#142633dc;pointer-events:none;max-width:80%;text-align:center}#message:empty{display:none}dialog{background:#102634;color:#edf5ed;border:1px solid #628392;border-radius:14px;max-width:95vw;width:1040px}dialog::backdrop{background:#06111dd9}#closemap{float:right}#citymap{width:100%;height:auto;background:#071823;border-radius:8px}dialog h2{margin:0 0 15px}@media(max-width:700px){header{padding:12px;align-items:flex-start}h1{font-size:23px}h1 span{display:block;margin:5px 0 0;font-size:10px}.tools{gap:4px;max-width:175px}.tools button{font-size:11px;padding:7px}#stage{height:65vh;min-height:420px}.hud{top:10px;left:10px;right:10px}.hud>div{min-width:145px;padding:8px 12px}.hud strong{font-size:34px}.hud small{font-size:12px}#minimap{width:135px;height:104px}.touch{left:10px;right:10px;bottom:12px}.touch button{min-width:54px;font-size:12px;min-height:58px;padding:7px}.dashboard{padding:10px;gap:9px;font-size:12px}.seasons button{padding:7px 10px}.overlay>div{padding:24px}.overlay p{font-size:13px}.hud #status{font-size:10px}}

.radio{display:flex;gap:10px;align-items:center;padding:12px 22px;background:#102330;border-bottom:1px solid #314451;flex-wrap:wrap}.radio>div{min-width:230px;flex:1}.radio b{display:block;color:#69ded6;letter-spacing:.12em;font-size:12px}.radio span{font-size:12px;color:#b5cbd4}.radio label{display:flex;gap:8px;align-items:center;font-size:12px}.radio input[type=range]{max-width:110px}
