/* V.04.8: command hierarchy. World and country retain their existing responsive geometry. */
.game-shell{--line:#899da526;--muted:#99aab0;background:#0c1419}
.game-shell .topbar{background:#0c1419;border-bottom:1px solid #ffffff0c}
.game-shell .brand{letter-spacing:2.5px}.game-shell .brand-symbol{color:#d6dedb;filter:none}
.game-shell .hud{background:#101d24;gap:0;border-bottom:1px solid #c6d7dd1c;padding:8px 18px}
.game-shell .metric{border-radius:0;background:transparent;border-right:1px solid #b6cbd61a;padding:8px 20px;box-shadow:none}
.game-shell .metric:last-child{border-right:0}.game-shell .metric>span{font-size:11px;letter-spacing:1.5px;color:#acb9bd}
.game-shell .metric strong{font-weight:500}.game-shell .metric-caption{color:#a6b8be}
.game-shell .metric:nth-child(2) strong{color:#f2e7cb}.game-shell .meter{height:2px;background:#ffffff08}
.game-shell .news-ticker{background:#0c171d;border-bottom:1px solid #9aaeb51a}.game-shell .news-ticker b{color:#b5c7cb}
.game-shell .selection-panel{background:#14232aee;backdrop-filter:blur(20px);border:1px solid #9fb8c52b;border-radius:12px;box-shadow:0 16px 36px #0004}
.game-shell .country-heading h2{font-weight:500;letter-spacing:.3px}.game-shell .country-profile{background:transparent;border-bottom:1px solid #9fb8c51b;border-radius:0}
.game-shell .local-action{border-radius:7px}.game-shell .layer-controls{border-radius:8px;background:#0e1c23e8;padding:4px;border:1px solid #a7bac522}
.game-shell .layer-controls button{border-radius:5px}.game-shell .layer-controls button[aria-pressed=true]{background:#d9e5db;color:#172725;box-shadow:none}
.game-shell .command-bar{background:#0c171d;border-top:1px solid #a6bac329;gap:16px}
.game-shell .evolve-button{background:#dce7cf;color:#182a23;border-radius:9px;box-shadow:none}
.game-shell .cooperate-button,.game-shell .advance-button{background:#1a2c35;color:#cad6d9;border:1px solid #8babb32b;border-radius:9px}
.game-shell .save-note{display:flex;flex-direction:column;align-items:stretch;gap:3px;flex:1;min-width:0}
#tactical-focus{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;text-align:left;min-height:46px;padding:5px 12px;border:0;border-left:2px solid #88ae9d;border-radius:0;background:transparent;color:#e0e8e4;min-width:0;width:100%}
#tactical-phase{font:11px 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:1px;color:#8facaa}
#tactical-priority{font-size:13px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#tactical-focus[data-urgency=critical]{border-color:#ee8b7a}#tactical-focus[data-urgency=critical] small{color:#eea093}
#tactical-focus[data-urgency=attention]{border-color:#d5ba79}#tactical-focus[data-urgency=attention] small{color:#d5ba79}
.game-shell .save-note #save-status{font-size:11px;padding-left:14px;color:#8ca3a8}
.game-shell button:focus-visible{outline:2px solid #f0d897;outline-offset:3px}
@media(max-height:550px) and (orientation:landscape){
 .game-shell .hud{padding:5px 12px}.game-shell .metric{padding:5px 10px!important;border-radius:0}
 .game-shell .metric>span{font-size:11px;letter-spacing:.7px}.game-shell .command-bar{gap:10px;padding:7px 12px;height:60px}
 .game-shell .command-left{flex:none;gap:6px}.game-shell .evolve-button,.game-shell .cooperate-button{min-height:44px;padding:6px 12px}
 .game-shell .advance-button{flex:0 0 106px;min-width:0;min-height:44px;padding:7px 10px;font-size:12px}
 .game-shell .advance-button small,.game-shell .advance-arrow{display:none}
 .game-shell .save-note{display:flex!important;flex:1}.game-shell .save-note #save-status{display:none}
 #tactical-focus{min-height:44px;padding:4px 9px}#tactical-phase{font-size:11px;letter-spacing:.2px}#tactical-priority{font-size:11px}
 .game-shell .cooperate-button small,.game-shell .evolve-button small{font-size:11px}
}
@media(max-width:720px) and (orientation:landscape){.game-shell .command-bar{gap:7px}.game-shell .advance-button{flex-basis:82px}.game-shell .evolve-button,.game-shell .cooperate-button{padding:6px 9px}#tactical-phase{font-size:11px}#tactical-priority{font-size:11px}}
.world-updates{position:relative;flex:none}.world-updates .news-ticker{width:100%;margin:0}
@media(max-height:550px) and (orientation:landscape){.game-shell .metric{height:54px;min-height:0}.game-shell .metric>span{display:block;line-height:10px;margin:0}.game-shell .metric>div:nth-child(2){height:27px;min-height:0;margin:2px 0;align-items:center}.game-shell .metric strong{line-height:1}.game-shell #economy-caption{height:8px;line-height:8px;font-size:11px;margin:0}.game-shell .metric .meter{margin:0}}
