/*
	Maximum Exposure site styles.
	Project-specific layout, branding, broadcast, and responsive overrides.
*/
/* Canonical nav label interaction.
   Resting and active labels render as ordinary browser text so the sidebar
   keeps the font's native antialiasing. The clipped gradient is used only
   during the hover/focus animation. */
/* Hover/focus temporarily hands the letters to the clipped gradient:
   WHITE -> RED from LEFT -> RIGHT, with the underline moving opposite. */
/* Active/current section returns to native text rendering: solid red plus
   the permanent underline. */
#watch,
.wrapper.style1 {
  background-color: var(--mx-black);
}
.wrapper.style1-alt,
.wrapper.alt {
  background-color: var(--mx-page-alt);
}
.wrapper.style2 {
  background-color: var(--mx-navy);
  background-image: linear-gradient(var(--mx-schedule-tint), var(--mx-schedule-tint)),
		var(--mx-filmstrip-texture);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.wrapper.style2-alt {
  background-color: var(--mx-surface-alt);
}
.wrapper.style3 {
  background-color: var(--mx-navy-light);
  background-image: linear-gradient(var(--mx-about-tint), var(--mx-about-tint)),
		var(--mx-filmstrip-texture);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.wrapper.style3-alt {
  background-color: var(--mx-navy);
  background-image: linear-gradient(var(--mx-alternate-tint), var(--mx-alternate-tint)),
		var(--mx-filmstrip-texture);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.live-mobile-brand {
  display: none;
}
#watch .live-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.25rem 1rem;
  --mx-live-player-width: min(100%, 60rem);
  flex-direction: column;
}
html {
  scroll-behavior: smooth;
}
@media screen and (min-width: 1281px) {
  html {
    scroll-snap-type: y proximity;
  }
  #watch,
	#schedule,
	#about,
	#past-broadcasts {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  #footer {
    scroll-snap-align: end;
    scroll-snap-stop: normal;
  }
  #watch.wrapper.fullscreen {
    min-height: 100vh;
  }
}
@media screen and (max-width: 1280px) {
  html {
    scroll-snap-type: none;
  }
  #watch,
	#schedule,
	#about,
	#past-broadcasts {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  #watch.wrapper.fullscreen {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  /* Reveal state still has one JS owner; reduced motion removes its movement. */
  .wrapper.fade-up > .inner { transition: none; }
  .wrapper.fade-up.inactive > .inner,
  body.is-preload .wrapper.fade-up > .inner { transform: none; }
}
.live-player {
  position: relative;
  width: var(--mx-live-player-width);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  box-shadow: none;
  flex: 0 0 auto;
}
.mx-live-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}
.mx-offline-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.mx-live-player.is-live .mx-offline-screen {
  display: none;
}
.mx-live-player:not(.is-live) .mx-live-video {
  visibility: hidden;
}
.mx-live-player,
.mx-live-player * {
  -webkit-touch-callout: none;
  user-select: none;
}
.mx-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  color: var(--mx-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}
.mx-control-strip {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 0.5rem 0.5rem;
  background: linear-gradient(transparent, var(--mx-black));
  pointer-events: none;
}
.mx-live-player.is-live.mx-controls-awake .mx-controls {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.mx-live-player.is-live.mx-controls-awake .mx-control-strip,
.mx-live-player.is-live.mx-controls-awake .mx-cast-button {
  pointer-events: auto;
}
.mx-controls [hidden],
.mx-controls[hidden] {
  display: none !important;
}
.mx-controls .mx-control,
.mx-controls .mx-cast-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px;
  margin: 0;
  border: 0 !important;
  border-radius: 4px;
  box-shadow: none;
  background: transparent;
  color: var(--mx-white) !important;
  line-height: 1;
  cursor: pointer;
}
.mx-controls button::after {
  content: none;
  display: none;
}
.mx-controls .mx-cast-button {
  position: absolute;
  top: 8px;
  right: 8px;
}
.mx-controls .mx-cast-button[data-connected="true"] {
  color: var(--mx-red) !important;
}
.mx-quality-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 30px;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.74);
  color: rgba(255, 255, 255, 0.50);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
}
.mx-controls .mx-quality-pill button {
  display: inline;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.62) !important;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
.mx-controls .mx-quality-pill button:hover,
.mx-controls .mx-quality-pill button:focus-visible,
.mx-controls .mx-quality-pill button[aria-pressed="true"] {
  background: transparent;
  color: var(--mx-red) !important;
}
.mx-live-player.is-live.mx-controls-awake .mx-quality-pill {
  pointer-events: auto;
}
.mx-controls .mx-control svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.mx-controls .mx-control:hover {
  background: var(--mx-navy-light);
  color: var(--mx-white);
}
.mx-controls button:focus-visible,
.mx-controls input:focus-visible,
.mx-live-player:focus-visible {
  outline: 2px solid var(--mx-red);
  outline-offset: -2px;
}
.mx-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
.mx-uptime {
  margin-right: auto;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mx-uptime::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--mx-red);
}
.mx-volume {
  display: flex;
  align-items: center;
}
.mx-controls .mx-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 64px;
  height: 24px;
  margin: 0 8px 0 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  --mx-volume-level: 100%;
  cursor: pointer;
}
.mx-controls .mx-volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(to right,
		var(--mx-red) 0%, var(--mx-red) var(--mx-volume-level),
		var(--mx-border-light) var(--mx-volume-level), var(--mx-border-light) 100%);
  box-shadow: none;
}
.mx-controls .mx-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-white);
  box-shadow: none;
}
.mx-controls .mx-volume-slider::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--mx-border-light);
  box-shadow: none;
}
.mx-controls .mx-volume-slider::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--mx-red);
}
.mx-controls .mx-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-white);
  box-shadow: none;
}
.mx-controls .mx-volume-slider:disabled {
  opacity: 0.45;
  cursor: default;
}
.mx-player-menu {
  position: absolute;
  right: 8px;
  bottom: calc(100% - 12px);
  min-width: 180px;
  padding: 4px;
  border: 1px solid var(--mx-border);
  border-radius: 4px;
  background: var(--mx-navy);
}
.mx-controls .mx-player-menu button {
  display: block;
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent;
  color: var(--mx-white) !important;
  font: inherit;
  font-size: 13px;
  letter-spacing: normal;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
}
.mx-controls .mx-player-menu button:hover {
  background: var(--mx-navy-light);
}
.mx-live-player:fullscreen,
.mx-live-player.mx-immersive {
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
}
.mx-live-player.mx-immersive {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100dvh;
}
@media screen and (max-width: 736px), (pointer: coarse) {
  .mx-controls .mx-volume-slider {
    display: none;
  }
}
@media screen and (max-width: 400px) {
  .mx-control-strip {
    gap: 0;
    padding-right: 2px;
    padding-left: 2px;
  }
  .mx-uptime {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mx-controls {
    transition: none;
  }
}
.mx-player-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(90%, 32rem);
  transform: translate(-50%, -50%);
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--mx-red);
  background: rgba(5, 6, 9, 0.88);
  color: var(--mx-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}
/* Pull the schedule upward so it visually follows the live player instead of
   inheriting the template's large section-top padding. */
.schedule-section > .inner {
  padding-top: 1.75rem;
}
.schedule-section {
  background-image: linear-gradient(rgba(7, 18, 44, 0.80), rgba(7, 18, 44, 0.80)),
		var(--mx-filmstrip-texture);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mx-border-light);
}
.schedule-header h2,
.schedule-kicker,
.schedule-broadcast-status,
.schedule-note {
  margin-bottom: 0;
}
.schedule-kicker,
.program-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.schedule-kicker {
  margin-bottom: 0.5rem;
  color: var(--mx-red);
}
.schedule-kicker .schedule-archive-id {
  color: #ffffff;
}
.schedule-note {
  color: var(--mx-muted);
  font-size: 0.85rem;
  text-align: right;
}
.schedule-meta {
  text-align: right;
}
.schedule-broadcast-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--mx-border-light);
  color: var(--mx-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.schedule-broadcast-status[hidden] {
  display: none;
}
.broadcast-status-indicator {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mx-muted);
}
.schedule-broadcast-status.is-live .broadcast-status-indicator {
  background: var(--mx-red);
}
.schedule-broadcast-status.is-offline {
  color: var(--mx-muted);
}
.program-schedule {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mx-border);
}
.program {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.55rem;
  padding: 0.58rem 1.5rem;
  border-bottom: 1px solid var(--mx-border);
  background: rgba(5, 6, 9, 0.16);
}
.program-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mx-muted);
}
.program-status.has-estimated-time {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
}
.program-status-label {
  line-height: 1;
}
.program-estimated-time {
  color: var(--mx-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.program--next .program-estimated-time {
  color: var(--mx-white);
}
.on-air-indicator {
  display: inline-block;
  flex: 0 0 0.55rem;
  align-self: center;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mx-red);
  box-shadow: 0 0 0 0 rgba(201, 35, 50, 0.55);
  animation: mx-on-air-pulse 2s ease-out infinite;
}
@keyframes mx-on-air-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(201, 35, 50, 0.55);
	}

	70%,
	100% {
		box-shadow: 0 0 0 0.5rem rgba(201, 35, 50, 0);
	}
}
.program-title {
  color: var(--mx-secondary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.program-year {
  color: var(--mx-muted);
  font-size: 0.85rem;
}
.program--current {
  padding-left: calc(1.5rem - 4px);
  border-left: 4px solid var(--mx-red);
  background: var(--mx-navy-light);
}
.program--current .program-status {
  color: var(--mx-red);
}
.program--current .program-title {
  color: var(--mx-white);
}
.program--past {
  opacity: 0.42;
}
.program--past .program-title {
  color: var(--mx-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.program--next .program-title {
  color: var(--mx-white);
}
.program--later {
  opacity: 0.72;
}
@media (prefers-reduced-motion: reduce) {
  .on-air-indicator {
    animation: none;
  }
}
@media screen and (max-width: 736px) {
  #watch .live-stage {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.25rem 0.25rem;
  }
  .live-mobile-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: min(0.65rem, 2.5cqi);
    container-type: inline-size;
    width: 100%;
    margin-bottom: 0.7rem;
    padding-left: 0.8rem;
    border-left: 4px solid var(--mx-red);
  }
  .live-mobile-wordmark {
    color: var(--mx-white);
    font-size: min(1.65rem, 6.6cqi);
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
  }
  .live-mobile-wordmark strong {
    color: var(--mx-red);
    font-weight: 800;
  }
  .live-mobile-context {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.42rem;
    color: var(--mx-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .live-mobile-indicator {
    width: 0.45rem;
    height: 0.45rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mx-muted);
  }
  .live-mobile-context[data-state="live"] .live-mobile-indicator {
    background: var(--mx-red);
  }
  .live-mobile-context[data-state="offline"] .live-mobile-indicator,
	.live-mobile-context[data-state="unavailable"] .live-mobile-indicator,
	.live-mobile-context[data-state="checking"] .live-mobile-indicator {
    background: var(--mx-muted);
  }
  .schedule-section > .inner {
    padding-top: 1.25rem;
  }
  .schedule-header {
    display: block;
  }
  .schedule-note {
    text-align: left;
  }
  .schedule-meta {
    text-align: left;
  }
  .program {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "status status"
			"title year";
    gap: 0.5rem 0;
    min-height: 0;
    margin-bottom: 3px;
    padding: 0 1rem 0.58rem calc(1rem - 4px);
    border-left: 4px solid rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--mx-border);
    overflow: hidden;
  }
  .program:last-child {
    margin-bottom: 0;
  }
  /* Mobile rundown rail: one continuous marker visually binds each status
	   strip to its movie row. Upcoming entries are bright, completed entries
	   recede to gray-white, and the live item retains Maximum Exposure red. */
  .program--past {
    border-left-color: rgba(214, 218, 224, 0.42);
  }
  .program--current {
    border-left-color: var(--mx-red);
  }
  .program-status {
    grid-area: status;
    min-width: 0;
    width: calc(100% + 2rem - 4px);
    margin-left: calc(-1rem + 4px);
    padding: 0.42rem 1rem;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid var(--mx-border);
  }
  .program-status.has-estimated-time {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }
  .program-estimated-time {
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
  }
  .program-title {
    grid-area: title;
    min-width: 0;
    padding-right: 0.65rem;
    line-height: 1.3;
    overflow-wrap: break-word;
  }
  .program-year {
    grid-area: year;
    justify-self: end;
    align-self: baseline;
    white-space: nowrap;
  }
  .program-year::before {
    content: "—";
    margin-right: 0.45rem;
    color: var(--mx-border);
  }
}
.site-now-playing {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex: 0 0 auto;
  width: var(--mx-live-player-width);
  max-width: 100%;
  margin: 0.65rem 0 0;
  padding: 0 0.7rem;
  border-left: 4px solid var(--mx-red);
  background: rgba(5, 6, 9, 0.82);
  line-height: 1.15;
}
.site-now-playing-copy {flex:1;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:0.75rem;padding:0.42rem 0;}

.site-now-playing-label {
  color: var(--mx-red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-now-playing-title {
  min-width: 0;
  color: var(--mx-white);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-now-playing-offline-label,
.site-now-playing-offline-title {
  display: none;
}
.site-now-playing[data-state="offline"] {
  display: flex;
}
.site-now-playing[data-state="offline"] .site-now-playing-live-label,
.site-now-playing[data-state="offline"] .site-now-playing-live-title {
  display: none;
}
.site-now-playing[data-state="offline"] .site-now-playing-offline-label {
  display: block;
}
.site-now-playing[data-state="offline"] .site-now-playing-offline-title {
  display: none;
}
.site-now-playing[data-state="unavailable"],
.site-now-playing[data-state="checking"] {
  display: none;
}
.schedule-loading {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--mx-border);
  color: var(--mx-muted);
  list-style: none;
}
@media screen and (min-width: 737px) and (max-width: 1280px) {
  #watch .live-stage {
    --mx-live-player-width: min(90vw, 52rem);
  }
}
@media screen and (max-width: 736px) {
  #watch .live-stage {
    --mx-live-player-width: 100%;
  }
  .live-player {
    flex: 0 0 auto;
    width: var(--mx-live-player-width);
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
  }
  .site-now-playing {
    position: static;
    z-index: auto;
    flex: 0 0 auto;
    width: var(--mx-live-player-width);
    gap: 0.55rem;
    margin: 0.8rem 0 0;
    padding: 0 0.6rem;
  }
  .site-now-playing-copy {gap:0.55rem;padding:0.24rem 0;}
  .site-now-playing-label {
    font-size: 0.58rem;
  }
  .site-now-playing-title {
    font-size: 0.78rem;
  }
}
@media screen and (max-width: 736px) {
  .schedule-broadcast-status {
    display: none !important;
  }
  .schedule-meta {
    margin-top: 0.65rem;
  }
}
/* About material treatment: one distressed section surface forms the base layer.
   The opening statement sits directly on that surface; only the five feature sections are foreground cells. */
.live-mobile-mark {
  display: none;
}
@media screen and (max-width: 736px) {
  .live-mobile-mark {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: min(4.75rem, 18cqi);
    height: auto;
    margin: 0;
  }
  .live-mobile-wordmark {
    margin: 0;
    /* Center the uppercase ink with the mark, rather than its taller font box. */
    transform: translateY(0.085em);
  }
}
.mx-cast-status { flex-direction:column; gap:0.85rem; position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; padding:1.5rem; background:var(--mx-navy, #0b1020); color:var(--mx-white); font-size:clamp(0.8rem,2vw,1.1rem); text-align:center; pointer-events:none; }
.mx-cast-status[hidden] { display:none; }
.mx-cast-dots { display:inline-block; width:3ch; font-family:monospace; text-align:left; clip-path:inset(0 2ch 0 0); animation:mx-cast-dots 1.5s steps(1,end) infinite; }
.mx-cast-dots[hidden] { display:none; }
@keyframes mx-cast-dots {
  0%, 32% { clip-path:inset(0 2ch 0 0); }
  33%, 65% { clip-path:inset(0 1ch 0 0); }
  66%, 100% { clip-path:inset(0 0 0 0); }
}
@media (prefers-reduced-motion:reduce) {
  .mx-cast-dots { animation:none; clip-path:none; }
}

.mx-live-player.is-casting .mx-live-video { visibility:hidden; }
.mx-live-player.is-casting .mx-player-message { display:none; }
/* Main Event schedule placeholder.
   This row is fixed-time metadata, not part of the runtime estimate math. */
.program--special {
  margin-top: 1rem;
  border-top: 1px solid rgba(220, 2, 11, 0.52);
  border-bottom-color: rgba(220, 2, 11, 0.24);
  background: var(--mx-feature-surface);
  box-shadow: inset 4px 0 0 rgba(220, 2, 11, 0.72);
  opacity: 0.96;
}
.program--special .program-status {
  color: rgba(255, 190, 194, 0.92);
}
/* Main Event appointment metadata: stacked on desktop, aligned to the
   existing right-side time position on mobile. */
.program--special .program-status.main-event-status {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}
.program--special .main-event-appointment {
  margin-left: 0;
}
.program--special .program-title {
  color: var(--mx-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.program--special .program-year {
  display: inline;
}
.program[hidden] {
  display: none;
}
@media screen and (max-width: 736px) {
  .program--special {
    margin-top: 0.85rem;
    border-left-color: rgba(220, 2, 11, 0.78);
    box-shadow: none;
  }
  .program--special .program-status {
    color: var(--mx-secondary);
  }
  .program--special .program-status.main-event-status {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }
  .program--special .main-event-appointment {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
  }
  .program--special .program-title {
    padding-right: 0;
  }
}
/* Main Event active state: keep the row visible and make it unmistakably ON AIR. */
.program--special.program--current {
  opacity: 1;
  background: var(--mx-feature-current-surface);
  border-left-color: var(--mx-red);
  border-top-color: rgba(220, 2, 11, 0.8);
  border-bottom-color: rgba(220, 2, 11, 0.42);
  box-shadow: inset 4px 0 0 var(--mx-red),
		inset 0 0 0 1px rgba(220, 2, 11, 0.16);
}
.program--special.program--current .program-status {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.program--special.program--current .program-title {
  color: #fff;
}
@media screen and (max-width: 736px) {
  .program--special.program--current {
    border-left-color: var(--mx-red);
    box-shadow: none;
  }
  .program--special.program--current .program-status {
    color: #fff;
  }
}
.site-announcement {
  position: relative;
  z-index: 2;
  width: var(--mx-live-player-width);
  max-width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.72rem;
  border-left: 4px solid var(--mx-red);
  background: rgba(5, 6, 9, 0.82);
  line-height: 1.25;
}
.site-announcement[hidden] {
  display: none !important;
}
.site-announcement-title,
.site-announcement-message {
  display: block;
}
.site-announcement-title {
  color: var(--mx-red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-announcement-message {
  margin-top: 0.16rem;
  color: var(--mx-white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.site-announcement-title[hidden],
.site-announcement-message[hidden] {
  display: none !important;
}
@media screen and (max-width: 736px) {
  .site-announcement {
    margin-bottom: 0.45rem;
    padding: 0.44rem 0.62rem;
  }
  .site-announcement-title {
    font-size: 0.6rem;
  }
  .site-announcement-message {
    font-size: 0.8rem;
  }
}
/* Canonical two-line schedule helper treatment. */
.schedule-helper-brand,
.schedule-helper-subline {
  display: block;
}
.schedule-helper-brand {
  font-size: 0.78em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.schedule-helper-subline {
  margin-top: 0.12rem;
  opacity: 0.72;
  font-size: 0.76em;
  letter-spacing: 0.015em;
}
.schedule-live-note {
  display: block;
  margin: 0.32rem 0 0;
  max-width: 42rem;
  color: var(--mx-white);
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
  opacity: 0.9;
  white-space: pre-line;
}
.schedule-live-note[hidden] {
  display: none !important;
}
/* Compact branding shares theme paint/effects while retaining its fit rules. */
.mx-compact-brand {
  position: relative;
  isolation: isolate;
}
.mx-compact-brand img {
  filter: var(--mx-compact-filter);
}
.live-mobile-mark img {
  display: block;
  width: 100%;
  height: auto;
}
.mx-compact-brand::after {
  content: var(--mx-compact-effect-content);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--mx-logo-effect);
  background-size: var(--mx-logo-effect-size);
  background-repeat: repeat;
  -webkit-mask-image: var(--mx-compact-mask);
  mask-image: var(--mx-compact-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: var(--mx-compact-effect-opacity);
  mix-blend-mode: screen;
}
.mx-theme-switches {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
}
.mx-local-preview {
  position: fixed;
  z-index: 11000;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: .4rem;
  width: min(15rem,calc(100vw - 2rem));
  max-height: 80dvh;
  overflow: auto;
  padding: .8rem;
  background: var(--mx-navy);
  border: 1px solid var(--mx-detail-accent);
  color: var(--mx-white);
}
.mx-local-preview button {
  height: auto;
  line-height: 1.4;
  letter-spacing: 0;
  padding: .5rem;
  font-size: .75rem;
}


/* Unavailable-repeat notice inside the existing Main Event component.
   Takeover inherits all box, status, title, year and active-state styling. */
.program--takeover .main-event-appointment { white-space: normal; }
@media screen and (min-width: 1281px) {
  .program--takeover .program-status.main-event-status {
    align-items: center;
    text-align: center;
  }
}
.takeover-details { grid-column: 2 / -1; min-width: 0; margin-top: -0.85rem; font-size: 0.76rem; letter-spacing: 0.025em; line-height: 1.65; }
.takeover-details > span { display: block; overflow-wrap: anywhere; }
.takeover-repeat-notice { color: var(--mx-secondary); }
@media screen and (max-width: 736px) {
  .takeover-details { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
}

/* A repeat timetable belongs to one program/block, rather than duplicated films. */
.takeover-showings {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--mx-border);
  background: rgba(5, 6, 9, 0.16);
}
.takeover-showings-title {
  text-transform: uppercase;
  margin: 0;
  padding-top: 0.2rem;
  color: var(--mx-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.takeover-showings-list { list-style: none; margin: 0; padding: 0; max-width: 24rem; }
.takeover-showing {
  display: block;
  padding: 0.28rem 0;
  color: var(--mx-secondary);
  font-size: 1.1rem;
  line-height: 1.5;
}
.takeover-showing + .takeover-showing { border-top: 1px solid var(--mx-border); }
.takeover-showtime { font-variant-numeric: tabular-nums; }
.takeover-showing.is-next { color: var(--mx-white); font-weight: 700; }
@media screen and (max-width: 736px) {
  .takeover-showings { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; padding: 0.85rem 1rem; }
}
