@charset "UTF-8";

/* =========================================================
   追剧达人 ZJDR — 单页下载站样式
   配色：奶油纸底 + 标志黄 #FFD60A + 墨黑 #14100A + 橙 #FF5A1F
   ========================================================= */

:root {
  --ink: #14100a;
  --ink-2: #3b3226;
  --muted: #7b7261;
  --muted-2: #a29883;
  --yellow: #ffd60a;
  --yellow-deep: #f2b800;
  --yellow-soft: #fff3bd;
  --orange: #ff5a1f;
  --cream: #fffcf3;
  --butter: #fff6d9;
  --white: #ffffff;
  --line: #e6dcc2;
  --radius-lg: 26px;
  --radius: 16px;
  --hard: 5px 5px 0 rgba(20, 16, 10, 0.14);
  --sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: -0.02em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--yellow);
  z-index: 90;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 通用元素 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}
.eyebrow-light { color: #ffe680; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--yellow);
  color: var(--yellow);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--orange);
}

.btn-sun {
  background: var(--yellow);
  color: var(--ink);
}
.btn-sun:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--orange);
  background: #ffdf3d;
}

.btn-sm { min-height: 42px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 243, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink);
  background: rgba(255, 252, 243, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 80px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 19px; font-weight: 900; letter-spacing: 0.02em; }
.brand-text em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width 0.22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: top 0.22s ease, transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: 26px 0 58px; }

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 52px 48px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 14px 14px 0 rgba(20, 16, 10, 0.1);
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(20, 16, 10, 0.16) 1.3px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 42%, rgba(0, 0, 0, 0.7) 100%);
  mask-image: linear-gradient(115deg, transparent 42%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 36px;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(52px, 6.8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 9px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--orange);
}
.hero-sub {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero-lede {
  max-width: 470px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: #3a3122;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin: 14px 0 0; font-size: 12.5px; color: #4b4130; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 2px solid rgba(20, 16, 10, 0.22);
}
.hero-stats li { flex: 1 1 0; min-width: 100px; padding-right: 14px; }
.hero-stats li + li { padding-left: 18px; border-left: 1px solid rgba(20, 16, 10, 0.22); }
.hero-stats strong {
  display: block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero-stats strong sup { font-size: 12px; }
.hero-stats span { display: block; margin-top: 2px; font-size: 12px; color: #4b4130; }

.hero-visual { position: relative; height: 540px; }

.phone {
  position: absolute;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: #fff;
  box-shadow: 9px 9px 0 rgba(20, 16, 10, 0.16);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.phone-front {
  left: 40%;
  top: 18px;
  width: 234px;
  height: 486px;
  transform: translateX(-50%) rotate(-2.5deg);
  z-index: 3;
}
.phone-back {
  right: 0;
  top: 96px;
  width: 198px;
  height: 414px;
  transform: rotate(5.5deg);
  z-index: 1;
}

.hero-filter {
  position: absolute;
  left: -40px;
  bottom: 2px;
  z-index: 4;
  width: 202px;
  padding: 12px 14px 10px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--hard);
  transform: rotate(-1.5deg);
}
.hero-filter-label {
  margin: 0 0 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-filter-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hero-filter-chips li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.hero-filter-chips li:first-child {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}
.hero-filter-result {
  margin: 11px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}
.hero-filter-result strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--orange);
  margin: 0 2px;
}

.float-tag {
  position: absolute;
  z-index: 5;
  top: 2px;
  right: 24px;
  padding: 8px 14px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(20, 16, 10, 0.16);
  font-size: 12.5px;
  font-weight: 800;
  transform: rotate(3deg);
}

/* ---------- 品类条 ---------- */

.strip { background: var(--ink); color: var(--yellow); }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.strip-sep { color: rgba(255, 214, 10, 0.45); }

/* ---------- 区块通用 ---------- */

.section { padding: 92px 0; scroll-margin-top: 96px; }
.section-butter { background: var(--butter); }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
.section-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
  margin-bottom: 40px;
}
.section-head-split .section-desc { max-width: 320px; margin: 0; text-align: right; }

/* ---------- 品类卡片 ---------- */

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.genre-card {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.genre-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--yellow);
}
.genre-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.genre-card h3 { font-size: 20px; margin-bottom: 8px; }
.genre-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.genre-meta { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--orange); }

/* ---------- 筛选 ---------- */

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 52px;
  align-items: start;
}
.filter-intro { position: sticky; top: 120px; }
.filter-intro h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.28; }
.filter-intro .section-desc { max-width: 380px; }
.filter-intro .btn { margin-top: 26px; }

.filter-panel {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 rgba(20, 16, 10, 0.12);
  overflow: hidden;
}
.filter-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.filter-panel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.filter-row {
  display: flex;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.filter-label {
  flex: none;
  width: 42px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  padding-top: 7px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--yellow);
}
.chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.filter-panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  background: #fbf7e8;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.filter-summary { line-height: 1.6; }
.filter-count strong { color: var(--orange); font-size: 15px; }

/* ---------- 追剧管理 ---------- */

.library-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: center;
}
.library-visual { text-align: center; }
.phone-library {
  position: relative;
  width: 240px;
  height: 507px;
  margin: 0 auto;
  transform: rotate(-2deg);
}
.library-caption {
  display: inline-block;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.library-copy h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
.library-copy .section-desc { max-width: 460px; }

.library-list { margin-top: 30px; border-top: 2px solid var(--ink); }
.library-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.library-num {
  flex: none;
  width: 40px;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.library-list h3 { font-size: 17px; margin-bottom: 6px; }
.library-list p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 排行榜 ---------- */

.rank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.rank-list {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 6px 26px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rank-row:last-child { border-bottom: 0; }
.rank-index {
  flex: none;
  width: 34px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.rank-row:first-child .rank-index { color: var(--orange); }
.rank-main { flex: 1 1 auto; min-width: 0; }
.rank-main h3 {
  font-size: 16.5px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-main p { margin: 0; font-size: 12.5px; color: var(--muted); }
.rank-bar {
  flex: none;
  display: block;
  width: 96px;
  height: 5px;
  border-radius: 3px;
  background: #f0e9d5;
  overflow: hidden;
}
.rank-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}
.rank-heat {
  flex: none;
  width: 42px;
  text-align: right;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-2);
}

.rank-side {
  padding: 30px 28px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(20, 16, 10, 0.12);
}
.rank-side-label {
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4b4130;
}
.rank-side-title { margin: 0 0 10px; font-size: 22px; font-weight: 900; }
.rank-side-text { margin: 0 0 22px; font-size: 13.5px; line-height: 1.8; color: #40371f; }
.rank-side .btn-sun { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.rank-side .btn-sun:hover { box-shadow: 6px 6px 0 var(--orange); background: var(--ink); }

/* ---------- 引语带 ---------- */

.quote-band {
  position: relative;
  padding: 64px 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.quote-inner { max-width: 840px; text-align: center; }
.quote-mark {
  display: block;
  font-size: 48px;
  line-height: 0.6;
  color: var(--yellow);
  margin-bottom: 16px;
}
.quote-inner blockquote {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.75;
  font-weight: 800;
  color: #fffdf3;
  letter-spacing: 0.01em;
}
.quote-by { margin: 18px 0 0; font-size: 12.5px; color: #d8c98e; letter-spacing: 0.06em; }

/* ---------- 更新手记 ---------- */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.note-card {
  padding: 24px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.note-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(20, 16, 10, 0.12);
}
.note-date { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); }
.note-card h3 { font-size: 18px; margin: 10px 0 8px; }
.note-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.note-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}
.note-link:hover { border-bottom-color: var(--orange); }

/* ---------- 关于 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.22; }
.about-copy p { margin: 18px 0 0; font-size: 14.5px; line-height: 1.95; color: var(--muted); }

.about-list { display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.about-num {
  flex: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--orange);
  padding-top: 4px;
}
.about-list strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.about-list span { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ---------- 下载区 ---------- */

.download {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--ink);
  color: var(--cream);
  scroll-margin-top: 96px;
}
.download-pattern {
  position: absolute;
  right: -60px;
  top: -70px;
  width: 560px;
  height: 460px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 214, 10, 0.5) 1.4px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at 68% 42%, #000 0, rgba(0, 0, 0, 0.4) 52%, transparent 74%);
  mask-image: radial-gradient(circle at 68% 42%, #000 0, rgba(0, 0, 0, 0.4) 52%, transparent 74%);
  opacity: 0.5;
}
.download-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.download-copy h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.24; color: var(--cream); }
.download-copy p { margin: 12px 0 0; max-width: 500px; font-size: 14px; line-height: 1.85; color: #b9b1a0; }
.download-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.download-action .btn { min-height: 58px; padding: 0 46px; font-size: 16px; }
.download-action .btn-sun:hover { box-shadow: 6px 6px 0 var(--orange); }
.download-note { font-size: 12px; color: #a09785; letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.26; }
.faq-intro .section-desc { max-width: 320px; }

.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  transition: color 0.18s ease;
}
.faq-question:hover { color: var(--orange); }
.faq-question:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--yellow); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
  margin: 0;
  padding: 0 44px 22px 4px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--cream);
  border-top: 2px solid var(--ink);
  padding-top: 54px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 40px;
  padding-bottom: 42px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-line { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--ink); }
.footer-note { margin: 0; max-width: 380px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-bottom-right { color: var(--muted-2); letter-spacing: 0.04em; }

/* ---------- 响应式 ---------- */

@media (max-width: 1140px) {
  .hero-visual { height: 508px; }
  .phone-front { width: 218px; height: 456px; top: 16px; }
  .phone-back { width: 184px; height: 384px; top: 88px; }
  .hero-filter { width: 186px; left: -30px; }
  .nav { gap: 20px; }
  .hero-panel { padding: 46px 42px 42px; }
}

@media (max-width: 980px) {
  .wrap { padding: 0 22px; }
  .hero { padding: 20px 0 42px; }
  .hero-panel { padding: 34px 26px 36px; border-radius: 22px; box-shadow: 8px 8px 0 rgba(20, 16, 10, 0.1); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-copy { order: 1; }
  .hero-visual {
    order: 2;
    height: 486px;
    width: 100%;
    max-width: 520px;
    margin: 14px auto 0;
  }
  .phone-front { width: 214px; height: 452px; top: 10px; left: 48%; }
  .phone-back { left: auto; right: 0; top: 84px; width: 172px; height: 366px; }
  .hero-filter { left: -6px; bottom: 8px; width: 178px; padding: 12px 14px 11px; }
  .hero-filter-chips li { font-size: 10.5px; padding: 2px 8px; }
  .float-tag { top: 0; right: 12px; }

  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: 72px; gap: 14px; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 4px 22px 14px;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav.is-open a::after { display: none; }

  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .filter-intro { position: static; }
  .library-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .library-visual { order: 2; }
  .library-copy { order: 1; }
  .rank-grid { grid-template-columns: minmax(0, 1fr); }
  .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .faq-intro { position: static; }
  .section-head-split .section-desc { text-align: left; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 66px 0; }
  .quote-band { padding: 52px 0; }
  .download { padding: 54px 0; }
}

@media (max-width: 700px) {
  .header-cta { display: none; }
  .hero-title { font-size: clamp(46px, 12vw, 64px); }
  .hero-stats strong { font-size: 21px; }
  .filter-row { flex-direction: column; gap: 10px; padding: 14px 18px; }
  .filter-label { width: auto; padding-top: 0; }
  .filter-panel-head, .filter-panel-foot { padding: 13px 18px; }
  .genre-grid { grid-template-columns: minmax(0, 1fr); }
  .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .rank-list { padding: 4px 18px; }
  .rank-row { flex-wrap: wrap; gap: 6px 12px; }
  .rank-bar { width: 100%; order: 5; }
  .rank-heat { width: auto; margin-left: auto; }
  .strip-inner { font-size: 12px; gap: 8px; padding: 14px 22px; letter-spacing: 0.1em; }
  .section-head { margin-bottom: 30px; }
  .download-action { width: 100%; align-items: stretch; text-align: center; }
  .download-action .btn { width: 100%; }
  .download-note { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .download-pattern { opacity: 0.28; right: -120px; }
}

@media (max-width: 480px) {
  .hero-visual { height: 424px; }
  .phone-front { width: 182px; height: 384px; top: 6px; left: 46%; }
  .phone-back { width: 124px; height: 262px; top: 62px; right: 0; }
  .hero-filter { width: 158px; padding: 11px 12px 10px; }
  .hero-filter-chips li:nth-child(5) { display: none; }
  .float-tag { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .phone-library { width: 200px; height: 422px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001s !important; animation-duration: 0.001s !important; }
}
