:root{
  --bg:#070614;
  --bg2:#0b0820;
  --card:#0f0b24;

  --text:#f6f4ff;
  --muted:rgba(246,244,255,.72);

  --a1:#6d28d9;
  --a2:#a855f7;
  --a3:#22d3ee;

  --border: rgba(255,255,255,.10);
  --ring: rgba(168,85,247,.35);
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 560px at 12% -10%, rgba(168,85,247,.22), transparent 55%),
    radial-gradient(900px 520px at 110% 10%, rgba(34,211,238,.16), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

.wrap{
  width:min(980px, calc(100% - 32px));
  margin:0 auto;
}

.small{font-size:12px; color:var(--muted)}
.sub{font-size:13px; color:var(--muted)}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,8,22,.55);
  border-bottom:1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

.brand{ text-decoration:none; color:inherit; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.badge .dot{
  width:10px; height:10px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--a3), var(--a2));
  box-shadow: 0 0 14px rgba(34,211,238,.35), 0 0 18px rgba(168,85,247,.35);
}

.badge .title{ font-weight:800; letter-spacing:.02em; }

.nav{ display:flex; gap:10px; flex-wrap:wrap; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  color:var(--text);
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.pill:hover{
  transform: translateY(-1px);
  border-color: rgba(168,85,247,.35);
  box-shadow: 0 0 0 6px rgba(168,85,247,.10);
}

/* Card */
main{ padding:18px 0 36px; }

.card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:
    radial-gradient(1200px 420px at 20% -15%, rgba(168,85,247,.18), transparent 60%),
    radial-gradient(900px 320px at 110% 10%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}

.card__hd{
  padding:18px 18px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.card__hd h2{
  margin:0 0 6px;
  font-size:22px;
  letter-spacing:.01em;
}

.card__bd{ padding:16px 18px 18px; }

.metaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; }

.metaChip{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(246,244,255,.88);
  font-size:12px;
}

/* Tools */
.cuTools{
  display:flex;
  gap:10px;
  align-items:center;
  margin: 8px 0 14px;
}

.cuSearch{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
  box-shadow: 0 0 0 0 rgba(168,85,247,0);
  transition: box-shadow .18s ease, border-color .18s ease;
}

.cuSearch:focus{
  border-color: rgba(168,85,247,.35);
  box-shadow: 0 0 0 6px rgba(168,85,247,.12);
}

/* List layout */
.list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Show section */
.show{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
  overflow:hidden;
}

.show__hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  cursor:pointer;
  user-select:none;
}

.show__title{
  font-weight:900;
  font-size:15px;
  letter-spacing:.01em;
}

.show__meta{
  display:flex;
  align-items:center;
  gap:10px;
}

.count{
  font-size:12px;
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}

.chev{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.show:hover .chev{
  border-color: rgba(34,211,238,.25);
  box-shadow: 0 0 0 6px rgba(34,211,238,.10);
}

.show.is-collapsed .chev{ transform: rotate(-90deg); }

.show__bd{
  padding: 0 14px 14px;
}

/* Episodes grid */
.episodes{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top: 6px;
}

@media (min-width: 720px){
  .episodes{
    grid-template-columns: 1fr 1fr;
  }
}

.ep{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  padding:12px 12px;
  transition: transform .12s ease, border-color .18s ease, box-shadow .18s ease;
}

.ep:hover{
  transform: translateY(-1px);
  border-color: rgba(168,85,247,.28);
  box-shadow: 0 0 0 6px rgba(168,85,247,.10);
}

.ep__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.ep__title{
  font-size:14px;
  font-weight:800;
  line-height:1.25;
}

.ep__date{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}

audio{ width:100%; height:40px; border-radius:12px; outline:none; }

.sep{
  border:0;
  height:1px;
  background: rgba(255,255,255,.10);
  margin:16px 0;
}

@media (max-width: 520px){
  .topbar__inner{ padding:12px 0; }
  .badge{ padding:9px 10px; }
  .card__hd{ padding:16px 14px 10px; }
  .card__bd{ padding:14px; }
}
