/* ==========================================================================
   weixinqun.cc — 名爵h5登录
   骨架：手机优先（居中窄栏 + 浮动机身 → 左右交错说明 → 步骤时间轴）
   ========================================================================== */

body.page-h5 { background: #fff9f3; color: #1c1917; }

body.page-h5 .site-header { background: rgba(255, 249, 243, .95); border-bottom-color: #f3e4d6; }
body.page-h5 .brand-mark { background: #f97316; color: #fff; }
body.page-h5 .site-nav a.is-active { color: #c2410c; box-shadow: inset 0 -2px 0 #f97316; }
body.page-h5 .site-nav a:hover { background: #fff1e6; }
body.page-h5 .btn-login { background: #f97316; color: #fff; box-shadow: 0 6px 16px rgba(249, 115, 22, .25); }

/* ---------- Hero ---------- */
.h5-hero {
  position: relative;
  padding: 60px 0 72px;
  background:
    radial-gradient(620px 380px at 12% 10%, rgba(249, 115, 22, .12), transparent 62%),
    radial-gradient(520px 320px at 90% 80%, rgba(251, 146, 60, .14), transparent 62%);
  overflow: hidden;
}
.h5-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
}
.h5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #c2410c;
}
.h5-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .15);
}
.h5-hero h1 {
  margin-top: 16px;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #1c1917;
}
.h5-hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: #c2410c;
  letter-spacing: 0;
}
.h5-hero p.h5-lead {
  margin-top: 18px;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.95;
  color: #57534e;
}
.h5-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.h5-actions .btn-primary { background: #f97316; color: #fff; box-shadow: 0 12px 26px rgba(249, 115, 22, .26); }
.h5-actions .btn-room { border-color: #fdba74; color: #7c2d12; }
.h5-actions .btn-room b { color: #ea580c; }
.h5-hero figure img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(194, 65, 12, .16);
}
.h5-hero figcaption { margin-top: 12px; text-align: right; font-family: var(--mono); font-size: 10.5px; color: #a8a29e; letter-spacing: .8px; }

/* ---------- 窄栏内容 ---------- */
.h5-main { padding: 12px 0 0; }
.h5-inner { max-width: 980px; margin-inline: auto; }
.h5-sec { padding: 54px 0; }
.h5-sec .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: #ea580c;
  text-transform: uppercase;
}
.h5-sec .kicker::before {
  content: "";
  width: 18px; height: 1.5px;
  background: #f97316;
}
.h5-sec h2 {
  margin-top: 12px;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.4px;
}
.h5-sec > p.lead { margin-top: 12px; font-size: 14px; line-height: 1.95; color: #57534e; max-width: 720px; }

/* ---------- 登录步骤卡片（竖向时间轴） ---------- */
.h5-timeline { position: relative; margin-top: 30px; display: grid; gap: 18px; }
.h5-timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(#fdba74, #fed7aa);
}
.h5-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.h5-step .dot {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #fdba74;
  color: #ea580c;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(249, 115, 22, .1);
}
.h5-step .step-body {
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f3e4d6;
}
.h5-step h3 { font-size: 17px; font-weight: 800; }
.h5-step p { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: #57534e; }
.h5-step .step-tip {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .6px;
}

/* ---------- 手机界面分解 ---------- */
.h5-anatomy {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #f3e4d6;
}
.phone-mini {
  position: relative;
  width: 200px;
  margin-inline: auto;
  border-radius: 28px;
  background: #1c1917;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(120, 53, 15, .18);
}
.phone-mini .pm-screen {
  border-radius: 20px;
  background: #fffaf5;
  padding: 18px 14px 22px;
  display: grid;
  gap: 9px;
  min-height: 300px;
}
.phone-mini .pm-notch {
  width: 54px; height: 6px;
  border-radius: 3px;
  background: #1c1917;
  margin: 0 auto 8px;
}
.phone-mini .pm-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 1px; color: #a8a29e; }
.phone-mini .pm-field { height: 30px; border-radius: 8px; border: 1px solid #fed7aa; background: #fff; }
.phone-mini .pm-field.filled {
  display: grid; place-items: center start;
  padding-left: 9px;
  font-family: var(--mono);
  font-size: 11px;
  color: #1c1917;
}
.phone-mini .pm-btn { height: 32px; border-radius: 16px; background: linear-gradient(90deg, #f97316, #fb923c); }
.phone-mini .pm-line { height: 6px; border-radius: 3px; background: #f5f5f4; }
.phone-mini .pm-line.short { width: 60%; }
.phone-mini .pm-foot { margin-top: auto; font-size: 8.5px; color: #f97316; }

.anatomy-list { display: grid; gap: 14px; }
.anatomy-list div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.anatomy-list dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: #ea580c;
}
.anatomy-list dd { font-size: 13.3px; line-height: 1.85; color: #57534e; }
.anatomy-list dd b { color: #1c1917; }

/* ---------- 对照双卡 ---------- */
.h5-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.h5-duo article {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f3e4d6;
}
.h5-duo article.hl { background: #1c1917; border-color: #1c1917; color: #fafaf9; }
.h5-duo h3 { font-size: 16.5px; font-weight: 800; }
.h5-duo article.hl h3 { color: #fff; }
.h5-duo p { margin-top: 9px; font-size: 13.2px; line-height: 1.9; color: #57534e; }
.h5-duo article.hl p { color: #a8a29e; }
.h5-duo ul { margin-top: 14px; display: grid; gap: 8px; }
.h5-duo li { position: relative; padding-left: 16px; font-size: 12.8px; color: #44403c; }
.h5-duo article.hl li { color: #d6d3d1; }
.h5-duo li::before {
  content: "";
  position: absolute; left: 2px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f97316;
}

/* ---------- 提示码 ---------- */
.h5-codes { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h5-code {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f3e4d6;
}
.h5-code code {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: #ea580c;
}
.h5-code h3 { font-size: 13.5px; font-weight: 800; }
.h5-code p { margin-top: 5px; font-size: 12.3px; line-height: 1.8; color: #57534e; }

/* ---------- 检查清单 ---------- */
.check-list { margin-top: 24px; display: grid; gap: 10px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f3e4d6;
  font-size: 13.3px;
  color: #44403c;
}
.check-list li::before {
  content: "✓";
  flex: none;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #ffedd5;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.check-list li b { color: #1c1917; }

/* ---------- 表格 ---------- */
.h5-table-wrap { margin-top: 24px; border-radius: 16px; overflow: hidden; border: 1px solid #f3e4d6; background: #fff; }
.h5-table-scroll { overflow-x: auto; }
.h5-table { min-width: 560px; }
.h5-table th, .h5-table td { padding: 13px 18px; text-align: left; font-size: 13px; border-bottom: 1px solid #faf5ef; color: #44403c; }
.h5-table thead th { background: #fffaf5; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: #a8a29e; font-weight: 600; }
.h5-table tbody tr:last-child td { border-bottom: 0; }
.h5-table td strong { color: #1c1917; }
.h5-table .ok { color: #15803d; font-weight: 700; }
.h5-table .warn { color: #b45309; font-weight: 700; }
.h5-table .bad { color: #b91c1c; font-weight: 700; }

/* ---------- 安全块 ---------- */
.h5-safety {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px dashed #fdba74;
}
.h5-safety h3 { font-size: 15.5px; font-weight: 800; color: #7c2d12; }
.h5-safety ul { margin-top: 12px; display: grid; gap: 8px; }
.h5-safety li { position: relative; padding-left: 18px; font-size: 13px; color: #78350f; line-height: 1.8; }
.h5-safety li::before {
  content: "!";
  position: absolute; left: 0; top: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: #ea580c;
}

/* ---------- FAQ ---------- */
.h5-faq .acc-list { border-top-color: #f3e4d6; }
.h5-faq .acc-item { border-bottom-color: #f3e4d6; }
.h5-faq .acc-trigger { color: #1c1917; }
.h5-faq .acc-panel { color: #57534e; }
.h5-faq .acc-item.is-open .acc-trigger::after { color: #ea580c; }

/* ---------- 相关 / CTA ---------- */
.h5-related { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h5-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f3e4d6;
  font-size: 13.3px;
  font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.h5-related a:hover { border-color: #fdba74; transform: translateY(-2px); }
.h5-related em { font-style: normal; font-family: var(--mono); font-size: 11px; color: #ea580c; }

.h5-cta {
  margin: 20px 0 56px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  align-items: center;
}
.h5-cta h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.35; color: #431407; }
.h5-cta p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: #7c2d12; }
.h5-cta .cta-actions { display: grid; gap: 12px; justify-items: start; }
.h5-cta .btn-primary { background: #f97316; color: #fff; }
.h5-cta .tg-link { border-color: #fdba74; color: #7c2d12; }
.h5-cta .tg-link:hover { border-color: #f97316; background: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .h5-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .h5-hero figure { order: -1; }
  .h5-anatomy { grid-template-columns: 1fr; gap: 24px; }
  .h5-codes { grid-template-columns: 1fr; }
  .h5-cta { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 700px) {
  .h5-hero { padding: 42px 0 54px; }
  .h5-sec { padding: 42px 0; }
  .h5-duo, .h5-related { grid-template-columns: 1fr; }
  .h5-actions .btn { width: 100%; }
  .h5-anatomy { padding: 20px; }
  .anatomy-list div { grid-template-columns: 1fr; gap: 4px; }
  .h5-code { grid-template-columns: 1fr; gap: 6px; }
  .h5-timeline::before { left: 22px; }
  .h5-step { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .h5-step .dot { width: 46px; height: 46px; border-radius: 14px; font-size: 13px; }
}
