.game-intro{background:#0c302d;color:#fff;padding:40px max(18px,calc((100vw - 1360px)/2));display:flex;align-items:center;justify-content:space-between;gap:25px}.game-intro h1{font-size:clamp(44px,6vw,78px);margin:0}.game-intro p{color:#d7e8d8}.game-intro .eyebrow{color:#eec36b}.empire{width:min(1400px,calc(100% - 32px));margin:28px auto 0;background:#faf8ee;border:1px solid #b9cbb6;box-shadow:0 18px 65px #163b2720;border-radius:20px;overflow:hidden;font:14px/1.5 system-ui,sans-serif;color:#183e30}.game-start{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:40px}.game-start-art img{border-radius:18px;width:100%;height:auto}.game-start h2{font-size:clamp(25px,3vw,42px)}.game-start-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.game-button{border:1px solid #b0c3a5;border-radius:8px;background:#f5f4e4;color:#224d38;padding:10px 15px;font:700 12px/1.4 system-ui,sans-serif;min-height:42px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:transform .12s,box-shadow .12s}.game-button:hover{transform:translateY(-2px);box-shadow:0 5px 10px #2454321a}.game-button.primary{background:#20674b;color:#fff;border-color:#20674b}.game-button.gold{background:#efd080;border-color:#cfaa54}.game-button:disabled{opacity:.45;cursor:default;transform:none}.game-small{font-size:11px;color:#637957}.game-hud{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px;background:#173f32;color:#fff}.game-hud>div{display:grid;gap:4px}.game-hud span{font-size:9px;letter-spacing:.13em;color:#bfd4a8;font-weight:800}.game-hud b{font-size:23px;font-weight:850;color:#f4e6b4}.game-hud .game-button{background:#294d3c;color:#e9eddb;border-color:#497053}.game-mission{background:#e6ce8a;border-top:1px solid #ecdcad;padding:12px 22px;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#423c27;font-size:13px;font-weight:750}.game-world{position:relative;background:#a9c2a0;overflow:hidden}.game-world canvas{display:block;width:100%;height:auto;aspect-ratio:1200/680;touch-action:none;outline-offset:-3px}.world-caption{position:absolute;left:15px;right:15px;bottom:12px;display:flex;justify-content:space-between;gap:15px;pointer-events:none;font-size:10px;color:#edf3d7;text-shadow:0 1px 4px #0009}.world-caption span{padding:6px 12px;background:#214b37d9;border-radius:25px}.game-toast{position:absolute;left:50%;top:18px;transform:translateX(-50%);background:#fffbde;color:#24422c;border:1px solid #c8b676;border-radius:12px;padding:13px 20px;box-shadow:0 10px 35px #0002;font-weight:700;font-size:13px;max-width:min(650px,90%);text-align:center;opacity:0;pointer-events:none;transition:opacity .2s}.game-toast.show{opacity:1}.game-toast.error{background:#ffe9da;color:#743b22;border-color:#dbb090}.game-tabs{display:flex;gap:0;overflow:auto;background:#e0e9d2;border-block:1px solid #c4d2b5}.game-tabs button{border:0;border-right:1px solid #c4d2b5;background:transparent;color:#48613e;font:750 12px/1.5 system-ui,sans-serif;padding:17px 22px;white-space:nowrap;cursor:pointer;flex:1}.game-tabs button.active{background:#fdfaf0;color:#164b31;box-shadow:inset 0 4px #d5b160}.game-workspace{padding:28px;min-height:260px}.game-workspace h2{font-size:26px;letter-spacing:-.04em}.game-workspace h3{font-size:17px}.game-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.game-card{border:1px solid #cdd8bd;border-radius:12px;padding:21px;background:#fffdf4;position:relative;min-width:0}.game-card p{font-size:12px;color:#5b7150;margin:9px 0}.game-card .rig-icon{height:55px;position:relative;display:block;width:135px;background:var(--rig,#eac473);border:3px solid #3a5a41;border-radius:13px 25px 6px 6px;margin:8px 0 20px;box-shadow:inset 0 -12px #ffffff55}.rig-icon:before{content:'';position:absolute;top:8px;left:15px;width:30px;height:18px;background:#366657;border-radius:3px;box-shadow:45px 0 #366657}.rig-icon:after{content:'';position:absolute;bottom:-11px;left:17px;width:19px;height:19px;border-radius:50%;background:#294232;box-shadow:74px 0 #294232}.game-price{font-size:22px;font-weight:850;color:#215437}.game-form{display:grid;gap:13px}.game-form label{font-size:11px;font-weight:750}.game-form input,.game-form select{font:14px/1.4 system-ui,sans-serif;padding:10px;min-height:42px;background:white;color:#284b35;border:1px solid #b8cbaa;border-radius:6px;width:100%;margin-top:5px}.game-badge{background:#e9eddb;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:750;display:inline-block;color:#426331}.game-checks{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.game-checks button{padding:9px;background:#e9eedc;border:1px solid #adbf98;border-radius:6px;cursor:pointer;color:#3f5f2d;font-size:11px}.game-checks button.done{background:#276846;color:#fff}.game-bottom{border-top:1px solid #ccd9ba;display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:25px 30px;background:#e7ecd9}.game-bottom h3{font-size:16px}.game-bottom ul{margin:0;padding-left:18px;font-size:11px;color:#587044;line-height:1.9}.game-bottom p{font-size:12px;color:#5b7150}.game-empty{padding:30px;border:2px dashed #b4c7a5;border-radius:12px;background:#eef2e3}.game-stock{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.game-stock>div{padding:16px;background:#eef2e3;border:1px solid #c7d5b9;border-radius:9px}.game-stock strong{display:block;font-size:24px}.game-stock label{font-size:10px}.drive-controls{position:absolute;bottom:45px;left:20px;display:flex;gap:5px;flex-wrap:wrap;max-width:95%}.drive-controls>button:not(.game-button){width:44px;height:44px;border:1px solid #7d9b63;background:#edf3d9ed;color:#2c5c35;border-radius:8px;font-size:18px;touch-action:none;user-select:none}.drive-controls .game-button{font-size:10px;padding:8px}.empire dialog{width:min(680px,calc(100% - 28px));border:1px solid #9ab489;border-radius:18px;padding:32px;background:#fcfaed;color:#244a34;box-shadow:0 25px 80px #0005}.empire dialog::backdrop{background:#0b2d29b8}.empire dialog h2{font-size:30px}.empire dialog p,.empire dialog li{font-size:14px}.empire .medals{display:flex;gap:10px;flex-wrap:wrap}.empire .medals span{background:#ecd48b;border:1px solid #ceae57;padding:10px 14px;border-radius:30px;font-size:12px;font-weight:750}.empire button:focus-visible,.empire a:focus-visible{outline:3px solid #a57924;outline-offset:3px}@media(prefers-reduced-motion:reduce){.game-button,.game-toast{transition:none}.game-button:hover{transform:none}}@media(max-width:1000px){.game-columns{grid-template-columns:repeat(2,1fr)}.game-hud{flex-wrap:wrap}.game-start{padding:25px;gap:25px}}@media(max-width:650px){.game-intro{padding:25px 18px;flex-direction:column;align-items:start;gap:10px}.empire{width:calc(100% - 20px);margin-top:15px;border-radius:13px}.game-start{grid-template-columns:1fr;gap:20px;padding:20px}.game-start-art img{max-height:220px;object-fit:cover}.game-hud{padding:13px;gap:14px}.game-hud b{font-size:18px}.game-hud>div{min-width:65px}.game-hud span{font-size:8px}.game-hud .game-button{font-size:10px;padding:8px;min-height:35px}.game-mission{font-size:11px;padding:10px 13px}.game-mission button{font-size:10px;white-space:nowrap;padding:8px}.game-world canvas{min-height:240px;object-fit:contain}.world-caption{font-size:8px;left:6px;right:6px;bottom:6px}.world-caption span{padding:4px 7px}.world-caption span:first-child{display:none}.game-tabs button{padding:13px 16px;font-size:11px}.game-workspace{padding:19px}.game-columns,.game-bottom{grid-template-columns:1fr}.game-card{padding:18px}.game-bottom{padding:20px}.game-stock{grid-template-columns:repeat(2,1fr)}.game-toast{font-size:11px;padding:10px 13px}.drive-controls{bottom:32px;left:8px}.drive-controls .game-button{font-size:9px;min-height:34px}.game-start-actions{gap:8px}.game-button{font-size:11px}.empire dialog{padding:24px}}
