/* Latest steering: a full room, compact readable offer cards, shaped local HUD pockets. */
body[data-style="hybrid"] #sharedWorldFrame,body[data-style="hybrid"] #draftSceneFrame{display:none!important}
body[data-style="hybrid"] :is(#resources>.coin-purse,#resources .mini-resource,#resources>#threatInfo,.journey-bar>.cycle-parent,#game>.controls #endButton,#settingsButton){background-color:#35271b!important;border:7px solid #785537!important;border-image:url('themes/scene10/scene-wood-frame.webp') 96 stretch!important;border-image-width:7px!important;box-shadow:inset 0 0 0 1px #17120e,0 3px 7px #0c0a08a0!important;border-radius:7px!important}
body[data-style="hybrid"] #resources :is(.mini-resource,.coin-purse,.threat-purse){color:#f4e3ba!important}
body[data-style="hybrid"][data-run-active="true"] #settingsButton{top:7px!important;right:9px!important;width:38px!important;height:38px!important;min-height:38px!important;padding:3px!important;z-index:8!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #resources>.secondary-resources{bottom:8px!important;gap:5px!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud .secondary-resources>.mini-resource{width:108px!important;max-width:108px!important;height:57px!important;min-height:57px!important;padding:3px!important;background:#302317!important;border-width:7px!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo{right:18px!important;bottom:8px!important;width:150px!important;min-width:150px!important;max-width:150px!important;height:57px!important;min-height:57px!important;padding:2px 4px!important;border-width:7px!important;background:#302317!important}
body[data-style="hybrid"] #threatInfo{--threat-tint:#a9d476}
body[data-style="hybrid"] #threatInfo[data-threat-rank="2"]{--threat-tint:#e2d36c}
body[data-style="hybrid"] #threatInfo[data-threat-rank="3"]{--threat-tint:#e2af55}
body[data-style="hybrid"] #threatInfo[data-threat-rank="4"]{--threat-tint:#de7950}
body[data-style="hybrid"] #threatInfo[data-threat-rank="5"]{--threat-tint:#ec6053}
body[data-style="hybrid"] #threatInfo .threat-value{color:var(--threat-tint)!important}
body[data-style="hybrid"] #threatInfo .threat-value>.icon{width:25px!important;height:25px!important;filter:drop-shadow(0 0 4px #9d483940)}
body[data-style="hybrid"] #threatInfo .threat-next{display:block;font:11px/13px var(--fantasy-copy);color:#f4e3ba}
body[data-style="hybrid"] #threatInfo .threat-meter15{display:block;height:4px;width:100%;background:#16120e;border:1px solid #765f3f;margin-top:2px}
body[data-style="hybrid"] #threatInfo .threat-meter15>i{display:block;height:100%;background:var(--threat-tint)}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-heading,body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-party-health{display:none!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-overview>.composed-tavern{inset:42px 24px auto!important;width:calc(100vw - 48px)!important;height:auto!important;margin:0!important;aspect-ratio:var(--scene-aspect)!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters{--offer-face-h:166px;--offer-buy-h:30px;--offer-header-h:21px;--offer-total-h:223px;inset:auto 24px 84px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;background:transparent!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters>.patron-stock{padding:3px!important;background:#33281de8!important;border:1px solid #886b45!important;border-radius:6px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock>header{height:18px!important;margin-bottom:3px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock>header>span{display:flex!important;align-items:center!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock>header svg{width:17px!important;height:17px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-cards{justify-content:center!important;gap:5px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer{flex:0 1 calc((100% - 5px)/2)!important;width:calc((100% - 5px)/2)!important;min-width:0!important;max-width:none!important;gap:4px!important;display:flex!important;flex-direction:column!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-card-object{height:var(--offer-face-h)!important;min-height:var(--offer-face-h)!important;max-height:var(--offer-face-h)!important;width:100%!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-card-object>:is(.ability,.market-hero-card,.market-service-card){height:var(--offer-face-h)!important;min-height:var(--offer-face-h)!important;max-height:var(--offer-face-h)!important;width:100%!important;box-sizing:border-box!important;background-color:#e7d7b1!important;color:#30271c!important;border:4px solid #90724c!important;padding:2px!important;gap:2px!important;overflow:visible!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .ability.shared-ability-card15{display:block!important;position:relative!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button{height:var(--offer-buy-h)!important;min-height:var(--offer-buy-h)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:2px!important;margin:0!important;background:#375e39!important;color:#f4eccd!important;border:1px solid #a6b67c!important;border-radius:3px!important;font:13px/16px var(--fantasy-copy)!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button:disabled{background:#3f4837!important;color:#ccc5ac!important;opacity:1!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button>span{display:flex;align-items:center;gap:1px}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button small{font:10px/12px var(--fantasy-copy)!important;white-space:nowrap!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-reroll{inset:auto auto 313px 50%!important;transform:translateX(-50%)!important;z-index:4!important;margin:0!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-reroll button{height:28px!important;min-height:28px!important;padding:2px 8px!important;background:#35472c!important;font:14px/20px var(--fantasy-copy)!important}
body[data-style="hybrid"] .market-service-card.offer-card-face{display:grid!important;grid-template-rows:30px minmax(64px,1fr) 32px 16px!important;position:relative!important;text-align:center!important}
.offer-face-header{display:grid;grid-template-columns:14px minmax(0,1fr) 22px;align-items:start;gap:2px;border:1px solid #9a8053;background:#d7c497;min-width:0}
.offer-face-header>span svg{width:14px!important;height:14px!important}.offer-face-header>strong{font:700 14px/15px var(--fantasy-title);word-break:normal;overflow-wrap:normal}.offer-face-header>small{font:11px/14px var(--fantasy-copy)}
.market-service-card .service-illustration{min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.market-service-card .service-illustration>.market-art{position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
body[data-style="hybrid"] #tavern .market-service-card>.service-effect{margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:2px!important;font:13px/14px var(--fantasy-copy)!important;color:#30271c!important}.service-effect .market-icon{width:16px!important;height:16px!important}
.service-lifetime{font:11px/14px var(--fantasy-copy);color:#50442f}.offer-party-health{position:absolute;bottom:0;left:0;right:0;font:10px/12px var(--fantasy-copy);z-index:3}.offer-party-health>summary{cursor:pointer;background:#dbcba7;color:#30271c;border-top:1px solid #9a8053}.offer-party-health[open]>div{position:absolute;bottom:100%;left:0;min-width:170px;padding:5px;background:#f0e0bb;border:2px solid #886c44;box-shadow:0 4px 8px #17120d80}.offer-party-health p{margin:2px!important;display:flex;align-items:center;justify-content:space-between;gap:3px}.offer-party-health .market-icon{width:14px;height:14px}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card{padding:0!important;border:0!important}.patron-stock-clusters .market-hero-card .unit-card-face{height:100%!important;max-height:100%!important;grid-template-rows:19px minmax(0,1fr) 15px 36px!important;background:#e7d7b1!important}
body[data-style="hybrid"] .composed-quest-summary{top:4px!important;transform:translateX(-50%)!important;min-width:0!important;max-width:none!important;width:18%!important;height:44px!important;box-sizing:border-box!important;padding:2px 3px!important;background:#e7d5ad!important;border:1px solid #89704a!important;border-radius:7px!important;font:14px/16px var(--fantasy-copy)!important}
.composed-quest-summary::after{width:6px!important;height:6px!important;left:calc(50% - 3px)!important;border-width:1px!important}
.quest-summary-title{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;height:20px}.quest-summary-title>strong{font:700 14px/16px var(--fantasy-title)!important;white-space:nowrap;letter-spacing:-.25px}.quest-type-icon,.quest-known-element{display:flex;align-items:center;justify-content:center;flex:none}.quest-type-icon{color:#527331}.composed-quest-summary[data-role="Tank"] .quest-type-icon{color:#477546}.composed-quest-summary[data-role="Support"] .quest-type-icon{color:#3b7390}.composed-quest-summary[data-role="Lead"] .quest-type-icon{color:#646565}.composed-quest-summary[data-role="DPS"] .quest-type-icon{color:#b64437}.quest-known-element{color:#be5231}
body[data-style="hybrid"] .composed-quest-summary .quest-summary-rewards{display:flex!important;align-items:center!important;justify-content:center!important;height:16px!important;gap:3px!important;margin:0!important;font:13px/14px var(--fantasy-copy)!important}
body[data-style="hybrid"] .composed-quest-summary :is(.icon,.market-icon,.tv-icon){width:15px!important;height:15px!important;min-width:15px!important}
body[data-style="hybrid"] .composed-patron-target>.composed-quest-mark{font-size:28px!important;min-height:30px!important;height:30px!important;min-width:24px!important}
@media(min-height:650px){body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters{--offer-face-h:202px;--offer-buy-h:32px}body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-reroll{bottom:351px!important}body[data-style="hybrid"] .composed-quest-summary{height:50px!important;padding:4px!important}.quest-summary-title{height:22px}.quest-summary-title>strong{font-size:16px!important;line-height:20px!important}}
@media(max-width:899px){body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-overview>.composed-tavern{inset:42px 8px auto!important;width:calc(100vw - 16px)!important}body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters{position:relative!important;inset:auto!important;margin-top:44vw!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding-bottom:80px!important}body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .market-reroll{position:relative!important;inset:auto!important;transform:none!important;margin:15px auto!important;width:max-content}.quest-summary-title>strong{font-size:12px!important}.composed-quest-summary .quest-type-icon{display:none}}
@media(min-width:900px){body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters{grid-template-columns:2fr 2fr 2fr 1fr!important}body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters>.patron-stock[data-patron="Tess"] .patron-stock-offer{flex-basis:100%!important;width:100%!important}}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo{height:63px!important;min-height:63px!important;bottom:8px!important;display:block!important;box-sizing:border-box!important}
body[data-style="hybrid"][data-progression="xp"][data-combat="false"][data-run-active="true"] #playerHud #threatInfo .threat-value{font:14px/17px var(--fantasy-copy)!important;height:22px!important;flex-wrap:nowrap!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card>.unit-card-face{position:relative!important;inset:auto!important;height:var(--offer-face-h)!important;max-height:var(--offer-face-h)!important;min-height:0!important;width:100%!important;grid-template-rows:21px minmax(0,1fr) 16px 40px!important;transform:none!important;padding:2px!important;box-sizing:border-box!important;border:4px solid #90724c!important;background:#e7d7b1!important;gap:1px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card>.unit-card-face>img{grid-area:2/1!important;position:relative!important;inset:auto!important;height:100%!important;width:100%!important;object-fit:contain!important;padding:0!important;margin:0!important;transform:none!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card .hybrid-unit-name{grid-area:1/1!important;position:static!important;inset:auto!important;font:700 14px/18px var(--fantasy-title)!important;height:20px!important;margin:0!important;padding:0!important;background:#d9c69d!important;color:#30271c!important;z-index:1!important;text-shadow:none!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card .hero-class-name{grid-area:3/1!important;position:static!important;color:#30271c!important;background:transparent!important;font:12px/15px var(--fantasy-copy)!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .market-hero-card .hero-body{grid-area:4/1!important;height:40px!important;min-height:40px!important;max-height:40px!important;position:relative!important;inset:auto!important}
body[data-style="hybrid"] #playerHud #resources #threatInfo .threat-value{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:22px!important;font:14px/17px var(--fantasy-copy)!important;flex-wrap:nowrap!important;margin:0!important}
body[data-style="hybrid"] #playerHud #resources #threatInfo .threat-value>*{position:static!important;inset:auto!important;transform:none!important;margin:0!important;white-space:nowrap!important;font:inherit!important}
body[data-style="hybrid"] #playerHud #resources #threatInfo .threat-value>.icon{width:22px!important;height:22px!important;min-width:22px!important;max-height:22px!important;display:block!important}
body[data-style="hybrid"] #playerHud #resources #threatInfo .threat-next{font:11px/13px var(--fantasy-copy)!important;white-space:nowrap!important;text-align:center!important;width:100%!important}
body[data-style="hybrid"] #playerHud #resources #threatInfo :is(.threat-column,.threat-bonus){display:none!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button>small{display:inline-flex!important;align-items:center!important;gap:1px!important}
body[data-style="hybrid"] #tavern[data-composed-tavern="true"] .patron-stock-clusters .patron-stock-offer>button>small>.market-icon{width:10px!important;height:12px!important}
