/* Shuttloop V3.5.2: layout and touch hardening for the reference match board. */
#pgBracketSection .rb-map-viewport,#gpBracketSection .rb-map-viewport{min-height:0!important;height:auto!important;max-height:none!important}
#pgBracketSection .rb-map-stage,#gpBracketSection .rb-map-stage{min-height:0!important;flex-shrink:0}
#pgBracketSection .rb-map-world,#gpBracketSection .rb-map-world{overflow:visible}
#pgBracketSection .rb-score-board,#gpBracketSection .rb-score-board{position:relative;z-index:1}
#pgBracketSection .rb-map-viewport,#gpBracketSection .rb-map-viewport{position:relative;z-index:0}
#pgBracketSection .rb-map-lines,#gpBracketSection .rb-map-lines{display:block!important}
#pgBracketSection .rb-tree-match,#gpBracketSection .rb-tree-match{visibility:visible!important;opacity:1!important}
#pgBracketSection .rb-map-stage,#gpBracketSection .rb-map-stage{overflow:visible!important}
.rb-top-cards .rb-match{touch-action:manipulation}
.rb-tree-match{touch-action:manipulation}
.rb-controls button{touch-action:manipulation}
/* The match editor remains readable with the Android keyboard open. */
.ib-edit-backdrop{position:fixed!important;inset:0!important;z-index:2147483400!important;overflow-y:auto!important;overscroll-behavior:contain}
.ib-edit-card{max-height:calc(100dvh - 24px);overflow-y:auto}
.rb-tree-title{max-width:100%}
@media(max-width:640px){
 #pgBracketSection .rb-map-viewport,#gpBracketSection .rb-map-viewport{overflow-x:auto!important;overflow-y:hidden!important}
 .rb-toolbar .rb-controls{flex-wrap:wrap}
 .rb-score-board{min-width:0}
 .rb-top-cards{min-width:0}
 .rb-map-stage{max-width:none!important}
}
