.detail-main {
  padding: 16px 0 48px;
}
.detail-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.detail-content-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.detail-content {
  flex: 1;
  min-width: 0;
}
.detail-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* ===== 顶部 Hero：封面 + 资讯 ===== */
.detail-hero {
  display: flex;
  gap: 18px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.detail-cover {
  flex-shrink: 0;
  position: relative;
  width: 250px;
  align-self: stretch;
  margin: 0;
}
.detail-cover img {
  width: 250px;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.cover-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.detail-info {
  flex: 1;
  min-width: 0;
}
.detail-actions-top {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.btn-fav,
.btn-save {
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg-light);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-fav:hover  { color: var(--accent); border-color: var(--accent); }
.btn-save:hover { color: #0ea5e9; border-color: #0ea5e9; }

.detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.detail-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.score-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.stars { display: flex; gap: 2px; }
.star { font-size: 16px; }
.star.filled { color: var(--accent); }
.star.half   { color: var(--accent); opacity: 0.5; }
.star.empty  { color: #ddd; }

/* 基本资讯 Grid */
.detail-meta-grid { margin: 0 0 14px; padding: 0; }
.dmg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
}
.dmg-row:last-child { border-bottom: none; }
.dmg-row--full { align-items: flex-start; }
.dmg-row--line {
  flex-wrap: nowrap;
  gap: 0;
}
.dmg-group {
  flex-shrink: 0;
  white-space: nowrap;
}
.dmg-row--line .dmg-group:last-child {
  display: inline-block;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.dmg-sep {
  color: var(--border-mid);
  margin: 0 10px;
  flex-shrink: 0;
}
.dmg-label {
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 28px;
}
.dmg-row--line .dmg-label { min-width: 0; }
.dmg-val { color: var(--text); flex: 1; min-width: 0; }
.dmg-val a { color: var(--text-light); margin-right: 3px;}
.dmg-val a:hover { color: var(--accent); }
.dmg-actors {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.actors-more { color: var(--text-muted); }
.status-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 500;
}
.dmg-desc {
  flex: 1;
  min-width: 0;
}
.dmg-desc p {
  color: var(--text-light);
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desc-more { color: var(--accent); cursor: pointer; margin-left: 4px; }

/* 播放按钮 */
.detail-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-play {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-play:hover { background: #e55f00; }
.btn-download {
  background: #0ea5e9;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-download:hover { background: #0284c7; }
.btn-share {
  background: #f5f5f5;
  color: var(--text);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: auto;
}
.btn-share:hover { background: #ebebeb; }

/* ===== 标签页 ===== */
.detail-tabs-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.detail-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.dtab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.dtab.active { color: var(--accent); border-bottom-color: var(--accent); }
.dtab:hover  { color: var(--accent); }
.detail-tab-content {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 角色/演员 tab ===== */
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cast-item {
  padding: 10px 0;
}
.cast-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.cast-info {
  min-width: 0;
}
.cast-name,
.cast-role {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-link:hover .cast-name { color: var(--accent); }
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 26px;
  color: var(--text-muted);
  overflow: hidden;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cast-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: block;
  transition: color 0.15s;
}
.cast-role {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ===== 播放列表 ===== */
.playlist-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.playlist-header h3 { font-size: 14px; font-weight: 600; }

.playlist-empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0;
  text-align: center;
}

.sort-btn {
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
}
.sort-btn:hover { color: var(--accent); border-color: var(--accent); }
.playlist-sources {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.source-tab {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-mid);
  background: #f5f5f5;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s;
}
.source-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.playlist-notice {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #fff8f5;
  border-radius: 4px;
}
.notice-icon { color: var(--accent); }
.playlist-episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.episode {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 4px;
  background: #f5f5f5;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.15s;
}
.episode:hover { color: var(--accent); border-color: var(--accent); }
.episode.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.playlist-panel        { display: none; }
.playlist-panel.active { display: block; }

/* ===== 猜你喜欢 ===== */
.related-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.related-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 0 0 4px;
}
.related-scroll::-webkit-scrollbar { display: none; }
.related-card {
  flex: 0 0 140px;
  cursor: pointer;
}
.related-card a { display: block; }
.rc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 5px;
}
.rc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.related-card:hover .rc-thumb img { transform: scale(1.04); }
.rc-score {
  position: absolute;
  top: 4px;
  left: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.rc-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 相关推荐 ===== */
.recommend-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.recommend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.recommend-grid .vod-card-list {
  flex: 0 0 calc(16.666% - 9px);
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}
.recommend-grid .vod-card-list:hover { transform: translateY(-2px); }
.recommend-grid .vod-card-list a { display: block; }
.recommend-grid .vcl-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0f0f0;
}
.recommend-grid .vcl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recommend-grid .vcl-badges {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  gap: 3px;
  z-index: 1;
}
.recommend-grid .vcl-remarks {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  z-index: 1;
}
.recommend-grid .vcl-info { padding: 5px 7px 7px; }
.recommend-grid .vcl-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-grid .vcl-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ===== Sidebar ===== */
.sidebar-block {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sidebar-rank-block {
  margin-bottom: 14px;
}
.sb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.sb-header h4 { font-size: 13px; font-weight: 600; }
.sb-more { font-size: 11px; color: var(--text-muted); }
.sb-more:hover { color: var(--accent); }

/* 排行榜 sidebar */
.rls-top {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.rls-top-thumb {
  width: 52px;
  height: 68px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.rls-top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rls-top-info { flex: 1; min-width: 0; }
.rls-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 3px;
}
.rls-num--1 { background: var(--accent); color: #fff; }
.rls-top-info h5 {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.rls-top-info p { font-size: 10px; color: var(--text-muted); line-height: 1.5; }
.rls-status { color: #22c55e; }
.rls-views { font-size: 10px; color: var(--accent); margin-top: 2px; display: block; }

.rls-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.rls-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.rls-list li:last-child { border-bottom: none; }
.rls-n {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rls-n--2 { background: #fef3c7; color: #d97706; }
.rls-n--3 { background: #fee2e2; color: #dc2626; }
.rls-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rls-cnt { font-size: 10px; color: var(--accent); font-weight: 600; flex-shrink: 0; }

/* 专题 sidebar */
.topic-list-sidebar { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.tls-card { cursor: pointer; display: block; }
.tls-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 6px;
}
.tls-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.tls-card:hover .tls-thumb img { transform: scale(1.04); }
.tls-info h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tls-info p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.tls-count {
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}

/* 平板 */
@media (max-width: 1024px) {
  .detail-sidebar { display: none; }
  .recommend-grid .vod-card-list { flex: 0 0 calc(25% - 8px); }
}

/* 桌机才显示 sidebar */
@media (min-width: 1025px) {
  .detail-sidebar { display: block; width: 280px; }
}

/* ── 手机版 Hero ──────────────────────────────── */
.detail-hero-mobile {
  display: none;
  position: relative;
}

/* 背景模糊区（纯色背景，封面模糊其上）*/
.dhm-bg {
  width: 100%;
  height: 145px;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}
.dhm-bg-blur {
  position: absolute;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  object-fit: cover;
  filter: blur(10px) brightness(0.35) saturate(0.8);
}
.dhm-top-info {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.dhm-share {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

/* 白底资讯卡（圆角往上盖住背景底部）*/
.dhm-card {
  background: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: -18px;
  position: relative;
  z-index: 1;
  padding: 0 14px 16px;
}

/* 封面 + 右侧片名评分：封面往上浮 */
.dhm-hero-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 0;
}
.dhm-cover {
  width: 110px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  margin: -80px 0 0 10px; /* 往上浮出，一半在背景，一半在白卡 */
  position: relative;
  z-index: 3;
}
.dhm-cover img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.dhm-hero-info {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}
.dhm-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
  word-break: break-all;
}
.dhm-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dhm-rating-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}
.dhm-stars {
  display: flex;
  gap: 2px;
}
.dhm-star {
  font-size: 16px;
}
.dhm-star.filled { color: var(--accent); }
.dhm-star.half   { color: var(--accent); }
.dhm-star.empty  { color: #ddd; }

/* 资讯列 */
.dhm-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.dhm-meta-row a { color: inherit; }
.dhm-meta-row a:hover { color: var(--accent); }
/* 第一行（年份｜地区｜语言｜类型）字体稍大加粗 */
.dhm-meta-row--inline {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
}
.dhm-meta-row--last {
  border-bottom: none;
}
.dhm-meta-row--nowrap {
  flex-wrap: nowrap;
}
.dhm-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.dhm-btns .btn-play,
.dhm-btns .btn-download {
  flex: 1;
  text-align: center;
}
.dhm-actors {
  display: block;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dhm-meta-sep {
  color: #ccc;
  padding: 0 10px;
  font-weight: 400;
}
.dhm-meta-label {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 2px;
}
.dhm-status-done {
  color: var(--accent);
  font-weight: 600;
}
.dhm-status-date {
  color: var(--text-muted);
  margin-left: 4px;
  font-weight: 400;
}

/* 手机版手机 */
@media (max-width: 767px) {
  .detail-main { padding: 0 0 68px; }
  .detail-container {
    padding: 0;
  }
  .detail-content-row {
    flex-direction: column;
    gap: 0;
  }
  .detail-content { width: 100%; }
  .detail-sidebar { width: 100%; padding: 0 10px; }

  /* 桌机版 hero 隐藏，显示手机版 hero */
  .detail-hero           { display: none; }
  .detail-hero-mobile    { display: block; }

  /* 其他 section 加 padding */
  .detail-tabs-section,
  .playlist-section,
  .plot-section,
  .related-section,
  .recommend-section,

  /* 相关推荐手机 3栏 */
  .recommend-grid .vod-card-list { flex: 0 0 calc(33.333% - 7px); }
  .recommend-grid { gap: 7px; }

  /* 猜你喜欢卷动卡缩小 */
  .related-card { flex: 0 0 130px; }

  /* 角色信息手机 2栏 */
  .cast-list { grid-template-columns: repeat(2, 1fr); }

  /* Sidebar padding */
  .sidebar-block { margin-bottom: 10px; }
}

/* 小手机 */
@media (max-width: 479px) {
  .recommend-grid .vod-card-list { flex: 0 0 calc(33.333% - 5px); }
  .dhm-title { font-size: 17px; }
}

/* ===== 剧情介绍：3行折叠 + 展开 ===== */
/* desc-body / desc-expand-btn 已移至 main.css */

/* ===== 我要评分 ===== */
.rate-block {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.rate-label {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.rate-stars {
  display: flex;
  gap: 4px;
}
.rs {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.1s, transform 0.1s;
  line-height: 1;
}
.rs:hover,
.rs.rs-on { color: var(--accent); }
.rs:hover { transform: scale(1.15); }
/* ===== 评分 Toast ===== */
.rate-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 24px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
}
.rate-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 播放集数：折叠显示前23集 ===== */
.playlist-episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.episodes-collapsed .episode {
  /* 只显示前23个 + 展开按钮 */
}
.episodes-collapsed .episode:nth-child(n+24):not(.episode-more-trigger) {
  display: none;
}
.episode-more-trigger {
  background: #f5f5f5;
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
}
.episode-more-trigger:hover {
  background: var(--accent-light);
}

/* ===== 分集剧情 ===== */
.plot-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.plot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.plot-header h3 { font-size: 14px; font-weight: 600; }
.plot-all {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.plot-all:hover { color: var(--accent); }
.plot-list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.plot-item {
  background: var(--bg-light);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.plot-ep {
  font-weight: 600;
  color: var(--text);
}
.plot-sep { color: var(--border-mid); }
.plot-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
}
.plot-link {
  color: var(--accent);
  font-size: 12px;
}
.plot-link:hover { text-decoration: underline; }

/* ===== 分享弹窗 ===== */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.share-modal.active { display: flex; }
.share-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.share-popup {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 20px 20px 18px;
  width: 320px;
  max-width: 92vw;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  text-align: center;
}
.share-popup-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 22px; line-height: 1;
  color: #bbb;
  background: none; border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.share-popup-close:hover { color: #666; }
.share-popup-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}
.share-popup-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.spi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.spi-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  transition: transform 0.15s;
}
.spi:hover .spi-circle { transform: scale(1.08); }
.spi--wx   .spi-circle { background: #07c160; }
.spi--qq   .spi-circle { background: #12b7f5; font-size: 17px; letter-spacing: -1px; }
.spi--wb   .spi-circle { background: #e6162d; }
.spi--fav  .spi-circle { background: #f5a623; font-size: 24px; }
.spi--more .spi-circle { background: #c8c8c8; color: #555; font-size: 26px; font-weight: 300; }
.spi small { font-size: 11px; color: #777; }
.share-popup-hint {
  font-size: 12px;
  color: #666;
  text-align: left;
  margin-bottom: 8px;
}
.share-popup-link {
  width: 100%;
  height: 60px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: #444;
  resize: none;
  box-sizing: border-box;
  line-height: 1.6;
  margin-bottom: 12px;
  background: #f9f9f9;
}
.share-popup-copy {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.share-popup-copy:hover { background: #e55f00; }