/* ScoreMV 2.9.77: high-contrast reference icons on iPad landscape.
   Overrides older generic headbtn styles and removes dark control tiles. */
@media (orientation:landscape) and (min-width:900px) and (max-width:1600px) and (min-height:600px) {
 body.phone-umpire:has(.bc-console) .bc-console-header .bc-header-right {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:300px!important;max-width:32vw!important;top:12px!important;right:12px!important;
  gap:5px!important;align-items:start!important;justify-items:center!important;
  background:transparent!important;box-shadow:none!important;border:0!important;
  overflow:visible!important;opacity:1!important;visibility:visible!important;
 }
 body.phone-umpire:has(.bc-console) .bc-console-header .bc-header-right button.bc-reference-icon {
  display:flex!important;visibility:visible!important;opacity:1!important;
  flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;min-width:0!important;min-height:82px!important;height:auto!important;
  padding:4px 1px!important;margin:0!important;
  background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;text-shadow:none!important;
  color:#5bd2ff!important;-webkit-text-fill-color:#5bd2ff!important;
  font-size:12px!important;line-height:1.1!important;white-space:normal!important;
  pointer-events:auto!important;touch-action:manipulation!important;
 }
 body.phone-umpire:has(.bc-console) .bc-reference-icon .bc-reference-glyph {
  display:block!important;opacity:1!important;visibility:visible!important;
  font-size:43px!important;line-height:1!important;font-weight:900!important;
  color:#45caff!important;-webkit-text-fill-color:#45caff!important;
  filter:drop-shadow(0 1px 2px #000)!important;
 }
 body.phone-umpire:has(.bc-console) .bc-reference-icon .bc-reference-label {
  display:block!important;opacity:1!important;visibility:visible!important;
  font-size:13px!important;font-weight:900!important;line-height:1.15!important;
  color:#62d6ff!important;-webkit-text-fill-color:#62d6ff!important;
  text-align:center!important;text-shadow:0 1px 2px #000!important;
 }
 body.phone-umpire:has(.bc-console) .bc-reference-incident {grid-column:1!important;grid-row:1!important}
 body.phone-umpire:has(.bc-console) .bc-reference-parameters {grid-column:2!important;grid-row:1!important}
 body.phone-umpire:has(.bc-console) .bc-reference-sheet {grid-column:3!important;grid-row:1!important}
 body.phone-umpire:has(.bc-console) .bc-reference-incident .bc-reference-glyph {color:#ffe600!important;-webkit-text-fill-color:#ffe600!important}
 body.phone-umpire:has(.bc-console) .bc-reference-sheet .bc-reference-glyph {color:#4cff60!important;-webkit-text-fill-color:#4cff60!important}
 body.phone-umpire:has(.bc-console) .bc-console-header .bc-header-right button.bc-reference-icon:active {filter:brightness(1.4)!important}
 body.phone-umpire:has(.bc-console) .bc-header-right button:not(.bc-reference-icon),
 body.phone-umpire:has(.bc-console) .bc-header-right .bc-live-badge {display:none!important}
 body.phone-umpire:has(.bc-console) .bc-shuttle-controls {top:24%!important;right:3%!important}
}
