.cl-broadcast-spine {
  --cl-spine-accent: #65ffd4;
  --cl-spine-progress: 100%;
  position: fixed;
  z-index: 96;
  left: 50%;
  bottom: calc(42px + env(safe-area-inset-bottom));
  width: min(680px, calc(100vw - 32px));
  min-height: 82px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  color: #f7f8f4;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--cl-spine-accent) 16%, rgba(5, 8, 12, .96)) 0%, rgba(5, 8, 12, .96) 34%, rgba(2, 4, 7, .94) 100%);
  border: 1px solid color-mix(in srgb, var(--cl-spine-accent) 52%, rgba(255, 255, 255, .18));
  border-left: 4px solid var(--cl-spine-accent);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .48), 0 0 28px color-mix(in srgb, var(--cl-spine-accent) 17%, transparent);
  backdrop-filter: blur(13px) saturate(1.15);
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px) scale(.985);
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, 1, .3, 1), visibility 0s linear .3s;
  contain: layout paint style;
}

.cl-broadcast-spine.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}

.cl-broadcast-spine.is-leaving {
  opacity: 0;
  transform: translate(-50%, 9px) scale(.99);
}

.cl-broadcast-spine::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cl-spine-accent) 0 var(--cl-spine-progress), rgba(255, 255, 255, .12) var(--cl-spine-progress));
}

.cl-spine-crest {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  background: color-mix(in srgb, var(--cl-spine-accent) 10%, rgba(0, 0, 0, .34));
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.cl-spine-crest .brand-crest {
  width: 48px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .42));
}

.cl-spine-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px 11px;
}

.cl-spine-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--cl-spine-accent);
  font: 800 9px/1 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cl-spine-kicker::before {
  content: '';
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.cl-spine-title {
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font: 900 clamp(17px, 2vw, 23px)/.94 'Rajdhani', 'Arial Narrow', sans-serif;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cl-spine-identity,
.cl-spine-detail {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-spine-identity {
  margin-top: 5px;
  color: rgba(255, 255, 255, .82);
  font: 800 11px/1 'Rajdhani', system-ui, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cl-spine-detail {
  margin-top: 3px;
  color: rgba(255, 255, 255, .54);
  font: 650 10px/1.1 'Rajdhani', system-ui, sans-serif;
  letter-spacing: .055em;
}

.cl-spine-proof {
  min-width: 144px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 11px 12px 12px 8px;
  color: rgba(255, 255, 255, .74);
  border-left: 1px solid rgba(255, 255, 255, .09);
  font: 750 9px/1.3 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  letter-spacing: .07em;
  text-align: right;
  text-transform: uppercase;
}

.cl-spine-proof b {
  max-width: 144px;
  overflow: hidden;
  color: var(--cl-spine-accent);
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-spine-proof span { max-width: 140px; }

body:has(.cl-broadcast-spine.is-visible) #moment.show {
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 700px) {
  .cl-broadcast-spine {
    bottom: calc(38px + env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
    min-height: 96px;
    grid-template-columns: 54px minmax(0, 1fr);
    border-radius: 7px;
  }

  .cl-spine-crest { padding: 7px 5px; }
  .cl-spine-crest .brand-crest { width: 42px; height: 42px; }
  .cl-spine-copy { padding: 9px 9px 10px; }
  .cl-spine-kicker { font-size: 8px; letter-spacing: .12em; }
  .cl-spine-title { margin-top: 4px; font-size: clamp(17px, 5.5vw, 22px); }
  .cl-spine-identity { font-size: 10px; letter-spacing: .07em; }
  .cl-spine-detail { max-width: 100%; font-size: 9px; }
  .cl-spine-proof {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 30px;
    flex-direction: row;
    align-items: center;
    padding: 6px 9px 7px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
    font-size: 10px;
    letter-spacing: .045em;
    text-align: left;
  }
  .cl-spine-proof b { max-width: 40%; }
  .cl-spine-proof span { max-width: 58%; text-align: right; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .cl-broadcast-spine {
    left: auto;
    right: 8px;
    bottom: calc(34px + env(safe-area-inset-bottom));
    width: min(520px, calc(100vw - 130px));
    min-height: 68px;
    grid-template-columns: 48px minmax(0, 1fr) 104px;
    transform: translateY(14px) scale(.985);
  }
  .cl-broadcast-spine.is-visible { transform: translateY(0) scale(1); }
  .cl-broadcast-spine.is-leaving { transform: translateY(8px) scale(.99); }
  .cl-spine-crest .brand-crest { width: 36px; height: 36px; }
  .cl-spine-copy { padding-block: 7px; }
  .cl-spine-title { font-size: 18px; }
  .cl-spine-detail { display: none; }
  .cl-spine-proof { grid-column: auto; min-height: 0; flex-direction: column; border-top: 0; border-left: 1px solid rgba(255,255,255,.09); }
}

@media (prefers-reduced-motion: reduce) {
  .cl-broadcast-spine { transition-duration: .01ms !important; }
}
