/* The download remains usable until the native WeChat tag reports ready. */
.miniapp-test-note { width: min(calc(100% - 24px), 470px); margin: 12px auto 0; padding: 10px 14px; border: 1px solid #d7dbcf; border-radius: 10px; background: #f6f5ef; color: #535e4e; font: 12px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
.contact-save { margin-top: 13px; }
.contact-save-control { position: relative; min-height: 53px; }
.contact-save-control > .full { margin-top: 0; }
.miniapp-launch { display: block; position: absolute; inset: 0; width: 100%; height: 53px; opacity: 0; pointer-events: none; }
.miniapp-ready > a { visibility: hidden; pointer-events: none; }
.miniapp-ready > .miniapp-launch { opacity: 1; pointer-events: auto; }
.contact-save-status { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: #5f6a5e; }
.contact-save-status:empty { display: none; }
.miniapp-trial-panel { margin-top: 14px; padding: 14px; border: 1px solid #d9dcd1; border-radius: 12px; background: #fff; }
.miniapp-trial-panel[hidden], .miniapp-trial-qr[hidden] { display: none; }
.miniapp-trial-panel h3 { margin: 0 0 8px; font-size: 16px; }
.miniapp-trial-panel p { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: #5f6a5e; }
.miniapp-trial-qr { display: block; width: 100%; height: auto; -webkit-touch-callout: default; user-select: auto; }
:root {
  color-scheme: light;
  --ink: #232723;
  --paper: #f6f5ef;
  --accent: #e9263a;
  --line: #d9dcd1;
  --lime: #dfff9a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #dfded7; color: var(--ink); }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ad3343; outline-offset: 4px; }
.card { width: min(100% - 24px, 470px); margin: 18px auto; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: 0 22px 72px #131a192e; }
.hero { position: relative; isolation: isolate; min-height: 610px; background: #111512; color: #fff; overflow: hidden; }
.portrait { position: absolute; top: 0; left: 0; width: 116%; height: auto; display: block; }
.shade { position: absolute; inset: 0; background: linear-gradient(90deg,#11151130 0%,transparent 47%), linear-gradient(180deg,#15161212 0%,transparent 36%,#14181500 49%,#111512bd 75%,#111512 92%); }
.card-top { position: absolute; inset: 24px 24px auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; background: #fff; width: 105px; height: 39px; padding: 4px 7px; border-radius: 8px; align-items: center; justify-content: center; }
.logo img { display: block; width: 100%; max-height: 100%; object-fit: contain; }
.more { width: 41px; height: 41px; border: 1px solid #fff7; border-radius: 50%; background: #12141235; color: #fff; font-size: 23px; line-height: 1; letter-spacing: 1px; }
.side { position: absolute; left: 24px; top: 142px; writing-mode: vertical-rl; color: #fff9; letter-spacing: 3px; font-size: 10px; }
.intro { position: absolute; left: 27px; right: 24px; bottom: 29px; }
.eyebrow { margin: 0 0 13px; color: #d6dacf; letter-spacing: 2.5px; font-size: 11px; }
.name-row { display: flex; gap: 13px; align-items: baseline; }
.name-row h1 { margin: 0; font-size: clamp(40px, 12vw, 61px); line-height: 1.14; letter-spacing: 3px; font-weight: 650; white-space: nowrap; }
.name-row span { color: #e2e7d8; letter-spacing: 2px; font-size: 9px; white-space: nowrap; }
.name-row i { margin-left: auto; color: var(--lime); font-size: 37px; line-height: 1; font-style: normal; }
.role { margin: 14px 0 0; color: #dce0d5; letter-spacing: 1.3px; font-size: 14px; }
.role b { color: #97a38d; margin: 0 10px; font-weight: 400; }
.rule { margin: 19px 0 13px; background: var(--lime); width: 28px; height: 2px; }
.promise { margin: 0; font-size: 19px; font-weight: 520; letter-spacing: 1px; }
.actions { padding: 19px 23px 0; }
.button-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 11px; }
.button { display: flex; align-items: center; justify-content: space-between; min-height: 53px; gap: 10px; padding: 11px 17px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 620; text-align: left; text-decoration: none; }
.primary { background: var(--accent); color: white; }
.secondary { border-color: #b6bcb0; background: transparent; color: var(--ink); }
.button span { font-size: 20px; line-height: 1; }
.business { margin-top: 15px; border-top: 1px solid var(--line); }
.business summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 1px; cursor: pointer; font-size: 15px; font-weight: 520; }
.business summary::-webkit-details-marker { display: none; }
.business small, .webcome small { display: block; color: #737d6b; font-size: 12px; font-weight: 400; margin-top: 5px; letter-spacing: .5px; }
.plus::before { content: "＋"; font-size: 22px; font-weight: 300; color: #6c785d; }
.business[open] .plus::before { content: "−"; }
.business p { color: #5c6559; font-size: 13px; line-height: 1.7; margin: 0 0 14px; }
.webcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; padding: 15px 13px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.wechat-share-help { display: none; }
html.wechat .wechat-share-help { display: block; color: #5b6357; }
dialog { color: var(--ink); background: var(--paper); border: 0; border-radius: 19px; padding: 22px 24px; width: min(92vw, 435px); max-height: 88dvh; box-shadow: 0 16px 70px #0004; }
dialog::backdrop { background: #1318149c; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #70796a; letter-spacing: 1px; }
.dialog-head button { border: 1px solid var(--line); border-radius: 50%; background: none; width: 36px; height: 36px; font-size: 21px; }
h2 { font-size: 24px; margin: 13px 0; }
.dialog-copy { color: #5f6a5e; font-size: 13px; line-height: 1.7; }
.contact-line { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 14px 0; text-decoration: none; font-size: 13px; }
.contact-line strong { display: block; margin-top: 4px; font-size: 16px; }
.full { width: 100%; margin-top: 13px; }
form { margin-top: 17px; padding-top: 7px; border-top: 1px solid var(--line); }
label { display: block; margin-top: 12px; font-size: 13px; }
input { margin-top: 6px; width: 100%; border: 1px solid #aeb7a7; padding: 10px; border-radius: 7px; background: white; color: var(--ink); }
.qr { display: block; width: 165px; height: 165px; margin: 4px auto 8px; border-radius: 8px; }
.download { display: block; text-align: center; padding-top: 13px; font-size: 13px; }
#copy-status { font-size: 13px; margin: 10px 0 0; }
#copy-status:empty { display: none; }
@media (max-width: 500px) {
  .card { width: calc(100% - 16px); margin: 8px auto 16px; border-radius: 20px; }
  .hero { min-height: clamp(490px, 143vw, 610px); }
  .card-top { inset: 19px 19px auto; }
  .side { left: 20px; }
  .intro { left: 21px; right: 19px; bottom: 24px; }
  .actions { padding: 15px 18px 0; }
}
@media (max-width: 350px) {
  .name-row { gap: 8px; }
  .name-row span { letter-spacing: 1px; }
  .name-row i { font-size: 27px; }
}

/* Compact identity with a smaller, deliberately framed portrait. */
body { background: #ecebe6; }
.card { max-width: 470px; border-radius: 22px; background: #faf9f5; }
.hero { min-height: 0; color: #222922; background: #faf9f5; padding: 24px 25px 28px; }
.card-top { position: static; }
.logo { padding: 0; width: 112px; height: 37px; background: transparent; }
.more { color: #3b433c; border-color: #d0d4ca; background: transparent; }
.identity { display: flex; gap: 19px; align-items: center; margin-top: 34px; }
.portrait { position: static; width: 100px; height: 110px; border-radius: 16px; object-fit: cover; object-position: center 25%; flex-shrink: 0; box-shadow: 0 6px 18px #17251912; }
.identity .eyebrow { color: #75806f; font-size: 11px; letter-spacing: 2px; margin-bottom: 8px; }
.identity h1 { font-size: 33px; letter-spacing: 3px; line-height: 1.2; margin: 0; }
.role { color: #727b6e; font-size: 12px; letter-spacing: .5px; line-height: 1.7; margin-top: 10px; }
.intro { position: static; margin-top: 30px; padding: 27px 24px 24px; border-radius: 16px; background: #e8eddf; }
.section-label { color: #737f65; font-size: 9px; letter-spacing: 2px; }
.promise { margin-top: 14px; font-size: 30px; line-height: 1.45; letter-spacing: 1px; font-weight: 520; }
.promise span { color: #e52f3c; }
.bio { font-size: 11px; letter-spacing: 1px; color: #6d7960; margin: 17px 0 0; }
.actions { padding: 0 25px 0; }
.button { min-height: 52px; }
.business { margin-top: 22px; }
.owner-entry { display: flex; justify-content: space-between; align-items: center; padding: 15px 0 19px; text-decoration: none; border-top: 1px solid var(--line); font-size: 12px; color: #535e4e; }
.owner-entry span { font-size: 10px; color: #7e8777; }
textarea { display: block; width: 100%; resize: vertical; font: inherit; margin-top: 6px; border: 1px solid #aeb7a7; padding: 10px; border-radius: 7px; background: white; color: var(--ink); }
.consent { display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; color: #5e6858; font-size: 11px; }
.consent input { width: auto; margin: 2px 0 0; }
#exchange-status { font-size: 12px; line-height: 1.7; color: #4b6541; }
@media (max-width: 500px) {
 .hero { min-height: 0; padding: 20px 20px 24px; }
 .card { width: calc(100% - 20px); margin: 10px auto 20px; }
 .identity { margin-top: 29px; gap: 16px; }
 .portrait { width: 92px; height: 102px; }
 .identity h1 { font-size: 30px; }
 .intro { margin-top: 25px; padding: 22px; }
 .promise { font-size: 27px; }
 .actions { padding: 0 20px; }
}
@media (max-width: 350px) { .identity { gap: 12px; } .portrait { width: 78px; height: 88px; } .role { font-size: 11px; } .intro { padding: 18px; } .promise { font-size: 24px; } }
