/* ============================================================
   乐享Ⅱ卡开卡教程 · 步骤页（解锁态）
   浅色米白 + 深墨蓝 + 金色点缀
   ============================================================ */

@font-face {
  font-family: 'Guide Sans';
  src: url('../guide-sans-664465914ee7.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a1120;
  --surface: #142241;
  --surface-soft: #101b31;
  --surface-lilac: #0f1a2e;
  --ink: #e9eef8;
  --ink-soft: #b7c2d3;
  --muted: #8b98ae;
  --muted-2: #6d7a91;
  --line: rgba(233, 196, 127, .28);
  --line-soft: rgba(255, 255, 255, .08);
  --gold: #e9c47f;
  --gold-strong: #f7dfae;
  --gold-soft: rgba(233, 196, 127, .14);
  --btn: #e9c47f;
  --btn-ink: #20180a;
  --green: #54d6a2;
  --btn-disabled: rgba(255, 255, 255, .14);
  --radius: 14px;
  --font: 'Guide Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; }

/* ---------- 顶栏 ---------- */

.topbar {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
}

.brand svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
}

.topnav {
  display: flex;
  gap: 30px;
  margin: 0 auto;
  font-size: 13.5px;
  color: var(--muted);
}

.topnav a {
  text-decoration: none;
  padding: 22px 0;
  position: relative;
}

.topnav a:hover { color: var(--ink); }

.topnav a[aria-current] { color: var(--ink); font-weight: 600; }

.topnav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--gold);
}

.pass-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  background: #fdfaf2;
}

.pass-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.pass-chip:hover { background: var(--gold-soft); }

.topbar-back {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.topbar-back:hover { color: var(--ink); }

/* ---------- 页面主体 ---------- */

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 90px;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 0 26px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
}

.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-side {
  text-align: right;
  padding-top: 8px;
  flex: none;
}

.hero-note {
  font-size: 12px;
  color: var(--muted-2);
}

.hero-note b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
}

.hero-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.hero-share {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
}

.hero-share:hover { border-color: var(--gold); color: var(--gold); }

.hero-share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; }

/* ---------- 使用场景 ---------- */

.section-title {
  margin: 8px 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.005em;
}

.use-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.inline-link {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(176, 134, 61, .55);
}

.inline-link:hover { color: var(--gold); }

.use-lead .inline-link { display: block; margin-top: 6px; }

.use-table {
  border-top: 1px solid var(--line-soft);
}

.use-row {
  display: grid;
  grid-template-columns: clamp(150px, 18vw, 230px) minmax(0, 1fr);
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.use-row h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.use-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

.use-row p a { display: inline-block; margin-top: 4px; }

.use-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

.use-foot a { color: var(--ink); }

.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.start-btn:hover { background: #223259; }

.start-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- 已验证提示 + 进度 ---------- */

.status {
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.status-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}

.status-note b { color: var(--ink); font-weight: 700; }

.status-note button {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.status-meter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
  max-width: 290px;
}

.status-meter b {
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
}

.status-meter span:last-child { margin-left: auto; color: var(--ink); }

.progress-line {
  position: relative;
  height: 2px;
  margin-top: 10px;
  background: #eae6dc;
  border-radius: 2px;
  max-width: 290px;
  overflow: hidden;
}

.progress-line i {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #d8b979);
  transition: width .3s ease;
}

/* ---------- 步骤工作区 ---------- */

.reading {
  display: grid;
  grid-template-columns: clamp(150px, 14vw, 200px) minmax(0, 1fr);
  gap: 28px;
  margin-top: 26px;
  align-items: start;
}

.step-nav {
  position: sticky;
  top: 24px;
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 12px 10px;
}

.step-nav-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.step-nav-item:hover { background: #f8f6f0; }

.step-nav-item.is-active {
  background: #fbfaff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(20, 33, 63, .06);
}

.step-nav-item.is-done { color: var(--ink); }

.step-no {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9e5db;
  color: #75716a;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: .02em;
}

.step-nav-item.is-active .step-no { background: var(--ink); color: #fff; }

.step-nav-item.is-done:not(.is-active) .step-no { background: #dfe6dc; color: #48603f; }

.step-nav-foot {
  margin-top: 14px;
  padding: 14px 10px 4px;
  border-top: 1px solid rgba(20, 33, 63, .08);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted-2);
}

.step-nav-foot button {
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 11px;
  color: #4b5bc4;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- 步骤内容卡 ---------- */

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 38px 28px;
  box-shadow: 0 1px 2px rgba(20, 33, 63, .03);
}

.step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.step-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.step-index {
  flex: none;
  padding-top: 6px;
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: .08em;
}

.step-lead {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 38px;
  margin-top: 26px;
  align-items: start;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 24px;
}

.facts li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
}

.facts .n {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 1px;
}

.facts h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.facts p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- 子操作：当前操作 / 指令 / 图解 ---------- */

.op-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.op-picker label { white-space: nowrap; }
.op-picker label b { color: var(--ink); font-weight: 700; }

.op-picker select {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font);
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
}

.op-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 24vw, 248px);
  gap: 34px;
  margin-top: 22px;
  align-items: start;
}

.op-grid.is-stack { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.op-grid.is-stack .op-media { max-width: 780px; }

.op-copy .op-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.005em;
}

.click-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: click;
}

.click-list li {
  counter-increment: click;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.click-list li::before {
  content: counter(click);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 3px;
}

.op-media { display: grid; gap: 10px; }

.op-figure { margin: 0; display: grid; gap: 9px; }

.figure-btn {
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  gap: 8px;
  cursor: zoom-in;
  font-family: var(--font);
  text-align: left;
}

.img-frame {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7e6ef;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 33, 63, .04);
}

.img-frame img { display: block; width: 100%; height: auto; }

.img-mark {
  position: absolute;
  border: 2px solid #e5484d;
  border-radius: 3px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.zoom-hint { font-size: 11px; color: var(--muted-2); text-align: center; }

.op-figure figcaption { text-align: center; }
.op-figure figcaption strong { display: block; font-size: 13px; font-weight: 700; }
.op-figure figcaption p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--muted); }
.op-figure figcaption small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted-2); }

.figure-pair { display: grid; gap: 14px; }

.note-box {
  margin: 26px 0 0;
  padding: 13px 16px;
  border-radius: 10px;
  background: #edf1fa;
  color: #3c4a68;
  font-size: 12.5px;
  line-height: 1.9;
}

.note-box p { margin: 0; }

.op-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.op-hint { margin: 9px 0 0; font-size: 11.5px; color: var(--muted-2); }

.tip-bar {
  margin: 26px 0 0;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--surface-soft);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.tip-bar strong { display: block; color: var(--ink); font-size: 13px; }
.tip-bar p { margin: 6px 0 0; }
.tip-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }

.next-links { margin: 26px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* 邀请码通道条（注册实名步） */
.invite-bar {
  margin-top: 20px;
  padding: 14px 18px 12px;
  border: 1px dashed #ddc89b;
  border-radius: 12px;
  background: #fffdf5;
}

.invite-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.invite-who {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink);
}

.invite-who strong { font-weight: 700; }

.invite-code { color: var(--muted); }
.invite-code b { color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }

.invite-copy {
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 11.5px;
  color: #4470c4;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.invite-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.invite-cta:hover { background: #223259; }
.invite-cta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

.invite-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #ecdfc2;
  font-size: 11.5px;
  color: var(--muted);
}

.invite-links { display: flex; gap: 16px; }

.invite-links button {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 11.5px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.invite-status { margin: 8px 0 0; font-size: 11.5px; color: #2f6b47; }

/* 图解与官方规则 */
.rule-block {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.rule-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.rule-block summary::-webkit-details-marker { display: none; }

.rule-block summary svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .2s ease;
}

.rule-block[open] summary svg { transform: rotate(45deg); }

.rule-block p { margin: 10px 0 0; font-size: 12px; line-height: 1.85; color: var(--muted); }

.rule-links { display: grid; gap: 7px; margin-top: 10px; }

.rule-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3b4c8f;
  text-decoration: none;
}

.rule-link:hover { color: var(--gold); }
.rule-link svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }

.finished-note { margin: 10px 0 0; font-size: 12px; color: #2f6b47; }

/* 按钮变体 */
.btn-quiet {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.btn-dark {
  background: var(--btn);
  border: 1px solid var(--btn);
  color: #fff;
}

.btn-dark:hover:not(:disabled) { background: #223259; color: #fff; }
.btn-dark:disabled { background: var(--btn-disabled); border-color: var(--btn-disabled); color: #fff; opacity: .9; }

/* ---------- 右侧示意图 ---------- */

.step-media { display: grid; gap: 12px; }

.media-frame {
  background: var(--surface-lilac);
  border-radius: 12px;
  padding: 14px;
  cursor: zoom-in;
  border: 1px solid #ecebf6;
}

.media-frame:hover { border-color: #dcd9ee; }

/* 卡片申请页示意（等实拍截图替换） */
.shot {
  background: #fff;
  border-radius: 8px;
  padding: 12px 12px 10px;
  font-family: var(--font);
  box-shadow: 0 1px 2px rgba(20, 33, 63, .06);
}

.shot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shot-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.shot-brand {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #1a1f71;
}

.shot-card {
  position: relative;
  margin-top: 10px;
  height: 62px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7b5cf0 0%, #4f3bd8 46%, #8b6cf5 100%);
  overflow: hidden;
}

.shot-card::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -18px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  filter: blur(2px);
}

.shot-card span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  color: rgba(255, 255, 255, .92);
  font-size: 8.5px;
  letter-spacing: .14em;
}

.shot-rows {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}

.shot-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 8.5px;
  color: var(--muted);
  line-height: 1.7;
}

.shot-row em { font-style: normal; color: var(--ink-soft); }

.shot-cta {
  margin-top: 9px;
  height: 20px;
  border-radius: 5px;
  background: #1b1a24;
  color: #fff;
  font-size: 8.5px;
  display: grid;
  place-items: center;
}

.shot-hint { margin: 0; text-align: center; font-size: 11px; color: var(--muted-2); }

.media-title { margin: 4px 0 0; font-size: 14px; font-weight: 700; }

.media-desc { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); }

.media-caption { margin: 0; font-size: 10.5px; color: var(--muted-2); }

/* ---------- 图解与官方规则 ---------- */

.rule-block {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.rule-block h3 { margin: 0; font-size: 15px; font-weight: 700; }

.rule-figure {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #faf8f3;
  min-height: 118px;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
  padding: 18px;
}

/* ---------- 勾选与操作 ---------- */

.confirm-box {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}

.check-row input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.check-row label { cursor: pointer; }

.check-note {
  margin: 8px 0 0 25px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }

.btn:disabled {
  color: #a8aeb9;
  border-color: var(--line-soft);
  background: #fbfaf7;
  cursor: default;
}

.btn-primary {
  border: 1px solid var(--btn);
  background: var(--btn);
  color: #fff;
}

.btn-primary:hover:not(:disabled) { background: #223259; color: #fff; }

.btn-primary:disabled {
  border-color: var(--btn-disabled);
  background: var(--btn-disabled);
  color: #f4f5f8;
}

.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.copy-link {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 11.5px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- 待补步骤 ---------- */

.placeholder-step {
  margin-top: 22px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 34px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  background: #fcfbf7;
}

.placeholder-step b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 70px;
  padding: 26px 0 40px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-inner p { margin: 0; line-height: 1.8; }

.footer-links { display: flex; gap: 22px; white-space: nowrap; }

.footer-links a { color: var(--ink-soft); text-decoration: none; }

.footer-links a:hover { color: var(--gold); }

/* ---------- 放大弹窗 ---------- */

.image-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: 92vh;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(15, 22, 38, .28);
}

.image-dialog::backdrop { background: rgba(16, 20, 32, .55); }

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.dialog-head h2 { margin: 0; font-size: 15px; font-weight: 700; }

.dialog-x {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.dialog-x:hover { background: var(--gold-soft); color: var(--gold); }

.dialog-body {
  padding: 18px 20px;
  overflow: auto;
  max-height: 68vh;
}

.dialog-frame { position: relative; display: block; }

.dialog-frame img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid #e7e6ef;
}

.dialog-caption {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 14px);
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--btn);
  color: #fff;
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 30;
}

.toast.is-visible,
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */

@media (max-width: 1060px) {
  .reading { grid-template-columns: 214px minmax(0, 1fr); gap: 24px; }
  .step-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; }
  .op-grid { grid-template-columns: minmax(0, 1fr) 210px; gap: 26px; }
  .step-card { padding: 28px 28px 24px; }
  .use-row { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 860px) {
  .topbar-inner, .page, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .topnav { display: none; }
  .hero { flex-direction: column; gap: 18px; padding: 34px 0 26px; }
  .hero h1 { font-size: 30px; }
  .hero-side { text-align: left; padding-top: 0; }
  .section-title { font-size: 22px; }
  .use-row { grid-template-columns: 1fr; gap: 6px; }
  .use-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .reading { grid-template-columns: minmax(0, 1fr); }
  .step-nav { position: static; padding: 10px 8px 8px; }
  .step-nav-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .step-nav-list::-webkit-scrollbar { display: none; }
  .step-nav-item { flex: 0 0 auto; white-space: nowrap; padding: 8px 12px; font-size: 12.5px; }
  .step-nav-foot {
    margin-top: 6px;
    padding: 8px 6px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
  }
  .step-nav-foot button { margin-top: 0; }
  .step-grid { grid-template-columns: minmax(0, 1fr); }
  .step-media { max-width: 320px; }
  .op-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .op-media { max-width: 340px; }
  .op-picker { flex-wrap: wrap; }
  .op-picker select { max-width: 100%; }
  .invite-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .invite-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .step-card { padding: 22px 18px 20px; border-radius: 12px; }
  .step-head h2 { font-size: 18px; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}

/* ============================================================
   视觉升级（2026-11-27）：编排式手册感
   骨架不变，只改版面语言：纸感底、编排标题区、场景卡、
   轨道式步骤目录、金线提示、带序号的操作品题
   ============================================================ */

body {
  background:
    radial-gradient(1200px 460px at 82% -10%, rgba(176, 134, 61, .12), transparent 70%),
    radial-gradient(900px 420px at 4% 2%, rgba(20, 33, 63, .07), transparent 66%),
    var(--bg);
  background-attachment: fixed;
}

.page { max-width: 1180px; }

/* ---------- 编排式标题区 ---------- */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero-main { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.03em;
}

.hero p {
  margin: 13px 0 0;
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin-top: 28px;
}

.hero-meta > div { display: flex; flex-direction: column; gap: 3px; }

.hero-meta b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-meta span { font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }

.hero-meta .is-free {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.hero-meta .is-free b { font-size: 15px; color: var(--gold); }

.hero-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 0;
  text-align: right;
}

.hero-side .hero-share { margin-top: 0; }

/* ---------- 使用场景：三张卡 ---------- */
.scene { padding-top: 46px; }

.section-head { max-width: 620px; }

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.use-lead {
  margin: 11px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.scene-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fdfbf5 100%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.scene-card:hover {
  transform: translateY(-3px);
  border-color: #ddd6c3;
  box-shadow: 0 16px 34px -22px rgba(20, 33, 63, .45);
}

.scene-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--gold);
}

.scene-card h3 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }

.scene-card p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--ink-soft); }

.scene-card .inline-link { margin-top: auto; font-size: 12px; }

/* ---------- 进度 ---------- */
.status {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.status-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.status-note { margin: 0; max-width: 640px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.status-note b { color: var(--ink); font-weight: 700; }

.status-figure {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.status-figure b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.status-figure span { font-size: 11px; letter-spacing: .04em; color: var(--muted-2); }
.status-figure i { font-style: normal; font-weight: 700; color: var(--ink); }

.progress-line {
  margin-top: 15px;
  height: 3px;
  border-radius: 99px;
  background: rgba(20, 33, 63, .09);
  overflow: hidden;
}

.progress-line i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), #d9b268);
  transition: width .38s ease;
}

/* ---------- 轨道式步骤目录 ---------- */
.reading {
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.step-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px 12px;
  box-shadow: 0 1px 2px rgba(20, 33, 63, .03);
}

.step-nav-list { position: relative; gap: 0; }

.step-nav-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(20, 33, 63, .13);
}

.step-nav-item {
  position: relative;
  padding: 11px 10px 11px 6px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}

.step-nav-item:hover { background: #fbf9f3; }

.step-nav-item.is-active {
  background: #fdfaf2;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(176, 134, 61, .28);
}

.step-no {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2eee4;
  border: 1px solid rgba(20, 33, 63, .1);
  color: var(--muted);
}

.step-nav-item.is-active .step-no {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.step-nav-item.is-done:not(.is-active) .step-no {
  background: #e6efe5;
  border-color: transparent;
  color: #3f6b41;
}

/* ---------- 内容卡 ---------- */
.step-card {
  border-radius: 20px;
  padding: 36px 40px 30px;
  box-shadow: 0 2px 3px rgba(20, 33, 63, .03), 0 26px 50px -34px rgba(20, 33, 63, .28);
}

.step-head { align-items: flex-start; gap: 24px; }

.step-head-main { display: grid; gap: 11px; min-width: 0; }

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.step-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.step-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.step-index {
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted-2);
  font-family: var(--mono);
}

.step-lead {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 620px;
}

/* ---------- 当前操作条 ---------- */
.op-picker {
  margin-top: 26px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf9f3;
  gap: 14px;
}

.op-picker label { font-size: 12px; color: var(--muted); }
.op-picker label b { font-size: 12px; color: var(--ink); }

.op-dots { display: flex; gap: 3px; flex: none; }
.op-dots i { width: 9px; height: 4px; border-radius: 99px; background: rgba(20, 33, 63, .14); }
.op-dots i.is-on { background: var(--gold); }

.op-picker select {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(20, 33, 63, .1);
  border-radius: 9px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink);
}

/* ---------- 操作品题 ---------- */
.op-grid { margin-top: 28px; }

.op-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.op-no {
  flex: none;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--gold);
}

.op-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.6;
}

.click-list { margin-top: 15px; gap: 11px; }

.click-list li::before { color: var(--gold); font-family: var(--mono); font-size: 11px; padding-top: 4px; }

/* ---------- 图解 ---------- */
.img-frame {
  border-radius: 14px;
  border-color: #ebe6da;
  box-shadow: 0 8px 20px -14px rgba(20, 33, 63, .38);
  transition: transform .22s ease, box-shadow .22s ease;
}

.figure-btn:hover .img-frame {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(20, 33, 63, .45);
}

.zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted-2);
  transition: color .2s ease;
}

.zoom-hint::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 5px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1px 5px no-repeat;
  opacity: .75;
}

.figure-btn:hover .zoom-hint { color: var(--gold); }

.op-figure figcaption strong { font-size: 13px; letter-spacing: -.01em; }

/* ---------- 金线提示 ---------- */
.note-box {
  margin-top: 28px;
  padding: 14px 18px 14px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  background: #fdf8ea;
  color: #4b4433;
  font-size: 12.5px;
  line-height: 1.9;
}

/* ---------- 邀请条 ---------- */
.invite-bar {
  margin-top: 22px;
  padding: 16px 20px 13px;
  border: 1px solid #ecdfc0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fdf7ea 100%);
}

.invite-who { font-size: 13px; }

.invite-code b {
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(176, 134, 61, .28);
  color: #8a6522;
}

.invite-cta {
  padding: 9px 16px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -12px rgba(20, 33, 63, .9);
}

.invite-foot { border-top-color: #f0e5cd; }

/* ---------- 按钮 ---------- */
.btn {
  border-radius: 10px;
  padding: 11px 19px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}

.btn-dark {
  border-radius: 10px;
  box-shadow: 0 8px 18px -12px rgba(20, 33, 63, .9);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.btn-dark:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -14px rgba(20, 33, 63, .95);
}

.btn-quiet { border-radius: 10px; background: #fff; }

.op-nav { margin-top: 30px; }

.start-btn { border-radius: 10px; box-shadow: 0 10px 26px -18px rgba(20, 33, 63, .9); }

.use-foot { border-top-color: var(--line); }

.rule-block { margin-top: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1060px) {
  .reading { grid-template-columns: 202px minmax(0, 1fr); gap: 26px; }
  .op-grid { grid-template-columns: minmax(0, 1fr) 196px; gap: 26px; }
  .scene-grid { gap: 12px; }
  .scene-card { min-height: 0; }
  .status-figure b { font-size: 26px; }
}

@media (max-width: 860px) {
  .hero {
    display: block;
    padding: 36px 0 26px;
  }
  .hero h1 { font-size: 32px; }
  .hero-meta { gap: 8px 22px; margin-top: 22px; }
  .hero-meta .is-free { padding-left: 22px; }
  .hero-side { align-items: flex-start; text-align: left; margin-top: 20px; }
  .scene { padding-top: 32px; }
  .scene-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .scene-card { min-height: 0; padding: 18px 18px 18px; }
  .status-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .status-figure { flex-direction: row; align-items: baseline; gap: 10px; }
  .status-figure b { font-size: 22px; }
  .reading { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; }
  .step-nav { padding: 10px 10px 10px; }
  .step-nav-list::before { display: none; }
  .op-picker { flex-wrap: wrap; gap: 10px; }
  .op-picker select { flex: 1 1 100%; max-width: 100%; }
  .op-grid { margin-top: 24px; }
}

@media (max-width: 560px) {
  .hero { padding: 28px 0 22px; }
  .hero h1 { font-size: 27px; }
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
  }
  .hero-meta b { font-size: 17px; }
  .hero-meta > div { min-width: 0; }
  .hero-meta .is-free {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .section-title { font-size: 22px; }
  .status-figure b { font-size: 20px; }
  .step-card { padding: 24px 20px 24px; border-radius: 16px; }
  .step-tag { font-size: 10px; letter-spacing: .12em; }
  .op-no { font-size: 18px; }
  .op-title { font-size: 15.5px; }
  .scene-card { padding: 16px 16px; }
}

/* ============================================================
   深色化覆盖（2026-11-27）：藏青 + 金
   与首页同一色板；骨架与版式沿用上面的编排，仅替换明暗关系
   ============================================================ */

body {
  background:
    radial-gradient(1200px 520px at 82% -10%, rgba(233, 196, 127, .10), transparent 70%),
    radial-gradient(900px 440px at 4% 2%, rgba(48, 92, 168, .16), transparent 66%),
    var(--bg);
  background-attachment: fixed;
}

/* 场景卡 */
.scene-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-color: var(--line-soft);
}

.scene-card:hover {
  border-color: rgba(233, 196, 127, .42);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(233, 196, 127, .16);
}

/* 进度 */
.progress-line { background: rgba(255, 255, 255, .1); }
.progress-line i { background: linear-gradient(90deg, var(--gold), var(--gold-strong)); }

/* 步骤目录 */
.step-nav {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-color: var(--line-soft);
  box-shadow: 0 20px 40px -34px rgba(0, 0, 0, .9);
}

.step-nav-list::before { background: rgba(233, 196, 127, .22); }

.step-nav-item:hover { background: rgba(255, 255, 255, .05); }

.step-nav-item.is-active {
  background: rgba(233, 196, 127, .12);
  color: var(--gold-strong);
  box-shadow: inset 0 0 0 1px rgba(233, 196, 127, .28);
}

.step-nav-foot { border-top-color: rgba(233, 196, 127, .2); }
.step-nav-foot button { color: var(--gold); }

.step-no {
  background: #0c1729;
  border-color: var(--line-soft);
  color: var(--muted);
}

.step-nav-item.is-active .step-no {
  background: var(--gold);
  border-color: transparent;
  color: var(--btn-ink);
}

.step-nav-item.is-done:not(.is-active) .step-no {
  background: rgba(84, 214, 162, .16);
  color: var(--green);
}

/* 内容卡 */
.step-card {
  border: 1px solid rgba(233, 196, 127, .22);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .95);
}

/* 当前操作条 */
.op-picker {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-soft);
}

.op-picker select {
  background: #0c1729;
  border-color: var(--line-soft);
  color: var(--ink);
}

.op-picker select option { background: #101b31; color: var(--ink); }

.op-dots i { background: rgba(255, 255, 255, .18); }
.op-dots i.is-on { background: var(--gold); }

/* 图解 */
.img-frame {
  background: #060c18;
  border-color: rgba(233, 196, 127, .2);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .95);
}

.figure-btn:hover .img-frame {
  border-color: rgba(233, 196, 127, .45);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .95);
}

.media-frame {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-soft);
}

/* 金线提示 */
.note-box {
  background: rgba(233, 196, 127, .08);
  color: var(--ink-soft);
}

/* 邀请条 */
.invite-bar {
  border: 1px dashed rgba(233, 196, 127, .42);
  background: rgba(233, 196, 127, .06);
}

.invite-code b {
  background: #0c1729;
  box-shadow: inset 0 0 0 1px rgba(233, 196, 127, .3);
  color: var(--gold-strong);
}

.invite-copy { color: var(--gold); }
.invite-foot { border-top-color: rgba(233, 196, 127, .24); }
.invite-status,
.finished-note { color: var(--green); }

/* 官方规则 */
.rule-link { color: var(--gold); }
.rule-link:hover { color: var(--gold-strong); }

.rule-figure {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-soft);
}

/* 表单类 */
.placeholder-step { background: rgba(255, 255, 255, .02); }

.check-row input { accent-color: var(--gold); }

.copy-link { color: var(--gold); }

/* 按钮：金色主按钮 + 深墨字 */
.start-btn,
.btn-dark,
.btn-primary,
.invite-cta {
  background: linear-gradient(180deg, var(--gold-strong) 0%, var(--gold) 100%);
  border-color: transparent;
  color: var(--btn-ink);
  box-shadow: 0 10px 26px -18px rgba(233, 196, 127, .7);
}

.start-btn:hover,
.btn-dark:hover:not(:disabled),
.btn-primary:hover:not(:disabled),
.invite-cta:hover {
  background: linear-gradient(180deg, #fff1d3 0%, #f0cf92 100%);
  color: var(--btn-ink);
}

.btn {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-soft);
  color: var(--ink);
}

.btn-quiet {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-soft);
}

.btn:disabled,
.btn-primary:disabled,
.btn-dark:disabled {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-soft);
  color: var(--muted-2);
  opacity: 1;
}

.hero-share {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-soft);
}

/* 页脚 */
.footer { border-top-color: var(--line-soft); }

/* 放大弹窗 */
.image-dialog {
  background: #0d1728;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .7);
}

.image-dialog::backdrop { background: rgba(4, 8, 16, .78); }

.dialog-body { background: #060c18; }

.dialog-frame img,
.img-frame img { border-color: transparent; }

.dialog-x {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
}

.dialog-x:hover { background: rgba(233, 196, 127, .16); color: var(--gold); }

/* toast */
.toast {
  background: rgba(12, 21, 38, .96);
  border: 1px solid var(--line);
  color: var(--gold-strong);
}

/* 旧示意卡（.shot）深色化 */
.shot { background: #0c1729; }
.shot-row em { color: var(--ink); }
.shot-cta { background: rgba(255, 255, 255, .1); color: var(--ink); }
/* 外链小图标统一尺寸（.inline-link / .tip-links 内的 svg 此前无尺寸，会撑成大黑块） */
.inline-link svg,
.tip-links svg {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 4px;
  vertical-align: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}