/* Shared painted wood contains resources; accepted combat hit geometry stays intact. */
#sharedWorldFrame{display:none;position:fixed;inset:0;z-index:2;pointer-events:none;box-sizing:border-box;border:solid transparent;border-width:42px 14px 58px;border-image:url('themes/scene10/scene-wood-frame.webp') 96 stretch;border-image-width:42px 14px 58px}
body[data-style="hybrid"][data-progression="xp"][data-run-active="true"] #sharedWorldFrame{display:block}
body[data-style="hybrid"][data-progression="xp"][data-run-active="true"] .brand{display:none!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud{z-index:5!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #resources{position:fixed!important;inset:auto 0 0!important;width:100%!important;height:54px!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;display:block!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #resources>.secondary-resources{position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:5px!important;transform:translateX(-50%)!important;width:auto!important;max-width:calc(100vw - 240px)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:12px!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud .secondary-resources>.mini-resource{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:110px!important;min-width:0!important;max-width:110px!important;min-height:42px!important;height:42px!important;margin:0!important;padding:2px 5px!important;background:#30251ddf!important;border:1px solid #92764d!important;color:#f3dfb5!important;transform:none!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo{position:fixed!important;top:auto!important;right:18px!important;left:auto!important;bottom:5px!important;width:96px!important;min-width:96px!important;max-width:96px!important;height:42px!important;min-height:42px!important;padding:2px 5px!important;background:#30251ddf!important;border:1px solid #92764d!important;transform:none!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo :is(.threat-column,.threat-bonus){display:none!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo .threat-value{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;font:14px/17px var(--fantasy-copy)}
@media(min-width:900px){
body[data-style="hybrid"][data-progression="xp"][data-run-active="true"][data-combat="true"][data-art-draft7="true"] #sharedWorldFrame{border-width:68px 96px 66px;border-image-width:68px 96px 66px}
body[data-style="hybrid"][data-progression="xp"][data-run-active="true"][data-combat="true"][data-art-draft7="true"] #draftSceneFrame{display:none!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-bed-service{height:187px!important;min-height:187px!important;max-height:187px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-bed-choices{margin-top:auto!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-bed-choices>section{padding:0!important;border:0!important;background:transparent!important}
}
