@charset "utf-8";
/* 樱花漫画 · yhmhapp.cc 第 12 档
   视觉方向 B8 热血国漫：正红底 + 明黄 / 墨黑点缀
   渲染语言：漫画分格硬边（3px 墨黑描边 + 8px 硬投影 + 直角） */

:root {
  --red: #d21f26;
  --red-d: #a81119;
  --red-l: #e8464a;
  --ink: #17120f;
  --ink-2: #241c18;
  --ink-d: #0b0908;
  --cream: #fff6e8;
  --cream-2: #fffbf3;
  --cream-3: #f4e3c6;
  --yellow: #ffcc22;
  --yellow-d: #e0a800;
  --txt: #241c18;
  --txt-2: #6b5c50;
  --line: #e4d3b8;
  --sh: 8px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--txt);
  font: 16px/1.85 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background-color: var(--red);
  background-image: repeating-linear-gradient(58deg,
                    rgba(0, 0, 0, .06) 0 2px, rgba(0, 0, 0, 0) 2px 15px);
}

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

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

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

/* ── 顶栏 ─────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink-d);
  border-bottom: 4px solid var(--yellow);
}
.top__in {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--cream); font-size: 19px; letter-spacing: .5px; white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--cream); font-size: 15px; padding: 8px 12px; border-radius: 2px;
  border: 2px solid transparent;
}
.nav a:hover { background: var(--red); color: #fff; text-decoration: none; }
.nav a.is-on { border-color: var(--yellow); color: var(--yellow); }
.top__btn {
  margin-left: 8px; flex: none;
  display: inline-block; padding: 9px 20px;
  background: var(--yellow); color: var(--ink) !important;
  font-weight: 700; font-size: 15px;
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, .55);
}
.top__btn:hover { text-decoration: none; transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(255, 255, 255, .55); }
.menu {
  display: none; margin-left: auto;
  width: 42px; height: 40px; padding: 8px 6px;
  background: var(--ink-d); border: 2px solid var(--yellow); border-radius: 2px;
}
.menu i { display: block; height: 4px; margin: 4px 0; background: var(--yellow); }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, var(--red-d) 0%, var(--red) 46%, var(--red-l) 100%);
  padding: 58px 0 66px;
}
.hero__rays {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(122deg,
              rgba(255, 204, 34, .16) 0 3px, rgba(255, 204, 34, 0) 3px 26px);
  animation: blaze 9s linear infinite;
  opacity: .85;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 40px; align-items: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 54px); line-height: 1.16;
  color: #fff; letter-spacing: 1px;
  text-shadow: 4px 4px 0 var(--ink);
}
.hero__lead {
  margin: 0 0 24px; color: #ffeede; font-size: 16.5px; line-height: 1.95;
  max-width: 34em;
}
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn {
  display: inline-block; padding: 13px 34px;
  background: var(--yellow); color: var(--ink) !important;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 7px 7px 0 var(--ink);
  animation: pulse 2.6s ease-in-out infinite;
}
.btn:hover { text-decoration: none; transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost {
  background: transparent; color: #fff !important;
  box-shadow: 7px 7px 0 var(--ink); animation: none; font-size: 16px; padding: 12px 26px;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero__chips li {
  font-size: 14px; color: #fff;
  padding: 6px 14px; border: 2px solid var(--yellow); border-radius: 2px;
}
.hero__shot { position: relative; display: flex; justify-content: center; }
.hero__shot::before {
  content: ""; position: absolute; left: 14%; right: 14%; top: -18px; bottom: -18px;
  background: var(--ink); transform: skewX(-7deg);
}
.hero__shot img {
  position: relative; z-index: 1; width: 100%; max-width: 322px; height: auto;
  box-shadow: 0 0 0 4px var(--cream), 10px 10px 0 rgba(0, 0, 0, .34);
}

/* ── 区块骨架 ─────────────────────────────────── */
.sec { padding: 62px 0; }
.sec--tight { padding: 44px 0; }
.band { background: var(--ink); padding: 62px 0; }
.band--yellow { background: var(--yellow); padding: 54px 0; }
.sec__h2 {
  display: inline-block; margin: 0 0 16px;
  padding: 8px 20px 10px;
  font-size: clamp(19px, 2.3vw, 28px); line-height: 1.25; color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink);
}
.band .sec__h2 { box-shadow: 6px 6px 0 var(--red); }
.band--yellow .sec__h2 { background: var(--ink); color: var(--yellow); box-shadow: 6px 6px 0 var(--red); }
.sec__sub { margin: 0 0 26px; font-size: 16px; color: #ffeedd; max-width: 46em; }
.band .sec__sub, .band--yellow .sec__sub { color: #d8c9b6; }
.band--yellow .sec__sub { color: #5c4a1e; }
.sec__sub b { color: var(--yellow); }
.band--yellow .sec__sub b { color: var(--ink); }
.sec__head { margin-bottom: 8px; }

/* ── 速览入口台（A10 主线） ───────────────────── */
.deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.deck__i {
  display: block; padding: 20px 22px 22px;
  background: var(--cream); color: var(--txt) !important;
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.deck__i:hover { text-decoration: none; transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ink); }
.deck__n {
  display: inline-block; padding: 2px 10px; font-size: 13px; font-weight: 700;
  background: var(--ink); color: var(--yellow); letter-spacing: 1px;
}
.deck__t { margin: 12px 0 6px; font-size: 19px; font-weight: 700; }
.deck__d { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }

/* ── 题材速览 ─────────────────────────────────── */
.tp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tp__i {
  padding: 18px; background: var(--cream);
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink);
}
.tp__n { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; }
.tp__n i { width: 14px; height: 14px; flex: none; background: var(--red); border: 2px solid var(--ink); }
.tp__i:nth-child(3n+2) .tp__n i { background: var(--yellow); }
.tp__i:nth-child(3n) .tp__n i { background: var(--cream-3); }
.tp__d { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--txt-2); }
.regions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.regions li {
  padding: 7px 16px; font-size: 14.5px; color: var(--cream);
  background: rgba(23, 18, 15, .35); border: 2px solid var(--yellow); border-radius: 2px;
}
.note {
  margin: 26px 0 0; padding: 18px 20px;
  background: rgba(255, 204, 34, .14);
  border: 3px solid var(--yellow); border-radius: 2px;
  color: #fff2d8; font-size: 15px; line-height: 1.8;
}
.note b { color: var(--yellow); }

/* ── 更新节奏 ─────────────────────────────────── */
.sig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 6px; }
.sig__i {
  padding: 20px 22px; background: var(--cream);
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--red);
}
.sig__k { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--red-d); }
.sig__t { margin: 8px 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.sig__d { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }
.beat { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.beat li {
  flex: 1 1 150px; padding: 12px 14px; text-align: center;
  border: 2px dashed rgba(255, 204, 34, .6); border-radius: 2px;
  color: #ffeecb; font-size: 14px;
}
.beat li b { display: block; color: var(--yellow); font-size: 15px; margin-bottom: 3px; }
.band p.tx { color: #d8c9b6; font-size: 15.5px; line-height: 1.9; margin: 18px 0 0; max-width: 52em; }
.band p.tx b { color: var(--yellow); }

/* ── 步骤 ─────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 4px; }
.steps__i {
  position: relative; padding: 20px 20px 22px;
  background: var(--cream); border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink);
}
.steps__n {
  display: inline-block; width: 32px; height: 32px; line-height: 28px; text-align: center;
  font-weight: 700; background: var(--red); color: #fff;
  border: 2px solid var(--ink);
}
.steps__t { margin: 10px 0 6px; font-size: 17px; font-weight: 700; }
.steps__d { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }

/* ── 对照格（避免窄屏表格问题，用网格代替 table） ── */
.cmp {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr;
  border: 3px solid var(--ink); background: var(--cream);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.cmp > div { padding: 14px 16px; font-size: 14.5px; line-height: 1.7; border-right: 2px solid var(--line); min-width: 0; }
.cmp > div:last-child { border-right: 0; }
.cmp .hd { background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 15px; border-right-color: var(--ink-2); }
.cmp .k { background: var(--cream-3); font-weight: 700; }
.cmp .dc { color: var(--txt-2); }

/* ── 画廊 ─────────────────────────────────────── */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gal figure { margin: 0; }
.gal img {
  width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--cream);
}
.gal figcaption { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: #ffe7d2; }

/* ── 内页入口卡 ───────────────────────────────── */
.cross { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cross__i {
  display: block; padding: 22px; background: var(--cream); color: var(--txt) !important;
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: var(--sh) var(--sh) 0 var(--yellow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cross__i:hover { text-decoration: none; transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--yellow); }
.cross__k { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--red-d); }
.cross__t { margin: 8px 0 6px; font-size: 19px; font-weight: 700; }
.cross__d { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }

/* ── 评价 ─────────────────────────────────────── */
.voice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.voice__i {
  padding: 20px 22px; background: var(--cream);
  border: 3px solid var(--ink); border-left: 12px solid var(--yellow); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink);
}
.voice__q { margin: 0 0 10px; font-size: 15.5px; line-height: 1.85; }
.voice__w { font-size: 13.5px; color: var(--txt-2); }

/* ── 问答 ─────────────────────────────────────── */
.faq { display: grid; gap: 14px; margin-top: 4px; }
.faq details {
  background: var(--cream); border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink); padding: 0 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-size: 16.5px; font-weight: 700; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--red-d); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.85; color: var(--txt-2); }

/* ── CTA / 页脚 ───────────────────────────────── */
.cta__in { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; }
.cta__tx { max-width: 40em; }
.cta__tx p { margin: 0; font-size: 16px; color: #5c4a1e; line-height: 1.85; }
.btn--ink { background: var(--ink); color: var(--yellow) !important; box-shadow: 7px 7px 0 #fff; animation: none; }
.btn--ink:hover { box-shadow: 4px 4px 0 #fff; }

.foot { background: var(--ink-d); color: #cbb9a4; padding: 44px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.foot h3 { margin: 0 0 12px; font-size: 16px; color: var(--yellow); }
.foot p { margin: 0 0 8px; font-size: 14px; line-height: 1.8; }
.foot a { color: #e7d6c0; font-size: 14px; }
.foot a:hover { color: var(--yellow); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot__br { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot__br img { width: 34px; height: 34px; }
.foot__br b { color: var(--cream); font-size: 17px; }
.disc {
  margin: 30px 0 0; padding: 16px 18px;
  border: 2px solid rgba(255, 204, 34, .45); border-radius: 2px;
  font-size: 13.5px; line-height: 1.8; color: #cbb9a4;
}
.copy { margin: 16px 0 0; font-size: 13px; color: #8d7d6c; }

/* ── 内页横幅 ─────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, var(--red-d), var(--red) 55%, var(--red-l));
  padding: 46px 0 48px;
}
.page-hero__in { position: relative; z-index: 1; }
.page-hero h1 {
  margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 40px); color: #fff;
  text-shadow: 3px 3px 0 var(--ink);
}
.page-hero .hero__lead { margin-bottom: 0; }
.crumb { margin: 0 0 14px; font-size: 14px; color: #ffdcc9; }
.crumb a { color: #fff; }

/* ── 正文长段落（红底上必须用浅色，否则对比度不足） ── */
.prose p { margin: 0 0 16px; font-size: 16px; line-height: 1.95; color: #fff4e6; }
.prose h3 {
  margin: 30px 0 10px; font-size: 18.5px; color: #fff;
  padding-left: 14px; border-left: 7px solid var(--yellow);
}
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 10px; font-size: 15.5px; line-height: 1.85; color: #fff4e6; }
.prose li b { color: var(--yellow); }
.band .prose p, .band .prose li { color: #ded0bd; }
.band .prose h3 { color: var(--yellow); border-left-color: var(--red); }
.band .prose li b { color: var(--yellow); }
.panel {
  margin: 0 0 22px; padding: 22px 24px; background: var(--cream);
  border: 3px solid var(--ink); border-radius: 2px;
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.panel--flat { box-shadow: 6px 6px 0 var(--yellow); }
.panel h3 { margin-top: 0; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kv > div { min-width: 0; padding: 16px 18px; background: var(--cream-2); border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(23, 18, 15, .55); }
.kv b { display: block; margin-bottom: 6px; color: var(--red-d); font-size: 15px; }
.kv span { font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.split figure { margin: 0; }
.split img {
  width: 100%; height: auto; border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}
.split figcaption { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: #ffe7d2; }

.shotline { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; margin: 28px 0 0; }
.shotline figure { margin: 0; }
.shotline img {
  width: 100%; max-width: 288px; height: auto; margin: 0 auto;
  box-shadow: 0 0 0 4px var(--cream), 8px 8px 0 rgba(0, 0, 0, .5);
}
.shotline figcaption { margin: 14px 0 0; font-size: 14px; line-height: 1.75; color: #d8c9b6; }
.shotline p.tx { margin: 0; }

@keyframes blaze {  from { background-position: 0 0; }
  to { background-position: 320px 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 7px 7px 0 var(--ink); }
  50% { box-shadow: 7px 7px 0 var(--ink), 0 0 0 7px rgba(255, 204, 34, .34); }
}

/* ── 响应式 ───────────────────────────────────── */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink-d); border-bottom: 4px solid var(--yellow); padding: 8px 20px 16px;
  }
  .menu { display: block; }
  .top__in { position: relative; flex-wrap: wrap; }
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .deck, .tp, .sig, .steps, .cross { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .shotline { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .cmp { grid-template-columns: 1fr 1fr; }
  .cmp .hd:nth-child(3) { border-right: 0; }
}

@media (max-width: 620px) {
  :root { --sh: 5px; }
  .sec, .band { padding: 42px 0; }
  .hero { padding: 40px 0 46px; }
  .deck, .tp, .sig, .steps, .cross, .gal, .kv { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .sec__h2 { box-shadow: 4px 4px 0 var(--ink); font-size: 19px; }
  .band .sec__h2 { box-shadow: 4px 4px 0 var(--red); }
  .hero__shot::before { left: 20%; right: 20%; }
  .cmp { grid-template-columns: 1fr; }
  .cmp > div { border-right: 0; border-bottom: 2px solid var(--line); }
  .btn { width: 100%; text-align: center; }
  .cta__in { justify-content: flex-start; }
}
