/* Black Myth: Zhong Kui Info Hub
   气质：一摞摊在墨色案子上的判官卷宗，纸色字、朱砂印。 */

:root {
  --ink: #0a0908;
  --ink-2: #100d0b;
  --card: #15110e;
  --paper: #efe6d4;
  --muted: #a4957d;
  --red: #b93b2e;
  --red-wash: rgba(185, 59, 46, 0.12);
  --gold: #c2a05a;
  --line: rgba(239, 230, 212, 0.12);
  --line-strong: rgba(239, 230, 212, 0.24);
  --radius: 10px;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(185, 59, 46, 0.10), transparent 70%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--paper); text-decoration-color: rgba(194, 160, 90, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

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

/* ---------- 头 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 9, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--red); color: #fdf6e6;
  font-family: var(--serif); font-size: 21px; line-height: 1;
  border-radius: 4px;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(253, 246, 230, 0.35);
}
.brand-name {
  font-family: var(--serif); font-size: 21px; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1.05; display: flex; flex-direction: column;
}
.brand-sub {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { color: var(--paper); background: rgba(239, 230, 212, 0.05); }
.nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: var(--red); border-radius: 2px;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 12px 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--paper); margin: 4px 0; transition: transform 0.2s; }

/* ---------- 首屏 ---------- */
.hero { padding: 72px 0 0; display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 48px; align-items: start; }
.eyebrow {
  margin: 0 0 18px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
}
.eyebrow .dot { color: var(--gold); }
h1 {
  margin: 0 0 20px; font-family: var(--serif); font-weight: 700;
  font-size: 56px; line-height: 1.08; letter-spacing: -0.01em;
}
.lede { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--paper); max-width: 46ch; }
.lede em { color: var(--gold); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  background: var(--red); color: #fdf6e6; border: 1px solid var(--red);
  border-radius: var(--radius); font-size: 15px; font-weight: 600; text-decoration: none;
}
.btn:hover { background: #c94634; color: #fff; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(239, 230, 212, 0.06); color: var(--paper); border-color: var(--paper); }

/* 卷宗标签 */
.status-card {
  position: relative; padding: 26px 24px 22px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.status-card::before {
  content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(239, 230, 212, 0.16);
  border-radius: 6px; pointer-events: none;
}
.seal {
  position: absolute; top: -18px; right: 20px; width: 52px; height: 52px;
  display: grid; place-items: center; background: var(--red); color: #fdf6e6;
  font-family: var(--serif); font-size: 30px; line-height: 1;
  border-radius: 5px; transform: rotate(4deg);
  box-shadow: 0 6px 18px rgba(185, 59, 46, 0.4), inset 0 0 0 2px rgba(253, 246, 230, 0.4);
}
.status-label {
  margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.status-value { margin: 0 0 12px; font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--gold); }
.status-note { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.status-checked { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* 事实条 */
.verdict {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.verdict > div { padding: 20px 22px 20px 0; border-right: 1px solid var(--line); }
.verdict > div:nth-child(3n) { border-right: none; }
.verdict dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.verdict dd { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; }

/* ---------- 通用区块 ---------- */
section { margin: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.2; }
.section-head a { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.section-head a:hover { color: var(--paper); }


/* ---------- 正文 ---------- */
.prose { max-width: 72ch; font-size: 17px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  margin: 52px 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.25;
  padding-left: 0;
}
.prose h2::before {
  content: "§"; display: inline-block; margin-right: 10px; color: var(--red); font-size: 22px; transform: translateY(-2px);
}
.prose h3 { margin: 32px 0 12px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.3; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--red); }
.prose strong { color: #fff8e9; font-weight: 600; }
.prose em { color: var(--gold); }
.prose a { color: var(--gold); }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--red);
  font-family: var(--serif); font-size: 21px; line-height: 1.5; color: #f6efdf;
}
.prose blockquote p { margin: 0 0 10px; }
.prose blockquote cite { display: block; font-family: var(--sans); font-size: 13px; font-style: normal; color: var(--muted); }
.prose img { display: block; max-width: 100%; height: auto; margin: 28px 0 10px; border-radius: var(--radius); border: 1px solid var(--line); }
.prose figure { margin: 28px 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }

.note {
  margin: 32px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: var(--radius); font-size: 15px; color: var(--muted);
}
.note strong { color: var(--paper); }

/* ---------- 更新列表 ---------- */
.updates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.updates li { border-bottom: 1px solid var(--line); }
.updates a { display: grid; grid-template-columns: 128px 1fr; gap: 24px; padding: 22px 4px; text-decoration: none; }
.updates a:hover { background: rgba(239, 230, 212, 0.03); }
.updates time { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.updates .u-title { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.updates .u-text { display: block; font-size: 15px; color: var(--muted); line-height: 1.55; }
.updates a:hover .u-title { color: var(--gold); }

/* ---------- 文化三卡（不对称） ---------- */
.culture { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.culture-lead { padding: 36px 32px; background: var(--card); border-right: 1px solid var(--line); }
.culture-lead .big {
  font-family: var(--serif); font-size: 92px; line-height: 0.9; color: var(--red); opacity: 0.9; margin: 0 0 8px;
}
.culture-lead h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 700; }
.culture-lead p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.culture-list { display: flex; flex-direction: column; }
.culture-list a { display: block; padding: 22px 26px; border-bottom: 1px solid var(--line); text-decoration: none; }
.culture-list a:last-child { border-bottom: none; }
.culture-list a:hover { background: rgba(239, 230, 212, 0.03); }
.culture-list .c-title { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.culture-list .c-text { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans);
  font-size: 20px; color: var(--red);
}
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 32px 20px 0; font-size: 15px; color: var(--muted); line-height: 1.65; }
.faq .a p { margin: 0 0 10px; }

/* ---------- 内页头 ---------- */
.crumbs { padding: 28px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; color: var(--line-strong); }
.page-head { padding: 24px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-head h1 { font-size: 48px; margin-bottom: 16px; max-width: 24ch; }
.page-head .lede { margin-bottom: 24px; }
.page-body { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.side { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); }
.side h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { margin-bottom: 10px; font-size: 14px; }
.side a { color: var(--paper); text-decoration: none; }
.side a:hover { color: var(--gold); }
.side .fact { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.side .fact b { display: block; color: var(--paper); font-weight: 600; font-size: 14px; }

/* ---------- 文章 ---------- */
.post-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.post-head h1 { font-size: 44px; max-width: 26ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.post-meta .cat { color: var(--red); }
.post-foot { margin: 56px 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 新闻列表 ---------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 26px 0; text-decoration: none; }
.post-list .tag { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.post-list .p-title { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.post-list .p-text { display: block; font-size: 15px; color: var(--muted); max-width: 70ch; }
.post-list a:hover .p-title { color: var(--gold); }

/* ---------- 页脚 ---------- */
.foot { margin-top: 96px; padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-title { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.foot-title span { color: var(--muted); font-family: var(--sans); font-size: 13px; font-weight: 500; display: block; margin-top: 2px; letter-spacing: 0.08em; }
.foot-note { margin: 0 0 14px; font-size: 14px; color: var(--muted); max-width: 40ch; }
.foot-checked { margin: 0; font-size: 12px; color: var(--gold); }
.foot-h { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 10px; font-size: 14px; }
.foot-list a { color: var(--paper); text-decoration: none; }
.foot-list a:hover { color: var(--gold); }
.disclaimer { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: rgba(164, 149, 125, 0.8); max-width: 90ch; }
.copyright { margin: 12px 0 0; font-size: 12px; color: rgba(164, 149, 125, 0.6); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .page-body { grid-template-columns: 1fr; gap: 36px; }
  .side { position: static; }
  .culture { grid-template-columns: 1fr; }
  .culture-lead { border-right: none; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .verdict { grid-template-columns: 1fr 1fr; }
  .verdict > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .verdict > div:nth-child(2n) { border-right: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  .page-head h1, .post-head h1 { font-size: 32px; }
  .brand-sub { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a[aria-current="page"]::after { display: none; }
  .verdict { grid-template-columns: 1fr; }
  .verdict > div, .verdict > div:nth-child(3n) { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .verdict > div:last-child { border-bottom: none; }
  .updates a { grid-template-columns: 1fr; gap: 6px; }
  .updates time { padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .status-value { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .prose h2 { font-size: 26px; }
  .culture-lead { padding: 28px 22px; }
  .culture-lead .big { font-size: 72px; }
}


/* 媒体：视频嵌入与图注。16:9 自适应，手机上也不溢出 */
.video { position: relative; margin: 32px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video::before { content: ""; display: block; padding-top: 56.25%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin: -16px 0 34px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.prose figure img { width: 100%; }
@media (max-width: 760px) {
  .video { margin: 24px 0; }
  .video-cap { margin: -8px 0 26px; }
}


/* portrait scroll paintings: 竖幅古画按高度收窄，避免整屏被一张图占满 */
.prose figure.portrait img{max-width:min(100%, 440px);margin-left:auto;margin-right:auto}
.prose figure.portrait figcaption{max-width:min(100%, 440px);margin-left:auto;margin-right:auto}
