/* 黄果短剧观看 · 独立样式表
   主题：琥珀胶片 —— 深栗底 + 黄果晶光 + 青果叶点缀 */

:root {
  --bg: #120a07;
  --bg-2: #1a0f0a;
  --panel: #1f140e;
  --card: #251812;
  --card-2: #2d1d15;
  --line: rgba(255, 186, 92, .14);
  --line-strong: rgba(255, 186, 92, .34);
  --amber: #f7b046;
  --amber-hot: #ffc76b;
  --amber-deep: #c9761f;
  --okra: #c4e26a;
  --okra-deep: #8fae35;
  --paper: #fdf3e2;
  --text: #f0e0c9;
  --muted: #b39a80;
  --dim: #8a7460;
  --radius: 20px;
  --radius-s: 12px;
  --shell: 1200px;
  --shadow-hard: 8px 8px 0 rgba(0, 0, 0, .35);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 82% -6%, rgba(247, 176, 70, .16), transparent 62%),
    radial-gradient(900px 520px at 4% 42%, rgba(196, 226, 106, .08), transparent 66%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: 0; top: 0; transform: translateY(-140%);
  background: var(--amber); color: #241206; padding: 10px 18px;
  border-radius: 0 0 var(--radius-s) 0; font-weight: 700; z-index: 200;
}
.skip-link:focus { transform: translateY(0); }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(18, 10, 7, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo {
  position: relative; width: 40px; height: 40px; flex: 0 0 40px;
  display: block; border-radius: 12px;
  background: linear-gradient(150deg, #3a2412, #1d1108);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 18px rgba(247, 176, 70, .22);
}
.brand-logo .pulp {
  position: absolute; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--amber-hot), var(--amber-deep) 72%);
  box-shadow: 0 0 10px rgba(247, 176, 70, .55);
}
.brand-logo .pulp:nth-child(1) { left: 8px; top: 14px; }
.brand-logo .pulp:nth-child(2) { left: 15px; top: 10px; width: 12px; height: 12px; }
.brand-logo .pulp:nth-child(3) { left: 15px; top: 19px; width: 12px; height: 12px; }
.brand-logo .leaf {
  position: absolute; right: 6px; top: 7px; width: 11px; height: 7px;
  background: var(--okra); border-radius: 60% 10% 60% 10%;
  transform: rotate(-24deg); opacity: .9;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  color: var(--text); transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(247, 176, 70, .12); color: var(--amber-hot); }
.main-nav .nav-cta {
  margin-left: 8px; padding: 10px 20px; color: #2a1503; font-weight: 800;
  background: linear-gradient(135deg, var(--amber-hot), var(--amber));
  box-shadow: 0 6px 18px rgba(247, 176, 70, .28);
}
.main-nav .nav-cta:hover { background: linear-gradient(135deg, #ffd68d, var(--amber-hot)); color: #2a1503; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px;
  background: rgba(247, 176, 70, .1); border: 1px solid var(--line-strong);
  border-radius: 11px; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--amber-hot); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 800; font-size: 15.5px; line-height: 1;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.btn-solid {
  color: #2a1503;
  background: linear-gradient(135deg, var(--amber-hot), var(--amber) 62%, var(--amber-deep));
  box-shadow: 0 10px 26px rgba(247, 176, 70, .26), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(247, 176, 70, .34), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost {
  color: var(--paper); border: 1px solid var(--line-strong);
  background: rgba(255, 240, 214, .04);
}
.btn-ghost:hover { background: rgba(247, 176, 70, .12); border-color: var(--amber); }
.btn-dark {
  color: var(--paper); background: #1a0f0a; border: 1px solid rgba(26, 15, 10, .2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.btn-dark:hover { transform: translateY(-2px); }
.btn-wide { width: 100%; justify-content: center; }
.mini-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--amber);
  border-bottom: 1px solid rgba(247, 176, 70, .35); padding-bottom: 1px;
}
.mini-link::after { content: "→"; transition: transform .2s ease; }
.mini-link:hover { color: var(--amber-hot); }
.mini-link:hover::after { transform: translateX(3px); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 74px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 186, 92, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 186, 92, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 60% 20%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 60% 20%, #000 0%, transparent 76%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 54px; align-items: center;
  padding-bottom: 42px;
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--okra); padding: 7px 15px; border-radius: 999px;
  background: rgba(196, 226, 106, .09); border: 1px solid rgba(196, 226, 106, .3);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--okra); box-shadow: 0 0 8px var(--okra); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5.1vw, 62px);
  font-weight: 800; line-height: 1.13; letter-spacing: -.025em;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--amber-hot), var(--amber) 42%, #ff9f3c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 4px;
}
.hero-lead { margin-top: 22px; max-width: 560px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.hero-lead strong { color: var(--paper); font-weight: 700; }
.hero-notes { margin-top: 24px; display: grid; gap: 10px; }
.hero-notes li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.hero-notes svg { width: 20px; height: 20px; color: var(--amber); flex: 0 0 20px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; z-index: 1; }
.poster-stack { position: relative; margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 28px 60px rgba(0, 0, 0, .5); transform: rotate(-1.6deg); }
.poster-stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.poster-stack figcaption {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(18, 10, 7, .76); border: 1px solid var(--line-strong); color: var(--paper);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #ff6b4a; box-shadow: 0 0 9px #ff6b4a; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }

.float-card {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 13px 18px; border-radius: var(--radius-s);
  background: rgba(37, 24, 18, .94); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}
.float-card strong { font-size: 22px; font-weight: 800; color: var(--amber-hot); font-family: var(--mono); letter-spacing: -.02em; }
.float-card span { font-size: 11.5px; color: var(--muted); letter-spacing: .03em; }
.fc-1 { left: -22px; top: 34px; }
.fc-2 { right: -14px; bottom: 58px; }
.fc-2 strong { color: var(--okra); }

.stat-bar {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 8px 0 0; padding: 0; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(247, 176, 70, .1), rgba(196, 226, 106, .05));
  border: 1px solid var(--line);
}
.stat-bar > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stat-bar > div:last-child { border-right: 0; }
.stat-bar dt { font-size: 27px; font-weight: 800; color: var(--amber-hot); font-family: var(--mono); letter-spacing: -.02em; }
.stat-bar dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------------- 区块骨架 ---------------- */
.section { padding: 92px 0; }
.section.tight { padding: 76px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; margin-bottom: 42px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--amber); padding: 6px 14px; border-radius: 999px;
  background: rgba(247, 176, 70, .1); border: 1px solid rgba(247, 176, 70, .28);
  margin-bottom: 16px;
}
.sec-head h2, .merit-left h2, .faq-left h2 { font-size: clamp(25px, 3.1vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.sec-sub { flex: 0 0 40%; max-width: 430px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------------- 剧集卡 ---------------- */
.drama-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.drama-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.drama-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 20px 38px rgba(0, 0, 0, .38); }
.drama-poster { position: relative; display: block; overflow: hidden; }
.drama-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.drama-card:hover .drama-poster img { transform: scale(1.04); }
.badge-rank {
  position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: #2a1503; background: var(--amber-hot); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.drama-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.drama-body h3 { font-size: 20px; font-weight: 800; }
.drama-body h3 a:hover { color: var(--amber-hot); }
.drama-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.drama-meta span { font-size: 11.5px; color: var(--muted); padding: 3px 10px; border-radius: 6px; background: rgba(255, 240, 214, .05); border: 1px solid var(--line); }
.drama-desc { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.drama-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.score { font-family: var(--mono); font-size: 19px; font-weight: 800; color: var(--okra); }
.score::before { content: "评分 "; font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--dim); letter-spacing: .04em; }

/* ---------------- 题材分类 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .28s ease, border-color .28s ease;
  overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--accent, var(--amber)); opacity: .1; filter: blur(6px);
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.cat-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  font-size: 20px; font-weight: 800; color: #2a1503;
  background: var(--accent, var(--amber)); margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
}
.cat-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 9px; }
.cat-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.cat-a { --accent: #ffc76b; }
.cat-b { --accent: #ff8f5e; }
.cat-c { --accent: #8fd6f0; }
.cat-d { --accent: #c4e26a; }
.cat-e { --accent: #ffd166; }
.cat-f { --accent: #f7a3c0; }

/* ---------------- 图库 ---------------- */
.image-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px; gap: 18px;
}
.gal-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.gal-item.gal-big { grid-column: span 2; grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 38px 18px 14px; font-size: 13px; font-weight: 600; color: var(--paper);
  background: linear-gradient(transparent, rgba(10, 5, 3, .88));
}

/* ---------------- 步骤 ---------------- */
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -19px; top: 42px; z-index: 2;
  font-size: 19px; color: var(--amber); opacity: .7;
}
.step-no { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--amber); }
.step h3 { margin-top: 9px; font-size: 18px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------------- 优势 + 榜单面板 ---------------- */
.merit-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.merit-list { margin-top: 26px; display: grid; gap: 2px; }
.merit-list li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.merit-list li:last-child { border-bottom: 1px solid var(--line); }
.m-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(247, 176, 70, .1); border: 1px solid var(--line-strong); }
.m-ico svg { width: 24px; height: 24px; color: var(--amber-hot); }
.merit-list h3 { font-size: 17.5px; font-weight: 800; }
.merit-list p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.rank-panel {
  padding: 28px 26px 26px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--card-2), var(--panel) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .34);
}
.rank-panel h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rank-panel ul { margin: 18px 0 24px; display: grid; gap: 14px; }
.rank-panel li { display: grid; grid-template-columns: 1fr 92px 40px; align-items: center; gap: 10px; }
.rank-panel li span { font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-panel li i { display: block; height: 6px; border-radius: 99px; background: rgba(255, 240, 214, .09); position: relative; overflow: hidden; }
.rank-panel li i::after {
  content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: 99px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-hot));
}
.rank-panel li b { font-family: var(--mono); font-size: 14px; color: var(--okra); text-align: right; }

/* ---------------- 指南文章 ---------------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card {
  position: relative; padding: 30px 30px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  border-top: 4px solid var(--accent, var(--amber));
  transition: transform .28s ease, border-color .28s ease;
}
.guide-card:hover { transform: translateY(-5px); }
.g-a { --accent: #ffc76b; }
.g-b { --accent: #8fd6f0; }
.g-c { --accent: #c4e26a; }
.g-d { --accent: #ff8f5e; }
.g-tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent, var(--amber)); }
.guide-card h3 { margin: 12px 0 12px; font-size: 20px; font-weight: 800; line-height: 1.45; }
.guide-card h3 a:hover { color: var(--amber-hot); }
.guide-card p { font-size: 13.8px; color: var(--muted); line-height: 1.9; margin-bottom: 10px; }
.guide-card .mini-link { margin-top: 6px; }

/* ---------------- FAQ ---------------- */
.faq-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.faq-left p { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.faq-list { display: grid; gap: 12px; }
.faq {
  border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line);
  padding: 0 22px; transition: border-color .25s ease, background .25s ease;
}
.faq[open] { border-color: var(--line-strong); background: var(--card-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-size: 15.5px; font-weight: 700; color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 21px; font-weight: 400; color: var(--amber); line-height: 1;
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* ---------------- CTA ---------------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 42px;
  padding: 46px 50px; border-radius: 26px;
  background: linear-gradient(118deg, var(--amber-hot), var(--amber) 46%, #ff9f3c);
  box-shadow: 0 26px 56px rgba(247, 176, 70, .2);
}
.cta-copy h2 { font-size: clamp(23px, 2.8vw, 33px); color: #2a1503; font-weight: 800; }
.cta-copy p { margin-top: 10px; font-size: 14.5px; color: rgba(42, 21, 3, .78); line-height: 1.8; max-width: 620px; }
.cta-band .btn { flex: 0 0 auto; }

/* ---------------- 页脚 ---------------- */
.site-footer { margin-top: 40px; padding: 62px 0 26px; background: #0d0705; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.f-brand .brand-logo { margin-bottom: 16px; }
.f-brand h3 { font-size: 20px; font-weight: 800; }
.f-brand p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.85; max-width: 340px; }
.f-col { display: flex; flex-direction: column; gap: 11px; }
.f-col h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--amber); margin-bottom: 3px; }
.f-col a { font-size: 13.5px; color: var(--muted); transition: color .2s ease; }
.f-col a:hover { color: var(--amber-hot); }
.footer-base { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-base p { font-size: 12.5px; color: var(--dim); }

/* ---------------- 回到顶部 ---------------- */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong);
  background: rgba(37, 24, 18, .92); color: var(--amber-hot);
  font-size: 19px; font-weight: 700; line-height: 1;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .42);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: #2a1503; }

/* ---------------- 滚动渐入 ---------------- */
.js-reveal.is-hidden { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal.is-hidden.is-in { opacity: 1; transform: none; }

/* ---------------- 子页面：共用 ---------------- */
.sub-hero { position: relative; padding: 62px 0 42px; border-bottom: 1px solid var(--line); overflow: hidden; }
.sub-hero .hero-bg { opacity: .8; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 13px; color: var(--dim); margin-bottom: 20px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--amber-hot); }
.crumb span[aria-hidden] { color: var(--dim); opacity: .6; }
.sub-hero h1 { font-size: clamp(28px, 3.9vw, 46px); font-weight: 800; letter-spacing: -.02em; max-width: 880px; }
.sub-lead { margin-top: 16px; max-width: 760px; font-size: 15.5px; color: var(--muted); line-height: 1.9; }
.sub-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.sub-meta > span { font-size: 12px; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: rgba(255, 240, 214, .05); border: 1px solid var(--line); }
.sub-meta .tag-hot { color: #2a1503; background: var(--amber-hot); border-color: transparent; font-weight: 700; }

/* ---------------- 文章页 ---------------- */
.article-wrap { padding: 52px 0 30px; }
.article-main { min-width: 0; }
.article-cover { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; aspect-ratio: 1200 / 760; object-fit: cover; }
.article-cover figcaption { padding: 12px 18px; font-size: 12.5px; color: var(--dim); background: var(--card); border-top: 1px solid var(--line); }
.article-lead {
  margin-bottom: 30px; padding: 20px 24px; border-left: 3px solid var(--amber);
  background: rgba(247, 176, 70, .06); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 15.5px; color: var(--text); line-height: 1.95;
}
.article-body h2 {
  margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--amber);
  font-size: 23px; font-weight: 800; line-height: 1.45;
}
.article-body h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 800; color: var(--paper); }
.article-body p { margin-bottom: 16px; font-size: 15px; color: var(--muted); line-height: 1.95; }
.article-body p strong { color: var(--paper); font-weight: 700; }
.article-body ul { margin: 0 0 18px; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.article-body ul li strong { color: var(--paper); }
.article-table { width: 100%; margin: 8px 0 22px; border-collapse: collapse; font-size: 13.5px; }
.article-table th, .article-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; color: var(--muted); vertical-align: top; }
.article-table th { background: rgba(247, 176, 70, .1); color: var(--paper); font-weight: 700; }
.article-tip {
  margin: 24px 0; padding: 20px 24px; border-radius: var(--radius-s);
  background: rgba(196, 226, 106, .07); border: 1px dashed rgba(196, 226, 106, .35);
  font-size: 14.5px; color: var(--text); line-height: 1.9;
}
.article-tip strong { color: var(--okra); }
.article-foot { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

.article-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-box { padding: 24px 24px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.side-box h3 { font-size: 15px; font-weight: 800; color: var(--amber); letter-spacing: .06em; margin-bottom: 14px; }
.side-box ol { margin: 0; padding-left: 18px; display: grid; gap: 9px; }
.side-box ol li { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.side-box ol li::marker { color: var(--amber); font-weight: 700; }
.side-links { display: grid; gap: 10px; }
.side-links a { display: block; font-size: 13.5px; color: var(--muted); padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.side-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.side-links a:hover { color: var(--amber-hot); }
.side-box .btn { margin-top: 16px; }

/* ---------------- 剧集详情页 ---------------- */
.detail-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 46px; padding: 52px 0 20px; align-items: start; }
.detail-poster { position: sticky; top: 96px; }
.detail-poster figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.detail-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.detail-poster .btn { margin-top: 18px; }
.detail-note { margin-top: 12px; font-size: 12px; color: var(--dim); text-align: center; }
.detail-main h2 { margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--amber); font-size: 22px; font-weight: 800; }
.detail-main > p { margin-bottom: 15px; font-size: 15px; color: var(--muted); line-height: 1.95; }
.detail-main > p strong { color: var(--paper); }
.ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 9px; margin: 6px 0 8px; }
.ep-list span {
  display: grid; place-items: center; padding: 11px 0; border-radius: 9px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  background: rgba(255, 240, 214, .04); border: 1px solid var(--line);
}
.ep-list span.is-new { color: #2a1503; background: var(--amber-hot); border-color: transparent; font-weight: 700; }
.detail-points { margin: 6px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.detail-points li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.detail-points li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.detail-points li strong { color: var(--paper); }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 8px; }
.pill-row span { font-size: 12.5px; color: var(--text); padding: 6px 13px; border-radius: 999px; background: rgba(196, 226, 106, .08); border: 1px solid rgba(196, 226, 106, .28); }
.review-list { display: grid; gap: 14px; }
.review-item { padding: 18px 20px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); }
.review-item .rv-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12.5px; color: var(--dim); }
.review-item .rv-head strong { color: var(--amber-hot); font-size: 13px; }
.review-item p { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 0; }
.other-dramas { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.other-dramas h2 { margin: 0 0 18px; padding-left: 0; border-left: 0; font-size: 20px; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other-card { display: flex; gap: 13px; align-items: center; padding: 12px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease; }
.other-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.other-card img { width: 52px; height: 70px; border-radius: 8px; object-fit: cover; flex: 0 0 52px; }
.other-card strong { display: block; font-size: 14px; }
.other-card em { display: block; font-style: normal; font-size: 11.5px; color: var(--dim); margin-top: 3px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 380px; gap: 36px; }
  .drama-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-row { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .merit-wrap { grid-template-columns: 1fr; gap: 38px; }
  .detail-wrap { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; }
  .article-side, .detail-poster { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 18px 20px; margin: 0;
    background: rgba(18, 10, 7, .98); border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .fc-1 { left: 4px; }
  .fc-2 { right: 4px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-sub { flex: none; max-width: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .image-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gal-item.gal-big { grid-column: span 2; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 28px; gap: 22px; }
  .detail-wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .detail-poster { max-width: 300px; margin: 0 auto; width: 100%; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section.tight { padding: 54px 0; }
  .header-inner { height: 64px; gap: 12px; }
  .brand-text em { display: none; }
  .main-nav { top: 64px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-bar > div { padding: 16px 18px; }
  .stat-bar > div:nth-child(2n) { border-right: 0; }
  .stat-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-bar dt { font-size: 22px; }
  .drama-grid, .cat-grid, .guide-grid, .step-row { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .image-gallery { grid-auto-rows: 165px; gap: 12px; }
  .rank-panel li { grid-template-columns: 1fr 70px 36px; }
  .float-card strong { font-size: 19px; }
  .sub-hero { padding: 38px 0 28px; }
  .sub-lead { font-size: 14.5px; }
  .article-wrap { padding: 34px 0 18px; }
  .article-body h2 { font-size: 20px; margin-top: 32px; }
  .article-lead { padding: 16px 18px; font-size: 14.5px; }
  .article-table { font-size: 12.5px; }
  .article-table th, .article-table td { padding: 9px 10px; }
  .other-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .f-brand { grid-column: 1 / -1; }
}
