@charset "utf-8";
/* ==========================================================================
   jmcomic3gw.org.cn · 共享样式
   配色档 4（本品牌第 4 档）：莓果玫红 + 松针绿 + 暖金，底色暖粉白，页脚深墨莓
   App 自身配色为橙 #FF6A00 + 深灰，与站点 chrome 分工写清，避免与预览图撞色
   ========================================================================== */

:root {
  --bg: #FDF6F4;
  --bg2: #FFF9F7;
  --panel: #FFFFFF;
  --brand: #CE3A6E;
  --brand-d: #A02351;
  --brand-dd: #6E1438;
  --brand-l: #FBE6EE;
  --green: #17795A;
  --green-d: #0F5B43;
  --green-l: #E2F3EC;
  --gold: #EFA92B;
  --gold-d: #D98E14;
  --gold-l: #FDF3E0;
  --ink: #2B1620;
  --ink2: #5B4750;
  --ink3: #977F89;
  --line: #F1DEE6;
  --foot: #2B0F1C;
  --foot-tx: #DCC0CC;
  --cta: linear-gradient(135deg, #E2588C 0%, #B32B5C 52%, #17795A 100%);
  --sh: 0 10px 30px rgba(46, 16, 30, .08);
  --sh2: 0 18px 46px rgba(46, 16, 30, .13);
  --hd: 72px;
  --r: 18px;
}

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

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

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.78;
  padding-top: var(--hd);
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }

/* ───────── 头部 ───────── */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(253, 246, 244, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 18px; min-height: var(--hd); }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand-name {
  font-size: 22px; font-weight: 800; letter-spacing: .2px;
  color: var(--brand-dd); display: flex; flex-direction: column; line-height: 1.1;
}
.brand-name .sub { font-size: 11px; font-weight: 400; color: var(--ink3); letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  padding: 7px 13px; border-radius: 10px; font-size: 15px; color: var(--ink2);
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav a.on { background: var(--brand-l); color: var(--brand-d); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 16px;
  background: var(--cta); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(179, 43, 92, .26);
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(179, 43, 92, .32); }
.btn-sm { padding: 10px 20px; font-size: 15px; box-shadow: 0 6px 16px rgba(179, 43, 92, .22); }
.btn-line {
  background: #fff; color: var(--brand-d); border: 1px solid var(--brand);
  box-shadow: none;
}
.btn-line:hover { background: var(--brand-l); box-shadow: none; }

/* ───────── Hero ───────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(206, 58, 110, .16), transparent 62%),
    radial-gradient(620px 400px at 6% 88%, rgba(23, 121, 90, .14), transparent 64%),
    radial-gradient(520px 340px at 60% 108%, rgba(239, 169, 43, .14), transparent 66%),
    linear-gradient(158deg, #FDECF2, #FFFCFD 46%, #E7F5EF);
  padding: 66px 0 70px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 7px 7px, rgba(206, 58, 110, .16) 1.6px, transparent 1.7px);
  background-size: 22px 22px; opacity: .55;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero-grid > *, .hero-in > * { min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: #fff; color: var(--brand-d); font-size: 14px; font-weight: 700;
  border: 1px solid var(--line); box-shadow: var(--sh);
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-d); }
.hero h1 {
  margin: 20px 0 16px; font-size: 48px; line-height: 1.18; letter-spacing: -.5px;
  font-weight: 800; color: var(--brand-dd);
}
.hero h1 em { font-style: normal; color: var(--green-d); }
.lead-p { font-size: 17px; color: var(--ink2); max-width: 560px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink3); }
.hero-visual { display: flex; justify-content: center; }
.stage { position: relative; width: 272px; flex: none; }
.stage .phone {
  border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 7px #2a1420, inset 0 0 0 9px #4a2b3a, var(--sh2);
}
.stage .phone img { width: 100%; height: auto; display: block; }
.stage .slot {
  position: absolute; right: -58px; bottom: 34px; width: 116px;
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 5px #2a1420, var(--sh2);
}
.stage .slot img { width: 100%; height: auto; display: block; }

/* ───────── 通用区块 ───────── */
.sec { padding: 74px 0; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 38px; }
.sec-head h2 { font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--brand-dd); }
.sec-head h2 .mk { display: inline-block; width: 30px; height: 4px; border-radius: 3px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.sec-sub { margin-top: 12px; color: var(--ink2); font-size: 16px; max-width: 720px; }
.sec-body { margin-top: 18px; }
.sec-body p + p { margin-top: 14px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 > *, .grid-4 > *, .grid-2 > * { min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--sh); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-l); color: var(--brand-d); margin-bottom: 16px;
}
.card:nth-child(3n+2) .ico { background: var(--green-l); color: var(--green-d); }
.card:nth-child(3n) .ico { background: var(--gold-l); color: var(--gold-d); }
.card .ico svg { width: 24px; height: 24px; display: block; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink2); }

/* 预览栅格 */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shots > * { min-width: 0; }
.shot { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 13px 16px 16px; }
.shot figcaption b { display: block; font-size: 16px; color: var(--ink); }
.shot figcaption span { font-size: 14px; color: var(--ink3); }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats > * { min-width: 0; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; text-align: center; box-shadow: var(--sh);
}
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand-d); line-height: 1.2; }
.stat b em { font-style: normal; font-size: 17px; color: var(--ink3); margin-left: 3px; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink2); }

/* 入口卡 */
.entry { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); transition: transform .2s, box-shadow .2s, border-color .2s; }
.entry:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--brand); }
.entry b { display: block; font-size: 18px; color: var(--brand-dd); margin-bottom: 8px; }
.entry p { font-size: 15px; color: var(--ink2); }
.entry em { display: inline-block; margin-top: 14px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--green-d); }

/* 评价 */
.quote { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; padding: 22px 22px 20px; box-shadow: var(--sh); }
.quote p { font-size: 15px; color: var(--ink2); }
.quote .who { margin-top: 14px; font-size: 14px; color: var(--ink3); }
.quote .who b { color: var(--brand-d); }

/* FAQ 折叠 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 12px; top: 18px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brand-l); color: var(--brand-d);
  font-size: 18px; line-height: 26px; text-align: center; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; background: var(--green-l); color: var(--green-d); }
.faq .ans { padding: 0 40px 22px 0; color: var(--ink2); font-size: 15.5px; }

/* CTA 条 */
.band { padding: 62px 0; background: linear-gradient(135deg, #6E1438 0%, #A02351 46%, #0F5B43 100%); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 6px 6px, rgba(255, 255, 255, .14) 1.5px, transparent 1.6px);
  background-size: 20px 20px; opacity: .5;
}
.band-in { position: relative; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.band h2 { font-size: 30px; font-weight: 800; color: #fff; }
.band-txt { margin-top: 12px; color: #F3DCE4; font-size: 16px; max-width: 620px; }
.band .btn { background: #fff; color: var(--brand-dd); box-shadow: 0 12px 26px rgba(0, 0, 0, .22); }
.band .btn:hover { box-shadow: 0 16px 32px rgba(0, 0, 0, .28); }
.band-l { flex: 1 1 420px; min-width: 0; }

/* 页脚 */
.ft { background: var(--foot); color: var(--foot-tx); padding: 56px 0 26px; font-size: 14.5px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 30px; }
.ft-grid > * { min-width: 0; }
.ft h4 { font-size: 15px; color: #fff; margin-bottom: 14px; font-weight: 700; }
.ft a { color: var(--foot-tx); display: block; padding: 5px 0; }
.ft a:hover { color: #fff; }
.ft .ft-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ft .ft-brand img { width: 34px; height: 34px; border-radius: 10px; }
.ft .ft-brand span { font-size: 20px; font-weight: 800; color: #fff; }
.ft p { color: #C7A9B8; }
.ft-bot { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 13.5px; color: #C7A9B8; }
.ft-bot .disc { margin-bottom: 10px; }

/* 内页横幅 */
.page-hero {
  background:
    radial-gradient(620px 340px at 92% 10%, rgba(206, 58, 110, .16), transparent 64%),
    radial-gradient(520px 320px at 4% 96%, rgba(23, 121, 90, .14), transparent 66%),
    linear-gradient(158deg, #FDECF2, #FFFCFD 52%, #E9F5F0);
  padding: 56px 0 52px; border-bottom: 1px solid var(--line);
}
.crumb { font-size: 14px; color: var(--ink3); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand-d); }
.page-hero h1 { font-size: 38px; line-height: 1.24; font-weight: 800; color: var(--brand-dd); margin-bottom: 16px; }
.page-hero .lead-p { max-width: 780px; }

/* 正文排版 */
.prose { max-width: 900px; min-width: 0; width: 100%; margin: 0 auto; }
.prose h2 {
  font-size: 27px; font-weight: 800; color: var(--brand-dd); margin: 52px 0 0; line-height: 1.35;
}
.prose h2:first-child { margin-top: 0; }
.prose .sec-body { margin-top: 16px; }
.prose p { color: var(--ink2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 14px; }
.prose li { color: var(--ink2); position: relative; }
.prose > ul > li { padding-left: 22px; margin-bottom: 10px; }
.prose > ul > li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand);
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--green-d); font-weight: 700; border-bottom: 1px solid rgba(23, 121, 90, .35); }
.prose a:hover { color: var(--brand-d); border-bottom-color: var(--brand); }

.kv { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-top: 20px; box-shadow: var(--sh); }
.kv h3 { font-size: 18px; color: var(--brand-d); margin-bottom: 8px; }
.kv ul { margin-top: 8px; }

.steps { counter-reset: st; margin-top: 18px; }
.steps > li { padding-left: 54px; margin-bottom: 20px; position: relative; }
.steps > li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 11px;
  background: var(--cta); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.steps > li b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.steps > li > ul { margin-top: 8px; }
.steps > li > ul > li { padding-left: 16px; margin-bottom: 6px; }
.steps > li > ul > li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
}

.tbl-scroll { overflow-x: auto; margin-top: 20px; }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; }
.tbl caption { text-align: left; font-size: 14px; color: var(--ink3); padding-bottom: 10px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--ink2); }
.tbl th { background: var(--brand-l); color: var(--brand-dd); font-weight: 700; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-cap { margin-top: 20px; font-size: 14px; color: var(--ink3); }
.tbl-note { margin-top: 12px; font-size: 14px; color: var(--ink3); }
.prose .tbl-cap, .prose .tbl-note { font-size: 14px; color: var(--ink3); }

.tip {
  margin-top: 22px; padding: 18px 20px; border-radius: 14px;
  background: var(--green-l); border: 1px solid rgba(23, 121, 90, .18); color: var(--green-d); font-size: 15px;
}
.tip b { color: var(--green-d); }

/* 正文里的插图：竖屏截图不能占满正文宽度，收窄并居中 */
.prose .shot { max-width: 320px; margin: 28px auto 0; }
.prose .shot img { width: 100%; height: auto; }
.prose figure.shot figcaption { text-align: center; }

.related { margin-top: 56px; padding-top: 28px; border-top: 1px dashed var(--line); }.related h2 { font-size: 21px; margin-top: 0; }
.related ul { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.related > ul > li { padding-left: 20px; }
.related > ul > li::before { top: 12px; width: 6px; height: 6px; }

/* 渐显（三层兜底：内联类 + IO + scroll/resize + 6s 全量） */
.reveal { transition: opacity .6s ease, transform .6s 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 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────── 断点 ───────── */
@media (max-width: 980px) {
  .hero { padding: 46px 0 54px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-visual { justify-content: flex-start; }
  .stage { width: 236px; }
  .stage .slot { right: -46px; width: 100px; bottom: 26px; }
  .sec { padding: 58px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .shots, .stats { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .page-hero h1 { font-size: 31px; }
  .prose h2 { font-size: 24px; }
}

@media (max-width: 620px) {
  :root { --hd: 118px; }
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .hd-in { flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 10px 0 8px; min-height: 0; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .brand-name { font-size: 19px; }
  .brand-name .sub { display: none; }
  .nav {
    order: 3; width: 100%; margin: 8px 0 0; gap: 0;
    display: flex; flex-wrap: wrap;
  }
  .nav a { flex: 0 0 33.3333%; text-align: center; padding: 6px 8px; font-size: 14px; letter-spacing: -.2px; white-space: nowrap; }
  .nav .header-cta { display: none; }

  .hero { padding: 34px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero-in { gap: 30px; }
  .lead-p { font-size: 15.5px; }
  .hero-acts { gap: 10px; }
  .btn { padding: 13px 24px; font-size: 15px; }
  .stage { width: min(68vw, 236px); }
  .stage .slot { right: -30px; width: min(30vw, 104px); bottom: 20px; }

  .sec { padding: 44px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 23px; }
  .sec-head h2 .mk { width: 20px; margin-right: 9px; }
  .grid-2, .grid-3, .grid-4, .shots, .stats { grid-template-columns: 1fr; }
  .shots { gap: 16px; }
  .card { padding: 22px 20px; }
  .band { padding: 46px 0; }
  .band h2 { font-size: 23px; }
  .band-in { gap: 22px; }
  .page-hero { padding: 38px 0 34px; }
  .page-hero h1 { font-size: 26px; }
  .prose h2 { font-size: 21px; margin-top: 40px; }
  .steps > li { padding-left: 46px; }
  .related ul { grid-template-columns: 1fr; }
  .ft { padding: 44px 0 22px; }
  .ft-grid { grid-template-columns: 1fr; gap: 22px; }
}
