/* 首页“每日焕新”：今日主打横幅、今日精选、今日专题、今日发现。沿用深紫主题变量。 */

/* ---------- 今日主打 ---------- */
.dh-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0;
  margin: 4px 0 30px; border-radius: 22px;
  border: 1px solid var(--line2, #40324d);
  background: var(--bg2, #15111c);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(183, 110, 232, .06) inset;
  animation: dh-rise .5s ease-out both;
}
.dh-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.dh-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.35); filter: blur(42px) saturate(1.25) brightness(.62);
}
.dh-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% 20%, rgba(183, 110, 232, .22), transparent 55%),
    linear-gradient(90deg, rgba(12, 10, 16, .92) 0%, rgba(12, 10, 16, .55) 55%, rgba(12, 10, 16, .82) 100%),
    linear-gradient(0deg, rgba(12, 10, 16, .85), transparent 45%);
}

.dh-hero-main { display: flex; align-items: center; gap: 34px; padding: 38px 40px; min-width: 0; }
.dh-hero-poster {
  flex: 0 0 210px; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; display: block;
  border: 1px solid rgba(214, 170, 240, .28);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 30px rgba(140, 60, 200, .25);
  transform: rotate(-1.5deg); transition: transform .3s, box-shadow .3s;
}
.dh-hero-poster:hover { transform: rotate(0) scale(1.02); box-shadow: 0 26px 50px rgba(0, 0, 0, .6), 0 0 40px rgba(170, 80, 230, .35); }
.dh-hero-poster img { width: 100%; height: 100%; object-fit: cover; }

.dh-hero-info { min-width: 0; }
.dh-hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; font-size: 13px; color: var(--tx3, #a99eb4); }
.dh-date { color: var(--tx2, #c6bdce); font-weight: 600; }
.dh-greet::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--neon, #b76ee8); box-shadow: 0 0 8px var(--neon, #b76ee8); }
.dh-badge {
  display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12px; font-weight: 700;
  color: #2a1a05; background: linear-gradient(135deg, #f7dc9a, #d9a94d);
  box-shadow: 0 0 16px rgba(235, 196, 112, .3);
}
.dh-hero-title {
  margin: 10px 0 10px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; font-weight: 800; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dh-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.dh-hero-meta span {
  font-size: 12px; padding: 3px 10px; border-radius: 8px; color: var(--tx2, #c6bdce);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
.dh-hero-intro {
  max-width: 620px; margin: 0 0 22px; font-size: 14px; line-height: 1.75; color: var(--tx2, #c6bdce);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dh-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dh-play { display: inline-flex; align-items: center; gap: 6px; padding: 11px 26px; border-radius: 99px; font-size: 15px; font-weight: 700; }
.dh-play svg { width: 18px; height: 18px; }
.dh-detail {
  padding: 10px 20px; border-radius: 99px; font-size: 14px; color: var(--tx2, #c6bdce);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  transition: border-color .2s, color .2s, background .2s;
}
.dh-detail:hover { color: #fff; border-color: var(--neon, #b76ee8); background: rgba(183, 110, 232, .1); }

/* ---------- 今日精选（主打右侧） ---------- */
.dh-picks {
  padding: 26px 22px; min-width: 0;
  background: rgba(12, 10, 16, .5); backdrop-filter: blur(14px);
  border-left: 1px solid rgba(255, 255, 255, .06);
}
.dh-picks-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--tx, #f3eff7); }
.dh-picks-title small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--tx4, #9b8ca8); }
.dh-picks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dh-pick {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px;
  transition: background .2s;
}
.dh-pick:hover { background: rgba(183, 110, 232, .1); }
.dh-pick-cover { flex: 0 0 54px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--bg3, #1d1626); border: 1px solid var(--line, #2b2334); }
.dh-pick-cover img { width: 100%; height: 100%; object-fit: cover; }
.dh-pick-body { min-width: 0; flex: 1; display: grid; gap: 4px; }
.dh-pick-body b { font-size: 14px; font-weight: 600; color: var(--tx, #f3eff7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dh-pick-body small { font-size: 12px; color: var(--tx4, #9b8ca8); }
.dh-pick-no {
  font-style: normal; font-size: 26px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 170, 240, .35);
}
.dh-pick:hover .dh-pick-no { -webkit-text-stroke-color: var(--neon, #b76ee8); }

/* ---------- 今日专题 ---------- */
.dh-topic .sec-title { align-items: center; }
.dh-topic-label {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  color: #f3e6fb; background: linear-gradient(135deg, #7b3fae, #4e2470);
  border: 1px solid rgba(214, 160, 245, .35); box-shadow: 0 0 12px rgba(150, 70, 210, .3);
}
.dh-topic-name { font-size: 20px; font-weight: 800; background: linear-gradient(90deg, #f1dcff, #c58df0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dh-topic-intro { margin: -6px 0 14px; font-size: 13px; color: var(--tx3, #a99eb4); }

/* ---------- 今日发现 ---------- */
.dh-shuffle { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--tx3, #a99eb4); }
.dh-shuffle svg { width: 15px; height: 15px; transition: transform .4s; }
.dh-shuffle:hover { color: var(--neon, #b76ee8); }
.dh-shuffle:hover svg { transform: rotate(180deg); }
.dh-batch[hidden] { display: none; }
.dh-in { animation: dh-fade .35s ease-out both; }

@keyframes dh-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dh-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .dh-hero { grid-template-columns: 1fr; }
  .dh-picks { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .06); padding: 16px 20px 18px; }
  .dh-picks-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 760px) {
  .dh-hero { margin: 0 0 22px; border-radius: 16px; }
  .dh-hero-main { gap: 16px; padding: 20px 16px 18px; align-items: flex-start; }
  .dh-hero-poster { flex-basis: 112px; border-radius: 12px; transform: none; }
  .dh-hero-eyebrow { margin-bottom: 8px; font-size: 12px; }
  .dh-greet { display: none; }
  .dh-hero-title { margin: 8px 0 8px; font-size: 21px; }
  .dh-hero-meta { gap: 6px; margin-bottom: 10px; }
  .dh-hero-meta span { font-size: 11px; padding: 2px 8px; }
  .dh-hero-intro { -webkit-line-clamp: 2; font-size: 13px; margin-bottom: 14px; }
  .dh-play { padding: 9px 18px; font-size: 14px; }
  .dh-detail { display: none; }
  .dh-picks { padding: 12px 12px 14px; }
  .dh-picks-title { padding-left: 4px; margin-bottom: 8px; font-size: 14px; }
  .dh-picks-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: none; }
  .dh-picks-list::-webkit-scrollbar { display: none; }
  .dh-picks-list li { flex: 0 0 78%; scroll-snap-align: start; }
  .dh-pick { background: rgba(255, 255, 255, .04); }
  .dh-topic-name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-hero, .dh-in { animation: none; }
  .dh-hero-poster, .dh-shuffle svg { transition: none; }
}
