/* Shared broadcast header: count is content, never an overlay on the brand. */
header.scene-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  z-index: 12;
}
.scene-header > a { grid-area: 1 / 1; justify-self: start; }
.scene-header > span { grid-area: 1 / 3; justify-self: end; min-width: 0; max-width: 100%; text-align: right; }
.crowd-summary {
  position: absolute;
  left: 50%;
  top: 23px;
  transform: translateX(-50%);
  z-index: 12;
  padding: 5px 10px;
  border-radius: 4px;
  background: #173f3ddd;
  border: 1px solid #e7ecd62b;
  color: #f8f2d9;
  font: 500 10px/1.4 system-ui;
  pointer-events: none;
  max-width: 100%;
  white-space: normal;
}
.scene-header > .crowd-summary {
  position: static;
  grid-area: 1 / 2;
  justify-self: center;
  transform: none;
}
body.studio-preview header.scene-header { display: none; }
body.studio-preview .crowd-summary {
  top: 8px;
  right: 8px;
  left: auto;
  transform: none;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
}
@media (max-width: 650px) {
  header.scene-header { grid-template-columns: auto minmax(0, 1fr); }
  .scene-header > span { grid-area: 1 / 2; }
  .scene-header > .crowd-summary { grid-area: 2 / 1 / 3 / -1; justify-self: start; }
  body:not(.studio-preview) .heading { top: 108px; max-width: calc(100% - 112px); }
  body:not(.studio-preview) .round { top: 108px; }
  body:not(.studio-preview) .league-chip { top: 84px; }
  body:not(.studio-preview) .mission,
  body:not(.studio-preview) .rankboard { top: 224px; }
}
