/* ============================================================
   黄果短剧下载站 · 全站样式
   设计基调：浅灰白底 + 白色圆角卡片 + 纯黑主按钮 + 暖黄点缀
   ============================================================ */

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #0d0e10;
  --ink-2: #3b3e44;
  --muted: #73777f;
  --line: #e8e6e0;
  --line-strong: #d8d5cd;
  --brand: #f2a11d;
  --brand-deep: #d8870a;
  --brand-soft: #fff4de;
  --green: #12925a;
  --green-soft: #e9f7ef;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 14, 16, .04), 0 8px 24px -16px rgba(13, 14, 16, .18);
  --shadow-lg: 0 2px 4px rgba(13, 14, 16, .04), 0 24px 60px -32px rgba(13, 14, 16, .28);
  --max: 1128px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 243, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 17px;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #ffc75a, var(--brand) 62%, #e08a08);
  display: grid;
  place-items: center;
  color: #3a2500;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: rgba(13, 14, 16, .05); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease;
}
.header-cta:hover { background: #24262a; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px -14px rgba(13, 14, 16, .7);
}
.btn-primary:hover { background: #24262a; transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: #b9b5ab; transform: translateY(-1px); }
.btn-brand {
  background: linear-gradient(140deg, #ffc45c, var(--brand) 70%);
  color: #3a2500;
  box-shadow: 0 10px 24px -14px rgba(216, 135, 10, .85);
}
.btn-brand:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-2); font-size: 16px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head-row .section-head { margin-bottom: 0; }
.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
}
.link-arrow:hover { border-color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 520px;
  background: radial-gradient(ellipse at 30% 30%, rgba(242, 161, 29, .16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero-badge b {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, rgba(242, 161, 29, .4), rgba(242, 161, 29, .12));
  border-radius: 3px;
  z-index: -1;
}
.hero-lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

/* Phone mock */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(300px, 78vw);
  aspect-ratio: 300 / 612;
  border-radius: 42px;
  background: #111214;
  padding: 9px;
  box-shadow: 0 40px 90px -40px rgba(13, 14, 16, .55), 0 0 0 1px rgba(13, 14, 16, .08);
  position: relative;
}
.phone::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #111214;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #0e0f11;
  display: flex;
  flex-direction: column;
}
.app-top {
  padding: 34px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
}
.app-tabs {
  display: flex;
  gap: 12px;
  padding: 0 14px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}
.app-tabs b { color: #fff; font-weight: 600; position: relative; }
.app-tabs b::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}
.app-feed {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin: 6px 10px 0;
  border-radius: 18px;
  background: #1a1c20;
}
.app-feed img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.app-feed-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  color: #fff;
}
.app-feed-meta h3 { font-size: 14px; margin-bottom: 4px; }
.app-feed-meta p { font-size: 10.5px; color: rgba(255, 255, 255, .75); }
.app-bars {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 16px;
  color: #fff;
}
.app-bars span { font-size: 10px; color: rgba(255, 255, 255, .6); }
.app-bars i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: grid; place-items: center;
  font-style: normal;
  font-size: 11px;
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 10.5px; }
.float-card .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 14px;
  flex: none;
}
.float-a { top: 12%; left: max(0px, -6%); }
.float-b { bottom: 14%; right: max(0px, -4%); animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Answer box (GEO) */
.answer-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
}
.answer-box h2 { font-size: 18px; margin-bottom: 8px; }
.answer-box p { color: var(--ink-2); font-size: 14.5px; }
.answer-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.answer-facts div {
  background: var(--surface);
  padding: 12px 14px;
}
.answer-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.answer-facts dd { margin: 0; font-size: 14px; font-weight: 600; }

/* ---------------- Download ---------------- */
.download-band {
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.download-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(242, 161, 29, .35), transparent 68%);
}
.download-band h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 12px; }
.download-band p { color: rgba(255, 255, 255, .68); font-size: 15px; max-width: 430px; }
.download-band .meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .55);
  position: relative;
}
.dl-actions {
  display: grid;
  gap: 12px;
  position: relative;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 14px 18px;
  color: #fff;
  text-align: left;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  width: 100%;
}
.dl-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); border-color: rgba(255, 255, 255, .28); }
.dl-btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.dl-btn.primary:hover { background: #f3f1ec; }
.dl-btn .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  flex: none;
}
.dl-btn.primary .ic { background: var(--ink); color: #fff; }
.dl-btn b { display: block; font-size: 14.5px; line-height: 1.35; }
.dl-btn small { font-size: 11.5px; opacity: .62; }

/* ---------------- Step cards ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card-link { display: block; }
.card-link h3 { transition: color .18s ease; }
.card-link:hover h3 { color: var(--brand-deep); }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 600;
}
.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--ink);
}
.card-icon svg { width: 20px; height: 20px; }

/* ---------------- Drama grid ---------------- */
.drama-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.drama {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.drama:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.drama-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dedbd4;
}
.drama-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.drama:hover .drama-thumb img { transform: scale(1.035); }
.drama-thumb .tag {
  position: absolute;
  left: 10px; top: 10px;
  background: rgba(13, 14, 16, .72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
}
.drama-body { padding: 16px 18px 18px; }
.drama-body h3 { font-size: 16px; margin-bottom: 5px; }
.drama-body p { font-size: 13px; color: var(--muted); }
.drama-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.drama-foot b { color: var(--ink); font-size: 13px; font-weight: 600; }

/* Genre chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.chip span { color: var(--muted); font-size: 11px; }

/* ---------------- Table ---------------- */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: #fbfaf7; }
tr:last-child td { border-bottom: 0; }
td b { font-weight: 600; }
.tag-ok {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}
.tag-ok::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* ---------------- FAQ ---------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--brand-deep); }
.faq-body { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 14.8px; }
.faq-body p + p { margin-top: 10px; }
.faq-body ul { margin: 10px 0 0; display: grid; gap: 6px; }
.faq-body li { padding-left: 16px; position: relative; }
.faq-body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.faq-more { margin-top: 22px; }
.faq-more .link-arrow { font-size: 13.5px; }

/* ---------------- Related searches ---------------- */
.search-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.search-cloud a {
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 13px;
  transition: all .18s ease;
}
.search-cloud a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------------- CTA strip ---------------- */
.cta-strip {
  background: linear-gradient(120deg, #fff6e6, #fffdf8 58%, #fff);
  border: 1px solid #f3e2bf;
  border-radius: 26px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-strip h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.cta-strip p { color: var(--ink-2); font-size: 14.5px; }
.cta-strip .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- Mobile sticky bar ---------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  background: rgba(13, 14, 16, .94);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 10px 10px 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.mobile-bar .txt { color: #fff; font-size: 12.5px; line-height: 1.35; }
.mobile-bar .txt b { display: block; font-size: 13.5px; }
.mobile-bar .txt span { color: rgba(255, 255, 255, .55); font-size: 11px; }
.mobile-bar .btn { padding: 11px 18px; font-size: 13.5px; }

/* ---------------- Inner page hero ---------------- */
.page-hero { padding: 56px 0 40px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  max-width: 820px;
}
.page-hero .lead { font-size: 16.5px; color: var(--ink-2); max-width: 720px; }
.page-hero .meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 20px; font-size: 12.5px; color: var(--muted);
}

/* Prose */
.prose h2 { font-size: clamp(22px, 2.9vw, 30px); margin: 44px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px; display: grid; gap: 8px; }
.prose li { color: var(--ink-2); font-size: 15px; padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }
.prose ol { counter-reset: n; }
.prose ol li::before {
  counter-increment: n;
  content: counter(n);
  background: none;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 13px;
  top: 2px;
  width: auto; height: auto;
  border-radius: 0;
}
.prose a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--ink); }
.prose strong { color: var(--ink); }

.note {
  background: var(--brand-soft);
  border: 1px solid #f4e0ba;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: #6b4a09;
  margin: 22px 0;
}
.note b { color: #533800; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 12px);
  background: rgba(13, 14, 16, .94);
  color: #fff;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 999px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 网盘下载弹窗 ---------------- */
body.modal-open { overflow: hidden; }

.dlm-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 14, 16, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.dlm-overlay.open { opacity: 1; visibility: visible; }

.dlm-panel {
  position: relative;
  width: min(580px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 32px 80px -28px rgba(13, 14, 16, .45);
  transform: translateY(12px) scale(.985);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.dlm-overlay.open .dlm-panel { transform: none; }

.dlm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.dlm-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 7px;
}
.dlm-head h2 { font-size: 23px; margin-bottom: 6px; }
.dlm-head p { font-size: 13px; color: var(--muted); }

.dlm-close {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f7f7f4;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dlm-close:hover { background: #efefeb; color: var(--ink); border-color: var(--line-strong); }

.dlm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: #fbfbf9;
  border: 1px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pan-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -20px rgba(13, 14, 16, .35);
  transform: translateY(-2px);
}
.pan-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.pan-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: 999px;
}

.pan-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  font-size: 17px;
  font-weight: 700;
}
.pan-card--quark .pan-icon { background: #e8f0ff; color: #1a5fd0; }
.pan-card--baidu .pan-icon { background: #e6eeff; color: #2456c9; }
.pan-card b { font-size: 15.5px; }
.pan-card small { font-size: 12.5px; color: var(--muted); line-height: 1.5; min-height: 38px; }

.pan-btn {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  transition: background .18s ease, border-color .18s ease;
}
.pan-card:hover .pan-btn { background: #24262a; }
.pan-card--baidu .pan-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.pan-card--baidu:hover .pan-btn { background: #f6f6f3; }

.dlm-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .dlm-panel { padding: 22px; border-radius: 20px; }
  .dlm-head h2 { font-size: 20px; }
  .dlm-grid { grid-template-columns: 1fr; }
  .pan-card small { min-height: 0; }
}
/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-lead { max-width: none; }
  .phone-stage { order: -1; }
  .float-a { left: 2%; }
  .float-b { right: 2%; }
  .answer-box { grid-template-columns: 1fr; }
  .download-band { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 68px; left: 12px; right: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 2px;
  }
  .site-header.nav-open .nav a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .section { padding: 58px 0; }
  .hero { padding: 40px 0 44px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .drama-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 28px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .answer-facts { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 560px; }
  .download-band { border-radius: 22px; }
  .prose h2 { margin-top: 34px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 32px; }
  .btn { padding: 13px 18px; font-size: 14px; }
  .dl-btn { padding: 13px 14px; }
}
