:root{
  --bg:#070b13;
  --bg2:#0b1120;
  --panel:#101726;
  --panel2:#151d2d;
  --text:#f5f7fb;
  --muted:#aeb8cc;
  --soft:#7f8ba2;
  --line:rgba(255,255,255,.08);
  --accent:#176df2;
  --accent2:#6db2ff;
  --accentGlow:rgba(23,109,242,.20);
  --radius:24px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --wrap:1280px;
  --playerH:112px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(78,168,255,.10), transparent 24%),
    radial-gradient(circle at top right, rgba(211,77,255,.10), transparent 28%),
    linear-gradient(180deg, #060912 0%, #0b101b 100%);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}

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

.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(8,11,18,.75);
  backdrop-filter: blur(16px);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{display:inline-flex}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(211,77,255,.14), rgba(78,168,255,.12));
  border:1px solid rgba(255,255,255,.08);
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, #d34dff, #4ea8ff);
}

.title{
  font-weight:800;
  letter-spacing:.01em;
  color:var(--text);
}

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

.pill{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--muted);
}

.pill:hover{
  color:var(--text);
  background:rgba(255,255,255,.07);
}

.page{
  padding:28px 0 calc(40px + var(--playerH));
}

.pagehead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:22px;
}

.eyebrow{
  color:#f0a8ff;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
  margin-bottom:8px;
}

h1{
  margin:0;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:1.02;
  color:var(--text);
}

.lede{
  margin:10px 0 0;
  color:var(--muted);
}

.pagehead__meta{
  color:var(--soft);
  font-size:.95rem;
  text-align:right;
}

.sectionTitle{
  font-size:.88rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:800;
  margin-bottom:14px;
}

.showsSection{
  margin-bottom:24px;
}

.showsGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.showGridCard{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--line);
  outline:none;
  font:inherit;
  text-align:left;
  color:var(--text);
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:14px;
  border-radius:28px;
  background:linear-gradient(90deg, rgba(22,30,49,.96), rgba(11,16,28,.96));
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:.18s ease;
}

.showGridCard:hover{
  transform:translateY(-1px);
  background:linear-gradient(90deg, rgba(27,37,60,.98), rgba(14,20,34,.98));
}

.showGridCard:focus-visible{
  box-shadow:0 0 0 2px rgba(211,77,255,.28), var(--shadow);
}

.showGridCard.is-active{
  outline:2px solid rgba(211,77,255,.22);
  background:linear-gradient(90deg, rgba(28,36,58,.98), rgba(14,20,34,.98));
}

.showGridCard__img{
  width:112px;
  height:112px;
  border-radius:24px;
  overflow:hidden;
  background:#09101d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
}

.showGridCard__img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  background:#09101d;
  border-radius:18px;
}

.showGridCard__info{
  min-width:0;
}

.showGridCard__title{
  font-size:1.15rem;
  font-weight:900;
  line-height:1.15;
  margin-bottom:8px;
  color:var(--text);
}

.showGridCard__meta{
  color:var(--muted);
  font-size:.98rem;
  line-height:1.3;
}

.detailCard{
  display:grid;
  gap:18px;
}

.hero{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:22px;
  padding:22px;
  border-radius:32px;
  border:1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(211,77,255,.08), rgba(78,168,255,.08)),
    linear-gradient(180deg, rgba(18,24,38,.96), rgba(12,17,28,.96));
  box-shadow:var(--shadow);
}

.hero__art{
  width:100%;
  aspect-ratio:1/1;
  border-radius:28px;
  overflow:hidden;
  background:#09101d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}

.hero__art img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:22px;
}

.hero__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.hero__kicker{
  color:#f0a8ff;
  font-size:.8rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:10px;
}

.hero__title{
  margin:0 0 12px;
  font-size:clamp(1.9rem, 3vw, 2.8rem);
  line-height:1.02;
  font-weight:950;
  color:var(--text);
}

.hero__desc{
  color:var(--muted);
  font-size:1rem;
  line-height:1.55;
  max-width:64ch;
}

.hero__chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-size:.92rem;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding:13px 18px;
  border-radius:999px;
  font-weight:800;
}

.btn--primary{
  color:#fff;
  background:linear-gradient(135deg, #d34dff, #4ea8ff);
  box-shadow:0 14px 34px rgba(211,77,255,.20);
}

.btn--ghost{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
}

.toolbar{
  display:flex;
  justify-content:flex-end;
}

.search{
  width:min(100%, 420px);
  appearance:none;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}

.search::placeholder{
  color:#8e9ab0;
}

.search:focus{
  border-color:rgba(211,77,255,.32);
  box-shadow:0 0 0 4px rgba(211,77,255,.10);
}

.episodes{
  display:grid;
  gap:14px;
}

.ep{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:18px;
  border-radius:24px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(18,24,38,.96), rgba(12,17,28,.96));
  box-shadow:var(--shadow);
}

.ep__left{
  min-width:0;
}

.ep__title{
  font-size:1.08rem;
  font-weight:900;
  line-height:1.18;
  color:var(--text);
}

.ep__sub{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.ep__pill{
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:.88rem;
}

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

.epBtn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
}

.epBtn--play{
  color:#fff;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
}

.empty{
  padding:26px;
  border-radius:24px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(18,24,38,.96), rgba(12,17,28,.96));
  color:var(--muted);
}

.empty strong{
  display:block;
  margin-bottom:8px;
  color:var(--text);
  font-size:1.04rem;
}

.player{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:50;
  background:rgba(7,10,17,.96);
  backdrop-filter: blur(18px);
  border-top:1px solid var(--line);
}

.player__inner{
  min-height:var(--playerH);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px, 560px) auto;
  gap:18px;
  align-items:center;
  padding:14px 0;
}

.player__left{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.player__art{
  width:60px;
  height:60px;
  border-radius:16px;
  overflow:hidden;
  background:#0c1320;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
}

.player__art img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  border-radius:12px;
}

.player__meta{
  min-width:0;
}

.player__title{
  font-weight:900;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player__show{
  margin-top:4px;
  color:var(--muted);
  font-size:.92rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player__center{
  display:grid;
  gap:12px;
}

.player__buttons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
}

.transport{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--accent);
  cursor:pointer;
  padding:0;
  display:grid;
  place-items:center;
  transition:.18s ease;
}

.transport:hover{
  transform:scale(1.03);
}

.transport:disabled{
  opacity:.45;
  cursor:default;
  transform:none;
}

.transport--small{
  width:54px;
  height:54px;
}

.transport--main{
  width:84px;
  height:84px;
  border-radius:999px;
  border:4px solid var(--accent);
  color:var(--accent);
}

.transport__icon{
  position:relative;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
}

.transport__icon svg{
  width:54px;
  height:54px;
}

.transport__num{
  position:absolute;
  font-weight:900;
  font-size:.95rem;
  line-height:1;
  top:50%;
  left:50%;
  transform:translate(-50%,-20%);
}

.transport__play{
  width:0;
  height:0;
  border-top:18px solid transparent;
  border-bottom:18px solid transparent;
  border-left:28px solid currentColor;
  margin-left:6px;
}

.transport--main.is-playing .transport__play{
  width:28px;
  height:30px;
  border:none;
  margin-left:0;
  background:
    linear-gradient(to right,
      currentColor 0 10px,
      transparent 10px 18px,
      currentColor 18px 28px);
}

.player__progress{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 72px;
  gap:10px;
  align-items:center;
}

.time{
  font-size:.88rem;
  color:var(--muted);
  text-align:center;
  font-variant-numeric: tabular-nums;
}

#seekBar{
  width:100%;
  accent-color: var(--accent);
}

.player__right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.player audio{
  display:none;
}

@media (max-width: 980px){
  .showsGrid{
    grid-template-columns:1fr;
  }

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

  .hero__art{
    max-width:280px;
  }

  .player__inner{
    grid-template-columns:1fr;
    gap:12px;
    padding:12px 0 14px;
  }

  .player__center{
    order:3;
  }

  .player__right{
    display:none;
  }

  :root{
    --playerH:164px;
  }
}

@media (max-width: 720px){
  .wrap{
    width:min(var(--wrap), calc(100% - 18px));
  }

  .topbar__inner{
    min-height:auto;
    padding:12px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .pagehead{
    flex-direction:column;
    align-items:flex-start;
  }

  .pagehead__meta{
    text-align:left;
  }

  .showGridCard{
    grid-template-columns:86px minmax(0,1fr);
    padding:12px;
    border-radius:22px;
  }

  .showGridCard__img{
    width:86px;
    height:86px;
    border-radius:20px;
  }

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

  .ep__actions{
    width:100%;
  }

  .epBtn{
    width:100%;
  }

  .player__buttons{
    gap:18px;
  }

  .transport--main{
    width:76px;
    height:76px;
  }

  .transport__play{
    border-top:16px solid transparent;
    border-bottom:16px solid transparent;
    border-left:24px solid currentColor;
  }
}
