/* ==========================================================================
   步刻预约 商家官网 样式
   主色 #FF7F50（与小程序默认主题色一致）
   ========================================================================== */

:root {
  --primary: #FF7F50;
  --primary-dark: #E9683A;
  --primary-light: #FFF1EB;
  --primary-soft: #FFE3D7;
  --text: #1F2329;
  --text-2: #4E5969;
  --text-3: #86909C;
  --border: #E5E6EB;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --success: #00B42A;
  --success-bg: #E8FFEA;
  --warn: #D25F00;
  --warn-bg: #FFF7E8;
  --danger: #F53F3F;
  --danger-bg: #FFECE8;
  --info: #165DFF;
  --info-bg: #E8F3FF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(31, 35, 41, .06);
  --shadow-lg: 0 16px 48px rgba(31, 35, 41, .12);
  --header-h: 64px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 760px; }
.muted { color: var(--text-3); }
.mono { font-family: SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.text-danger { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--bg-soft); color: var(--text);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s;
  text-decoration: none !important; -webkit-tap-highlight-color: transparent;
}
.btn:disabled { cursor: not-allowed; opacity: .6; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(255, 127, 80, .28); }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-outline { background: #fff; border-color: var(--primary); color: var(--primary-dark); }
.btn-outline:hover:not(:disabled) { background: var(--primary-light); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-dark); }
.btn-lg { height: 48px; padding: 0 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn.loading::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 12px rgba(31, 35, 41, .04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 15px; }
.site-nav a:hover, .site-nav a.active { color: var(--primary-dark); text-decoration: none; background: var(--primary-light); }
.site-nav .btn { margin-left: 8px; height: 36px; padding: 0 16px; color: #fff; }
.site-nav .btn:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 8px; cursor: pointer; border-radius: var(--radius-sm); color: var(--text); }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px; font-size: 16px; }
  .site-nav .btn { margin: 8px 0 0; height: 44px; }
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 127, 80, .18), transparent 60%),
    radial-gradient(600px 360px at -10% 110%, rgba(255, 180, 140, .16), transparent 60%),
    linear-gradient(180deg, #FFF8F4 0%, #FFFFFF 100%);
  padding: 72px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 24px 48px rgba(255, 127, 80, .18)); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 16px; }
  .hero-visual svg { max-width: 300px; }
}

/* ---------- 区块 ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--text-2); font-size: 16px; margin: 0; }
.eyebrow { display: block; color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: .12em; margin-bottom: 8px; }
@media (max-width: 860px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }
}

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } .grid { gap: 12px; } }

.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-soft); }
.feature-card h3 { font-size: 18px; margin: 16px 0 8px; }
.feature-card p { color: var(--text-2); margin: 0; font-size: 14px; }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.icon-badge svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .feature-card { padding: 20px 18px; } }

.industry-card { background: #fff; border-radius: var(--radius); padding: 24px 20px; text-align: center; border: 1px solid var(--border); }
.industry-card .icon-badge { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 50%; }
.industry-card h3 { font-size: 17px; margin-bottom: 6px; }
.industry-card p { font-size: 13px; color: var(--text-3); margin: 0; }
.industry-note { text-align: center; color: var(--text-3); margin: 24px 0 0; font-size: 14px; }
@media (max-width: 560px) { .industry-card { padding: 18px 12px; } }

/* 开通流程 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow li { position: relative; padding: 28px 22px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); counter-increment: flow; }
.flow li::before {
  content: counter(flow); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 45px; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 4px, transparent 4px 8px);
}
.flow h3 { font-size: 17px; margin-bottom: 6px; }
.flow p { margin: 0; color: var(--text-2); font-size: 14px; }
.flow-cta { text-align: center; margin-top: 36px; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow li { padding: 18px 18px 18px 70px; }
  .flow li::before { position: absolute; left: 18px; top: 18px; margin: 0; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; font-size: 16px; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] summary { color: var(--primary-dark); }
.faq .faq-body { padding: 0 22px 18px; color: var(--text-2); }
.faq .faq-body p:last-child, .faq .faq-body ul:last-child { margin-bottom: 0; }
.faq ul { padding-left: 1.2em; margin: 0 0 1em; }
@media (max-width: 560px) { .faq summary { padding: 16px 44px 16px 16px; font-size: 15px; } .faq summary::after { right: 18px; } .faq .faq-body { padding: 0 16px 16px; } }

/* 联系我们 / CTA */
.contact-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, #FF7F50 0%, #FF9A6C 100%); color: #fff;
  border-radius: 20px; padding: 48px; overflow: hidden; position: relative;
}
.contact-box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); pointer-events: none;
}
.contact-box h2 { font-size: 28px; color: #fff; }
.contact-box p { opacity: .92; margin: 0 0 20px; }
.contact-box .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.contact-box .btn-primary:hover { background: #FFF5F0; }
.contact-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.contact-box .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.contact-list li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 14px 18px; }
.contact-list svg { width: 22px; height: 22px; flex: none; }
.contact-list small { display: block; opacity: .85; font-size: 12px; line-height: 1.4; }
.contact-list a, .contact-list span.v { color: #fff; font-weight: 600; font-size: 16px; word-break: break-all; }
@media (max-width: 860px) {
  .contact-box { grid-template-columns: 1fr; padding: 28px 20px; gap: 20px; border-radius: 16px; }
  .contact-box h2 { font-size: 22px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: #1F2329; color: #A9AEB8; font-size: 14px; padding: 40px 0 24px; flex-shrink: 0; }
.site-footer a { color: #C9CDD4; }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 10px 0 0; max-width: 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 13px; }
@media (max-width: 560px) { .footer-links { gap: 24px 32px; } .footer-bottom { flex-direction: column; } }

/* ---------- 子页面 ---------- */
.page-hero { background: linear-gradient(180deg, #FFF5EF 0%, #FFFFFF 100%); padding: 48px 0 24px; text-align: center; }
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: var(--text-2); margin: 0; }
@media (max-width: 560px) { .page-hero { padding: 28px 0 16px; } .page-hero h1 { font-size: 24px; } .page-hero p { font-size: 14px; } }

.page-body { padding: 8px 0 64px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 36px 40px; }
@media (max-width: 560px) { .card { padding: 22px 16px; border-radius: 12px; } .page-body { padding-bottom: 40px; } }

/* 步骤条 */
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 8px; counter-reset: step; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; counter-increment: step; position: relative; min-width: 0; }
.steps li::before {
  content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--border); background: #fff; font-weight: 600; font-size: 13px;
}
.steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--border); min-width: 12px; }
.steps li.active { color: var(--text); font-weight: 600; }
.steps li.active::before { border-color: var(--primary); background: var(--primary); color: #fff; }
.steps li.done { color: var(--primary-dark); }
.steps li.done::before { content: "✓"; border-color: var(--primary); color: var(--primary); }
.steps li.done::after { background: var(--primary); }
.steps span { white-space: nowrap; }
@media (max-width: 560px) {
  .steps li { flex-direction: column; gap: 4px; font-size: 12px; text-align: center; }
  .steps li::after { display: none; }
}

/* 表单 */
.form { display: grid; gap: 4px; }
.form-section-title { font-size: 16px; font-weight: 600; margin: 12px 0 8px; padding-left: 10px; border-left: 3px solid var(--primary); line-height: 1.3; }
.field { margin-bottom: 14px; min-width: 0; }
.field > label, .field > .label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--text-3); font-weight: 400; font-size: 13px; margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; color: var(--text); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2386909C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { height: auto; min-height: 96px; padding: 10px 14px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 127, 80, .15); }
.field input.invalid, .field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 4px 0 0; min-height: 0; line-height: 1.5; }
.field-error:empty { display: none; }
.field-hint { color: var(--text-3); font-size: 13px; margin: 4px 0 0; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-inline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--primary-dark); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.counter { color: var(--text-3); font-size: 12px; text-align: right; margin-top: 2px; }

.input-group { display: flex; gap: 10px; }
.input-group input { flex: 1; }
.input-group .btn { flex: none; height: 44px; min-width: 112px; padding: 0 14px; }
.captcha-img {
  flex: none; width: 120px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-soft); cursor: pointer; overflow: hidden; display: grid; place-items: center; color: var(--text-3); font-size: 12px;
}
.captcha-img img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 380px) {
  .captcha-img { width: 100px; }
  .input-group .btn { min-width: 100px; font-size: 14px; }
}

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-card { position: relative; flex: 1; min-width: 120px; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span {
  display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; font-size: 15px; transition: all .2s; background: #fff;
}
.radio-card input:checked + span { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); font-weight: 500; }
.radio-card input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 127, 80, .2); }

.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.6; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }

/* 上传 */
.upload { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.upload-thumb {
  position: relative; width: 160px; height: 120px; border-radius: var(--radius-sm); border: 1px dashed #C9CDD4;
  background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; color: var(--text-3); flex: none;
}
.upload-thumb svg { width: 36px; height: 36px; }
.upload-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; cursor: zoom-in; }
.upload.has-file .upload-thumb { border-style: solid; border-color: var(--border); }
.upload.has-file .upload-thumb img { display: block; }
.upload.has-file .upload-thumb svg { display: none; }
.upload-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 13px; display: none; place-items: center; }
.upload.uploading .upload-mask { display: grid; }
.upload-side { flex: 1; min-width: 160px; }
.upload-side .field-hint { margin-top: 8px; }

/* 提示框 */
.notice { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin: 16px 0 0; line-height: 1.6; }
.notice strong { display: block; margin-bottom: 2px; }
.notice span { display: block; }
.notice-info { background: var(--info-bg); color: #0E42B3; }
.notice-success { background: var(--success-bg); color: #00751B; }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-danger { background: var(--danger-bg); color: #CB2634; }
.notice-top { margin: 0 0 20px; }

.verified-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; background: var(--bg-soft); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-2); margin-bottom: 16px; }
.verified-bar b { color: var(--text); }
.form-tip { color: var(--text-3); font-size: 13px; text-align: center; margin: 12px 0 0; }
.form-actions { margin-top: 8px; }

/* 结果 */
.result-block { text-align: center; padding: 16px 0 8px; }
.result-block h3 { font-size: 20px; margin: 14px 0 8px; }
.result-block .btn-row { justify-content: center; }
.result-icon { display: inline-flex; color: var(--primary); }
.result-icon svg { width: 64px; height: 64px; }
.result-icon-success { color: var(--success); }
.result-icon-pending { color: var(--primary); }
.apply-number { display: inline-block; font-size: 22px; font-weight: 700; color: var(--primary-dark); background: var(--primary-light); padding: 6px 18px; border-radius: var(--radius-sm); margin: 4px 0 12px; word-break: break-all; }

.status-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.status-head h3 { font-size: 18px; margin: 0; }
.status-head .muted { font-size: 14px; }
.info-list { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.info-row { display: flex; gap: 16px; padding: 12px 16px; font-size: 15px; }
.info-row + .info-row { border-top: 1px solid var(--border); }
.info-row dt { flex: none; width: 84px; color: var(--text-3); }
.info-row dd { margin: 0; flex: 1; min-width: 0; word-break: break-all; }
@media (max-width: 560px) { .info-row { padding: 10px 12px; gap: 12px; font-size: 14px; } .info-row dt { width: 70px; } }

.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 22px; }
.badge-pending { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

.side-tips { margin-top: 20px; color: var(--text-3); font-size: 13px; text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 84px; z-index: 1000; transform: translate(-50%, -12px);
  max-width: calc(100% - 32px); padding: 10px 18px; border-radius: var(--radius-sm);
  background: rgba(31, 35, 41, .92); color: #fff; font-size: 14px; line-height: 1.5; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: rgba(203, 38, 52, .95); }
.toast-success { background: rgba(0, 140, 34, .95); }

/* ---------- 弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; transition: opacity .2s;
}
.modal-mask.show { opacity: 1; }
.modal {
  width: 100%; max-width: 440px; max-height: calc(100vh - 32px); background: #fff; border-radius: 14px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s;
}
.modal-mask.show .modal { transform: none; }
.modal-wide { max-width: 720px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 18px 20px; overflow-y: auto; color: var(--text-2); font-size: 15px; -webkit-overflow-scrolling: touch; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px 16px; border-top: 1px solid var(--border); }
.preview-full { width: 100%; height: auto; border-radius: var(--radius-sm); }
.agreement h4 { color: var(--text); font-size: 15px; margin: 16px 0 6px; }
.agreement h4:first-child { margin-top: 0; }
.agreement p { font-size: 14px; }
@media (max-width: 560px) {
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal { max-width: none; border-radius: 14px 14px 0 0; max-height: 88vh; }
  .modal-foot .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
