:root {
  --ink: #f8fbff;
  --muted: #b8c3d9;
  --panel: rgba(15, 23, 42, 0.76);
  --panel-strong: rgba(10, 16, 30, 0.92);
  --stroke: rgba(255, 255, 255, 0.14);
  --pink: #ff4d8d;
  --cyan: #2ee8d6;
  --lime: #b8f35d;
  --amber: #ffb84d;
  --violet: #8d6bff;
  --blue: #3aa6ff;
}

html {
  font-size: 16px;
  min-height: 100%;
  position: relative;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 77, 141, 0.25), transparent 28rem),
    radial-gradient(circle at 84% 14%, rgba(46, 232, 214, 0.18), transparent 30rem),
    radial-gradient(circle at 62% 86%, rgba(184, 243, 93, 0.12), transparent 34rem),
    #090d18;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--cyan);
}

a:hover {
  color: var(--lime);
}

.ambient-canvas {
  height: 100%;
  inset: 0;
  opacity: 0.52;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 0;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(6, 11, 24, 0.72);
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  min-height: 76px;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.7rem;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 48px;
  max-width: min(320px, 58vw);
  object-fit: contain;
  width: auto;
}

.navbar-dark .navbar-nav .nav-link {
  border-radius: 999px;
  color: rgba(248, 251, 255, 0.78);
  padding: 0.55rem 0.9rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.nav-pill {
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.9), rgba(58, 166, 255, 0.9));
  box-shadow: 0 12px 34px rgba(255, 77, 141, 0.2);
  color: #fff !important;
}

.page-container {
  padding-bottom: 5rem;
  padding-top: 2rem;
}

.podcast-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(19, 28, 54, 0.92), rgba(14, 18, 34, 0.82)),
    linear-gradient(120deg, rgba(255, 77, 141, 0.3), rgba(46, 232, 214, 0.2));
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  min-height: 460px;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.hero-wave-canvas {
  height: 100%;
  inset: 0;
  opacity: 0.9;
  position: absolute;
  width: 100%;
}

.hero-copy,
.hero-deck {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--lime);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 1.2rem;
  max-width: 900px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--amber));
  border: 0;
  box-shadow: 0 16px 34px rgba(255, 77, 141, 0.28);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #ff6aa1, #ffc266);
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-deck {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 320px;
}

.deck-card {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  color: #fff;
  position: absolute;
}

.deck-card-main {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 1.1rem;
  min-height: 260px;
  padding: 1.5rem;
  width: min(330px, 100%);
}

.deck-card-main span {
  color: var(--cyan);
  font-weight: 700;
}

.deck-card-main strong {
  align-self: center;
  font-size: 2.2rem;
  line-height: 1;
}

.deck-card-small {
  align-items: center;
  background: linear-gradient(135deg, rgba(184, 243, 93, 0.95), rgba(46, 232, 214, 0.9));
  color: #06101c;
  display: flex;
  font-weight: 900;
  height: 84px;
  justify-content: center;
  right: 0;
  top: 42px;
  transform: rotate(10deg);
  width: 84px;
}

.mini-bars {
  align-items: end;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(6, 1fr);
  height: 90px;
}

.mini-bars i {
  animation: bounceBar 1.2s ease-in-out infinite alternate;
  background: linear-gradient(180deg, var(--cyan), var(--pink));
  border-radius: 999px;
  display: block;
  height: 35%;
}

.mini-bars i:nth-child(2) { animation-delay: 0.12s; height: 74%; }
.mini-bars i:nth-child(3) { animation-delay: 0.24s; height: 50%; }
.mini-bars i:nth-child(4) { animation-delay: 0.36s; height: 88%; }
.mini-bars i:nth-child(5) { animation-delay: 0.48s; height: 44%; }
.mini-bars i:nth-child(6) { animation-delay: 0.6s; height: 68%; }

@keyframes bounceBar {
  to { transform: scaleY(0.45); }
}

.section-heading {
  margin: 3.5rem 0 1.35rem;
}

.section-heading h2,
.admin-heading h1 {
  font-size: 2.4rem;
  font-weight: 850;
  margin: 0;
}

.series-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.series-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(46, 232, 214, 0.42);
  transform: translateY(-4px);
}

.series-cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.series-cover-fallback {
  align-items: center;
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 184, 77, 0.88), transparent 34%),
    radial-gradient(circle at 76% 26%, rgba(46, 232, 214, 0.72), transparent 32%),
    linear-gradient(135deg, rgba(141, 107, 255, 0.95), rgba(255, 77, 141, 0.86));
  display: flex;
  justify-content: center;
}

.series-cover-fallback span {
  color: #fff;
  font-size: 4.2rem;
  font-weight: 900;
}

.series-body {
  display: grid;
  flex: 1;
  gap: 0.7rem;
  padding: 1.35rem;
}

.series-category {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.series-body h3 {
  font-size: 1.35rem;
  font-weight: 850;
  margin: 0;
}

.series-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.series-link {
  align-self: end;
  font-weight: 800;
  margin-top: 0.4rem;
  text-decoration: none;
}

.series-hero,
.episode-player-shell,
.admin-panel {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.series-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 220px 1fr;
  margin-bottom: 2rem;
  padding: 1.25rem;
}

.series-hero img {
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.series-hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.series-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.series-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.series-meta span,
.play-badge {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.episode-list {
  display: grid;
  gap: 0.9rem;
}

.episode-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  padding: 1rem;
  text-decoration: none;
}

.episode-row:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.episode-row h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.episode-row p,
.episode-date {
  color: var(--muted);
  margin: 0;
}

.episode-row time {
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
}

.episode-stage {
  margin: 0 auto;
  max-width: 980px;
}

.live-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.live-channel-panel {
  align-self: start;
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  padding: 1.25rem;
}

.live-channel-panel h1 {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.live-channel-list {
  display: grid;
  gap: 0.75rem;
}

.live-channel-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 0.35rem;
  padding: 1rem;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  width: 100%;
}

.live-channel-card:hover,
.live-channel-card.is-active {
  background: rgba(46, 232, 214, 0.14);
  border-color: rgba(46, 232, 214, 0.44);
  color: #fff;
  transform: translateY(-2px);
}

.live-channel-card span {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-channel-card strong {
  font-size: 1.05rem;
}

.live-channel-card small {
  color: var(--muted);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  font-weight: 800;
  margin-bottom: 1rem;
  text-decoration: none;
}

.episode-player-shell {
  min-height: 520px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.live-player-shell .episode-content {
  align-content: center;
  min-height: 430px;
}

.live-player-shell .episode-content h1 {
  font-size: 3.45rem;
  line-height: 1.05;
  max-width: 900px;
}

.episode-visualizer {
  height: 100%;
  inset: 0;
  opacity: 0.9;
  position: absolute;
  width: 100%;
}

.episode-content {
  align-content: end;
  display: grid;
  min-height: 430px;
  position: relative;
  z-index: 2;
}

.episode-content h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  max-width: 780px;
}

.episode-content > p:not(.episode-date) {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 720px;
}

.audio-player {
  max-width: 760px;
  width: 100%;
}

.episode-player-controls {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(160px, 0.75fr) minmax(260px, 2fr) minmax(160px, 0.75fr);
  margin-top: 1.35rem;
  max-width: 980px;
}

.podcast-player {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(135deg, rgba(46, 232, 214, 0.13), rgba(255, 77, 141, 0.11)),
    rgba(7, 13, 27, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  max-width: 980px;
  padding: 1rem;
}

.podcast-audio-engine {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.podcast-main-control {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.podcast-play-button {
  min-width: 118px;
}

.podcast-current-info {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.podcast-current-info strong {
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.35;
}

.podcast-current-info span {
  color: var(--muted);
  font-weight: 800;
}

.podcast-progress-wrap {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.podcast-progress-wrap span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.podcast-seek {
  accent-color: var(--cyan);
  width: 100%;
}

.podcast-options {
  display: flex;
  justify-content: flex-end;
}

.podcast-autoplay-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
}

.podcast-autoplay-toggle input {
  accent-color: var(--lime);
}

.podcast-neighbor-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.podcast-neighbor-card {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  color: var(--ink);
  display: grid;
  gap: 0.35rem;
  min-height: 112px;
  padding: 1rem;
  text-decoration: none;
}

.podcast-neighbor-card:hover {
  background: rgba(46, 232, 214, 0.14);
  border-color: rgba(46, 232, 214, 0.4);
  color: #fff;
}

.podcast-neighbor-card span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.podcast-neighbor-card strong {
  font-size: 1.05rem;
  line-height: 1.35;
  white-space: normal;
}

.podcast-neighbor-card small {
  color: var(--muted);
  font-weight: 800;
}

.podcast-neighbor-card.is-next {
  text-align: right;
}

.podcast-neighbor-card.is-disabled {
  color: rgba(255, 255, 255, 0.42);
  opacity: 0.58;
}

.episode-player-controls .audio-player {
  max-width: none;
}

.episode-skip-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 0.2rem;
  min-height: 74px;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.episode-skip-button:hover {
  background: rgba(46, 232, 214, 0.14);
  border-color: rgba(46, 232, 214, 0.42);
  color: #fff;
}

.episode-skip-button span {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.episode-skip-button strong {
  font-size: 0.95rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-skip-button.is-disabled {
  color: rgba(255, 255, 255, 0.38);
  opacity: 0.55;
}

.episode-related-section {
  margin-top: 2.25rem;
}

.episode-related-list {
  display: grid;
  gap: 0.85rem;
}

.episode-related-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 1rem;
  text-decoration: none;
}

.episode-related-card:hover,
.episode-related-card.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(46, 232, 214, 0.36);
  color: #fff;
}

.episode-related-card span {
  color: var(--cyan);
  font-weight: 800;
}

.episode-related-card strong {
  font-size: 1.05rem;
  line-height: 1.35;
  white-space: normal;
}

.episode-related-card small {
  color: var(--muted);
  grid-column: 2;
  line-height: 1.45;
  white-space: normal;
}

.live-control-card {
  align-items: center;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(135deg, rgba(46, 232, 214, 0.14), rgba(255, 77, 141, 0.1)),
    rgba(6, 12, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  display: flex;
  gap: 1rem;
  margin-top: 1.15rem;
  max-width: 760px;
  overflow: hidden;
  padding: 1rem;
}

.live-play-button {
  align-items: center;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(255, 77, 141, 0.26);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0 1.25rem;
}

.live-play-button:hover,
.live-play-button:focus {
  filter: brightness(1.08);
}

.live-play-icon {
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  border-top: 10px solid transparent;
  display: inline-block;
  height: 0;
  margin-left: 0.15rem;
  width: 0;
}

.live-play-button.is-playing .live-play-icon {
  border: 0;
  height: 18px;
  position: relative;
  width: 16px;
}

.live-play-button.is-playing .live-play-icon::before,
.live-play-button.is-playing .live-play-icon::after {
  background: #fff;
  border-radius: 2px;
  content: "";
  height: 18px;
  position: absolute;
  top: 0;
  width: 5px;
}

.live-play-button.is-playing .live-play-icon::before {
  left: 0;
}

.live-play-button.is-playing .live-play-icon::after {
  right: 0;
}

.live-control-meta {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.live-control-meta strong {
  color: #fff;
  font-size: 1.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-control-meta span {
  color: var(--muted);
  font-weight: 800;
}

.live-media-engine {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.live-status,
.live-help {
  border-radius: 14px;
  max-width: 760px;
  padding: 0.8rem 1rem;
}

.live-status {
  background: rgba(46, 232, 214, 0.09);
  border: 1px solid rgba(46, 232, 214, 0.18);
  color: #e8fffb;
  font-weight: 700;
  margin-top: 0.75rem;
}

.live-status-inline {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.92rem;
  padding: 0.55rem 0.9rem;
}

.live-status[data-kind="success"] {
  background: rgba(184, 243, 93, 0.13);
  border-color: rgba(184, 243, 93, 0.35);
}

.live-status[data-kind="warning"] {
  background: rgba(255, 184, 77, 0.14);
  border-color: rgba(255, 184, 77, 0.35);
}

.live-status[data-kind="error"] {
  background: rgba(255, 77, 141, 0.14);
  border-color: rgba(255, 77, 141, 0.42);
}

.live-help {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  color: var(--muted);
  margin-top: 1rem;
}

.admin-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.admin-panel {
  padding: 1.25rem;
}

.dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 0.75rem;
  min-height: 150px;
  padding: 1.4rem;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.metric-card strong {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.quick-link-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-link-card,
.distribution-requirements span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--ink);
  font-weight: 800;
  padding: 1rem;
  text-decoration: none;
}

.quick-link-card:hover {
  background: rgba(46, 232, 214, 0.14);
  color: #fff;
}

.distribution-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.distribution-list label {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  display: flex;
  font-weight: 700;
  padding: 0.8rem 1rem;
}

.distribution-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.login-shell {
  display: grid;
  min-height: 68vh;
  place-items: center;
}

.login-panel {
  max-width: 440px;
  width: 100%;
}

.login-logo {
  display: block;
  height: 64px;
  margin-bottom: 1.1rem;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.login-panel h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.table {
  color: var(--ink);
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background: rgba(255, 255, 255, 0.035);
}

code {
  color: var(--lime);
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  box-shadow: 0 0 0 0.25rem rgba(46, 232, 214, 0.16);
  color: #fff;
}

.form-select option {
  color: #101827;
}

.form-label,
.form-check-label {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.metadata-preview {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  padding: 1.2rem 0 2rem;
}

.site-footer .container {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.footer-dot {
  background: var(--pink);
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

@media (max-width: 992px) {
  .podcast-hero {
    grid-template-columns: 1fr;
  }

  .hero-deck {
    min-height: 240px;
  }

  .series-hero {
    grid-template-columns: 1fr;
  }

  .series-hero img {
    max-width: 260px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-container {
    padding-top: 1rem;
  }

  .podcast-hero {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .hero-copy h1,
  .episode-content h1 {
    font-size: 2.2rem;
  }

  .brand-logo {
    height: 40px;
    max-width: 68vw;
  }

  .episode-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .episode-player-controls,
  .episode-related-card,
  .podcast-main-control,
  .podcast-neighbor-grid {
    grid-template-columns: 1fr;
  }

  .podcast-neighbor-card.is-next {
    text-align: left;
  }

  .episode-skip-button.text-end {
    text-align: left !important;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-grid {
    grid-template-columns: 1fr;
  }
}
