@charset "utf-8";
/* ============================================================
   梦漫 · mengmanmanga.cn
   视觉方向 B4「热血少年」：白底 + 橙红 / 亮黄 / 墨黑点缀
   渲染语言（本品牌第 13 种）「粗墨描边折角」：
     3px 墨黑实描边 + 5px 小圆角 + 卡面右上亮黄折角三角
     + 网点底纹 + 区块之间 115° 速度线缝合带
   ============================================================ */

@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bangers-latin.woff2') format('woff2');
}

:root {
  --ink: #101014;
  --ink2: #33333b;
  --mut: #6b6b72;
  --main: #ff4d1c;
  --main-d: #c4320a;
  --main-l: #ffe7de;
  --bid: #ffd400;
  --bid-d: #a88c00;
  --bid-l: #fff6cc;
  --page: #ffffff;
  --band: #fff7ee;
  --line: #e6e6e9;
  --r: 5px;
  --wrap: 1152px;
  --num: 'Bangers', 'Arial Narrow', Impact, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.78 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
        "Source Han Sans SC", sans-serif;
}

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

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

p { margin: 0 0 14px; }

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

.num { font-family: var(--num); letter-spacing: .04em; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-bottom: 3px solid var(--ink);
}

.top__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .5px;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--r);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.nav a:hover { background: var(--band); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  background: var(--bid);
  padding: 9px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 13px 24px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: transform .16s ease, background .16s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 18px solid var(--bid);
  border-left: 18px solid transparent;
}
.btn:hover { background: var(--main); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--sm::after { border-top-width: 14px; border-left-width: 14px; }

/* 兜底：容器里的 a 规则特异性(0,1,1)会压过 .btn(0,1,0) */
.top .btn, .cta .btn { color: #fff; }
.top .btn:hover, .cta .btn:hover { color: #fff; }
.cta .btn, .cta .btn:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--page);
  border-bottom: 3px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg,
    rgba(16, 16, 20, .055) 0 2px, transparent 2px 13px);
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 72%;
  pointer-events: none;
  background: var(--main);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 44px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 62px;
}
.kicker {
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: .22em;
  color: var(--main-d);
  margin: 0;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.14;
  margin: 10px 0 18px;
  letter-spacing: .5px;
}
.hero .lead { font-size: 17px; color: var(--ink2); margin: 0 0 26px; max-width: 33em; }
.hero__act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__act .more { font-weight: 800; font-size: 15px; }
.hero__meta { list-style: none; display: flex; gap: 10px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.hero__meta li {
  font-size: 13px;
  font-weight: 700;
  background: var(--bid-l);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
}
.hero__shot { margin: 0; text-align: center; }
.hero__shot img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 11px var(--bid);
}
.hero__shot figcaption {
  display: inline-block;
  background: #fff;
  margin-top: 22px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mut);
}

/* ---------- 事实带 ---------- */
.facts { background: var(--ink); color: #fff; }
.facts__in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.fact:first-child { border-left: 0; }
.fact__t { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--bid); }
.fact__d { margin: 0; font-size: 13.5px; line-height: 1.68; color: rgba(255, 255, 255, .84); }

/* ---------- 区块 ---------- */
.sec { padding: 60px 0; }
.sec--band { background: var(--band); border-top: 3px solid var(--ink); }
.sec--top { border-top: 3px solid var(--ink); }
.sec__head { margin-bottom: 28px; }
h2 {
  position: relative;
  margin: 0;
  padding-left: 20px;
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.32;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .13em;
  width: 7px;
  height: 1.02em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ink) 0 52%, var(--bid) 52% 100%);
}
.sub { margin: 12px 0 0; font-size: 15px; color: var(--mut); max-width: 54em; }

.seam {
  height: 24px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: repeating-linear-gradient(115deg,
    rgba(16, 16, 20, .1) 0 3px, transparent 3px 9px);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  padding: 24px;
}
.card::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 0;
  height: 0;
  border-top: 24px solid var(--bid);
  border-left: 24px solid transparent;
}
.card--dots {
  background-image: radial-gradient(rgba(16, 16, 20, .14) 1.4px, transparent 1.5px);
  background-size: 11px 11px;
}

/* ---------- 作品入口矩阵 ---------- */
.gateway { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gateway .card { display: flex; flex-direction: column; padding: 22px; }
.tag {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 800;
  background: var(--bid);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.gateway h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.gateway p { margin: 0 0 16px; font-size: 14.5px; color: var(--mut); }
.gateway .go { margin-top: auto; font-weight: 800; font-size: 14.5px; }

/* ---------- 作品通道三轴 ---------- */
.axis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.axis__col { background: #fff; border: 3px solid var(--ink); border-radius: var(--r); padding: 22px; }
.axis__col h3 { margin: 0 0 6px; font-size: 18px; }
.axis__note { margin: 0 0 14px; font-size: 13.5px; color: var(--mut); }
.axis__col ul { list-style: none; margin: 0; padding: 0; }
.axis__col li {
  position: relative;
  padding: 9px 0 9px 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink2);
}
.axis__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 9px;
  height: 9px;
  background: var(--main);
  transform: rotate(45deg);
}

/* ---------- 离线说明格 ---------- */
.cache { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cache__item {
  background: #fff;
  border: 3px solid var(--ink);
  border-left: 8px solid var(--main);
  border-radius: var(--r);
  padding: 20px 22px;
}
.cache__item h3 { margin: 0 0 8px; font-size: 18px; }
.cache__item p { margin: 0; font-size: 14.5px; color: var(--ink2); }

.dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.dual__box { border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
.dual__hd { background: var(--ink); color: #fff; font-weight: 800; padding: 10px 18px; font-size: 15px; }
.dual__box--b .dual__hd { background: var(--main); }
.dual__bd { padding: 16px 18px; }
.dual__bd ul { margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--ink2); }
.dual__bd li { margin-bottom: 8px; }
.dual__bd li:last-child { margin-bottom: 0; }

/* ---------- 预览栅格 ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 3px var(--ink), 7px 7px 0 var(--bid);
}
.shots figcaption { margin-top: 14px; font-size: 13px; color: var(--mut); }

/* ---------- 读者说法 ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: var(--r); padding: 22px; }
.quote::before {
  content: "\201D";
  position: absolute;
  right: 16px;
  top: 0;
  font: 400 62px/1 Georgia, serif;
  color: var(--bid);
}
.quote p { margin: 0 0 12px; font-size: 15px; color: var(--ink2); }
.quote cite { font-style: normal; font-size: 13.5px; color: var(--mut); font-weight: 700; }

/* ---------- 常见问题 ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: var(--r); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 14px 54px 14px 20px;
  font-weight: 800;
  font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--main);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 3px solid var(--ink); }
.faq .a { padding: 14px 20px 18px; font-size: 14.5px; color: var(--ink2); }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- 入口卡 ---------- */
.entry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.entry a {
  display: block;
  color: var(--ink);
  background: var(--band);
  border: 3px solid var(--ink);
  border-radius: var(--r);
  padding: 22px;
}
.entry a:hover { background: var(--bid-l); text-decoration: none; }
.entry h3 { margin: 0 0 8px; font-size: 18px; }
.entry p { margin: 0; font-size: 14px; color: var(--mut); }

/* ---------- 内页开篇 ---------- */
.opener {
  position: relative;
  overflow: hidden;
  background: var(--band);
  border-bottom: 3px solid var(--ink);
}
.opener::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 16, 20, .13) 1.4px, transparent 1.5px);
  background-size: 12px 12px;
}
.opener::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 190px;
  height: 190px;
  background: var(--bid);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}
.opener__in { position: relative; z-index: 1; padding-top: 46px; padding-bottom: 44px; }
.crumb { margin: 0 0 14px; font-size: 13px; color: var(--mut); }
.crumb a { color: var(--mut); }
.opener h1 {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.18;
}
.opener .lead { max-width: 46em; margin: 0; font-size: 16.5px; color: var(--ink2); }

/* ---------- 页内跳转 ---------- */
.jump { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; }
.jump a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
}
.jump a:hover { background: var(--bid); text-decoration: none; }

/* ---------- 步骤条 ---------- */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  padding: 16px 20px 16px 68px;
  font-size: 15px;
  color: var(--ink2);
}
.steps li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--num);
  font-size: 22px;
  line-height: 1;
  color: var(--main);
}

/* ---------- 点列表 ---------- */
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plist li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink2); }
.plist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--bid);
  border: 2px solid var(--ink);
  transform: rotate(45deg);
}

/* ---------- 表格 ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 3px solid var(--ink);
  font-size: 14.5px;
}
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--ink); color: #fff; font-size: 13.5px; border-bottom: 0; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th { background: var(--band); font-weight: 800; white-space: nowrap; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 50px 0;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg,
    rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px);
}
.cta__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; padding-left: 0; margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 28px); }
.cta h2::before { display: none; }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; }
.cta .btn { background: var(--bid); font-size: 17px; padding: 15px 30px; }
.cta .btn::after { border-top-color: var(--main); }
.cta .btn:hover { background: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .74); padding: 36px 0 30px; font-size: 13.5px; }
.foot__in { display: grid; gap: 14px; }
.foot__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__nav a { color: #fff; font-weight: 700; }
.foot .disc {
  margin: 0;
  padding: 14px 18px;
  border-left: 5px solid var(--bid);
  background: rgba(255, 255, 255, .06);
  border-radius: 0 4px 4px 0;
  color: rgba(255, 255, 255, .86);
}
.foot .copy { margin: 0; color: rgba(255, 255, 255, .55); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 40px; padding-bottom: 46px; }
  .hero::after { width: 44%; height: 24%; top: auto; bottom: 0; }
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .gateway, .axis, .entry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 48px 0; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .top__in { padding: 9px 18px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }

  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border-bottom: 3px solid var(--ink);
    padding: 10px 18px 14px;
  }
  .burger[aria-expanded="true"] ~ .nav { display: flex; }

  .hero__in { padding-top: 32px; padding-bottom: 38px; }
  .hero::after { width: 60%; height: 13%; top: auto; bottom: 0; }
  .hero__shot img { max-width: 280px; }

  .facts__in { grid-template-columns: minmax(0, 1fr); }
  .gateway, .axis, .entry, .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cache, .dual, .quotes { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 40px 0; }
  .card, .gateway .card, .axis__col { padding: 18px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .opener::after { width: 120px; height: 120px; right: -24px; top: -24px; }
  .opener__in { padding-top: 34px; padding-bottom: 34px; }
}
