* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --ink: #2b2420;          /* 墨 */
  --muted: #8a7e6d;        /* 淡墨 */
  --accent: #a8382a;       /* 朱砂 */
  --gold: #b08d57;         /* 古铜 */
  --paper: #f2ebdc;        /* 宣纸 */
  --card: #fbf7ee;
  --line: #d9ccb4;
}
html { background: var(--paper); }
body {
  margin: 0; color: var(--ink); font-size: 16px; line-height: 1.85;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(176,141,87,.10), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(168,56,42,.06), transparent 50%),
    var(--paper);
  min-height: 100vh;
}
main { max-width: 480px; margin: 0 auto; padding: 24px 16px calc(40px + env(safe-area-inset-bottom)); }

/* 标题：朱红印章 */
.hero { text-align: center; padding: 22px 0 18px; }
.hero h1 {
  display: inline-flex; writing-mode: vertical-rl; margin: 0;
  font-size: 34px; font-weight: 700; letter-spacing: 6px; line-height: 1;
  color: #fff6ec; background: var(--accent); padding: 14px 12px;
  border-radius: 6px; box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px #f3d9c8;
}
.hero p { margin: 14px 0 0; color: var(--muted); font-size: 14px; letter-spacing: 3px; }
.hero p::before, .hero p::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 10px; }

/* 卡片：双线边框 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 20px 18px; margin-bottom: 14px; position: relative;
  box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px rgba(176,141,87,.35);
}
.card h2 { font-size: 18px; margin: 0 0 10px; letter-spacing: 1px; }
.card h3 { font-size: 16px; margin: 0 0 8px; color: var(--accent); letter-spacing: 2px; }
.card h3::before { content: "◆"; font-size: 10px; vertical-align: 3px; margin-right: 8px; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 12px; color: var(--muted); }

.steps { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); text-align: center; }
.steps div { flex: 1; position: relative; }
.steps div + div::before { content: ""; position: absolute; left: -12%; top: 18px; width: 24%; height: 1px; background: var(--line); }
.steps b { display: block; font-size: 20px; color: var(--accent); }

.pick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 190px; border: 1px dashed var(--gold); border-radius: 4px; color: var(--muted); cursor: pointer;
  overflow: hidden; background: rgba(255,255,255,.4); letter-spacing: 2px; }
.pick img { width: 100%; height: 100%; object-fit: contain; }
.pick input { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 12px 0 0; }
.check input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--accent); }

.btn {
  display: block; width: 100%; padding: 13px; border: 0; border-radius: 4px;
  background: var(--accent); color: #fff6ec; font: inherit; font-size: 17px; font-weight: 700;
  letter-spacing: 6px; text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px rgba(255,246,236,.5);
}
.btn:disabled { opacity: .45; }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); box-shadow: none;
  font-weight: 400; font-size: 15px; letter-spacing: 2px; }
.error { color: var(--accent); font-size: 14px; min-height: 1em; }

.code { font-size: 32px; letter-spacing: 8px; font-weight: 700; text-align: center; color: var(--accent); margin: 6px 0;
  font-family: "Courier New", monospace; }
.wechat { font-size: 19px; font-weight: 700; user-select: all; }
.qr { display: block; width: 180px; margin: 10px auto; border: 1px solid var(--line); padding: 6px; background: #fff; }
.copy { border: 1px solid var(--line); background: transparent; border-radius: 3px; padding: 2px 10px; font: inherit; font-size: 13px; margin-left: 6px; color: var(--muted); }

.status { text-align: center; padding: 18px 8px; }
.status .icon { font-size: 36px; }
.avatar { display: block; width: 100px; height: 100px; object-fit: cover; margin: 0 auto 8px;
  border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--gold); }
.section p { margin: 0; white-space: pre-wrap; text-indent: 2em; }

.stars { display: flex; justify-content: center; gap: 10px; margin: 8px 0; }
.stars button { font-size: 30px; border: 0; background: none; color: #d8ccb6; padding: 0; cursor: pointer; }
.stars button.on { color: var(--accent); }
textarea, select, input[type=text], input[type=password] { width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 10px;
  font: inherit; font-size: 15px; background: #fffdf8; color: var(--ink); }

.disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin-top: 20px; }
.link { color: var(--muted); font-size: 13px; text-align: center; display: block; margin-top: 12px; letter-spacing: 1px; }
.qr.payqr { width: 260px; border: 0; padding: 0; border-radius: 8px; }

.disclaimer a, .check a { color: var(--accent); }
.doc h2 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 20px; margin: 0; }

/* 选择服务 */
.section-title { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: 6px; margin: 22px 0 12px; }
.section-title::before, .section-title::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; }
.count { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--accent); letter-spacing: 1px; border: 1px solid rgba(168,56,42,.3); border-radius: 99px; padding: 1px 12px; }
.plans { display: grid; gap: 14px; margin-bottom: 6px; }
.plan {
  position: relative; display: block; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px 18px 14px;
  box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px rgba(176,141,87,.3);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fffbf4, #f9f0e1);
  box-shadow: inset 0 0 0 4px #fffbf4, inset 0 0 0 5px rgba(168,56,42,.45), 0 8px 22px rgba(120,60,30,.10);
}
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-name { font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.plan-price { color: var(--accent); font-size: 28px; font-weight: 700; font-family: "Songti SC", "STSong", serif; white-space: nowrap; }
.plan-price small { font-size: 15px; margin-right: 1px; }
.plan-desc { margin: 2px 0 12px 26px; color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; margin: 0 0 0 26px; padding: 10px 0 0; border-top: 1px dashed var(--line); }
.plan li { position: relative; padding: 3px 0 3px 16px; font-size: 14px; }
.plan li::before { content: ""; position: absolute; left: 1px; top: 13px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.dot { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; border: 1.5px solid var(--line); border-radius: 50%; transition: all .2s; }
.plan:has(input:checked) .dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 42%, transparent 46%); }
.seal { position: absolute; top: -1px; right: 16px; padding: 6px 5px 8px; font-size: 13px; line-height: 1; color: #fff6ec; background: var(--accent);
  border-radius: 0 0 3px 3px; box-shadow: inset 0 0 0 1px rgba(255,246,236,.45); }
