:root {
  color-scheme: light;
  --green: #167a4a;
  --green-dark: #0c5432;
  --green-soft: #e8f6ee;
  --ink: #17231d;
  --muted: #6d7b73;
  --line: #e5ece7;
  --page: #f5f1e9;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body { margin: 0; color: var(--ink); background: var(--page); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
button { font: inherit; }
.page-shell { min-height: 100svh; padding: 28px 16px 22px; display: flex; flex-direction: column; align-items: center; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; width: min(100%, 520px); padding: 24px clamp(20px, 5vw, 46px) 28px; border: 1px solid rgba(15, 93, 67, .1); border-radius: 2px; background: #fbfaf7; box-shadow: 0 18px 60px rgba(72, 60, 40, .12); }
.hero-card::after { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 29%; background: linear-gradient(to bottom, rgba(251,250,247,0), rgba(251,250,247,.12) 40%, rgba(251,250,247,.78)), var(--brand-bg) center bottom / cover no-repeat; content: ""; opacity: .72; pointer-events: none; }
.brand-row { display: flex; align-items: center; justify-content: center; min-height: 42px; }
.brand-name { margin: 0; color: var(--green-dark); font-size: 25px; font-weight: 800; letter-spacing: .06em; }
.brand-nav { display: flex; align-items: center; justify-content: center; gap: 16px; color: #3f4a44; font-size: 12px; letter-spacing: .12em; }
.hero-copy { padding: 34px 0 20px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.16; letter-spacing: -.045em; }
h1 em { color: var(--green); font-style: normal; }
.hero-description { margin: 14px auto 0; max-width: 310px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.qr-panel { display: flex; flex-direction: column; align-items: center; padding: 18px 0 14px; background: transparent; }
.qr-frame { width: min(72vw, 250px); aspect-ratio: 1; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(29, 96, 56, .09); }
.qr-frame img { display: block; width: 100%; height: 100%; }
.qr-hint { margin: 10px 0 0; color: var(--green-dark); font-size: 15px; font-weight: 700; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 8px; padding: 20px 0 18px; }
.step { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.step span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 14px; font-weight: 800; }
.step p { margin: 0; color: #506057; font-size: 13px; line-height: 1.45; white-space: nowrap; }
.step-line { flex: 0 0 24px; height: 1px; margin-top: 14px; background: #b9d8c5; }
.fallback-box { padding: 16px; border: 1px solid rgba(215, 221, 215, .9); border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 4px 16px rgba(72, 60, 40, .04); }
.fallback-label { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.wechat-id-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wechat-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: white; background: #2dbb69; font-size: 12px; font-weight: 800; }
.wechat-id-label { color: var(--muted); font-size: 13px; white-space: nowrap; }
.wechat-id-row strong { min-width: 0; overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { margin-left: auto; padding: 7px 12px; border: 0; border-radius: 8px; color: var(--green-dark); background: var(--green-soft); cursor: pointer; font-size: 13px; font-weight: 700; }
.copy-button:active { transform: scale(.97); }
.support-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 21px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.support-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #2dbb69; }
footer { margin-top: auto; padding-top: 18px; color: #8f9185; font-size: 12px; letter-spacing: .08em; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 18px); padding: 10px 16px; border-radius: 999px; color: white; background: #173c29; opacity: 0; pointer-events: none; transition: .2s ease; font-size: 14px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 700px) { .page-shell { padding-top: 56px; } .hero-card { padding-top: 30px; } }
@media (max-width: 370px) { .hero-card { padding-inline: 16px; } .step-line { flex-basis: 12px; } .step p { font-size: 12px; } .wechat-id-label { display: none; } }
