/* Live shell and chat geometry match stacks/live/site/{page,crew-invite}.css.
   Only the Radio identity/status and its signal placeholders are specific here. */
[hidden] {
  display: none !important;
}
.cpk-theme.live-page {
  background: #000;
  --cpk-color-bg-100: #000;
  --cpk-color-bg-200: #000;
  --cpk-color-border: #888;
}
.live-page > .cpk-noise {
  display: none;
}
.ambient-panel {
  position: relative;
  isolation: isolate;
}
.ambient-panel > .cpk-noise {
  position: absolute;
  z-index: -1;
}
.ambient-panel > .cpk-noise::after {
  opacity: 0.25;
}
.live-shell {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 46px 0 64px;
}
.live-brand img {
  border-radius: 12px;
}
.live-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cpk-color-contrast);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
}
.live-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.broadcast-player {
  margin-bottom: 28px;
}
.broadcast-player__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #000;
}
.broadcast-player__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.community-panel {
  margin-bottom: 28px;
}
.participation-panel .community-panel {
  margin-bottom: 0;
}
.community-list {
  height: 380px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: var(--cpk-color-border) transparent;
}
.message-panel {
  border: 0.5px solid var(--cpk-color-border);
  background: var(--cpk-color-bg-100);
}
.message-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 26px;
  border-bottom: 0.5px solid var(--cpk-color-border);
}
.message-panel__heading h2 {
  font-size: 17px;
  font-weight: 500;
}
.live-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  padding-top: 28px;
  color: var(--cpk-color-muted);
  font-size: 13px;
}
.live-footer a {
  color: inherit;
  text-decoration: none;
}
.live-footer a:hover {
  color: var(--cpk-color-brand);
}
@media (max-width: 480px) {
  .live-shell {
    width: calc(100% - 40px);
    padding-top: 28px;
  }
  .message-panel__heading {
    padding: 20px;
  }
  .live-footer {
    gap: 16px;
    font-size: 12px;
  }
}
.radio-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.radio-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}
.radio-status__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4545;
}
.radio-status[data-online="true"] .radio-status__dot {
  background: #76d98b;
}
.signal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 24px;
  color: var(--cpk-color-muted);
  text-align: center;
}
.signal-placeholder p {
  max-width: 460px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.signal-dot {
  position: relative;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bd00ff;
  box-shadow:
    0 0 14px #bd00ff99,
    0 0 30px #bd00ff33;
}
.signal-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #bd00ff;
  animation: radio-signal-fade 2.2s ease-out infinite;
}
@keyframes radio-signal-fade {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(4.5);
    opacity: 0;
  }
}
.signal-placeholder .cpk-btn {
  margin-top: 4px;
}
.community-list:has(iframe) {
  padding: 0;
}
.community-list iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.salve-panel {
  border-top: 0.5px solid var(--cpk-color-border);
}
.login-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 34px 24px;
  text-align: center;
}
.login-gate > p {
  margin: 0 0 20px;
}
.login-provider {
  display: grid;
  place-items: center;
  width: 60px;
  height: 56px;
  padding: 12px;
  border: 0.5px solid var(--cpk-color-border);
  border-radius: 0;
  background: var(--cpk-color-bg-200);
}
.login-provider img {
  opacity: 0.75;
}
.login-provider:hover,
.login-provider:focus-visible {
  border-color: var(--cpk-color-brand);
  background: rgba(var(--cpk-color-brand-rgb), 0.12);
  box-shadow: 0 0 18px rgba(var(--cpk-color-brand-rgb), 0.3);
}
.login-provider:focus-visible {
  outline: 2px solid var(--cpk-color-glitch-2);
  outline-offset: 4px;
}
.login-gate .login-note {
  margin: 16px 0 0;
  color: var(--cpk-color-muted);
  font-size: 12px;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .signal-dot::after {
    animation: none;
    opacity: 0;
  }
}
