/* Shared woodland building kit. All frames and button corners retain their native proportions. */
.live-village{--building-ink:#ecd5aa;--building-muted:#c2aa84;grid-template-columns:minmax(0,1fr) clamp(350px,30vw,510px)!important;grid-template-rows:minmax(0,1fr) auto;gap:10px!important;height:calc(100dvh - 128px);min-height:0!important;color:var(--building-ink)}
body[data-view=fortress] .test-banner{display:none}body[data-view=fortress] .main-content{max-width:none;padding:8px}body[data-view=fortress] .view-content{max-width:none;width:100%}
.live-village>.fortress-art{height:auto!important;min-height:0!important;align-self:stretch;grid-column:1;grid-row:1}.live-village .sanctuary-viewport{height:auto!important;min-height:0!important;flex:1 1 0%;border:1px solid #9b7a43}.live-village .scene-heading{display:none!important}
.live-village>.live-building-drawer{grid-column:2;grid-row:1;max-height:none!important;height:100%;overflow:auto;min-width:0;padding:12px!important;border:10px solid #8d6938!important;border-image:url('assets/woodland-panel-leather-v1.webp') 82 fill/10px!important;background:#16110c!important;border-radius:0;scrollbar-width:thin;scrollbar-color:#9c7a43 #15110c}
.live-village>.live-village-dock{grid-column:1/-1;grid-row:2;margin:0;min-width:0}.live-village>.sanctuary-building-nav,.village-mobile-summary{display:none!important}
.building-design{display:grid;gap:13px;min-width:0;font:16px/1.5 Georgia,serif;color:#dfcaa6}.building-design h2{font:700 28px/1.15 Georgia;margin:0;color:#efd9ae}.building-design h3{font:700 23px/1.25 Georgia;margin:0 0 9px;color:#edd7aa}.building-design p{margin:0 0 10px}.building-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.building-card-heading h2{flex:1}.building-level-navigation{display:grid;grid-template-columns:32px auto 32px;gap:5px;align-items:center;text-align:center;font-size:15px}.building-level-navigation small{grid-column:1/-1;font-size:12px;color:#c3ac85}.building-level-navigation button{padding:0;min-height:34px;font-size:25px}.building-interior{position:relative;aspect-ratio:1672/941;border:1px solid #987841;isolation:isolate;overflow:hidden}.building-interior>img{width:100%;height:100%;object-fit:contain;display:block}.building-interior i{position:absolute;pointer-events:none;background:radial-gradient(ellipse,#ffbc5866,transparent 70%);animation:building-warmth 4s ease-in-out infinite}.building-interior-kitchen .building-lantern{left:85%;top:1%;width:12%;height:20%}.building-oven{left:8%;top:26%;width:25%;height:30%}.building-interior-barracks .building-lantern{right:0;top:13%;width:12%;height:26%}.building-interior-warehouse .building-lantern{right:23%;top:0;width:16%;height:25%}.building-interior-maproom .building-lantern{right:12%;top:1%;width:17%;height:25%}.building-interior-walls .building-lantern{left:22%;top:41%;width:18%;height:28%}
.building-action-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.building-action-tiles>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px 3px;min-width:0;min-height:130px;border:5px solid #967340;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px;background:#17110d;color:#e6cda3}.building-action-tiles>button>.smith-button-skin{display:none}.building-action-tiles .smith-button-label{display:contents}.building-action-tiles img{height:65px;width:75px;object-fit:contain;filter:drop-shadow(0 3px 3px #000)}.building-action-tiles strong{font:17px Georgia}.building-action-tiles small{font:12px/1.3 Georgia;color:#c4ac85;text-align:center}.building-description{font:16px/1.65 Georgia}.building-inset{padding:12px;border:6px solid #95703c;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/6px;background:#15100c;min-width:0}.building-facts{display:grid;gap:8px;margin:0}.building-facts>div{display:flex;justify-content:space-between;gap:15px;align-items:baseline}.building-facts dt{color:#c0a984}.building-facts dd{margin:0;text-align:right;color:#f0d6a4;font-size:18px;overflow-wrap:anywhere}.building-inset p{margin:10px 0 0;font-size:16px;line-height:1.65}.building-upgrade-cost .cost{display:flex;flex-wrap:wrap;gap:7px}.building-work{display:grid;gap:10px}.building-work>header,.building-work article>div{display:flex;justify-content:space-between;gap:8px}.building-work>header{font-size:15px}.building-work article{border-top:1px solid #8d6a3c66;padding-top:10px}.building-work article>.bar{margin:8px 0}.building-work article>button{min-height:32px;font-size:14px}.building-work small{color:#c2aa84}.building-work details{font-size:14px}.building-work .queue-list{max-height:250px;overflow:auto}
.building-design button[data-smith-control],.live-village-dock button[data-smith-control]{position:relative;border:0!important;border-radius:0;background:none!important;box-shadow:none;color:#ead2a6;min-height:40px;font-family:Georgia,serif;isolation:isolate}.building-design .smith-button-label,.live-village-dock .smith-button-label{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:inherit}.building-design button.primary,.live-village-dock button.primary{color:#291807;font-weight:700;font-size:21px;min-height:48px}.building-design button:hover:not(:disabled)>.smith-button-skin.hover,.live-village-dock button:hover:not(:disabled)>.smith-button-skin.hover,.building-design button:active:not(:disabled)>.smith-button-skin.pressed,.live-village-dock button:active:not(:disabled)>.smith-button-skin.pressed,.building-design button:disabled>.smith-button-skin.disabled,.live-village-dock button:disabled>.smith-button-skin.disabled{opacity:1}.building-design button:disabled{opacity:.55}.building-design button.active{color:#ffe4a2;outline:1px solid #dcb56a;outline-offset:-5px}.building-design .full{width:100%}.building-section-tabs{display:flex;gap:4px;flex-wrap:wrap}.building-section-tabs>button{flex:1;min-width:80px;font-size:15px}.building-design select{width:100%;font:17px Georgia;min-height:43px;margin-top:6px;color:#e8d2a7;background:#14100d;border:1px solid #9c7b46}.building-item-stage{height:210px;position:relative;display:flex;justify-content:center;background:radial-gradient(ellipse,#90704433,transparent 65%),url('assets/item-vitrine-woodland-v1.svg') center/cover;border:7px solid #967443;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86/7px;overflow:hidden}.building-item-stage>img{height:100%;max-width:90%;object-fit:contain;filter:drop-shadow(0 8px 6px #000);padding:5px}.building-unit-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.building-unit-selection button{position:relative;min-width:0;padding:6px;display:flex;flex-direction:column;align-items:center;border:5px solid #98743f;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px;color:#ead1a6;background:#19130e}.building-unit-selection button>.smith-button-skin{display:none}.building-unit-selection button>.smith-button-label{display:contents}.building-unit-selection img{height:100px;width:100%;object-fit:contain}.building-unit-selection strong{font-size:14px}.building-unit-selection [aria-pressed=true],.building-region-selection [aria-pressed=true]{outline:1px solid #ecc77f;outline-offset:-5px}.building-plan-list{display:grid;gap:7px}.building-resource-selection{display:flex;flex-wrap:wrap;gap:6px}.building-resource-selection button{flex:1 0 40%;font-size:14px}.building-region-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.building-region-selection button{min-width:0;color:#e7cda1;background:#18120d;border:1px solid #9a7947;padding:5px}.building-region-selection .smith-button-skin{display:none}.building-region-selection .smith-button-label{display:flex;flex-direction:column;font-size:13px}.building-region-art{width:100%;aspect-ratio:2;display:block;background-size:cover;background-position:center}.building-region-banner{aspect-ratio:2;min-height:170px;background-size:cover;background-position:center;border:1px solid #947441}.region-forest{background-image:url('assets/arena-forest-v06.webp')}.region-marsh{background-image:url('assets/arena-marsh-v06.webp')}.region-ruins{background-image:url('assets/arena-chapel-v06.webp')}
.live-village-dock{border:8px solid #886739;border-image:url('assets/woodland-panel-leather-v1.webp') 82 fill/8px;background:#15100c;color:#e4cba3;display:grid;grid-template-columns:180px minmax(150px,1fr) auto;align-items:center;gap:12px;padding:7px 12px;min-height:84px}.live-village-dock .dock-hero{display:flex;align-items:center;gap:9px;padding:0!important;justify-content:start!important}.live-village-dock .dock-hero>.smith-button-skin,.live-village-dock .dock-jobs>.smith-button-skin{display:none}.live-village-dock .dock-hero>.smith-button-label{display:contents}.live-village-dock .dock-portrait{width:50px;height:56px;display:block;overflow:hidden}.live-village-dock .dock-portrait .hero-art{width:50px;height:56px}.live-village-dock .dock-hero-info{display:flex;flex-direction:column;text-align:left;gap:2px}.live-village-dock .dock-vitals{height:5px;display:block}.live-village-dock .dock-vitals .bar{height:5px;margin:0}.live-village-dock .dock-route-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.live-village-dock .dock-route-heading span{white-space:nowrap;font-size:13px}.live-village-dock .dock-jobs{min-height:20px!important;padding:0!important;font-size:12px!important;justify-content:start}.live-village-dock .dock-action-group{display:flex;align-items:center;gap:7px}.live-village-dock .dock-main{padding:0 18px;min-width:230px}.live-village-dock .dock-helper{padding:0 13px;min-height:48px}.live-village-dock .dock-mobile-state{display:none}
/* Actual smith workspaces use the shared independent item vitrine. */
.smith-card-stage .building-guide,.smith-card-stage>.eyebrow,.smith-card-stage>h1,.smith-card-stage .build-control,.smith-card-stage .kitchen-art,.smith-card-stage .scene-art,.smith-card-stage .recipe-art>.ambient,.smith-card-stage .recipe-art>.mist,.smith-card-stage .item-workbench>.scene-art{display:none!important}.smith-card-stage .workshop-layout,.smith-card-stage .forge-upgrade-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}.smith-card-stage .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:330px;overflow:auto}.smith-card-stage .inventory-cell{min-height:120px!important;background:#14130d;border-radius:0;border:1px solid var(--rarity)}.smith-card-stage .inventory-cell small{font:15px/1.3 Georgia}.smith-card-stage .inventory-cell .item-art{height:75px}.smith-card-stage .recipe-art,.smith-card-stage .item-workbench{height:220px!important;min-height:0!important;position:relative;overflow:hidden;background:url('assets/item-vitrine-woodland-v1.svg') center/cover!important;border:7px solid #987443;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86/7px;display:flex;align-items:center;justify-content:center}.smith-card-stage .recipe-art>.scene,.smith-card-stage .item-workbench>.scene{display:none!important}.smith-card-stage .showpiece{position:relative!important;inset:auto!important;width:90%!important;height:200px!important;transform:none!important;object-fit:contain}.smith-card-stage .item-workbench .workbench-caption{position:absolute;bottom:5px;left:6px;right:6px;background:#080706dd;padding:7px;font-size:14px}.smith-card-stage .panel{padding:12px}.smith-card-stage .panel>h2,.smith-card-stage .panel header h2{font-size:26px}.smith-card-stage p{font:17px/1.6 Georgia}.smith-card-stage .recipe-detail label{display:block;font-size:17px}.smith-card-stage .recipe-detail select{font:17px Georgia;width:100%;min-height:44px}.smith-card-stage .local-tabs{display:none!important}.smith-design[data-smith-page=salvage] .item-detail .actions>[data-action=upgrade],.smith-design[data-smith-page=salvage] .item-detail .actions>[data-action=equip],.smith-design[data-smith-page=salvage] .item-detail>details,.smith-design[data-smith-page=salvage] .upgrade-preview{display:none!important}.smith-design[data-smith-page=salvage] .item-detail [data-action=salvage]{font-size:20px;min-height:48px}
.live-quality-badge{display:flex;align-items:center;gap:9px;padding:5px 12px 5px 3px;border-block:1px solid #ae854d;background:linear-gradient(90deg,#080706,#251a0e);margin:8px 0;color:var(--rarity);font:20px Georgia}.live-quality-badge img{width:52px;height:52px;object-fit:contain}.live-rarity-aura{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse,color-mix(in srgb,var(--rarity) 26%,transparent),transparent 66%);animation:live-aura 4s ease-in-out infinite}.live-item-sparkles{position:absolute;inset:0;pointer-events:none}.live-item-sparkles i{position:absolute;width:9px;height:9px;background:#fff5d7;clip-path:polygon(50% 0,59% 38%,100% 50%,59% 59%,50% 100%,41% 59%,0 50%,41% 38%);filter:drop-shadow(0 0 5px var(--rarity));left:var(--x);top:var(--y);opacity:0;animation:live-twinkle 3s ease-in-out infinite;animation-delay:var(--delay)}
@keyframes building-warmth{0%,100%{opacity:.45}35%{opacity:.85}70%{opacity:.6}}@keyframes live-aura{50%{opacity:.45;transform:scale(1.1)}}@keyframes live-twinkle{20%,80%{opacity:0;transform:scale(.2)}45%{opacity:1;transform:scale(1.2) rotate(15deg)}}
@media(min-width:1900px){.live-village{grid-template-columns:minmax(0,1fr) 540px!important}.live-village .building-design{font-size:18px}.live-village .building-description{font-size:18px}}
@media(max-width:900px){body[data-view=fortress] .main-content{padding:4px!important}.live-village{height:calc(100dvh - 184px);display:flex!important;flex-direction:column;gap:6px!important;min-height:450px!important}.live-village>.fortress-art{flex:0 0 auto!important;display:block!important;width:100%;height:auto!important}.live-village .sanctuary-viewport{aspect-ratio:1672/941;width:100%;height:auto!important;flex:none!important}.live-village>.sanctuary-building-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:0 0 auto}.live-village .building-tile{min-height:38px;padding:5px;font-size:14px}.live-village>.village-mobile-summary{display:block!important;flex:1;min-height:0}.live-village>.village-mobile-summary .building-inset{height:100%;padding:8px}.village-mobile-summary h3{font-size:19px}.village-mobile-summary p{font-size:14px}.live-village>.live-village-dock{flex:0 0 auto;min-height:78px;padding:4px;gap:5px;grid-template-columns:minmax(100px,1fr) auto!important;width:100%;z-index:22}.live-village-dock .dock-route{display:none}.live-village-dock .dock-portrait{width:35px;height:45px}.live-village-dock .dock-hero-info small{font-size:12px}.live-village-dock .dock-hero-info strong{font-size:15px}.live-village-dock .dock-mobile-state{display:block;font-size:11px}.live-village-dock .dock-main{min-width:0!important;width:auto;padding:0 8px;font-size:14px!important;min-height:42px!important;max-width:153px}.live-village-dock .dock-helper{font-size:12px;padding:0 7px;min-height:42px}.live-village-dock .dock-action-group{gap:4px}.live-village>.live-building-drawer{display:none!important}.live-village.mobile-building-detail>.live-building-drawer{display:block!important;position:fixed!important;top:100px!important;bottom:153px!important;left:4px!important;right:4px!important;width:auto!important;height:auto!important;max-height:none!important;z-index:20;padding:9px!important}.live-village.mobile-building-detail>.fortress-art,.live-village.mobile-building-detail>.sanctuary-building-nav,.live-village.mobile-building-detail>.village-mobile-summary{visibility:hidden}.building-design h2{font-size:26px}.building-action-tiles>button{min-height:118px}.building-action-tiles strong{font-size:16px}.building-action-tiles small{font-size:12px}.building-item-stage{height:190px}.building-level-navigation{font-size:13px}.building-card-heading .mobile-building-back{display:block!important}.building-design .mobile-building-back{min-width:66px}.smith-card-stage .recipe-art,.smith-card-stage .item-workbench{height:190px!important}.smith-card-stage .inventory-grid{max-height:275px!important}.smith-card-stage .inventory-cell small{font-size:13px}.building-region-banner{min-height:135px}.building-inset{padding:10px}.building-facts{font-size:15px}}
@media(prefers-reduced-motion:reduce){.building-interior i,.live-rarity-aura,.live-item-sparkles i{animation:none!important}.live-item-sparkles i{opacity:.35}}body[data-motion=false] .building-interior i,body[data-motion=false] .live-rarity-aura,body[data-motion=false] .live-item-sparkles i{animation:none!important}
.live-building-drawer>.building-design{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important}.live-building-drawer>.building-design>*{grid-column:1!important;min-width:0}.live-building-drawer>.building-design>.building-action-tiles{display:grid!important}.building-action-tiles .smith-button-label{display:contents!important}.building-design .building-interior{width:100%}.building-design .building-card-heading{display:flex!important}.building-design .building-card-heading .mobile-building-back{min-height:40px}.live-village-dock .dock-hero-info{min-width:0}.live-village-dock .dock-hero-info strong{max-width:130px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.building-design .building-action-tiles>button[data-smith-control],.building-design .building-unit-selection>button[data-smith-control],.building-design .building-region-selection>button[data-smith-control]{border:5px solid #98743f!important;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px!important;background:#17110d!important}.building-design .building-action-tiles .smith-button-label{display:contents!important}.building-unit-selection .smith-button-label{display:contents!important}
.smith-card-stage .woodland-catalog{padding:8px!important}.woodland-catalog header{margin-bottom:5px!important;display:flex;justify-content:space-between}.woodland-catalog h2{font-size:21px!important;margin:0!important}.woodland-catalog-filters{font:14px Georgia;margin:5px 0 9px}.woodland-catalog-filters select,.woodland-catalog-filters input{width:100%;min-height:36px;font:15px Georgia;margin:6px 0}.smith-card-stage .woodland-catalog .inventory-grid{max-height:none!important;overflow:visible!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px}.smith-card-stage .woodland-catalog .inventory-cell{height:auto!important;min-height:145px!important;padding:6px 3px!important;display:flex;flex-direction:column;align-items:center;justify-content:start;border:5px solid #8e713e!important;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px!important;background:#14110c!important}.smith-card-stage .woodland-catalog .inventory-cell.selected{outline:1px solid var(--rarity);outline-offset:-4px}.smith-card-stage .woodland-catalog .inventory-cell .item-art{height:66px!important;width:100%!important}.smith-card-stage .woodland-catalog .inventory-cell small{min-height:37px;display:flex;align-items:center;justify-content:center;font:13px/1.3 Georgia}.woodland-item-quality{display:flex;align-items:center;gap:2px;font:11px Georgia;color:var(--rarity)}.woodland-item-quality img{width:20px;height:20px}.woodland-catalog .page-controls{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.woodland-catalog .page-controls button{width:35px!important;min-height:32px!important}.smith-card-stage .recipe-detail{padding:10px!important}.smith-card-stage .recipe-detail header h2{font-size:25px!important}.smith-card-stage .recipe-detail .actions{display:flex;flex-wrap:wrap;gap:9px}.smith-card-stage .recipe-detail .actions>.primary{width:100%;min-height:46px}.smith-card-stage .recipe-detail .cost{width:100%;display:flex;gap:5px;flex-wrap:wrap}.smith-card-stage{max-height:none!important;overflow:visible!important}.smith-design[data-smith-page]:not([data-smith-page=overview]){display:grid!important;grid-template-rows:auto auto auto!important;height:auto!important;min-height:0!important}.smith-card-stage .workshop-layout>section{min-width:0}.live-quality-badge{font-size:22px}.smith-card-stage .showpiece{z-index:2}.live-item-sparkles{z-index:3}.live-rarity-aura{z-index:1}
.live-building-drawer>.smith-design{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.live-building-drawer>.smith-design>*{grid-column:1!important;min-width:0}.live-building-drawer .smith-card-stage{width:100%!important}.smith-card-stage .workshop-layout,.smith-card-stage .forge-upgrade-layout{width:100%!important}.smith-card-stage .woodland-catalog{width:100%!important}
@media(max-width:900px){.live-village{height:calc(100dvh - 156px)!important;min-height:0!important}.live-village.mobile-building-detail>.live-building-drawer{bottom:144px!important}}
.live-quality-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.smith-design .live-quality-choices>button[data-smith-control]{display:flex;position:relative;border:5px solid #967442!important;border-image:url('assets/woodland-frame-inset-c-v1.webp') 86 fill/5px!important;background:#17110d!important;min-height:96px;padding:5px;color:#ead5ac!important}.live-quality-choices .smith-button-skin{display:none}.live-quality-choices .smith-button-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%}.live-quality-choices img{width:48px;height:48px;object-fit:contain}.live-quality-choices strong{font:14px Georgia}.live-quality-choices small{font-size:10px}.live-quality-choices [aria-pressed=true]{outline:1px solid #e3c28a;outline-offset:-4px}.live-quality-choices button:disabled{opacity:.4}.woodland-native-quality{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.woodland-native-quality:focus-within{position:static!important;clip-path:none;width:auto!important;height:auto!important}
@media(max-width:900px){.mobile-nav button{min-width:0!important;padding:3px 1px!important}.mobile-nav button>.smith-button-label{display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:1px!important;font-size:9px!important;line-height:1.1;white-space:nowrap}.mobile-nav button>.smith-button-label>span{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}.mobile-nav button .woodland-nav-icon{width:23px!important;height:23px!important;flex:0 0 auto}.live-village-dock .dock-helper{max-width:46px;font-size:0!important}.live-village-dock .dock-helper .smith-button-label{font-size:0}.live-village-dock .dock-helper .smith-button-label:before{content:'♧';font-size:24px;color:#e5cd99}.live-village-dock .dock-main{max-width:165px;font-size:14px!important}.live-village-dock .dock-hero-info small{font-size:11px}}
.live-village-dock .dock-helper-portrait{width:32px;height:32px;min-width:32px;background-image:var(--pet-art-url);background-size:var(--pet-cols) var(--pet-rows);background-position:var(--pet-x) var(--pet-y);background-repeat:no-repeat}.live-village-dock .dock-helper .smith-button-label{display:flex;gap:5px;align-items:center}.live-village-dock .dock-helper .smith-button-label:before{content:none!important}@media(max-width:900px){.live-village-dock .dock-helper-word{display:none}.live-village-dock .dock-helper{min-width:43px;padding:3px}.live-village-dock .dock-helper .smith-button-label{font-size:14px}}
.sanctuary-building-nav button[data-smith-control]{position:relative;border:0!important;background:none!important;box-shadow:none;isolation:isolate}.sanctuary-building-nav .smith-button-label{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;height:100%}.sanctuary-building-nav button:hover:not(:disabled)>.smith-button-skin.hover{opacity:1}.sanctuary-building-nav button:active:not(:disabled)>.smith-button-skin.pressed{opacity:1}.sanctuary-building-nav button.active{color:#ffe1a3;outline:1px solid #c5a15f;outline-offset:-4px}@media(max-width:900px){.live-village>.village-mobile-summary{width:100%!important;align-self:stretch!important}.live-village>.village-mobile-summary .building-inset{width:100%!important}.village-mobile-summary .building-facts{font-size:14px;gap:4px}.village-mobile-summary .building-facts dd{font-size:16px}.village-mobile-summary h3{font-size:19px;margin-bottom:8px}.village-mobile-summary p{margin:6px 0 10px}.live-village .building-tile{font-family:Georgia,serif!important;color:#e4cda6!important;font-size:14px!important}}
.smith-recipe-power{font:30px Georgia;color:#efd5a3}.smith-card-stage .salvage-return p{font-size:16px}.no-motion .building-interior i,.no-motion .live-rarity-aura,.no-motion .live-item-sparkles i{animation:none!important}.no-motion .live-item-sparkles i{opacity:.25}
@media(max-width:900px){.live-village-dock .dock-hero-info small{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-village-dock .dock-hero-info strong{max-width:115px}}

/* Native health bar: one bounded inline track, never a nested block meter. */
.live-village-dock .dock-vitals{display:block!important;position:relative;box-sizing:border-box;width:120px;max-width:100%;height:7px!important;min-height:7px;flex:0 0 7px;margin:3px 0!important;padding:1px;border:1px solid #9a7e49;overflow:hidden;line-height:0;background:#0b0d09}
.live-village-dock .dock-vitals>i{display:block!important;position:static!important;height:3px!important;max-width:100%;margin:0!important;padding:0!important;border:0;border-radius:0;background:linear-gradient(#b7bc78,#768655);box-shadow:none;transform:none}
.live-village-dock .dock-mobile-state{position:static;line-height:1.2;min-height:12px;margin:0;clear:both}

/* Let the mobile status card grow with its text instead of leaking below its frame. */
@media(max-width:900px){
 body[data-view=fortress] .main-content{overflow-y:auto!important;overflow-x:hidden!important}
 .live-village{height:auto!important;min-height:0!important}
 .live-village>.village-mobile-summary{flex:0 0 auto;min-height:max-content}
 .live-village>.village-mobile-summary .building-inset{height:auto!important;padding:12px}
 .village-mobile-summary .building-facts{margin-top:12px;gap:8px}
 .village-mobile-summary .building-facts>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .village-mobile-summary .building-facts dt{min-width:0;overflow-wrap:anywhere}
 .village-mobile-summary .building-facts dd{white-space:nowrap}
}

/* Small screens must expose the entire fortress summary and hero dock. */
@media(max-width:900px){body[data-view=fortress] .view-content:has(.live-village){display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.live-village{height:auto!important;min-height:0!important}.live-village>.village-mobile-summary{flex:0 0 auto!important;min-height:0!important}.live-village>.village-mobile-summary .building-inset{height:auto!important;min-height:0!important}.live-village>.live-village-dock{margin-bottom:8px}}
