/* One viewport composition for opening, tutorial and every patron return turn.
   Native conversation cursors and commitments remain with their controllers. */
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21 {
 position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;pointer-events:auto;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__speech {
 position:fixed!important;inset:auto 4vw 4dvh 31vw!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:18px!important;box-sizing:border-box!important;width:auto!important;height:auto!important;min-height:280px!important;max-height:90dvh!important;max-width:none!important;margin:0!important;padding:24px!important;overflow:visible!important;transform:none!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__name {
 position:static!important;grid-column:1/-1!important;grid-row:1!important;justify-self:start!important;margin:0!important;min-height:0!important;font-size:28px!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__words {
 position:static!important;grid-column:1/-1!important;grid-row:2!important;min-height:0!important;margin:0!important;font:22px/1.4 var(--fantasy-copy,Georgia,serif)!important;overflow:visible!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__actions {
 position:static!important;grid-row:3!important;grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:16px!important;margin:0!important;padding:0!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__choices {
 position:static!important;grid-row:3!important;grid-column:1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0!important;padding:0!important;border:0!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__portrait-plane {
 position:fixed!important;inset:auto auto 4dvh 2vw!important;width:27vw!important;height:min(70dvh,550px)!important;max-width:none!important;max-height:none!important;margin:0!important;pointer-events:none!important;
}
html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__head {
 inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;clip-path:none!important;
}
html body #tavern[data-stationary-tavern=true] .stationary-tavern23 {overflow:hidden!important;pointer-events:auto!important;background:linear-gradient(transparent,#0a130b88)!important;}
html body:has(#tavern .stationary-tavern23) :is(.patron-stock-clusters,.composed-quest-summary,.composed-patron-target,.market-party-rail424,.tavern-deck36,#currentQuest23,#storyResourcePocket19,#storyRestChoices17,.market-reroll) {visibility:hidden!important;pointer-events:none!important;}
html body #tavern[data-stationary-tavern=true] .stationary-tavern23 .spoken-scene21__speech:has(.story-dialogue-mechanics18) {
 inset:4dvh 4vw 4dvh 31vw!important;grid-template-rows:auto minmax(0,1fr) auto!important;height:auto!important;max-height:none!important;
}
html body #tavern[data-stationary-tavern=true] .stationary-tavern23 .story-dialogue-mechanics18 {grid-column:1/-1!important;grid-row:2!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;}
html body #tavern[data-stationary-tavern=true] .stationary-tavern23 .spoken-scene21__speech:has(.story-dialogue-mechanics18)>.spoken-scene21__choices {display:none!important;}
html body #tavern[data-stationary-tavern=true] .stationary-tavern23 .stationary-terms-actions23 {position:static!important;inset:auto!important;grid-row:3!important;grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;margin:0!important;}
html body #tavern .quest-compact477 {display:grid!important;gap:16px!important;font:20px/1.4 var(--fantasy-copy)!important;}
html body #tavern .quest-compact477>p {margin:0!important;font:20px/1.4 var(--fantasy-copy)!important;}
html body #tavern .quest-compact477 h3 {margin:0!important;font:700 24px/1.3 var(--fantasy-title)!important;}
@media(max-width:700px),(max-aspect-ratio:1/1){
 html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__portrait-plane {inset:3dvh auto auto 3vw!important;width:34vw!important;height:25dvh!important;}
 html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__speech {inset:auto 3vw 3dvh 3vw!important;max-height:67dvh!important;padding:16px!important;gap:12px!important;min-height:0!important;}
 html body :is(#storyOpening18,#hartwellDialogue23,#tavern[data-stationary-tavern=true] .stationary-tavern23) .spoken-scene21__words {font-size:20px!important;}
 html body #tavern[data-stationary-tavern=true] .stationary-tavern23 .spoken-scene21__speech:has(.story-dialogue-mechanics18) {inset:29dvh 3vw 3dvh!important;max-height:none!important;gap:10px!important;}
 html body #tavern .quest-compact477,html body #tavern .quest-compact477>p {font-size:18px!important;line-height:1.3!important;}
}

html body #tavern:has(.stationary-tavern23) :is(.tavern-offers-grid,.composed-patron-target,.composed-patron-name,.market-party-rail424,.tavern-deck36,.market-reroll) {display:none!important;}
html body:has(#tavern .stationary-tavern23) :is(#storyResourcePocket19,#currentQuest23) {display:none!important;}

html body #hartwellDialogue23 .spoken-scene21__actions #retreatButton {position:static!important;inset:auto!important;transform:none!important;min-height:44px!important;width:auto!important;order:-1!important;}
html body:has(#hartwellDialogue23:not([hidden])) #tutorialFourCue4 {visibility:hidden!important;}
