/* ============================================================
   EHS播客 · 全新UI
   风格：深蓝渐变 · 沉浸式电台 · 唱片旋转 · 无浮动
   ============================================================ */

:root {
  --pc: 222;
  --pod-bg: #0b1c3a;
  --pod-bg2: #12356200;
  --pod-blue: #2f7cf6;
  --pod-blue-2: #4b94ff;
  --pod-blue-3: #38bdf8;
  --pod-ink: #eaf2ff;
  --pod-ink-2: #b8c9e6;
  --pod-line: rgba(148, 187, 255, .18);
}

.podcast-page {
  padding: 20px 18px 132px;
  color: #e8f0ff;
  background:
    radial-gradient(140% 90% at 50% -10%, #173a75 0%, #0e2a5a 42%, #0a1c3a 100%);
  border-radius: 26px;
  border: 1px solid rgba(148,187,255,.16);
}

.podcast-page .tool-hero.is-podcast {
  background: linear-gradient(135deg, #0e2f66 0%, #1d5bd8 46%, #38bdf8 130%);
  border-radius: 22px;
  padding: 26px 22px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.podcast-page .tool-hero.is-podcast::before {
  content: "";
  position: absolute;
  right: -48px; top: -48px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%);
  pointer-events: none;
}
.podcast-page .tool-hero.is-podcast .tool-hero-ico {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.podcast-page .tool-hero.is-podcast .tool-hero-ico svg { width: 28px; height: 28px; color: #fff; }
.podcast-page .tool-hero.is-podcast h2 {
  font-size: 24px; font-weight: 800; letter-spacing: .3px; color: #fff;
  margin: 0;
}
.podcast-page .tool-hero.is-podcast .tool-hero-en {
  font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.72); margin-top: 4px;
}
.podcast-page .tool-hero.is-podcast p {
  font-size: 13px; color: rgba(255,255,255,.9); margin-top: 8px;
}

.podcast-page .desktop-hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9db7dd;
  background: rgba(47,124,246,.10);
  border: 1px solid var(--pod-line);
  border-radius: 12px; padding: 8px 12px; margin-bottom: 12px;
}

.podcast-page .quota-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  font-size: 12px; color: #a9c2e8;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--pod-line);
  border-radius: 14px; padding: 10px 14px; margin-bottom: 16px;
}
.podcast-page .quota-bar b { color: #86c4ff; }
.podcast-page .quota-tag {
  flex: none;
  font-size: 11px; color: #cfe4ff;
  background: linear-gradient(135deg, rgba(47,124,246,.4), rgba(56,189,248,.3));
  border: 1px solid rgba(134,196,255,.4);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- 主播放器 ---------- */
.pod-player {
  position: relative;
  border-radius: 24px;
  padding: 26px 22px 22px;
  margin-bottom: 22px;
  overflow: hidden;
  color: #eaf2ff;
  background:
    radial-gradient(130% 120% at 50% -8%, #2a57a8 0%, #14315e 44%, #0a1c3a 100%);
  border: 1px solid rgba(148,187,255,.22);
  box-shadow: 0 18px 44px rgba(5,18,40,.4);
}
.pod-player::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% 2%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(70% 45% at 82% 88%, rgba(75,148,255,.14), transparent 70%);
  pointer-events: none;
}

/* 起播按钮：右上收起 */
.pod-mini-enter {
  position: absolute; top: 14px; right: 14px;
  z-index: 2;
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.10);
  color: #cfe4ff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.14);
  transition: background .2s ease;
}
.pod-mini-enter:hover { background: rgba(255,255,255,.18); }
.pod-mini-enter svg { width: 17px; height: 17px; }

/* 唱片封面（旋转体） */
.pod-cover {
  position: relative;
  width: 210px; height: 210px;
  margin: 8px auto 22px;
  border-radius: 50%;
  z-index: 1;
}
.pod-cover .pod-cover-halo {
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(75,148,255,.28), rgba(56,189,248,.05),
    rgba(75,148,255,.28), rgba(56,189,248,.05), rgba(75,148,255,.28));
  animation: pod-spin 16s linear infinite;
  filter: blur(2px);
  opacity: .9;
}
.pod-cover .pod-cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,.85);
  box-shadow: 0 10px 25px rgba(3,12,28,.5);
  background: #10284f;
}
.pod-cover .pod-cover-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eef4ff, #bcd3f5 70%);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,.35), 0 0 0 9px rgba(20,44,84,.55);
  z-index: 2;
}
.pod-cover .pod-cover-center svg { width: 19px; height: 19px; color: #1d3d78; }

.pod-cover .pod-cover-ico {
  position: absolute; left: 50%; top: 11px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #cfe4ff;
  background: rgba(10,25,52,.55);
  border: 1px solid rgba(148,187,255,.25);
  padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(3px);
  z-index: 3;
}
.pod-cover .pod-cover-ico i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 8px #6ee7b7;
  animation: pod-breathe 2.4s ease-in-out infinite;
}

/* 播放时：唱片镜像区整体旋转 */
.pod-player.is-playing .pod-cover .pod-cover-halo { animation-duration: 16s; }
.pod-player.is-playing .pod-cover .pod-cover-img {
  animation: pod-spin 12s linear infinite;
}

/* ---------- 播放器：信息区 ---------- */
.pod-info {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 18px;
}
.pod-info .pod-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #cfe4ff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(148,187,255,.24);
  padding: 4px 12px; border-radius: 999px;
}
.pod-info .pod-title {
  font-size: 19px; font-weight: 800; line-height: 1.4;
  color: #fff; margin-top: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pod-info .pod-sub {
  font-size: 12px; color: #a9c2e8; margin-top: 8px;
}
.pod-info .pod-sub .dot { margin: 0 6px; color: #5c7fb0; }

/* 播放键 */
.pod-actions {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 26px; margin-bottom: 20px;
}
.pod-play-btn {
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; cursor: pointer;
  background: linear-gradient(140deg, #3a8bff, #2563eb);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 10px 24px rgba(37,99,235,.5), inset 0 0 0 1px rgba(255,255,255,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pod-play-btn:hover { transform: scale(1.05); box-shadow: 0 14px 30px rgba(37,99,235,.6); }
.pod-play-btn:active { transform: scale(.97); }
.pod-play-btn svg { width: 30px; height: 30px; }
.is-playing .pod-play-btn svg { width: 28px; height: 28px; }

/* 进度条 */
.pod-progress {
  position: relative; z-index: 1;
  height: 26px;
  display: flex; align-items: center;
  cursor: pointer;
}
.pod-progress .pod-bar {
  position: relative;
  height: 6px; width: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
}
.pod-progress .pod-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b94ff, #38bdf8);
  box-shadow: 0 0 8px rgba(56,189,248,.6);
}
.pod-progress .pod-bar i::after {
  content: ""; position: absolute; right: -3px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #eaf4ff;
  box-shadow: 0 0 0 3px rgba(75,148,255,.5);
}

/* 时间与状态 */
.pod-times {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: #8ea9d2;
  margin-top: 4px;
}
.pod-times .pod-state {
  display: inline-flex; align-items: center; gap: 5px;
  color: #9db7dd;
}
.pod-times .pod-state i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 6px #6ee7b7;
  animation: pod-breathe 2.4s ease-in-out infinite;
}

/* 提示条 */
.pod-tip {
  position: relative; z-index: 1;
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: #a9c2e8;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(148,187,255,.16);
  border-radius: 12px; padding: 9px 12px;
}
.pod-tip svg { width: 14px; height: 14px; flex: none; color: #86c4ff; }

/* ---------- 节目单标题 ---------- */
.pod-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: #eaf2ff;
  margin: 4px 2px 12px;
}
.pod-section-title svg { width: 17px; height: 17px; color: #4b94ff; }

/* ---------- 节目单列表 ---------- */
.pod-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin: 0; padding: 0;
}
.pod-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(148,187,255,.12);
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.pod-row:hover { background: rgba(255,255,255,.09); border-color: rgba(148,187,255,.28); }
.pod-row.active { background: linear-gradient(120deg, rgba(47,124,246,.22), rgba(56,189,248,.10)); border-color: rgba(75,148,255,.42); }

.pod-row-play {
  flex: none;
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #3a8bff, #2563eb);
  box-shadow: 0 6px 14px rgba(37,99,235,.35);
}
.pod-row-play svg { width: 18px; height: 18px; }
.pod-row.active .pod-row-play { background: linear-gradient(135deg, #38bdf8, #2563eb); }

.pod-row-body { flex: 1; min-width: 0; }
.pod-row-title {
  font-size: 14px; font-weight: 700; color: #eaf2ff;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}
.pod-row-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.pod-chip {
  flex: none;
  font-size: 11px; color: #cfe4ff;
  background: rgba(75,148,255,.18);
  border: 1px solid rgba(75,148,255,.32);
  padding: 2px 9px; border-radius: 999px;
}
.pod-row-dur { font-size: 11px; color: #8ea9d2; }

/* 点赞按钮（EHS音乐） */
.pod-like-btn {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; cursor: pointer;
  font-size: 12px; color: #8ea9d2;
  padding: 2px 6px; border-radius: 999px;
  transition: color .2s, transform .2s, background .2s;
  line-height: 1;
}
.pod-like-btn svg { width: 15px; height: 15px; flex: none; }
.pod-like-btn:hover { color: #ff6b81; transform: scale(1.08); }
.pod-like-btn.on { color: #ff5d73; }
.pod-like-btn.on svg { fill: currentColor; }
.pod-like-btn:active { transform: scale(.92); }
.pod-like-big {
  font-size: 14px; color: #d7e6ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px;
}
.pod-like-big.on { color: #ff5d73; border-color: rgba(255,93,115,.5); background: rgba(255,93,115,.14); }
.pod-like-big svg { width: 18px; height: 18px; }

.pod-row-time {
  flex: none;
  font-size: 11px; color: #8ea9d2;
  align-self: flex-end;
}

/* 分类色 chip（后台分类） */
.pod-cat-default { background: rgba(75,148,255,.18); border-color: rgba(75,148,255,.32); color: #cfe4ff; }
.pod-cat-anquan { background: rgba(56,189,248,.18); border-color: rgba(56,189,248,.32); color: #cfe4ff; }
.pod-cat-huanbao { background: rgba(110,231,183,.16); border-color: rgba(110,231,183,.3); color: #d2f5e8; }
.pod-cat-zhiye { background: rgba(191,153,255,.16); border-color: rgba(191,153,255,.3); color: #e7dcff; }
.pod-cat-jiaoliu { background: rgba(255,183,120,.16); border-color: rgba(255,183,120,.3); color: #ffe6d0; }

/* ---------- 空态 ---------- */
.pod-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 44px 20px;
  color: #a9c2e8;
  font-size: 13px;
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(148,187,255,.28);
  border-radius: 18px;
}
.pod-empty svg { width: 38px; height: 38px; color: #8ea9d2; }

/* 未播放时的空播放器占位 */
.pod-now-empty {
  display: flex; align-items: center; gap: 15px;
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(47,124,246,.16), rgba(56,189,248,.06));
  border: 1px solid rgba(148,187,255,.18);
}
.pod-now-empty-cover {
  flex: none;
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3a8bff, #2563eb);
  color: #fff;
}
.pod-now-empty-cover svg { width: 23px; height: 23px; }
.pod-now-empty-txt { font-size: 13px; color: #a9c2e8; }
.pod-now-empty-txt b { display: block; font-size: 15px; color: #eaf2ff; margin-bottom: 3px; }

/* ---------- 底部迷你播放条 ---------- */
.pod-mini {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.pod-mini-inner {
  max-width: var(--content-max, 620px);
  margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(120deg, #173a75, #0e2a5a);
  border: 1px solid rgba(148,187,255,.3);
  box-shadow: 0 -6px 28px rgba(4,14,32,.5);
  pointer-events: auto;
}
.pod-mini-cover {
  flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  color: #cfe4ff;
  background: hsla(var(--pc, 222), 80%, 55%, .20);
  border: 1px solid hsla(var(--pc, 222), 80%, 65%, .35);
}
.pod-mini-cover svg { width: 22px; height: 22px; }
.pod-mini-main { flex: 1; min-width: 0; }
.pod-mini-title {
  font-size: 13px; font-weight: 700; color: #eaf2ff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pod-mini-sub {
  font-size: 11px; color: #8ea9d2; margin-top: 3px;
  display: flex; align-items: center; gap: 5px;
}
.pod-mini-play {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #3a8bff, #2563eb);
}
.pod-mini-play svg { width: 18px; height: 18px; }
.pod-mini-close {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: #a9c2e8; cursor: pointer;
  background: rgba(255,255,255,.08);
}
.pod-mini-close svg { width: 14px; height: 14px; }

/* ---------- 动画 ---------- */
@keyframes pod-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pod-breathe {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}

@media (min-width: 860px) {
  .pod-player {
    padding: 32px 34px 28px;
  }
  .pod-cover {
    width: 250px; height: 250px;
  }
}


/* ---------- 播放器详情页 ---------- */
.podcast-player-page {
  padding: 16px 18px 132px;
}
.pod-back {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 2px 2px 14px;
  font-size: 13px; font-weight: 700; color: #cfe4ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(148,187,255,.2);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .2s ease;
}
.pod-back:hover { background: rgba(255,255,255,.15); }
.pod-back svg { width: 15px; height: 15px; }
.pod-now { margin-bottom: 20px; }

/* 详情页播放器加大留白，聚焦收听 */
.podcast-player-page .pod-player {
  margin-bottom: 4px;
}

/* 节目单翻页 */
.pod-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 4px 2px 12px;
}
.pod-pager-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(148, 184, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbe7ff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.pod-pager-btn:active { transform: scale(.97); }
.pod-pager-btn.is-dis,
.pod-pager-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
}
.pod-pager-info {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #9fb6e0;
  letter-spacing: .3px;
}

/* ═══ 播放详情页 = 满屏不可滚动的手机播放页 ═══ */
.podcast-player-page {
  min-height: 100dvh;
  height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 env(safe-area-inset-bottom, 0) !important;
}
/* 容器约束成列：返回 + 播放卡 + 底部翻页 */
.podcast-player-page .pod-back { flex: 0 0 auto; }
.podcast-player-page .pod-now {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px 4px;
  box-sizing: border-box;
}
.podcast-player-page .pod-pager { flex: 0 0 auto; }
/* 播放卡内封面自适应，避免超高溢出 */
.podcast-player-page .pod-cover { width: min(200px, 44vw); height: min(200px, 44vw); flex: 0 0 auto; }
.podcast-player-page .pod-cover-halo { width: min(320px, 72vw); height: min(320px, 72vw); }
.podcast-player-page .pod-info { margin-top: 2px; }
.podcast-player-page .pod-title { font-size: 17px; }
.podcast-player-page .pod-about { font-size: 13px; margin-top: 2px; line-height: 1.6; }
.podcast-player-page .pod-bar-out { margin-top: 6px; }
.podcast-player-page .pod-control { margin-top: 4px; }
/* 锁定最外层：即使外壳可滚动也不露滚动条 */
@media (max-width: 959px) {
  body:has(.podcast-player-page) { overflow: hidden; }
}
