/* Keep the city dominant; reveal detail when a player asks for it. */
.plot-layer,.calendar-layer,.inspector-layer{display:contents}
.game-shell .district-navigation,.map-plaque{display:none}
.district-identity{height:28px;top:-34px;gap:6px;padding-left:6px}
.landmark-medallion{width:25px;height:25px;display:grid;place-items:center;background:none;border:0;border-radius:0;box-shadow:none;transform:none}
.landmark-medallion img{width:24px;height:24px;filter:none;object-fit:contain}
.district-identity strong{font-size:16px;line-height:24px;color:#f7e3ae}
.district-number{font-size:10px;color:#d4bd82}
.game-shell .camera-hint{background:#173a2aea;font-size:12px;line-height:1.3;max-width:calc(100% - 20px)}
/* Cards sit straight; the green inlay indicates selection without layout shift. */
.game-shell .counter-stack{display:none}
.game-shell .address-strip{align-items:center;padding:3px 2px;gap:5px;flex-wrap:nowrap}
.game-shell .address-slip,.game-shell .address-slip:nth-child(n){display:grid;place-items:center;position:relative;transform:none;rotate:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;line-height:1;border-radius:3px;border:1px solid #d5b473;background:#efe0b7;color:#514127;box-shadow:0 2px #43301d;font-size:20px}
.game-shell .address-slip.selected{background:#2b6951;color:#fff0bd;border:2px solid #9fe4ba;box-shadow:0 2px #1a392c}
.game-shell .address-slip.selected:after{content:'✓';position:absolute;right:2px;top:1px;font:9px Arial;color:#c3f2d0}
.game-shell .address-slip.guide-target{animation:none;outline:0;filter:none}
.game-shell .lot.guide-target,.game-shell .lot.buildable{outline:0;outline-offset:0;animation:plot-inlay 1.8s ease-in-out infinite}
.game-shell .lot.picked,.game-shell .lot.drop-target{outline:0;box-shadow:inset 0 0 0 3px #a4e7b4}
@keyframes plot-inlay{0%,100%{box-shadow:inset 0 0 0 2px #f3cf73}50%{box-shadow:inset 0 0 0 3px #fff0b0}}
.settings-switches{display:grid;gap:12px}.setting-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:72px;padding:14px 16px;border:1px solid #a68a54;border-bottom:3px solid #82633e;border-radius:5px;background:#e4cd95;color:#3e3925;text-align:left}.setting-switch strong{font-size:17px;display:block}.setting-switch small{display:block;font-size:13px;margin-top:4px;color:#6b5c39}.setting-switch>b{min-width:52px;text-align:center;background:#786e52;color:#fff0c7;padding:8px;border-radius:20px;font-size:14px}.setting-switch[aria-pressed=true]>b{background:#225840;color:#fff1c2}.audio-note{font-size:14px;margin:18px 0 0!important;color:#645236}
.selected-piece-icon{width:28px;height:28px;display:block;margin:auto}.selected-piece-label{max-width:54px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-shell .quick-build>div{flex-wrap:nowrap;align-items:stretch}.game-shell .quick-build button{flex-shrink:0}
@media(max-width:600px){
 .game-hud-top{grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:56px;gap:5px;padding:3px 6px 4px}
 .game-hud-top .game-brand{display:none}.game-hud-top .hud-menu{grid-row:1;grid-column:2;min-width:30px;width:30px;min-height:32px;height:32px;padding:0;align-self:start;margin-top:5px}
 .game-shell .player-rail{grid-row:1;grid-column:1;gap:4px;height:56px}.game-shell .player-pocket{min-height:0;border-top-width:2px}
 .game-shell .pocket-main{height:36px;min-height:36px;padding:1px}.game-shell .pocket-token{gap:3px}.game-shell .pocket-token img{width:15px;height:15px}.game-shell .pocket-token b{font-size:11px;line-height:15px}.game-shell .wallet{margin-left:0;display:block}.game-shell .wallet strong{font-size:14px;line-height:19px;min-width:0;letter-spacing:-.3px}
 .game-shell .pocket-inventory{height:16px;min-height:0;padding:0;gap:0;justify-content:center;pointer-events:none}.game-shell .pocket-inventory>button{flex-basis:19px;width:19px;height:16px}.game-shell .pocket-inventory img{width:19px;height:19px}.game-shell .pocket-inventory b{font-size:10px}.game-shell .pocket-inventory>span{display:none}.game-shell .pocket-inventory .inventory-more{width:16px;flex-basis:16px;font-size:15px}
 .game-shell .calendar{width:62px;height:62px;right:6px;top:7px}.game-shell .year-wheel{width:62px;height:62px}.game-shell .year-node{display:none}.game-shell .year-center strong{font-size:20px}.game-shell .year-center small{font-size:8px}.game-shell .year-center>span{font-size:9px}
 .action-belt{min-height:60px;height:auto;gap:6px;padding:5px 7px}.belt-button{width:44px;min-width:44px;min-height:44px;height:44px;padding:2px;font-size:17px}.belt-button small{font-size:11px;line-height:12px;margin-top:1px}.belt-button[data-action=businesses]{display:none}
 .game-shell .turn-scroll{flex-direction:row;align-items:center;gap:5px}.game-shell .phase-heading{flex:none;gap:0}.game-shell .phase-heading>div,.game-shell .phase-heading .replay-guide{display:none}.game-shell .phase-medal{width:25px;height:25px;font-size:12px}.game-shell .phase-actions{flex:1;min-width:0;flex-wrap:nowrap;justify-content:flex-end;gap:6px}.game-shell .phase-actions button{min-height:44px;font-size:13px;padding:7px 10px}.game-shell .claim-tools{gap:6px;min-width:0}.game-shell .address-strip{max-width:none;width:auto;min-width:0;flex:1;gap:4px;padding:3px 0}.game-shell .address-slip{width:40px;min-width:40px;height:44px;min-height:44px;font-size:19px}.game-shell .claim-tools>.primary{flex-shrink:0;margin:0}
 .game-shell .tile-rack{padding:3px 7px 5px}.game-shell .rack-label{display:none}.game-shell .shop-tray{padding:3px 1px 5px;gap:6px}.game-shell .shop-piece{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 72px;min-width:72px;width:72px;height:62px;min-height:62px;padding:2px 3px;gap:0;box-shadow:0 2px #3e2d1b;border-width:1px}.game-shell .shop-piece>img{height:37px;width:37px;grid-row:auto;margin:0}.game-shell .shop-piece>strong{font-size:12px;line-height:17px;padding:0;align-self:center;white-space:nowrap}.game-shell .shop-piece .shop-requirement,.game-shell .shop-piece .shop-payout{display:none}.game-shell .piece-count{font-size:12px;line-height:17px;min-width:20px;padding:0 3px;top:-3px;right:-1px}
 .game-shell .plot-inspector{bottom:29px;max-height:calc(100% - 45px)}.game-shell .quick-build>small{display:none}.game-shell .quick-build{padding-top:5px;margin-top:5px}.game-shell .quick-build button{min-width:79px;min-height:78px}.game-shell .quick-build button img{width:40px;height:40px}
 #toast{bottom:calc(env(safe-area-inset-bottom) + 73px)}
}
@media(max-height:520px) and (min-width:601px){.game-shell .calendar{width:62px;height:62px}.game-shell .year-wheel{width:62px;height:62px}.game-shell .action-belt{min-height:54px}.game-shell .camera-hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){.game-shell .lot.guide-target,.game-shell .lot.buildable{animation:none;box-shadow:inset 0 0 0 2px #ffe7a0}}

/* Aseprite crossing routes use ground-contact coordinates. */
.walker{width:24px;height:32px;offset-anchor:50% 100%}
.crossing-one{offset-path:path('M 416.79 371.64 L 377.21 377.36')}
.crossing-two{offset-path:path('M 750.4 389.78 L 708.4 390.22')}
.crossing-three{offset-path:path('M 131.1 415.01 L 90.3 418.99')}
@media(max-width:600px){.game-shell .player-pocket{position:relative}.game-shell .pocket-main{height:54px;min-height:54px;padding:1px 0 16px}.game-shell .pocket-inventory{position:absolute;left:0;right:0;bottom:1px}}
