/* Compact, original parchment shell. No borrowed decorative image assets. */
.overview-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body[data-game=true]{background:radial-gradient(ellipse at 18% 24%,#a2774325,transparent 38%),radial-gradient(ellipse at 88% 78%,#754f3020,transparent 43%),#e6d9bb}
body[data-game=true] .shell{position:relative;max-width:920px;min-height:0;padding:0 12px 10px;border-bottom:4px ridge var(--classic-border);box-shadow:0 3px 7px #3f2d2738}
body[data-game=true] .game-navigation{gap:3px;margin-bottom:9px}
body[data-game=true] .game-navigation>a,body[data-game=true] .game-navigation>.nav-unavailable,body[data-game=true] .game-navigation>.settings-dropdown{padding-left:5px;padding-right:5px;font-size:10px}
body[data-game=true] .game-navigation .nav-icon{width:14px;height:17px}
body[data-game=true] .quick-navigation{margin-bottom:7px;min-height:28px}
body[data-game=true] .village-status-row{align-items:center;gap:5px;margin:0 0 4px;min-width:0;flex-wrap:wrap}
body[data-game=true] .village-selector-compact{display:flex;align-items:center;flex:1 1 235px;max-width:290px;min-width:180px;gap:3px;padding:1px 3px;margin:0;margin-right:auto;border:1px solid var(--classic-border);border-radius:0;background:linear-gradient(180deg,#f9eac6,#e5c98b)}
body[data-game=true] .village-selector-compact .village-marker{width:16px;height:17px;flex:0 0 16px}
body[data-game=true] .village-selector-compact select{min-width:0;min-height:25px;width:auto;flex:1 1 0;margin:0;padding:2px 14px 2px 1px;border:0;border-radius:0;background:transparent;color:var(--classic-text);font:bold 12px/1.35 Georgia,serif;text-overflow:ellipsis}
body[data-game=true] .village-switch{display:grid;place-items:center;flex:0 0 26px;min-width:26px;min-height:25px;padding:0;border:1px solid #ad8648;background:#f5e0ae;color:#5b3519;border-radius:0;cursor:pointer;font-size:17px;line-height:1}
body[data-game=true] .village-selector-compact:focus-within{outline:2px solid #765025;outline-offset:1px}
body[data-game=true] .protection-strip{margin-bottom:6px;font-size:12px;min-height:30px;padding:3px 6px}
body[data-game=true] .overview-layout{grid-template-columns:minmax(0,1fr) 180px;gap:10px;padding:14px 18px 18px;border:1px solid var(--classic-border);background:linear-gradient(105deg,#f4e7bf80,#ead5a640);font-size:12px}
body[data-game=true] .overview-main .village-overview{max-width:none!important;margin:0 0 7px!important}
body[data-game=true] .overview-main .village-toolbar{min-height:23px;padding:2px 4px}
body[data-game=true] .overview-main .village-toolbar h2{font-size:13px}
body[data-game=true] .overview-main .scene-help{padding:3px 5px;font-size:9px}
.overview-sidebar{gap:8px}
.overview-layout .ov-panel{margin-bottom:7px}
.overview-sidebar .ov-panel{margin:0}
.overview-layout .ov-panel>summary{min-height:23px;padding:2px 5px;gap:5px}
.overview-layout .ov-panel h2{font-size:13px;line-height:1.2}
.overview-layout .ov-panel>summary::after{width:14px;height:14px;font-size:11px}
.overview-sidebar .ov-content{padding:5px}
.overview-sidebar .ov-content p{margin-bottom:3px;line-height:1.3}
.overview-sidebar .ov-stats{padding:2px 5px}
.overview-sidebar .ov-stats>div{padding:3px 0;gap:4px;min-height:23px}
.overview-sidebar .ov-footer{padding:4px 5px;gap:3px 8px;font-size:10px}
.overview-layout .ov-empty{padding:6px;font-size:11px}
.ov-unit-more{border-top:1px solid var(--ov-line);font-size:10px}
.ov-unit-more>summary{cursor:pointer;padding:3px 5px;color:var(--ov-muted)}
.ov-unit-more .ov-unit-totals{border-top:0;font-size:10px}
#overview-loyalty>.ov-content{font-size:11px}
#overview-loyalty .ov-count{margin-left:auto}
#overview-loyalty>summary::after{margin-left:0}
body[data-game=true] .village-military-buildings{padding:0;border-top:1px solid var(--ov-line)}
.village-military-buildings>summary{padding:4px 6px;font-size:10px;cursor:pointer;color:var(--ov-link)}
body[data-game=true] .village-military-grid{padding:5px;gap:5px}
body[data-game=true] .village-military-link{padding:4px;border-radius:0;background:var(--ov-bg);border-color:var(--ov-line);gap:5px}
body[data-game=true] .village-military-link img{width:38px;height:36px}
body[data-game=true] .village-military-link strong{font-size:11px}
body[data-game=true] .village-military-link small{font-size:10px}
body[data-game=true] .village-military-buildings>p{padding:0 6px 5px;margin:0;font-size:10px}
/* Level-only markers retain their building's existing hit area and link. */
.native-scene .native-spot .spot-label{left:50%;bottom:0;padding:0;border:0;background:transparent;box-shadow:none;display:block;line-height:1.2}
.native-scene .native-spot .spot-level{display:grid;place-items:center;min-width:16px;min-height:20px;padding:1px 3px;border:1px solid #d6d7a6;border-radius:3px;background:#47622be8;color:#fff8d4;font:700 12px/1.2 Georgia,serif;box-shadow:0 1px 2px #18210e66}
.native-scene .native-spot .spot-name{display:none;position:absolute;left:50%;bottom:calc(100% + 5px);transform:translateX(-50%);padding:4px 7px;background:#f7dda0;border:1px solid #936d2e;border-radius:3px;box-shadow:0 2px 4px #0003;color:#2b1b09;font:700 12px/1.25 Georgia,serif;white-space:nowrap;pointer-events:none;z-index:10}
.native-scene .native-spot:hover .spot-name,.native-scene .native-spot:focus-visible .spot-name,.native-scene .native-spot.is-label-open .spot-name{display:block}
.native-scene .native-spot.is-label-open{z-index:6;outline:1px solid #f4df9c!important}
.native-scene .spot-wood .spot-label{bottom:8%;left:82%}
.native-scene .spot-iron .spot-label{bottom:70%;left:68%}
.native-scene .spot-farm .spot-label{bottom:70%;left:16%}
.native-scene .spot-hq .spot-label{bottom:85%;left:44%}
.native-scene .spot-store .spot-label{bottom:75%;left:26%}
.native-scene .spot-barracks .spot-label{bottom:26%;left:87%}
.native-scene .spot-stone .spot-label{bottom:0;left:85%}
.native-scene .spot-rally .spot-label{bottom:87%;left:60%}
.native-scene .spot-wall .spot-label{bottom:4%;left:50%}
.native-scene .spot-iron .spot-name{left:0;transform:none}
.native-scene .spot-wood .spot-name{left:auto;right:0;transform:none}
:root[data-theme=dark] body[data-game=true]{background:radial-gradient(ellipse at 18% 24%,#67513633,transparent 45%),#24211b}
:root[data-theme=dark] body[data-game=true] .village-selector-compact{background:#3f3829}
:root[data-theme=dark] body[data-game=true] .village-switch{background:#51432e;color:#f5dfb8;border-color:#796144}
:root[data-theme=dark] body[data-game=true] .overview-layout{background:#302b2255}
@media(max-width:920px){body[data-game=true] .overview-layout{padding:10px 8px}body[data-game=true] .game-navigation{overflow-x:auto}body[data-game=true] .game-navigation>a,body[data-game=true] .game-navigation>.nav-unavailable,body[data-game=true] .game-navigation>.nav-rank,body[data-game=true] .game-navigation>.settings-dropdown{flex:0 0 auto}body[data-game=true] .game-navigation .settings-dropdown{position:static}body[data-game=true] .settings-panel{position:fixed;top:44px;right:8px}}
@media(max-width:760px){body[data-game=true] .shell{padding:0 7px 9px;border-left-width:1px;border-right-width:1px}body[data-game=true] .overview-layout{grid-template-columns:minmax(0,1fr);padding:7px;gap:7px;max-width:680px;margin:0 auto}body[data-game=true] .overview-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body[data-game=true] .village-selector-compact{flex-basis:260px;max-width:100%;min-height:36px}body[data-game=true] .village-selector-compact select{min-height:32px}body[data-game=true] .village-switch{min-width:32px;min-height:32px}.overview-layout .ov-panel>summary{min-height:34px}.village-military-buildings>summary,.ov-unit-more>summary{min-height:32px;display:flex;align-items:center}.native-scene .native-spot .spot-level{min-width:18px;min-height:21px}.overview-sidebar .ov-footer a{min-height:28px}body[data-game=true] .overview-main .scene-help{font-size:10px;padding:4px 5px}}
@media(max-width:420px){body[data-game=true] .overview-sidebar{grid-template-columns:minmax(0,1fr)}body[data-game=true] .overview-layout{padding:5px}.native-scene .native-spot .spot-name{font-size:11px;padding:4px 5px}.native-scene .spot-hq .spot-name{left:auto;right:-20px;transform:none}body[data-game=true] .overview-main .village-toolbar h2{font-size:12px}}
/* Show the nominal production rate consistently; a full store is a separate state. */
.overview-sidebar .resource-production .resource-effective{display:none}
.overview-sidebar .resource-production .resource-nominal{display:block;font-size:10px;color:var(--ov-text)}
.overview-sidebar .resource-production [data-full=true] .resource-state{display:inline-block;font-size:10px}
.overview-sidebar .resource-production~.ov-footer{gap:2px}
body[data-game=true] .quest-launcher{top:63px;left:-48px}
@media(max-width:1030px){body[data-game=true] .quest-launcher{position:relative;inset:auto;flex:0 0 32px;width:32px;min-height:34px;align-self:center;margin:0 2px 0 0}body[data-game=true] .quest-launcher-scroll{width:24px;height:28px}body[data-game=true] .quest-launcher-count{right:-4px;bottom:-4px;font-size:9px;min-width:16px;line-height:12px}}
/* Top-edge buildings need downward name bubbles inside the clipped landscape. */
.native-scene .spot-farm .spot-label{bottom:auto;top:8%}
.native-scene .spot-iron .spot-label{bottom:auto;top:20%}
.native-scene .spot-farm .spot-name,.native-scene .spot-iron .spot-name{bottom:auto;top:calc(100% + 4px)}
.overview-sidebar .resource-production dd{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px 4px}
.overview-sidebar .resource-production .resource-nominal{display:inline}
