/* Village artwork uses the measured 52px utility-button footprint.
   Map and profile retain their deliberately larger navigation footprints. */
html:root #villageScreen{--village-button-size:52px}
html:root #villageScreen .art-button:not(#globalMapButton):not(#playerProfileButton){
 width:var(--village-button-size)!important;height:var(--village-button-size)!important;
 min-width:var(--village-button-size)!important;min-height:var(--village-button-size)!important;
 padding:0!important;box-sizing:border-box;
}
html:root #villageScreen .art-button:not(#globalMapButton):not(#playerProfileButton)>img{
 width:var(--village-button-size)!important;height:var(--village-button-size)!important;
 object-fit:contain!important;flex-shrink:0;
}
html:root #villageScreen .art-button:not(#globalMapButton):not(#playerProfileButton) .art-caption{
 position:absolute;top:100%;bottom:auto;left:50%;transform:translateX(-50%);
 margin:4px 0 0!important;font:600 13px/1.3 Georgia,serif!important;white-space:nowrap;
}
html:root #villageScreen .population-status-button>div:first-of-type{
 top:100%;bottom:auto;margin-top:4px;
}
/* Two-line population values need room above the viewport edge. */
html:root #villageScreen .population-status-button{top:-24px!important}
html:root #villageScreen #villageAttackButton .mission-count,
html:root #villageScreen .expedition-shortcut b{
 min-width:18px;width:auto;height:18px;padding:1px 4px;right:-4px;top:-3px;
 box-sizing:border-box;font:700 11px/16px Georgia,serif;
}
html:root #villageScreen #villageMissionConsole .mission-loading-rail{
 left:-14px;top:90px;grid-template-columns:repeat(2,52px);gap:32px 34px;width:180px;padding:0 14px 28px;
}
html:root #villageScreen #villageMissionConsole .mission-loading-button{
 width:52px;height:52px;
}
html:root #villageScreen #villageMissionConsole .mission-loading-button>img{
 left:0;top:0;width:52px;height:52px;
}
html:root #villageScreen #villageMissionConsole .mission-loading-button>svg{
 inset:0 auto auto 0;width:52px;height:52px;
}
html:root #villageScreen #villageMissionConsole .mission-loading-button>time{
 top:100%;bottom:auto;left:-14px;right:auto;width:80px;margin-top:4px;
}
