/* 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;
  border-radius: 16px;
  overflow: hidden;
}
.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: 4px;
}
.radio-header { position: relative; padding-right: 96px; }
.radio-account-frame { position: absolute; top: 4px; right: 0; width: 86px; height: 36px; border: 0; z-index: 30; visibility: hidden; background: transparent; color-scheme: dark; }
.radio-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 16px;
  transform: translateY(-3px);
  animation: radio-rec-appear 420ms ease-out both;
}
.broadcast-icon { display: block; width: 100%; height: 100%; color: #f04452; overflow: visible; }
.radio-status .broadcast-icon { color: #f04452; }
#radio-status .broadcast-icon circle, #radio-status .broadcast-icon path { fill: #f04452; stroke: none; }
#player-frame .broadcast-icon circle, #player-frame .broadcast-icon path { fill: #f04452; stroke: none; }
.radio-status[data-playing="true"] .broadcast-icon__dot { animation: radio-rec-pulse 2.4s ease-in-out infinite; transform-origin: 24px 20px; }
.radio-status[data-playing="true"] .broadcast-icon__inner { animation: radio-rec-wave 2.4s ease-in-out infinite; }
.radio-status[data-playing="true"] .broadcast-icon__outer { animation: radio-rec-wave 2.4s 220ms ease-in-out infinite; }
.signal-placeholder > .broadcast-icon { width: 48px; height: 40px; flex: 0 0 auto; }
.signal-placeholder .broadcast-icon__dot { animation: radio-rec-pulse 2.4s ease-in-out infinite; transform-origin: 24px 20px; }
.signal-placeholder .broadcast-icon__inner { animation: radio-rec-wave 2.4s ease-in-out infinite; }
.signal-placeholder .broadcast-icon__outer { animation: radio-rec-wave 2.4s 220ms ease-in-out infinite; }
@keyframes radio-rec-pulse { 0%,100% { opacity: .75; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes radio-rec-wave { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes radio-rec-appear { from { opacity: 0; transform: translateY(-1px) scale(.85); } to { opacity: 1; transform: translateY(-3px) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .radio-status, .radio-status[data-playing="true"] .broadcast-icon *, .signal-placeholder .broadcast-icon__dot,
  .signal-placeholder .broadcast-icon__inner, .signal-placeholder .broadcast-icon__outer { animation: none; }
}
.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;
  }
}

.cpk-brand img.radio-cyber {
  width: 42px;
  height: 42px;
  margin-top: -1px;
  margin-left: 2px;
}

.radio-chat { border: 1px solid #333; border-radius: 16px; overflow: hidden; background: #171717; }
.radio-chat .message-panel__heading { padding: 18px; gap: 16px; flex-wrap: wrap; border-color: #333; }
.radio-chat .message-panel__heading h2 { margin: 0; font-size: 21px; font-weight: 600; }
.youtube-chat-link { display: inline-flex; align-items: center; gap: 8px; color: #d78eff; font-size: 13px; text-decoration: none; }
.youtube-chat-link:hover { text-decoration: underline; }
.radio-chat .community-list { height: 380px; }
.radio-chat-note { color: #aaa; font-size: 12px; line-height: 1.5; margin: 0; padding: 14px 18px; border-top: 1px solid #333; }
