@charset "utf-8";
/* ============================================================
   哔咔漫画 · bikamanga.com.cn
   视觉方向 B8「复古赛璐璐」：泛黄纸色底 + 砖红 / 墨黑点缀
   ⚠️ 变量名沿用本品牌初版命名，取值已是第 8 档；改色只改这里的取值。
   ============================================================ */

@font-face {
  font-family: 'Bitter';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/bitter.woff2') format('woff2');
}

:root {
  /* 泛黄纸色底 */
  --paper: #F5EAD6;
  --paper-2: #FBF4E4;
  --paper-3: #EFE0C2;
  --card: #FFFBF2;

  /* 砖红（主色 / 按钮） */
  --brick: #B5432E;
  --brick-d: #8C2E1E;
  --brick-l: #F7E4DC;

  /* 墨黑（正文 / 页脚） */
  --ink: #241C18;
  --ink-2: #4E4238;
  --muted: #8A7867;
  --line: #E3D2B4;

  /* 点缀：赭黄 / 墨绿 / 评分星 */
  --gold: #D9A441;
  --gold-l: #F8EED6;
  --green: #3D5B4C;
  --green-l: #E6EDE7;
  --amber: #C98A2B;

  --wrap: 1180px;
  --r: 14px;
  --shadow: 0 10px 26px rgba(84, 56, 34, .13);
  --shadow-sm: 0 4px 14px rgba(84, 56, 34, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html, body, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd,
figure, figcaption, blockquote, table, th, td {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brick); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

body {
  background: var(--paper);
  color: var(--ink-2);
  font: 16px/1.85 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.en, .num { font-family: 'Bitter', "Microsoft YaHei", "PingFang SC", sans-serif; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 234, 214, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(4px);
}
.header-in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name b { font-size: 18px; color: var(--ink); letter-spacing: .5px; }
.brand-name .sub { font-size: 11px; color: var(--muted); letter-spacing: .4px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; min-width: 0; }
.nav a {
  display: block; padding: 8px 11px; border-radius: 9px;
  color: var(--ink-2); font-size: 14.5px; white-space: nowrap;
}
.nav a:hover { background: var(--paper-3); text-decoration: none; }
.nav a.on { color: var(--brick); font-weight: 700; background: var(--brick-l); }
.nav .header-cta {
  padding: 9px 18px; border-radius: 999px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #C9553A, var(--brick) 55%, var(--brick-d));
  box-shadow: 0 6px 16px rgba(140, 46, 30, .28);
  font-size: 14.5px;
}
.nav .header-cta:hover { text-decoration: none; filter: brightness(1.06); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: .3px; cursor: pointer;
  background: linear-gradient(135deg, #C9553A, var(--brick) 55%, var(--brick-d));
  color: #fff; box-shadow: 0 10px 22px rgba(140, 46, 30, .26);
}
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn.ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  box-shadow: none; font-weight: 600;
}
.btn.ghost:hover { background: var(--card); }
.btn small { font-weight: 400; opacity: .85; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #FDF8EC, var(--paper) 52%, var(--paper-3));
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 340px at 8% 6%, rgba(181, 67, 46, .16), transparent 68%),
    radial-gradient(460px 320px at 88% 12%, rgba(217, 164, 65, .22), transparent 70%),
    radial-gradient(420px 300px at 62% 96%, rgba(61, 91, 76, .12), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(140, 46, 30, .10) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 34px;
  align-items: center; padding-top: 60px; padding-bottom: 66px;
}
.hero-grid > * { min-width: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--brick); font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
}
.hero h1 {
  font-size: 40px; line-height: 1.32; color: var(--ink);
  letter-spacing: 1px; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--brick); }
.hero-lead {
  font-size: 16.5px; line-height: 1.95; color: var(--ink-2);
  max-width: 620px; margin-bottom: 22px;
}
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  font-size: 13.5px; color: var(--muted);
}
.hero-meta i {
  font-style: normal; color: var(--brick-d); font-weight: 700; margin-right: 5px;
}

.hero-visual { display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.phone {
  width: 206px; flex: none; padding: 7px; border-radius: 24px;
  background: linear-gradient(160deg, #3A2C24, var(--ink));
  box-shadow: 0 0 0 1px rgba(181, 67, 46, .28), 0 20px 38px rgba(84, 56, 34, .30);
}
.phone img { width: 100%; height: auto; border-radius: 18px; }
.phone.small { width: 142px; padding: 5px; border-radius: 19px; }
.phone.small img { border-radius: 14px; }

/* ---------- 通用区块 ---------- */
.sec { padding-top: 62px; padding-bottom: 62px; }
.sec.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; max-width: 860px; }
.sec-head h2 {
  font-size: 27px; line-height: 1.42; color: var(--ink); letter-spacing: .6px;
  position: relative; padding-left: 16px;
}
.sec-head h2::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 6px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brick), var(--gold));
}
.sec-head-p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.sec-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.98; }
.sec-body p + p { margin-top: 14px; }

/* ---------- 资源数据台 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
}
.stats .it { text-align: center; padding: 6px 8px; border-right: 1px dashed var(--line); }
.stats .it:last-child { border-right: 0; }
.stats .num {
  font-size: 34px; font-weight: 700; color: var(--brick); line-height: 1.2;
  font-family: 'Bitter', "Microsoft YaHei", sans-serif;
}
.stats .num em { font-style: normal; font-size: 15px; color: var(--ink-2); margin-left: 4px; }
.stats .lbl { display: block; margin-top: 8px; font-size: 14px; color: var(--ink); font-weight: 700; }
.stats .desc { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.card h3 {
  font-size: 17.5px; color: var(--ink); margin-bottom: 10px;
  display: flex; align-items: center; gap: 9px;
}
.card h3 span.ico {
  width: 26px; height: 26px; flex: none; border-radius: 8px;
  background: var(--brick-l); color: var(--brick-d);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-family: 'Bitter', sans-serif;
}
.card p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.card .kv { margin-top: 12px; font-size: 13px; color: var(--muted); }
.card .kv b { color: var(--brick-d); }

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
table.cmp caption {
  text-align: left; padding: 14px 18px 4px; font-size: 13px; color: var(--muted);
}
table.cmp th, table.cmp td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp thead th { background: var(--paper-3); color: var(--ink); font-size: 14px; white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td b { color: var(--brick-d); }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: auto; border-radius: 10px; }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.shot figcaption b { color: var(--brick-d); }

/* ---------- 入口卡 ---------- */
.entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.entry {
  display: block; background: linear-gradient(160deg, var(--card), var(--paper-2));
  border: 1px solid var(--line); border-left: 5px solid var(--brick);
  border-radius: var(--r); padding: 24px 22px; color: inherit; box-shadow: var(--shadow-sm);
}
.entry:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.entry h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.entry p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.entry .go { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--brick); font-weight: 700; }

/* ---------- 评价 ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review .who .av {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, #C9553A, var(--brick-d));
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review .who b { font-size: 14.5px; color: var(--ink); }
.review .who .stars { margin-left: auto; color: var(--amber); font-size: 13px; letter-spacing: 2px; }
/* ⚠️ 星级只用 ★（U+2605）：☆ 在系统字体下会渲染成小圆点，与实心★混排观感不一致 */
.review .who .stars i { font-style: normal; }
.review .who .stars em { font-style: normal; opacity: .3; }
.review p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list, .faq { display: grid; gap: 12px; }
.faq-list details, .faq details, .prose details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.faq-list details summary, .faq details summary, .prose details summary {
  cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--ink);
  list-style: none; position: relative; padding-right: 26px;
}
.faq-list details summary::-webkit-details-marker, .faq details summary::-webkit-details-marker { display: none; }
.faq-list details summary::after, .faq details summary::after, .prose details summary::after {
  content: "+"; position: absolute; right: 0; top: -2px; color: var(--brick); font-size: 19px; font-weight: 700;
}
.faq-list details[open] summary::after, .faq details[open] summary::after, .prose details[open] summary::after { content: "–"; }
.faq-list details p, .faq details p, .prose details p {
  margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2);
}

/* ---------- CTA 条 ---------- */
.band {
  display: grid; grid-template-columns: 1fr auto; gap: 14px 26px; align-items: center;
  background: linear-gradient(135deg, var(--ink), #3B2B22 60%, #56331F);
  border-radius: var(--r); padding: 30px 28px; color: #F6E9D4;
  box-shadow: var(--shadow);
}
.band h2 { font-size: 23px; color: #FFF7E8; grid-column: 1; grid-row: 1; letter-spacing: .5px; }
.band .btn { grid-column: 2; grid-row: 1; justify-self: end; }
.band-txt { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; color: #D9C7AC; line-height: 1.85; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 62px; background: var(--ink); color: #D9C9AC; padding: 42px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 26px; }
.site-footer h4 { color: #FFF3DF; font-size: 16px; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: 13.5px; line-height: 1.95; color: #C9B79A; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer a { color: #EBD8B6; }
.footer-dl {
  display: inline-flex; margin-top: 14px; padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #C9553A, var(--brick) 55%, var(--brick-d));
  color: #fff; font-weight: 700; font-size: 14.5px;
}
.footer-dl:hover { text-decoration: none; filter: brightness(1.07); }
.disclaimer {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(217, 201, 172, .26);
  font-size: 13px; line-height: 1.9; color: #B7A488;
}
.copyright { margin-top: 8px; font-size: 12.5px; color: #9C8B74; }

/* ---------- 内页 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #FDF8EC, var(--paper-2) 54%, var(--paper-3));
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(480px 300px at 10% 0%, rgba(181, 67, 46, .14), transparent 68%),
    radial-gradient(420px 280px at 92% 20%, rgba(217, 164, 65, .20), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 40px; }
.page-hero h1 { font-size: 31px; line-height: 1.45; color: var(--ink); letter-spacing: .8px; }
.page-hero .lead { margin-top: 14px; font-size: 16px; line-height: 1.95; color: var(--ink-2); max-width: 820px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--brick); }
.crumb span { margin: 0 6px; }

.prose {
  width: 100%; max-width: 900px; min-width: 0;
  margin: 0 auto; padding: 54px 22px 64px;
}
.prose h2 {
  font-size: 23px; color: var(--ink); margin: 42px 0 16px; letter-spacing: .5px;
  padding-left: 14px; position: relative;
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 5px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brick), var(--gold));
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; color: var(--brick-d); margin: 26px 0 10px; }
.prose p { font-size: 15.5px; line-height: 2.0; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; display: grid; gap: 9px; }
.prose ul > li, .prose ol > li {
  position: relative; padding-left: 20px; font-size: 15px; line-height: 1.95; color: var(--ink-2);
}
.prose ul > li::before {
  content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brick);
}
.prose .steps { counter-reset: st; gap: 14px; }
.prose .steps > li { padding-left: 44px; counter-increment: st; }
.prose .steps > li::before {
  content: counter(st); position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 9px; background: var(--brick);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bitter', sans-serif;
}
.prose .steps > li b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.prose .steps ul > li::before { top: 12px; border-radius: 50%; width: 7px; height: 7px; background: var(--gold); }
.prose .shot { max-width: 368px; margin: 22px 0; }
.prose .shot img { width: 100%; height: auto; border-radius: 10px; }
.prose .shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.prose .tip {
  margin: 20px 0; padding: 18px 20px; border-radius: 12px;
  background: var(--gold-l); border: 1px solid #EBD9AE; border-left: 5px solid var(--gold);
  font-size: 14.5px; line-height: 1.95; color: var(--ink-2);
}
.prose .tip b { color: var(--brick-d); }
.rel-links {
  margin-top: 38px; padding-top: 22px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14.5px;
}
.rel-links b { color: var(--ink); }
.prose .band { margin-top: 34px; }

/* ---------- 渐显 ---------- */
.reveal { transition: opacity .55s ease, transform .55s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 52px; }
  .hero-visual { order: 2; }
  .hero h1 { font-size: 33px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .it:nth-child(2) { border-right: 0; }
  .stats .it:nth-child(1), .stats .it:nth-child(2) { border-bottom: 1px dashed var(--line); padding-bottom: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .header-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; flex: 1 1 100%; flex-wrap: wrap; gap: 0; }
  .nav a { flex: 0 0 33.3333%; text-align: center; white-space: nowrap; padding: 8px 2px; font-size: 14px; }
  .nav .header-cta { display: none; }
  .brand-name .sub { display: none; }

  .hero h1 { font-size: 27px; }
  .hero .phone { width: 44vw; max-width: 196px; }
  .hero .phone.small { width: 30vw; max-width: 132px; }
  .hero-visual { gap: 12px; }
  .sec { padding-top: 44px; padding-bottom: 44px; }
  .sec-head h2 { font-size: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stats .it { border-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 16px; }
  .stats .it:last-child { border-bottom: 0; padding-bottom: 6px; }
  .cards, .shots, .entries, .reviews { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 24px 20px; }
  .band h2 { font-size: 20px; grid-column: 1; grid-row: 1; }
  .band .btn { grid-column: 1; grid-row: 2; justify-self: start; }
  .band-txt { grid-row: 3; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-top: 26px; padding-bottom: 30px; }
  .page-hero h1 { font-size: 23px; }
  .page-hero .lead { font-size: 15px; }
  .prose { padding: 36px 18px 44px; }
  .prose h2 { font-size: 20px; }
  .prose h3 { font-size: 16.5px; }
  .prose .steps > li { padding-left: 42px; }
}
