/* ==========================================================================
   三角洲俱乐部 · 客户自助下单页
   独立样式表：不依赖 style.css，类名统一前缀，纯原生 CSS
   ========================================================================== */

:root {
  --bg: #0d1117;
  --card: #161b22;
  --card-soft: #10151b;
  --border: #30363d;
  --border-soft: #21262d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #f78166;
  --accent-hi: #ff9078;
  --green: #3fb950;
  --yellow: #d29922;
  --red: #f85149;
  --blue: #58a6ff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }

h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #1a0f0b;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------------------------------------------------------------- 顶部品牌 */

.ord-header {
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(120% 140% at 50% -60%, rgba(247, 129, 102, 0.12), transparent 60%),
    var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 16px;
}

.brand-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff7b45);
  color: #1a0f0b;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(247, 129, 102, 0.25);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

/* ---------------------------------------------------------------- 页面结构 */

body { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

#ord-main { padding-top: 4px; }
#ord-main:focus { outline: none; }

.page-intro { margin: 20px 0 16px; }
.page-intro h1 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.page-intro h1:focus { outline: none; }
.page-sub {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.step-no {
  flex: none;
  padding: 2px 8px;
  border-radius: 7px;
  border: 1px solid rgba(247, 129, 102, 0.4);
  background: rgba(247, 129, 102, 0.1);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.step-head h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------- 服务卡片 */

.load-line {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.load-line.is-error { color: var(--red); }
.load-line .retry-link {
  margin-left: 8px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
}

.svc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.svc {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-soft);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.svc:hover { border-color: #484f58; }
.svc.is-selected {
  border-color: var(--accent);
  background: rgba(247, 129, 102, 0.07);
  box-shadow: inset 0 0 0 1px rgba(247, 129, 102, 0.55);
}
.svc:focus-within { box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.28); }

.svc-main {
  display: flex;
  gap: 12px;
  padding: 13px 14px 10px;
  cursor: pointer;
}

.svc-dot {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #484f58;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svc-input:checked ~ .svc-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--card-soft);
}

.svc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.svc-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  word-break: break-word;
}

.svc-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  word-break: break-word;
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 12px 44px;
}

.svc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  min-width: 0;
}
.svc-price b {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.svc-unit { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

.svc-qty {
  display: none;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--bg);
}
.svc.is-selected .svc-qty { display: flex; }

.qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.qty-btn:hover:not(:disabled) { background: #21262d; }
.qty-btn:active:not(:disabled) { transform: scale(0.94); }
.qty-btn:disabled { color: #484f58; cursor: not-allowed; }

.qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.svc-skel {
  height: 96px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(90deg, #161b22 0%, #1f262e 45%, #161b22 90%);
  background-size: 220% 100%;
  animation: skel 1.3s ease-in-out infinite;
}

@keyframes skel {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* ---------------------------------------------------------------- 表单通用 */

.fieldset {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
  min-width: 0;
}
.fieldset legend {
  padding: 0;
  margin-bottom: 8px;
}

.field { margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #c9d1d9;
  margin-bottom: 6px;
}
.field-label em {
  font-style: normal;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--muted);
  margin-left: 6px;
}
.req { color: var(--accent); }

input[type="text"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea {
  min-height: 86px;
  font-size: 15px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder { color: #6e7681; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 129, 102, 0.16);
}

input[readonly] { color: var(--muted); }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.input-with-btn { display: flex; gap: 6px; }
.input-with-btn input { flex: 1 1 auto; min-width: 0; }

.ghost-btn {
  flex: none;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #21262d;
  color: #c9d1d9;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
}
.ghost-btn:hover { border-color: #484f58; background: #282e36; }
.ghost-btn[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(247, 129, 102, 0.1);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.field-grid .field { margin-bottom: 0; }

.field-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.field-note.center { text-align: center; }
.field-note.is-error { color: var(--red); }

.counter {
  margin-top: 4px;
  text-align: right;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- 区服胶囊 */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip { position: relative; }

.chip-text {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: #c9d1d9;
  font-size: 13.5px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chip:hover .chip-text { border-color: #484f58; }
.chip-input:checked + .chip-text {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(247, 129, 102, 0.1);
  box-shadow: inset 0 0 0 1px rgba(247, 129, 102, 0.5);
}
.chip-input:focus-visible + .chip-text {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0f0b;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-primary:disabled {
  background: #21262d;
  border-color: var(--border);
  color: #6e7681;
  cursor: not-allowed;
}

.btn-ghost {
  background: #21262d;
  border-color: var(--border);
  color: var(--text);
  font-size: 13.5px;
  min-height: 40px;
  padding: 8px 16px;
}
.btn-ghost:hover { border-color: #484f58; background: #282e36; }

.btn-block { width: 100%; }

.btn-submit { flex: none; min-width: 132px; }

/* ---------------------------------------------------------------- 底部固定条 */

.paybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}

.paybar-inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.paybar-info { flex: 1 1 auto; min-width: 0; }

.paybar-hint {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.paybar-hint.is-warn { color: var(--yellow); }

.paybar-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.paybar-label { font-size: 12px; color: var(--muted); flex: none; }
.paybar-total strong {
  font-size: 21px;
  font-weight: 750;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  flex: none;
}
.paybar-detail {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ---------------------------------------------------------------- 下单成功 */

.success-card {
  margin-top: 22px;
  padding: 26px 18px;
  text-align: center;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(63, 185, 80, 0.5);
  background: rgba(63, 185, 80, 0.12);
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
}

.success-card h1 {
  font-size: 21px;
  margin-bottom: 4px;
}
.success-card h1:focus { outline: none; }

.ok-order {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px 0 14px;
  padding: 13px 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.ok-order-label { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.ok-order-no {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.ok-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ok-meta-item {
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--bg);
  text-align: left;
}
.ok-meta-item > span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.ok-meta-item > b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.ok-tip {
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 153, 34, 0.35);
  border-radius: 8px;
  background: rgba(210, 153, 34, 0.1);
  color: #e3b341;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
}

.link-fallback {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--bg);
  text-align: left;
}
.link-fallback input { font-size: 12.5px; }

.text-link { font-size: 13px; }
.text-link.center { display: inline-block; margin-top: 18px; }

/* ---------------------------------------------------------------- 订单查询 */

.query-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 14px;
}
.query-head h1 { font-size: 22px; }
.query-head h1:focus { outline: none; }
.query-head .text-link { white-space: nowrap; padding-bottom: 3px; }

.query-loading { font-size: 13px; color: var(--muted); text-align: center; padding: 26px 16px; }

.error-card { text-align: center; padding: 26px 18px; }
.error-title { font-size: 15.5px; font-weight: 650; color: var(--red); margin-bottom: 6px; }
.error-detail {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  word-break: break-word;
}

.q-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.q-top .eyebrow { margin-bottom: 2px; }
.q-no {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #21262d;
  color: #c9d1d9;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-warn { color: #e3b341; border-color: rgba(210, 153, 34, 0.4); background: rgba(210, 153, 34, 0.12); }
.badge-info { color: var(--blue); border-color: rgba(88, 166, 255, 0.4); background: rgba(88, 166, 255, 0.12); }
.badge-accent { color: var(--accent); border-color: rgba(247, 129, 102, 0.45); background: rgba(247, 129, 102, 0.12); }
.badge-success { color: var(--green); border-color: rgba(63, 185, 80, 0.45); background: rgba(63, 185, 80, 0.12); }
.badge-danger { color: var(--red); border-color: rgba(248, 81, 73, 0.45); background: rgba(248, 81, 73, 0.12); }
.badge-muted { color: var(--muted); border-color: var(--border); background: #21262d; }

.q-meta { margin-top: 16px; }
.q-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border-soft);
}
.q-row:first-child { border-top: 0; padding-top: 4px; }
.q-row dt { font-size: 12.5px; color: var(--muted); }
.q-row dd { font-size: 13.5px; word-break: break-word; }

.card-title { font-size: 14px; font-weight: 650; margin-bottom: 14px; }

.query-alert {
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 81, 73, 0.4);
  border-radius: 8px;
  background: rgba(248, 81, 73, 0.1);
  color: #ff9b95;
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- 时间线 */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding: 0 0 20px 34px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tl-item.is-done .tl-dot {
  border-color: var(--green);
  background: var(--green);
}
.tl-item.is-done .tl-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #0d1117;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tl-item.is-current .tl-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(247, 129, 102, 0.18);
}
.tl-item.is-current .tl-dot::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a0f0b;
}

.timeline.is-cancelled .tl-dot { border-color: rgba(248, 81, 73, 0.5); }
.timeline.is-cancelled .tl-item.is-done .tl-dot {
  border-color: var(--muted);
  background: var(--muted);
}
.timeline.is-cancelled .tl-item.is-done .tl-dot::after { border-color: var(--card); }

.tl-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.tl-hint { margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--muted); }

.tl-item.is-pending .tl-title { color: var(--muted); font-weight: 500; }
.tl-item.is-current .tl-title { color: var(--accent); }
.tl-item.is-done .tl-title { color: #c9d1d9; }

/* ---------------------------------------------------------------- 页脚 / 杂项 */

.ord-footer {
  margin-top: 10px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--border-soft);
}
.ord-footer p {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6e7681;
  text-align: center;
}

.noscript {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(210, 153, 34, 0.4);
  border-radius: 8px;
  background: rgba(210, 153, 34, 0.1);
  color: #e3b341;
  font-size: 13px;
}

/* ---------------------------------------------------------------- 提示条 */

.toast-wrap {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 40px 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #161b22;
  box-shadow: var(--shadow);
  animation: toast-in 0.18s ease-out;
}
.toast-error { border-color: rgba(248, 81, 73, 0.65); }
.toast-error .toast-text { color: #ffb3ae; }
.toast-info .toast-text { color: var(--text); }

.toast-text { font-size: 13px; line-height: 1.5; word-break: break-word; }

.toast-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.toast-close:hover { background: #21262d; color: var(--text); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------- 桌面端 */

@media (min-width: 720px) {
  body { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }

  .header-inner { padding-top: 22px; padding-bottom: 20px; }
  .page-intro { margin: 26px 0 18px; }
  .page-intro h1 { font-size: 26px; }
  .card { padding: 20px; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .success-card { padding: 34px 36px; }
  .paybar { padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
  .q-row { grid-template-columns: 88px 1fr; }
  .tl-item { padding-bottom: 22px; }
}

@media (max-width: 360px) {
  .paybar-total strong { font-size: 19px; }
  .btn-submit { min-width: 112px; padding: 0 14px; }
  .svc-foot { padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 蜜罐字段：对真人不可见，仅拦截无脑填表机器人 */
.hp-field{position:absolute!important;left:-9999px!important;top:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;
  pointer-events:none!important}
