@charset "utf-8";
/* ============================================================
   虫虫漫画 · chongchongcomic.net
   第 10 档视觉：印稿纸语言（中明度牛皮纸底 + 橄榄墨 + 实线墨边 + 硬偏移投影 + 零圆角）
   ============================================================ */

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

:root {
  --paper: #E7E0D0;
  --paper-2: #F1EBDC;
  --paper-3: #DED5C1;
  --card: #FFFDF6;
  --olive: #5E6B1F;
  --olive-d: #454F13;
  --olive-dd: #2B3109;
  --olive-l: #EFF2DC;
  --ink: #2A2620;
  --txt: #262218;
  --txt-2: #5C5647;
  --txt-3: #8E8878;
  --line: #CFC6B2;
  --line-2: #BDB29B;
  --foot: #201D15;
  --foot-txt: #C3BBA8;
  --shadow: 6px 6px 0 rgba(42, 38, 32, .16);
  --shadow-sm: 4px 4px 0 rgba(42, 38, 32, .14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--txt);
  font-family: "ArchivoXC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: .01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-d); text-decoration: none; }
a:hover { color: var(--olive-dd); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin: 5px 0; }
strong, b { color: var(--txt); }
code {
  font-family: ui-monospace, Consolas, Menlo, monospace;
  font-size: .92em;
  background: var(--olive-l);
  border: 1px solid var(--line);
  padding: 1px 5px;
}

/* ---------- 骨架：桌面为左侧固定栏 ---------- */
.shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
}

.side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: var(--paper-2);
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.brand img {
  width: 44px; height: 44px;
  box-shadow: 3px 3px 0 rgba(42, 38, 32, .2);
}
.brand b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--txt-3);
  letter-spacing: .16em;
  font-weight: 600;
}

.side-note {
  font-size: 11.5px;
  color: var(--txt-2);
  line-height: 1.6;
  border-top: 1px dashed var(--line-2);
  border-bottom: 1px dashed var(--line-2);
  padding: 10px 0;
  margin: 14px 0 16px;
}

.menu { display: flex; flex-direction: column; gap: 6px; }
.menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1.5px solid transparent;
  color: var(--txt-2);
  font-size: 14px;
  font-weight: 600;
}
.menu a i {
  width: 9px; height: 9px;
  background: var(--line-2);
  display: block;
  flex: 0 0 auto;
}
.menu a:hover {
  border-color: var(--ink);
  background: var(--card);
  color: var(--txt);
}
.menu a.on {
  background: var(--olive);
  border-color: var(--ink);
  color: #FBFFF0;
  box-shadow: var(--shadow-sm);
}
.menu a.on i { background: #C9D67A; }
.menu a .nl { }
.menu a .ns { display: none; }

.side-foot { margin-top: auto; padding-top: 18px; }
.side-foot .btn { width: 100%; text-align: center; }
.side-foot p {
  font-size: 11px;
  color: var(--txt-3);
  margin: 10px 0 0;
  line-height: 1.6;
}

/* ---------- 主列 ---------- */
.main { min-width: 0; }
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 26px;
  padding-right: 26px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--olive);
  color: #FBFFF0;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover {
  background: var(--olive-d);
  color: #FBFFF0;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(42, 38, 32, .2);
}
.btn.ghost {
  background: var(--card);
  color: var(--txt);
}
.btn.ghost:hover { background: var(--olive-l); color: var(--txt); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}
.bands { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bands i { position: absolute; display: block; }
.bands i.a {
  left: -30px; top: 34px; width: 46%; height: 168px;
  background: rgba(94, 107, 31, .16);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.bands i.b {
  right: 0; top: 0; width: 38%; height: 100%;
  background: rgba(42, 38, 32, .07);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}
.bands i.c {
  left: 34%; bottom: -40px; width: 220px; height: 120px;
  background: rgba(94, 107, 31, .1);
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
}
.bands i.d {
  left: 0; right: 0; top: 0; height: 100%;
  background-image:
    linear-gradient(to right, rgba(42, 38, 32, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 38, 32, .045) 1px, transparent 1px);
  background-size: 62px 62px;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 34px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 46px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--olive-d);
  border-bottom: 2px solid var(--olive);
  padding-bottom: 3px;
  margin-bottom: 16px;
}

h1 {
  font-size: 42px;
  line-height: 1.22;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #1F1C14;
}

.lead {
  font-size: 16.5px;
  color: var(--txt-2);
  margin: 0 0 22px;
  max-width: 46em;
}

.hero-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-act p { margin: 0; font-size: 12.5px; color: var(--txt-3); }

.device {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(42, 38, 32, .18);
  padding: 12px;
}
.device img { width: 100%; height: auto; }
.device figcaption {
  font-size: 12px;
  color: var(--txt-3);
  text-align: center;
  padding-top: 9px;
  border-top: 1px dashed var(--line-2);
  margin-top: 10px;
}

/* ---------- 数据条 ---------- */
.strip {
  background: var(--foot);
  color: var(--foot-txt);
  border-bottom: 2px solid var(--ink);
}
.strip-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.strip div { text-align: center; border-right: 1px dashed rgba(195, 187, 168, .34); }
.strip div:last-child { border-right: 0; }
.strip b {
  display: block;
  font-size: 25px;
  color: #F2EEDF;
  font-weight: 800;
  line-height: 1.2;
}
.strip span { font-size: 12px; letter-spacing: .06em; }

/* ---------- 区块 ---------- */
.sec { padding-top: 46px; padding-bottom: 46px; border-bottom: 1px dashed var(--line-2); }
.sec:last-of-type { border-bottom: 0; }
.sec.alt { background: var(--paper-2); }

h2 {
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: .02em;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  font-family: "ArchivoXC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--olive-d);
  background: var(--olive-l);
  border: 1.5px solid var(--ink);
  padding: 1px 7px;
  flex: 0 0 auto;
  position: relative;
  top: -3px;
}
.main { counter-reset: sec; }

h3 { font-size: 17px; margin: 0 0 7px; font-weight: 700; letter-spacing: .01em; }
h4 { font-size: 15px; margin: 0 0 6px; font-weight: 700; }

.sub { color: var(--txt-2); margin: 0 0 24px; font-size: 15px; }

.prose { max-width: 66em; }
.prose h3 { margin-top: 26px; }
.prose h3:first-child { margin-top: 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(42, 38, 32, .2); }
.card p { margin: 0; color: var(--txt-2); font-size: 14px; }
.card .k {
  font-family: "ArchivoXC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--olive-d);
  display: block;
  margin-bottom: 7px;
}

/* ---------- 预览图 ---------- */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shot {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 10px;
}
.shot img { width: 100%; height: auto; }
.shot figcaption {
  font-size: 12.5px;
  color: var(--txt-2);
  text-align: center;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed var(--line-2);
}

/* ---------- 深度入口 ---------- */
.entry {
  display: block;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 22px;
  color: var(--txt);
  transition: transform .15s ease, box-shadow .15s ease;
}
.entry:hover { color: var(--txt); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(42, 38, 32, .2); }
.entry .txt { display: block; }
.entry h3 { margin-bottom: 8px; }
.entry p { color: var(--txt-2); font-size: 14px; margin: 0 0 12px; }
.entry .more {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--olive-d);
  border-bottom: 2px solid var(--olive);
  padding-bottom: 2px;
}

/* ---------- 评价 ---------- */
.quote {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-left: 8px solid var(--olive);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
}
.quote p { font-size: 14.5px; color: var(--txt); margin: 0 0 12px; }
.quote cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--txt-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.quote cite b {
  background: var(--olive-l);
  border: 1px solid var(--line-2);
  color: var(--olive-dd);
  font-size: 11.5px;
  padding: 1px 7px;
  font-weight: 700;
}

/* ---------- 表格 ---------- */
.tbl-scroll { overflow-x: auto; border: 1.5px solid var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
th, td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
th { background: var(--olive-l); font-weight: 700; border-bottom: 1.5px solid var(--ink); }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.tbl-cap { font-size: 12.5px; color: var(--txt-3); margin: 0 0 8px; }
.tbl-note { font-size: 12.5px; color: var(--txt-3); margin: 8px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 62em; }
.faq-group { margin-bottom: 26px; }
details {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 4px 18px;
}
details + details { margin-top: 12px; }
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 12px;
  font-size: 19px;
  color: var(--olive-d);
  font-weight: 700;
}
details[open] summary::after { content: "\2212"; }
details .ans { padding: 0 0 15px; border-top: 1px dashed var(--line-2); margin-top: 2px; padding-top: 13px; }
details .ans p:last-child { margin-bottom: 0; }

.faq-mini details { box-shadow: none; }
.faq-mini { max-width: 62em; }

.faqs { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- CTA 条 ---------- */
.cta {
  background: var(--olive);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  color: #FBFFF0;
}
.cta-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}
.cta h2 { color: #FBFFF0; display: block; margin-bottom: 8px; }
.cta h2::before { color: #FBFFF0; background: rgba(43, 49, 9, .45); border-color: #2B3109; }
.cta p { color: #E3E9C4; margin: 0; font-size: 14.5px; max-width: 44em; }
.cta .btn {
  background: var(--card);
  color: var(--olive-dd);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(20, 24, 4, .4);
  white-space: nowrap;
}
.cta .btn:hover { background: #FFFFFF; color: var(--olive-dd); }

/* ---------- 页脚 ---------- */
.foot { background: var(--foot); color: var(--foot-txt); }
.ft-in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 26px;
}
.foot h4 { color: #F2EEDF; font-size: 14px; letter-spacing: .1em; margin-bottom: 12px; }
.foot a { color: var(--foot-txt); font-size: 13.5px; }
.foot a:hover { color: #F2EEDF; text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 6px 0; }
.ft-copy {
  border-top: 1px dashed rgba(195, 187, 168, .3);
  padding-top: 16px;
  padding-bottom: 22px;
  font-size: 12.5px;
  color: #A79E8A;
  line-height: 1.8;
}
.ft-copy p { margin: 0 0 6px; }
.ft-copy strong { color: #D6CEBA; font-weight: 600; }

/* ---------- 入场动效（纯 CSS，不依赖脚本，避免首屏不可见） ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise .55s cubic-bezier(.2, .7, .3, 1) both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .16s; }
.rise.d3 { animation-delay: .24s; }

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
  padding-top: 38px;
  padding-bottom: 34px;
}
.page-hero h1 { font-size: 34px; margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.crumb { font-size: 12px; color: var(--txt-3); margin: 0 0 14px; letter-spacing: .04em; }
.crumb a { color: var(--txt-3); }
.crumb a:hover { color: var(--olive-d); }

/* 内文小卡 */
.mini { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini .card { box-shadow: none; padding: 16px; }
.mini .card:hover { transform: none; box-shadow: none; }

.kv { display: grid; gap: 0; border: 1.5px solid var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
.kv div { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv b { background: var(--olive-l); padding: 11px 14px; font-size: 13.5px; border-right: 1px solid var(--line); }
.kv span { padding: 11px 14px; font-size: 14px; color: var(--txt-2); }

.next { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.next a {
  display: block;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  color: var(--txt);
  font-size: 14px;
  transition: transform .15s ease;
}
.next a:hover { transform: translate(-2px, -2px); color: var(--txt); }
.next a b { display: block; margin-bottom: 5px; font-size: 15px; }
.next a em { font-style: normal; color: var(--txt-3); font-size: 12.5px; }

/* ---------- 断点 ---------- */
@media (max-width: 980px) {
  .shell { display: block; }
  .side {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
    padding: 14px 14px 12px;
  }
  .side-note { display: none; }
  .menu { flex-direction: row; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
  .menu a { padding: 6px 9px; font-size: 13px; }
  .side-foot { margin-top: 12px; padding-top: 0; }
  .side-foot .btn { width: auto; padding: 9px 22px; }
  .side-foot p { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 30px; padding-bottom: 34px; }
  h1 { font-size: 33px; }
  .page-hero h1 { font-size: 28px; }
  .g4, .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .mini, .next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cta-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .faqs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .wrap { padding-left: 15px; padding-right: 15px; }
  h1 { font-size: 27px; }
  h2 { font-size: 20px; gap: 9px; }
  .page-hero h1 { font-size: 23px; }
  .menu a .nl { display: none; }
  .menu a .ns { display: inline; }
  .g2, .g3, .g4, .mini, .next, .shots { grid-template-columns: minmax(0, 1fr); }
  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 2px; }
  .strip div:nth-child(2) { border-right: 0; }
  .kv div { grid-template-columns: minmax(0, 1fr); }
  .kv b { border-right: 0; border-bottom: 1px solid var(--line); }
  .card { padding: 17px; }
  .btn { padding: 11px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .btn, .card, .entry, .next a { transition: none; }
}
