:root {
  color-scheme: dark;
  --bg: #070812;
  --surface: #101323;
  --surface-2: #181a31;
  --line: rgba(255, 255, 255, .12);
  --text: #fbf9ff;
  --muted: #b9b6cc;
  --faint: #77758d;
  --pink: #f08acb;
  --purple: #9b87ff;
  --cyan: #91e7f0;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; background: radial-gradient(circle at 50% -10%, #1b1631 0, var(--bg) 47%); color: var(--text); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 8%, rgba(123, 102, 255, .2), transparent 30%), radial-gradient(circle at 10% 35%, rgba(245, 113, 190, .13), transparent 26%), linear-gradient(110deg, rgba(5, 7, 17, .18), transparent 50%, rgba(21, 13, 44, .22)); z-index: -1; }
body::after { content: ""; position: fixed; inset: -38px; pointer-events: none; background: linear-gradient(180deg, rgba(7, 8, 18, .64), rgba(7, 8, 18, .86)), url("img/haibao.webp") center / cover no-repeat; filter: blur(25px) saturate(1.16); opacity: .58; transform: scale(1.07); z-index: -2; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container, .header-inner { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(8, 9, 20, .94), rgba(8, 9, 20, .76)); box-shadow: 0 10px 36px rgba(0,0,0,.2); backdrop-filter: blur(22px); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; gap: 11px; align-items: center; min-width: max-content; }
.brand-mark { display: block; width: 40px; height: 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; box-shadow: 0 0 24px rgba(213, 98, 185, .38), 0 0 0 4px rgba(236, 114, 190, .05); transition: transform .25s ease, box-shadow .25s ease; }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.05); box-shadow: 0 0 28px rgba(213, 98, 185, .5), 0 0 0 4px rgba(236, 114, 190, .08); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { font-size: 17px; letter-spacing: .1em; text-shadow: 0 0 18px rgba(240, 138, 203, .24); }
.brand-copy small { color: var(--faint); font-size: 8px; letter-spacing: .18em; }
.main-nav { display: flex; gap: 27px; align-items: center; margin-right: auto; }
.main-nav a { position: relative; color: var(--muted); font-size: 14px; transition: color .25s ease, transform .25s ease; }
.main-nav a:hover { transform: translateY(-1px); }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ""; display: block; width: 24px; height: 2px; margin: 7px auto -9px; border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 0 12px rgba(240, 138, 203, .65); }
.search-form { display: flex; align-items: center; width: 188px; height: 38px; padding-left: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.search-form input { width: 100%; border: 0; outline: 0; background: none; color: var(--text); font-size: 12px; }
.search-form input::placeholder { color: var(--faint); }
.search-form button { width: 35px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; font-size: 21px; line-height: 1; }
.breadcrumbs { display: flex; gap: 12px; align-items: center; padding: 32px 0 22px; color: var(--faint); font-size: 12px; letter-spacing: .02em; }
.breadcrumbs a:hover { color: var(--text); }
.hero-section { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding: 26px 0 84px; }
.poster-wrap { position: relative; z-index: 1; width: 100%; max-width: 280px; align-self: start; border-radius: 20px; box-shadow: 0 32px 70px rgba(0,0,0,.48), 0 0 0 8px rgba(255,255,255,.025); transition: transform .35s ease, box-shadow .35s ease, filter .35s ease; }
.poster-wrap::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px; background: linear-gradient(145deg, rgba(255, 190, 230, .08), rgba(155, 135, 255, .2), rgba(145, 231, 240, .08)); opacity: 0; transition: opacity .35s ease, filter .35s ease; filter: blur(1px); }
.poster-wrap:hover { transform: translateY(-7px) scale(1.025); filter: saturate(1.08); box-shadow: 0 42px 86px rgba(0,0,0,.56), 0 0 30px rgba(240,138,203,.18), 0 0 0 8px rgba(255,255,255,.035); }
.poster-wrap:hover::before { opacity: 1; filter: blur(0); }
.poster-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.poster { display: block; width: 100%; height: auto; aspect-ratio: 71 / 100; object-fit: cover; border-radius: inherit; filter: saturate(1.05) contrast(1.03); }
.poster-badge { position: absolute; left: 16px; bottom: 15px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; color: #fff; background: rgba(7, 8, 17, .68); box-shadow: 0 8px 18px rgba(0,0,0,.24); font-size: 9px; letter-spacing: .16em; }
.hero-content { position: relative; z-index: 1; padding: 20px 0 0; min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 11px; color: var(--pink); font-size: 10px; font-weight: 700; letter-spacing: .24em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: clamp(39px, 6vw, 64px); line-height: 1.08; letter-spacing: .1em; font-weight: 750; background: linear-gradient(115deg, #fff 18%, #f6d7eb 48%, #baaaff 92%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 28px rgba(226, 163, 222, .16); }
.english-title { margin-bottom: 24px; color: var(--cyan); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 0 18px rgba(145, 231, 240, .34); }
.hero-summary { max-width: 670px; margin-bottom: 27px; color: #d2cedf; font-size: 15px; line-height: 1.85; }
.tag-action-row { display: flex; align-items: center; justify-content: flex-start; gap: 58px; margin-bottom: 27px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag-action-row .tag-list { margin-bottom: 0; }
.tag-list span { padding: 5px 12px; border: 1px solid rgba(240, 138, 203, .45); border-radius: 999px; color: #f0b5d8; background: rgba(238, 119, 193, .06); box-shadow: inset 0 0 14px rgba(240, 138, 203, .04); font-size: 11px; }
.metrics { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 30px; padding: 0; border: 0; background: none; box-shadow: none; }
.metric-badge { position: relative; display: inline-flex !important; align-items: center; gap: 6px; min-width: 0 !important; min-height: 22px; padding: 0 !important; overflow: visible; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; cursor: default; line-height: 1; transition: none; }
.metric-badge::after { display: none; }
.metric-icon, .rating-stars svg { display: block; width: 16px; height: 16px; flex: 0 0 16px; fill: currentColor; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.metric-hot { color: #ffad62; background: linear-gradient(110deg, rgba(255, 166, 91, .16), rgba(240, 138, 203, .08)); }
.metric-hot .metric-icon { animation: heat-pulse 1.8s ease-in-out infinite; }
.metric-like { color: #ff9d70; }
.metric-favorite { color: #ff8ebc; }
.metric-rating { color: #ffad62; }
.rating-stars { display: inline-flex; align-items: center; color: #ffad62; }
.metric-badge strong { color: #ffd08e; font-size: 14px; line-height: 1; font-weight: 800; letter-spacing: .01em; }
.metric-name { display: inline !important; color: #a9a5b8; font-size: 11px; line-height: 1; font-weight: 500; white-space: nowrap; }
@keyframes heat-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 21px; }
.tag-action-row .hero-actions { flex: 0 0 auto; margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 23px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, #ef86c7 0%, #c77cf0 48%, #8279ed 100%); box-shadow: 0 13px 30px rgba(190, 93, 187, .3), inset 0 1px 0 rgba(255,255,255,.28); }
.button-primary:hover { filter: saturate(1.13) brightness(1.06); box-shadow: 0 16px 36px rgba(190, 93, 187, .46), 0 0 24px rgba(164, 116, 239, .25); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.06); color: var(--text); }
.button-ghost:hover { border-color: rgba(240,138,203,.6); background: rgba(240,138,203,.08); }
.meta-line { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; color: var(--faint); font-size: 11px; }
.meta-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.content-section { position: relative; padding: 72px 0; border-top: 1px solid rgba(255,255,255,.12); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; font-size: clamp(23px, 2.6vw, 30px); letter-spacing: .06em; line-height: 1.22; text-shadow: 0 0 22px rgba(175, 146, 255, .16); }
.section-note { color: var(--faint); font-size: 11px; }
.episode-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.episode-card { display: grid; place-items: center; min-height: 68px; padding: 14px 15px; text-align: center; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.episode-card:hover { transform: translateY(-4px); border-color: rgba(240,138,203,.55); background: linear-gradient(145deg, rgba(240,138,203,.1), rgba(142,120,245,.07)); box-shadow: 0 15px 32px rgba(45, 24, 73, .2), 0 0 18px rgba(240,138,203,.08); }
.episode-card.active { border-color: rgba(240,138,203,.82); border-left-width: 3px; background: linear-gradient(135deg, rgba(220, 100, 183, .2), rgba(103, 89, 225, .17)); box-shadow: 0 14px 32px rgba(89, 48, 118, .24), 0 0 22px rgba(240,138,203,.1); }
.episode-card > span, .episode-card small { display: none; }
.episode-card strong { color: #f3eefa; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.reviews-section { padding-bottom: 78px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.review-card { position: relative; min-height: 190px; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.review-card.reveal-on-scroll { transition: opacity .65s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.review-card::before { content: "“"; position: absolute; top: -6px; right: 16px; color: rgba(240,138,203,.13); font-family: Georgia, serif; font-size: 76px; line-height: 1; pointer-events: none; }
.review-card:hover { transform: translateY(-0.4px) scale(1.015); border-color: rgba(145, 231, 240, .42); box-shadow: 0 24px 52px rgba(40, 88, 113, .24), 0 0 28px rgba(123,216,233,.11); }
.review-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.review-profile { display: flex; min-width: 0; align-items: center; gap: 10px; }
.review-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff5fb; box-shadow: 0 7px 16px rgba(0,0,0,.2); font-size: 13px; font-weight: 700; }
.avatar-pink { background: linear-gradient(135deg, #e58cbd, #8f5cc8); }
.avatar-blue { background: linear-gradient(135deg, #6bbfd0, #6675d5); }
.avatar-gold { background: linear-gradient(135deg, #e9ad6e, #b86a9b); }
.avatar-purple { background: linear-gradient(135deg, #aa83df, #6d5bb0); }
.avatar-cyan { background: linear-gradient(135deg, #68d4c8, #6478c8); }
.avatar-lilac { background: linear-gradient(135deg, #d18dd5, #7972d3); }
.review-name { overflow: hidden; color: #e8e4f0; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.review-stars { color: #ffb75e; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.review-stars b { margin-left: 4px; color: #ffd08e; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.review-card p { position: relative; z-index: 1; max-width: 285px; min-height: 78px; margin-bottom: 15px; color: #d0ccdc; font-size: 12px; line-height: 1.72; }
.review-label { color: var(--faint); font-size: 10px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(4, 7, 15, .78), rgba(4, 6, 13, .96)); color: var(--faint); font-size: 11px; }
.site-footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 34px; min-height: 142px; padding: 24px 0; }
.footer-brand .brand { display: inline-flex; }
.footer-brand .brand-mark { width: 38px; height: 50px; }
.footer-brand p { margin: 10px 0 0; color: #77788d; font-size: 11px; }
.footer-nav { display: flex; justify-content: center; gap: 25px; }
.footer-nav a { color: #89899c; transition: color .25s ease; }
.footer-nav a:hover { color: var(--pink); }
.footer-meta { display: grid; justify-items: end; gap: 8px; color: #74758a; text-align: right; }
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.review-card.reveal-on-scroll.is-visible:hover { transform: translateY(-0.4px) scale(1.015); }

@media (max-width: 820px) {
  .container, .header-inner { width: min(100% - 34px, 650px); }
  .header-inner { min-height: 70px; gap: 20px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-bottom: 13px; }
  .main-nav a { font-size: 12px; }
  .search-form { margin-left: auto; width: 38px; padding-left: 0; border: 0; background: none; }
  .search-form input { display: none; }
  .search-form button { width: 38px; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; }
  .brand { margin-bottom: 3px; }
  .breadcrumbs { padding-top: 24px; }
  .hero-section { grid-template-columns: minmax(170px, 31%) minmax(0, 1fr); gap: 28px; padding-bottom: 62px; }
  .hero-content { padding-top: 4px; }
  .metrics { gap: 20px; }
  .episode-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .container, .header-inner { width: min(100% - 28px, 470px); }
  .brand-copy strong { font-size: 15px; }
  .brand-mark { width: 32px; height: 43px; }
  .main-nav { gap: 7px; }
  .main-nav a { font-size: 11px; }
  .main-nav a.active::after { margin-bottom: -7px; }
  .hero-section { grid-template-columns: 124px minmax(0, 1fr); gap: 18px; padding: 17px 0 48px; }
  .poster-wrap { border-radius: 12px; }
  .poster-badge { left: 7px; bottom: 7px; padding: 3px 5px; font-size: 6px; }
  h1 { font-size: clamp(33px, 10.5vw, 46px); letter-spacing: .03em; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .english-title { margin-bottom: 13px; font-size: 9px; letter-spacing: .12em; }
  .hero-summary { margin-bottom: 14px; font-size: 11px; line-height: 1.65; }
  .tag-action-row { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 19px; }
  .tag-action-row .hero-actions { width: 100%; }
  .tag-action-row .button-primary { width: 100%; }
  .tag-list { gap: 5px; margin-bottom: 17px; }
  .tag-list span { padding: 3px 7px; font-size: 9px; }
  .metrics { display: flex; flex-wrap: nowrap; gap: 10px; width: calc(100% + 142px); margin-left: -142px; margin-bottom: 19px; }
  .metrics .metric-badge { display: inline-flex !important; flex: 1 1 0; min-width: 0 !important; min-height: 22px; justify-content: center; text-align: center; }
  .metrics .metric-badge .metric-icon, .metrics .metric-badge .rating-stars svg { width: 14px; height: 14px; flex-basis: 14px; }
  .metrics .metric-badge strong { font-size: 12px; }
  .hero-actions { gap: 8px; }
  .button { min-height: 39px; padding: 0 12px; border-radius: 8px; font-size: 11px; }
  .meta-line { width: calc(100% + 142px); margin-left: -142px; justify-content: center; gap: 5px; font-size: 9px; }
  .content-section { padding: 45px 0; }
  .section-heading { margin-bottom: 19px; }
  .section-heading h2 { font-size: 22px; }
  .section-kicker { margin-bottom: 8px; font-size: 9px; }
  .episode-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .episode-card { min-height: 58px; padding: 11px 10px; }
  .episode-card strong { font-size: 12px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 10px; }
  .review-card { min-height: 0; padding: 18px; }
  .review-card p { min-height: 0; margin-bottom: 13px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 22px; min-height: 0; padding: 28px 0; }
  .footer-nav { justify-content: flex-start; gap: 18px; }
  .footer-meta { justify-items: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
