@charset "utf-8";
/* ==========================================================================
   chongchongmh.net.cn — 虫虫漫画内容专题站  共享样式
   第 2 档视觉方案（与同品牌首站 chongchongmh.net 的第 1 档刻意错开）：
     底   天青白 #F1F8FC        （首站是嫩芽浅黄绿 #F4FBEC）
     主色 草绿   #2FA35C        （首站是青柠黄绿 #7BB93F，本档去掉黄味、加深）
     辅色 靛青蓝 #3A55C8        （首站是晴空蓝 #2B9FD8，本档转到靛蓝色相）
     CTA  草绿实底胶囊 + 外圈浅绿描边（首站是底边内凹 V 口的飘带形）
     纹理 顶部大弧波浪 + 漂浮圆气泡（首站是 45° 双色网点斜纹）
     字体 Rubik                 （首站是 Fredoka）
   自绘 mockup 一律跟随 App 自身配色（白底 + 朱红 #F44236 顶栏），与站点 chrome 分离。
   ========================================================================== */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/rubik-latin.woff2") format("woff2");
}

:root {
  --bg: #F1F8FC;
  --panel: #FFFFFF;
  --panel-2: #F6FCF8;

  --leaf: #2FA35C;
  --leaf-d: #1F7442;
  --leaf-x: #14512E;
  --leaf-l: #E6F6EC;

  --indigo: #3A55C8;
  --indigo-d: #2A3E97;
  --indigo-l: #E8EBFB;

  --lemon: #FFC93A;
  --star: #F2A93B;

  --ink: #15251C;
  --ink-2: #495850;
  --ink-3: #86958C;
  --line: #DCEBE2;

  --foot: #13203A;
  --foot-2: #C4CEE6;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 10px 30px rgba(20, 60, 40, .08);
  --shadow-2: 0 18px 44px rgba(20, 60, 40, .13);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Rubik", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 超长无断点串（包名 / 路径 / 版本号）不得顶出横向溢出 */
code, .mono {
  font-family: "Rubik", Consolas, "Courier New", monospace;
  background: var(--leaf-l);
  color: var(--leaf-x);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .92em;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ── 布局容器 ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.sec { padding-top: 62px; padding-bottom: 62px; }
.sec--tight { padding-top: 40px; padding-bottom: 40px; }
.sec--panel { background: var(--panel); }
.sec--leaf { background: linear-gradient(180deg, var(--leaf-l), rgba(230, 246, 236, 0)); }

.sec-h {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--ink);
}
.sec-sub {
  margin: 0 0 30px;
  color: var(--ink-2);
  font-size: 16px;
}
.sec-h + .grid, .sec-h + .shots, .sec-h + .facts, .sec-h + .prose { margin-top: 26px; }

/* ── 顶部导航 ────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(8px);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand b { font-size: 19px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.top__nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.top__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
}
.top__nav a:hover { background: var(--leaf-l); color: var(--leaf-x); text-decoration: none; }
.top__nav a.on { background: var(--leaf-l); color: var(--leaf-x); font-weight: 700; }
.top__cta { flex: none; }

/* ── 按钮 ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--leaf-l), 0 10px 22px rgba(31, 116, 66, .22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover {
  background: var(--leaf-d);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--leaf-l), 0 16px 30px rgba(31, 116, 66, .28);
}
.btn::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lemon);
  flex: none;
}
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--ghost {
  background: #fff;
  color: var(--leaf-x);
  box-shadow: 0 0 0 2px var(--line), 0 8px 18px rgba(20, 60, 40, .07);
}
.btn--ghost:hover { background: var(--leaf-l); color: var(--leaf-x); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 54px;
  padding-bottom: 66px;
  background: linear-gradient(168deg, #EAF6FF 0%, #F1FBF4 46%, #E9F5EE 100%);
}
.hero__arc {
  position: absolute;
  left: 50%;
  top: -420px;
  width: 1180px;
  height: 1180px;
  margin-left: -590px;
  border-radius: 50%;
  border: 2px solid rgba(58, 85, 200, .10);
  pointer-events: none;
}
.hero__arc--2 {
  top: -330px;
  width: 1000px; height: 1000px; margin-left: -500px;
  border-color: rgba(47, 163, 92, .16);
}
.hero__bub {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__bub--a { width: 132px; height: 132px; right: 6%; top: 62px; background: rgba(47, 163, 92, .13); }
.hero__bub--b { width: 74px; height: 74px; right: 22%; top: 176px; background: rgba(255, 201, 58, .28); }
.hero__bub--c { width: 96px; height: 96px; left: 4%; bottom: 44px; background: rgba(58, 85, 200, .11); }

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 46px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero .lead-p {
  margin: 0 0 26px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 34em;
}
.hero__acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__hint { color: var(--ink-3); font-size: 14px; }

.hero__fig {
  margin: 0;
  max-width: 420px;      /* 想更窄就改小，比如 360px */
  margin-left: auto;     /* 靠右列中间 */
  margin-right: auto;
}
.hero__fig img {
  width: 100%;
  height: auto;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
}
.hero__cap {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

/* 内页横幅 */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 46px;
  padding-bottom: 46px;
  background: linear-gradient(160deg, #EAF6FF, #F2FBF5 58%, #E9F5EE);
  border-bottom: 1px solid var(--line);
}
.page-hero__in { position: relative; max-width: none; }
.page-hero h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}
.page-hero .lead-p {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 46em;
}
.crumb { color: var(--ink-3); font-size: 14px; margin: 0 0 14px; }
.crumb a { color: var(--ink-2); }

/* ── H1 右侧主视觉浮标 ───────────────────────────────────── */
.hero__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero__tags li {
  font-size: 14px;
  color: var(--leaf-x);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ── 数字条 ──────────────────────────────────────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.fact b {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  color: var(--leaf-d);
  font-weight: 700;
}
.fact span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ── 功能卡 ──────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .ico {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--leaf-l);
  position: relative;
}
.card .ico::before {
  content: "";
  position: absolute;
  left: 11px; top: 11px;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 3px solid var(--leaf);
}
.card:nth-child(2n) .ico { background: var(--indigo-l); }
.card:nth-child(2n) .ico::before { border-color: var(--indigo); border-radius: 50%; }
.card:nth-child(3n) .ico { background: #FFF4D9; }
.card:nth-child(3n) .ico::before { border-color: var(--star); border-radius: 4px 12px 4px 12px; }

/* ── 截图栅格 ────────────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 22px;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  height: auto;
  border-radius: var(--r-m);
  border: 0;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  background: #fff;
}
.shot figcaption {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  text-align: center;
}

/* ── 深度内容入口（仅首页）──────────────────────────────── */
.entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}
.entry {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: var(--r-m);
  padding: 22px 22px 18px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.entry:nth-child(2) { border-left-color: var(--indigo); }
.entry:nth-child(3) { border-left-color: var(--star); }
.entry:nth-child(4) { border-left-color: var(--leaf-d); }
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); text-decoration: none; }
.entry b { display: block; font-size: 18px; margin-bottom: 8px; }
.entry span { display: block; color: var(--ink-2); font-size: 15px; }
.entry i {
  display: inline-block;
  margin-top: 14px;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--leaf-d);
}

/* ── 正文排版 ────────────────────────────────────────────── */
.prose { font-size: 16.5px; }
.prose h3 { margin: 34px 0 10px; font-size: 20px; font-weight: 700; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose > .lead-note { color: var(--ink-2); }

.steps { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: st; }
.steps > li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px 24px 18px 74px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  counter-increment: st;
}
.steps > li::before {
  content: counter(st);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--leaf-l);
  color: var(--leaf-x);
  font-weight: 700;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
}
.steps b { display: block; font-size: 17.5px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ── 表格 ────────────────────────────────────────────────── */
.tbl-cap { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  font-size: 15.5px;
}
.tbl th, .tbl td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tbl th { background: var(--leaf-l); color: var(--leaf-x); font-weight: 700; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-note { margin: 12px 0 0; color: var(--ink-3); font-size: 14px; }

/* ── 评价卡 ──────────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 20px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
.quote footer { font-size: 14px; color: var(--ink-3); }
.quote .st { color: var(--star); font-size: 15px; letter-spacing: 2px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { margin: 0; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 16px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  display: inline-block;
  width: 24px; height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--leaf-l);
  color: var(--leaf-x);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  vertical-align: 2px;
}
.faq details[open] summary { margin-bottom: 10px; }
.faq p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.faq .grp-h { margin: 30px 0 14px; font-size: 20px; font-weight: 700; }
.faq .grp-h:first-child { margin-top: 0; }

/* ── 下载条 ──────────────────────────────────────────────── */
.dl {
  background: linear-gradient(150deg, #17345E 0%, #1B4A6E 48%, #14684F 100%);
  color: #fff;
  border-radius: 0;
}
.dl__in {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
}
.dl h2 { margin: 0 0 10px; font-size: 26px; font-weight: 700; color: #fff; }
.dl p { margin: 0 0 20px; color: #CBDBE6; font-size: 16px; }
.dl .btn { box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 12px 26px rgba(0, 0, 0, .25); }
.dl .btn:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 16px 32px rgba(0, 0, 0, .3); }
.dl__list { margin: 0; padding: 0; list-style: none; }
.dl__list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: #D6E4EC;
  font-size: 15.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
}
.dl__list li:last-child { border-bottom: 0; }
.dl__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lemon);
}

/* ── 页脚 ────────────────────────────────────────────────── */
.foot { background: var(--foot); color: var(--foot-2); font-size: 15px; }
.foot__in { padding-top: 44px; padding-bottom: 30px; }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
  gap: 26px;
}
.foot h3 { margin: 0 0 12px; font-size: 16px; color: #fff; font-weight: 700; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--foot-2); }
.foot a:hover { color: #fff; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot__brand img { width: 36px; height: 36px; border-radius: 10px; }
.foot__brand b { color: #fff; font-size: 18px; }
.foot__disc {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #9FB0C8;
  font-size: 14px;
  line-height: 1.7;
}
.foot__cp { margin: 10px 0 0; color: #8593AD; font-size: 13.5px; }

/* ── 渐显 ────────────────────────────────────────────────── */
.reveal { transition: opacity .5s ease, transform .5s 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; }
}

/* ── 断点 1：≤980px ──────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 33px; }
  .dl__in { grid-template-columns: 1fr; gap: 22px; }
  .sec { padding-top: 48px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 27px; }
  .sec-h { font-size: 24px; }
  .hero__arc, .hero__arc--2 { display: none; }
}

/* ── 断点 2：≤620px ──────────────────────────────────────── */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top__in { gap: 10px; }
  .brand { order: 1; }
  .top__cta { order: 2; margin-left: auto; }
  .top__nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 4px; overflow-x: auto; }
  .top__nav a { padding: 7px 12px; font-size: 14.5px; white-space: nowrap; }
  .brand b { font-size: 17px; }
  .brand img { width: 34px; height: 34px; border-radius: 10px; }
  .hero { padding-top: 34px; padding-bottom: 44px; }
  .hero h1 { font-size: 27px; }
  .hero .lead-p, .page-hero .lead-p { font-size: 16px; }
  .page-hero { padding-top: 30px; padding-bottom: 32px; }
  .page-hero h1 { font-size: 23px; }
  .sec-h { font-size: 21px; }
  .sec-sub { margin-bottom: 22px; font-size: 15px; }
  .sec { padding-top: 38px; padding-bottom: 38px; }
  .btn { padding: 12px 22px; font-size: 15.5px; }
  .btn--sm { padding: 9px 16px; font-size: 14.5px; }
  .grid, .entries, .quotes, .facts { gap: 14px; }
  .shots { gap: 16px; }
  .steps > li { padding: 18px 18px 16px 62px; }
  .steps > li::before { left: 16px; top: 18px; }
  .card { padding: 20px 18px 18px; }
  .tbl { min-width: 552px; }
  .tbl th, .tbl td { padding: 10px 12px; font-size: 15px; }
  .faq details { padding: 14px 16px; }
  .faq summary { font-size: 16px; }
  .dl h2 { font-size: 22px; }
}
