/* The stage retains fixed dimensions: these are object buttons, not a framed dock. */
.village-hud--frameless{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;left:20px!important;right:20px!important;bottom:12px!important;width:auto!important;min-height:0!important;height:76px!important;gap:18px!important}
.village-hud--frameless:before,.village-hud--frameless:after{display:none!important}.village-hud-heading{background:none!important;border:0!important}.village-hud-data{background:linear-gradient(90deg,transparent,#1a160ed9 14%,#1a160ed9 86%,transparent);border:0!important;padding:8px 16px!important;border-radius:0!important;flex:1}.resource-strip{justify-content:center}.game-utility{background:none!important;border:0!important;gap:14px!important;display:flex!important;align-items:center}.game-utility .art-button{display:inline-grid!important}.game-utility .daylight-seal{display:none!important}
.player-corner{gap:18px!important;align-items:flex-start!important}.player-corner #playerProfileButton{width:152px!important;height:152px!important;min-width:152px!important;padding:8px!important;border-width:3px!important}.player-corner #playerProfileButton>img{width:132px!important;height:132px!important}.player-status-dot{width:15px;height:15px;right:9px;bottom:9px}.player-corner #globalMapButton{width:105px!important;height:105px!important;min-width:105px!important;margin-top:16px}.player-corner #globalMapButton img{width:100%!important;height:100%!important;padding:0!important;border-radius:0!important;object-fit:contain!important}
.art-button,.player-corner #globalMapButton{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important;display:inline-grid;place-items:center;position:relative;cursor:pointer;transition:transform .16s ease!important;isolation:isolate}.art-button:before,.art-button:after{display:none!important}.art-button>img,.player-corner #globalMapButton>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:filter .18s ease,transform .18s ease;filter:drop-shadow(0 4px 3px #000b)}.art-button:hover,.player-corner #globalMapButton:hover{filter:none!important;box-shadow:none!important}.art-button:hover>img,.player-corner #globalMapButton:hover>img{filter:drop-shadow(0 0 5px #ffd884) drop-shadow(0 0 13px #df9e36a0);transform:translateY(-2px)}.art-button:active>img,.player-corner #globalMapButton:active>img{transform:translateY(1px) scale(.96)}.art-button:focus-visible,.player-corner #globalMapButton:focus-visible{outline:2px solid #eacb82;outline-offset:4px}
.village-art-navigation{display:flex;align-items:flex-start;gap:16px;margin-top:24px}.village-art-navigation .art-button{width:82px!important;min-width:82px!important;height:82px!important;margin:0!important}.village-art-navigation .art-button img{width:82px!important;height:82px!important;border-radius:0!important}.art-caption{position:absolute;top:100%;left:50%;transform:translateX(-50%);color:#f1dcaa;font:600 13px/1.3 Georgia,serif;text-shadow:0 2px 3px #000,0 0 5px #000;white-space:nowrap;pointer-events:none;margin-top:3px}.art-resource-button{position:absolute!important;top:18px!important;left:var(--safe-left)!important;width:104px!important;height:104px!important;z-index:45!important}.art-resource-button b{display:none!important}.art-resource-button .art-caption{font-size:15px}.resource-drawer{top:150px!important}
.art-utility-button{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important}.art-utility-button>img{width:52px!important;height:52px!important}.art-utility-button svg{display:none!important}#audioToggle{font-size:0!important;color:transparent!important}#audioToggle:after{display:none!important}.audio-popover{bottom:84px!important}.art-home-button{min-width:80px!important;height:70px!important}.art-home-button .identity-avatar{display:none!important}.art-home-button .identity-copy{display:none!important}.art-home-button{width:80px!important;background:url('./buildings/building-village-center.webp') center/contain no-repeat!important}.art-home-button:hover{filter:drop-shadow(0 0 7px #dfb25f)!important}.food-balance{bottom:104px!important;left:var(--safe-left)!important}
.instant-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #b08a43!important;background:linear-gradient(#90723e,#4a341b)!important;color:#ffebad!important;min-height:29px;padding:6px 10px!important;font:600 12px Georgia!important;white-space:nowrap;margin:3px}.instant-action small{font:10px Georgia!important;color:#e6c989!important}.instant-info-dialog{width:520px}.instant-info-body{text-align:center;padding:30px;color:#4b351c}.instant-info-body>span{font:64px Georgia;color:#957037}.instant-info-body p{font:15px/1.7 Georgia}.instant-info-body>button{border:1px solid #a78343;background:#684829;color:#f5e2af;padding:9px 26px;font:14px Georgia;cursor:pointer}.ledger-table td:last-child{white-space:normal}.age-detail-action>.instant-action{min-width:110px}.building-panel-actions .instant-action{margin-left:8px}
@media(prefers-reduced-motion:reduce){.art-button,.art-button>img,.player-corner #globalMapButton>img{transition:none!important}}
.village-hud--frameless .village-hud-data{background:none!important}.village-hud--frameless .game-utility{margin-left:0!important;flex:0 0 auto!important}.village-hud--frameless #audioToggle{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:transparent!important;width:52px!important;height:52px!important;padding:0!important}#audioToggle.art-button:after{display:none!important}
#buildingPanel .ledger-table td:last-child{white-space:normal!important;position:relative;padding-right:34px!important}#buildingPanel .ledger-table td:last-child .instant-action{display:flex!important;width:max-content;max-width:100%;margin:5px auto!important;padding:5px 8px!important;font-size:11px!important}#buildingPanel .ledger-table td:last-child .ledger-info{position:absolute;right:5px;top:8px;margin:0!important}#buildingPanel .ledger-table td:last-child>.ledger-requirement{max-width:100%}
