/* Keep the live court controls together; secondary panels retain their scroll. */
@media(max-width:700px){
 #app-shell #tab-partidos #subtab-rotacion.pm-mobile-court:not(.pm-finalized) .pm-pro-grid{display:none!important}
}
@media(max-width:700px) and (max-height:760px){
 #app-shell #tab-partidos #subtab-rotacion:not(.pm-finalized){padding:4px!important;padding-bottom:max(4px,env(safe-area-inset-bottom))!important}
 html body #app-shell #tab-partidos #subtab-rotacion:not(.pm-finalized) .pm-pro-toolbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:6px!important}
 #mobile-score255{width:auto!important;gap:5px!important;border-bottom:0!important;padding:0!important}
 #mobile-score255>div{gap:2px 4px!important;grid-template-columns:1fr!important;text-align:center;min-width:0;padding:0 2px 11px!important}
 #mobile-score255 strong{font-size:22px!important}
 #mobile-score255 span{font-size:10px!important}
 #mobile-score255 small{font-size:9px!important;white-space:nowrap}
 #mobile-score255 .score-hint261{font-size:8px!important}
 #app-shell #tab-partidos #subtab-rotacion .pm-pro-toolbar-actions{display:flex!important;flex-wrap:nowrap!important;gap:3px!important;justify-content:center!important;padding-top:17px!important}
 #app-shell #tab-partidos #pm-pro-clock{font-size:23px!important;padding:0!important;min-width:0!important}
 #app-shell #tab-partidos #pm-clock-btn-top{min-width:44px!important;padding:6px!important;font-size:12px!important}
 html body #app-shell #tab-partidos #subtab-rotacion #pm-mobile-tabs{padding:2px!important;margin:3px 0!important}
 #mobile-action255{padding:0 6px!important;margin:4px 0!important;min-height:44px!important}
 #mobile-action255>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body #app-shell #tab-partidos #pm-mobile-five-v236{margin:3px 0 0!important}
 #pm-mobile-five-v236 .quick-five-title{min-height:20px!important;margin:0 0 3px!important;font-size:12px!important}
 #pm-mobile-five-v236 [data-multi261]{display:none!important}
 #pm-mobile-five-v236 .quick-five-players{gap:4px!important}
 #pm-mobile-five-v236 .live-player-row{padding:1px 6px!important}
 #pm-mobile-five-v236 .live-player-name{margin-bottom:1px!important;gap:4px!important;line-height:16px!important}
 #pm-mobile-five-v236 .live-player-name>strong{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #pm-mobile-five-v236 .live-player-name>b{font-size:12px!important;min-width:24px!important}
 #pm-mobile-five-v236 .live-player-data{gap:4px!important}
 #pm-mobile-five-v236 .live-player-data strong{font-size:18px!important}
 #pm-mobile-five-v236 .live-player-data small{font-size:8px!important}
 #pm-mobile-five-v236 .live-player-data button{min-height:44px!important;padding:4px!important;font-size:11px!important}
}
