@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root { --broadcast-bar-height: 58px; }
.broadcast-heading {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(9px,.8vw,15px);
  white-space: nowrap;
  height: var(--broadcast-bar-height);
  padding: 0 clamp(14px,1.8vw,38px);
  background: linear-gradient(100deg,#151333f0,#2b2358d9 52%,#221a3bc2), url('/assets/milky-way.webp') center 25% / cover;
  border-bottom: 1px solid #c5b4ed42;
}
.broadcast-openai {
  display: block;
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
}
.broadcast-heading .broadcast-event-name {
  margin: 0;
  color: #fffbff;
  font: 700 clamp(27px,2.6vw,38px)/1.15 system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  letter-spacing: normal;
}
.broadcast-byline {
  margin-inline-start: auto;
  color: #dfdaee;
  font: 550 clamp(12px,.88vw,16px)/1.2 "Instrument Sans",system-ui,sans-serif;
}
#broadcast-heading { position: fixed; inset: 0 0 auto; z-index: 10000; }
body[data-embedded="true"] > .broadcast-heading { display: none; }
.broadcast-status { display: flex; align-items: center; gap: 10px; }
.connection-state { display: inline-flex; align-items: center; gap: 4px; color: #d4f5e7; font: 650 10px/1.2 system-ui,sans-serif; }
.connection-state::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #9aeccf; }
.connection-state.stale { color: #ccd1df; }
.connection-state.stale::before { background: #aebbd3; }
.openai-inline { width: 1.06em; height: 1.06em; vertical-align: -.17em; margin-inline-end: .24em; filter: brightness(0) invert(1); }
@media (max-width:640px) {
  :root { --broadcast-bar-height: 47px; }
  .broadcast-heading { gap: 8px; padding-inline: 12px; }
  .broadcast-heading .broadcast-event-name { font-size: clamp(15px,calc(8vw - 10px),29px); }
  .broadcast-byline { font-size: clamp(10px,2.8vw,12px); }
  .broadcast-openai { width: 25px; height: 25px; }
}
