/* Referee callout + reset pause. Test copy display only. */
#ref-call {
  position: absolute;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}
/* Fixed centered banner at the top of the mat, above YOU / opponent name tags
   and over the crowd / venue strip. Does not track the referee. */
.ref-bub,
.ref-bub.fallback,
.ref-bub.anchored,
.ref-bub.banner {
  position: absolute;
  left: 50%;
  top: 4px;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 8px;
  text-align: center;
  background: #111;
  color: #fff;
  border: 2px solid #f5d76e;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
  z-index: 50;
}
.ref-bub b {
  display: inline;
  font-family: var(--disp), Oswald, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  margin: 0;
  color: #f5d76e;
}
.ref-bub.tight {
  top: 3px;
  padding: 3px 8px;
  font-size: 11px;
  gap: 0 6px;
}
.ref-bub.tight b { font-size: 10.5px; }
.ref-reset {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.86);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: var(--disp), Oswald, sans-serif;
  white-space: nowrap;
  z-index: 50;
}
#ref-call.fallback-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
  background: rgba(0,0,0,.35);
  z-index: 80;
}
#st.ref-paused .sher-pop,
#st.ref-paused .fxtxt,
#st.ref-paused .fxflash,
#st.ref-paused .pop { display: none; }
@media (max-width: 520px) {
  .ref-bub,
  .ref-bub.fallback,
  .ref-bub.anchored,
  .ref-bub.banner {
    top: 3px;
    width: calc(100% - 12px);
    padding: 3px 8px;
    font-size: 11px;
  }
  .ref-bub b { font-size: 10.5px; }
}
