/* A desktop game deck: clear labels, generous targets, and room for the city. */
.game{--ui-border:#a3c7d137;--ui-card:linear-gradient(130deg,#213d4cf7,#122935f7)}
.game .brand-button{height:82px;width:220px;display:flex;align-items:center;gap:10px;border-radius:10px;background:var(--ui-card)}
.game .brand-button>svg{width:22px;flex-shrink:0}.game .city-title{top:47px;left:62px;max-width:160px}.game .city-name{max-width:164px;font-size:13px}.game .city-title:before{content:'TU CIUDAD';display:block;color:#94b8c5;font-size:10px;letter-spacing:1.4px;margin-bottom:6px}
.game .city-stats{left:246px;height:82px;border-radius:10px;background:var(--ui-card);grid-template-columns:1.05fr .8fr .9fr .85fr .85fr 1.3fr}.game .stat,.game .stat:first-child{padding:11px 13px}.game .stat>span{font-size:10px;letter-spacing:.3px}.game .stat>strong{font-size:24px;letter-spacing:0;margin:7px 0 5px}.game .stat>small{font-size:10px}.game .stat-unit{font-size:11px}.game .utility-stat>strong{font-size:17px;line-height:1.6}.game .utility-stat>span{white-space:normal;line-height:1.3}.game .date-stat>strong{font-size:13px;margin:6px 0;letter-spacing:0}.game .time-controls{gap:4px}.game .time-controls button{height:26px;min-width:32px;padding:3px 7px;font-size:11px}.game .time-controls button.active{box-shadow:0 0 0 1px #f3d88b30}.game .meter{height:5px}
.game .main-nav{top:116px;right:16px;gap:6px;max-height:none}.game .main-nav>button,.game .main-nav>.icon-button{width:130px;min-height:40px;height:40px;justify-content:flex-start;gap:10px;padding:9px 11px;border-radius:7px;background:var(--ui-card)}
.game .main-nav>button>span,.game .main-nav>button:hover>span,.game .main-nav>button:focus-visible>span{position:static;display:block;background:transparent;padding:0;border:0;font-size:12px;color:#d8e8eb;white-space:nowrap}.game .main-nav .budget-button{background:linear-gradient(120deg,#6b5f3a,#3d4438)}.game .main-nav .budget-button>span{color:#f2d896}.game .main-nav b{right:-3px;top:-3px;font-size:10px}
.game .map-top{top:116px;right:162px;gap:14px;z-index:8}.game .map-label{min-width:192px;max-width:220px;padding:10px 12px;border-radius:7px;font-size:12px}.game .map-label small{font-size:9px!important;letter-spacing:.4px}.game .map-buttons{gap:6px;align-items:flex-start}.game .map-buttons>button,.game #toggle-view-controls{width:auto;min-height:40px;height:40px;padding:9px 12px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;background:var(--ui-card);border:1px solid var(--ui-border);font-size:12px;white-space:nowrap}.game .map-buttons>button svg,.game #toggle-view-controls svg{width:17px;height:17px;flex-shrink:0}.game .layers-launch span{display:block!important}
.view-controls{position:relative}.game .view-controls-panel{position:absolute;top:48px;right:0;width:248px;z-index:20;padding:8px;background:#142e3dfc;border:1px solid #91b8c467;border-radius:10px;box-shadow:0 16px 50px #06162499}.view-controls-panel[hidden]{display:none!important}.view-controls-panel header{padding:9px 10px 14px;color:#90b3be;font-size:11px;letter-spacing:.8px}.game .view-controls-panel button{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:40px;height:auto;padding:10px;text-align:left;background:transparent;border:1px solid transparent;box-shadow:none;font-size:12px;border-radius:6px;color:#d9e7eb}.game .view-controls-panel button.active{background:#315b584d;border-color:#8ec7a850;color:#d8f1d9}.game .view-controls-panel button[aria-pressed]:after{content:'○';margin-left:auto;color:#87a6ae;font-size:19px}.game .view-controls-panel button[aria-pressed=true]:after{content:'●';color:#8ee0b0}.game .view-controls-panel button:hover:not(:disabled){background:#345b674d}.game .view-controls-panel button:disabled{opacity:.45}
.game .hud-left{top:188px;width:220px}.game .hud-mission{border-radius:8px;padding:12px}.game .hud-mission .eyebrow{font-size:10px;letter-spacing:.5px}.game .hud-mission strong{font-size:15px;margin:9px 0}.game .hud-mission p{display:none}.game .hud-mission small{font-size:11px}.game .hud-demands{border-radius:7px;padding:11px 12px}.game .hud-demands>span{font-size:9px}.game .hud-rci b{font-size:11px}.game #city-coach .coach-card{border-radius:8px}.game #city-coach p{font-size:12px;line-height:1.55}
.game .build-panel{left:18px;right:166px;bottom:46px;transform:none;width:auto;min-width:0;max-height:none;border-radius:10px;background:var(--ui-card);box-shadow:0 10px 35px #05202d6b;overflow:hidden;border-top-width:2px}.game .build-panel>.panel-title{display:none}
.catalogue-header{display:flex;align-items:center;gap:14px;padding:12px 14px;border-bottom:1px solid #a4cbd023;min-height:62px;box-sizing:border-box}.catalogue-heading{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.catalogue-heading strong{font-size:16px;color:#f3dfac;font-weight:600}.catalogue-heading>span{font-size:11px;color:#a4bec7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalogue-paging{display:flex;align-items:center;gap:6px}.catalogue-paging>span{font-size:11px;color:#96b5c0;min-width:57px;text-align:right;margin-right:5px;font-variant-numeric:tabular-nums}.game .catalogue-paging button{width:31px;height:32px;border-radius:5px;background:#284856;border:1px solid #8fabb949;color:#d6e6e8;display:grid;place-items:center}.catalogue-paging button:first-of-type svg{transform:rotate(180deg)}.catalogue-paging button:disabled{opacity:.32;cursor:default}
.game .tool-search{position:relative;inset:auto;width:190px;flex:0 0 190px;align-self:center}.game .tool-search input{font-size:12px!important;height:34px;padding-left:29px!important;min-height:34px!important;border-radius:6px}.game .tool-search>svg{top:10px;left:9px;width:14px}
.game .build-tabs{height:43px;min-height:43px;padding:0 9px;gap:2px;justify-content:flex-start}.game .build-tabs button{flex:0 1 106px;max-width:106px;min-width:62px;flex-direction:row;gap:7px;padding:8px 10px;border-radius:0;font-size:12px}.game .build-tabs button>span{font-size:12px}.game .build-tabs button.active{background:#d4bf7220;color:#f1d58f;border-bottom-color:#e6c580}
.game .tools-list{position:relative;height:124px;min-height:124px;padding:10px 12px;gap:8px;box-sizing:border-box;scroll-padding:12px;scroll-behavior:smooth}.game .tool{flex:0 0 136px;min-width:136px;min-height:98px;height:98px;max-height:98px;border-radius:7px;padding:4px 8px 9px}.game .tool .tool-portrait{height:56px;width:94px;margin:auto;image-rendering:auto}.game .tool-name strong{font-size:12px;line-height:1.25}.game .tool-name small{font-size:11px;color:#c4b786;margin-top:4px}.game .tool.locked{opacity:.58}.game .tool.locked .tool-name small{color:#b3c3c7}.game .tool:focus-visible{outline:2px solid #f3d78c;outline-offset:-3px}.game .tool.selected{background:linear-gradient(#8c754535,#345445);border-color:#ecc582}.game .dock-context{display:none}.game .build-panel .tool-detail{display:none}
.catalogue-description{padding:10px 14px;background:#09223070;border-top:1px solid #b0c9c923;color:#b8d0d4;font-size:12px;line-height:1.4;min-height:37px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game .no-tools{padding:25px;color:#bdd3d8;font-size:13px}
.game .catalogue-toggle{min-height:42px;padding:10px 15px;border-radius:7px;font-size:13px;box-shadow:0 6px 20px #08223866}.game .catalogue-toggle.active{background:#586349;border-color:#dbbd7d;color:#f4dfb1}.game .map-bottom .view-options{left:0;bottom:0;max-width:240px;width:240px}.game .map-bottom .view-options>span,.game .map-bottom .view-options>#map-layer{display:none}.game .map-bottom{bottom:44px}.game .zoom-options{border-radius:7px}.game .zoom-options button{min-height:38px;font-size:12px}.game .camera-rotation{border-radius:7px}.game .camera-rotation button{min-height:32px}.game .minimap-wrap{border-radius:8px;bottom:100px}.game .minimap-territory{min-height:31px;font-size:11px}.game .game-footer{height:30px;font-size:10px;padding:0 18px;background:#102633f0}.game .game-footer #map-hint{font-size:10px}.game .game-footer #saved-status{white-space:nowrap}.game .game-footer>small{font-size:10px}
.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .catalogue-toggle{position:absolute;bottom:277px;left:0}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .hud-left{max-height:calc(100vh - 516px);overflow-y:auto;pointer-events:auto;scrollbar-width:thin}.game.catalogue-collapsed .hud-left{max-height:calc(100vh - 290px);overflow-y:auto;pointer-events:auto}
.game.catalogue-collapsed .map-section .urban-tool-panel{bottom:94px;max-height:calc(100vh - 272px)}.game.road-inspecting .hud-left,.game.parcel-inspecting .hud-left{visibility:hidden}.game .overview-panel{right:164px;top:172px;bottom:90px;width:336px;border-radius:8px}.game .analysis-panel{top:176px;bottom:90px;border-radius:8px}.game .map-legend{border-radius:6px}.game.analysis-open .map-legend{top:176px}.game .layer-hover{bottom:110px}
.game .connection-overlay{z-index:40}.toast{font-size:13px;line-height:1.5;border-radius:8px}.modal{max-height:calc(100dvh - 64px);border-radius:12px}.modal>header{padding:20px 24px}.modal>header .icon-button{min-width:36px;min-height:36px}.modal-content{font-size:14px;line-height:1.6;overscroll-behavior:contain}.modal .button{min-height:38px;font-size:13px}.modal p,.modal label{font-size:13px}.game.cinematic .view-controls{display:none!important}
@media(min-width:1600px){.game .city-stats{grid-template-columns:1.2fr 1fr .95fr 1fr 1fr 1.2fr}.game .stat>span{font-size:12px}.game .stat>small{font-size:11px}.game .date-stat>strong{font-size:15px}.game .build-panel{left:50%;right:auto;transform:translateX(-50%);width:min(1320px,calc(100% - 400px))}.game .tools-list{height:145px}.game .tool{height:120px;min-height:120px;max-height:120px;flex-basis:156px;min-width:156px}.game .tool .tool-portrait{height:72px;width:116px}.game .tool-name strong{font-size:13px}.game .tool-name small{font-size:12px}.game .catalogue-heading strong{font-size:18px}.game .catalogue-description{font-size:13px}.game .hud-left{width:246px}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .catalogue-toggle{bottom:298px}}
@media(max-width:1150px){.game .brand-button{width:180px;left:12px}.game .city-title{left:55px;max-width:120px}.game .city-name{max-width:120px;font-size:12px}.game .city-stats{left:200px;right:12px;grid-template-columns:1fr .8fr .8fr .85fr .85fr 1.25fr}.game .stat,.game .stat:first-child{padding:11px 9px}.game .stat>span{font-size:9px}.game .stat>strong{font-size:20px}.game .utility-stat>strong{font-size:15px}.game .date-stat>strong{font-size:12px}.game .time-controls button{min-width:27px;padding:3px 5px}.game .map-label{min-width:160px;max-width:180px}.game .hud-left{width:180px}.game .map-buttons>button,.game #toggle-view-controls{padding:9px}.game .main-nav>button{width:122px}.game .build-panel{right:154px;left:12px}.game .tool-search{width:158px;flex-basis:158px}.game .build-tabs button{padding:8px;gap:5px;min-width:62px}.game .build-tabs button>span{font-size:11px}.catalogue-heading>span{max-width:310px}.game .map-top{left:12px;right:148px}.game .main-nav{right:12px}}
@media(max-height:780px){.game .hud-left{top:186px}.game .map-label small{font-size:9px!important}.game .camera-rotation{bottom:265px}.game .analysis-panel,.game .overview-panel{top:172px;bottom:92px}.game .catalogue-collapsed .camera-rotation{bottom:264px}.game .tools-list{height:116px;min-height:116px}.game .tool{height:93px;max-height:93px;min-height:93px}.game .tool .tool-portrait{height:49px}.game .catalogue-header{min-height:58px;padding:10px 12px}.game .catalogue-description{padding:9px 12px}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .catalogue-toggle{bottom:265px}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .hud-left{max-height:calc(100vh - 502px)}.game .build-tabs{height:40px;min-height:40px}.game.catalogue-collapsed .map-section .urban-tool-panel{bottom:92px;max-height:calc(100vh - 266px)}}
@media(prefers-reduced-motion:reduce){.game .tools-list{scroll-behavior:auto}}
.game .city-title{display:block!important;top:31px;left:62px;background:transparent!important;box-shadow:none!important;height:auto;width:auto;padding:0!important;border:0!important}.game .city-title>.eyebrow{display:none!important}.game .city-title:before{font-size:10px;margin-bottom:7px}.game .map-label{min-height:0;height:54px;box-sizing:border-box}.game .map-label small{margin-left:0;line-height:1.3}
.game .map-bottom .view-options{background:transparent;border:0;box-shadow:none;padding:0;width:auto}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) #city-coach{display:none}.game:not(.catalogue-collapsed):not(.road-inspecting):not(.parcel-inspecting) .hud-left{max-height:none;overflow:visible}
.game .main-nav{gap:4px}.game .main-nav>button,.game .main-nav>.icon-button{height:36px;min-height:36px;padding:7px 11px}.game .main-nav>button>span{font-size:12px}.game .minimap-wrap canvas{width:116px;height:116px}.game .camera-rotation,.game.catalogue-collapsed .camera-rotation,.game.road-inspecting .camera-rotation,.game.parcel-inspecting .camera-rotation{bottom:284px;right:16px;width:132px;height:40px;box-sizing:border-box;justify-content:space-between;gap:4px}.game .camera-rotation button{font-size:23px;min-width:36px;width:36px;min-height:30px;justify-content:center;padding:3px}.game .camera-rotation kbd{display:none}.game .camera-rotation>span{width:18px;font-size:12px}
.game .zoom-options{width:132px;grid-template-columns:48px repeat(3,1fr)}.game #toggle-projection{font-size:10px;padding:5px 3px}
.game.free-build:not(.catalogue-collapsed) .urban-tool-panel{visibility:hidden;pointer-events:none}
.game .build-panel{bottom:104px}.game #toggle-catalogue{position:relative;bottom:auto;left:auto}
.game .map-bottom .view-options{gap:8px;max-width:none}.game .mode-exit-button,.game .district-finish-button{display:flex;align-items:center;gap:7px;min-height:42px;width:auto;padding:10px 14px;border:1px solid #96bcc04f;border-radius:7px;background:#173747ed;color:#d5e8e8;font:12px Bahnschrift,'Segoe UI',sans-serif;white-space:nowrap}.game.free-build .mode-exit-button{display:none}.game .mode-exit-button>svg{width:17px;height:17px}.game .mode-exit-button>span{display:block}.game .district-finish-button{border-color:#d9bd7e;color:#f1dbab;background:#3c5448ef}
.game .overview-panel.closed{display:none!important}
