/* Last after opening23-latest.css. Dialogues borrow the one native composed room. */
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23{position:fixed!important;inset:0!important;display:block!important;max-width:none!important;width:100vw!important;height:100dvh!important;padding:0!important;background:transparent!important;overflow:visible!important;pointer-events:none;z-index:120!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21{position:fixed;inset:0;height:100dvh;min-height:0;margin:0;padding:0;background:transparent!important;overflow:visible;pointer-events:none}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21::after{display:none!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 :is(.spoken-scene21__backfill,.spoken-scene21__backdrop){display:none!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech{position:fixed;inset:auto 16px 80px 306px;box-sizing:border-box;width:auto;max-width:1000px;height:300px;min-height:0;max-height:none;margin:0;padding:12px 16px;overflow:visible;pointer-events:auto}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__portrait-plane{position:fixed;inset:auto auto 80px 112px;width:180px;height:180px;margin:0}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__head{inset:0;width:100%;height:100%;transform:none;object-fit:contain;object-position:center;clip-path:none}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__words{font:22px/1.35 var(--fantasy-copy,Georgia,serif)!important}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 :is(button,.spoken-scene21__choices){pointer-events:auto}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-dialogue-mechanics18{margin:0;padding:0;border:0;background:none;font:20px/1.25 var(--fantasy-copy,Georgia,serif)}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-quest-details17 h3{font-size:22px;margin:6px 0}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-goal-rule17{font-size:20px;margin:8px 0}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-quest-rewards17{font-size:20px;flex-wrap:wrap;gap:5px 12px;margin-top:8px}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .stationary-terms-actions23{position:fixed;inset:auto 16px 16px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-terms-actions23>button{position:static;min-height:44px;max-width:45vw;margin:0;padding:7px 10px;border:1px solid #a38a50;background:#314733;color:#f3e4bf;font:17px/20px var(--fantasy-copy,Georgia,serif)}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-terms-actions23 .story-accept18{margin-left:auto}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-smalltalk18{display:flex;flex-direction:column;gap:10px;margin-top:10px}
body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-smalltalk18 button{padding:9px;font-size:18px;min-height:44px}
.patron-cursor-error23{margin:8px 0;color:#8a2016!important;font:16px/1.2 var(--fantasy-copy,Georgia,serif)}
/* The resource anchor is identical before, during and after a patron conversation. */
body[data-story="true"]:has(#tavern[data-stationary-tavern="true"]:not([hidden])) #playerHud{visibility:visible!important;z-index:180!important;pointer-events:none}
body[data-story="true"]:has(#tavern[data-stationary-tavern="true"]:not([hidden])) #storyResourcePocket19{position:fixed!important;inset:auto auto 72px 12px!important;transform:none!important;visibility:visible!important;z-index:180!important;width:88px!important;height:auto!important;pointer-events:none}
body[data-story="true"] #currentQuest23{position:fixed;top:58px;right:12px;z-index:115;box-sizing:border-box;width:max-content;max-width:min(250px,45vw);padding:8px 10px;background:#16291ff5;color:#f4e6c8;border:1px solid #ab9667;box-shadow:0 3px 8px #07110bd0;font:16px/1.2 var(--fantasy-copy,Georgia,serif)}
body[data-story="true"] #currentQuest23 .quest-summary-title{display:flex;align-items:center;gap:6px}body[data-story="true"] #currentQuest23 .quest-type-icon{display:inline-flex!important}body[data-story="true"] #currentQuest23 .quest-summary-title>strong{font-size:16px!important}body[data-story="true"] #currentQuest23 .quest-summary-rewards{display:flex;gap:5px;margin-top:4px}body[data-story="true"] #currentQuest23 .icon{width:20px;height:20px}
body[data-story="true"]:has(.stationary-tavern23) .story-forest-exit19{visibility:hidden;pointer-events:none}
@media(max-width:700px),(max-aspect-ratio:1/1){
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__speech{inset:auto 12px 76px 108px;height:340px;padding:9px 10px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__portrait-plane{inset:auto auto 426px 12px;width:100px;height:100px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__words{font-size:20px!important}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .spoken-scene21__name{font-size:20px!important;padding:4px 7px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .stationary-terms-actions23{inset:auto 12px 12px 12px;gap:5px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-terms-actions23>button{font-size:15px;line-height:18px;height:52px;box-sizing:border-box;max-width:40vw;padding:6px 8px}
 body[data-story="true"] #tavern[data-stationary-tavern="true"] .stationary-tavern23 .story-quest-details17 h3{font-size:20px}
}
