/* Keep the approved older room's faces clear on wide Last Light views. */
#storyBossNotice287{display:none}
@media (max-width:650px) {
 body[data-story=true][data-style=hybrid] #tavern:not([data-phone-goods27=true]):has(.composed-tavern[data-scene-id=private-animal-room16]) #storyBossNotice287{
  position:fixed;inset:53px 8px auto;z-index:11;box-sizing:border-box;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:2px;min-height:96px;padding:7px 10px;
  background:linear-gradient(145deg,#26372df2,#16251ff2);color:#f3e4bf;border:2px solid #ab8b57;
  border-radius:5px;box-shadow:inset 0 0 0 1px #e3c78533,0 4px 10px #07100bcc;text-align:center;
 }
 body[data-story=true][data-style=hybrid] #tavern #storyBossNotice287 strong{display:flex;align-items:center;gap:6px;font:700 20px/23px var(--fantasy-title,Georgia,serif)}
 body[data-story=true][data-style=hybrid] #tavern #storyBossNotice287 span{display:flex;align-items:center;gap:4px;font:700 14px/17px var(--fantasy-copy,Georgia,serif)}
 body[data-story=true][data-style=hybrid] #tavern #storyBossNotice287 small{font:13px/16px var(--fantasy-copy,Georgia,serif)}
 body[data-story=true][data-style=hybrid] #tavern #storyBossNotice287 .icon{width:17px;height:17px}
}
@media (min-width:701px) and (min-aspect-ratio:1/1) {
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary {
  position:fixed!important;top:44px!important;
  width:calc(22vw - 10px)!important;min-width:0!important;max-width:none!important;
  height:82px!important;transform:translateX(-50%)!important;
 }
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-patron-target[data-patron-name=Orin]>.composed-quest-summary{left:calc(106px + 11vw)!important}
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-patron-target[data-patron-name=Mara]>.composed-quest-summary{left:calc(106px + 33vw)!important}
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-patron-target[data-patron-name=Bram]>.composed-quest-summary{left:calc(106px + 55vw)!important}
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-patron-target[data-patron-name=Tess]>.composed-quest-summary{left:calc(106px + 77vw)!important}
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .story-forest-exit19{
  position:fixed!important;inset:min(210px,28dvh) 8px auto auto!important;
  width:clamp(96px,10vw,150px)!important;min-height:65px!important;height:auto!important;
  font-size:clamp(12px,1vw,15px)!important
 }
}
@media (max-width:700px), (max-aspect-ratio:1/1) {
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-patron-target>.composed-quest-mark {
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  font-size:32px!important;line-height:34px!important
 }
}

/* Keep the Quest terms readable without covering the painted room in cream slabs. */
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary {
 background:linear-gradient(145deg,#26372de8,#16251feF)!important;
 color:#f3e4bf!important;border:1px solid #ab8b57!important;
 box-shadow:inset 0 0 0 1px #e3c78533,0 4px 10px #07100bcc!important;
}
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary::after{background:#1b2b23!important;border-color:#ab8b57!important}
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary :is(strong,span,.quest-summary-title,.quest-summary-goal,.quest-summary-rewards){color:#f3e4bf!important;text-shadow:0 1px 2px #07100b!important}

/* The old room compares reward alternatives inside each overview card. */
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .quest-summary-brief {display:none!important}
@media (min-width:901px) and (min-aspect-ratio:1/1) {
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary :is(.quest-summary-title strong,.quest-summary-goal,.quest-summary-rewards,.quest-summary-rewards *){font-size:16px!important;line-height:19px!important}
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .quest-summary-rewards .icon{width:17px!important;height:17px!important;min-width:17px!important}
 body[data-story=true][data-style=hybrid] #tavern .composed-patron-target>.composed-quest-mark{top:170px!important}
}
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-alt78 {display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;white-space:nowrap!important}
body[data-story=true][data-style=hybrid] #tavern .composed-quest-mark:focus-visible{outline:3px solid #f5d477!important;outline-offset:3px!important;border-radius:50%!important}
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-list78 {display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:3px!important;white-space:nowrap!important}
body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-extra78 {display:inline-flex;align-items:center;gap:2px}
@media (max-width:650px) {
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .quest-summary-rewards {display:flex!important;height:15px!important;min-height:15px!important;margin:0!important;white-space:nowrap!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-alt78 {flex-direction:row!important;gap:3px!important;font:10px/15px var(--fantasy-copy)!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-alt78>strong {font:700 10px/15px var(--fantasy-copy)!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-list78 {gap:2px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-list78>span {gap:1px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-extra78 {display:none!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-list78 .icon {width:11px!important;height:11px!important;min-width:11px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .composed-quest-summary .reward-choice-list78 b {font:700 10px/15px var(--fantasy-copy)!important}
}
/* Rest and the Forest exit share the band below the Quest summaries. */
@media (min-width:901px) and (min-aspect-ratio:1/1) {
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) #storyRestChoices17{
  top:137px!important;right:8px!important
 }
 body[data-story=true][data-style=hybrid] #tavern:has(.composed-tavern[data-scene-id=private-animal-room16]) .story-forest-exit19{
  inset:137px 326px auto auto!important;width:100px!important;min-height:86px!important
 }
}
