/* Opt-in one-screen Last Light layout: ?town=rail424. Native quotes and actions remain unchanged. */
@media (min-width:0px){
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern{overflow:hidden!important;--rail-party-rows:1}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern:has(.market-hero-icon424:nth-child(3)){--rail-party-rows:2}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern:has(.market-hero-icon424:nth-child(5)){--rail-party-rows:3}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-party-rail424{
  position:fixed!important;top:132px!important;left:8px!important;z-index:61!important;
  width:96px!important;padding:3px!important;box-sizing:border-box!important;
  background:#17231df0!important;border:1px solid #b99559!important;border-radius:5px!important;color:#f3e6c4!important
 }
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-overview[inert] .market-party-rail424{display:none!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-party-rail424 h2{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  margin:0 0 4px!important;font:700 16px/19px var(--fantasy-title)!important
 }
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-party-rail424 h2 .market-icon{width:17px!important;height:17px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-party-icons424{display:grid!important;grid-template-columns:repeat(2,44px)!important;gap:2px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424{position:relative!important;width:44px!important;height:52px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424>button{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  width:44px!important;height:52px!important;box-sizing:border-box!important;list-style:none!important;cursor:pointer!important;
  background:#314235!important;border:2px solid #a68b5b!important;border-radius:4px!important;overflow:hidden!important
 }
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424>button img{width:36px!important;height:32px!important;object-fit:contain!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424>button span{display:flex!important;align-items:center!important;gap:1px!important;font:700 14px/16px var(--fantasy-copy)!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424>button .market-icon{width:14px!important;height:14px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424>button:focus-visible{outline:3px solid #f5d477!important;outline-offset:2px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-detail424{
  display:none!important;position:absolute!important;left:48px!important;top:0!important;z-index:90!important;
  width:210px!important;padding:8px!important;box-sizing:border-box!important;
  background:#17231df8!important;border:2px solid #c7a865!important;border-radius:5px!important;box-shadow:0 8px 20px #08100ddd!important
 }
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-icon424:is(:hover,:focus-within,.is-open):not(.is-dismissed)>.market-hero-detail424{display:block!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-detail424>p{display:flex!important;align-items:center!important;gap:4px!important;margin:5px 0 0!important;font:16px/20px var(--fantasy-copy)!important;white-space:nowrap!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-hero-detail424>p .market-icon{width:17px!important;height:17px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .tavern-deck36{
  position:fixed!important;top:76px!important;left:8px!important;width:96px!important;height:48px!important;
  padding:4px!important;justify-content:center!important;font:700 16px/19px var(--fantasy-copy)!important
 }
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .tavern-deck36 .icon{width:20px!important;height:20px!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .tavern-deck36>span{font-size:14px!important}
}
@media (prefers-reduced-motion:no-preference){
}
@keyframes quest-glow424{50%{box-shadow:0 0 0 2px #231805,0 0 21px 5px #f8d568c9}}

/* Compact laptop: place Rest in the free rail below the hero icon. */
@media (min-width:901px) and (max-width:1259px) and (min-aspect-ratio:1/1){
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .market-party-rail424{top:126px!important}
}

/* Keep the two quoted services beside Mara's single offer on a wide laptop. */
@media (min-width:1400px) and (max-height:760px){
}

/* Default laptop counter: reserve readable rules and purchase rows before artwork. */
@media (min-width:901px) and (min-aspect-ratio:1/1){
 body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern .patron-shop-error{margin:0 0 4px!important;font:16px/20px var(--fantasy-copy)!important}
 body[data-story=true][data-style=hybrid][data-phase=tavern] #tavern .quest-selected477{position:absolute;right:4px;top:-20px;background:#304b34;padding:0 5px;font:700 16px/20px var(--fantasy-copy)}
}

/* Compact physical offers at the foreground tables. The same face lifts to reveal its complete rules. */
@media(min-width:0px){
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid{position:fixed!important;inset:auto 16px 10px 112px!important;height:194px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important;align-items:start!important;background:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid>.patron-stock{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:5px!important;height:auto!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock>header{height:24px!important;min-height:24px!important;max-height:24px!important;background:#17251ddd!important;border-bottom:1px solid #b8985b!important;margin:0!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-cards{display:grid!important;grid-template-columns:repeat(var(--patron-offers),minmax(0,180px))!important;justify-content:center!important;align-items:start!important;gap:8px!important;overflow:visible!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid [data-patron=Tess] .patron-stock-cards{grid-template-columns:repeat(var(--patron-offers),minmax(0,180px))!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-offer{position:relative!important;display:flex!important;flex-direction:column!important;gap:4px!important;width:100%!important;max-width:180px!important;min-width:0!important;height:auto!important;overflow:visible!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-card-object{position:relative!important;inset:auto!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;max-width:none!important;overflow:visible!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-card-object>:is(.ability,.market-hero-card){position:absolute!important;inset:0!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;max-width:none!important;overflow:hidden!important;transform:rotate(-2deg)!important;transform-origin:center bottom!important;box-shadow:0 5px 6px #0009!important;border:0!important;border-radius:3px!important;z-index:1!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-card-object>.ability>.ability-face15{display:grid!important;grid-template-rows:36px minmax(0,1fr)!important;min-height:0!important;max-height:none!important;min-width:0!important;max-width:none!important;height:100%!important;width:100%!important;box-sizing:border-box!important;transform:none!important;flex:none!important;margin:0!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .af15-heading{display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;gap:4px!important;padding:2px 4px!important;box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .af15-heading .af15-name{grid-column:1!important;min-width:0!important;width:auto!important;font:700 16px/18px var(--fantasy-title)!important;white-space:normal!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.af15-effect,.af15-kind,.af15-footer){display:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-hero-card>.unit-card-face{position:static!important;inset:auto!important;display:grid!important;grid-template-rows:28px minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-hero-card :is(.hero-class-name,.hero-body){display:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-hero-card img{grid-row:2!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-hero-card .hybrid-unit-name{position:static!important;grid-row:1!important;font:700 18px/24px var(--fantasy-title)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-offer>button:not(.market-recruit-kit27){position:static!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;height:44px!important;min-height:44px!important;max-height:none!important;font:700 16px/19px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-recruit-upkeep18{position:absolute!important;inset:auto 0 0!important;display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;min-height:42px!important;z-index:3!important;margin:0!important;padding:4px!important;background:#1c2922f5!important;font:16px/20px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-recruit-kit27{position:absolute!important;inset:36px auto auto calc(100% + 6px)!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:4px!important;z-index:4!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object){z-index:140!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object)>:is(.ability,.market-hero-card){inset:auto auto 0 50%!important;width:300px!important;height:auto!important;min-height:430px!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important;transform:translateX(-50%) rotate(0)!important;box-shadow:0 12px 24px #000b!important;z-index:140!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object)>.ability>.ability-face15{grid-template-rows:minmax(44px,max-content) minmax(140px,1fr) auto auto!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .af15-effect{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;padding:10px!important;overflow:visible!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .af15-effect :is(.plain-card-copy21,.af15-words){font:18px/24px var(--fantasy-copy)!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .af15-heading .af15-name{grid-column:1!important;min-width:0!important;width:auto!important;font:700 21px/25px var(--fantasy-title)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .market-hero-card>.unit-card-face{grid-template-rows:34px minmax(0,1fr) 24px 68px!important;padding-bottom:46px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .market-hero-card :is(.hero-class-name,.hero-body){display:block!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .market-recruit-upkeep18{display:flex!important;flex-direction:column!important;gap:0!important;z-index:141!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .story-forest-exit19{position:fixed!important;inset:45dvh 12px auto auto!important;width:170px!important;min-height:56px!important;height:auto!important;z-index:40!important;padding:8px!important;font:700 18px/22px var(--fantasy-copy)!important;background:#304d2bee!important;border:2px solid #dfc27d!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .story-forest-exit19 small{font:16px/20px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern #storyRestChoices17{position:fixed!important;inset:auto auto 16px calc(50vw - 108px)!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:140px!important;z-index:35!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern #storyRestChoices17 button{min-height:60px!important;height:60px!important;padding:4px!important;gap:1px!important;font:16px/18px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid [data-patron=Mara] .patron-stock-cards{justify-content:start!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .market-reroll{position:fixed!important;inset:12px auto auto 8px!important;z-index:35!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary{top:80px!important;left:var(--patron-head-x)!important;transform:translateX(-50%)!important;height:auto!important;min-height:0!important;max-height:100px!important;width:190px!important;padding:6px!important;overflow:visible!important;background:#18251de8!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary .quest-summary-goal{display:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-tavern-room{object-fit:fill!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-tavern{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .af15-cost{grid-column:2!important;position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:30px!important;padding:0!important;box-sizing:border-box!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .af15-cost svg{width:16px!important;height:16px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .af15-art{position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;transform:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object) .af15-footer{display:block!important;}
}

body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-offer:is(.is-inspected,:has(.market-card-object:focus-within)){z-index:180!important;}

/* Same town objects on narrow screens, with independent Buy controls. */
@media(max-width:900px),(max-aspect-ratio:1/1){
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern {overflow:hidden!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .market-shell,.market-overview{position:static!important;overflow:visible!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-tavern{position:fixed!important;inset:174px 0 auto!important;width:100vw!important;height:50vw!important;aspect-ratio:2!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-tavern-room{object-fit:fill!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary{position:fixed!important;top:48px!important;left:8px!important;transform:none!important;width:calc(50vw - 12px)!important;height:58px!important;max-height:58px!important;padding:5px!important;box-sizing:border-box!important;font:14px/17px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-patron-target[data-patron-name=Mara] .composed-quest-summary{left:calc(50vw + 4px)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-patron-target[data-patron-name=Bram] .composed-quest-summary{top:110px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-patron-target[data-patron-name=Tess] .composed-quest-summary{top:110px!important;left:calc(50vw + 4px)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary .quest-summary-title{height:auto!important;min-height:18px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary .quest-summary-title strong{font:700 14px/17px var(--fantasy-copy)!important;white-space:normal!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .composed-quest-summary::after,.room-patron-portraits15{display:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid{z-index:70!important;inset:auto 8px 62px!important;height:360px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,176px)!important;gap:8px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid>.patron-stock{height:176px!important;max-height:176px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock>header{height:22px!important;min-height:22px!important;max-height:22px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-cards{width:100%!important;grid-template-columns:repeat(var(--patron-offers),minmax(0,1fr))!important;gap:4px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid [data-patron=Tess] .patron-stock-cards{grid-template-columns:repeat(var(--patron-offers),minmax(0,1fr))!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-offer{width:100%!important;max-width:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-card-object{filter:none!important;height:100px!important;min-height:100px!important;max-height:100px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-card-object>:is(.ability,.market-hero-card){height:100px!important;min-height:100px!important;max-height:100px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .patron-stock-offer>button:not(.market-recruit-kit27){height:44px!important;min-height:44px!important;font:700 16px/18px var(--fantasy-copy)!important;padding:3px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-recruit-kit27{inset:38px 4px auto auto!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid .market-recruit-upkeep18{font:14px/17px var(--fantasy-copy)!important;padding:2px!important;min-height:36px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-offers-grid :is(.market-card-object:hover,.market-card-object:focus-within,.patron-stock-offer.is-inspected .market-card-object)>:is(.ability,.market-hero-card){position:fixed!important;inset:auto auto 64px 50%!important;width:min(300px,calc(100vw - 24px))!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern #storyRestChoices17{inset:auto 8px 430px!important;width:auto!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern #storyRestChoices17 button{height:50px!important;min-height:50px!important;font:15px/17px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .story-forest-exit19{inset:auto 8px 488px auto!important;width:154px!important;min-height:44px!important;font:16px/18px var(--fantasy-copy)!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .market-party-rail424{top:calc(100dvh - 536px)!important;left:8px!important;width:96px!important;max-height:90px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .market-party-rail424 h2{display:none!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .tavern-deck36{display:flex!important;z-index:62!important;top:calc(100dvh - 590px)!important;left:8px!important;width:96px!important;height:44px!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern .market-reroll{position:fixed!important;inset:auto auto 488px 110px!important;width:110px!important;z-index:36!important;display:block!important;}
body[data-story=true][data-style=hybrid][data-phase=tavern][data-tavern-rail424=true] #tavern#tavern:has(.patron-stock-offer.is-inspected,.market-card-object:focus-within) .tavern-offers-grid{z-index:150!important;}
}
