/* Visible patron names are direct targets, including the narrow composed scene. */
@media(max-width:700px){
.composed-tavern .composed-patron-name{
 pointer-events:auto!important;
 cursor:pointer;
 z-index:3;
 min-width:44px;
 min-height:28px;
 display:flex;
 align-items:center;
 justify-content:center;
}

}
.composed-tavern .composed-patron-name:focus-visible{
 opacity:1!important;
 outline:3px solid #f5d477!important;
 outline-offset:2px;
}
/* After a bonus choice, keep earned XP in a compact row on phones. */
@media(max-width:700px) and (min-height:501px){
 #lootContent .loot-layout:not(.loot-with-cards){
  grid-template-rows:auto auto auto auto;
  align-content:start;
 }
 #lootContent .loot-layout:not(.loot-with-cards) .loot-heroes{
  min-height:0;
  grid-auto-rows:auto;
  align-content:start;
 }
 #lootContent .loot-layout:not(.loot-with-cards) .loot-heroes article{
  min-height:0;
 }
 #lootContent .loot-layout:not(.loot-with-cards) .loot-heroes article>img{
  height:68px;
 }
}
@media(max-width:700px) and (min-height:501px){
 #lootPanel:has(.loot-layout:not(.loot-with-cards)) .overlay-card.loot-card,
 #lootPanel:has(.loot-layout:not(.loot-with-cards)) #lootContent,
 #lootPanel:has(.loot-layout:not(.loot-with-cards)) .loot-layout{
  height:auto;
  max-height:calc(100dvh - 28px);
 }
}

/* The compact phone HUD must sit behind open trail details. */
@media(max-width:700px){#forecastPanel.overlay:not([hidden]){z-index:220!important}}
