/* 鼎合 · 微信专属客服落地页（复刻版） */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #f6f3ee;
  color: #302b28;
  font: 12.6px/20.16px "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.invite-page {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background: #f6f3ee;
  position: relative;
  overflow-x: hidden;
}

/* ---------- 顶部品牌条 ---------- */
.dh-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 8px 20px;
  background: #fff;
  position: relative;
  z-index: 3;
}

.dh-logo {
  width: 30px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex: none;
}

.dh-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.dh-brand strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #302b28;
}

.dh-brand small {
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: 1.4px;
  color: #a08b78;
  white-space: nowrap;
}

.dh-stamp {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid rgba(155, 114, 65, .28);
  font-size: 9.9px;
  line-height: 17.82px;
  color: #9b7241;
  text-align: center;
  flex: none;
}

/* ---------- 主视觉 ---------- */
.dh-hero {
  position: relative;
  padding: 5px 22px 12px;
  background: linear-gradient(115deg, #ffffff 15%, #f3e8da 100%);
  overflow: hidden;
}

.dh-coin {
  position: absolute;
  top: -22px;
  right: 23px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(183, 140, 81, .267);
  background:
    radial-gradient(circle at 50% 50%, #fdf6ea 0 34%, transparent 34.5%),
    radial-gradient(circle at 50% 50%, #efdcbb 0 8%, transparent 8.5%);
  box-shadow: inset 0 0 0 6px rgba(226, 199, 158, .35);
  pointer-events: none;
}

.dh-coin::after {
  content: "¥";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #b58b52;
  opacity: .75;
}

.dh-market {
  position: absolute;
  top: -12px;
  right: -6px;
  width: 138px;
  height: 86px;
  color: #ae8750;
  opacity: .24;
  pointer-events: none;
}

.dh-hero h1 {
  margin: 0;
  font-size: 21.6px;
  line-height: 28.08px;
  font-weight: 650;
  letter-spacing: .5px;
  color: #8f2519;
  text-align: start;
}

.dh-hero h1 em {
  font-style: normal;
  color: #a77935;
}

.dh-hero p {
  margin: 3px 0 0;
  font-size: 10.8px;
  line-height: 16.2px;
  color: #705746;
}

/* ---------- 内容区 ---------- */
.dh-content {
  padding: 0 14px 12px;
}

.dh-card {
  position: relative;
  margin-top: -6px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e9e1d7;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(93, 64, 39, .024);
}

.dh-account {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
}

.dh-account strong {
  font-size: 13px;
  font-weight: 700;
  color: #302b28;
}

.dh-status {
  padding: 2px 8px;
  border-radius: 20px;
  background: #fbefe9;
  color: #9e3d26;
  font-size: 9.9px;
  line-height: 15.84px;
  white-space: nowrap;
}

/* 步骤条 */
.dh-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0 9px;
  padding: 0;
  list-style: none;
}

.dh-step {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 9.9px;
  line-height: 15.84px;
  color: #88796e;
  white-space: nowrap;
}

.dh-step span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: #f7efe4;
  color: #a78867;
  font-size: 9px;
  font-weight: 700;
}

/* 二维码 */
.dh-qr {
  width: 200px;
  margin: 0 auto;
  padding: 7px;
  background: #fff;
  border: 1px solid #dfc5a4;
  border-radius: 10px;
}

.dh-qr .qr {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 4px;
}

.dh-guide {
  margin: 6px 0 8px;
  font-size: 10.8px;
  line-height: 16.2px;
  color: #827266;
  text-align: center;
}

/* 按钮 */
.dh-actions {
  display: flex;
  gap: 9px;
}

.dh-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 44px;
  padding: 4px;
  border-radius: 9px;
  border: 1px solid #d8c3ab;
  background: #fffdfa;
  color: #8c6b45;
  font-size: 11.7px;
  line-height: 18.72px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}

.dh-action:active { transform: scale(.985); }

.dh-action.primary {
  border-color: #aa1b08;
  background: #aa1b08;
  color: #fff;
  box-shadow: 0 4px 10px rgba(170, 27, 8, .094);
}

.dh-inline-help {
  margin: 7px 0 0;
  font-size: 9.9px;
  line-height: 16.335px;
  color: #7b6a5c;
}

/* 底部链接 */
.dh-links {
  display: flex;
  gap: 10px;
  margin: 10px 0 8px;
}

.dh-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 1;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #ded0bd;
  border-radius: 10px;
  background: #fffcf8;
  color: #68513c;
  font-size: 11.7px;
  line-height: 18.72px;
  text-decoration: none;
  transition: transform .12s ease;
}

.dh-link:active { transform: scale(.985); }

.dh-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: .8;
}

.dh-arrow {
  margin-left: 2px;
  font-size: 15.3px;
  line-height: 24.48px;
  color: #ac9479;
}

.dh-service-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #ffe0d3;
  color: #aa1b08;
}

.dh-service-icon svg {
  width: 15px;
  height: 15px;
  opacity: 1;
}

.dh-footnote {
  margin: 10px 0 0;
  font-size: 9.5px;
  color: #b7a796;
  text-align: center;
  letter-spacing: .2px;
}

/* 提示 */
.dh-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 14px);
  max-width: 78vw;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(48, 43, 40, .9);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 99;
}

.dh-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 360px) {
  .dh-hero h1 { font-size: 19.5px; }
  .dh-qr { width: 172px; }
}

