/* v0.22 — уголь, латунь, бумага. Общая отделка игрового интерфейса. */
:root{
 --bg:#222524;--surface:#2b2f2e;--raised:#343938;
 --line:#4a504d;--line-soft:#363c39;
 --text:#f1ede4;--muted:#c2c6bf;--faint:#a4ada6;
 --gold:#dbb777;--gold-light:#ebce9c;
 --paper:#e9e4d8;--paper-ink:#292e2a;--paper-muted:#5a6159;
 --ui-rule:#ffffff12;--ui-soft:#ffffff06;
 --ui-ink:#181c1c;--ui-brass:#c8a467;
}
body{background:#222524;color:var(--text)}
button,input,select{font-family:var(--font)}
button{transition:background-color .15s,border-color .15s,color .15s}
.workspace{padding:24px 28px 36px;max-width:1530px}
.eyebrow{font-size:12px;letter-spacing:1.1px}
.page-head{margin-bottom:24px;gap:20px}
.page-head h1,.yard-heading h1,.influence-heading h1{
 font:500 36px/1.15 var(--display);letter-spacing:0;color:#f2eee4;
}
.page-head p{font-size:16px;color:#b6beb6;line-height:1.6;margin-top:8px}
.section-header h2{font:500 28px/1.2 var(--display);color:#ede8dc}
.section-header p{font-size:15px;line-height:1.6;color:#b7bfb7}
.btn{min-height:44px;border-radius:4px;font-size:14px;font-weight:600;box-shadow:none}
.btn.primary,.btn.action-btn{
 background:#ddbc81;border:1px solid #e4c995;color:#272a23;box-shadow:none;
}
.btn.primary:hover:not(:disabled),.btn.action-btn:hover:not(:disabled){
 background:#eacd99;border-color:#f0d6a5;box-shadow:none;
}
.btn.secondary{background:#343a36;border-color:#62695d;color:#e9e4d5;box-shadow:none}
.btn.secondary:hover:not(:disabled){background:#41483e;border-color:#99987d}
.round-btn{background:transparent;border-color:#ffffff24;color:#c5c9be;border-radius:4px}
.round-btn:hover{background:#ffffff0a;border-color:#b7ad8d}
button:focus-visible,.btn:focus-visible{outline:2px solid #e1bd7e;outline-offset:3px}
.progress{height:4px;border-radius:2px;background:#ffffff12}
.progress>span{background:#c5a16a;border-radius:2px}

/* Навигация держит рамку игры; акцент принадлежит текущему разделу. */
.sidebar{background:#181d1d;border-right:1px solid #404641;box-shadow:none}
.nav-world{color:#a6afa8;letter-spacing:1.2px;margin-bottom:17px}
.nav-item{min-height:46px;border-radius:4px;border-color:transparent;color:#bfc7bf;font-size:14px}
.nav-item .ico{color:#98a59b;width:19px;height:19px}
.nav-item:hover{background:#252d29;color:#f0ebdd}
.nav-item.active{background:#2c342e;border-color:#ffffff09;box-shadow:inset 2px 0 #d3ae70;color:#edcf98}
.nav-item.active .ico{color:#dbb777}
.nav-count{border-radius:3px;background:#ffffff0c;color:#c4cebf}
.sidebar .side-goal{border:0;border-top:1px solid #ffffff17;border-bottom:1px solid #ffffff17;background:none;border-radius:0;padding:17px 9px;margin:23px 0 17px;box-shadow:none}
.side-goal:hover{background:#ffffff04}
.side-goal-top{font-size:11px;letter-spacing:.8px;color:#a3ae9f}
.side-goal>strong{font-size:15px;font-weight:550;color:#e1dfcf}
.side-goal-stats{display:grid;grid-template-columns:1fr;gap:5px;font-size:12px;color:#a4b19f}
.side-goal-stats>span{display:flex;justify-content:space-between;gap:8px}
.side-goal-stats b{font-weight:500;font-variant-numeric:tabular-nums;color:#c2ccb7}
.side-goal .progress{margin-top:12px;height:3px}
.radio,.profile{border-color:#ffffff16}
.profile-copy strong{font-size:14px;color:#ecebdf}
.profile-copy>span,.radio-copy small,.level-caption,.side-utilities>button,.local-label{color:#a6b0a6}
.sidebar .game-brand{margin-bottom:19px}

/* Единая приборная панель: цвет подчёркивает состояние, цифры остаются главными. */
#topbar{background:#1c2220;border-color:#444b43;box-shadow:0 2px 10px #00000018}
#topbar .topline{background:#1b211f;border-color:var(--ui-rule);min-height:48px}
#topbar .breadcrumb>span,#topbar .date-label{font-size:13px;color:#aeb9ad}
#topbar .breadcrumb>strong,#topbar .date-label>b{color:#e4e9dc;font-size:13px;font-weight:500}
#topbar .day-pill{background:transparent;border:0;border-left:1px solid #ffffff20;border-radius:0;color:#b7c0b0;padding-left:12px}
#topbar .header-actions{border:0;border-left:1px solid #ffffff1c;border-radius:0;background:none;box-shadow:none;padding:0 0 0 8px}
#topbar .header-actions .header-phone,#topbar .header-actions .header-quests{border:0;background:none;border-radius:4px;box-shadow:none;color:#d4d9ca;min-height:36px}
#topbar .header-actions .header-phone:hover,#topbar .header-actions .header-quests:hover{background:#ffffff09}
#topbar .header-actions .header-phone>.ico,#topbar .header-actions .header-quests>.ico{color:#cfb37d}
#topbar .resources{
 grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) repeat(3,minmax(0,1fr)) minmax(0,1.2fr);
 background:#252c27;gap:0;padding:12px 14px;min-height:0;
}
#topbar .resources>.metric-control,#topbar .resources>.metric-balance{
 min-width:0;min-height:84px;height:auto;padding:4px 13px 2px;
 border:0;border-right:1px solid #ffffff12;border-radius:0;
 background:none;box-shadow:none;
}
#topbar .resources>.metric-control:last-child{border-right:0}
#topbar .resources>.cash-resource{background:#c3a06108;border-color:#ffffff12;border-radius:4px 0 0 4px}
#topbar .resources>.metric-control:hover,#topbar .resources>.metric-control:focus-visible{
 background:#ffffff08;border-color:#ffffff12;box-shadow:none;transform:none;
}
#topbar .resources>.metric-control.is-low,#topbar .resources>.metric-control.danger{background:none;border-color:#ffffff12}
#topbar .resources>.metric-control.is-low:hover,#topbar .resources>.metric-control.danger:hover{background:#d0926d0d;border-color:#ffffff12}
#topbar .cash-copy>span,#topbar .rep-resource .rep-copy>small,#topbar .vital-label,#topbar .heat-heading{font-size:12px;line-height:1.35;color:#bdc7b8}
#topbar .cash-copy>strong{font-size:25px;letter-spacing:-.5px;color:#eed29b}
#topbar .rep-resource .rep-copy>strong{font-size:23px;color:#ede9db}
#topbar .rep-title{font-size:12px;color:#acb6a4}
#topbar .rank-emblem{width:29px;min-width:29px}
#topbar .metric-readout{min-height:47px}
#topbar .vital-readout .vital-label b{font-size:23px;line-height:1.1;margin:4px 0 8px;color:#e9ecdf}
#topbar .vital-label b small{font-size:11px;color:#929f8e}
#topbar .hud-vital .progress{height:3px;background:#111b1499}
#topbar .metric-action{border:0;margin-top:5px;padding-top:0;font-size:12px;line-height:1.5;color:#c3b58e}
#topbar .metric-more{display:none}
#topbar .metric-control:hover .metric-action{color:#f2d69d;text-decoration:underline;text-underline-offset:3px}
#topbar .metric-control.is-low .vital-label b,#topbar .metric-control.is-low .vital-label>.ico{color:#e2ad87}
#topbar .metric-control.is-low .progress>span{background:#c48e6c}
#topbar .metric-control.is-low .metric-action,#topbar .metric-control.danger .metric-action{color:#d5b48c}
#topbar .metric-control.danger .heat-heading{color:#cfb797}
#topbar .heat-stars{gap:3px}
#topbar .heat-stars .ico{color:#63715f}
#topbar .heat-stars .lit{color:#c8a36d;fill:#c8a36d}
#topbar .heat-status{color:#a3ad9a;font-size:11px}

/* Район: сцена и поручение вместо набора одинаково громких панелей. */
body[data-view=yard] .workspace{padding-top:23px}
.yard-heading{align-items:center;gap:16px;margin-bottom:17px}
.yard-heading .eyebrow{font-size:12px;color:#a9b3a5;letter-spacing:1px;margin-bottom:5px}
.yard-heading h1{font-size:35px}
.yard-briefing{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:16px;margin-bottom:16px}
.yard-briefing .hero{min-height:216px;height:auto;border:1px solid #77735f;border-radius:5px;box-shadow:none;background-position:64% 10%}
.yard-briefing .hero-shade{background:linear-gradient(90deg,#101818f2,#111b1b85 50%,#17201a08 85%),linear-gradient(0deg,#0b141a4d,transparent 80%)}
.yard-briefing .hero-content{padding:21px 23px}
.yard-briefing .hero-kicker{font-size:12px;letter-spacing:1px;margin-bottom:10px;color:#cfbf98}
.yard-briefing .hero h2{font:500 31px/1.12 var(--display);letter-spacing:.1px;color:#f4ecd8}
.yard-briefing .hero h2 em{color:#e2bf82}
.yard-briefing .hero-content p{font-size:15px;line-height:1.5;margin:11px 0 16px;min-height:0;max-width:285px;color:#d9decc}
.yard-briefing .hero-buttons{gap:9px}
.yard-briefing .hero-buttons .btn{min-height:40px;font-size:14px;padding:9px 12px;border-radius:3px}
.yard-briefing .hero-map{background:#dabc83;color:#222a22;border-color:#e7cc99;box-shadow:none}
.yard-briefing .hero-secondary{background:#15201b80;border-color:#a8b39a69;color:#e6e8d8}
.yard-briefing .next-step{min-height:0;padding:17px 20px;border:1px solid #d7cbb0;border-radius:4px;background:#e6dfcc;box-shadow:none}
.yard-briefing .next-step-top{margin-bottom:9px}
.yard-briefing .next-step-top .eyebrow{font-size:12px;letter-spacing:.6px;color:#6e654e}
.yard-briefing .quest-icon{display:none}
.yard-briefing .next-step-top .round-btn{background:none;border:0;color:#80775f}
.yard-briefing .next-step h3{font:500 26px/1.2 var(--display);color:#30382c}
.yard-briefing .next-step>p{font-size:15px;line-height:1.55;color:#58604f;margin-top:7px}
.yard-briefing .next-step-progress{margin:11px 0 12px}
.yard-briefing .next-step-progress .progress{height:4px;background:#b6b7a27a}
.yard-briefing .next-step-progress .progress>span{background:#8e774e}
.yard-briefing .next-reward{font-size:21px;font-weight:650;color:#645333}
.yard-briefing .next-reward small{font-size:12px;color:#79705c}
.yard-briefing .next-step-bottom>.btn{font-size:13px;min-height:38px;border-radius:3px}
.yard-briefing .next-step-bottom>.btn.secondary{background:#4a5742;border-color:#4a5742;color:#f5edd7}
.rest-trigger{border:1px solid #686e59;background:#2b342b;box-shadow:none;border-radius:4px;min-height:45px;padding:8px 12px}
.rest-trigger-icon{width:28px;height:28px;background:none;color:#cfb47d}
.rest-trigger strong{font-size:14px;color:#e0dec9}
.rest-trigger small{font-size:12px;color:#aeb7a4}
.rest-trigger:hover{background:#3b4434;border-color:#b0a273}
.economy-budget{
 display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
 gap:20px;margin:0 0 26px;padding:13px 0;
 border:0;border-bottom:1px solid #ffffff15;border-radius:0;background:none;
}
.economy-budget>div:first-child{flex-basis:auto}
.budget-caption{display:flex;align-items:center;gap:9px;color:#cacdbb}
.budget-caption>.ico{width:17px;height:17px;color:#b6a77c}
.economy-budget h3{font:550 14px/1.4 var(--font);color:#d7dbc9;margin:0}
.economy-budget p{font-size:12px;line-height:1.5;color:#a5af9d;margin:5px 0 0 26px}
.economy-budget-numbers{gap:24px;width:auto;justify-content:flex-start}
.economy-budget-numbers span{font-size:12px;color:#a9b4a0}
.economy-budget-numbers strong{font-size:18px;line-height:1.3;font-weight:650;color:#dbcb9d;margin-top:3px}
.economy-budget .btn{width:auto;min-height:38px;margin:0;padding:8px 12px;font-size:13px;background:none;border-color:#626b57;color:#d2d8bf}

/* Дела: ровная типографика, предметные изображения, одно понятное действие. */
.progression-jobs>.section-header{margin-bottom:15px;align-items:center}
.jobs-section .jobs-title{gap:12px}
.jobs-section .jobs-title h2{font:500 29px/1.2 var(--display);color:#eeeade}
.jobs-section .available-label{font-size:13px;font-weight:400;border:0;border-left:1px solid #ffffff22;border-radius:0;background:none;color:#aab7a4;padding:2px 0 2px 12px}
.progression-jobs>.section-header .ready-toggle{font-size:13px;min-height:40px;background:none;border-color:#68725f;border-radius:4px;padding:8px 10px;color:#c8d1bd}
.progression-jobs>.section-header .ready-toggle.is-on{background:#39452f;color:#e7d3a5;border-color:#b19a63}
.daily-contract{min-height:58px;padding:10px 14px;gap:12px;margin-bottom:16px;border:1px solid #77795a;border-left:3px solid #c4a367;border-radius:3px;background:#30382c;box-shadow:none}
.daily-contract:hover{background:#3a4333;border-color:#b4a578}
.daily-contract small{font-size:12px;letter-spacing:0;color:#b8bda1;margin-bottom:3px}
.daily-contract strong{font-size:15px;font-weight:500;color:#e5dec0}
.daily-contract>b{font-size:13px;font-weight:550;color:#ddc68e}
.daily-contract.is-done{background:#29362b;border-color:#586b4e}
.progression-jobs .jobs-grid{gap:20px}
.jobs-section .job-card,.jobs-section .job-card.is-unavailable{
 background:#e9e4d8;border:1px solid #c5c1b1;border-radius:5px;
 box-shadow:0 3px 6px #00000013;overflow:hidden;
}
.jobs-section .job-card:hover,.jobs-section .job-card:focus-within{border-color:#c7a976;box-shadow:0 4px 12px #00000025}
.jobs-section .job-scene{aspect-ratio:1.9;border-radius:0}
.jobs-section .job-scene img{transition:filter .2s;filter:saturate(.87)}
.jobs-section .job-scene:hover img{filter:saturate(1)}
.jobs-section .scene-vignette{background:linear-gradient(0deg,#111a19c4,transparent 55%)}
.jobs-section .scene-category,.jobs-section .job-trade .scene-category,.jobs-section .job-risk .scene-category{
 top:11px;left:11px;padding:4px 7px;border:1px solid #efe3c330;border-radius:3px;
 background:#1c2a22eb;color:#f0e6c9;font-size:12px;box-shadow:none;
}
.jobs-section .job-risk .scene-category{background:#4c3028e6}
.jobs-section .job-trade .scene-category{background:#4a3b25e6}
.jobs-section .scene-place{bottom:12px;left:16px;font-size:12px;letter-spacing:0;text-transform:none;color:#e5ddc5}
.jobs-section .scene-more{right:14px;bottom:12px;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#f3e9cd}
.jobs-section .job-body{padding:17px 18px 10px;gap:0}
.jobs-section .job-track-label{font-size:12px;line-height:1.5;color:#5d6552;margin-bottom:5px}
.jobs-section .job-card h3{font:500 25px/1.2 var(--display);color:#2c342a;margin:0 0 9px}
.jobs-section .job-body>p{font-size:16px;line-height:1.5;color:#5d6457;height:48px;min-height:48px}
.jobs-section .job-body>.job-demand{font-size:12px!important;line-height:1.5!important;color:#6b6048!important;margin:9px 0 0!important;height:auto;min-height:0!important}
.jobs-section .job-rewards{gap:10px;margin:18px 0 14px}
.jobs-section .cash-reward>small{font-size:12px;line-height:1.4;letter-spacing:0;color:#60664f;margin-bottom:4px}
.jobs-section .cash-reward>strong{font-size:25px;font-weight:650;letter-spacing:-.6px;color:#56492f}
.jobs-section .cash-reward em{font-size:20px;color:#78663f}
.jobs-section .rep-reward{font-size:14px;font-weight:500;color:#53604a}
.jobs-section .rep-reward>.ico{display:none}
.jobs-section .rep-reward small{font-size:12px;color:#60664f;margin-top:4px}
.jobs-section .job-facts{font-size:14px;gap:12px;border-color:#aeb3a17a;padding-top:12px;margin-bottom:14px;color:#505f49}
.jobs-section .job-facts .ico{color:#7b876d}
.jobs-section .job-facts>.chance{font-size:13px;color:#606b51}
.jobs-section .job-card .btn{min-height:42px;font-size:14px;border-radius:3px;box-shadow:none}
.jobs-section .job-card .job-body>.btn{margin-top:auto}
.jobs-section .job-card .action-btn{background:#4c5f43;border-color:#4c5f43;color:#f5eed8;box-shadow:none}
.jobs-section .job-card .action-btn:hover{background:#3d5135;border-color:#3d5135;box-shadow:none}
.jobs-section .job-card .unavailable-btn{background:#dbdcd0;border-color:#bcc3ad;color:#6c7561;box-shadow:none}
.jobs-section .job-card .recovery-btn{background:#e1dbc9;border-color:#a5ad95;color:#4d6044}
.jobs-section .job-card .recovery-btn:hover{background:#d3d6bf;border-color:#6f845f}
.jobs-section .job-body>.job-energy-help{display:block;height:auto;min-height:0;max-width:100%;padding:0;margin:0 0 10px;border:0;border-radius:0;background:none;font-size:13px;line-height:1.5;color:#6b5d41}
.job-energy-help>strong{font-weight:500;color:#796043}
.jobs-section .job-extra{min-height:28px;margin-top:7px;font-size:12px;color:#60674f}
.jobs-section .job-extra>.risk-text{color:#8d4c39!important}
.jobs-section .job-card.locked{background:#d9dccf;border-color:#aeb8a4;box-shadow:none}
.jobs-section .job-card.locked .job-scene img{filter:saturate(.45);opacity:.78}
.jobs-section .job-card.locked h3{color:#59634e}
.jobs-section .job-card.locked .secondary{background:none;border-color:#8d9b81;color:#485d3d}
.future-jobs{border:0;border-top:1px solid #68745d;border-bottom:1px solid #ffffff19;border-radius:0;background:none;padding:0;margin-top:24px}
.future-jobs>summary{min-height:62px;font-size:15px;color:#d2d8c4}
.future-jobs>summary small{font-size:13px;color:#a3b098}
.next-unlock{background:#2a332a;border-color:#616c52;border-radius:4px;padding:17px 18px;box-shadow:none}
.next-unlock small{font-size:12px;letter-spacing:.6px;color:#acb69c}
.next-unlock h3{font-weight:500;color:#e2dec4}
.next-unlock p{font-size:14px;color:#b1bda5}
.district-pulse{background:#2b342b;border-color:#5d6a51;border-radius:4px;margin-top:28px}

/* Вещи, люди и карта используют общие поверхности, но сохраняют свою иллюстрацию. */
.recruit-card,.shop-card,.housing-card,.vehicle-card,.skill-card,
#main .market-panel .housing-card,#main .market-panel .vehicle-card{background:#e9e4d8;border-color:#c1c5b3;border-radius:5px;box-shadow:0 3px 7px #00000015}
.recruit-content h3,.shop-card h3,.housing-body h3,.vehicle-content h3,.skill-card h2{font-weight:500;color:#30392b}
.recruit-content blockquote,.shop-card>p,.housing-body p,.vehicle-content p,.skill-card>p,.skill-card blockquote{font-size:16px;line-height:1.6;color:#5b6451}
.asset-unlocks{border-color:#aeb79b75}
.asset-unlocks>strong{font-size:14px;font-weight:550;color:#4b5e3f}
.asset-unlocks>span,.asset-unlocks>small{font-size:12px;color:#606b51}
.asset-unlocks button{font-size:13px;border:0;border-left:2px solid #a8b18e;border-radius:0;background:#849a6a0b;color:#4f653e;padding:6px 9px}
.asset-unlocks button:hover{background:#849a6a24}
.market-tabs{display:flex;width:100%;gap:8px;padding:0;border:0;border-bottom:1px solid #ffffff22;border-radius:0;background:none;box-shadow:none;margin-bottom:24px}
.market-tabs .market-tab{min-height:46px;padding:10px 18px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#aebca4;font-size:15px}
.market-tabs .market-tab:hover{background:#ffffff04;color:#ece7d3}
.market-tabs .market-tab.selected{background:#c3a0690a;border-color:#c8aa71;color:#ead4a9;box-shadow:none}
.market-tabs .market-tab.selected .ico{color:#d3b77f}
.home-utilities>div,.headquarters-locked,.headquarters-board,.crew-banner,.housing-summary,.rank-road,.info-note,.garage-feature{background:#2b342b;border-color:#626f54;border-radius:4px;box-shadow:none}
#main .market-panel .housing-summary,#main .market-panel .garage-feature{background:#2b342b;border-color:#626f54;border-radius:4px;box-shadow:none}
.home-utilities p,.headquarters-locked p{font-size:14px;color:#b6c5a8}
.influence-console{border-radius:5px;border-color:#737a61;background:#2b332a;box-shadow:none}
.influence-toolbar,.influence-footer{background:#2c352b;border-color:#69745c66}
.map-district-filter>select,.map-status-filter>select{background:#1d291e;border-color:#6e7c5d;color:#d4ddc7;border-radius:3px}
.map-view-switch{background:none;border-color:#6e7c5d;border-radius:3px}
.map-view-switch>button.active{background:#5f6e48;color:#f0ead2}
.influence-list-item{background:#313e2e;border-color:#65775a73;border-radius:4px}
.influence-list-item:hover{background:#3b4a34}
.modal.modal-mission{background:#2c352c;border-color:#7c8867;border-radius:6px}
.mission-topbar{background:#252e26;border-color:#ffffff17}
.mission-topbar h2{font-weight:500;color:#ebe4cd}
.mission-content>p{color:#c6d0ba}
.mission-requirements{border-color:#647253;border-radius:4px;background:#242f24}
.mission-requirements>h3{background:#3a4733;color:#e3e3ca}
.requirement{border-color:#ffffff12;color:#c5d2b7}
.mission-economy-note{background:#ffffff04;border-color:#7c896255;border-radius:4px}
footer{border-color:#ffffff12;color:#8f9d8a}
#mobile-dock{background:#1c241e;border-color:#57634a;box-shadow:0 -4px 12px #0002}

@media(min-width:1550px){.workspace{padding-inline:36px}}
@media(max-width:1150px){
 .workspace{padding-inline:24px}
 #topbar .resources>.metric-control,#topbar .resources>.metric-balance{padding-inline:10px}
 #topbar .cash-copy>strong{font-size:23px}
 .yard-briefing{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}
 .yard-briefing .hero-content{padding:20px}
 .yard-briefing .hero h2{font-size:29px}
 .yard-briefing .next-step{padding:17px}
 .economy-budget{gap:14px}
 .economy-budget-numbers{gap:17px}
}
@media(min-width:601px) and (max-width:1000px){
 .workspace{padding-inline:20px}
 #topbar .resources>.metric-control,#topbar .resources>.metric-balance{padding-inline:8px}
 #topbar .cash-copy>span,#topbar .rep-resource .rep-copy>small,#topbar .vital-label,#topbar .heat-heading{font-size:11px}
 .yard-briefing{grid-template-columns:minmax(0,1.2fr) minmax(235px,1fr);gap:12px}
 .yard-briefing .hero-content{padding:19px 17px}
 .yard-briefing .hero h2{font-size:28px}
 .yard-briefing .hero-buttons{flex-wrap:wrap}
 .yard-briefing .hero-buttons .btn{font-size:13px;padding-inline:10px}
 .yard-briefing .next-step-bottom{flex-wrap:wrap;gap:10px}
 .yard-briefing .next-step-bottom>.btn{margin-left:auto}
 .economy-budget{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .economy-budget>div:first-child{grid-column:1/-1}
 .economy-budget .btn{justify-self:end}
}
@media(min-width:601px) and (max-width:850px){
 #topbar .resources{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:'cash rep heat' 'energy health hunger';gap:12px 0;padding:12px 14px}
 #topbar .resources>.metric-control,#topbar .resources>.metric-balance{min-height:79px;padding-inline:12px}
 #topbar .resources>.rep-resource{border-right:1px solid #ffffff12}
 #topbar .resources>.hunger{border-right:0}
 #topbar .resources>.heat-resource{border-right:0}
 .yard-briefing{grid-template-columns:1fr}
 .yard-briefing .hero{min-height:214px}
 .yard-briefing .next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 17px}
 .yard-briefing .next-step-top{grid-column:1/-1;margin:0}
 .yard-briefing .next-step h3{grid-column:1;grid-row:2}
 .yard-briefing .next-step>p{grid-column:1;grid-row:3;margin:0}
 .yard-briefing .next-step-progress{grid-column:1;grid-row:4;margin:4px 0 0}
 .yard-briefing .next-step-bottom{grid-column:2;grid-row:2/5;flex-direction:column;justify-content:center}
}
@media(max-width:600px){
 .workspace{padding:20px 16px 30px}
 body[data-view=yard] .workspace{padding-top:20px}
 .sidebar .game-brand{margin-bottom:21px}
 .page-head h1,.yard-heading h1,.influence-heading h1{font-size:32px}
 .page-head p{font-size:15px}
 #topbar .topline{min-height:48px}
 #topbar .resources{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:'cash rep heat' 'energy health hunger';gap:12px 0;padding:9px 8px 12px}
 #topbar .resources>.metric-control,#topbar .resources>.metric-balance{min-height:75px;padding:3px 10px 1px}
 #topbar .resources>.heat-resource,#topbar .resources>.hunger{border-right:0}
 #topbar .cash-copy>strong{font-size:23px}
 #topbar .rep-resource .rep-copy>strong{font-size:21px}
 #topbar .cash-copy>span,#topbar .rep-resource .rep-copy>small,#topbar .vital-label,#topbar .heat-heading{font-size:11px}
 #topbar .rank-emblem{width:24px;min-width:24px}
 #topbar .rep-title,#topbar .heat-status{font-size:10px}
 #topbar .metric-readout{min-height:44px}
 #topbar .vital-readout .vital-label b{font-size:21px;float:none;display:block;margin:3px 0 7px}
 #topbar .metric-action{font-size:12px}
 .yard-heading,.yard-heading.needs-food{flex-wrap:nowrap;align-items:center;gap:9px;margin-bottom:15px}
 .yard-heading .eyebrow{font-size:11px;letter-spacing:.7px}
 .yard-heading .yard-actions,.yard-heading.needs-food .yard-actions{width:auto;flex:none;margin:0}
 .yard-heading.needs-food .yard-rest{flex:none}
 .rest-trigger,.yard-heading.needs-food .rest-trigger{width:auto;min-height:44px;padding:8px 10px;gap:7px}
 .yard-actions .rest-trigger.night-trigger{max-width:none}
 .yard-actions .rest-trigger.night-trigger strong{max-width:none;white-space:nowrap;font-size:12px;line-height:1.4}
 .rest-trigger-icon{width:19px;height:25px}
 .rest-trigger-icon>.ico{width:19px;height:19px}
 .rest-trigger strong{font-size:12px;white-space:nowrap}
 .rest-trigger small{display:none}
 .yard-briefing{grid-template-columns:1fr;gap:12px;margin-bottom:9px}
 .yard-briefing .hero{min-height:224px}
 .yard-briefing .hero-content{padding:21px 20px}
 .yard-briefing .hero h2{font-size:30px}
 .yard-briefing .hero-content p{font-size:15px;max-width:245px}
 .yard-briefing .hero-buttons .btn{font-size:13px;padding-inline:11px}
 .yard-briefing .hero-buttons .hero-secondary{width:auto;min-width:0;max-width:none;padding:9px 11px;gap:7px}
 .yard-briefing .hero-secondary>span{display:inline}
 .yard-briefing .next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:15px 17px;gap:8px 15px}
 .yard-briefing .next-step-top{grid-column:1/-1;margin:0}
 .yard-briefing .next-step-top .eyebrow{font-size:12px}
 .yard-briefing .next-step h3{grid-column:1;grid-row:2;font-size:25px}
 .yard-briefing .next-step>p{display:none}
 .yard-briefing .next-step-progress{grid-column:1;grid-row:3;margin:0}
 .yard-briefing .next-step-bottom{grid-column:2;grid-row:2/4;flex-direction:column;justify-content:center;gap:10px}
 .yard-briefing .next-reward{font-size:19px}
 .yard-briefing .next-reward small{display:block;margin:3px 0 0;font-size:12px}
 .yard-briefing .next-step-bottom>.btn{font-size:13px;min-height:38px;padding:8px 10px}
 .economy-budget{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 0;margin-bottom:23px}
 .economy-budget>div:first-child{grid-column:1/-1}
 .economy-budget p{font-size:12px;line-height:1.65}
 .economy-budget-numbers{gap:21px}
 .economy-budget-numbers span{font-size:12px}
 .economy-budget-numbers strong{font-size:18px}
 .economy-budget .btn{min-height:40px;font-size:13px;padding-inline:11px;justify-self:end}
 .jobs-section .jobs-title h2{font-size:28px}
 .progression-jobs>.section-header{gap:10px 12px}
 .jobs-section .available-label{font-size:12px}
 .progression-jobs>.section-header .ready-toggle{font-size:13px;min-height:40px}
 .daily-contract{gap:10px;padding:11px 12px;min-height:61px}
 .daily-contract small{font-size:12px}
 .daily-contract strong{font-size:14px}
 .daily-contract>b{font-size:12px;max-width:95px;white-space:normal}
 .jobs-section .job-body{padding:18px 18px 10px}
 .jobs-section .job-card h3{font-size:27px}
 .jobs-section .job-body>p{font-size:16px;height:48px;min-height:48px}
 .jobs-section .job-card .btn{min-height:44px;font-size:15px}
 .jobs-section .job-body>.job-energy-help{font-size:14px;min-height:0;height:auto}
 .jobs-section .job-extra{font-size:13px}
 .future-jobs>summary small{font-size:12px;margin-left:26px}
 .market-tabs{gap:0}
 .market-tabs .market-tab{flex:1;justify-content:center;font-size:14px;padding-inline:10px}
 .next-unlock{padding:16px}
 .mission-content{padding:18px}
}
@media(max-width:360px){
 .workspace{padding-inline:13px}
 #topbar .resources>.metric-control,#topbar .resources>.metric-balance{padding-inline:8px}
 #topbar .cash-copy>strong{font-size:21px}
 #topbar .rank-emblem{width:21px;min-width:21px}
 #topbar .rep-readout{gap:4px}
 .yard-heading h1{font-size:29px}
 .rest-trigger,.yard-heading.needs-food .rest-trigger{padding-inline:8px;gap:5px}
 .rest-trigger strong{font-size:11px}
 .yard-actions .rest-trigger.night-trigger strong{font-size:11px}
 .yard-briefing .hero-content{padding:20px 17px}
 .yard-briefing .hero h2{font-size:29px}
 .yard-briefing .hero-buttons .btn{font-size:12px;padding-inline:10px}
 .yard-briefing .next-step{padding:14px;gap:8px 10px}
 .yard-briefing .next-step h3{font-size:23px}
 .yard-briefing .next-reward{font-size:18px}
 .yard-briefing .next-step-bottom>.btn{font-size:12px}
 .economy-budget-numbers{gap:14px}
 .economy-budget-numbers span{font-size:11px}
 .economy-budget .btn{font-size:12px;padding-inline:9px}
 .jobs-section .job-body{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){button,.jobs-section .job-scene img{transition:none}}
