:root{--game-gold:#d9a745;--game-shadow:0 4px 0 #cbd4be,0 9px 20px #253a2010;--game-paper:#f8f6eb;--game-deep:#183c32;--bg:#eeefdf;--radius:20px}
body{background:var(--bg);font-size:14px}.game-hud{height:82px;position:sticky;top:0;z-index:30;background:#f8f8eeeF;border-bottom:1px solid #d5dcc9;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 38px;backdrop-filter:blur(14px)}.topbar{display:none}.hud-identity{display:flex;align-items:center;gap:12px;background:none;border:0;text-align:left;min-width:0;color:var(--ink);padding:0}.hud-identity>span:last-child{min-width:0}.hud-identity strong{font-size:15px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.hud-identity small{display:block;margin-top:5px;font-size:11px;color:var(--muted)}.hud-emblem{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;background:var(--game-deep);border:2px solid #577b5e;box-shadow:0 3px 0 #b9c7ad;color:#f3ce79;flex:none}.hud-emblem .icon{width:27px;height:27px}.hud-resources{display:flex;align-items:center;gap:10px;flex:none}.hud-resources>span{display:flex;align-items:center;gap:8px;border:1px solid #dfd4ac;background:#fff8dc;padding:10px 14px;border-radius:12px;box-shadow:0 2px 0 #e2d4a4;color:#7d5819}.hud-resources>span .icon{color:#b67d1d;fill:#f2cf6855}.hud-resources strong{font-size:16px;font-variant-numeric:tabular-nums}.hud-resources .icon-button{width:44px;height:44px}.bottom-nav{display:none}main{padding:28px 36px 38px;max-width:1500px;margin-inline:auto}.page-footer{display:none}.panel{border:1px solid #d8dfca;border-radius:var(--radius);box-shadow:var(--game-shadow);background:#fffff8}.button{border-radius:11px;min-height:44px;font-weight:650;font-size:13px;gap:7px;padding:10px 15px}.button.primary{background:var(--green);box-shadow:0 3px 0 #153a2a;border-color:var(--green)}.button.primary:hover{background:#2a6049;transform:translateY(-1px)}.button.secondary{background:#f0f3e7;border:1px solid #cbd6bd;color:#37583d;box-shadow:0 2px 0 #d2dbc6}.button:disabled{opacity:.45;transform:none;cursor:default}.button.small{min-height:44px;padding:9px 13px}.text-button{min-height:40px}.icon-button{min-width:44px;min-height:44px}.button:active:not(:disabled),.home-shortcuts button:active,.bottom-nav a:active{transform:translateY(2px)}.game-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.game-title h1{font-size:26px;letter-spacing:-.8px;font-weight:750}.game-title p{font-size:12px;line-height:1.8;color:#637258;margin-top:5px}.help-button{background:#f7f8ec;border:1px solid #d5dec8;color:#668057;flex:none}.mini-tag{font-size:10px;font-weight:550;display:inline-flex;padding:4px 7px;background:#eef0e3;border:1px solid #dce2ce;border-radius:6px;white-space:nowrap;color:#687354;line-height:1.3}.mini-tag.good{background:#e3eddb;color:#345c36;border-color:#c4d7b8}.game-stat>span{display:flex;align-items:center;gap:6px;color:#637359;font-size:12px}.game-stat>span .icon{width:16px;height:16px}.game-stat>strong{display:block;font-size:22px;margin-top:8px;font-weight:700}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.home-heading>span{font-size:13px;font-weight:650;color:#637459}.home-heading .text-button{font-size:12px;color:#8e6a24;gap:6px}.game-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 20%,#f7f3d8,#edf2dc);border-color:#bfcdae}.hero-top{position:absolute;top:24px;left:25px;right:25px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;z-index:2}.hero-top h1{font-size:25px;letter-spacing:-.6px;margin-top:11px;max-width:480px;overflow-wrap:anywhere}.hero-day{font-size:11px;display:flex;align-items:center;gap:5px;white-space:nowrap;color:#7c713c}.hero-day .icon{width:17px}.game-hero>img{display:block;width:100%;height:345px;object-fit:contain;object-position:center 66%;margin:26px 0 -17px;filter:saturate(1.14)}.hero-resources{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:19px 25px;background:#fbfcf0eF;border-top:1px solid #d4ddc5}.hero-resources .game-stat{border-right:1px solid #dce3cf}.hero-resources .game-stat:last-child{border:0}.hero-resources strong{font-size:23px;margin-top:6px}.home-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:23px 0}.home-shortcuts>button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:75px;background:#fbfcf1;border:1px solid #d2ddc2;border-radius:16px;box-shadow:0 3px 0 #d0d9c1;color:var(--green);font-weight:650;font-size:13px;transition:transform .15s}.home-shortcuts>button>span{display:grid;place-items:center;width:43px;height:43px;background:#e6edd8;border:1px solid #d0ddbd;border-radius:12px}.home-shortcuts>button:nth-child(3)>span{background:#f3e9c9;color:#9e7730;border-color:#e3d6aa}.home-shortcuts>button:nth-child(4)>span{background:#f1e3c5;color:#a37a30;border-color:#e5d4ad}.home-shortcuts .icon{width:24px;height:24px}.game-auto{display:flex;align-items:center;gap:13px;padding:15px 18px;margin-bottom:24px;background:#f4f7e9}.auto-emblem{width:45px;height:45px;display:grid;place-items:center;border:1px solid #d1dbc2;border-radius:13px;background:#e6edd9;color:#687d53;flex:none}.auto-emblem.running{background:#d7e8cb;color:#315d32;border-color:#b5cca6}.game-auto>div:nth-child(2){flex:1;min-width:0}.game-auto strong{display:flex;gap:8px;align-items:center;font-size:14px}.game-auto small{display:block;font-size:11px;color:#647657;margin-top:6px}.game-switch{flex:none;width:46px;height:28px;background:#d2d9c7;border:0;border-radius:20px;padding:3px;transition:background .2s;position:relative}.game-switch:before{position:absolute;inset:-8px;content:''}.game-switch>span{display:block;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 2px 4px #36472d30;transition:transform .2s}.game-switch[aria-checked=true]{background:#477a45}.game-switch[aria-checked=true]>span{transform:translateX(18px)}.game-auto .icon-button{min-width:32px;width:32px;color:#7b8d68}.home-quest{padding:19px;display:flex;align-items:center;gap:15px;margin-bottom:27px;background:#fff7de;border-color:#dfd1a6}.quest-icon{display:grid;place-items:center;width:43px;height:49px;border:1px solid #d7b866;border-radius:12px;background:#f2dea2;color:#947024;flex:none}.home-quest>div{flex:1}.home-quest small{font-size:10px;color:#8e763b}.home-quest h2{font-size:16px;margin:5px 0}.home-quest p{font-size:11px;color:#81764f}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 15px}.section-heading h2{font-size:17px;display:flex;align-items:center;gap:8px}.section-heading .text-button{font-size:12px}.section-heading h2 .icon{width:20px}.game-sites,.game-contracts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.game-site{padding:21px;min-width:0;display:flex;flex-direction:column;gap:15px}.game-site-head{display:flex;align-items:center;gap:11px}.game-site-head>div{flex:1;min-width:0}.game-site h2{font-size:15px;line-height:1.6}.game-site-head small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.game-site-head>strong{font-size:21px;color:var(--green)}.site-medallion{display:grid;place-items:center;width:43px;height:47px;border:1px solid #c4d6b5;border-radius:11px;background:#e7efda;color:#5e8050;flex:none}.site-medallion.waiting{background:#f7edce;border-color:#e7d7a9;color:#987728}.site-quick-info{display:flex;align-items:center;gap:13px;font-size:11px;color:#61745a;flex-wrap:wrap}.site-quick-info>span{display:flex;align-items:center;gap:5px}.site-quick-info .icon{width:15px;height:15px}.site-quick-info b{font-weight:400}.site-warning{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.7;background:#faf0d9;padding:7px 10px;border-radius:8px;color:#8b6b2e}.site-warning .icon{width:15px;flex:none}.game-site .button{margin-top:auto}.season-banner{display:flex;width:100%;text-align:left;align-items:center;gap:17px;margin-top:28px;padding:22px;background:#234b3d;color:#f6e8ba;border-color:#577151;box-shadow:0 4px 0 #142e25}.season-emblem{width:57px;height:65px;border:2px solid #b99a4e;border-radius:15px;background:#385a42;box-shadow:inset 0 0 0 4px #54704e;color:#ebcb79;display:grid;place-items:center;flex:none}.season-emblem .icon{width:29px;height:29px}.season-banner>span:nth-child(2){flex:1}.season-banner small{font-size:10px;color:#c3cead;display:block;letter-spacing:.5px}.season-banner strong{display:block;font-size:16px;margin:7px 0 12px}.season-banner em{font-size:10px;display:block;font-style:normal;color:#cad5b5;margin-top:6px}.banner-progress{display:block;background:#16382a;height:5px;border-radius:6px;overflow:hidden}.banner-progress>span{display:block;height:100%;background:#e8be62}.game-tabs{display:flex;gap:8px;padding:5px;background:#dfe6d2;border-radius:14px;margin-bottom:23px;border:1px solid #cdd9bd}.game-tabs button{flex:1;min-width:0;min-height:44px;border:0;border-radius:10px;background:transparent;color:#6c7b5f;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.game-tabs .icon{width:18px;height:18px}.game-tabs button.active{background:#fffff5;color:var(--green);box-shadow:0 3px 0 #c7d2b8;font-weight:700}.game-tabs b{font-size:10px;background:#e6ecd9;padding:3px 6px;border-radius:5px}.grade-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}.grade-chips button{min-height:40px;padding:8px 17px;border:1px solid #d2ddc2;border-radius:11px;background:#f6f7eb;font-size:12px;color:#657a54}.grade-chips button.active{background:#315c43;border-color:#315c43;color:#fff8dd;box-shadow:0 2px 0 #20432e}.game-contract{display:flex;overflow:hidden;min-width:0}.contract-art{width:103px;display:grid;place-items:center;position:relative;color:#5e8157;background:linear-gradient(145deg,#e7edd8,#d7e1c3);flex:none;border-right:1px solid #d5dec5}.contract-art>.icon{width:58px;height:58px;stroke-width:1.3}.grade-ribbon{position:absolute;top:13px;left:10px;color:#5d744e;font-size:11px;background:#f5f8e9;border:1px solid #bacaac;border-radius:6px;padding:4px 8px;font-weight:700}.tier-1{background:linear-gradient(145deg,#f5edd4,#e3d8b1);color:#947437}.tier-2{background:linear-gradient(145deg,#e9e8d2,#c8d2ba);color:#53714d}.tier-3,.tier-4{background:linear-gradient(145deg,#344e43,#183c32);color:#d5b967}.game-contract-body{padding:19px;min-width:0;flex:1}.game-contract h2{font-size:16px;line-height:1.6}.game-meta{display:flex;flex-wrap:wrap;gap:13px;color:#6a795d;font-size:11px;margin:10px 0}.game-meta>span{display:inline-flex;gap:5px;align-items:center}.game-meta .icon{width:14px;height:14px}.trade-tokens{display:flex;gap:6px;flex-wrap:wrap}.trade-tokens>span{font-size:10px;display:flex;gap:4px;align-items:center;background:#eff2e6;border:1px solid #dce3cf;border-radius:5px;padding:3px 5px;color:#67785a}.trade-tokens .icon{width:12px;height:12px}.game-contract-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;border-top:1px solid #e2e8d5;padding-top:13px;margin-top:15px}.game-contract-bottom small{display:block;font-size:10px;color:#7d846c;margin-bottom:5px}.coin-value{display:flex;align-items:center;gap:5px;font-size:20px;color:#97691f;font-variant-numeric:tabular-nums}.coin-value .icon{width:20px;height:20px;color:#b78b34;fill:#f2d27455}.game-empty{grid-column:1/-1;text-align:center;padding:45px 20px;display:grid;justify-items:center;gap:20px}.game-empty>.icon{width:45px;height:45px;color:#9bb181}.game-empty h2{font-size:16px}.game-workers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.game-worker{display:grid;grid-template-columns:67px minmax(0,1fr);gap:14px;padding:19px;min-width:0}.worker-portrait{position:relative;height:77px}.worker-portrait .avatar{width:67px;height:67px;border-radius:15px;border:3px solid #d2ddc4;box-shadow:0 3px 0 #b2c39e}.worker-portrait>span{position:absolute;bottom:0;left:5px;right:5px;background:var(--green);border:1px solid #8da37b;border-radius:6px;color:#fff3bd;text-align:center;font-size:11px;padding:3px;font-weight:700}.worker-core{min-width:0}.worker-name{display:flex;justify-content:space-between;align-items:center;gap:8px}.worker-name h2{font-size:16px;font-weight:700}.worker-core>p{display:flex;align-items:center;gap:4px;font-size:11px;color:#6c7a60;margin:8px 0}.worker-core>p .icon{width:14px;height:14px}.worker-core>p>span{display:flex;align-items:center;gap:3px;margin-left:auto;color:#8d763e}.worker-mini-stats{display:flex;gap:12px;align-items:center;justify-content:space-between}.worker-mini-stats>span{display:flex;gap:4px;align-items:center;font-size:12px;font-weight:650}.worker-mini-stats .icon{width:14px;height:14px;color:#7b8b64}.worker-mini-stats>span:last-child .icon{color:#b38a31}.worker-mini-stats small{font-size:9px;color:#7a846d;font-weight:400}.xp-line{display:flex;align-items:center;gap:9px;margin-top:11px}.xp-line>div{background:#e1e8d4;height:5px;border-radius:6px;overflow:hidden;flex:1}.xp-line>div>span{height:100%;background:#8da568;display:block}.xp-line>small{font-size:9px;color:#6b795d;font-variant-numeric:tabular-nums;white-space:nowrap}.worker-card-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #e0e7d2}.worker-card-footer>span{font-size:11px;color:#758064;display:flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}.worker-card-footer>span .icon{width:15px;flex:none}.worker-card-footer b{font-weight:500}.worker-card-footer .button{min-height:38px;font-size:12px;flex:none}.people-toolbar{gap:12px;margin-bottom:18px}.people-filters>.section-description{display:none}.people-filters>label:first-child{font-size:12px}.people-filters select{font-size:13px}.people-filters{gap:10px 20px}.check-filter{font-size:12px}.filter-tabs{background:#e2e9d5}.filter-tabs button{font-size:12px;min-height:40px}.company-banner{padding:23px;display:flex;align-items:center;gap:16px;background:linear-gradient(130deg,#fcf9e9,#eef2df);margin-bottom:19px}.company-crest{width:64px;height:72px;display:grid;place-items:center;color:#ebcc7c;background:var(--green);border:3px solid #a2b18b;border-radius:16px;box-shadow:inset 0 0 0 3px #46684b;flex:none}.company-crest>.icon{width:35px;height:35px}.company-banner>div{flex:1;min-width:0}.company-banner h2{font-size:19px;margin:9px 0;overflow-wrap:anywhere;line-height:1.5}.company-banner p{font-size:12px;color:#72825d;display:flex;align-items:center;gap:5px}.company-banner p .icon{width:14px;height:14px;margin-left:8px}.company-banner p .icon:first-child{margin-left:0}.registration-track{display:flex;gap:8px;margin:0 0 20px}.registration-track>span{display:flex;align-items:center;gap:4px;font-size:11px;flex:1;justify-content:center;border:1px solid #dddcc6;border-radius:8px;min-height:35px;color:#9a8f65;background:#f1efdc}.registration-track>span.met{color:#567947;background:#e3ecd6;border-color:#ccdabb}.registration-track .icon{width:13px}.company-payroll{display:flex;gap:8px;align-items:center;margin:0 0 20px;padding:12px 15px;background:#e4ebd6;border:1px solid #cfdcbb;border-radius:13px}.company-payroll>span{display:flex;align-items:center;gap:7px;font-size:12px}.company-payroll>span>strong{color:#385d36;font-size:17px;font-variant-numeric:tabular-nums}.company-payroll>span .icon{width:17px}.company-payroll>.button{margin-left:auto}.company-payroll>.icon-button{width:36px;min-width:36px}.game-licenses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.game-license{display:flex;align-items:center;text-align:left;gap:15px;padding:20px;width:100%;color:var(--ink)}.game-license>span:nth-child(2){flex:1;min-width:0}.game-license strong{font-size:14px;font-weight:650;display:block;line-height:1.5}.game-license small{display:block;font-size:11px;color:#83906c;margin:7px 0 10px}.game-license>.icon{width:18px;flex:none;color:#80956b}.license-stamp{width:46px;height:53px;display:grid;place-items:center;border:1px solid #cdd8bc;border-radius:12px;background:#edf1df;flex:none;color:#90a476}.license-stamp .icon{width:29px;height:29px}.game-license.owned .license-stamp{color:#a27d28;background:#f8edc8;border-color:#dfcd8c}.game-license.owned{border-color:#c5d5b1}.office-note{display:flex;align-items:center;gap:7px;font-size:12px;color:#778567;margin:0 0 17px}.office-note .icon{width:17px}.game-offices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.office-slot{display:flex;align-items:center;text-align:left;gap:15px;padding:20px;color:var(--ink);width:100%}.office-slot-icon{width:53px;height:57px;display:grid;place-items:center;background:#e7ecda;border:2px dashed #bcccaa;border-radius:13px;flex:none;color:#9bad86}.office-slot-icon .icon{width:29px;height:29px}.office-slot>span:nth-child(2){flex:1}.office-slot strong{font-size:15px;display:block}.office-slot small{font-size:11px;display:block;margin:7px 0;color:#8b783d}.office-slot em{display:block;font-style:normal;font-size:11px;color:#7a8d66}.office-slot>.icon{width:17px;color:#859b6c;flex:none}.office-slot.occupied .office-slot-icon{border-style:solid}.office-slot .avatar{width:49px;height:53px;border-radius:10px}.equipment-tile{display:flex;align-items:center;gap:18px;padding:23px;margin-bottom:18px}.equipment-tile>span{width:67px;height:74px;display:grid;place-items:center;background:#e6edd8;border:1px solid #c2d2af;border-radius:15px;color:#749454;flex:none}.equipment-tile>span .icon{width:37px;height:37px}.equipment-tile>div{flex:1}.equipment-tile h2{font-size:16px}.equipment-tile p{font-size:11px;color:#778965;margin:8px 0}.equipment-tile .coin-value{font-size:17px}.game-season-hero{background:radial-gradient(ellipse at 50% -20%,#546a43,#203f32);border-color:#71815d;color:#eddfb1;text-align:center;padding:27px 25px;margin-bottom:20px}.game-season-hero>.season-emblem{margin:0 auto 17px}.game-season-hero>h2{font-size:21px;letter-spacing:.3px;line-height:1.5}.game-season-hero>strong{font-size:40px;letter-spacing:-1px;color:#f4d47d;display:block;margin:13px 0 17px}.game-season-hero>strong>small{font-size:12px;letter-spacing:0;margin-left:7px;color:#c2cda8}.game-season-hero>.progress-track{background:#153427;box-shadow:0 1px 0 #6d815645}.game-season-hero>.progress-track>span{background:#e4bd61}.game-season-hero>p{font-size:11px;color:#b5c39c;margin-top:9px}.season-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid #53694a;padding-top:20px;margin-top:23px;text-align:center}.season-mini-grid .game-stat>span{justify-content:center;color:#acbc94;font-size:10px}.season-mini-grid .game-stat>strong{font-size:17px;color:#f1dfad;margin-top:8px}.season-action-row{display:flex;gap:13px;margin:22px 0}.season-action-row>button{flex:1;min-height:51px;background:#f9f4dd;border:1px solid #dace9f;border-radius:12px;box-shadow:0 3px 0 #d8cba3;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:650;color:#93762e}.eligibility-switch{display:flex;gap:6px;align-items:center;font-size:11px;color:#73845d;min-height:44px}.eligibility-switch input{accent-color:var(--green);width:17px;height:17px}.season-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.game-task{display:flex;align-items:center;gap:12px;padding:17px;min-width:0}.task-symbol{width:48px;height:58px;border:1px solid #c8d5b6;border-radius:11px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#76955d;background:#e8efda;flex:none}.task-symbol .icon{width:24px;height:24px}.task-symbol small{font-size:9px}.game-task>div{flex:1;min-width:0}.game-task h3{font-size:14px;line-height:1.5}.game-task p{display:flex;gap:4px;align-items:center;font-size:11px;color:#7b805d;margin-top:8px;flex-wrap:wrap}.game-task p .icon{width:13px;height:13px;margin-left:5px}.game-task p .icon:first-child{margin-left:0}.game-task>div>small{font-size:10px;color:#8a9577;margin-top:6px;display:block}.game-task .button{font-size:12px;flex:none;min-width:65px;padding-inline:10px}.worker-detail-head{display:flex;align-items:center;gap:20px;padding:10px 0 20px}.worker-detail-head .avatar{width:84px;height:90px;border:3px solid #cbd8b8;border-radius:18px}.worker-detail-head h2{font-size:29px;margin:8px 0}.worker-detail-head p{font-size:12px;color:#758369}.detail-xp{margin:22px 0;font-size:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.detail-xp .progress-track{width:100%}.detail-xp strong{font-size:12px;color:#77905d}.full-button{width:100%;margin-top:19px}.office-bonus{display:flex;align-items:center;gap:10px;padding:15px;background:#eff2dc;border:1px solid #d5dfb9;border-radius:12px;color:#768842;font-size:14px}.growth-samples{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.growth-samples>div{padding:15px;background:#f0f3e4;border-radius:11px;display:flex;flex-direction:column;gap:9px}.growth-samples strong{font-size:17px;color:#536b3d}.growth-samples span{font-size:12px;color:#7b876a}.license-detail-status{display:flex;align-items:center;gap:12px;padding:12px 0 20px;font-size:14px}.license-detail-status .icon{width:29px;height:29px;color:#b29542}.license-detail-status>span{margin-left:auto;color:#a78b42;font-size:12px}.modal-body{font-size:14px;line-height:1.8}.modal-body p{font-size:13px;line-height:1.9}.modal-body .game-stat{background:#f2f4e8;border:1px solid #dee5cf;border-radius:12px;padding:13px}.modal-body .game-stat>strong{font-size:21px}.modal-head h2{font-size:20px}.modal-head{background:#fffff8}.certificate{font-size:11px;padding:6px 8px}.form-hint{font-size:12px}.requirement{font-size:12px}.license-requirements .requirement>strong{max-width:52%;font-size:11px;text-align:right}.game-hud .icon-button:hover,.help-button:hover{background:#e6edda}.page-head .page-description,.page-head .page-kicker,.page-head .world-badge{display:none}.page-head h1{font-size:25px}.page-head{margin-bottom:20px}.leaderboard-panel,.my-rank{box-shadow:var(--game-shadow)}.leaderboard-table .rank-top{border:1px solid #e0cc88}.leaderboard-panel{margin-top:20px}
@media(min-width:1400px){.game-contracts{grid-template-columns:repeat(3,minmax(0,1fr))}.game-contract{flex-direction:column}.contract-art{width:100%;height:115px;border-right:0;border-bottom:1px solid #d5dec5}.game-workers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.sidebar{display:none!important}.workspace{margin-left:0}.game-hud{padding-inline:22px}.mobile-scrim{display:none!important}main{padding:23px 22px 110px}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));bottom:0;left:0;right:0;padding:7px 9px max(9px,env(safe-area-inset-bottom));background:#fcfcefF5;border-top:1px solid #ced9bb;box-shadow:0 -8px 25px #24432c0c;backdrop-filter:blur(18px);z-index:35}.bottom-nav>a{position:relative;min-height:55px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#98a587;border-radius:13px;font-size:11px;font-weight:550;text-decoration:none}.bottom-nav .icon{width:24px;height:24px;stroke-width:1.8}.bottom-nav>a.active{background:#e9efda;color:#315c3d;font-weight:750}.bottom-nav>a.active:before{content:'';position:absolute;top:0;width:19px;height:3px;background:#6d8c4c;border-radius:3px}.bottom-nav>a.active .icon{fill:#ceddb44d}.toast{bottom:calc(90px + env(safe-area-inset-bottom));left:50%;max-width:calc(100% - 32px)}.game-contracts{grid-template-columns:repeat(2,minmax(0,1fr))}.game-contract{flex-direction:column}.contract-art{width:100%;height:95px;border-right:0;border-bottom:1px solid #d5dec5}.game-workers{grid-template-columns:repeat(2,minmax(0,1fr))}.home-heading{margin-bottom:13px}.game-hero>img{height:330px}.game-title{margin-bottom:20px}}
@media(max-width:600px){body{font-size:14px}.game-hud{height:auto;min-height:76px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:8px}.hud-emblem{width:39px;height:43px;border-radius:12px}.hud-emblem .icon{width:24px;height:24px}.hud-identity{gap:9px;max-width:56%}.hud-identity strong{font-size:13px;max-width:160px}.hud-identity small{font-size:10px;margin-top:4px}.hud-resources{gap:3px}.hud-resources>span{gap:4px;padding:8px 9px;border-radius:10px}.hud-resources>span .icon{width:17px;height:17px}.hud-resources strong{font-size:13px}.hud-resources .icon-button{min-width:33px;width:33px;min-height:44px}.hud-resources .icon-button .icon{width:18px;height:18px}main{padding:19px 16px calc(104px + env(safe-area-inset-bottom));min-width:0}.game-title h1{font-size:23px}.game-title p{font-size:11px}.game-title{margin-bottom:18px;gap:10px}.game-title .icon-button{width:40px;min-width:40px}.hero-top{top:17px;left:18px;right:18px}.hero-top h1{font-size:20px;max-width:220px;margin-top:8px}.hero-day{font-size:9px;gap:3px}.hero-day .icon{width:13px}.hero-top .mini-tag{font-size:9px}.game-hero>img{height:257px;margin-top:39px;margin-bottom:-15px;object-fit:cover;object-position:center 61%}.hero-resources{padding:16px 19px;gap:14px}.hero-resources .game-stat>span{font-size:10px;gap:5px}.hero-resources .game-stat>strong{font-size:22px}.home-shortcuts{margin:21px 0;gap:10px}.home-shortcuts>button{flex-direction:column;min-height:88px;gap:8px;background:transparent;border:0;box-shadow:none;font-size:11px}.home-shortcuts>button>span{width:52px;height:52px;border-radius:15px;border:1px solid #c6d6b0;box-shadow:0 4px 0 #bfcdac;background:#ecf3de}.home-shortcuts>button:nth-child(3)>span{box-shadow:0 4px 0 #d3bf83}.home-shortcuts>button:nth-child(4)>span{box-shadow:0 4px 0 #d2ba82}.home-shortcuts>button .icon{width:27px;height:27px}.game-auto{padding:13px 12px;gap:9px;margin-bottom:21px}.game-auto strong{font-size:13px;gap:6px}.game-auto .mini-tag{font-size:9px;padding:3px 5px}.game-auto small{font-size:10px}.auto-emblem{width:37px;height:40px;border-radius:11px}.auto-emblem .icon{width:21px}.game-auto .icon-button{min-width:24px;width:24px}.game-switch{width:42px;height:26px}.game-switch>span{width:20px;height:20px}.game-switch[aria-checked=true]>span{transform:translateX(16px)}.home-quest{gap:11px;padding:15px;margin-bottom:23px}.quest-icon{width:35px;height:43px;border-radius:10px}.home-quest h2{font-size:14px}.home-quest .button{padding:8px 11px;font-size:12px}.home-quest small{font-size:9px}.home-quest p{font-size:10px}.game-sites,.game-contracts,.game-workers,.game-offices,.game-licenses,.season-task-list{grid-template-columns:1fr;gap:16px}.game-site{padding:18px;gap:13px}.game-site h2{font-size:14px}.game-site-head>strong{font-size:21px}.site-medallion{width:37px;height:42px}.game-site-head small{font-size:10px}.site-quick-info{font-size:10px;gap:12px}.section-heading{margin:24px 0 13px}.section-heading h2{font-size:16px}.season-banner{padding:19px 16px;gap:13px}.season-banner strong{font-size:14px}.season-emblem{width:45px;height:55px;border-radius:13px}.season-banner small{font-size:9px}.season-banner em{font-size:9px}.game-tabs{margin-bottom:20px;gap:3px;padding:4px;border-radius:12px}.game-tabs button{font-size:12px;gap:6px;min-height:44px}.game-tabs .icon{width:17px;height:17px}.company-tabs button{gap:5px;font-size:12px}.company-tabs .icon{width:16px;height:16px}.grade-chips{gap:6px;margin-bottom:18px}.grade-chips button{font-size:11px;min-height:38px;padding:7px 12px}.game-contract{flex-direction:row}.contract-art{width:76px;height:auto;border-right:1px solid #d5dec5;border-bottom:0}.contract-art>.icon{width:43px;height:43px}.grade-ribbon{font-size:9px;left:8px;top:12px;padding:3px 6px}.game-contract-body{padding:17px 14px}.game-contract h2{font-size:15px}.game-meta{font-size:10px;gap:10px;margin:9px 0}.trade-tokens>span{font-size:9px;padding:3px 4px}.trade-tokens .icon{width:11px;height:11px}.game-contract-bottom{gap:8px;margin-top:13px;padding-top:11px}.game-contract-bottom .button{font-size:11px;padding:8px 11px;min-height:41px}.game-contract-bottom .coin-value{font-size:20px}.game-contract-bottom small{font-size:9px}.game-contract-bottom .coin-value .icon{width:18px;height:18px}.game-worker{grid-template-columns:61px minmax(0,1fr);padding:17px 15px;gap:12px}.worker-portrait{height:73px}.worker-portrait .avatar{width:61px;height:64px;border-radius:14px}.worker-portrait>span{font-size:10px;left:4px;right:4px;bottom:0}.worker-name h2{font-size:15px}.worker-name .mini-tag{font-size:9px;padding:3px 5px}.worker-mini-stats{gap:10px}.worker-mini-stats>span{font-size:12px;gap:3px}.worker-mini-stats small{font-size:8px}.worker-core>p{font-size:11px;margin:7px 0}.worker-card-footer{gap:9px;padding-top:11px}.worker-card-footer>span{font-size:10px;max-width:75%;line-height:1.7}.worker-card-footer .button{min-height:40px;font-size:11px;padding:8px 13px}.xp-line>small{font-size:9px}.company-banner{padding:18px 16px;gap:12px;margin-bottom:16px}.company-crest{width:50px;height:59px;border-radius:13px}.company-crest>.icon{width:28px;height:28px}.company-banner h2{font-size:16px;margin:7px 0;line-height:1.5}.company-banner .mini-tag{font-size:9px}.company-banner p{font-size:11px}.company-banner>.button{font-size:11px;padding:9px 13px}.registration-track{gap:6px;margin-bottom:19px}.registration-track>span{font-size:10px;min-height:33px;gap:3px}.registration-track .icon{width:12px}.company-payroll{padding:10px 12px;gap:4px;margin-bottom:19px}.company-payroll>span{font-size:11px;gap:5px}.company-payroll>span>strong{font-size:16px}.company-payroll>.button{font-size:11px;min-height:40px;padding:8px 10px}.company-payroll>.icon-button{width:29px;min-width:29px}.people-toolbar>.filter-tabs{align-self:stretch;width:100%}.people-toolbar .filter-tabs button{font-size:11px;padding:8px 10px}.people-filters>label:first-child{width:auto;flex:1;gap:7px;font-size:0}.people-filters>label:first-child select{font-size:13px;min-height:44px;max-width:100%;width:100%;padding:9px 25px 9px 10px}.people-filters{gap:10px;flex-wrap:nowrap}.check-filter{font-size:11px;white-space:nowrap;flex:none;gap:6px}.check-filter input{width:16px;height:16px}.office-slot{padding:18px 16px;gap:13px}.office-slot strong{font-size:15px}.office-slot small{font-size:11px}.office-slot-icon{width:47px;height:54px}.office-note{font-size:11px;line-height:1.7}.game-license{padding:17px 15px;gap:13px}.game-license strong{font-size:14px}.game-license small{font-size:11px}.license-stamp{width:43px;height:50px}.equipment-tile{padding:18px 15px;gap:12px}.equipment-tile>span{width:47px;height:60px}.equipment-tile>span .icon{width:30px;height:30px}.equipment-tile h2{font-size:14px}.equipment-tile p{font-size:10px;margin:6px 0}.equipment-tile .coin-value{font-size:16px}.equipment-tile .button{font-size:11px;padding:8px 10px}.game-season-hero{padding:25px 19px 20px}.game-season-hero h2{font-size:19px}.game-season-hero>strong{font-size:39px}.season-mini-grid .game-stat>strong{font-size:15px}.season-mini-grid .game-stat>span{font-size:9px;gap:4px}.season-mini-grid .game-stat>span .icon{width:13px;height:13px}.game-task{padding:16px 13px;gap:11px}.game-task h3{font-size:14px}.game-task p{font-size:10px}.game-task .button{min-width:61px;min-height:42px;font-size:11px}.task-symbol{width:41px;height:54px}.task-symbol .icon{width:21px}.game-task>div>small{font-size:10px}.eligibility-switch{font-size:10px}.season-action-row>button{font-size:12px;min-height:47px}.season-action-row .icon{width:20px}dialog{width:100%;max-width:100%;max-height:89dvh;inset:auto 0 0;margin:0;border:1px solid #c8d6b4;border-bottom:0;border-radius:25px 25px 0 0;box-shadow:0 -15px 65px #18362540;background:#fffff8;padding:0}dialog::backdrop{background:#18342a80;backdrop-filter:blur(3px)}.modal-head{padding:18px 19px 8px;align-items:center;gap:10px}.modal-head:before{content:'';position:absolute;top:7px;left:calc(50% - 17px);width:34px;height:4px;border-radius:4px;background:#cbd6ba}.modal-head h2{font-size:18px;line-height:1.5}.modal-body{padding:9px 19px calc(25px + env(safe-area-inset-bottom));font-size:13px}.modal-body p{font-size:12px}.worker-detail-head .avatar{width:75px;height:80px}.worker-detail-head h2{font-size:27px}.worker-detail-head{gap:17px}.modal-body .game-stat{padding:12px}.modal-body .game-stat>span{font-size:11px}.modal-body .game-stat>strong{font-size:22px}.growth-samples>div{padding:13px}.growth-samples span{font-size:11px}.certificate{font-size:10px}.full-button{min-height:46px}.form-hint{font-size:12px}.license-requirements .requirement{font-size:11px;gap:10px}.license-requirements .requirement>strong{font-size:10px}.license-requirements .requirement>span{min-width:0}.worker-choice small{font-size:10px}.training-select select{font-size:14px!important}.page-head{margin-bottom:19px}.page-head h1{font-size:23px}.my-rank{padding:17px;margin-bottom:18px}.leaderboard-table th,.leaderboard-table td{font-size:11px}.toast{font-size:12px;padding:12px 16px}.notice-strip{font-size:11px}.page-head .world-badge{display:none}.modal-body .stage-needs{gap:8px}.stage-item-title h3{font-size:12px}.worker-choice input{width:18px;height:18px}.people-toolbar .section-description{display:none}}
@media(prefers-reduced-motion:reduce){.game-switch>span,.game-switch,.button,.home-shortcuts>button{transition:none}}

/* Keep touch controls usable at phone widths and long company names readable. */
.company-banner h2{overflow-wrap:anywhere}
.office-slot>span:nth-child(2){min-width:0}
.game-switch,.icon-button,.text-button,.grade-chips button{touch-action:manipulation}
@media(max-width:1000px){
 .bottom-nav>a{color:#617253;font-size:12px}
}
@media(max-width:600px){
 .button,.button.small,.game-contract-bottom .button,.worker-card-footer .button,
 .company-payroll>.button,.game-task .button,.grade-chips button,.text-button{min-height:44px}
 .company-payroll>.icon-button,.game-auto .icon-button{min-width:44px;min-height:44px}
 .game-contract-bottom .button,.worker-card-footer .button,.game-task .button{font-size:12px}
 dialog{overflow-y:auto;overscroll-behavior:contain}
 .season-mini-grid .game-stat>strong{overflow-wrap:anywhere}
}
