/* City main scenes: 16:9 cover geometry; one responsive set of existing actions. */
.city-scene.city-overview-pilot{container-type:size;isolation:isolate;background:#123947;overflow:hidden;--city-cover-width:max(100cqw,177.777778cqh);--city-cover-height:max(56.25cqw,100cqh)}
.city-overview-pilot .city-overview-stage{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.city-overview-pilot .city-overview-art-plane,
#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{position:absolute;inset:auto;width:var(--city-cover-width);height:var(--city-cover-height);left:calc((100cqw - var(--city-cover-width)) * var(--city-focus-x,.5));top:calc((100cqh - var(--city-cover-height)) * var(--city-focus-y,.5));transform:none}
.city-overview-pilot .city-overview-art-plane>.city-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
#app:has(>.world-main.view-city) .city-overview-pilot .city-hotspots{z-index:3;pointer-events:none}
#app:has(>.world-main.view-city) .city-overview-pilot .city-hotspot{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:88px;max-width:88px;min-height:60px;padding:4px 5px;font-size:12px;line-height:1.05;text-align:center;white-space:normal;pointer-events:auto}
#app:has(>.world-main.view-city) .city-overview-pilot .city-hotspot>span{width:25px;height:25px;flex:0 0 25px}
#app:has(>.world-main.view-city) .city-overview-pilot .city-hotspot .hotspot-art{width:22px;height:22px}
#app:has(>.world-main.view-city)>.topbar .city-header-name{white-space:normal;line-height:1.05}
#app:has(>.world-main.view-city) .city-overview-pilot .city-fleet-rail{position:absolute;z-index:6;inset:auto 12px 12px auto;display:block;width:min(330px,25vw);max-height:44%;overflow:auto;pointer-events:auto}
#app:has(>.world-main.view-city) .city-overview-pilot .city-dock{position:static;inset:auto;display:flex;width:100%;max-width:none;max-height:none;padding:0;overflow:visible}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-convoy-button{min-height:44px}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){
 #app>.world-main.view-city:not(.has-place)>.city-scene-location-card{display:none}
}
/* Tablet landscape, portrait, phone and narrow windows share one action block. */
@media(max-width:1100px),(max-width:1400px) and (max-height:750px),(hover:none) and (pointer:coarse){
 #app>.world-main.view-city:not(.has-place)>.city-scene{box-sizing:border-box;display:block;padding:0;gap:0;width:100%;height:100%;min-height:0;max-height:none;overflow:hidden}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-heading{display:none}
 #app:has(>.world-main.view-city)>.topbar>.city-header-context{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail{box-sizing:border-box;position:absolute;z-index:6;top:calc(var(--hub-topbar-space,79px) + 8px);left:12px;right:12px;bottom:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:8px;width:auto;max-height:calc(100% - var(--hub-topbar-space,79px) - 150px);padding:0 0 4px;overflow-y:auto;overflow-x:hidden;align-items:start}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card{position:static;inset:auto;grid-column:1;grid-row:1;display:block;width:100%;max-width:none;min-width:0;max-height:none;overflow:visible;align-self:start}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-context{box-sizing:border-box;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto auto;gap:3px 4px;width:100%;height:auto;max-height:none;padding:6px;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-identity{grid-column:1/3;grid-row:1;grid-template-columns:minmax(0,1fr);min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-name{font-size:16px;white-space:normal}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-flag{width:22px;height:28px;flex-basis:22px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-population{padding-left:0;font-size:11px;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-goods:not(.city-header-goods--demands){grid-column:3/5;grid-row:1}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-goods--demands{grid-column:5/7;grid-row:1}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-goods{min-width:0;gap:2px;padding:0 0 0 4px;border:0;border-left:1px solid #89703640}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-goods>div{gap:2px 4px;flex-wrap:wrap;justify-content:flex-start;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good{min-width:0;font-size:11px;white-space:normal;overflow-wrap:anywhere}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good img{width:23px;height:23px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-summary{display:contents;margin:0;padding:0;border:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-graphic-labor{grid-column:1/4;grid-row:2}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-graphic-supply{grid-column:4/7;grid-row:2}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-graphic{grid-template-columns:20px minmax(0,1fr);gap:3px;font-size:10px;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-graphic>img{width:20px;height:20px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-status-tooltip{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{position:static;inset:auto;grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:4px;width:100%;max-width:none;max-height:none;padding:0;overflow:visible;align-items:start}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-ship.city-ship-card.city-carousel-item{box-sizing:border-box;display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-rows:auto auto 44px;gap:3px 6px;width:100%;min-width:0;min-height:0;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art{grid-column:1;grid-row:1/3;width:84px;height:84px;max-height:84px;overflow:hidden}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art .ship-illustration-dock{width:82px;height:82px;max-height:82px;margin:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art .ship-illustration-dock img{max-width:80px;max-height:80px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-ship-main{grid-column:2;grid-row:1;min-height:44px;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status-list{grid-column:2;grid-row:2;gap:1px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status{grid-template-columns:18px minmax(0,1fr) 38px minmax(28px,.65fr);gap:2px;font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status>img{width:17px;height:17px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-convoy-button{grid-column:1/-1;grid-row:3;min-height:44px;padding:4px;font-size:12px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher{position:static;inset:auto;display:flex;grid-row:2;align-items:center;justify-content:center;gap:6px;width:auto;height:auto;min-height:44px;margin:0;padding:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-convoy{box-sizing:border-box;width:100%;min-width:0;min-height:100px;padding:8px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,
 #app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{box-sizing:border-box;position:absolute;z-index:7;inset:auto 12px 12px;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:auto;height:auto;aspect-ratio:auto;padding:7px;background:#102a2ded;border:1px solid #f8eac4b0;border-radius:10px;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot{box-sizing:border-box;position:relative;inset:auto;transform:none;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;width:100%;max-width:none;min-width:0;min-height:44px;padding:4px;font-size:12px;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot>span{width:24px;height:24px;flex:0 0 24px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot .hotspot-art{width:21px;height:21px}
 #app:has(>.world-main.view-city)>.topbar .time-controls button{min-height:44px;height:44px;min-width:44px;width:44px}
 #app:has(>.world-main.view-city)>.topbar>.icon-button{min-height:44px;height:44px;min-width:44px;width:44px}
}
@media(max-width:850px){
 #app:has(>.world-main.view-city){--hub-topbar-space:104px}
 #app:has(>.world-main.view-city)>.topbar{box-sizing:border-box;height:104px;min-height:104px;padding:6px 8px;row-gap:4px;grid-template-rows:44px 44px;grid-template-columns:minmax(78px,1fr) auto auto 44px;grid-template-areas:"brand cash date menu" "speed speed speed speed"}
 #app:has(>.world-main.view-city)>.topbar .time-controls{box-sizing:border-box;height:44px;padding:0;margin:0}
 #app:has(>.world-main.view-city)>.topbar .brand{height:40px;min-height:0}
}
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{grid-column:1;grid-row:2}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail{left:8px;right:8px;grid-template-columns:minmax(0,1fr);max-height:calc(100% - var(--hub-topbar-space,104px) - 180px);gap:5px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,
 #app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{left:8px;right:8px;bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px}
}

@media(min-width:601px) and (max-width:800px){
 #app:has(>.world-main.view-city)>.world-nav button{min-width:0;flex-direction:column;gap:1px;padding:3px 2px;text-align:center}
 #app:has(>.world-main.view-city)>.world-nav b{font-size:14px;white-space:normal}
 #app:has(>.world-main.view-city)>.world-nav .nav-icon,#app:has(>.world-main.view-city)>.world-nav .nav-art{width:38px;height:32px;flex-basis:32px}
}

/* City UI Hotfix 1B: compact phone HUD and touch navigation. */
#app .topbar .time-controls>.speed-cycle{display:none}
@media(max-width:600px){
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace)){--hub-topbar-space:calc(52px + env(safe-area-inset-top,0px))}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar{box-sizing:border-box;position:relative;inset:auto;display:grid;grid-template-columns:40px minmax(74px,1fr) minmax(92px,1.1fr) 48px 40px;grid-template-rows:minmax(0,1fr);grid-template-areas:"brand cash date speed menu";align-items:center;gap:4px;width:100%;height:calc(52px + env(safe-area-inset-top,0px));min-height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 8px 0;overflow:hidden;flex:0 0 auto}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar>.brand{box-sizing:border-box;grid-area:brand;display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;margin:0;flex:0 0 40px}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .brand-picture{display:block;width:40px;max-width:40px;height:40px}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .brand-logo{display:block;width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;object-position:center}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar>.city-header-context{display:none}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar>.resource-cash{grid-area:cash;display:flex;align-items:center;gap:4px;min-width:0;margin:0}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar>.calendar{grid-area:date;display:flex;align-items:center;gap:3px;min-width:0;margin:0}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .hud-art,#app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .topbar-art{width:22px;height:22px;flex:0 0 22px}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .resource-copy{display:block;min-width:0;line-height:1.05}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .resource-copy small{overflow:hidden;font-size:8px;line-height:1.05;letter-spacing:.3px;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .resource-copy strong{overflow:hidden;margin:2px 0 0;font-size:13px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .resource-copy strong.gold{font-size:14px}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .time-controls{box-sizing:border-box;grid-area:speed;display:grid;place-items:center;width:48px;min-width:48px;height:44px;margin:0;padding:0;background:transparent}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .time-controls>button[data-speed]{display:none}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .time-controls>.speed-cycle{box-sizing:border-box;display:grid;grid-template-rows:25px auto;place-items:center;gap:0;width:48px;min-width:48px;height:44px;min-height:44px;padding:2px;border:1px solid #c9b77f;border-radius:8px;background:#fff8e8;color:#20484a;font-size:10px;font-weight:700;line-height:1;touch-action:manipulation}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .time-controls>.speed-cycle img{display:block;width:24px;height:24px;object-fit:contain}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar>.icon-button{grid-area:menu;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:7px}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.topbar .topbar-menu-art{width:28px;height:28px;object-fit:contain}
 #app:has(>.world-main:is(.view-map,.view-ships,.view-office,.view-log,.view-career,.view-city,.view-marketplace))>.world-nav{box-sizing:border-box;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail{max-height:calc(100% - var(--hub-topbar-space,52px) - 210px)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-ship.city-ship-card.city-carousel-item{grid-template-columns:68px minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr) 44px;align-items:center;gap:2px 6px;min-height:0;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art{grid-column:1;grid-row:1/3;width:66px;height:66px;max-height:66px;align-self:center}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art .ship-illustration-dock{width:64px;height:64px;max-height:64px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-art .ship-illustration-dock img{max-width:62px;max-height:62px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-ship-main{grid-column:2;grid-row:1;justify-self:stretch;min-width:0;min-height:44px;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .dock-ship-main b{font-size:14px;overflow-wrap:normal;word-break:normal}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status-list{grid-column:2;grid-row:2;gap:1px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status{grid-template-columns:17px minmax(0,1fr) 40px minmax(32px,.65fr);gap:2px;font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-status>img{width:16px;height:16px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-convoy-button{grid-column:1/-1;grid-row:3;min-height:44px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good,#app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good>span{overflow-wrap:normal;word-break:keep-all;hyphens:none;white-space:nowrap}
 #app>.world-main.view-city:not(.has-place) .city-scene-location-card .city-header-goods>div{grid-template-columns:minmax(0,1fr);gap:2px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good{font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-header-good img{width:16px;height:16px;flex-basis:16px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{left:8px;right:8px;bottom:8px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(46px,auto));gap:4px 6px;padding:5px;background:rgba(255,248,228,.94);border:1px solid rgba(170,137,74,.58);border-radius:9px;box-shadow:none;backdrop-filter:blur(3px)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{box-sizing:border-box;display:flex;align-items:center;gap:5px;min-width:0;width:100%;min-height:46px;padding:3px 5px;border:1px solid rgba(139,112,62,.28);border-radius:7px;background:rgba(255,253,246,.84);box-shadow:none;color:#244747;font-size:12px;font-weight:600;line-height:1.05;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="market"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="office"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="tavern"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="market"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="office"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="tavern"]{flex-direction:row-reverse;justify-content:flex-start;text-align:right}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="yard"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="harbor"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="governor"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="yard"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="harbor"],#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot[data-place="governor"]{flex-direction:row;justify-content:flex-start;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot>span,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot>span{box-sizing:border-box;display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot .hotspot-art,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot .hotspot-art{width:26px;height:26px}
}

@media(min-width:780px) and (max-width:1100px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{left:10px;right:10px;bottom:10px;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(48px,auto);gap:6px;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{flex-direction:row;justify-content:center;gap:5px;min-height:48px;padding:4px;font-size:clamp(10px,1.25vw,13px);white-space:nowrap;overflow-wrap:normal;word-break:keep-all}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot>span,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot>span{flex:0 0 28px;width:28px;height:28px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot .hotspot-art,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot .hotspot-art{width:26px;height:26px}
}

/* UI-01: keep city facts collapsed and make the current-port fleet a compact horizontal rail. */
.city-info-details{position:relative;min-width:0;color:#244747}
.city-info-details>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:6px 10px;border:1px solid rgba(137,105,54,.42);border-radius:8px;background:rgba(255,253,246,.94);color:#244747;font-size:12px;font-weight:700;line-height:1.1;cursor:pointer;list-style:none;touch-action:manipulation}
.city-info-details>summary::-webkit-details-marker{display:none}
.city-info-details>summary:focus-visible,.city-action-panel>summary:focus-visible,.city-action-link:focus-visible,.city-fleet-choice:focus-visible{outline:3px solid #d39b43;outline-offset:2px}
.city-info-details-icon{box-sizing:border-box;display:block;flex:0 0 8px;width:8px;height:8px;margin-top:-4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s ease,margin .16s ease}
.city-info-details[open] .city-info-details-icon{margin-top:4px;transform:rotate(225deg)}
.city-info-details-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;min-width:0}
.city-info-details-content>.city-header-goods,.city-info-details-content>.city-status-summary{min-width:0}
.city-info-details-content>.city-status-summary{grid-column:1/-1}
#app:has(>.world-main.view-city)>.topbar .city-header-context{position:relative;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:visible}
#app:has(>.world-main.view-city)>.topbar .city-header-context>.city-header-identity{grid-column:1;min-width:0}
#app:has(>.world-main.view-city)>.topbar .city-header-context>.city-info-details{grid-column:2;justify-self:end;align-self:center}
#app:has(>.world-main.view-city)>.topbar .city-info-details[open]>.city-info-details-content{position:absolute;z-index:30;top:calc(100% + 6px);right:0;box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:min(62vh,440px);overflow:auto;padding:12px;border:1px solid rgba(137,105,54,.5);border-radius:10px;background:rgba(255,250,235,.98);box-shadow:0 12px 30px rgba(24,28,25,.28)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-context{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:6px;padding:7px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-identity{grid-column:1;grid-row:1;min-width:0}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details{grid-column:2;grid-row:1;justify-self:end}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content{grid-template-columns:minmax(0,1fr);gap:6px;margin-top:7px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods,#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{grid-column:auto}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic{grid-column:auto;grid-row:auto}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:5px;min-width:0}
.city-dock .city-ship-switcher{box-sizing:border-box;display:flex;grid-row:1;align-items:stretch;gap:6px;width:100%;min-width:0;min-height:44px;margin:0;padding:0 0 3px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin}
.city-dock .city-fleet-choice{box-sizing:border-box;display:grid;flex:0 0 min(168px,72%);grid-template-columns:minmax(0,1fr);align-content:center;gap:2px;min-width:112px;min-height:44px;padding:5px 9px;border:1px solid rgba(213,190,137,.58);border-radius:8px;background:rgba(19,58,61,.91);color:#fff8e6;text-align:left;scroll-snap-align:start;touch-action:pan-x}
.city-dock .city-fleet-choice>span{font-size:9px;line-height:1;letter-spacing:.08em;text-transform:uppercase;opacity:.82}
.city-dock .city-fleet-choice>strong{overflow:hidden;font-size:12px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.city-dock .city-fleet-choice.is-current{border-color:#f3d79a;background:#f8efd9;color:#244747;box-shadow:inset 0 0 0 1px rgba(141,107,47,.25)}
.city-dock>.city-carousel-item{grid-row:2;min-width:0}
.city-dock .dock-ship.city-ship-card.city-carousel-item{min-width:0}
.city-action-panel{display:none}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-action-panel{position:absolute;z-index:8;left:16px;bottom:16px;display:block}
 .city-action-panel>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-width:112px;min-height:44px;padding:7px 12px;border:1px solid rgba(235,215,169,.86);border-radius:9px;background:rgba(20,57,60,.95);box-shadow:0 3px 12px rgba(0,0,0,.25);color:#fff8e6;font-weight:700;cursor:pointer;list-style:none;touch-action:manipulation}
 .city-action-panel>summary::-webkit-details-marker{display:none}
 .city-action-panel[open]>.city-action-links{position:absolute;bottom:calc(100% + 7px);left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:min(286px,calc(100vw - 32px));padding:8px;border:1px solid rgba(137,105,54,.55);border-radius:10px;background:rgba(255,250,235,.97);box-shadow:0 8px 22px rgba(0,0,0,.24)}
 .city-action-link{box-sizing:border-box;display:flex;align-items:center;gap:6px;min-width:0;min-height:44px;padding:5px 7px;border:1px solid rgba(137,105,54,.3);border-radius:7px;background:#fffdf6;color:#244747;font-size:12px;font-weight:700;text-align:left;touch-action:manipulation}
 .city-action-link>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px}
 .city-action-link .hotspot-art{width:26px;height:26px}
}
@media(max-width:1100px),(hover:none),(pointer:coarse){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-action-panel{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-switcher{grid-row:1;min-height:44px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-carousel-item{grid-row:2}
}

/* Governor tab artwork must fit inside its button at every viewport width. */
#app>.world-main.view-city.has-place>.local-service-governor .governor-tabs button img{display:block;width:48px;height:48px;max-width:100%;object-fit:contain}

/* The expanded phone disclosure gives each good chip a narrow two-column slot. */
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place) .city-scene-location-card .city-info-details-content .city-header-good>span{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal}
}

/* Keep the city scene between the shared HUD and navigation on short viewports. */
#app:has(>.world-main.view-city:not(.has-place)){height:100dvh;min-height:0;overflow:hidden}
#app:has(>.world-main.view-city:not(.has-place))>.world-main.view-city:not(.has-place){flex:1 1 0%;height:0;min-height:0;overflow:hidden}
#app>.world-main.view-city:not(.has-place)>.city-scene{box-sizing:border-box;height:100%;min-height:0;max-height:100%}

/* The fleet selector precedes its selected card on desktop as on touch layouts. */
#app:has(>.world-main.view-city) .city-dock .city-ship-switcher{grid-row:1}
#app:has(>.world-main.view-city) .city-dock>.city-carousel-item{grid-row:2}

/* Keep the governor's face in frame on the fullbleed city-location background. */
#app>.world-main.view-city.has-place>.location-background-art.location-art-governor img{object-position:center top}

/* UI-01B: keep the city scene visible and reveal fleet details only on selection. */
.city-dock .city-ship-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 4px 4px;border-bottom:1px solid rgba(137,105,54,.24);color:#244747}
.city-dock .city-ship-detail-heading>button{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid rgba(137,105,54,.4);border-radius:8px;background:#fffaf0;color:#244747;font-size:24px;line-height:1;touch-action:manipulation}
.city-dock .city-convoy-detail-open{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:72px;padding:6px;border:0;background:transparent;color:inherit;text-align:left}
.city-dock .city-fleet-choice{box-sizing:border-box;display:flex;flex:0 0 min(158px,44vw);align-items:center;gap:7px;min-width:112px;min-height:52px;padding:4px 7px;overflow:hidden}
.city-dock .city-fleet-choice-art,.city-dock .city-fleet-choice-ship{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;min-width:0;overflow:hidden}
.city-dock .city-fleet-choice-art>img{display:block;width:32px;height:32px;object-fit:contain}
.city-dock .city-fleet-choice-ship .ship-illustration-dock{display:grid;width:38px;height:38px;max-height:38px;margin:0;place-items:center}
.city-dock .city-fleet-choice-ship .ship-illustration-dock img{display:block;max-width:36px;max-height:36px;object-fit:contain}
.city-dock .city-fleet-choice-copy{display:grid;gap:2px;min-width:0;text-align:left}
.city-dock .city-fleet-choice-copy>small{overflow:hidden;font-size:9px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap;opacity:.82}
.city-dock .city-fleet-choice-copy>strong{overflow:hidden;font-size:11px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.city-dock .city-ship-switcher{scrollbar-width:none}
.city-dock .city-ship-switcher::-webkit-scrollbar{display:none}
@media(max-width:850px){
 #app:has(>.world-main.view-city:not(.has-place)){--hub-topbar-space:calc(52px + env(safe-area-inset-top,0px))}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar{box-sizing:border-box;display:grid;grid-template-columns:44px minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr) 44px 44px;grid-template-rows:minmax(0,1fr);grid-template-areas:"brand context cash date speed menu";align-items:center;gap:3px;width:100%;height:calc(52px + env(safe-area-inset-top,0px));min-height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 6px 0;overflow:hidden;flex:0 0 auto}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.brand{box-sizing:border-box;grid-area:brand;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;margin:0;flex:0 0 44px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .brand-picture{display:grid;place-items:center;width:100%;height:100%}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .brand-logo{display:block;width:34px;height:34px;max-width:34px;max-height:34px;object-fit:contain;object-position:center}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.city-header-context{box-sizing:border-box;grid-area:context;display:grid;width:100%;height:auto;min-height:0;max-height:none;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}
  #app:has(>.world-main.view-city:not(.has-place))>.topbar:has(>.city-header-context)>.city-header-context{display:grid}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-identity{display:grid;grid-template-columns:21px minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:3px;min-width:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name-row{display:contents}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-flag{grid-column:1;width:19px;height:28px;max-width:19px;flex-basis:19px;object-fit:contain}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name-copy{grid-column:2;min-width:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name{display:block;overflow:hidden;font-size:clamp(10px,2.8vw,13px);line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-nation,#app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-population,#app:has(>.world-main.view-city:not(.has-place))>.topbar .city-info-details{display:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.resource-cash{grid-area:cash;display:flex;align-items:center;gap:3px;min-width:0;margin:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.calendar{grid-area:date;display:flex;align-items:center;gap:2px;min-width:0;margin:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .hud-art,#app:has(>.world-main.view-city:not(.has-place))>.topbar .topbar-art{width:18px;height:18px;flex:0 0 18px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .resource-copy{display:block;min-width:0;line-height:1.05}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .resource-copy small{display:block;overflow:hidden;font-size:7px;line-height:1;letter-spacing:.15px;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.calendar .resource-copy small{display:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .resource-copy strong{display:block;overflow:hidden;margin:2px 0 0;font-size:clamp(9px,2.7vw,12px);line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .resource-copy strong.gold{font-size:clamp(10px,2.8vw,13px)}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls{box-sizing:border-box;grid-area:speed;display:grid;place-items:center;width:44px;min-width:44px;height:44px;margin:0;padding:0;background:transparent}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>button[data-speed]{display:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>.speed-cycle{box-sizing:border-box;display:grid;grid-template-rows:23px auto;place-items:center;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:2px;border:1px solid #c9b77f;border-radius:8px;background:#fff8e8;color:#20484a;font-size:8px;font-weight:700;line-height:1;touch-action:manipulation}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>.speed-cycle img{display:block;width:21px;height:21px;object-fit:contain}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.icon-button{box-sizing:border-box;grid-area:menu;width:44px;min-width:44px;height:44px;min-height:44px;padding:7px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .topbar-menu-art{width:28px;height:28px;object-fit:contain}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail{box-sizing:border-box;position:absolute;z-index:8;inset:0;display:block;width:auto;max-height:none;padding:0;overflow:visible;pointer-events:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card{position:absolute;inset:10px 10px auto auto;display:block;width:auto;max-width:none;min-width:0;max-height:none;overflow:visible;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-context{box-sizing:border-box;display:block;width:auto;height:auto;max-height:none;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-identity{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details{position:relative;display:block;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details>summary{min-width:112px;min-height:44px;padding:6px 10px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details[open]>.city-info-details-content{position:absolute;z-index:15;top:calc(100% + 6px);right:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(410px,calc(100vw - 24px));max-height:min(48vh,360px);overflow:auto;padding:10px;border:1px solid rgba(137,105,54,.55);border-radius:10px;background:rgba(255,250,235,.97);box-shadow:0 8px 24px rgba(18,31,30,.32)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods,#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{grid-column:auto;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic{grid-column:auto;grid-row:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{box-sizing:border-box;position:absolute;inset:auto 10px 84px;display:block;width:auto;max-width:none;min-width:0;max-height:none;padding:0;overflow:visible;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-switcher{display:flex;align-items:stretch;justify-content:flex-start;gap:5px;width:100%;min-width:0;min-height:52px;margin:0;padding:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;touch-action:pan-x}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice{flex:0 0 min(158px,44vw);min-width:112px;min-height:52px;scroll-snap-align:start}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-carousel-item{position:absolute;z-index:12;right:0;bottom:calc(100% + 7px);left:0;grid-row:auto;width:100%;max-height:min(32vh,230px);overflow:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-card.city-carousel-item{grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto 44px auto 44px;align-items:center;gap:3px 6px;min-height:0;padding:6px;background:rgba(255,250,235,.97);box-shadow:0 6px 22px rgba(10,25,26,.38)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-heading{grid-column:1/-1;grid-row:1;min-height:38px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-heading>button{width:44px;height:44px;min-width:44px;min-height:44px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-art{grid-column:1;grid-row:2/4;width:62px;height:62px;max-height:62px;align-self:center}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-art .ship-illustration-dock{width:60px;height:60px;max-height:60px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-art .ship-illustration-dock img{max-width:58px;max-height:58px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .dock-ship-main{grid-column:2;grid-row:2;justify-self:stretch;min-width:0;min-height:44px;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list{grid-column:2;grid-row:3;gap:1px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status{grid-template-columns:17px minmax(0,1fr) 40px minmax(30px,.65fr);gap:2px;font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status>img{width:16px;height:16px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-convoy-button{grid-column:1/-1;grid-row:4;min-height:44px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .dock-convoy{box-sizing:border-box;min-width:0;padding:6px;background:rgba(255,250,235,.97);box-shadow:0 6px 22px rgba(10,25,26,.38)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-convoy-detail-open{min-height:58px;padding:3px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{box-sizing:border-box;position:absolute;z-index:7;inset:auto 10px 10px;transform:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(44px,auto));gap:4px 6px;width:auto;max-width:640px;height:auto;padding:5px;background:rgba(255,248,228,.95);border:1px solid rgba(170,137,74,.58);border-radius:9px;box-shadow:0 3px 12px rgba(15,35,37,.2);backdrop-filter:blur(3px);pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{box-sizing:border-box;position:relative;inset:auto;transform:none;display:flex;align-items:center;gap:5px;min-width:0;width:100%;max-width:none;min-height:44px;padding:4px 6px;border:1px solid rgba(139,112,62,.28);border-radius:7px;background:rgba(255,253,246,.88);color:#244747;font-size:11px;font-weight:700;line-height:1.05;white-space:nowrap;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot>span,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot>span{box-sizing:border-box;display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot .hotspot-art,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot .hotspot-art{width:26px;height:26px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="market"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="office"],#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot[data-place="tavern"]{flex-direction:row-reverse;justify-content:flex-start;text-align:right}
 #app:has(>.world-main.view-city:not(.has-place))>.world-nav{box-sizing:border-box;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
}
@media(min-width:851px) and (max-width:1100px){
 #app:has(>.world-main.view-city:not(.has-place)){--hub-topbar-space:64px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar{box-sizing:border-box;display:grid;grid-template-columns:44px minmax(120px,1.1fr) minmax(90px,1fr) minmax(100px,1fr) 176px 44px;grid-template-rows:minmax(0,1fr);grid-template-areas:"brand context cash date speed menu";align-items:center;gap:4px;width:100%;height:64px;min-height:64px;padding:0 10px;overflow:hidden;flex:0 0 auto}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.brand{box-sizing:border-box;grid-area:brand;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;margin:0;flex:0 0 44px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .brand-logo{display:block;width:38px;height:38px;max-width:38px;max-height:38px;object-fit:contain}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.city-header-context{box-sizing:border-box;grid-area:context;display:grid;width:100%;height:auto;min-height:0;max-height:none;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:0;margin:0;padding:0;overflow:hidden;border:0;background:transparent;box-shadow:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-identity{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:5px;min-width:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name-row{display:contents}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-flag{grid-column:1;width:25px;height:36px;max-width:25px;flex-basis:25px}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name-copy{grid-column:2;min-width:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-name{display:block;overflow:hidden;font-size:15px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-nation{display:block;overflow:hidden;font-size:10px;line-height:1;text-overflow:ellipsis;white-space:nowrap}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .city-header-population,#app:has(>.world-main.view-city:not(.has-place))>.topbar .city-info-details{display:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.resource-cash{grid-area:cash;display:flex;align-items:center;gap:4px;min-width:0;margin:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.calendar{grid-area:date;display:flex;align-items:center;gap:4px;min-width:0;margin:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls{grid-area:speed;display:flex;align-items:center;justify-content:center;gap:2px;width:auto;min-width:0;height:44px;margin:0;padding:0}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>button[data-speed]{box-sizing:border-box;display:grid;grid-template-rows:25px auto;place-items:center;gap:0;width:42px;min-width:42px;height:44px;min-height:44px;padding:2px;border-radius:8px;font-size:9px;line-height:1}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>button[data-speed] img{display:block;width:22px;height:22px;object-fit:contain}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar .time-controls>.speed-cycle{display:none}
 #app:has(>.world-main.view-city:not(.has-place))>.topbar>.icon-button{box-sizing:border-box;grid-area:menu;width:44px;min-width:44px;height:44px;min-height:44px;padding:7px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail{box-sizing:border-box;position:absolute;z-index:8;inset:0;display:block;width:auto;max-height:none;padding:0;overflow:visible;pointer-events:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card{position:absolute;inset:10px 10px auto auto;display:block;width:auto;max-width:none;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-identity{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-context{display:block;width:auto;padding:0;border:0;background:transparent;box-shadow:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{box-sizing:border-box;position:absolute;inset:auto 10px 82px;display:block;width:auto;max-width:none;padding:0;overflow:visible;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-carousel-item{position:absolute;right:0;bottom:calc(100% + 7px);left:0;width:100%}
}
@media(max-width:850px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city) .city-overview-pilot .city-overview-stage>.city-hotspots{left:50%;right:auto;width:min(640px,calc(100% - 20px));transform:translateX(-50%)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{bottom:174px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice{box-sizing:border-box;display:flex!important;grid-template-columns:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;min-width:112px;min-height:52px;padding:4px 7px;border:1px solid rgba(137,105,54,.42);border-radius:8px;background:rgba(255,253,246,.95);color:#244747;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice.is-current{border-color:#f3d79a;background:#f8efd9;color:#244747;box-shadow:inset 0 0 0 1px rgba(141,107,47,.25)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;min-width:0;color:#244747;text-align:left}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy>small{color:#476260;font-size:9px;line-height:1.05}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy>strong{color:#244747;font-size:11px;line-height:1.1}
}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock .city-fleet-choice{display:flex;align-items:center;gap:7px;background:rgba(255,253,246,.95);color:#244747}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock .city-fleet-choice.is-current{background:#f8efd9;color:#244747}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock .city-fleet-choice-copy{color:#244747;opacity:1;text-align:left}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock .city-fleet-choice-copy>small{color:#476260;opacity:1}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock .city-fleet-choice-copy>strong{color:#244747;opacity:1}

/* Make the docked vessel picker readable at a glance on narrow city scenes. */
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice{flex:0 0 min(224px,72vw);min-width:min(190px,72vw);min-height:64px;gap:9px;padding:6px 10px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-art,
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-ship{flex:0 0 50px;width:50px;height:50px;overflow:hidden}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-art>img{width:46px;height:46px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-ship .ship-illustration-dock{width:50px;height:50px;max-height:50px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-ship .ship-illustration-dock img{max-width:48px;max-height:48px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy{text-transform:none}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy>small{font-size:10px;font-weight:600;letter-spacing:0;line-height:1.15;text-transform:none}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-fleet-choice-copy>strong{font-size:14px;line-height:1.15;text-transform:none}
@media(min-width:601px) and (max-width:850px){#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card{top:calc(var(--hub-topbar-space,52px) + 10px)}}
@media(min-width:851px) and (max-width:1100px){#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card{top:calc(var(--hub-topbar-space,64px) + 10px)}}
#app:has(>.world-main.view-city:not(.has-place)) .city-dock>.city-carousel-item{max-height:min(34vh,340px);overflow:auto}

/* Selected ship card follows the compact reference: artwork, identity and condition above a short status/actions footer. */
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{box-sizing:border-box;display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;grid-template-rows:minmax(116px,auto) auto!important;align-items:center;gap:7px 10px;width:min(100%,460px)!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;padding:9px!important;overflow:visible!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art{grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center;width:140px!important;height:130px!important;max-height:130px!important;align-self:center;overflow:hidden;border:1px solid rgba(153,122,69,.24);border-radius:8px;background:rgba(255,255,255,.2)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock{width:136px!important;height:126px!important;max-height:126px!important;margin:0!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock img{display:block;width:auto!important;height:auto!important;max-width:132px!important;max-height:122px!important;object-fit:contain}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock>i{display:none}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-card>.city-ship-detail-content{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px!important;min-width:0!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-title{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center;gap:4px;min-width:0}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-identity{display:grid;align-content:center;gap:1px;min-width:0;min-height:44px;padding:2px 4px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-identity>b{display:block;overflow:hidden;color:#21494a;font:600 18px/1.05 Georgia,serif;text-overflow:ellipsis;white-space:nowrap}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-identity>small{display:block;overflow:hidden;color:#6c654f;font-size:11px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-title>.city-ship-detail-close{grid-column:2;grid-row:1;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid rgba(137,105,54,.4);border-radius:50%;background:#fffaf0;color:#244747;font-size:20px;line-height:1;touch-action:manipulation}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(3,auto)!important;gap:4px!important;min-width:0;margin:0!important;padding:0!important;border:0}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{display:grid!important;grid-template-columns:25px 1fr 42px minmax(52px,.9fr)!important;align-items:center;gap:5px;min-width:0;margin:0;padding:0;border:0;color:#35504a;font-size:11px;line-height:1.1}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status>img{width:24px;height:24px;padding:1px;box-sizing:border-box;border-radius:5px;object-fit:contain;background:rgba(255,255,255,.62)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status>strong{overflow:hidden;font-size:10px;font-weight:700;text-align:right;text-overflow:ellipsis;white-space:nowrap}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-meter{display:block;height:9px;min-width:35px;overflow:hidden;border:1px solid #b5a47b;border-radius:99px;background:#d8ceb3;box-shadow:inset 0 1px 2px rgba(52,42,24,.18)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-meter>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#387b70,#6ca58a)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status.is-warning .city-ship-meter>i{background:linear-gradient(90deg,#a9473b,#d77c54)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-footer{grid-column:1/-1!important;grid-row:2!important;display:grid;grid-template-columns:minmax(125px,.9fr) minmax(0,1.1fr);gap:10px;min-width:0;padding-top:7px;border-top:1px solid rgba(153,122,69,.24)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition,#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-actions{display:grid;align-content:start;gap:4px;min-width:0;margin:0;padding:0}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition{padding-right:8px;border-right:1px solid rgba(153,122,69,.2)}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition>h3,#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-actions>h3{margin:0;color:#244747;font-size:11px;line-height:1.15}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition>p{display:flex;align-items:center;gap:5px;min-width:0;margin:0;color:#36534c;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition>p>span{flex:0 0 auto;color:#7d6941}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-action-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-secondary-action{box-sizing:border-box;display:grid;place-items:center;min-width:0;min-height:44px;padding:4px 7px;border:1px solid rgba(137,105,54,.38);border-radius:7px;background:linear-gradient(180deg,#fffdf7,#f3ead5);color:#244747;font-size:11px;font-weight:700;line-height:1.05;text-align:center;touch-action:manipulation}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-card>.city-ship-detail-footer .city-convoy-button{grid-column:1/-1;min-width:0;min-height:44px;padding:5px 8px;font-size:12px}
@media(max-width:850px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:minmax(94px,auto) auto!important;gap:6px 8px!important;width:min(100%,400px)!important;padding:8px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art{width:104px!important;height:98px!important;max-height:98px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock{width:100px!important;height:94px!important;max-height:94px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock img{max-width:96px!important;max-height:90px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-footer{grid-template-columns:minmax(104px,.8fr) minmax(0,1.2fr);gap:7px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{grid-template-columns:22px minmax(36px,1fr) 38px minmax(38px,.8fr)!important;gap:4px;font-size:10px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status>img{width:21px;height:21px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition>p{font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-secondary-action{padding:4px 5px;font-size:10px}
}
@media(max-width:420px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{grid-template-columns:84px minmax(0,1fr)!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art{width:84px!important;height:86px!important;max-height:86px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock{width:80px!important;height:82px!important;max-height:82px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock img{max-width:78px!important;max-height:78px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{grid-template-columns:20px minmax(30px,1fr) 37px minmax(34px,.8fr)!important;gap:3px}
}/* Reset the historic carousel placement rules for the nested target-card layout. */
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-content>.city-ship-detail-title{grid-column:1!important;grid-row:1!important;width:100%!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-content>.city-ship-status-list{grid-column:1!important;grid-row:2!important;width:100%!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-action-pair>.dock-ship-main{grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;justify-self:stretch!important;width:100%!important;min-height:44px!important;text-align:center!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-actions>.city-convoy-button{grid-column:1/-1!important;grid-row:auto!important;align-self:stretch!important;justify-self:stretch!important;width:100%!important}
@media(max-width:420px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{grid-template-columns:100px minmax(0,1fr)!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art{width:100px!important;height:96px!important;max-height:96px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock{width:96px!important;height:92px!important;max-height:92px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock img{max-width:94px!important;max-height:88px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{grid-template-columns:20px minmax(30px,1fr) 37px minmax(34px,.8fr)!important;gap:3px}
}#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{right:0!important;left:auto!important;width:min(460px,calc(100vw - 20px))!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status>img{width:21px;height:21px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{gap:4px}
@media(max-width:420px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{grid-template-columns:116px minmax(0,1fr)!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art{width:116px!important;height:106px!important;max-height:106px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock{width:112px!important;height:102px!important;max-height:102px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item>.city-ship-art .ship-illustration-dock img{max-width:108px!important;max-height:98px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status{grid-template-columns:18px minmax(30px,1fr) 37px minmax(34px,.8fr)!important;gap:3px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-status-list>.city-ship-status>img{width:18px;height:18px}
}#app>.world-main.view-city:not(.has-place)>.city-scene .city-fleet-rail:has(>.city-dock>.city-ship-card){width:min(460px,calc(100vw - 20px))!important}#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock>.city-ship-card.city-carousel-item{gap:5px 8px!important;padding:7px!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-detail-footer{gap:7px;padding-top:5px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-condition,#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-actions{gap:3px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-actions{gap:2px}

/* Scene overlays use independent anchors, so ship selection never changes city-info placement. */
#app>.world-main.view-city:not(.has-place)>.city-scene>.city-scene-location-card{display:none}
#app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{box-sizing:border-box;position:absolute;z-index:12;right:10px;bottom:10px;left:auto;display:block;width:min(460px,calc(100vw - 20px));min-width:0;max-width:none;min-height:0;max-height:none;margin:0;padding:0;overflow:visible;pointer-events:none}
#app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock>*{pointer-events:auto}
#app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock .city-ship-switcher{box-sizing:border-box;display:flex;align-items:stretch;justify-content:flex-start;gap:6px;width:100%;min-width:0;min-height:60px;margin:0;padding:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;touch-action:pan-x}
#app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock>.city-ship-card.city-carousel-item{position:absolute!important;z-index:12;top:auto!important;right:0!important;bottom:calc(100% + 8px)!important;left:auto!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-condition>p.city-ship-condition-line{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:6px;min-height:28px;overflow-wrap:anywhere}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-condition-line>.city-condition-art{display:block;box-sizing:border-box;width:28px;height:28px;min-width:28px;max-width:28px;object-fit:contain;padding:0;border:0;border-radius:0;background:transparent;filter:drop-shadow(0 1px 1px rgba(30,43,38,.16))}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-condition-line>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px),(max-width:1400px) and (max-height:750px),(hover:none) and (pointer:coarse){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-scene-location-card{box-sizing:border-box;position:absolute;z-index:18;top:calc(var(--hub-topbar-space,64px) + 8px);right:8px;bottom:auto;left:auto;display:block;width:auto;max-width:min(360px,calc(100vw - 16px));min-width:0;pointer-events:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card>.city-header-context{box-sizing:border-box;display:block;width:auto;max-width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-header-identity{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details{position:relative;display:block;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;min-width:132px;min-height:44px;padding:7px 12px;border:1px solid rgba(137,105,54,.48);border-radius:9px;background:rgba(255,253,246,.96);box-shadow:0 3px 12px rgba(16,35,34,.2);color:#244747;font-size:14px;font-weight:700;list-style:none;cursor:pointer;touch-action:manipulation}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details>summary::-webkit-details-marker{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-icon{box-sizing:border-box;display:block;flex:0 0 8px;width:8px;height:8px;margin-top:-4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s ease,margin .16s ease}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details[open] .city-info-details-icon{margin-top:4px;transform:rotate(225deg)}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details[open]>.city-info-details-content{position:absolute;z-index:20;top:calc(100% + 6px);right:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(420px,calc(100vw - 16px));max-height:min(48vh,360px);overflow:auto;padding:10px;border:1px solid rgba(137,105,54,.55);border-radius:10px;background:rgba(255,250,235,.98);box-shadow:0 8px 24px rgba(18,31,30,.32)}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{right:8px;bottom:134px;left:auto;width:min(460px,calc(100vw - 16px))}
}
@media(min-width:851px) and (max-width:1100px){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{bottom:82px}
}
@media(max-width:850px){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{bottom:174px}
}
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{right:8px;bottom:176px;left:8px;width:auto}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-condition>p.city-ship-condition-line{grid-template-columns:26px minmax(0,1fr);gap:5px;min-height:26px;font-size:9px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-condition-line>.city-condition-art{width:26px;height:26px;min-width:26px;max-width:26px}
}

/* City information: clickable population cutout and legible, always-visible facts. */
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details>summary,
#app:has(>.world-main.view-city)>.topbar .city-info-details>summary{
  justify-content:flex-start;gap:9px;min-width:158px;min-height:58px;padding:4px 12px;
  border:1px solid #c9ad71;border-radius:10px;background:linear-gradient(145deg,#fffdf7,#f2e6c9);
  box-shadow:0 4px 13px rgba(16,35,34,.22),inset 0 0 0 2px rgba(255,255,255,.48);
  color:#244747;font-size:15px;font-weight:700
}
.city-info-cutout{display:block;flex:0 0 48px;width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(40,32,20,.24))}
.city-info-details-content{gap:12px!important}
.city-info-demographics{grid-column:1/-1;display:grid;grid-template-columns:58px repeat(2,minmax(0,1fr));align-items:center;gap:10px;padding:10px 12px;border:1px solid #ddc99e;border-radius:8px;background:#f5ecd6}
.city-info-demographics>img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(40,32,20,.2))}
.city-info-demographics>div{display:grid;gap:3px;min-width:0}
.city-info-demographics>div+div{padding-left:12px;border-left:1px solid #d8c69d}
.city-info-demographics span{color:#64766d;font-size:13px;line-height:1.25}
.city-info-demographics strong{color:#203c3e;font:600 18px/1.2 Georgia,serif}
.city-info-details-content>.city-header-goods{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px!important;padding:10px 12px!important;border:1px solid #e1d2b1!important;border-radius:8px;background:#fffdf7!important}
.city-info-details-content>.city-header-goods .eyebrow{color:#857750;font-size:12px;letter-spacing:1px}
.city-info-details-content>.city-header-goods>div{display:grid!important;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:6px!important}
.city-info-details-content .city-header-good{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;min-width:0;color:#304b4d;font-size:15px!important;line-height:1.3;white-space:normal}
.city-info-details-content .city-header-good img{flex:0 0 28px;width:28px!important;height:28px!important}
.city-info-details-content>.city-status-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:stretch;padding-top:3px}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-areas:"art label" "art detail"!important;align-content:start;align-items:center;gap:4px 9px!important;min-width:0;padding:11px!important;border:1px solid #ddcfaa!important;border-radius:8px;background:#fffdf7!important;color:#304b4d!important;font-size:14px!important;line-height:1.4;cursor:default}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic>img{grid-area:art;width:40px!important;height:40px!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic>.city-status-label{grid-area:label;font-size:15px!important;line-height:1.25}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic>.city-status-detail{grid-area:detail;color:#526762!important;font-size:12px!important;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
.city-info-details-content .city-status-graphic>.city-status-tooltip{display:none}
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details>summary{min-width:158px;min-height:58px;font-size:15px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details[open]>.city-info-details-content{width:min(560px,calc(100vw - 20px))!important;max-height:min(68vh,560px)!important;padding:12px!important}
 .city-info-details-content>.city-status-summary{grid-template-columns:minmax(0,1fr)}
 .city-info-demographics{grid-template-columns:48px repeat(2,minmax(0,1fr));gap:7px;padding:8px}
 .city-info-demographics>img{width:46px;height:46px}
 .city-info-demographics strong{font-size:16px}
 .city-info-demographics span{font-size:12px}
}

/* CITY_INFO_PRESENTATION_V2: explicit labels and the missing population cutout. */
.city-info-demographics,.city-info-details-content>.city-header-goods,.city-info-details-content .city-status-graphic{background:linear-gradient(145deg,#fffaf0,#f2e8d2)!important;border-color:#d8c69d!important;box-shadow:0 2px 7px rgba(67,52,25,.07)}
.city-info-details-content>.city-header-goods .eyebrow{font-size:12px!important;letter-spacing:1.15px}
.city-info-details-content .city-header-good{font-size:15px!important;color:#304b4d!important}
.city-info-details-content .city-status-graphic{grid-template-columns:36px minmax(0,1fr)!important;grid-template-areas:"art label" "art detail"!important;gap:4px 9px!important;padding:12px!important}
.city-info-details-content .city-status-graphic>img{width:36px!important;height:36px!important}
.city-info-details-content .city-status-graphic>.city-status-label{color:#203c3e!important;font-size:15px!important;font-weight:700;line-height:1.3}
.city-info-details-content .city-status-graphic>.city-status-detail{color:#405b56!important;font-size:13px!important;line-height:1.5}
.city-info-cutout{box-sizing:border-box;padding:3px;border:1px solid #d1b779;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffdf7,#e8d5a9);filter:drop-shadow(0 2px 3px rgba(40,32,20,.22))}
@media(max-width:600px){
 .city-info-details-content .city-status-graphic>.city-status-label{font-size:14px!important}
 .city-info-details-content .city-status-graphic>.city-status-detail{font-size:12px!important}
}

/* CITY_INFO_LAYOUT_V3: demographic facts first; status cards aligned and status-tinted. */
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;gap:10px!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-info-demographics{grid-column:1/-1!important;grid-row:1!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods:not(.city-header-goods--demands){grid-column:1!important;grid-row:2!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods--demands{grid-column:2!important;grid-row:2!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{grid-column:1/-1!important;grid-row:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;align-items:stretch}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic{grid-column:auto!important;grid-row:auto!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-areas:"art label" "art detail"!important;gap:4px 8px!important;min-height:92px;padding:10px!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic>img{width:32px!important;height:32px!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-labor[data-status="free"],
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-supply[data-status="well-supplied"],
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-supply[data-status="stable"]{background:#eaf2e6!important;border-color:#a8c29e!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-labor[data-status="strained"],
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-supply[data-status="strained"]{background:#f7efd9!important;border-color:#d9c184!important}
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-labor[data-status="shortage"],
#app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic-supply[data-status="crisis"]{background:#f7e8e1!important;border-color:#d9a99b!important}

/* Short landscape tablets keep the HUD in one row and the six city destinations at the bottom. */
@media (min-width:780px) and (max-width:850px) and (max-height:700px) and (orientation:landscape){
 #app:has(>.world-main.view-city.has-place){--hub-topbar-space:56px}
 #app:has(>.world-main.view-city.has-place)>.topbar{box-sizing:border-box;display:grid;grid-template-columns:minmax(54px,1fr) auto auto auto 44px;grid-template-rows:minmax(0,1fr);grid-template-areas:"brand cash date speed menu";align-items:center;column-gap:6px;row-gap:0;width:100%;height:56px;min-height:56px;padding:4px 8px;overflow:hidden}
 #app:has(>.world-main.view-city.has-place)>.topbar>.brand{grid-area:brand;min-width:54px;margin:0}
 #app:has(>.world-main.view-city.has-place)>.topbar>.resource-cash{grid-area:cash;justify-self:end;margin:0}
 #app:has(>.world-main.view-city.has-place)>.topbar>.calendar{grid-area:date;justify-self:end;margin:0}
 #app:has(>.world-main.view-city.has-place)>.topbar>.time-controls{grid-area:speed;justify-self:end;width:auto;min-width:0;height:44px;margin:0;padding:0}
 #app:has(>.world-main.view-city.has-place)>.topbar>.icon-button{grid-area:menu;justify-self:end;margin:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots{box-sizing:border-box;left:8px;right:8px;bottom:8px;width:auto;max-width:none;transform:none;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(48px,auto);gap:5px;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{flex-direction:row;justify-content:center;gap:3px;min-width:0;padding:3px;font-size:10px;text-align:center}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{bottom:82px}
}

/* City destinations: two columns on portrait touch screens, one dockside row on landscape tablets. */
@media (min-width:601px) and (max-width:779px) and (orientation:portrait){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots{box-sizing:border-box;left:10px;right:10px;bottom:10px;width:auto;max-width:none;transform:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(46px,auto));gap:5px 7px;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{min-height:46px;font-size:12px}
}
@media (min-width:700px) and (max-width:1100px) and (orientation:landscape){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots{box-sizing:border-box;left:8px;right:8px;bottom:8px;width:auto;max-width:none;transform:none;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(48px,auto);gap:5px;padding:6px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot,#app:has(>.world-main.view-city:not(.has-place)) .city-overview-pilot .city-overview-stage>.city-hotspots .city-hotspot{flex-direction:row;justify-content:center;gap:3px;min-width:0;padding:3px;font-size:clamp(10px,1.2vw,13px);text-align:center}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock{bottom:82px}
}

/* Phone city information and ship details keep the scene readable. */
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details[open]>.city-info-details-content{width:calc(100vw - 20px)!important;max-height:min(62vh,480px)!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;padding:8px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-info-demographics,
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods,
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{grid-column:1!important;grid-row:auto!important;min-width:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods{padding:7px 9px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-header-goods>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-header-good{font-size:12px!important;gap:4px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-header-good img{width:24px!important;height:24px!important;flex-basis:24px}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content>.city-status-summary{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-scene-location-card .city-info-details-content .city-status-graphic{min-height:0!important;grid-template-columns:32px minmax(0,1fr)!important;padding:8px!important}
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots,
 #app>.world-main.view-city:not(.has-place)>.city-scene .city-dock .city-ship-card{backdrop-filter:none!important}
}

/* Phone city HUD follows the compact service layout; identity sits on the scene. */
@media(max-width:600px){
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading{box-sizing:border-box;position:absolute;z-index:16;top:8px;left:10px;display:flex!important;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 20px);margin:0;padding:7px 9px;border:0;border-radius:7px;background:rgba(12,27,29,.72);box-shadow:0 3px 12px rgba(8,25,27,.25);color:#fff9eb}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading .city-nation{margin:0}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading .city-nation>span{display:none}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading .nation-flag{display:block;width:34px;height:26px;object-fit:contain;object-position:center}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading h1{overflow:hidden;margin:0;color:#fff9eb;font:600 17px/1.1 Georgia,serif;text-overflow:ellipsis;white-space:nowrap}
 #app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading p{display:none}
}
@media(max-width:600px){#app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading .city-nation>.nation-flag{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}}

/* Readable city destinations and selected vessel on phones. */
@media(max-width:600px){
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspots{grid-template-rows:repeat(3,minmax(56px,auto))!important;gap:6px!important;padding:6px!important;bottom:8px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot{font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:700!important;min-height:56px!important;padding:8px!important;gap:6px!important;color:#243e42!important;background:#fffaf0!important;text-shadow:none!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot .hotspot-art{width:34px!important;height:34px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene>.city-dock{bottom:214px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher button{font-family:Arial,sans-serif!important;text-shadow:none!important;min-height:66px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher strong{font-size:20px!important;line-height:1.2!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher small{font-size:16px!important;line-height:1.3!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-info-details>summary{font:700 18px/1.3 Arial,sans-serif!important;min-height:52px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene>.city-heading h1{font-size:23px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-info-details-content{font-size:18px!important;line-height:1.4!important;background:#fffaf0!important}
}
@media(max-width:360px){#app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot{font-size:16px!important;gap:4px!important;padding:6px!important}}
@media(max-width:600px){#app#app>.world-main.view-city:not(.has-place)>.city-scene .city-ship-switcher :is(strong,small){text-shadow:none!important;filter:none!important;color:#243e42!important}}
/* Follow-up: the artwork box includes its full width before the label begins. */
@media(max-width:600px){
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot:is([data-place=yard],[data-place=harbor],[data-place=governor]){gap:10px!important}
 #app#app>.world-main.view-city:not(.has-place)>.city-scene .city-hotspot:is([data-place=yard],[data-place=harbor],[data-place=governor])>span{flex:0 0 34px!important;width:34px!important;height:34px!important}
}
