/* Keep every hero reachable without shrinking the artwork or room controls. */
#room-screen[data-roster-revision="1"] #room-character-grid{max-height:min(340px,38dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#room-character-grid button[hidden]{display:none!important}
@media(max-height:600px){
 #room-screen[data-roster-revision="1"] #room-character-grid{display:flex;flex-wrap:nowrap;grid-template-rows:none;overflow-x:auto;overflow-y:hidden;max-height:none;min-height:58px;padding:4px 5px}
 #room-screen[data-roster-revision="1"] #room-character-grid button{flex:0 0 49px;min-width:49px;display:flex;flex-direction:column;gap:1px;min-height:49px;padding:2px}
 #room-screen[data-roster-revision="1"] #room-character-grid button img{width:31px;height:32px}
 #room-screen[data-roster-revision="1"] #room-character-grid button .creature-name{font-size:10px;line-height:12px}
}
