:root {
  --bg: #0b1020;
  --bg2: #111830;
  --card: #151d36;
  --card-hover: #1a2444;
  --text: #e8edf7;
  --muted: #93a0bd;
  --accent: #4da3ff;
  --accent2: #7fd4ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 60%, var(--bg) 100%);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.hero { padding: 48px 20px 32px; }
.hero-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.cover {
  border-radius: 20px; box-shadow: 0 12px 40px rgba(30, 60, 160, .45);
  flex: 0 0 auto;
}
.hero-text { flex: 1 1 320px; }
.badge {
  display: inline-block; font-size: 13px; color: var(--accent2);
  background: rgba(77, 163, 255, .12); border: 1px solid rgba(77, 163, 255, .35);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.hero-text h1 { font-size: 44px; letter-spacing: 2px; }
.tagline { color: var(--muted); margin: 8px 0 20px; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  font-size: 15px; border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6f6bff);
  color: #fff; font-weight: 600;
  box-shadow: 0 6px 20px rgba(77, 120, 255, .35);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost {
  border: 1px solid rgba(147, 160, 189, .45); color: var(--muted); background: transparent;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* 播放条 */
.player-bar {
  position: sticky; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  background: rgba(13, 19, 38, .92); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(120, 150, 220, .25);
  padding: 10px 18px; max-width: 880px; margin: 0 auto;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .4);
}
.player-bar img { border-radius: 10px; }
.np-meta { flex: 1; min-width: 0; }
.np-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-time { font-size: 12px; color: var(--muted); }
progress {
  width: 100%; height: 5px; display: block; margin-top: 6px;
  appearance: none; border: none; border-radius: 3px; background: #26304f;
  cursor: pointer;
}
progress::-webkit-progress-bar { background: #26304f; border-radius: 3px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; }
.np-controls { display: flex; gap: 8px; align-items: center; }
.np-controls button {
  background: rgba(255, 255, 255, .08); color: var(--text);
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px;
  padding: 8px 12px; cursor: pointer; font-size: 13px;
}
.np-controls button:hover { background: rgba(255, 255, 255, .16); }
.np-play { font-size: 17px; width: 48px; }

main { max-width: 880px; margin: 0 auto; padding: 16px 20px 40px; }
.episodes h2 { font-size: 20px; margin-bottom: 16px; }
.loading { color: var(--muted); }

.ep-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid rgba(120, 150, 220, .18);
  border-radius: 16px; padding: 18px; margin-bottom: 14px;
  transition: background .2s, transform .15s;
}
.ep-card:hover { background: var(--card-hover); }
.ep-card.playing { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(77, 163, 255, .18); }
.ep-thumb { width: 96px; height: 96px; border-radius: 12px; flex: 0 0 auto; }
.ep-body { flex: 1; min-width: 0; }
.ep-title { font-size: 17px; font-weight: 700; }
.ep-meta { font-size: 12px; color: var(--muted); margin: 4px 0 6px; }
.ep-desc { font-size: 13px; color: var(--muted); }
.ep-actions { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.ep-actions button, .ep-actions a {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(147, 160, 189, .4); color: var(--muted);
  background: transparent; cursor: pointer;
}
.ep-actions button:hover, .ep-actions a:hover { color: var(--text); border-color: var(--accent); }
.ep-actions .play-btn { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

footer { text-align: center; padding: 28px 16px 90px; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  .hero-inner { justify-content: center; text-align: center; }
  .hero-text h1 { font-size: 34px; }
  .ep-card { flex-direction: column; }
  .ep-thumb { width: 72px; height: 72px; }
}
