:root {
  --bg: #f7f1e8;
  --card: #fffaf2;
  --ink: #24304a;
  --muted: #6b5b4b;
  --primary: #1d5bbf;
  --primary-deep: #14469a;
  --accent: #e0524a;
  --line: #e3d9c6;
  --ok: #1f7a4d;
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r: 12px;
  --sh-1: 0 1px 2px rgba(36, 48, 74, .08);
  --sh-2: 0 8px 24px rgba(36, 48, 74, .10);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-deep); }

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: 44px; margin: 0 0 8px; }
h2 { font-size: 28px; margin: 0 0 16px; }
h3 { font-size: 19px; margin: 24px 0 8px; }

p { margin: 0 0 16px; max-width: 70ch; }
ul, ol { margin: 0 0 16px; padding-left: 24px; max-width: 70ch; }
li { margin-bottom: 6px; }

/* v8: 内页游戏块按钮排的胶囊底槽（沿用 specimen chip 的语言），手机端不套胶囊 */
.article-card .stage-actions {
  margin: 14px auto 6px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
}
/* v8: 手机端正文 H2 缩小，首屏不被标题占满 */
@media (max-width: 640px) {
  .article-card .prose h2 { font-size: 22px; }
  .article-card .stage-actions { padding: 0; background: transparent; border: 0; border-radius: 0; width: auto; }
}

/* 标本编号 chip：全站记忆点，只这一处 */
.specimen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.specimen::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* 页头 */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
}
.brand-mark { width: 26px; height: 26px; color: var(--primary); flex: none; }
.brand-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex: none;
}
.head-nav { display: flex; gap: 20px; }
.head-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.head-nav a:hover { color: var(--primary); }

/* 页脚 */
.site-foot {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 32px;
  padding-bottom: 20px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
}
.foot-brand .brand-mark { width: 22px; height: 22px; }
.foot-brand .brand-logo { height: 24px; }
.foot-tag { margin: 0; color: var(--muted); font-size: 14px; }
.foot-nav { display: flex; gap: 18px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-nav a:hover { color: var(--primary); }
.foot-copy {
  margin: 0;
  max-width: none;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.btn-primary:hover { background: var(--primary-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(29, 91, 191, .45);
  outline-offset: 2px;
}

/* 法务页 */
.legal-page { padding: 48px 0 8px; }
.legal-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  padding: 32px;
}
.legal-body h2 { font-size: 22px; margin-top: 28px; }


/* 首屏游戏区 */
.hero {
  padding: 32px 0 8px;
  text-align: center;
}
.hero-eyebrow {
  max-width: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 auto 8px;
}
.hero h1 { font-size: 48px; }
.hero-sub {
  margin: 0 auto 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
}

/* 播放器：封面/加载/游戏同一位置 */
.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--r);
  overflow: hidden;
  background: #101522;
  box-shadow: var(--sh-2);
}
.cover, .loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover { z-index: 2; cursor: pointer; }
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 21, 34, .05), rgba(16, 21, 34, .55));
  pointer-events: none;
}
.btn-play {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(29, 91, 191, .45);
  transition: transform .12s ease, background .15s ease;
}
.btn-play:hover { background: var(--primary-deep); transform: scale(1.03); }
.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
[data-gf-state="playing"] .cover { display: none; }

/* 加载动画：心电图脉冲（不用通用转圈） */
.loader {
  z-index: 1;
  flex-direction: column;
  gap: 18px;
  color: #dde4ef;
  font-size: 15px;
  letter-spacing: .04em;
  display: none;
  background: #101522;
}
[data-gf-state="loading"] .loader { display: flex; }
/* 点了 Play 立刻进入加载态：booting 期间动画盖最上层、iframe 藏住深色底 */
.stage[data-mk-booting] .loader { display: flex; z-index: 3; }
.stage[data-mk-booting] iframe { visibility: hidden; }
.stage[data-mk-booting] .cover { display: none; }
/* 点了 Play 之后封面永不回头：万一运行时没切到 playing，封面也不该重新盖住游戏 */
.stage[data-mk-started] .cover { display: none; }
/* 关动画、放行 iframe 只发生在 booting 撤掉（settle）之后——:not 避免和上面的点亮规则打架 */
.stage[data-mk-started]:not([data-mk-booting]) .loader { display: none; }
.stage[data-mk-started]:not([data-mk-booting]) iframe { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .ecg path { animation: none; stroke-dashoffset: 0; }
}
.ecg {
  width: 120px;
  height: 40px;
  display: block;
}
.ecg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: ecg-draw 1.4s linear infinite;
}
@keyframes ecg-draw {
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -340; }
}

/* 互动按钮排 */
.stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
}
.act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.act:hover { border-color: var(--primary); color: var(--primary); }
.act[aria-pressed="true"], .act[data-gf-liked] {
  border-color: var(--accent);
  color: var(--accent);
}
.act-count { font-variant-numeric: tabular-nums; }
.hero-note {
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--muted);
}

/* 正文区块：观察笔记卡 */
.notes {
  padding: 48px 0 0;
  max-width: 860px;
  margin: 0 auto;
}
.note-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  padding: 28px 32px;
  margin-bottom: 32px;
}
.note-card h2 { margin-top: 0; }
.note-card h3 { font-family: var(--font-body); font-weight: 600; }
.note-card ul, .note-card ol { margin-top: 4px; }
.note-card li { margin-bottom: 10px; }

/* FAQ 折叠 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  margin-bottom: 12px;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  line-height: 1;
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 16px; margin: 0; }

/* 评论区 */
.comments {
  max-width: 860px;
  margin: 0 auto 32px;
}
.comments-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 32px;
}
.comment-form {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.comment-form textarea { min-height: 90px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 91, 191, .15);
}
.comment {
  border-top: 1px solid var(--line);
  padding: 14px 0 6px;
}
.comment strong { font-size: 14px; }
.comment p { margin: 4px 0; }
.comment time { font-size: 12px; color: var(--muted); }
.comments-empty, [data-gf-off] {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0;
}

/* 手机 */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  .hero h1 { font-size: 34px; }
  .hero { padding-top: 20px; }
  .head-nav { gap: 12px; }
  .head-nav a { font-size: 14px; }
  .stage { aspect-ratio: 16 / 11; border-radius: 10px; }
  .btn-play { min-height: 52px; font-size: 17px; padding: 0 24px; }
  .stage-actions .act { flex: 1 1 40%; justify-content: center; }
  .note-card, .legal-body, .comments-box { padding: 22px 18px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .specimen { font-size: 12px; }
}


/* 评论区空状态：默认隐藏，容器标 data-gf-empty 才显示邀请 */
.comments-empty { display: none; margin: 12px 0; }
[data-gf-empty] .comments-empty { display: block; }


/* 图文混排（文章页/正文图片） */
.article-wrap { padding: 40px 0 0; }
.article-card { max-width: 860px; margin: 0 auto 32px; }
.article-card h1 { font-size: 34px; margin: 4px 0 20px; }
.prose h2 { margin-top: 32px; }
.prose figure {
  margin: 22px 0 30px;
}
.prose figure img {
  display: block;
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  margin: 0 0 8px;
}
.prose figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
.prose img {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
@media (max-width: 640px) {
  .head-nav { gap: 10px; }
  .head-nav a { font-size: 13px; }
  .article-card h1 { font-size: 26px; }
  .prose figure { margin: 18px 0 24px; }
  .prose figcaption { font-size: 12px; }
}


/* 面包屑：放在卡片内、H1 上方，跟标题同一条左线 */
.crumbs {
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: none;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.crumbs li { display: flex; align-items: center; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #c3b6a2; }
.crumbs a { color: var(--primary); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* 手机顶栏：站名不折行，导航排成一行可横向滑动 */
@media (max-width: 640px) {
  .head-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand { flex: 0 0 auto; white-space: nowrap; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .head-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
  }
  .head-nav::-webkit-scrollbar { display: none; }
  .head-nav a { white-space: nowrap; font-size: 14px; }
}


/* 手机顶栏：站名一行、导航一行自动换行，全部可见不横滚 */
@media (max-width: 560px) {
  .head-in {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 10px;
    min-height: 0;
  }
  .brand {
    flex: none;
    font-size: 17px;
    white-space: nowrap;
  }
  .brand-mark { width: 22px; height: 22px; }
  .brand-logo { height: 22px; }
  .head-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    overflow: visible;
    padding: 0;
    border: 0;
  }
  .head-nav a {
    font-size: 13px;
    white-space: nowrap;
    line-height: 1.4;
  }
}


/* 分析同意横幅：默认 hidden，访客还没做选择时由脚本显示 */
.consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
}
.consent[hidden] { display: none; }
.consent-text {
  margin: 0 0 14px;
  max-width: none;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent-text strong { color: var(--ink); }
.consent-text a { font-weight: 600; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { min-height: 42px; padding: 0 18px; font-size: 14px; flex: 1 1 auto; }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .consent-actions { flex-direction: column; }
  .consent-btn { width: 100%; }
}


/* 同意横幅修正：不跟主按钮抢，手机端两列排 */
.consent .btn-primary {
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}
.consent .btn-primary:hover { background: rgba(29, 91, 191, .08); }
.consent .btn-ghost {
  background: var(--card);
  border: 1.5px solid #c9c2b8;
  color: var(--muted);
}
.consent .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
html[data-analytics-consent="unset"] body { padding-bottom: 150px; }
@media (max-width: 560px) {
  .consent { padding: 14px 16px; }
  .consent-text { font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .consent-btn { width: auto; min-height: 40px; padding: 0 12px; }
  html[data-analytics-consent="unset"] body { padding-bottom: 176px; }
}


/* 长文节奏：同一张卡里的小节用发丝线打断文字墙 */
.prose h2 ~ h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h3 ~ h3 {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* 手机端标题降号，把游戏封面拉回首屏 */
@media (max-width: 560px) {
  h1 { font-size: clamp(27px, 7.2vw, 33px); line-height: 1.18; letter-spacing: -0.015em; }
  .hero h1 { margin-bottom: 6px; }
  .hero-sub { font-size: 16px; line-height: 1.5; }
  h2 { font-size: 24px; }
  .notes .note-card { padding: 24px 18px; }
}


/* 审稿第二轮：横幅收窄、手机端次级按钮并排、长文标题拉开 */
.consent { max-width: 460px; }
.consent-text { font-size: 13px; }
.prose { font-family: var(--font-body); }
.prose h2 ~ h2 { margin-top: 48px; }
.hero h1 { text-wrap: balance; }

@media (max-width: 560px) {
  .consent { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 12px 14px; }
  .consent-text { font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; }
  .consent-actions { display: flex; gap: 8px; }
  .consent-btn { min-height: 36px; font-size: 13px; padding: 0 10px; flex: 1 1 0; }
  html[data-analytics-consent="unset"] body { padding-bottom: 132px; }
  .stage-actions { display: flex; gap: 8px; }
  .stage-actions .act { flex: 1 1 0; width: auto; font-size: 14px; padding: 0 8px; }
}


/* 审稿第三轮：手机端横幅改成贴底细条、主按钮保高度 */
.hero-note { margin-top: 24px; }
@media (max-width: 560px) {
  .consent {
    left: 0; right: 0; bottom: 0;
    border-radius: 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    padding: 10px 14px 12px;
    box-shadow: 0 -6px 20px rgba(36, 48, 74, .12);
  }
  .consent-text { font-size: 12px; line-height: 1.4; margin-bottom: 8px; }
  .consent-text a { text-decoration: underline; }
  .consent-btn { min-height: 40px; font-size: 13px; }
  .btn-play { min-height: 48px; }
  .stage-actions { gap: 10px; }
  .stage-actions .act { padding: 0 6px; font-size: 13px; }
  html[data-analytics-consent="unset"] body { padding-bottom: 124px; }
}


/* 收尾：按钮视觉语言统一、列表可扫读、贴底安全区 */
.prose ol > li { margin-bottom: 10px; }
.prose ol > li::marker { color: var(--primary); font-weight: 600; }
.hero-note { margin-bottom: 24px; }
.consent { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 561px) {
  .stage-actions .act {
    border-radius: 999px;
    padding: 8px 18px;
    line-height: 1;
  }
}
@media (max-width: 560px) {
  .consent { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .head-nav { gap: 12px 18px; font-size: 13.5px; letter-spacing: .01em; }
  html[data-analytics-consent="unset"] body { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
}


/* 审稿第四轮：横幅改右下角轻卡、手机标题再降、正文行宽收紧 */
.consent {
  left: auto;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  margin: 0;
  padding: 16px 18px;
}
.consent-text { font-size: 12.5px; }
.consent-btn { min-height: 38px; font-size: 13px; padding: 0 14px; }
.prose p { max-width: 68ch; line-height: 1.65; }
html[data-analytics-consent="unset"] body { padding-bottom: 100px; }
@media (max-width: 560px) {
  .consent {
    left: 8px; right: 8px; bottom: 8px;
    max-width: none;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .consent-actions { display: flex; gap: 8px; }
  .consent-btn { flex: 1 1 0; min-height: 38px; }
  h1 { font-size: clamp(24px, 6.6vw, 30px); }
  .hero h1 { margin-bottom: 4px; }
  .hero-sub { font-size: 15.5px; }
  html[data-analytics-consent="unset"] body { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}


/* 修得准一点：两条规则被 .hero h1 / .prose p 盖住了，这次用更具体的选择器 */
body .hero h1 { font-size: 44px; }
body .prose p { max-width: 68ch; line-height: 1.65; }

/* 桌面端：横幅改贴底细条，内联排列，不再盖住插画 */
@media (min-width: 561px) {
  .consent {
    left: 0; right: 0; bottom: 0;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    border-radius: 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    box-shadow: 0 -6px 18px rgba(36, 48, 74, .10);
  }
  .consent-text { margin: 0; flex: 1 1 auto; max-width: 62ch; font-size: 13px; }
  .consent-actions { flex: 0 0 auto; display: flex; gap: 8px; }
  .consent-btn { min-height: 36px; font-size: 13px; padding: 0 16px; flex: 0 0 auto; }
  html[data-analytics-consent="unset"] body { padding-bottom: 88px; }
}

/* 手机端：标题真正降到 25px 上下，横幅再矮一点 */
@media (max-width: 560px) {
  body .hero h1 { font-size: clamp(22px, 6.4vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
  .consent { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .consent-text { font-size: 12px; line-height: 1.35; margin-bottom: 8px; }
  .consent-btn { min-height: 34px; font-size: 12.5px; }
  html[data-analytics-consent="unset"] body { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}


@media (max-width: 560px) {
  .consent-text { font-size: 12px; line-height: 1.4; }
}


/* 第六轮审稿：副标题留白、长文行高、图注可读性 */
.hero-sub { padding: 0 12px; }
body .prose p { line-height: 1.72; margin-bottom: 20px; }
.prose figcaption, figcaption {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a5468;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .hero-sub { padding: 0 8px; }
}


/* 站内锚点：避开吸附顶栏 */
:target { scroll-margin-top: 92px; }
h2[id], h3[id], section[id], div[id="faq"], details[id] { scroll-margin-top: 92px; }
@media (max-width: 560px) {
  :target, h2[id], h3[id], section[id], div[id="faq"], details[id] { scroll-margin-top: 128px; }
}


/* ===== 内页就地游戏（2026-11-23 访客高峰） ===== */
.prose .stage { margin: 26px 0 34px; }
.prose .stage .cover img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.prose .stage .btn-play { min-height: 48px; }


/* ===== 分享弹窗（2026-11-23） ===== */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.share-modal[hidden] { display: none; }
.share-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 48, .62); backdrop-filter: blur(2px); }
.share-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-2);
  max-width: 430px;
  width: 100%;
  padding: 26px 22px 22px;
  max-height: 88vh;
  overflow: auto;
}
.share-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
}
.share-close { min-width: 44px; min-height: 44px; }
.share-close:hover { color: var(--ink); background: rgba(36, 48, 74, .06); }
.share-card:focus { outline: none; }
.share-card h2 { font-size: 21px; margin: 0 0 6px; }
.share-sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; max-width: none; }
.share-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: none;
}
.share-grid li:last-child { grid-column: span 2; }
.share-grid li { margin: 0; }
.share-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 76px;
}
.share-grid a:hover { border-color: var(--primary); color: var(--primary-deep); box-shadow: var(--sh-1); }
.share-grid img, .share-grid svg { display: block; width: 20px; height: 20px; }
.share-grid a[data-mk-net="linkedin"] svg { width: 24px; height: 24px; }
.share-copy-btn { width: 100%; font-size: 15px; }
.share-copy-btn:focus-visible { outline: 2px solid var(--primary-deep); outline-offset: 2px; }
@media (max-width: 520px) {
  .share-modal { padding: 16px; }
  .share-card { padding: 22px 16px 18px; }
  .share-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .share-grid li:last-child { grid-column: span 3; }
  .share-grid a { min-height: 68px; font-size: 12px; padding: 10px 4px 8px; }
}
