/* Read-only reward cards in the live patron Quest quote. */
body[data-story="true"] #tavern .story-reward-cards78{margin-top:6px}
body[data-story="true"] #tavern .story-reward-cards78>strong{font-size:16px;line-height:20px}
body[data-story="true"] #tavern .story-reward-grid78{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:7px 0 0}
body[data-story="true"] #tavern .story-reward-preview78{box-sizing:border-box;min-width:0;height:184px;padding:5px;border:5px solid #8b7049;background:#e7d7b1;color:#30271c;box-shadow:0 3px 8px #1f281d55;overflow:hidden}
body[data-story="true"][data-style="hybrid"] #tavern .story-reward-card78>.ability-face15{display:grid!important;width:100%;height:100%;min-height:0!important;grid-template-rows:28px minmax(0,1fr) 45px!important;gap:2px!important}
body[data-story="true"] #tavern .story-reward-card78 .af15-art{min-height:0!important;max-height:none!important}
body[data-story="true"] #tavern .story-reward-card78 .af15-effect{height:45px!important;min-height:45px!important;max-height:45px!important;font-size:13px!important;line-height:15px!important;overflow:hidden!important}
body[data-story="true"] #tavern .story-reward-card78 .af15-footer{display:none!important}
body[data-story="true"] #tavern .story-reward-resource78{display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;gap:3px}
body[data-story="true"] #tavern .story-reward-resource78>img{width:100%;height:89px;object-fit:contain}
body[data-story="true"] #tavern .story-reward-resource78>strong{font:700 17px/19px var(--fantasy-title,Georgia,serif);color:#30271c}
body[data-story="true"] #tavern .story-reward-resource78>span{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;font:700 15px/18px Georgia,serif}
body[data-story="true"] #tavern .story-reward-resource78 .icon{width:17px;height:17px;vertical-align:middle}
body[data-story="true"] #tavern .story-reward-cards78>p{font-size:12px;line-height:15px;margin:4px 0 0}
body[data-story="true"] #tavern .stationary-tavern23[data-patron-owner="bram"] .spoken-scene21__head{object-fit:contain!important;object-position:50% 65%!important}
body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud{display:block!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78){display:flex!important;flex-direction:column!important;overflow:hidden!important;height:min(580px,calc(100dvh - 90px))!important;max-height:calc(100dvh - 90px)!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78)>.spoken-scene21__name{width:max-content!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 0 3px!important;padding:3px 10px!important;font-size:20px!important;line-height:25px!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78)>.story-dialogue-mechanics18{flex:1 1 auto!important;min-height:0!important;overflow:visible!important;font-size:17px!important;line-height:1.18!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78) .story-quest-details17 :is(h3,.story-goal-rule17){font-size:17px!important;line-height:1.18!important;margin:3px 0!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78)>.stationary-terms-actions23{flex:0 0 auto!important;position:static!important;width:100%!important;padding:6px 0 0!important;background:#e7d7b1!important}
@media (min-width:900px){
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78){left:auto!important;right:16px!important;width:min(760px,calc(100vw - 330px))!important;max-width:760px!important;padding:10px 14px!important}
}
@media (max-width:899px){
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;pointer-events:none!important;z-index:205!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #resources{position:fixed!important;inset:auto auto 8px 8px!important;width:78px!important;height:108px!important;min-height:0!important;padding:0!important;z-index:206!important;background:transparent!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #resources>:not(#storyResourcePocket19){display:none!important}
 body[data-story="true"][data-style="hybrid"][data-phase="tavern"][data-view="tavern"][data-combat="false"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #resources>#storyResourcePocket19{position:static!important;width:78px!important;height:108px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,34px)!important;gap:3px!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #storyResourcePocket19>.mini-resource{box-sizing:border-box!important;width:78px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;padding:1px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:12px!important;pointer-events:auto!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #storyResourcePocket19>.mini-resource>span:first-child{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;line-height:15px!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #storyResourcePocket19>.mini-resource .icon{width:14px!important;height:14px!important;min-width:14px!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #storyResourcePocket19>.mini-resource small{font-size:10px!important;line-height:11px!important}
 body[data-story="true"]:has(#tavern .stationary-tavern23 .story-reward-cards78) #playerHud #storyResourcePocket19 #foodCounter .food-upkeep26{display:none!important}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78) .stationary-terms-actions23{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-left:80px!important;width:calc(100% - 80px)!important}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78) .story-upkeep23{margin-left:80px!important;width:calc(100% - 80px)!important}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78){grid-column:1/-1!important;left:auto!important;right:auto!important;width:calc(100vw - 16px)!important;max-width:none!important;height:calc(100dvh - 108px)!important;max-height:calc(100dvh - 108px)!important;margin:0!important}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23.spoken-patron21:not(#hartwellDialogue23) .spoken-scene21__portrait-plane{position:fixed!important;top:5px!important;bottom:auto!important;left:12px!important;width:70px!important;height:85px!important}
 body[data-story="true"] #tavern .story-reward-grid78{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:visible;padding:0}
 body[data-story="true"] #tavern .story-reward-preview78{height:180px;padding:3px;border-width:3px}
 body[data-story="true"] #tavern .story-reward-card78>.ability-face15{grid-template-rows:28px minmax(0,1fr) 72px!important}
 body[data-story="true"] #tavern .story-reward-card78 .af15-name{font-size:13px!important;line-height:14px!important}
 body[data-story="true"] #tavern .story-reward-card78 .af15-effect{height:72px!important;min-height:72px!important;max-height:72px!important;font-size:13px!important;line-height:15px!important}
 body[data-story="true"] #tavern .story-quest-details17[data-quest-method="defeat-marked"] .story-reward-preview78{height:210px}
 body[data-story="true"] #tavern .story-quest-details17[data-quest-method="defeat-marked"] .story-reward-card78>.ability-face15{grid-template-rows:28px minmax(0,1fr) 80px!important}
 body[data-story="true"] #tavern .story-quest-details17[data-quest-method="defeat-marked"] .story-reward-card78 .af15-effect{height:80px!important;min-height:80px!important;max-height:80px!important}
 body[data-story="true"] #tavern .story-reward-card78 .plain-card-copy21{font-size:13px!important;line-height:15px!important}
 body[data-story="true"] #tavern .story-reward-resource78>img{height:86px}
 body[data-story="true"] #tavern .story-reward-resource78>strong{font-size:15px;line-height:16px}
 body[data-story="true"] #tavern .story-reward-resource78>span{font-size:13px;line-height:15px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech:has(.story-reward-cards78){max-height:calc(100dvh - 110px)!important}
}
