:root {
  --red: #9d2c31;
  --red-deep: #7d2126;
  --gold: #f0c14e;
  --ink: #2c241c;
  --muted: #8a7b6e;
  --cream: #f7f3ec;
  --card: #fffdfb;
  --line: rgba(157, 44, 49, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.top-red { background: linear-gradient(180deg, #8d242a, var(--red) 40%, #a33b38); color: #fff; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand i { width: 36px; height: 36px; border-radius: 12px; background: var(--gold); color: #3a2208; display: grid; place-items: center; font-style: normal; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.gold-btn, .red-btn, .ghost-btn, .menu-btn {
  border: 0; cursor: pointer; border-radius: 12px; padding: 10px 14px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 6px;
}
.gold-btn { background: var(--gold); color: #3a2208; }
.red-btn { background: var(--red); color: #fff; }
.ghost-btn { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.45); }
.menu-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); width: 42px; height: 42px; justify-content: center; padding: 0; }
.intro { max-width: 1120px; margin: 0 auto; padding: 8px 16px 22px; }
.intro h1 { font-size: 26px; line-height: 1.35; }
.intro h1 span { color: #f0d7a2; font-weight: 600; font-size: 18px; margin-left: 8px; }
.intro p { color: rgba(255,255,255,.88); margin-top: 8px; max-width: 760px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { position: relative; min-height: 560px; margin: 0 16px; border-radius: 28px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; max-width: 1120px; margin-left: auto; margin-right: auto; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 10%, rgba(0,0,0,.78)); }
.hero-copy { position: relative; z-index: 1; padding: 28px 22px 22px; max-width: 680px; }
.pill { display: inline-flex; border: 1px solid rgba(240,193,78,.8); color: #f6e2ae; border-radius: 999px; padding: 4px 10px; font-size: 12px; margin-bottom: 10px; }
.hero h2 { font-size: 48px; line-height: 1.1; margin-bottom: 8px; }
.kicker { color: #f0d7a2; margin-bottom: 8px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tag { background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.meta .tag, .pick .tag, .soft .tag { background: #f8ece7; color: var(--red); }
.tag.hot { background: var(--red); }
.hero-actions, .action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hero .ghost-btn { background: rgba(255,255,255,.08); }
.hero-tabs { position: relative; z-index: 1; display: flex; gap: 8px; justify-content: flex-start; flex-wrap: wrap; padding: 0 22px 18px; }
.hero-tabs button { border: 0; background: rgba(0,0,0,.35); color: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.hero-tabs button.on { background: rgba(255,255,255,.9); color: #3a2208; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px auto; }
.stat { background: #fff; border-radius: 18px; padding: 14px; display: flex; gap: 10px; align-items: center; }
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 12px; }
.stat i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #fde8e4; color: var(--red); font-style: normal; }
.block { margin: 28px auto; }
.block h2 { font-size: 26px; }
.sub { color: var(--muted); margin: 6px 0 16px; }
.meta .sub, .pick .sub { margin: 4px 0 8px; }
.cat-grid, .poster-grid, .pick-list, .rank-list { display: grid; gap: 12px; }
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.cat-card, .panel, .poster-card, .pick, .rank-row, .soft {
  background: var(--card); border-radius: 20px; border: 1px solid var(--line);
}
.cat-card { padding: 16px; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-card strong { font-size: 18px; }
.cat-card span { color: var(--muted); font-size: 13px; }
.poster-grid { grid-template-columns: repeat(4, 1fr); }
.poster-card { overflow: hidden; }
.poster-card img, .pick img, .mini img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #ddd; }
.poster-card .meta, .pick .meta { padding: 12px; }
.poster-card h3, .pick h3 { font-size: 16px; }
.heat { color: var(--red); font-weight: 800; font-size: 13px; }
.pick-list { grid-template-columns: 1fr; }
.pick { display: grid; grid-template-columns: 112px 1fr; overflow: hidden; }
.pick img { aspect-ratio: 3/4; height: 100%; }
.rank-list { grid-template-columns: 1fr 1fr; }
.rank-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 12px; }
.num { font-weight: 800; color: var(--red); font-size: 20px; }
.about-band, .download-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; align-items: center; }
.soft { padding: 18px; }
.qr { width: 140px; height: 140px; border-radius: 16px; background: repeating-linear-gradient(90deg, #2c241c 0 8px, #fff 8px 12px), repeating-linear-gradient(#2c241c 0 8px, transparent 8px 12px); background-blend-mode: multiply; }
.footer { background: #fff; margin-top: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; }
.footer h3 { font-size: 14px; margin-bottom: 8px; }
.footer a, .footer p { display: block; color: var(--muted); margin: 6px 0; font-size: 13px; }
.legal { color: #b3a89e; font-size: 12px; margin-top: 16px; }
.page-hero { padding: 22px 0 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters a, .chip { border-radius: 999px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.filters a.on, .chip.on { background: var(--red); color: #fff; border-color: var(--red); }
.detail-top { background: radial-gradient(circle at 50% 0%, #4a2a22, #1a120e 55%); color: #f8f1e8; padding-bottom: 28px; }
.detail-top .crumb, .crumb { color: rgba(255,255,255,.7); font-size: 13px; padding-top: 12px; }
.detail-top .crumb a, .crumb a { color: #f0d7a2; }
.crumb-dark { color: var(--muted); }
.crumb-dark a { color: var(--red); }
.center-poster { width: min(230px, 68vw); margin: 16px auto; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.center-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.detail-copy { max-width: 760px; }
.detail-copy h1 { font-size: 36px; margin: 8px 0; }
.detail-top .ghost-btn { color: #fff; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.badge { border-radius: 999px; padding: 4px 10px; font-size: 12px; background: rgba(255,255,255,.12); }
.badge.red { background: var(--red); }
.badge.gold { background: var(--gold); color: #3a2208; }
.episode-wrap { padding: 20px 0 36px; }
.ep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ep { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; border: 1px solid transparent; }
.ep.on { border-color: var(--red); background: #fff5f4; }
.ep b { width: 28px; height: 28px; border-radius: 8px; background: #f3ece4; display: grid; place-items: center; }
.ep.on b { background: var(--red); color: #fff; }
.stage { position: relative; border-radius: 20px; overflow: hidden; background: #111; aspect-ratio: 16/9; margin: 14px 0; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: cover; }
.stage-mask { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.72)); padding: 16px; }
.play-orb { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 26px; cursor: pointer; margin-bottom: 8px; }
.drawer { position: fixed; inset: 0; background: rgba(42, 20, 18, .45); z-index: 30; display: flex; justify-content: flex-end; }
.drawer nav { width: min(320px, 86vw); background: #fff; height: 100%; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.drawer a, .drawer button { text-align: left; background: #f7f3ec; border: 0; border-radius: 12px; padding: 12px; font-weight: 700; cursor: pointer; }
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; display: grid; place-items: center; padding: 16px; }
.dialog { width: min(420px, 100%); background: #fff; border-radius: 20px; padding: 18px; }
.dialog h3 { margin-bottom: 6px; }
.dialog label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.dialog input, .search-line input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.search-line { display: flex; gap: 8px; margin: 12px 0; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #2c241c; color: #fff; border-radius: 999px; padding: 10px 14px; opacity: 0; transition: .2s; z-index: 50; }
.toast.show { opacity: 1; }
.empty { color: var(--muted); padding: 24px 0; }
.plain { display: grid; gap: 8px; margin-top: 8px; }
.plain div, .plain li { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; list-style: none; }
.detail-top .plain div { background: rgba(255,255,255,.06); }
.source-banner { background: #fff4d2; color: #6a4b12; padding: 8px 16px; text-align: center; }
@media (max-width: 900px) {
  .cat-grid, .footer-grid, .about-band, .download-band { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .poster-grid, .rank-list { grid-template-columns: 1fr 1fr; }
  .hero h2 { font-size: 36px; }
  .hero { min-height: 520px; margin: 0; border-radius: 0; }
}
@media (max-width: 640px) {
  .stats, .cat-grid, .poster-grid, .rank-list, .ep-grid, .footer-grid, .about-band, .download-band { grid-template-columns: 1fr; }
  .intro h1 span { display: block; margin: 4px 0 0; }
}
