:root {
  color-scheme: light dark;

  --paper: #fbfbfa;
  --paper-raised: #ffffff;
  --paper-sunk: #f4f4f2;
  --ink: #17251f;
  --ink-head: #17251f;
  --ink-soft: #4a544e;
  --ink-body: #55605a;
  --muted: #737c76;
  --muted-2: #9aa29d;
  --muted-strong: #5c665f;
  --line: #e6e7e3;
  --line-strong: #d4d6d0;
  --accent: #a87c28;
  --accent-soft: #f6eeda;
  --accent-ink: #6f4f14;
  --gold: #b8892c;
  --gold-soft: #f6eeda;
  --dark: #12402f;
  --dark-2: #17362a;
  --ok: #2f7a58;
  --warn: #a17415;
  --err: #b3342b;

  /* 交互层与反色层，深浅色主题各自定义 */
  --solid-bg: #1d2b25;
  --solid-fg: #ffffff;
  --head-bg: rgba(251, 251, 250, .82);
  --hover: rgba(18, 22, 26, .04);
  --tag-bg: rgba(18, 22, 26, .58);
  --overlay: rgba(14, 16, 20, .58);
  --shadow-color: rgba(18, 22, 26, .16);
  --bar-bg: rgba(251, 251, 250, .94);
  --grain-opacity: .035;

  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .05), 0 2px 8px rgba(20, 22, 26, .04);
  --shadow-md: 0 8px 28px rgba(20, 22, 26, .08);
  --shadow-lg: 0 24px 64px rgba(20, 22, 26, .16);

  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
             "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --head-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1512;
    --paper-raised: #161e1a;
    --paper-sunk: #1b2420;
    --ink: #e6ebe6;
    --ink-head: #eff3ee;
    --ink-soft: #c2cac4;
    --ink-body: #aeb9b1;
    --muted: #93a09a;
    --muted-2: #6f7c76;
    --muted-strong: #a9b3ac;
    --line: #26312b;
    --line-strong: #334139;
    --accent: #d3a45c;
    --accent-soft: #2b2617;
    --accent-ink: #f0d6a8;
    --gold: #d8b062;
    --gold-soft: #2b2617;
    --dark: #16241d;
    --dark-2: #1b2c23;
    --ok: #6fc79b;
    --warn: #d5b061;
    --err: #e07b70;

    --solid-bg: #edf1ec;
    --solid-fg: #0f1512;
    --head-bg: rgba(15, 21, 18, .82);
    --hover: rgba(237, 241, 236, .06);
    --tag-bg: rgba(10, 14, 12, .62);
    --overlay: rgba(6, 9, 8, .66);
    --shadow-color: rgba(0, 0, 0, .5);
    --bar-bg: rgba(15, 21, 18, .94);
    --grain-opacity: .08;
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

/* 锚点跳转时给吸顶导航留出空间 */
section[id], [id="studio"], [id="services"], [id="cases"], [id="faq"], [id="how"], [id="demo"] {
  scroll-margin-top: calc(var(--head-h) + 18px);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font: 400 16px/1.7 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/grain.png") repeat;
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  color: var(--ink-head);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.85rem);
  line-height: 1.16;
  letter-spacing: .01em;
  margin: 0;
  font-weight: 600;
}

.display-sm {
  color: var(--ink-head);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: .01em;
  margin: 0;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(189, 138, 46, .14);
}

.lede {
  margin: 22px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
  color: var(--ink-body);
  max-width: 34em;
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  --btn-bg: var(--solid-bg);
  --btn-fg: var(--solid-fg);
  --btn-bd: var(--solid-bg);
  box-shadow: 0 6px 18px var(--shadow-color);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 26px var(--shadow-color); }

.btn-ink { --btn-bg: var(--solid-bg); --btn-fg: var(--solid-fg); --btn-bd: var(--solid-bg); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn-ghost:hover:not(:disabled) { background: var(--hover); --btn-bd: var(--ink); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); background: var(--paper-sunk); }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.chip-btn svg { width: 16px; height: 16px; color: var(--muted); }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn-sm { padding: 6px 12px; font-size: 12.5px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--head-bg);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(232, 226, 216, .7);
}

.head-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: 30px;
  flex: none;
  color: var(--accent);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { width: auto; height: 26px; display: block; }

.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .12em;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-nav a { position: relative; padding-block: 6px; transition: color .18s ease; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.head-cta { margin-left: auto; }

.hero { padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 104px); position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy { max-width: 30em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.trust-row strong { color: var(--accent); font-weight: 600; }

.hero-figure { margin: 0; }

.figure-cap {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
  letter-spacing: .02em;
}

.compare {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper-sunk);
  aspect-ratio: 1 / 1;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.compare .cmp-under,
.compare .cmp-over img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare .cmp-over {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.cmp-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 0 14px rgba(0, 0, 0, .25);
  transform: translateX(-1px);
  z-index: 3;
  cursor: ew-resize;
}

.cmp-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
}
.cmp-grip::before,
.cmp-grip::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border-top: 1.6px solid var(--ink);
  border-right: 1.6px solid var(--ink);
}
.cmp-grip::before { transform: rotate(-135deg); left: 12px; }
.cmp-grip::after { transform: rotate(45deg); right: 12px; }

.cmp-tag {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .08em;
  background: var(--tag-bg);
  color: #fff;
  backdrop-filter: blur(6px);
}

.compare::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(14, 16, 20, .58), rgba(14, 16, 20, .18) 55%, transparent);
}
.cmp-tag-l { left: 14px; }
.cmp-tag-r { right: 14px; }

.compare-lg { box-shadow: var(--shadow-lg); }

.section { padding-block: clamp(64px, 8vw, 116px); position: relative; }
.section-alt { background: var(--paper-raised); border-block: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #f2efe9; }
.section-dark .eyebrow { color: #a9a49b; }
.section-dark .dot { background: #d3a45c; box-shadow: 0 0 0 4px rgba(211, 164, 92, .16); }
.section-dark .section-lede { color: #b9b4ab; }

.section-head { max-width: 46em; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head-light .display-sm { color: #f7f4ee; }

.section-lede {
  margin: 16px 0 0;
  color: var(--ink-body);
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 38em;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  font-size: 13.5px;
  color: var(--muted-2);
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  transition: all .2s ease;
}

.step.is-active { color: var(--ink); font-weight: 500; }
.step.is-active .step-n { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-fg); }
.step.is-done .step-n { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr) minmax(260px, 300px);
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--shadow-sm);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-strong);
  font-weight: 600;
}
.panel-title-spaced { margin-top: 28px; }

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 18px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--paper);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.drop:hover, .drop:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.drop.is-drag { border-color: var(--accent); background: var(--accent-soft); transform: scale(.995); }

.drop-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.drop-ico svg { width: 21px; height: 21px; }

.drop-t { font-size: 15px; font-weight: 500; }
.drop-h { font-size: 12px; color: var(--muted-2); line-height: 1.6; }

.drop-alt { margin-top: 10px; display: flex; }
.drop-alt .chip-btn { width: 100%; justify-content: center; }

.picked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}
.picked img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--r-xs);
  flex: none;
}
.picked-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.picked-meta strong {
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.picked-meta span { font-size: 12px; color: var(--muted-2); }

.svc-list { display: grid; gap: 8px; }

.svc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.svc:hover { border-color: var(--line-strong); background: var(--paper); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.svc-name { font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.svc-desc { font-size: 12px; color: var(--muted-2); line-height: 1.45; }
.svc-price { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-soft); flex: none; }

.svc:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper-raised);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow-sm);
}
.svc:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.svc-badge {
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.remove-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }

.field { display: block; }
.field-label {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: 14px/1.6 var(--font-ui);
  color: var(--ink);
  resize: vertical;
  transition: border-color .18s ease, background .18s ease;
}
textarea:focus { outline: none; border-color: var(--ink); background: var(--paper-raised); }

.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.check input { margin-top: 2px; accent-color: var(--accent); flex: none; }

.panel-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 13px 14px;
  border-radius: var(--r-md);
  background: var(--paper-sunk);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.panel-note svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 1px; }
.panel-note strong { font-weight: 600; }

.panel-stage {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--head-h) + 20px);
}

.stage-empty { flex: 1; display: grid; place-items: center; text-align: center; padding: 30px 10px; }
.stage-empty-inner { max-width: 30em; }
.stage-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; color: var(--line-strong); margin-bottom: 16px; }
.stage-ico svg { width: 100%; height: 100%; }
.stage-empty-t { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.stage-empty-p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.stage-live { flex: 1; display: flex; flex-direction: column; gap: 16px; }

.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stage-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-strong); font-weight: 600; }

.stage-media { border-radius: var(--r-lg); overflow: hidden; }
.stage-media .compare { width: 100%; aspect-ratio: var(--cmp-ratio, 1 / 1); max-height: 72vh; }
.stage-media .compare { border-radius: var(--r-lg); box-shadow: none; background: var(--paper-sunk); }
.stage-media #singleImg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--r-lg);
}

.progress { display: flex; flex-direction: column; gap: 8px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-bar { height: 6px; border-radius: 999px; background: var(--paper-sunk); overflow: hidden; }
.progress-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #d3a45c, var(--gold));
  transition: width .3s ease;
}
.progress-hint { margin: 0; font-size: 12px; color: var(--muted-2); }

.stage-status { margin: 0; font-size: 13.5px; color: var(--ink-soft); min-height: 20px; }
.stage-status.is-error { color: var(--err); }
.stage-status.is-ok { color: var(--ok); }

.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stage-actions .btn { flex: 1 1 auto; }

.stage-wx {
  margin: 0;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--accent-ink);
}

.panel-checkout { display: flex; flex-direction: column; gap: 14px; }

.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-service { font-size: 14.5px; color: var(--ink-soft); }
.price-amount { display: inline-flex; align-items: baseline; gap: 3px; color: var(--ink); }
.price-amount small { font-size: 14px; color: var(--muted); }
.price-amount strong { font-size: 30px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--accent); }

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

.pay-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 4px;
}
.pay-note-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--muted); }
.pay-note-ico svg { width: 100%; height: 100%; }

.mini-trust { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12px; color: var(--muted-2); }
.mini-trust li { position: relative; padding-left: 14px; }
.mini-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.svc-card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.svc-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: .01em; color: var(--ink-head); }
.svc-card-price {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.svc-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.75; color: var(--ink-body); }
.svc-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: var(--muted); }
.svc-card ul li { position: relative; padding-left: 15px; }
.svc-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 1px;
  background: var(--line-strong);
}

.svc-card[data-service] { cursor: pointer; }
.svc-card[data-service]:hover { border-color: var(--accent); }
.svc-card[data-service]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.svc-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.svc-card.is-selected::after {
  content: "已选中";
  position: absolute;
  left: 22px; bottom: 14px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent);
}
.svc-card.is-selected ul { padding-bottom: 18px; }
.svc-card-feature { background: var(--paper-raised); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.svc-flag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--solid-bg);
  color: var(--solid-fg);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.case { margin: 0; }
.case .compare { box-shadow: var(--shadow-sm); }
.case figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: clamp(28px, 3vw, 44px);
}

.how-n {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  color: #d3a45c;
  margin-bottom: 14px;
}
.how h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.how p { margin: 0; font-size: 14px; line-height: 1.85; color: #b3aea5; }

.faq-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-shell .section-head { margin-bottom: 0; position: sticky; top: calc(var(--head-h) + 28px); }

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list summary:hover { color: var(--accent-ink); }
.faq-list p {
  margin: 0 0 16px;
  padding-right: 8%;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-body);
}

.site-foot {
  background: var(--dark);
  color: #cfcabf;
  padding-block: clamp(44px, 5vw, 64px);
  position: relative;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.foot-brand { display: flex; gap: 12px; align-items: flex-start; color: #f2efe9; }
.foot-brand .brand-mark { color: #d3a45c; flex: none; }
.foot-brand .brand-mark img { height: 34px; }
.foot-brand strong { font-family: var(--font-display); font-size: 18px; letter-spacing: .1em; }
.foot-brand p { margin: 6px 0 0; font-size: 13px; color: #9c978e; line-height: 1.7; }

.foot-nav { display: grid; gap: 10px; font-size: 13.5px; }
.foot-nav a { color: #b8b3aa; transition: color .18s ease; }
.foot-nav a:hover { color: #fff; }

.foot-legal { font-size: 12.5px; color: #a8a29a; display: grid; gap: 8px; }
.foot-legal p { margin: 0; }

.sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; }
.sheet[hidden] { display: none; }

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  animation: fade-in .2s ease;
}

.sheet-panel {
  position: relative;
  width: min(400px, 100%);
  background: var(--paper-raised);
  border-radius: var(--r-xl);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: sheet-in .26s cubic-bezier(.2, .8, .3, 1);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.sheet-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
}
.sheet-close svg { width: 16px; height: 16px; }
.sheet-close:hover { background: var(--paper-sunk); color: var(--ink); }

.sheet-title { margin: 0 0 6px; font-size: 17px; font-weight: 500; }
.sheet-title strong { color: var(--accent); font-size: 22px; font-variant-numeric: tabular-nums; }
.sheet-sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); }

.pay-qr-wrap {
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  width: fit-content;
  margin: 0 auto;
}
.pay-qr-wrap img { width: 200px; height: 200px; }

.pay-status { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.pay-status.is-error { color: var(--err); }

.sheet-actions { display: grid; gap: 9px; margin-top: 16px; }

.sheet-tip { margin: 16px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--muted-2); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.section-demo { background: var(--paper-raised); border-block: 1px solid var(--line); }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.demo-copy { max-width: 32em; }

.demo-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.demo-points li { display: flex; gap: 10px; align-items: flex-start; }
.demo-points b { color: var(--accent); font-weight: 600; flex: none; }

.demo-phone {
  justify-self: center;
  width: min(300px, 80vw);
  position: relative;
  border-radius: 22px;
  padding: 0;
  background: transparent;
  box-shadow: 0 18px 46px rgba(18, 40, 32, .20);
}
.demo-phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #0b1f19;
}
.demo-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--overlay);
  color: #f7f3e9;
  backdrop-filter: blur(6px);
}
.demo-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: 22px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.demo-play span {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 253, 248, .95);
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .2s ease, transform .2s ease;
}
.demo-play svg { width: 22px; height: 22px; }
.demo-phone:hover .demo-play span,
.demo-phone.is-paused .demo-play span { opacity: 1; transform: none; }

@media (min-width: 1024px) {
  /* PC 上把演示视频放大，更有存在感 */
  .demo-phone { width: min(404px, 34vw); border-radius: 26px; }
  .demo-phone video { border-radius: 26px; }
  .demo-play { border-radius: 26px; }
  .demo-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); }
}

@media (max-width: 1180px) {
  .studio-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .panel-stage { grid-row: span 2; position: static; }
  .panel-checkout { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 18px; }
}

@media (max-width: 960px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-phone { order: -1; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: none; }
  .hero-figure { order: -1; }
  .compare-lg { aspect-ratio: 4 / 3; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-shell { grid-template-columns: minmax(0, 1fr); }
  .faq-shell .section-head { position: static; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-legal { grid-column: 1 / -1; }
}

@media (min-width: 861px) {
  .bar-progress { display: none !important; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .panel-checkout { flex-wrap: wrap; row-gap: 10px; }
  .bar-progress { flex: 1 1 100%; order: -1; }
  .bar-progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
  .bar-track { height: 5px; border-radius: 999px; background: var(--paper-sunk); overflow: hidden; }
  .bar-track i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #d3a45c, var(--gold)); transition: width .3s ease; }
  .head-cta { margin-left: auto; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-stage { grid-row: auto; }

  /* 结果照片满幅显示：面板出血到屏幕边缘，不要边框与圆角 */
  .panel-stage {
    padding-inline: 0;
    margin-inline: calc(-1 * var(--gutter));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .panel-stage .stage-empty,
  .panel-stage .stage-head,
  .panel-stage .stage-status,
  .panel-stage .stage-actions,
  .panel-stage .stage-wx,
  .panel-stage .progress { margin-inline: 16px; }
  .panel-stage .stage-actions { margin-bottom: 16px; }
  .stage-media { margin-inline: 0; border-radius: 0; overflow: visible; width: 100%; }
  .stage-media .compare,
  .stage-media #singleImg {
    border: 0; border-radius: 0; box-shadow: none;
    width: auto; height: auto; max-width: 100%; margin-inline: auto;
  }
  .stage-media .compare { max-height: 62vh; }

  
  body { padding-bottom: calc(var(--head-h) + env(safe-area-inset-bottom)); }

  /* 移动端只保留一条固定栏：取消底部结算条，把顶部导航移到底部替代它 */
  .site-head {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px var(--shadow-color);
  }
  .head-inner { height: var(--head-h); }
  .panel-checkout { position: static; }

  /* 固定栏在底部，锚点跳转不再需要为顶部导航预留 68px */
  section[id] { scroll-margin-top: 12px; }
}

@media (max-width: 620px) {
  :root { --r-xl: 22px; --r-lg: 16px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-row { gap: 8px 18px; font-size: 12.5px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-panel { padding: 26px 20px 20px; }
  .pay-qr-wrap img { width: 168px; height: 168px; }
  .faq-list p { padding-right: 0; }
  .panel-checkout { padding-bottom: 20px; }
  .cmp-grip { width: 38px; height: 38px; }
}

/* ===== 深色模式细节修正 ===== */
@media (prefers-color-scheme: dark) {
  .panel, .svc-card, .case .compare, .compare-lg { box-shadow: none; }
  .compare, .stage-media, .pay-qr-wrap { border: 1px solid var(--line); }
  .site-head { border-bottom-color: var(--line); }
  .btn-primary { box-shadow: none; }
  .demo-phone { box-shadow: 0 18px 46px rgba(0, 0, 0, .5); }
  .cmp-tag { background: var(--tag-bg); }
  .section-alt { border-color: var(--line); }
  .foot-brand p, .foot-nav a, .foot-legal { color: var(--muted-2); }
  .foot-nav a:hover { color: var(--ink); }
  .brand-mark img.logo-light-mode { display: none; }
  .brand-mark img.logo-dark-mode { display: block; }
}

@media (prefers-color-scheme: light) {
  .brand-mark img.logo-dark-mode { display: none; }
}
/* ===== 支付方式选择 ===== */
.method-list { display: grid; gap: 10px; margin-top: 4px; }
.method-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper-raised);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.method-btn:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.method-btn:active { transform: none; }
.method-name { font-size: 16px; font-weight: 600; color: var(--ink-head); }
.method-desc { font-size: 12.5px; color: var(--muted); }

.method-btn.is-primary { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.method-btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  border-style: dashed;
}
.method-btn.is-disabled:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.method-tag {
  font-size: 11px;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-left: 8px;
}
.copy-link { margin-top: 14px; width: 100%; justify-content: center; }
.copy-done { margin: 10px 0 0; font-size: 12.5px; color: var(--ok); text-align: center; }

/* ===== 上色风格 ===== */
.tone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}
.tone-label { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.tone-opts { display: inline-flex; gap: 6px; }
.tone-opt {
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s ease;
}
.tone-opt:hover { color: var(--ink-head); border-color: var(--accent); }
.tone-opt.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.tone-hint { font-size: 12px; color: var(--muted-soft); }

/* ===== 结果区放大 ===== */
@media (min-width: 1024px) {
  .studio-grid {
    width: min(1260px, calc(100vw - 2 * var(--gutter)));
    margin-inline: auto;
    grid-template-columns: minmax(280px, 318px) minmax(0, 1fr) minmax(236px, 262px);
  }
}
@media (min-width: 1024px) {
  .stage-media .compare { max-height: 76vh; }
}
.stage-media .compare { cursor: grab; }
.stage-media .compare:active { cursor: grabbing; }

/* 标签：被滑块盖住时淡出 */
.cmp-tag { transition: opacity .22s ease, transform .22s ease; }
.cmp-tag.is-off { opacity: 0; transform: translateY(6px); pointer-events: none; }

/* 结果态：隐藏结算面板，对比区占满 */
.studio-grid.is-settled .panel-checkout { display: none; }
@media (min-width: 1024px) {
  .studio-grid.is-settled {
    grid-template-columns: minmax(280px, 318px) minmax(0, 1fr);
  }
}

/* 结果态：两列等高、说明沉底 */
.studio-grid.is-settled { align-items: stretch; }
.studio-grid.is-settled > .panel { height: 100%; }
.studio-grid.is-settled .panel-input {
  display: flex;
  flex-direction: column;
}
.studio-grid.is-settled .panel-input .panel-note { margin-top: auto; }
@media (min-width: 1024px) {
  .studio-grid.is-settled { grid-template-columns: minmax(300px, 344px) minmax(0, 1fr); }
  .studio-grid.is-settled .stage-media .compare { max-height: 72vh; }
}

/* 结果操作：两个按钮时保存更突出 */
.stage-actions { gap: 12px; }
.stage-actions .btn { flex: 1 1 0; }
@media (min-width: 720px) {
  .stage-actions .btn-primary { flex: 1.6 1 0; }
}

/* 二维码需支持长按保存/识别 */
.pay-qr-wrap img {
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
}

/* ===== 联系客服 ===== */
.sheet-panel-wide { max-width: 520px; }
.sup-order {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 14px;
  background: var(--paper-sunk); border-radius: 10px;
  font-size: 13px;
}
.sup-label { color: var(--muted); font-size: 12.5px; }
.sup-order code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.sup-kinds { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.sup-kinds .tone-opt { padding: 6px 13px; font-size: 12.5px; }
.sup-submit { width: 100%; margin-top: 4px; }
#supCopyMail { margin-top: 12px; }

/* 客服弹层表单 */
#supportSheet .field { display: block; margin-bottom: 14px; }
#supportSheet .field-label {
  display: block; text-align: left; margin-bottom: 6px;
  font-size: 12.5px; color: var(--muted);
}
#supportSheet .field textarea,
#supportSheet .field input {
  display: block; width: 100%; text-align: left;
  padding: 11px 13px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  resize: vertical;
}
#supportSheet .field textarea:focus,
#supportSheet .field input:focus { outline: none; border-color: var(--accent); }
#supportSheet .sup-order { text-align: left; }

/* ===== 第 3 页版面调整 ===== */
/* 中间显示区吸顶，滚动时不再跟着页面跑 */
@media (min-width: 1024px) {
  /* 左列比中间高时，中间显示区在滚动中保持可见（受本行高度限制） */
  .studio-grid > .panel-stage {
    position: sticky;
    top: 88px;
    align-self: start;
  }
}

/* 右列底部隐私说明 */
.panel-note-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.panel-note-foot span { font-size: 12px; }

/* 结果态在中间区底部的精简版说明 */
.stage-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 2px 4px 0;
}

@media (min-width: 1024px) {
  .panel-stage { min-height: 560px; }
}

/* FAQ 底部 CTA */
.faq-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-raised);
}
.faq-cta strong { display: block; font-size: 20px; margin-bottom: 6px; letter-spacing: .01em; }
.faq-cta span { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
}

/* ===== 轻提示 ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(8px);
  z-index: 120;
  max-width: 80vw;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(24, 26, 22, .92);
  color: #fff;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 费用卡片精简后的间距 */
.price-row { align-items: baseline; }
.panel-checkout .btn-block { margin-top: 14px; }

/* H5：上传后让「照片 + 费用 + 开始修复」同屏 */
@media (max-width: 860px) {
  .stage-media .compare { max-height: 40vh; }
  .stage-media #singleImg { max-height: 40vh; }
  .panel-checkout { padding: 16px 18px 18px; }
  .price-row { margin-bottom: 12px; }
}

/* ===== 未上传时折叠预览区，版面更紧凑 ===== */
.studio-grid.is-empty .panel-stage { display: none; }
@media (min-width: 1024px) {
  .studio-grid.is-empty {
    grid-template-columns: minmax(300px, 380px) minmax(300px, 380px);
    justify-content: center;
  }
}

/* H5：精简底部信息，只保留费用与按钮 */
@media (max-width: 860px) {
  .panel-checkout .pay-note,
  .panel-checkout .mini-trust { display: none; }
}

/* ===== 费用卡内的选项行（紧凑两行） ===== */
.panel-checkout .tone-row {
  margin: 0 0 10px;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}
.panel-checkout .tone-label {
  font-size: 11.5px;
  color: var(--muted);
  flex: none;
  min-width: 30px;
  letter-spacing: 0;
}
.panel-checkout .tone-opts { gap: 5px; }
.panel-checkout .tone-opt {
  padding: 4px 10px;
  font-size: 11.5px;
  border-radius: 8px;
  line-height: 1.5;
}
.panel-checkout .tone-hint {
  font-size: 11px;
  color: var(--muted-soft);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

/* ===== 服务卡精简排版 ===== */
.svc-card { padding: 18px 16px; }
.svc-card h3 { font-size: 15.5px; margin-bottom: 2px; }
.svc-card-price { font-size: 20px; margin-bottom: 6px; }
.svc-card p { font-size: 12.5px; line-height: 1.5; margin: 0; }
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc-card { padding: 14px 12px; }
  .svc-card h3 { font-size: 14px; }
  .svc-card-price { font-size: 17px; margin-bottom: 2px; }
  .svc-card p { font-size: 11.5px; line-height: 1.45; }
  .svc-flag { font-size: 10px; padding: 1px 6px; }
}

/* ===== 行距收紧 ===== */
.section-lede { line-height: 1.65; }
.faq-list p { line-height: 1.65; }
.how p { line-height: 1.6; }
.case-cap { line-height: 1.55; }

/* ===== H5：服务选项压成单行，4 项共 4 行 ===== */
@media (max-width: 860px) {
}

/* 费用卡片滚动留出底部导航空间 */
.panel-checkout { scroll-margin-bottom: 80px; }
@media (max-height: 700px) {
  .stage-media #singleImg { max-height: 34vh; }
}

/* ===== 服务卡进入工坊左列 ===== */
.panel-input .svc-grid-inline {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.panel-input .svc-grid-inline .svc-card {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
}
.panel-input .svc-grid-inline .svc-flag {
  display: inline-block;
  position: static;
  margin: 0 0 5px;
  padding: 1px 7px;
  font-size: 10px;
  letter-spacing: .04em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.panel-input .svc-grid-inline .svc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.panel-input .svc-grid-inline .svc-card h3 {
  font-size: 14.5px;
  margin: 0;
}
.panel-input .svc-grid-inline .svc-card-price {
  font-size: 14px;
  margin: 0;
  flex: none;
  color: var(--ink-head);
}
.panel-input .svc-grid-inline .svc-card p {
  font-size: 11.5px;
  line-height: 1.45;
  margin: 3px 0 0;
}
.panel-input .svc-grid-inline .svc-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1.5px var(--accent);
  background: var(--paper-raised);
}

/* 角标改绿色 */
.svc-flag {
  background: var(--accent);
  color: #fff;
}

/* 工坊左列卡片：选中标记改为右上角小勾，避免压住描述文字 */
.panel-input .svc-grid-inline .svc-card.is-selected::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  bottom: auto;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* ===== H5 服务卡保持单行，避免把费用卡片推远 ===== */
@media (max-width: 860px) {
  .panel-input .svc-grid-inline { gap: 6px; }
  .panel-input .svc-grid-inline .svc-card {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
  }
  .panel-input .svc-grid-inline .svc-flag {
    order: -1;
    margin: 0;
    flex: none;
    font-size: 9.5px;
    padding: 1px 6px;
  }
  .panel-input .svc-grid-inline .svc-head {
    flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
  .panel-input .svc-grid-inline .svc-card h3 {
    font-size: 13.5px;
    white-space: nowrap;
  }
  .panel-input .svc-grid-inline .svc-card-price {
    margin-left: auto;
    font-size: 13px;
  }
  .panel-input .svc-grid-inline .svc-card p { display: none; }

  /* 步骤条压成一行 */
  .steps { gap: 6px 10px; }
  .steps li { font-size: 12px; }
}

/* H5 隐藏选中对勾（边框已足够表达选中，避免压住价格） */
@media (max-width: 860px) {
  .panel-input .svc-grid-inline .svc-card.is-selected::after { display: none; }
}

/* H5 隐藏费用卡内的隐私说明（页脚已有同样提示），给照片与按钮腾空间 */
@media (max-width: 860px) {
  .panel-checkout .panel-note-foot { display: none; }
  .stage-media #singleImg { max-height: 36vh; }
}

/* H5 预览面板不要最小高度，避免照片与费用卡片之间出现大段空白 */
@media (max-width: 860px) {
  .panel-stage { min-height: 0; }
  .stage-live { gap: 12px; }
  .stage-media { background: transparent; }
}

/* ===== 订单恢复遮罩（避免先闪首页再跳结果） ===== */
.resume-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--paper);
}
.resume-mask[hidden] { display: none; }
.resume-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--ink-body);
  font-size: 14px;
}
.resume-spin {
  width: 26px;
  height: 26px;
  border: 2.5px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: resumeSpin .8s linear infinite;
}
@keyframes resumeSpin { to { transform: rotate(360deg); } }

/* ===== 微信内长按保存 ===== */
.save-panel { max-width: 420px; text-align: center; }
.save-hint { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 6px 0 12px; }
.save-hint strong { color: var(--accent-ink); }
.save-img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  -webkit-touch-callout: default;
  user-select: auto;
}

/* ===== 客户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.review-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-raised);
}
.review-stars { color: #d9a441; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.review-body { font-size: 14px; line-height: 1.7; color: var(--ink-body); margin: 0 0 12px; }
.review-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

.star-row { display: flex; gap: 6px; margin: 4px 0 14px; }
.star {
  border: 0; background: none; padding: 2px;
  font-size: 26px; line-height: 1; color: var(--line-strong);
  cursor: pointer; transition: color .15s ease, transform .15s ease;
}
.star.is-on { color: #d9a441; }
.star:hover { transform: scale(1.08); }
.review-text, .review-name {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.review-text:focus, .review-name:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.review-msg { min-height: 18px; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn { flex: 1; }

/* ===== 社会证明：已修复数量（大号展示） ===== */
.proof-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 14px 22px 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px 14px 14px 4px;
  background: var(--paper-raised);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(6px);
  animation: proofIn .6s ease forwards;
}
@keyframes proofIn { to { opacity: 1; transform: none; } }

.proof-num {
  font-family: var(--font-display, "Noto Serif SC", "Songti SC", serif);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.proof-tail {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.proof-tail b {
  display: inline-block;
  margin-right: 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 620px) {
  .proof-line { padding: 12px 16px 12px 14px; gap: 10px; }
  .proof-num { font-size: 42px; }
  .proof-tail { font-size: 12px; }
}

/* ===== H5 满屏视频首屏 ===== */
.hero-m-full { display: none; }

/* ===== H5 底部导航（logo + 三个按钮） ===== */
.m-nav { display: none; }

@media (max-width: 860px) {
  /* 旧的 top 导航在移动端彻底隐藏，改由 m-nav 承担 */
  .site-head { display: none !important; }

  .m-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .06);
  }
  .m-logo {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
  }
  .m-logo img { width: 30px; height: auto; display: block; }
  .m-logo .logo-dark-mode { display: none; }
  .m-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper-raised);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-head);
    white-space: nowrap;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
  }
  .m-btn:active { background: var(--paper-sunk); }
  .m-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  /* 首屏：满屏视频 */
  .hero > .shell { display: none; }
  .hero { padding: 0; }
  .hero-m-full {
    position: relative;
    display: block;
    width: 100%;
    height: 100svh;
    min-height: 480px;
    overflow: hidden;
    background: #111;
  }
  .hero-m-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-m-tag {
    position: absolute;
    top: calc(-8px + env(safe-area-inset-top));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 2;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 12.5px;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
  }
  .hero-m-proof {
    position: absolute;
    left: 16px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    backdrop-filter: blur(6px);
  }
  .hero-m-proof b {
    font-family: var(--font-display, "Noto Serif SC", serif);
    font-size: 26px;
    line-height: 1;
    color: #fff;
  }
  .hero-m-proof span { font-size: 12.5px; opacity: .92; }

  /* 案例：缩到 90%，图片居中 */
  #cases .case-grid { padding-inline: 0; }
  #cases .case { width: 90%; margin-inline: auto; }
  #cases .section-head { padding-inline: 16px; }
}

/* 深色模式下 logo 切换 */
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  .m-logo .logo-light-mode { display: none; }
  .m-logo .logo-dark-mode { display: block; }
}

/* ===== H5 精简：首屏视频已承载演示，去掉重复的营销区块 ===== */
@media (max-width: 860px) {
  .section-demo,
  #how { display: none; }
  /* 案例区去掉大标题，进来直接看图 */
  #cases .section-head { display: none; }
  #cases { padding-top: 18px; }
}

/* ===== H5 聚焦操作区：去掉标题/步骤条/服务选择 ===== */
@media (max-width: 860px) {
  #studio .section-head,
  #studio .steps { display: none; }

  /* 服务由底部导航决定，隐藏服务列表与标题 */
  .panel-input > .panel-title-spaced,
  .panel-input .svc-grid-inline { display: none; }

  #studio { padding-top: 14px; }
  .studio-grid { margin-top: 0; }

  /* 已修复数量居中 */
  .hero-m-proof {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }
}

/* ===== H5 一页适配：跳转不留视频残影 + 消除框单行 ===== */
@media (max-width: 860px) {
  /* 跳转到工坊时顶部紧贴，避免视频露出底部一条 */
  #studio { scroll-margin-top: 0 !important; }

  /* 上下留白收紧 */
  .studio-section { padding-block: 10px; }
  .panel-input { padding: 14px 16px 16px; }
  .panel-checkout { padding: 14px 16px 16px; }
  .studio-grid { gap: 12px; }

  /* 上传框高度略收 */
  .drop { padding: 26px 14px; }
  .drop-title { font-size: 15px; }
  .drop-hint { font-size: 11.5px; line-height: 1.5; }

  /* 消除输入框：单行 */
  .remove-box { margin-top: 12px; padding-top: 12px; }
  .remove-label { margin-bottom: 6px; font-size: 12.5px; }
  #removeText {
    height: 44px;
    min-height: 44px;
    padding: 11px 12px;
    line-height: 1.4;
    resize: none;
  }
  .remove-agree { margin-top: 10px; font-size: 11.5px; line-height: 1.45; }

  /* 费用区更紧凑 */
  .price-row { margin-bottom: 8px; }
  .panel-checkout .tone-row { margin-bottom: 8px; }
  .panel-checkout .btn-block { margin-top: 10px; }
}

/* 矮屏（≤700px 高）进一步压缩，保证一页放得下 */
@media (max-width: 860px) and (max-height: 700px) {
  .studio-section { padding-block: 6px; }
  .panel-input { padding: 10px 14px 12px; }
  .panel-checkout { padding: 10px 14px 12px; }
  .studio-grid { gap: 10px; }
  .drop { padding: 16px 12px; }
  .drop-title { font-size: 14px; }
  .drop-hint { font-size: 11px; }
  .panel-title { margin-bottom: 8px; }
  .remove-box { margin-top: 10px; padding-top: 10px; }
  .remove-label { margin-bottom: 4px; }
  #removeText { height: 40px; min-height: 40px; padding: 9px 11px; }
  .remove-agree { margin-top: 7px; font-size: 11px; }
  .price-row { margin-bottom: 6px; }
  .panel-checkout .tone-row { margin-bottom: 6px; }
  .panel-checkout .btn-block { margin-top: 8px; }
}

/* ===== H5：工坊占满一屏，下一屏（案例）不露头 ===== */
@media (max-width: 860px) {
  .studio-section {
    min-height: calc(100svh - 66px - env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .studio-section > .shell { width: 100%; margin-block: auto; }
}

/* ===== 费用行：排版更协调（H5） ===== */
@media (max-width: 860px) {
  .price-row {
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 12px;
  }
  .price-service {
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--muted);
  }
  .price-amount { gap: 2px; }
  .price-amount small {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    opacity: .72;
  }
  .price-amount strong {
    font-family: var(--font-display, "Noto Serif SC", "Songti SC", serif);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--accent);
  }
}

/* H5 去掉「1 · 上传照片」标题，卡片直接以选框开始 */
@media (max-width: 860px) {
  .panel-input > .panel-title { display: none; }
  .panel-input { padding-top: 16px; }
  .drop { margin-top: 0; }
}

/* H5 去掉常见问题的大标题，只留「常见问题」小标签 */
@media (max-width: 860px) {
  #faq .section-head h2 { display: none; }
  #faq .section-head { margin-bottom: 0; }
  #faq { padding-block: 26px 24px; }
  #faq .faq-shell { gap: 10px; }
  #cases { padding-bottom: 8px; }
}

/* ===== PC 端去掉首屏 hero，直接从演示区开始 ===== */
@media (min-width: 861px) {
  .hero { display: none; }
  /* 去掉 hero 后，第一个区块与顶部导航的间距 */
  .section-demo { padding-top: clamp(40px, 6vw, 72px); }
}

/* ===== PC 演示区左列：更舒展 ===== */
@media (min-width: 861px) {
  .demo-grid { gap: clamp(40px, 6vw, 96px); align-items: center; }
  .demo-copy { max-width: 34em; }

  .demo-copy .display-sm { margin: 0 0 20px; line-height: 1.22; }
  .demo-copy .section-lede { margin: 0 0 26px; line-height: 1.8; }

  .demo-points { margin: 0 0 30px; gap: 16px; font-size: 14.5px; line-height: 1.65; }
  .demo-points li { gap: 12px; }

  .demo-copy .hero-actions { margin-top: 0; }
  .demo-copy .proof-line { margin-top: 26px; }
}

/* 已修复数量：数字与文字同一行、基线对齐 */
.proof-line { align-items: baseline; gap: 10px; }
.proof-tail {
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
}
.proof-tail b { font-size: 16px; margin-right: 1px; color: var(--ink); }

/* ===== PC 左列更舒展 v2：拉开行距与栏宽比例 ===== */
@media (min-width: 861px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .68fr);
    gap: clamp(44px, 6.5vw, 110px);
  }
  .demo-copy { max-width: 36em; }

  .demo-copy .display-sm {
    margin: 0 0 26px;
    line-height: 1.28;
    letter-spacing: .005em;
  }
  .demo-copy .section-lede {
    margin: 0 0 36px;
    font-size: 16.5px;
    line-height: 2.05;
    color: var(--ink-soft);
  }

  .demo-points {
    margin: 0 0 40px;
    gap: 24px;
    font-size: 15px;
    line-height: 1.95;
  }
  .demo-points li { gap: 14px; }
  .demo-points b { padding-top: 2px; }

  .demo-copy .hero-actions { margin-top: 0; }
  .demo-copy .proof-line { margin-top: 34px; }
}

/* 案例区：标题与图片之间加一条细线隔离 */
@media (min-width: 861px) {
  #cases .case-grid {
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
  #cases .section-head { margin-bottom: 26px; }
}

/* H5 已有大图预览，整行选中信息（缩略图+文件名+移除按钮）全部隐藏 */
@media (max-width: 860px) {
  .picked { display: none !important; }
}

/* 「更换照片」：只在 H5 显示（PC 有删除按钮） */
@media (min-width: 861px) { #changePhoto { display: none !important; } }
#changePhoto { margin-left: auto; }

/* ===== 优惠码 ===== */
.coupon-wrap { margin: 0 0 10px; }
.coupon-toggle {
  border: 0; background: none; padding: 0;
  font: inherit; font-size: 12.5px; color: var(--accent-ink);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input {
  flex: 1 1 auto; min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit; font-size: 14px;
  background: var(--paper); color: var(--ink);
}
.coupon-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.coupon-apply {
  flex: none; padding: 0 16px;
  border: 1px solid var(--accent); border-radius: 10px;
  background: var(--accent); color: #fff;
  font: inherit; font-size: 13px; cursor: pointer;
}
.coupon-msg { margin: 6px 0 0; font-size: 12px; color: var(--ok); min-height: 0; }
.coupon-msg.is-err { color: var(--err); }
.price-was { margin-left: 6px; font-size: 12px; color: var(--muted-2); text-decoration: line-through; }

/* ==========================================================================
   专业细节层（2026-11-25）
   1. 键盘可访问性  2. 动效降级  3. 排版精修  4. 打印样式
   ========================================================================== */

/* ---------- 1. 键盘焦点：统一品牌色外圈，鼠标点击不出现 ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.section-dark :focus-visible,
.m-nav :focus-visible,
.foot-grid :focus-visible {
  outline-color: #8fd0b0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- 2. 动效降级：尊重系统「减少动态效果」设置 ---------- */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 3. 排版与交互精修 ---------- */
.display,
.display-sm,
.doc-title,
.panel-title,
.hero-m-tag {
  text-wrap: balance;          /* 标题断行更均衡，避免末行孤字 */
}

.proof-tail,
.price-amount strong,
.summary,
.stat-value {
  font-variant-numeric: tabular-nums;
}

.btn {
  transition: transform .12s ease, background-color .18s ease,
              color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }

img { -webkit-user-drag: none; }

/* 长文正文：控制行宽，提升可读性 */
.doc-body p,
.doc-body ul { text-wrap: pretty; }

/* ---------- 4. 打印样式：条款页打印/存档更干净 ---------- */
@media print {
  .site-head,
  .site-foot,
  .doc-toc,
  .m-nav,
  .sheet,
  .hero-m-full,
  .toast,
  .resume-mask { display: none !important; }

  html, body {
    background: #fff !important;
    color: #111 !important;
  }
  .doc-wrap {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }
  .doc-body { max-width: none; }
  .doc-body h2 { border-top-color: #ccc; page-break-after: avoid; }
  .doc-body h3 { page-break-after: avoid; }
  a { color: #111; text-decoration: underline; }
  .panel, .card { box-shadow: none !important; border-color: #ddd !important; }
}

/* ===== 管理入口（2026-11-28 新增）===== */
.site-head .nav-link {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  padding-block: 6px;
  transition: color .18s ease;
}
/* 靠右摆放（需在 .nav-link 之后声明，避免被上面的规则覆盖） */
.site-head .nav-link.head-cta { margin-left: auto; }
.site-head .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.site-head .nav-link:hover,
.site-head .nav-link:focus-visible { color: var(--ink); }
.site-head .nav-link:hover::after,
.site-head .nav-link:focus-visible::after { transform: scaleX(1); }
.site-head .nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.adm-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.adm-mask[hidden] { display: none !important; }
.adm-box {
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  padding: 24px 24px 20px;
  background: var(--paper-raised);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.adm-title { margin: 0 0 6px; font-size: 17px; letter-spacing: .01em; }
.adm-sub { margin: 0 0 16px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.adm-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.adm-input:focus { outline: none; border-color: var(--ink-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.adm-err { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; color: var(--err); }
.adm-actions { display: flex; gap: 8px; margin-top: 10px; }
.adm-btn {
  flex: 1 1 0;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .15s ease;
}
.adm-btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); font-weight: 500; }
.adm-btn-ink { background: var(--solid-bg); color: var(--solid-fg); }
.adm-btn[disabled] { opacity: .6; cursor: default; }
.adm-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 420px) { .adm-box { padding: 20px 18px 16px; } }
/* ===== 管理入口 结束 ===== */


/* ===== 修复案例：PC 一行四列 + 折叠（2026-11-28 新增）===== */
/* 手机端维持原样：单列、1:1 对比卡、无标题 */
#cases .case-title { display: none; }
#cases .case-more-wrap { display: none; justify-content: center; margin-top: clamp(20px, 3vw, 32px); }
#cases .case-more { min-width: 190px; }

@media (min-width: 861px) {
  #cases .case-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
  }
  /* 4:3 画框（B 站式缩略图比例），before/after 用同一 object-fit 裁切，滑块仍然对齐 */
  #cases .case .compare {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
  }
  /* 折叠：默认只露一行四张 */
  #cases .case.is-extra { display: none; }
  #cases .case-grid.is-expanded .case.is-extra { display: block; }

  /* 卡片标题：两行截断，悬停变主题绿 */
  #cases .case-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    letter-spacing: .01em;
    color: var(--ink);
    transition: color .18s ease;
  }
  #cases .case:hover .case-title { color: var(--accent); }

  #cases .case-more-wrap { display: flex; }
}
/* ===== 修复案例 结束 ===== */

/* ===== 修复案例：点击放大灯箱（2026-11-28 新增）===== */
#cases .case { position: relative; }

/* 悬停提示：PC 才有 */
.cz-cue {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(18, 22, 26, .55);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
@media (min-width: 861px) {
  #cases .case:hover .cz-cue { opacity: 1; transform: translateY(0); }
}
@media (max-width: 860px) {
  .cz-cue { display: none; }
}

/* 灯箱 */
.cz-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 12, 10, .84);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cz-mask[hidden] { display: none !important; }

.cz-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 94vw;
}

.cz-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #0b0f0d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.cz-compare {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.cz-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.cz-over {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.cz-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .95);
  cursor: ew-resize;
}
.cz-handle > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
}
/* 与卡片上的压杆同款箭头 */
.cz-handle > span::before,
.cz-handle > span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-top: 1.6px solid var(--ink);
  border-right: 1.6px solid var(--ink);
}
.cz-handle > span::before { transform: rotate(-135deg); left: 12px; }
.cz-handle > span::after { transform: rotate(45deg); right: 12px; }
.cz-handle:focus-visible { outline: none; }
.cz-handle:focus-visible > span { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 3px 12px rgba(0, 0, 0, .28); }

.cz-tag {
  position: absolute;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  background: rgba(18, 22, 26, .6);
  pointer-events: none;
}
.cz-tag-l { left: 14px; }
.cz-tag-r { right: 14px; }

.cz-title {
  margin: 0;
  max-width: 92vw;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #f2efe9;
}

.cz-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #f2efe9;
  background: rgba(255, 255, 255, .12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease;
}
.cz-close:hover { background: rgba(255, 255, 255, .22); }
.cz-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 600px) {
  .cz-mask { padding: 12px; }
  .cz-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 21px; }
  .cz-title { font-size: 13px; }
}
/* ===== 修复案例放大 结束 ===== */




/* ===== 修复案例：折叠开关 + 压杆尺寸（2026-11-28 新增）===== */
/* 标题旁的小三角：收起时朝下，展开时朝上（带旋转动画） */
.eyebrow .case-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  transition: border-color .18s ease, background .18s ease;
}
.eyebrow .case-toggle:hover { border-color: var(--ink-soft); background: var(--hover); }
.eyebrow .case-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.case-caret {
  display: block;
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .24s ease, border-color .18s ease;
}
.case-toggle[aria-expanded="true"] .case-caret { transform: rotate(-135deg); margin-top: 2px; }
.case-toggle:hover .case-caret { border-color: var(--ink); }

/* 卡片上的压杆圆钮：44 → 30，配小卡片更协调 */
#cases .case .cmp-grip { width: 30px; height: 30px; }
#cases .case .cmp-grip::before,
#cases .case .cmp-grip::after { width: 5px; height: 5px; border-width: 1.4px; }
#cases .case .cmp-grip::before { left: 8px; }
#cases .case .cmp-grip::after { right: 8px; }

/* 手机端不折叠，开关也不显示 */
@media (max-width: 860px) {
  .eyebrow .case-toggle { display: none; }
}
/* ===== 修复案例开关 结束 ===== */

/* ===== 选中对勾移到右下角（2026-11-28） ===== */
.panel-input .svc-grid-inline .svc-card.is-selected::after {
  top: auto;
  bottom: 16px;
  right: 18px;
  left: auto;
  width: 7px;
  height: 12px;
}
/* ===== 结束 ===== */

/* ===== 首屏小工具条（2026-11-28 新增）===== */
.tools-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  padding-block: 10px;
}
.tools-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tool-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.tool-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.tool-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-no { font-size: 11px; letter-spacing: .1em; color: var(--accent); font-variant-numeric: tabular-nums; }
.tool-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tool-txt b { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.tool-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-arrow { margin-left: auto; color: var(--muted); font-size: 13px; transition: transform .18s ease, color .18s ease; }
.tool-card:hover .tool-arrow { color: var(--accent); transform: translateX(2px); }

/* H5：不做三段堆叠，改成一行可横滑，避免把 Hero 顶下去 */
@media (max-width: 860px) {
  .tools-strip {
    padding: max(10px, env(safe-area-inset-top)) 0 10px;
  }
  .tools-strip-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }
  .tools-strip-inner::-webkit-scrollbar { display: none; }
  .tool-card { flex: 0 0 auto; min-width: 232px; padding: 9px 12px; scroll-snap-align: start; }
  .tool-txt b { font-size: 13.5px; }
  .tool-txt small { font-size: 11.5px; }
}
/* ===== 首屏工具条 结束 ===== */




/* H5 底部导航里的链接型按钮（时光回眸） */
.m-nav a.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 860px) {
  .m-nav a.m-btn { color: var(--ink); }
}

/* ===== 首页：对比视频选项（2026-11-29）===== */
.opt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.opt-label { font-size: 12.5px; color: var(--muted); }
.opt-opts { display: flex; gap: 6px; }
.opt-row .tone-opt { padding: 6px 12px; font-size: 12.5px; }
/* ===== 结束 ===== */

/* ===== 首页：三个玩法（2026-11-29）===== */
.modules { padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 60px); }
.module-grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 860px) { .module-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.module-card { position: relative; display: block; padding: 26px 24px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--paper-raised); text-decoration: none;
  color: var(--ink); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.module-card:hover { border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10); }
.module-n { font-size: 11.5px; letter-spacing: .16em; color: var(--accent); }
.module-card h3 { margin: 8px 0 8px; font-size: 20px; letter-spacing: .01em; }
.module-card p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.module-go { font-size: 12.5px; color: var(--accent); }

/* ===== 首页：照片修复引导卡（2026-11-29）===== */
.studio-cta { padding: clamp(40px, 6vw, 72px) 0; }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: 28px 26px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--paper-raised); }
.cta-text h2 { margin: 8px 0 8px; font-size: clamp(20px, 2.4vw, 28px); }
.cta-text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ===== 照片修复页：H5 底部导航（2026-11-29）===== */
.t-nav { display: none; }
@media (max-width: 860px) {
  .t-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line);
  }
  .t-nav .t-logo { flex: 0 0 auto; width: 46px; height: 44px; display: flex;
    align-items: center; justify-content: center; text-decoration: none; }
  .t-nav .t-logo img { height: 28px; width: auto; display: block; }
  .t-nav a:not(.t-logo) {
    flex: 1 1 0; height: 44px; line-height: 42px; text-align: center;
    border: 1px solid #26312b; border-radius: 12px;
    background: #161e1a; color: #e6ebe6;
    text-decoration: none; font-size: 14px;
  }
  .t-nav a.on { background: #d3a45c; border-color: #d3a45c; color: #14201a; font-weight: 600; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ===== 修复页（独立页）H5：恢复服务选择 ===== */
@media (max-width: 860px) {
  body.page-repair .panel-input > .panel-title-spaced { display: block; }
  body.page-repair .panel-input .svc-grid-inline { display: grid; }
}

/* ===== 底部导航：点击前后样式一致（无按压/悬停色变） ===== */
.t-nav a, .m-nav .m-btn, .m-nav .m-logo {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  transition: none;
}
.t-nav a:not(.on):hover,
.t-nav a:not(.on):active,
.t-nav a:not(.on):focus {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  transform: none;
}
.m-nav .m-btn:not(.is-active):hover,
.m-nav .m-btn:not(.is-active):active,
.m-nav .m-btn:not(.is-active):focus {
  background: var(--paper-raised);
  border-color: var(--line);
  color: var(--ink-head);
}
.m-nav .m-btn:active { background: var(--paper-raised); }

/* ===== 修复页选项行：标签定宽 + 宽屏并排 ===== */
.opt-wrap { display: grid; gap: 10px; margin: 0 0 12px; }
.opt-wrap .tone-row,
.opt-wrap .opt-row { display: flex; align-items: center; gap: 10px; margin: 0; flex-wrap: nowrap; }
.opt-wrap .tone-label,
.opt-wrap .opt-label { flex: 0 0 auto; width: 4.6em; font-size: 12.5px; color: var(--muted); }
.opt-wrap .tone-opts,
.opt-wrap .opt-opts { display: flex; gap: 6px; flex: 0 0 auto; }
.opt-wrap .tone-opt { min-width: 62px; text-align: center; }
@media (min-width: 720px) {
  .opt-wrap { grid-template-columns: auto auto; justify-content: start; gap: 22px; }
}

/* ===== 首页 A2（2026-11-29）===== */
.hero-a2 { padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 44px); }
.hero-a2-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-a2-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; } }
.hero-a2 h1 { margin: 14px 0 16px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.14; }
.hero-a2 h1 em { font-style: normal; color: var(--accent); }
.hero-a2-sub { margin: 0 0 26px; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.85; color: var(--muted); }
.hero-a2-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-a2-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 12.5px; color: var(--muted); }
.hero-a2-art .art-main { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.hero-a2-art .art-main img { width: 100%; display: block; }
.art-tag { position: absolute; left: 14px; top: 14px; font-size: 12px; padding: 5px 12px;
  border-radius: 999px; background: rgba(12,18,15,.72); color: var(--ink); }
.art-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.art-tri figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.art-tri img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.art-tri figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; padding: 3px 9px;
  border-radius: 999px; background: rgba(10,14,12,.7); color: var(--ink); }

.module-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.module-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module-free { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 11.5px; padding: 4px 10px;
  border-radius: 999px; background: #d3a45c; color: #14201a; font-weight: 600; }
.module-body { display: block; padding: 18px 18px 20px; }
.module-card h3 { margin: 0 0 8px; }
.module-card p { margin: 0 0 14px; }

.who-sec { padding: clamp(36px, 5vw, 72px) 0; }
.who-grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 860px) { .who-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.who-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-raised); }
.who-card h4 { margin: 0 0 8px; font-size: 16px; }
.who-card p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }
.price-strip { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 860px) { .price-strip { grid-template-columns: repeat(4, 1fr); } }
.price-strip > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.price-strip b { display: block; font-size: 20px; margin-bottom: 5px; }
.price-strip span { font-size: 12.5px; color: var(--muted); }

/* ===== 首屏：三行艺术字 + 视频（2026-11-30）===== */
.hero-art { display: flex; flex-direction: column; gap: 16px; margin: 0 0 30px; }
.hero-art span {
  display: block;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 1.24;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--ink);
  -webkit-text-stroke: .5px rgba(242,239,233,.25);
}
.hero-art span:nth-child(2) { padding-left: .08em; }
.hero-art span:nth-child(3) { padding-left: .16em; }
.hero-art span.hl {
  background: linear-gradient(92deg, #d3a45c 0%, #f0c987 55%, #d3a45c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 0;
}
.hero-count { display: flex; align-items: baseline; gap: 8px; margin: 0 0 24px; color: var(--muted); font-size: 14.5px; }
.hero-count b { font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hero-a2-art { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0c120f; }
.hero-video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #0c120f; }
@media (min-width: 900px) { .hero-video { aspect-ratio: 3 / 4; } }

/* ===== H5：首屏满屏视频（2026-11-30）===== */
@media (max-width: 860px) {
  .hero-a2 { padding: 0; }
  .hero-a2-grid {
    position: relative; display: block; width: 100%;
    height: 100svh; min-height: 560px; padding: 0;
  }
  .hero-a2-art {
    position: absolute; inset: 0; border: 0; border-radius: 0; background: #0a0f0c;
  }
  .hero-video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .hero-a2-grid::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg,
      rgba(8,12,10,.28) 0%, rgba(8,12,10,.10) 26%,
      rgba(8,12,10,.62) 62%, rgba(8,12,10,.94) 100%);
  }
  .hero-a2-copy {
    position: absolute; left: 0; right: 0; bottom: 96px; z-index: 2; padding: 0 22px;
  }
  .hero-art { gap: 10px; margin-bottom: 22px; }
  .hero-art span { font-size: clamp(40px, 11.2vw, 58px); line-height: 1.16; }
  .hero-count { margin-bottom: 18px; }
  .hero-count b { font-size: 34px; }
  .hero-a2-cta { gap: 10px; }
  .hero-a2-cta .btn { height: 46px; padding: 0 22px; font-size: 14px; }
}

/* ===== 三玩法卡片：前后对比（2026-11-30）===== */
.cover-cmp { position: relative; }
.cover-cmp .cov-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-cmp .cov-top { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.cover-cmp .cov-top img { width: 200%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.cover-cmp .cov-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: rgba(255,255,255,.92); box-shadow: 0 0 12px rgba(0,0,0,.45); }
.cover-cmp .cov-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px;
  margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255,255,255,.94);
  box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.cover-cmp .cov-tag { position: absolute; bottom: 10px; font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(10,14,12,.66); color: #f2efe9; }
.cover-cmp .cov-tag-l { left: 10px; }
.cover-cmp .cov-tag-r { right: 10px; }

/* 首屏按钮：单个大按钮 */
.hero-a2-cta .btn-wide { min-width: 220px; }
@media (max-width: 860px) {
  .hero-a2-cta .btn-wide { width: 100%; max-width: 320px; height: 52px; font-size: 15.5px; }
  /* 视频底边贴住底部导航上沿，文案块与视频底边对齐 */
  .hero-a2-grid { height: calc(100svh - 84px); min-height: 520px; }
  .hero-a2-copy { bottom: max(18px, env(safe-area-inset-bottom)); }
  .hero-count { margin-bottom: 14px; }
}

/* ===== 三玩法卡片：可拖动对比（2026-11-30）===== */
.cover-cmp { --p: 50%; position: relative; cursor: ew-resize; touch-action: pan-y; }
.cover-cmp .cov-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-cmp .cov-top { position: absolute; inset: 0 auto 0 0; width: var(--p); overflow: hidden; }
.cover-cmp .cov-top img { width: 200%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.cover-cmp .cov-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px;
  background: rgba(255,255,255,.92); box-shadow: 0 0 10px rgba(0,0,0,.4); }
.cover-cmp .cov-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px;
  margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(255,255,255,.95);
  box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.cover-cmp .cov-tag { position: absolute; bottom: 10px; font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: rgba(10,14,12,.66); color: #f2efe9; pointer-events: none; }
.cover-cmp .cov-tag-l { left: 10px; }
.cover-cmp .cov-tag-r { right: 10px; }
.cover-cmp .cov-line, .cover-cmp .cov-top, .cover-cmp .cov-base { pointer-events: none; }
.module-card h3 { pointer-events: none; }

/* 桌面：首屏文案块底部与视频底边对齐 */
@media (min-width: 900px) {
  .hero-a2-grid { align-items: end; }
  .hero-a2-copy { padding-bottom: 2px; }
}

/* ===== H5 首屏精简（2026-11-30 夜）===== */
@media (max-width: 860px) {
  .hero-a2 .hero-count { display: none; }
  .hero-a2 .hero-a2-cta { display: none; }
  .hero-art { gap: 8px; margin-bottom: 0; }
  .hero-art span { font-size: clamp(32px, 9vw, 44px); line-height: 1.14; }
  .hero-a2-copy { bottom: 22px; }
}

/* ===== H5：隐藏价格条（2026-11-30）===== */
@media (max-width: 860px) {
  .price-strip { display: none; }
}

/* ===== 修复页：H5 标题与选中态统一（2026-11-30）===== */
.repair-title { margin: 0 0 22px; }
.repair-title h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.02em; }
.repair-title p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

@media (max-width: 860px) {
  .repair-title { margin: 0 0 18px; }
  .repair-title h1 { font-size: 25px; }
  .repair-title p { font-size: 12.5px; }
  /* 顶部大留白收掉 */
  .studio-section { padding-top: 20px !important; }
}

/* 服务卡选中：与参数芯片同一套（金边 + 淡金底） */
.svc-card.is-selected {
  border-color: var(--accent) !important;
  background: rgba(211, 164, 92, .10) !important;
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

/* 首屏三行大字整体上移 2 行（2026-11-30） */
/* PC：每行 = 114px 行高 + 16px 间距，2 行 = 260px */
@media (min-width: 861px) {
  .hero-a2-copy { padding-bottom: 0; }
}
/* H5：每行 = 40px + 8px 间距，2 行 = 96px */
@media (max-width: 860px) {
  .hero-a2-copy { bottom: 118px; }
}

/* PC 首屏：视频不超出视口，文字与视频垂直居中对齐（2026-11-30） */
@media (min-width: 861px) {
  .hero-a2-grid { align-items: center; }
  .hero-video,
  .hero-a2-art video,
  .hero-a2-art img {
    max-height: calc(100svh - 150px);
    width: auto;
    margin: 0 auto;
  }
}

/* 三行大字与下方两行之间留两个空行（2026-11-30） */
@media (min-width: 861px) {
  .hero-art { margin-bottom: 195px !important; }      /* 1.5 行空行 */
}
@media (max-width: 860px) {
  .hero-art { margin-bottom: 72px !important; }
}
