/* Selected archive originals. The clock changes village artwork only. */
.resource-symbol,.ov-icon{display:grid;place-items:center}
.resource-symbol .selected-status-icon,.status-tool .selected-status-icon,.ov-icon .selected-status-icon{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:none}
.native-scene[data-scene-period="day"] .village-ground{background-image:url('selected-visuals-r5/visual/back_none.jpg')}
.native-scene[data-scene-period="night"] .village-ground{background-image:url('selected-visuals-r5/visual_night/back_none.jpg')}
.native-scene[data-scene-period="night"] .spot-level{background:#1c254b;color:#fff;border-color:#6d7592}
/* The clay worker extends beyond the original 80×72 static plot. Keep its exact
   86×107 animation dimensions without moving or stretching the clay excavation. */
.native-scene .spot-stone .native-building[data-scene-motion="true"]{position:absolute;left:0;top:0;width:107.5%;height:148.611111%}
.native-scene .native-building{pointer-events:none}
/* Nine top-level destinations. Native disclosure controls retain all real links
   with JavaScript disabled, and touch uses the same interaction as keyboard. */
body[data-game=true] .game-navigation>.nav-section-dropdown{position:relative;flex:1 1 auto;min-width:0;padding:0;border:2px ridge #aa8857;border-radius:5px;background:linear-gradient(180deg,#681e16,#2e100b 55%,#40120e);box-shadow:inset 0 0 0 1px #1d0b07;color:#fff2dc;text-shadow:0 1px #000}
body[data-game=true] .game-navigation>.nav-section-dropdown.selected{background:linear-gradient(180deg,#987046,#66402a);border-color:#d2ad70}
.nav-section-dropdown>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:3px 7px;font-size:10px;font-weight:700;line-height:1.25;list-style:none;cursor:pointer;white-space:nowrap}
.nav-section-dropdown>summary::-webkit-details-marker{display:none}
.nav-section-dropdown>summary:focus-visible{outline:2px solid #f4d895;outline-offset:-3px;border-radius:3px}
.nav-section-arrow{font-size:9px;color:#d4b278}
.nav-section-dropdown[open]>summary>.nav-section-arrow{transform:rotate(180deg)}
.nav-section-panel{position:absolute;top:calc(100% + 3px);left:-2px;min-width:180px;padding:5px;border:1px solid #8a6636;border-radius:3px;background:linear-gradient(#f8e7bc,#e9cf93);box-shadow:0 5px 12px #0004;color:#362111;text-shadow:none;z-index:45}
body[data-game=true] .game-navigation .nav-section-panel>a{display:block;min-height:34px;padding:8px 10px;border:0;border-radius:2px;background:transparent;color:#4f2c14;text-shadow:none;font-size:12px;font-weight:600;text-align:left;white-space:nowrap}
body[data-game=true] .game-navigation .nav-section-panel>a:hover,body[data-game=true] .game-navigation .nav-section-panel>a:focus-visible,body[data-game=true] .game-navigation .nav-section-panel>a[aria-current=page]{background:#b9914b33;color:#231609;outline:1px solid #a37c3a;outline-offset:-1px}
@media(max-width:760px){body[data-game=true] .game-navigation>.nav-section-dropdown{flex:0 0 auto}.nav-section-dropdown>summary{min-height:34px;padding:3px 7px}.nav-section-panel{position:fixed;left:8px;right:8px;top:47px;width:auto;min-width:0;max-height:calc(100vh - 65px);overflow:auto}body[data-game=true] .game-navigation .nav-section-panel>a{min-height:42px;padding:12px}}

/* Preserve supplied 60px siege portraits at their native size. */
.unit-portrait.selected-unit-portrait,.research-heading .unit-portrait.selected-unit-portrait{width:60px;height:60px;object-fit:contain}
