:root {
  --bg: #14161c;
  --panel: #1c2029;
  --panel-2: var(--bg);
  --line: #2f3644;
  --ink: #eef0f4;
  --ink-soft: #c9d1dd;
  --muted: #9aa3b2;
  --brand: #5aa832;
  --brand-dark: #3e7822;
  --brand-ink: #9ade74;
  --accent: #e0a03a;
  --copper: #c87b4a;
  --iron: #cfd4da;
  --gold: #e0b53a;
  --diamond: #4fd6c8;
  --netherite: #8a7a90;
  --r: 10px;
  --sh1: 0 1px 2px rgba(0, 0, 0, 0.5);
  --sh2: 0 8px 24px rgba(0, 0, 0, 0.45);
  --head: 'Space Grotesk', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(180deg, var(--panel) 0%, var(--bg) 320px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 48px);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { max-width: 100%; }

/* ---------- original diagrams (illustrations, never screenshots) ---------- */
.diagram { margin: 0; }
.prose .diagram { margin: 24px 0 8px; }
.diagram svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.diagram img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.diagram figcaption { margin-top: 10px; max-width: 68ch; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 640px) {
  .diagram figcaption { font-size: 13px; }
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--panel); padding: 8px 12px; border-radius: var(--r); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; }

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.head-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; }
.brand-text { font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }
@media (max-width: 820px) {
  .head-inner { padding: 12px 20px; }
  .site-nav { gap: 4px 14px; }
  .site-nav a { font-size: 13px; }
}
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: rgba(90, 168, 50, 0.12);
  border: 1px solid rgba(90, 168, 50, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 20ch;
}
.hero h1 span { color: var(--brand); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 60ch; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.hero-meta { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.hero-play {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 62ch;
  margin: 20px 0 0;
  padding: 12px 16px;
  background: rgba(90, 168, 50, 0.08);
  border: 1px solid rgba(90, 168, 50, 0.4);
  border-left: 4px solid var(--brand);
  border-radius: var(--r);
  font-size: 15px;
  color: var(--ink-soft);
}
.hero-play strong { color: var(--ink); }
.hero-play a { font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.hero-play a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-solid { background: var(--brand); color: #0f1a08; border-color: var(--brand); box-shadow: var(--sh1); }
.btn-solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--ink); }
.btn-outline { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--ink); }
.btn:focus-visible, .link-btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn-like[aria-pressed="true"] { border-color: var(--brand); background: rgba(90, 168, 50, 0.14); }
.disc-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand); }
.btn-like[aria-pressed="true"] .disc-dot { background: var(--brand); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.count { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- fact strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0 0 8px;
}
.fact { background: var(--panel); padding: 16px 18px; }
.fact dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.fact dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.fact dd small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* ---------- sections ---------- */
.section { padding: 48px 0 0; }
.section > .h2 { margin-top: 0; }
.h2 { font-family: var(--head); font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; }
.h3 { font-family: var(--head); font-size: 22px; line-height: 1.25; margin: 0 0 6px; }
.h4 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.section-sub { color: var(--muted); max-width: 65ch; margin: 0 0 24px; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--sh1);
}
.card .num {
  font-family: var(--head);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- tier ladder ---------- */
.ladder { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ladder li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 6px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
}
.ladder .tier-name { font-weight: 600; font-size: 16px; }
.ladder .tier-note { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.ladder .chip { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.35); }
.ladder .rank { font-family: var(--head); font-size: 13px; color: var(--muted); }
.t-copper { border-left-color: var(--copper); } .chip-copper { background: var(--copper); }
.t-iron { border-left-color: var(--iron); } .chip-iron { background: var(--iron); }
.t-gold { border-left-color: var(--gold); } .chip-gold { background: var(--gold); }
.t-diamond { border-left-color: var(--diamond); } .chip-diamond { background: var(--diamond); }
.t-netherite { border-left-color: var(--netherite); } .chip-netherite { background: var(--netherite); }

/* ---------- confirmed vs unknown ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split .card h3 { display: flex; align-items: center; gap: 10px; }
.split .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.tag-yes { background: rgba(90, 168, 50, 0.16); color: var(--brand-ink); border: 1px solid rgba(90, 168, 50, 0.45); }
.tag-no { background: rgba(224, 160, 58, 0.14); color: var(--accent); border: 1px solid rgba(224, 160, 58, 0.45); }
.checklist { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-soft); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.checklist.unknown li::before { content: "?"; color: var(--accent); }

/* ---------- 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 40px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--brand); font-size: 22px; font-family: var(--head); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- prose ---------- */
.prose { padding: 48px 0 0; max-width: 78ch; }
.prose h1 { font-size: 40px; max-width: none; }
.prose h2 { font-family: var(--head); font-size: 26px; line-height: 1.25; margin: 40px 0 10px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose img { display: block; width: 100%; height: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--panel-2); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 0 0 24px; padding: 16px 20px; background: var(--panel); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.back-link { margin-top: 32px; font-size: 15px; }
.source-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* ---------- engage ---------- */
.engage { margin: 56px 0 0; border-top: 1px solid var(--line); padding-top: 32px; }
.engage-head { margin-bottom: 20px; }
.engage-head p { margin: 6px 0 0; font-size: 15px; }
.engage-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-msg { font-size: 14px; color: var(--brand); }
.comments { margin-top: 32px; }
.comment { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.comment[data-gf-owner] { border-color: rgba(90, 168, 50, 0.5); }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.comment-head strong { font-size: 15px; }
.comment-head time { font-size: 13px; color: var(--muted); }
.comment-owner { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #8fd46a; border: 1px solid rgba(90,168,50,0.4); border-radius: 4px; padding: 1px 6px; }
.comment-text { margin: 0 0 4px; color: var(--ink-soft); font-size: 15.5px; }
.replies { margin: 12px 0 0; padding-left: 16px; border-left: 2px solid var(--line); }
.replies .comment { background: var(--panel-2); }
.comment-form { margin-top: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.field { margin-bottom: 14px; display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form-msg { margin: 10px 0 0; font-size: 14px; min-height: 1em; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; background: #10131a; }
.site-foot .foot-inner { color: var(--muted); }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; }
.foot-note { font-size: 13px; color: var(--muted); max-width: 80ch; margin: 0 0 16px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.foot-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-copy { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- diagram & play card ---------- */
.diagram { margin: 28px 0 0; }

/* ---------- official video embed ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 20px 0 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh1);
}
.video-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

/* ---------- mobile: 390px 先看 ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px 48px; }
  /* sticky 头在手机上会盖住正文，且六项导航换行后过高 */
  .site-head { position: static; backdrop-filter: none; }
  .head-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 18px; }
  .site-nav { justify-content: flex-start; gap: 6px 14px; }
  .site-nav a { font-size: 13.5px; }
  .hero { padding: 32px 0 28px; }
  h1 { font-size: 32px; max-width: none; line-height: 1.14; }
  .lede { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-play { font-size: 14.5px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .section { padding: 32px 0 0; }
  .h2 { font-size: 24px; }
  .h3 { font-size: 20px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .prose { padding-top: 32px; }
  .prose h1 { font-size: 30px; }
  .prose h2 { font-size: 22px; }
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose th, .prose td { padding: 9px 10px; font-size: 14.5px; }
  .ladder li { grid-template-columns: 30px 1fr auto; gap: 12px; padding: 12px 14px; }
  .foot-inner { padding: 28px 18px 40px; }
  /* 示意图里 16px 的标签缩到 354px 宽只剩 9px，改成图内横滚保住可读性 */
  .diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram svg { min-width: 460px; }
  .diagram figcaption { font-size: 14px; }
  .play-card { grid-template-columns: 1fr; padding: 18px; gap: 12px; }
  .play-cta { width: 100%; }
  .play-title { font-size: 19px; }
}
.diagram svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.diagram figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 10px; max-width: 76ch; }
.play-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin: 24px 0 0;
  padding: 20px 22px;
  background: rgba(90, 168, 50, 0.08);
  border: 1px solid rgba(90, 168, 50, 0.42);
  border-left: 5px solid var(--brand);
  border-radius: var(--r);
}
.play-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f1a08;
  background: var(--brand);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.play-title { margin: 0 0 6px; font-family: var(--head); font-size: 19px; line-height: 1.32; color: var(--ink); }
.play-sub { margin: 0; font-size: 15px; color: var(--ink-soft); max-width: 58ch; }
.play-cta { white-space: nowrap; }
.checked-line { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.prose-legal h2 { font-size: 22px; margin-top: 32px; }
.prose-legal { max-width: 74ch; }
.prose-legal > p:first-of-type { font-size: 18px; color: var(--ink); }
@media (max-width: 760px) {
  .play-card { grid-template-columns: 1fr; gap: 14px; }
  .play-cta { width: 100%; }
  .play-title { font-size: 17px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px 48px; }
  .head-inner { padding: 12px 16px; }
  .brand-text { font-size: 15px; }
  .site-nav { gap: 4px 14px; }
  .site-nav a { font-size: 13px; }
  .hero { padding: 36px 0 28px; }
  h1 { font-size: 30px; }
  .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .cards, .split { grid-template-columns: 1fr; }
  .section { padding-top: 36px; }
  .h2 { font-size: 24px; }
  .ladder li { grid-template-columns: 30px 1fr; gap: 12px; }
  .ladder .rank { display: none; }
  .prose h1 { font-size: 28px; }
  .prose h2 { font-size: 22px; }
  .engage-row .btn { flex: 1 1 auto; }
  .comment-form { padding: 16px; }
  .field input, .field textarea { font-size: 16px; }
  .prose table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
  .prose th, .prose td { padding: 10px 12px; white-space: nowrap; }
}
