/* ============================================================
   components.css — 构成、组件与状态
   构成决策：桌面左栏编辑式错落，右侧单台设备；手机内高保真小程序。
   破格元素：超大宋体城市名「深圳」与横幅斜切缎带。
   ============================================================ */

/* ---------------- 桌面骨架 ---------------- */
.shell {
  position: relative; z-index: 1;
  max-width: 1600px; min-height: 100vh; margin: 0 auto;
  padding: clamp(36px, 6vh, 76px) clamp(32px, 5.5vw, 96px);
  display: grid; grid-template-columns: minmax(340px, 1fr) minmax(420px, 520px);
  gap: clamp(48px, 6vw, 116px); align-items: center;
}

/* ---------------- 编辑式左栏 ---------------- */
.rail { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 5vh, 58px); }
.rail::before {
  content: "译"; position: absolute; top: -14%; left: 48%; z-index: -1;
  font-family: var(--font-display); font-size: 260px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, .10);
  pointer-events: none; user-select: none;
}
.eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; color: var(--color-ink); font-weight: 700; }
.rail-mark { margin-top: 18px; font-family: var(--font-display); font-size: 14px; letter-spacing: .5em; color: var(--color-text-2); }
.rail-mark span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--color-muted); }
.rail-title {
  margin-top: 14px; font-family: var(--font-display); font-size: var(--fs-display);
  font-weight: 900; line-height: 1.12; letter-spacing: -.055em; color: var(--color-text);
}
.rail-title em { font-style: normal; color: var(--color-ink); position: relative; }
.rail-title em::after { content: ""; position: absolute; left: 2px; right: -4px; bottom: 4px; height: 5px; background: var(--color-fill-pale); z-index: -1; }
.rail-desc { max-width: 33ch; margin-top: 20px; font-size: 13px; line-height: 1.9; color: var(--color-text-2); }

.flow { border-top: 1px solid var(--color-line-strong); padding-top: 16px; }
.flow-label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--color-muted); }
.flow-label strong { font-family: var(--font-num); font-size: 26px; letter-spacing: -.04em; color: var(--color-text); }
.flow-list { margin-top: 10px; }
.flow-step {
  position: relative;
  width: 100%; min-height: 46px; display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--color-bg-line); text-align: left;
  font-size: 13px; color: var(--color-text-2); transition: color var(--dur-fast), padding var(--dur-fast), background var(--dur-fast);
}
.flow-step i { font-family: var(--font-num); font-size: 11px; font-style: normal; color: #AAAAAA; width: 24px; transition: color var(--dur-fast); }
.flow-step span { flex: 1; }
.flow-step svg { width: 14px; height: 14px; color: #BBBBBB; opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-fast), transform var(--dur-fast); }
.flow-step:hover, .flow-step:focus-visible { color: var(--color-ink); padding-left: 8px; }
.flow-step:hover svg, .flow-step:focus-visible svg { opacity: 1; transform: none; }
.flow-step.is-current { color: var(--color-ink); font-weight: 700; }
.flow-step.is-current i { color: var(--color-ink); }
.flow-step.is-current::before { content: ""; position: absolute; left: -16px; width: 3px; height: 20px; background: var(--color-ink); border-radius: 2px; }

.rail-foot { border-top: 1px solid var(--color-line-strong); padding-top: 14px; }
.tokens { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.token { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--color-muted); }
.token::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.rail-foot p { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: #939393; }

/* ---------------- 设备舞台 ---------------- */
.stage { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }
.stage-head {
  width: min(100%, 470px); display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--color-line-strong);
}
.stage-index { font-family: var(--font-num); font-size: 20px; letter-spacing: -.04em; color: var(--color-ink); }
.stage-index small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--color-muted); }
.stage-hint { font-size: 11px; color: var(--color-muted); }
.device-wrap { position: relative; }
.device {
  position: relative; z-index: 1; width: var(--device-w); height: var(--device-h);
  padding: 10px; border-radius: 54px; background: #000000;
  box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 5px #1A1A1A;
}
.device::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; border-radius: 999px; background: #000000; z-index: 12; }
.device-inner { width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--color-surface-2); display: flex; flex-direction: column; position: relative; }
.device-shadow { position: absolute; z-index: 0; bottom: -34px; left: 6%; right: 6%; height: 46px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .24), transparent 70%); filter: blur(10px); }
.stage-caption { width: min(100%, 470px); display: flex; flex-direction: column; gap: 3px; border-left: 3px solid var(--color-ink); padding-left: 12px; }
.stage-caption strong { font-size: 13px; font-weight: 700; }
.stage-caption span { font-size: 11px; color: var(--color-muted); }

/* ---------------- 导航栏 ---------------- */
.app { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.navbar { height: var(--navbar-h); flex: none; display: flex; align-items: center; padding: 0 14px; background: var(--color-surface); position: relative; z-index: 8; }
.nav-back { width: 34px; height: 44px; display: none; align-items: center; color: var(--color-text); }
.nav-back svg { width: 20px; height: 20px; }
.nav-brand { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.nav-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 700; pointer-events: none; display: none; }
.app[data-nav="sub"] .nav-back { display: flex; }
.app[data-nav="sub"] .nav-title, .app[data-nav="tab"] .nav-title { display: block; }
.app[data-nav="sub"] .nav-brand, .app[data-nav="tab"] .nav-brand { display: none; }

/* ---------------- 屏幕栈与转场 ---------------- */
.screens { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.screen { display: none; position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: var(--color-surface-2); padding-bottom: 26px; scrollbar-width: thin; }
.screen.is-active { display: block; z-index: 2; }
.screen.is-leaving { display: block; z-index: 1; }
.screen:focus { outline: none; }
.screen--city.is-leaving, .screen--calendar.is-leaving { display: flex; flex-direction: column; }
@keyframes pushIn  { from { transform: translateX(100%); opacity: .65; } to { transform: none; opacity: 1; } }
@keyframes pushOut { from { transform: none; opacity: 1; } to { transform: translateX(-22%); opacity: .35; } }
@keyframes backIn  { from { transform: translateX(-22%); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes backOut { from { transform: none; opacity: 1; } to { transform: translateX(100%); opacity: .65; } }
@media (prefers-reduced-motion: no-preference) {
  .screens.is-ready .screen.is-active { animation: pushIn var(--dur-base) var(--ease-out) both; }
  .screens.is-ready .screen.is-leaving { animation: pushOut var(--dur-base) var(--ease-out) both; }
  .screens.is-ready .screen.is-active.back-in { animation-name: backIn; }
  .screens.is-ready .screen.is-leaving.back-out { animation-name: backOut; }
}

/* ---------------- 01 首页 ---------------- */
.screen--home { padding: 14px 16px 28px; background: linear-gradient(180deg, #F2F2F2 0 168px, var(--color-surface-2) 168px 100%); }
/* 轮播位高度由图片比例决定（JS 写入 --banner-ar），默认 2.5:1 = 375 宽时 150 高 */
.banner-carousel { position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: var(--banner-ar, 5 / 2); background: var(--color-surface-2); }
.banner-track { display: flex; align-items: stretch; height: 100%; transition: transform 460ms var(--ease-out); will-change: transform; }
.banner-track.is-dragging { transition: none; }
.banner-slide { flex: 0 0 100%; min-width: 100%; height: 100%; }
/* 设计图整张铺满：按图片本身的宽高比显示，不裁掉设计里的文字 */
.banner-slide--img .banner-img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 指示点：右下角，当前页拉长成小胶囊 */
.banner-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; gap: 5px; }
.banner-dots[hidden] { display: none; }
.banner-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(17, 17, 17, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); transition: width 260ms var(--ease-out), background var(--dur-fast); }
.banner-dot.is-active { width: 15px; background: var(--color-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .75); }

.banner { position: relative; height: 100%; min-height: 106px; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(118deg, var(--color-banner-a) 0%, var(--color-banner-b) 58%, var(--color-banner-c) 100%); border: 1px solid var(--color-line); }
.banner-ribbon { position: absolute; left: -22%; width: 155%; height: 34px; background: rgba(0, 0, 0, .028); transform: rotate(-16deg); }
.banner-ribbon--a { top: -12px; }
.banner-ribbon--b { top: 62px; opacity: .55; height: 22px; }
.banner-glow { position: absolute; inset: 0; background: radial-gradient(20rem 9rem at 76% 18%, rgba(230, 0, 18, .045), transparent 70%); }
.banner-copy { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 3px;
  max-width: calc(100% - 136px); }
.banner-copy strong, .banner-kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 「持证上岗」压在白底斜带上，用纯黑保证可读 */
.banner-kicker { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .16em; color: #111111; opacity: .95; }
.banner-copy strong { font-family: var(--font-body); font-size: 23px; font-weight: 900; letter-spacing: -.045em; color: var(--color-ink); }
.banner-mark { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 110px; height: auto; z-index: 2; }

.booking-card { position: relative; margin-top: 22px; background: var(--color-surface); border-radius: 18px; box-shadow: var(--sh-1); }
.switcher { position: relative; height: 54px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px 18px 0 0; }
/* 浅灰块收敛在标签栏内：黑色主体 + 中性灰面，红色只留给点状辅色 */
.switcher-blue { position: absolute; top: 0; right: 0; width: 50%; height: 54px; z-index: 0; background: linear-gradient(180deg, #F5F5F5, #EFEFEF); border-radius: 0 18px 0 0; transition: transform 380ms var(--ease-out), border-radius 380ms var(--ease-out); }
.switcher[data-active="right"] .switcher-blue { transform: translateX(-100%); border-radius: 18px 0 0 0; }
.switcher-tab { position: relative; z-index: 2; height: 54px; display: grid; place-items: center; font-size: 15px; font-weight: 500; color: var(--color-text-2); transition: font-weight 180ms, color 180ms; }
.switcher-tab.is-active { font-weight: 700; color: var(--color-text); }
.booking-body { position: relative; z-index: 1; padding: 30px 22px 26px; border-radius: 0 0 18px 18px; background: var(--color-surface); }
.field-label { font-size: 12px; font-weight: 700; margin-bottom: 14px; color: var(--color-text); }

.select { position: relative; z-index: 12; }
.select-trigger { width: 100%; height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--color-line-strong); border-radius: 10px; font-size: 14px; color: var(--color-text-2); transition: border-color 180ms, box-shadow 180ms; }
.select-trigger:hover { border-color: #D8D8D8; }
.select.is-open .select-trigger { border-color: var(--color-ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.select-trigger .chev { width: 17px; height: 17px; color: #808080; transition: transform 200ms var(--ease-out); }
.select.is-open .select-trigger .chev { transform: rotate(180deg); }
.select-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 236px; overflow-y: auto; padding: 4px 0; background: #fff; border: 1px solid var(--color-line); border-radius: 10px; box-shadow: var(--sh-2); z-index: 20; scrollbar-width: thin; }
/* 展开时下拉列表以浮层覆盖下方字段，卡片高度不跳动 */
.booking-card.is-lang-open { z-index: 30; }
.select-menu::-webkit-scrollbar { width: 6px; }
.select-menu::-webkit-scrollbar-thumb { background: #DEDEDE; border-radius: 4px; }
.select-option { width: 100%; min-height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; text-align: left; font-size: 14px; color: var(--color-text-2); transition: background 160ms, color 160ms; }
.select-option:hover, .select-option:focus-visible { background: var(--color-fill-wash); }
.select-option.is-selected { color: var(--color-ink); font-weight: 700; }
.select-option svg { width: 16px; height: 16px; color: var(--color-accent); }
.select-option:disabled { color: #C6C6C6; cursor: not-allowed; }
.select-option:disabled:hover { background: transparent; }

/* 双下拉：发言人语言 ⇄ 目标语言，中间一枚交换按钮 */
.lang-pair { display: flex; align-items: center; gap: 7px; }
.lang-pair .select { flex: 1 1 0; min-width: 0; }
.lang-pair .select-trigger { padding: 0 10px 0 12px; gap: 4px; font-weight: 500; color: var(--color-text); }
.lang-pair .select-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-pair .select-trigger .chev { flex: none; width: 15px; height: 15px; }
.lang-pair .select-menu { width: max-content; min-width: 172px; max-width: 60vw; }
.lang-pair .select:last-child .select-menu { left: auto; right: 0; }
.lang-swap { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #666666; background: transparent; transition: color 180ms, background 180ms, transform 180ms var(--ease-out); }
.lang-swap svg { width: 22px; height: 22px; }
.lang-swap:hover { color: var(--color-ink); background: #EFEFEF; }
.lang-swap:active { transform: scale(.9); }
@media (prefers-reduced-motion: no-preference) {
  .lang-swap.is-turning svg { animation: swapTurn 380ms var(--ease-out); }
}
@keyframes swapTurn { from { transform: rotate(0deg); } to { transform: rotate(180deg); } }

@keyframes optIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .select.is-open .select-menu { animation: menuIn 240ms var(--ease-out) both; transform-origin: top; }
  .select.is-open .select-option { animation: optIn 240ms var(--ease-out) var(--d, 0ms) both; }
}

.city-row { width: 100%; min-height: 78px; margin-top: 20px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--color-line); text-align: left; }
.city-name { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.07em; color: var(--color-text); }
.city-action { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--color-muted); flex: none; }
.city-chev { font-size: 20px; line-height: 1; color: #C6C6C6; }
.city-target { width: 17px; height: 17px; color: var(--color-red); }
.date-row { width: 100%; min-height: 74px; padding: 20px 0 22px; display: flex; align-items: baseline; gap: 10px; text-align: left; }
.date-range { font-size: 20px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.date-days { font-size: 14px; font-weight: 700; }
.date-chev { margin-left: auto; font-size: 22px; line-height: 1; color: #C6C6C6; }
.cta { width: 100%; height: 50px; border-radius: var(--r-pill); background: var(--color-ink); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); position: relative; overflow: hidden; transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.cta::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); transform: skewX(-18deg); transition: left 480ms var(--ease-out); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .20); }
.cta:hover::after { left: 130%; }
.cta:active { transform: scale(.985); }
.home-note { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: var(--color-muted); }
.home-note svg { width: 12px; height: 12px; color: var(--color-accent); }
/* 仅小程序环境：首页分享入口（跳原生分享页，再点右上角分享朋友圈） */
.home-share { width: max-content; margin: 12px auto 0; display: none; align-items: center; gap: 6px; padding: 7px 16px;
  border-radius: 999px; background: var(--color-fill-wash); border: 1px solid var(--color-line);
  font-size: 11.5px; color: var(--color-text-2); transition: background 160ms; }
.home-share.is-mini { display: flex; }
.home-share:active { background: var(--color-fill-soft); }
.home-share svg { width: 13px; height: 13px; color: var(--color-accent); }

/* ---------------- 底部导航 / 结算栏 / 确定栏 ---------------- */
.tabbar { height: var(--tabbar-h); flex: none; display: flex; background: #fff; border-top: 1px solid var(--color-line); z-index: 8; }
.app[data-chrome="plain"] .tabbar { display: none; }
.tabbar-item { flex: 1; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; color: #9A9A9A; transition: color 180ms, transform 180ms; }
.tabbar-item svg { width: 20px; height: 20px; }
.tabbar-item:hover { color: var(--color-ink); }
.tabbar-item.is-active { color: var(--color-ink); font-weight: 700; transform: translateY(-1px); }
.paybar, .confirmbar { height: 72px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #fff; border-top: 1px solid var(--color-line); z-index: 9; }
.pay-note { flex: 1; font-size: 12px; color: var(--color-muted); }
.pay-btn { flex: none; width: 168px; height: 46px; border-radius: 10px; background: var(--color-ink); color: #fff; font-size: 15px; font-weight: 700; transition: transform var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast); display: flex; align-items: center; justify-content: center; gap: 8px; }
.pay-btn:hover { background: var(--color-ink-soft); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.pay-btn:active { transform: scale(.97); }
.pay-btn.is-loading { opacity: .8; pointer-events: none; }
.pay-btn .spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#cal-summary { flex: 1; font-size: 12px; color: var(--color-muted); }
.confirm-btn { width: 186px; height: 46px; border-radius: var(--r-pill); background: var(--color-ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); transition: transform var(--dur-fast); }
.confirm-btn:active { transform: scale(.97); }

/* ---------------- 03 城市选择 ---------------- */
.screen--city { overflow: hidden; padding: 0; background: #fff; }
.screen--city.is-active { display: flex; flex-direction: column; }
.city-top { flex: none; padding: 12px 16px 12px; background: var(--color-surface-3); }
.city-search { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #EDEDED; border-radius: 10px; transition: box-shadow 180ms; }
.city-search:focus-within { box-shadow: 0 0 0 2px var(--color-fill-pale); }
.city-search svg { width: 16px; height: 16px; color: #9A9A9A; flex: none; }
.city-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13px; }
.city-search input::placeholder { color: #A5A5A5; }
.loc-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.loc-chip { min-height: 30px; padding: 0 10px; border-radius: 6px; background: #fff; font-size: 11px; color: var(--color-text-2); display: inline-flex; align-items: center; gap: 4px; transition: background 160ms, color 160ms; }
.loc-chip:hover { background: var(--color-fill-wash); color: var(--color-ink); }
.loc-chip--current { background: var(--color-fill-soft); color: var(--color-ink); font-weight: 700; }
.loc-chip svg { width: 12px; height: 12px; }
.city-tabs { flex: none; height: 46px; display: flex; padding: 0 12px; border-bottom: 1px solid var(--color-line); background: #fff; }
.city-tab { flex: 1; height: 46px; position: relative; font-size: 14px; color: var(--color-muted); transition: color 180ms; }
.city-tab:hover { color: var(--color-ink); }
.city-tab.is-active { color: var(--color-ink); font-weight: 700; }
.city-tab.is-active::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; border-radius: 3px; background: var(--color-accent); }
.city-scroll { flex: 1; overflow-y: auto; padding: 14px 44px 30px 16px; scrollbar-width: none; }
.city-scroll::-webkit-scrollbar { display: none; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.city-tile { height: 40px; border-radius: 6px; background: var(--color-surface-3); font-size: 13px; color: var(--color-text-2); display: grid; place-items: center; transition: background 160ms, color 160ms, transform 160ms; }
.city-tile:hover { background: var(--color-fill-wash); color: var(--color-ink); transform: translateY(-1px); }
.city-tile.is-current { background: var(--color-fill-soft); color: var(--color-ink); font-weight: 700; }
.alpha-title { height: 28px; margin: 20px 0 2px; padding: 0 10px; display: flex; align-items: center; background: #F6F6F6; font-size: 13px; font-weight: 700; color: var(--color-text-2); scroll-margin-top: 4px; }
.alpha-city { width: 100%; height: 44px; padding-left: 4px; text-align: left; border-bottom: 1px solid var(--color-line); font-size: 14px; transition: color 160ms, padding 160ms; }
.alpha-city:hover { color: var(--color-ink); padding-left: 10px; }
.rank-row { width: 100%; height: 48px; display: flex; align-items: center; gap: 12px; text-align: left; border-bottom: 1px solid var(--color-line); font-size: 14px; transition: color 160ms; }
.rank-row:hover { color: var(--color-ink); }
.rank-num { font-family: var(--font-num); font-size: 13px; color: #B6B6B6; width: 20px; }
.rank-row:nth-child(-n+3) .rank-num,
.rank-row.is-top .rank-num { color: var(--color-accent); }
.rank-tag { margin-left: auto; font-size: 10px; color: var(--color-muted); }
.search-row { width: 100%; height: 48px; display: flex; align-items: center; gap: 8px; text-align: left; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.search-row span:last-child { margin-left: auto; font-size: 10px; color: var(--color-muted); }
.empty-city { padding: 48px 10px; text-align: center; font-size: 13px; color: var(--color-muted); }
.empty-city--tight { padding: 40px 10px 18px; line-height: 1.9; }
/* 列表里没有的城市：手动输入 / 搜索无结果时直接指定 */
.city-manual { display: flex; gap: 8px; }
.city-manual-input { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--color-surface-3); border: 1px solid transparent; transition: border-color 180ms, background 180ms; }
.city-manual-input:focus-within { background: #fff; border-color: var(--color-ink); }
.city-manual-input svg { width: 15px; height: 15px; color: #9A9A9A; flex: none; }
.city-manual-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--color-ink); }
.city-manual-input input::placeholder { color: #A5A5A5; }
.city-manual-btn { flex: none; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--color-ink); color: #fff; font-size: 13px; font-weight: 700; transition: opacity 160ms, transform 160ms; }
.city-manual-btn:hover { opacity: .86; }
.city-manual-btn:active { transform: scale(.97); }
.city-manual-hint { margin-top: 8px; padding: 0 2px; font-size: 11px; line-height: 1.8; color: var(--color-muted); }
.city-manual-use { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px dashed var(--color-line-strong); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; color: var(--color-ink); transition: background 160ms, border-color 160ms; }
.city-manual-use svg { width: 14px; height: 14px; flex: none; }
.city-manual-use:hover { background: var(--color-fill-wash); border-color: var(--color-ink); }
.city-note { padding: 6px 4px; font-size: 12px; line-height: 1.9; color: var(--color-muted); }
.alpha-rail { position: absolute; right: 2px; top: 176px; bottom: 16px; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.alpha-rail button { width: 24px; min-height: 18px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; color: #8D8D8D; border-radius: 4px; transition: background 160ms, color 160ms; }
.alpha-rail button:hover, .alpha-rail button:focus-visible { background: var(--color-fill-soft); color: var(--color-ink); }
.screen--city.is-alpha-off .alpha-rail { display: none; }
.screen--city.is-alpha-off .city-scroll { padding-right: 16px; }
.alpha-rail button:first-child { font-size: 9px; color: var(--color-accent); font-weight: 700; }

/* ---------------- 04 日期选择 ---------------- */
.screen--calendar { overflow: hidden; padding: 0; background: #fff; }
.screen--calendar.is-active { display: flex; flex-direction: column; }
.cal-weekdays { flex: none; height: 34px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; text-align: center; background: var(--color-cal-head); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--color-line); }
.cal-weekdays span:first-child, .cal-weekdays span:last-child { color: var(--color-weekend); }
.cal-bar-wrap { flex: none; position: relative; display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--color-line); }
.cal-year-btn { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 28px; margin-left: 12px; padding: 0 6px 0 11px; border: 1px solid var(--color-line); border-radius: var(--r-pill); background: #fff; color: var(--color-ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background var(--dur-fast), color var(--dur-fast); }
.cal-year-btn svg { width: 11px; height: 11px; transition: transform var(--dur-fast); }
.cal-year-btn.is-open { background: var(--color-fill-soft); border-color: var(--color-ink); }
.cal-year-btn.is-open svg { transform: rotate(180deg); }
.cal-bar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 8px 12px 8px 24px; overflow-x: auto; overflow-y: hidden; background: #fff; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px); mask-image: linear-gradient(90deg, transparent 0, #000 22px); }
.cal-bar::-webkit-scrollbar { display: none; }
.cal-chip { flex: none; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--color-fill-soft); color: var(--color-ink-soft); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background var(--dur-fast), color var(--dur-fast); }
.cal-chip.is-active { background: var(--color-ink); color: #fff; }
/* 年份下拉：绝对定位浮在星期行之上，选中后只留该年 12 个月份胶囊 */
.cal-year-menu { position: absolute; top: calc(100% + 2px); left: 12px; z-index: 30; width: 178px; max-height: 246px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--color-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .16); scrollbar-width: thin; }
.cal-year-menu[hidden] { display: none; }
.cal-year-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--color-ink); text-align: left; font-variant-numeric: tabular-nums; }
.cal-year-item:hover { background: var(--color-fill-wash); }
.cal-year-item.is-active { background: var(--color-ink); color: #fff; }
.cal-year-tag { font-size: 10.5px; font-weight: 500; color: #A8A8A8; }
.cal-year-item.is-active .cal-year-tag { color: rgba(255, 255, 255, .72); }
.cal-months { flex: 1; overflow-y: auto; scrollbar-width: thin; padding-bottom: 10px; }
.cal-month-title { position: sticky; top: 0; z-index: 2; height: 46px; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: #fff; border-bottom: 1px solid var(--color-line); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--color-line); }
.cal-cell, .cal-blank { height: 62px; }
.cal-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; position: relative; transition: background 160ms, color 160ms; }
.cal-cell:disabled { color: #C4C4C4; cursor: not-allowed; }
.cal-cell:not(:disabled):hover { background: var(--color-fill-wash); }
.cal-cell.is-middle { background: var(--color-fill-soft); color: var(--color-ink); }
.cal-cell.is-edge { background: var(--color-ink); color: #fff; font-weight: 700; }
.cal-cell.is-edge:not(:disabled):hover { background: var(--color-ink-soft); }
.cal-cell.is-edge.is-start { border-radius: 4px 0 0 4px; }
.cal-cell.is-edge.is-end { border-radius: 0 4px 4px 0; }
.cal-cell.is-edge.is-start.is-end { border-radius: 4px; }
.cal-tag { font-size: 9px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.cal-cell.is-today:not(.is-edge)::after { content: ""; position: absolute; bottom: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); }
.cal-spacer { display: none; }

/* ---------------- 05 订单填写 ---------------- */
.screen--order { padding: 12px 12px 20px; }
.order-card { background: #fff; border-radius: var(--r-md); padding: 16px; box-shadow: var(--sh-1); }
.order-product { display: flex; align-items: flex-start; gap: 10px; }
.order-product-copy { flex: 1; min-width: 0; }
.order-product h2 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.order-product #order-sub { font-size: 11px; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-loc { margin-top: 8px; font-size: 12px; color: var(--color-ink); font-weight: 700; }
.order-thumb { width: 66px; height: 52px; border-radius: 6px; overflow: hidden; flex: none; }
.order-thumb svg { width: 100%; height: 100%; }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.order-chev { width: 14px; height: 14px; margin-top: 18px; color: #C6C6C6; flex: none; }
.order-date { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-line); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.order-date b { margin-left: 6px; font-size: 15px; }
.order-form { margin-top: 12px; padding: 2px 16px 14px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.form-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 58px; border-bottom: 1px solid var(--color-line); }
.form-row label { width: 76px; flex: none; display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--color-muted); }
.req { color: var(--color-red); }
.help-btn svg { width: 13px; height: 13px; color: #ACACAC; }
.form-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0; font-size: 14px; font-weight: 500; }
.form-row input::placeholder { color: #B0B0B0; font-weight: 400; }
.clear-btn { width: 18px; height: 18px; border-radius: 50%; background: #E4E4E4; color: #fff; display: grid; place-items: center; flex: none; }
.clear-btn svg { width: 10px; height: 10px; }
.row-icon { width: 20px; height: 20px; margin-left: 4px; color: #8E8E8E; flex: none; }
.dial-btn { display: flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 500; flex: none; }
.dial-btn svg { width: 13px; height: 13px; color: #8E8E8E; }
/* 验证码行：输入框 + 获取验证码按钮 */
.code-btn { flex: none; height: 32px; padding: 0 13px; border: 1px solid var(--color-ink); border-radius: 8px; background: #fff; color: var(--color-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: opacity var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.code-btn:hover { opacity: .82; }
.code-btn.is-sent, .code-btn:disabled { border-color: var(--color-line-strong); color: #9A9A9A; cursor: default; opacity: 1; font-weight: 500; }
.form-tip { margin-top: 12px; padding: 9px 10px; display: flex; align-items: center; gap: 7px; background: #F6F6F6; border-radius: 8px; font-size: 11px; color: #6E6E6E; }
.form-tip > svg { width: 14px; height: 14px; color: var(--color-accent); flex: none; }
.form-tip span { flex: 1; }
.form-tip button svg { width: 12px; height: 12px; color: #9A9A9A; }
/* 需求备注 / 需求文档：选填，与联系人信息用一条细线分开 */
.form-block { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--color-line); }
.form-block-head { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.form-block-title { font-size: 13px; font-weight: 700; color: var(--color-text); }
.form-optional { padding: 1px 5px; border: 1px solid #E6E6E6; border-radius: 4px; font-size: 10px; line-height: 1.4; color: #A2A2A2; }
.note-wrap { position: relative; }
.note-wrap textarea { width: 100%; min-height: 84px; max-height: 320px; padding: 11px 12px 12px; display: block; border: 1px solid var(--color-line-strong); border-radius: 10px; background: #FCFCFC; font: inherit; font-size: 13px; line-height: 1.6; color: var(--color-text); resize: none; overflow-y: auto; overscroll-behavior: contain; outline: none; transition: border-color 180ms, box-shadow 180ms, background 180ms; }
.note-wrap textarea::placeholder { color: #B0B0B0; }
.note-wrap textarea:focus { border-color: var(--color-ink); background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.note-count { margin-top: 5px; text-align: right; font-size: 11px; line-height: 1.4; color: #A8A8A8; font-variant-numeric: tabular-nums; }
.note-count.is-near { color: var(--color-accent); }
.doc-hint { margin-bottom: 9px; font-size: 11px; line-height: 1.5; color: #9A9A9A; }
.doc-pick { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #C9C9C9; border-radius: 10px; background: #FAFAFA; color: var(--color-text-2); font-size: 13px; font-weight: 700; transition: border-color 180ms, color 180ms, background 180ms; }
.doc-pick:hover { border-color: var(--color-ink); color: var(--color-ink); background: #fff; }
.doc-pick.is-full, .doc-pick.is-full:hover { border-color: #E2E2E2; background: #F7F7F7; color: #A8A8A8; }
.doc-pick svg { width: 17px; height: 17px; }
.doc-list:not(:empty) { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.doc-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #F6F6F6; }
.doc-item > svg { width: 16px; height: 16px; color: #7A7A7A; flex: none; }
.doc-name { flex: 1; min-width: 0; font-size: 12px; font-weight: 500; color: var(--color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-size { flex: none; font-size: 10px; color: #9A9A9A; font-variant-numeric: tabular-nums; }
.doc-del { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #9A9A9A; transition: background 160ms, color 160ms; }
.doc-del svg { width: 11px; height: 11px; }
.doc-del:hover { background: #E6E6E6; color: var(--color-ink); }
.form-error { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--color-red); }

.order-fineprint { margin-top: 14px; padding: 0 6px; font-size: 10px; line-height: 1.7; color: #9A9A9A; }

/* ---------------- 06 订单列表 ---------------- */
.screen--orders { padding: 18px 16px; }
.orders-kicker { font-family: var(--font-num); font-size: 10px; letter-spacing: .22em; color: var(--color-accent); }
.orders-head h2 { font-family: var(--font-display); font-size: 28px; font-weight: 900; letter-spacing: -.05em; line-height: 1.3; }
.orders-sub { font-size: 12px; color: var(--color-muted); }
/* 订单页「微信提醒」入口：仅小程序环境显示，点了跳小程序原生授权页 */
.orders-notify { margin-top: 12px; width: 100%; padding: 10px 14px; display: flex; align-items: center;
                 background: #fff; border-radius: 12px; box-shadow: var(--sh-1);
                 font-size: 12px; font-weight: 600; color: var(--color-ink); text-align: left; }
.orders-notify::before { content: ''; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
                         background: var(--color-accent); flex: none; }
.orders-notify::after { content: '开启'; margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill);
                        background: var(--color-accent); color: #fff; font-size: 11px; flex: none; }
/* 服务类型分段控件：全部 / 陪同翻译 / 同声传译 */
.type-seg { display: flex; gap: 2px; padding: 3px; margin: 16px 0 10px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-1); }
.type-seg-btn { flex: 1; min-width: 0; height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 6px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500; color: var(--color-muted); white-space: nowrap; transition: background 170ms, color 170ms; }
.type-seg-btn:hover { color: var(--color-ink); }
.type-seg-btn.is-active { background: var(--color-ink); color: #fff; font-weight: 700; }
.seg-count { flex: none; font-family: var(--font-num); font-size: 10px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; padding: 1px 5px; border-radius: var(--r-pill); background: var(--color-fill-soft); color: #9A9A9A; }
.type-seg-btn.is-active .seg-count { background: rgba(255, 255, 255, .18); color: #fff; }
.orders-filter { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.filter-label { flex: none; margin-right: 1px; font-size: 11px; letter-spacing: .04em; color: #B0B0B0; }
.filter-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; min-width: 56px; padding: 0 13px; border-radius: var(--r-pill); background: #fff; font-size: 12px; color: var(--color-muted); transition: background 160ms, color 160ms; }
.filter-chip:hover { background: var(--color-fill-soft); color: var(--color-ink); }
.filter-chip.is-active { background: var(--color-ink); color: #fff; font-weight: 700; }
.chip-count { font-family: var(--font-num); font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #B4B4B4; }
.filter-chip:hover .chip-count { color: var(--color-muted); }
.filter-chip.is-active .chip-count { color: rgba(255, 255, 255, .62); }
.order-entry { background: #fff; border-radius: var(--r-md); padding: 14px; margin-bottom: 10px; box-shadow: var(--sh-1); text-align: left; width: 100%; display: block; cursor: pointer; transition: box-shadow var(--dur-fast), transform var(--dur-fast); }
.order-entry:hover { box-shadow: var(--sh-2); }
.order-entry:active { transform: scale(.995); }
.order-entry-top { display: flex; align-items: center; gap: 8px; }
.order-entry h3 { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; }
.order-entry-chev { width: 13px; height: 13px; flex: none; color: #C6C6C6; }
.order-status { font-size: 11px; font-weight: 700; color: var(--color-ink); background: var(--color-fill-soft); padding: 3px 8px; border-radius: var(--r-pill); }
.order-status.is-done { color: var(--color-muted); background: #F2F2F2; }
.order-entry p { margin-top: 8px; font-size: 12px; color: var(--color-muted); }
.order-entry-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--color-line); display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #9A9A9A; }
.order-entry-foot b { font-family: var(--font-num); font-size: 15px; color: var(--color-text); }
.order-entry-foot button { font-size: 12px; font-weight: 700; color: var(--color-ink); }
.order-entry .order-entry-hint { margin-top: 6px; font-size: 11px; color: #A5A5A5; }
.empty-state { padding: 54px 20px; text-align: center; }
.empty-art { width: 92px; height: 92px; margin: 0 auto; border: 1.5px dashed var(--color-fill-pale); border-radius: 50%; display: grid; place-items: center; background: var(--color-fill-wash); }
.empty-art svg { width: 38px; height: 38px; color: var(--color-muted); opacity: .65; }
.empty-state h3 { margin-top: 18px; font-size: 15px; font-weight: 700; }
.empty-state p { margin: 6px 0 18px; font-size: 12px; color: var(--color-muted); }
.empty-cta { height: 36px; padding: 0 22px; border-radius: var(--r-pill); background: var(--color-fill-soft); color: var(--color-ink); font-size: 13px; font-weight: 700; transition: background 160ms, transform 160ms; }
.empty-cta:hover { background: var(--color-fill-pale); transform: translateY(-2px); }

/* ---------------- 07 订单详情 ---------------- */
.screen--detail { padding: 12px 14px 22px; }
.dt-hero { position: relative; overflow: hidden; padding: 16px 16px 14px; border-radius: var(--r-md); background: var(--color-ink); color: #fff; box-shadow: var(--sh-2); }
.dt-hero::before, .dt-hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; }
.dt-hero::before { right: -22px; top: -40px; width: 132px; height: 132px; }
.dt-hero::after { right: 4px; top: -14px; width: 84px; height: 84px; border-color: rgba(255, 255, 255, .055); }
.dt-hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.dt-hero-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.dt-hero-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; }
.dt-hero-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }
.dt-hero-badge.is-done::before { background: rgba(255, 255, 255, .45); }
.dt-hero-title { position: relative; margin-top: 13px; font-family: var(--font-display); font-size: 26px; font-weight: 900; letter-spacing: -.045em; line-height: 1.2; }
.dt-hero-sub { position: relative; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .72); }
.dt-hero-foot { position: relative; margin-top: 15px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; color: rgba(255, 255, 255, .58); }
.dt-hero-foot strong { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #fff; text-align: right; }

.dt-card { margin-top: 10px; padding: 14px 16px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.dt-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.dt-chip { flex: none; height: 20px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--color-fill-soft); color: var(--color-muted); font-size: 10px; font-weight: 700; }
.dt-chip.is-ok { background: var(--color-ink); color: #fff; }

.dt-service { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--color-line); }
.dt-thumb { width: 58px; height: 44px; flex: none; border-radius: 6px; overflow: hidden; }
.dt-thumb svg { width: 100%; height: 100%; }
.dt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-service h3 { font-size: 14px; font-weight: 700; }
.dt-service p { margin-top: 3px; font-size: 11px; color: var(--color-muted); }

.dt-list > div { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--color-line); }
.dt-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dt-list dt { width: 62px; flex: none; font-size: 12px; color: var(--color-muted); line-height: 1.6; }
.dt-list dd { flex: 1; min-width: 0; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--color-text); line-height: 1.6; word-break: break-word; }
.dt-list dd.is-pending { font-weight: 400; color: #9A9A9A; }
.dt-mono { font-family: var(--font-mono); font-size: 12px !important; letter-spacing: .01em; }

.dt-interp { display: flex; align-items: center; gap: 11px; margin-top: 12px; }
.dt-interp-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink); color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.dt-interp-avatar.is-wait { background: var(--color-fill-soft); color: #8C8C8C; }
.dt-interp-copy { flex: 1; min-width: 0; }
.dt-interp-copy h3 { font-size: 14px; font-weight: 700; }
.dt-interp-copy p { margin-top: 3px; font-size: 11px; color: var(--color-muted); }
.dt-note { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: var(--color-fill-wash); font-size: 11px; line-height: 1.7; color: #6E6E6E; }
/* 需求备注与文档：保留用户填写的换行，长串文件名不撑破卡片 */
.dt-requirement { margin-top: 12px; }
.dt-card-title + .dt-requirement { margin-top: 8px; }
.dt-req-label { margin-bottom: 5px; font-size: 11px; color: var(--color-muted); }
.dt-req-text { padding: 10px 11px; border-radius: 8px; background: var(--color-fill-wash); font-size: 12.5px; line-height: 1.75; color: var(--color-text-2); white-space: pre-wrap; word-break: break-word; }
/* 长备注：默认只显示前 180 字 + 省略号，点「展开全文」显示完整文本 */
.dt-req-more { margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--color-accent); }
.dt-req-more:hover { opacity: .78; }
.dt-req-empty { font-size: 12.5px; color: #9A9A9A; }
.dt-docs { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.dt-doc { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; background: var(--color-fill-wash); font-size: 12px; }
.dt-doc svg { width: 15px; height: 15px; color: #7A7A7A; flex: none; }
.dt-doc span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text); }
.dt-doc em { flex: none; font-style: normal; font-size: 10px; color: #9A9A9A; }

.dt-fineprint { margin-top: 14px; padding: 0 4px; font-size: 10px; line-height: 1.8; color: #9A9A9A; }

.dt-bar { height: 72px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border-top: 1px solid var(--color-line); z-index: 9; }
.dt-btn { flex: 1; height: 46px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: background var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast); }
.dt-btn:active { transform: scale(.98); }
.dt-btn--ghost { background: var(--color-fill-soft); color: var(--color-ink); }
.dt-btn--ghost:hover { background: var(--color-fill-pale); }
.dt-btn--primary { background: var(--color-ink); color: #fff; }
.dt-btn--primary:hover { background: var(--color-ink-soft); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.dt-btn--primary:focus-visible { outline: 2px solid #fff; outline-offset: -4px; box-shadow: 0 0 0 4px var(--color-accent); }

/* ---------------- 08 我的 ---------------- */
.screen--profile { padding: 16px; }
.profile-hero { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 16px; text-align: left; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); transition: box-shadow var(--dur-fast); }
.profile-hero:hover { box-shadow: var(--sh-2); }
.profile-avatar { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink); color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 700; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 未登录：头像退成浅灰，别让人以为已经登录了某个账号 */
.profile-avatar.is-guest { background: var(--color-fill-soft); color: var(--color-muted); box-shadow: inset 0 0 0 1.5px var(--color-line); }
.profile-avatar.is-guest svg { width: 24px; height: 24px; }
.profile-id { flex: 1; min-width: 0; }
.profile-hero h2 { font-size: 16px; font-weight: 700; }
.profile-hero p { margin-top: 3px; font-size: 11px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.profile-chev { width: 16px; height: 16px; margin-left: auto; color: #C6C6C6; flex: none; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; }
.profile-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 0; border: 0; border-right: 1px solid var(--color-line); background: transparent; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 160ms; }
.profile-stat:last-child { border-right: 0; }
.profile-stat:hover { background: var(--color-fill-wash); }
.profile-stat:active { background: var(--color-fill-soft); }
.profile-stat:focus-visible { outline: 2px solid var(--color-ink); outline-offset: -3px; }
.profile-stat strong { font-family: var(--font-num); font-size: 18px; letter-spacing: -.03em; }
.profile-stat strong.is-empty { color: var(--color-muted); }
.profile-stat span { font-size: 10px; color: var(--color-muted); }
.profile-menu { margin-top: 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; }
.profile-menu button { width: 100%; height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--color-line); font-size: 13px; text-align: left; transition: background 160ms; }
.profile-menu button:last-child { border-bottom: 0; }
.profile-menu button:hover { background: var(--color-fill-wash); }
.profile-menu button > svg:first-child { width: 18px; height: 18px; color: var(--color-ink); }
.profile-menu span { flex: 1; }
.menu-chev { width: 14px; height: 14px; color: #C6C6C6; }
.profile-foot { margin-top: 24px; text-align: center; font-size: 10px; line-height: 1.9; color: #B0B0B0; }

/* ---------------- 09 我的城市 ---------------- */
.screen--cities { padding: 16px; }
.ct-hero { position: relative; overflow: hidden; padding: 16px; border-radius: var(--r-md); background: var(--color-ink); color: #fff; box-shadow: var(--sh-2); }
.ct-hero::before, .ct-hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; }
.ct-hero::before { right: -24px; top: -46px; width: 140px; height: 140px; }
.ct-hero::after { right: 6px; top: -18px; width: 88px; height: 88px; border-color: rgba(255, 255, 255, .055); }
.ct-hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ct-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.ct-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ct-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }
.ct-badge.is-empty::before { background: rgba(255, 255, 255, .4); }
.ct-hero-title { position: relative; margin-top: 12px; font-family: var(--font-display); font-size: 40px; font-weight: 900; letter-spacing: -.06em; line-height: 1.06; }
.ct-hero-title.is-empty { color: rgba(255, 255, 255, .5); letter-spacing: 0; }
.ct-hero-sub { position: relative; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .72); line-height: 1.6; }
.ct-hero-foot { position: relative; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 11px; color: rgba(255, 255, 255, .6); }
.ct-hero-foot strong { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .01em; color: #fff; }

.ct-block { margin-top: 12px; padding: 14px 0 6px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.ct-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 16px 10px; }
.ct-block-head h3 { font-size: 13px; font-weight: 700; }
.ct-block-head span { flex: none; font-size: 10px; color: #A6A6A6; }

.ct-item { border-top: 1px solid var(--color-line); }
.ct-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-align: left; transition: background 160ms; }
.ct-row:hover { background: var(--color-fill-wash); }
.ct-row:focus-visible { outline-offset: -3px; }
.ct-seal { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--color-fill-soft); font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--color-ink); }
.ct-item.is-top .ct-seal { background: var(--color-ink); color: #fff; }
.ct-main { flex: 1; min-width: 0; }
.ct-name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.ct-tag { flex: none; padding: 2px 6px; border-radius: 4px; background: var(--color-fill-soft); color: var(--color-muted); font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.ct-item.is-top .ct-tag { background: var(--color-ink); color: #fff; }
.ct-meta { display: block; margin-top: 3px; font-size: 11px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.ct-chev { width: 14px; height: 14px; flex: none; color: #C6C6C6; transition: transform 200ms, color 200ms; }
.ct-row[aria-expanded="true"] .ct-chev { transform: rotate(90deg); color: var(--color-ink); }
.ct-orders { padding: 0 16px 10px; }
.ct-order { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; border-radius: 8px; background: var(--color-fill-wash); text-align: left; transition: background 160ms; }
.ct-order:hover { background: var(--color-fill-soft); }
.co-main { flex: 1; min-width: 0; }
.co-main strong { display: block; font-size: 12.5px; font-weight: 700; }
.co-main small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.co-status { flex: none; padding: 3px 8px; border-radius: var(--r-pill); background: #fff; font-size: 10px; font-weight: 700; color: var(--color-ink); }
.co-status.is-done { color: #9A9A9A; }
.ct-empty { padding: 26px 16px 30px; text-align: center; }
.ct-empty h4 { font-size: 13px; font-weight: 700; }
.ct-empty p { margin-top: 5px; font-size: 11px; color: var(--color-muted); }
.ct-fineprint { margin-top: 12px; padding: 0 6px; font-size: 10px; line-height: 1.8; color: #A0A0A0; }

/* ---------------- 09 我的资料 ---------------- */
.screen--myinfo { padding: 16px; }
.mi-card { padding: 16px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.mi-card + .mi-card { margin-top: 12px; }
.mi-head h2 { font-size: 13px; font-weight: 700; }
.mi-head p { margin-top: 3px; font-size: 11px; color: var(--color-muted); }
.mi-avatars { display: flex; flex-wrap: wrap; gap: clamp(8px, 2.6vw, 12px); margin-top: 14px; }
.mi-avatar { position: relative; flex: none; width: clamp(44px, 13.4vw, 52px); height: clamp(44px, 13.4vw, 52px); border-radius: 50%; display: grid; place-items: center; background: var(--color-fill-soft); color: #8C8C8C; font-family: var(--font-display); font-size: clamp(18px, 5.1vw, 20px); font-weight: 700; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.mi-avatar:hover { transform: translateY(-2px); }
.mi-avatar.is-active { background: var(--color-ink); color: #fff; }
.mi-avatar.is-active::after { content: ""; position: absolute; right: -1px; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); border: 2px solid #fff; }
/* 上传位：虚线描边 + 相机图标，上传后显示照片 */
.mi-avatar--upload { background: #fff; border: 1px dashed #C9C9C9; color: #A8A8A8; }
.mi-avatar--upload:hover { border-color: var(--color-ink); color: var(--color-ink); }
.mi-avatar--upload.is-active { background: #fff; border: 0; color: var(--color-ink); }
.mi-avatar--upload.is-active::after { right: -2px; bottom: 1px; }
.mi-avatar-ico { width: 22px; height: 22px; }
.mi-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.mi-avatar-img[hidden] { display: none; }
.mi-avatar--upload.has-photo .mi-avatar-ico { display: none; }
.mi-avatar-tip { margin-top: 10px; font-size: 10px; line-height: 1.6; color: #ABABAB; }
.mi-row { display: flex; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid var(--color-line); }
.mi-row:last-of-type { border-bottom: 0; }
.mi-row label { width: 82px; flex: none; font-size: 13px; color: var(--color-muted); }
.mi-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 14px; font-weight: 500; }
.mi-row input::placeholder { color: #B0B0B0; font-weight: 400; }
/* 手机号即登录账号，只读展示 */
.mi-row input[readonly] { color: var(--color-muted); cursor: default; }
.mi-tip { margin-top: 12px; padding: 9px 10px; display: flex; gap: 7px; background: #F6F6F6; border-radius: 8px; font-size: 11px; line-height: 1.7; color: #6E6E6E; }
.mi-tip svg { width: 14px; height: 14px; color: var(--color-accent); flex: none; margin-top: 1px; }
.mi-save { width: 100%; margin-top: 16px; height: 48px; border-radius: 10px; background: var(--color-ink); color: #fff; font-size: 15px; font-weight: 700; transition: background var(--dur-fast), transform var(--dur-fast); }
.mi-save:hover { background: var(--color-ink-soft); }
.mi-save:active { transform: scale(.99); }
.mi-fine { margin-top: 12px; text-align: center; font-size: 10px; line-height: 1.7; color: #9A9A9A; }
/* 我的资料底部退出登录：描边弱化按钮，点击后清登录态回登录页 */
.mi-logout { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 46px; margin-top: 14px; border: 1px solid var(--color-line); border-radius: 10px; background: #fff; color: var(--color-red); font-size: 14px; font-weight: 700; transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); }
.mi-logout svg { width: 16px; height: 16px; }
.mi-logout:hover { background: #FEF3F3; border-color: rgba(214, 40, 40, .3); }
.mi-logout:active { transform: scale(.99); }

/* 我的资料底部注销账号：纯文字弱化按钮，二次确认后调 account.delete */
.mi-delete { display: block; margin: 14px auto 0; padding: 4px 10px; background: none; border: 0; color: #9A9A9A; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.mi-delete:hover { color: var(--color-red); }

/* ---------------- 登录 / 注册 ---------------- */
.auth-hero { padding: 26px 18px 6px; }
.auth-kicker { font-family: 'Archivo Black', 'Noto Sans SC', sans-serif; font-size: 11px; letter-spacing: .32em; color: var(--color-red); }
.auth-hero h1 { margin-top: 8px; font-family: 'Noto Serif SC', serif; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.auth-sub { margin-top: 8px; font-size: 12px; line-height: 1.7; color: #8A8A8A; }
.auth-tabs { margin: 16px 18px 0; display: flex; gap: 4px; padding: 4px; background: #F2F2F2; border-radius: 10px; }
.auth-tabs button { flex: 1; height: 38px; border-radius: 7px; font-size: 13px; font-weight: 700; color: #8A8A8A; transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.auth-tabs button.is-active { background: #fff; color: var(--color-ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.auth-card { margin: 12px 18px 0; padding: 4px 18px 20px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.auth-card .mi-save { margin-top: 22px; }
.auth-card .mi-save:disabled { opacity: .6; }
/* 微信一键登录（仅小程序 web-view 环境显示）：红底主按钮，手机号登录顺势变次按钮 */
.auth-wx-btn { background: var(--color-red); }
.auth-wx-btn:hover { background: #C80010; }
.auth-wx-btn + .mi-save { margin-top: 10px; }
/* 小程序里不做手机号注册：隐藏切换标签与手机号/密码表单，只留微信登录 */
.screen--auth.is-wx .auth-tabs,
.screen--auth.is-wx .auth-card .form-row,
.screen--auth.is-wx #auth-submit,
.screen--auth.is-wx .auth-fine { display: none; }
.screen--auth.is-wx .auth-wx-btn { margin-top: 24px; }
.auth-fine { margin-top: 12px; font-size: 10px; line-height: 1.8; color: #9A9A9A; text-align: center; }
/* 退出登录：普通菜单里的红色弱化项 */
.profile-logout span { color: var(--color-red); font-weight: 700; }
.profile-logout > svg:first-child { color: var(--color-red) !important; }

/* ---------------- 10 服务协议与隐私政策 ---------------- */
.screen--legal { padding: 0 0 24px; background: #fff; }
.legal-head { padding: 20px 18px 16px; background: var(--color-ink); color: #fff; }
.legal-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: rgba(255, 255, 255, .6); }
.legal-head h1 { margin-top: 10px; font-family: var(--font-display); font-size: 23px; font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
.legal-sub { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.legal-meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 10px; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.legal-body { padding: 18px 18px 4px; }
.legal-lead { padding-bottom: 14px; border-bottom: 1px solid var(--color-line); font-size: 12px; line-height: 1.95; color: var(--color-text-2); }
.legal-body h2 { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.legal-body h2::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--color-accent); vertical-align: 2px; }
.legal-body p { margin-top: 8px; font-size: 11.5px; line-height: 1.95; color: #4A4A4A; }
/* 后台富文本可能用到更丰富的排版，这里补齐配套样式 */
.legal-body h3 { margin-top: 16px; font-size: 12.5px; font-weight: 700; }
.legal-body h4 { margin-top: 12px; font-size: 12px; font-weight: 700; color: #333; }
.legal-body ul, .legal-body ol { margin: 8px 0 0; padding-left: 18px; }
.legal-body li { margin-top: 4px; font-size: 11.5px; line-height: 1.95; color: #4A4A4A; }
.legal-body blockquote { margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid var(--color-accent); background: #FAFAFA; font-size: 11.5px; line-height: 1.95; color: #4A4A4A; }
.legal-body a { color: var(--color-accent); text-decoration: underline; }
.legal-body strong { font-weight: 700; color: #1A1A1A; }
.legal-body img, .sp-extra-body img { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 6px; }
.legal-body table, .sp-extra-body table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 11px; }
.legal-body th, .legal-body td, .sp-extra-body th, .sp-extra-body td { border: 1px solid var(--color-line); padding: 6px 8px; text-align: left; vertical-align: top; }
.legal-body th, .sp-extra-body th { background: #F7F7F7; font-weight: 600; }
.legal-body hr, .sp-extra-body hr { margin: 14px 0; border: 0; border-top: 1px solid var(--color-line); }
.legal-body > :first-child, .rich-text > :first-child { margin-top: 0; }

/* 富文本通用排版（客服页「服务说明」等） */
.rich-text { margin-top: 8px; font-size: 11.5px; line-height: 1.95; color: #4A4A4A; }
.rich-text h2 { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--color-text); }
.rich-text h3 { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--color-text); }
.rich-text h4 { margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--color-text); }
.rich-text p { margin-top: 8px; }
.rich-text ul, .rich-text ol { margin-top: 8px; padding-left: 18px; }
.rich-text li { margin-top: 4px; }
.rich-text a { color: var(--color-accent); text-decoration: underline; }
.rich-text strong { font-weight: 700; color: #1A1A1A; }
.rich-text blockquote { margin-top: 10px; padding: 8px 12px; border-left: 2px solid var(--color-accent); background: #FAFAFA; }
.legal-contact { padding: 10px 12px; border-radius: 8px; background: var(--color-fill-wash); color: #3D3D3D !important; line-height: 2 !important; }
.legal-foot { margin: 18px 18px 0; text-align: center; font-size: 10px; color: #9A9A9A; }
.fine-link { display: inline; padding: 0; border: 0; background: none; font: inherit; color: var(--color-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; cursor: pointer; }

/* ---------------- 11 联系客服 ---------------- */
.screen--support { padding: 16px; }
.sp-hero { position: relative; overflow: hidden; padding: 18px 16px; border-radius: var(--r-md); background: var(--color-ink); color: #fff; box-shadow: var(--sh-2); }
.sp-hero::after { content: ""; position: absolute; right: -30px; top: -44px; width: 142px; height: 142px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; }
.sp-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: rgba(255, 255, 255, .6); }
.sp-hero h1 { position: relative; margin-top: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 900; line-height: 1.35; letter-spacing: -.035em; }
.sp-hours { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: rgba(255, 255, 255, .75); }
.sp-hours svg { width: 13px; height: 13px; flex: none; }
.sp-actions { display: flex; gap: 10px; margin-top: 12px; }
.sp-call { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; background: var(--color-ink); color: #fff; font-size: 13px; font-weight: 700; transition: background var(--dur-fast); }
.sp-call:hover { background: var(--color-ink-soft); }
.sp-call svg { width: 16px; height: 16px; flex: none; }
.sp-mail { flex: none; height: 46px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--color-ink); font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--color-line-strong); }
.sp-card { margin-top: 12px; padding: 16px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.sp-card-title { font-size: 13px; font-weight: 700; }
.sp-list > div { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--color-line); }
.sp-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-list dt { width: 66px; flex: none; font-size: 12px; color: var(--color-muted); line-height: 1.6; }
.sp-list dd { flex: 1; min-width: 0; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--color-text); line-height: 1.6; word-break: break-word; }
.sp-mono { font-family: var(--font-mono); font-size: 12px !important; }
.sp-fine { margin-top: 14px; padding: 0 6px; text-align: center; font-size: 10px; line-height: 1.8; color: #9A9A9A; }
.faq { margin-top: 4px; }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { position: relative; padding: 11px 24px 11px 0; list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 500; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 15px; width: 7px; height: 7px; border-right: 1.6px solid #9A9A9A; border-bottom: 1.6px solid #9A9A9A; transform: rotate(45deg); transition: transform var(--dur-fast); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 18px; }
.faq details p { padding: 0 8px 12px 0; font-size: 11.5px; line-height: 1.9; color: #6E6E6E; }

/* ---------------- 轻提示 / 弹层 ---------------- */
.toast { position: absolute; left: 50%; bottom: 92px; z-index: 30; max-width: 86%; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .92); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(-50%) translateY(10px); transition: opacity 220ms, transform 220ms var(--ease-out); }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(0, 0, 0, .46); backdrop-filter: blur(3px); padding: 24px; }
.modal-panel { width: 100%; max-width: 300px; padding: 26px 22px 22px; border-radius: 20px; background: #fff; text-align: center; box-shadow: var(--sh-3); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .modal:not([hidden]) .modal-panel { animation: modalIn 380ms var(--ease-out) both; } }
.modal-check { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.modal-check svg { width: 30px; height: 30px; color: #fff; }
.modal-panel h2 { font-size: 20px; font-weight: 700; }
.modal-panel > p { margin-top: 6px; font-size: 12px; color: var(--color-muted); }
.modal-meta { margin-top: 18px; padding: 10px 12px; display: flex; justify-content: space-between; background: var(--color-surface-3); border-radius: 8px; font-size: 11px; color: var(--color-muted); }
.modal-meta strong { font-family: var(--font-mono); color: var(--color-text); }
/* 预约成功弹层里的「微信提醒」入口：仅小程序环境显示，点了跳小程序原生授权页 */
.modal-notify { margin-top: 12px; width: 100%; padding: 9px 0; border-radius: 8px; background: transparent;
                font-size: 12px; font-weight: 600; color: var(--color-accent); }
.modal-notify::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px;
                        border-radius: 50%; background: var(--color-accent); vertical-align: 2px; }
.modal-actions { margin-top: 14px; display: flex; gap: 10px; }
.modal-actions button { flex: 1; height: 42px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; }
.modal-ghost { background: var(--color-fill-soft); color: var(--color-ink); }
.modal-primary { background: var(--color-ink); color: #fff; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
  .shell { grid-template-columns: 1fr; gap: 44px; padding: 40px 32px 64px; }
  .rail { gap: 28px; }
  .rail::before { display: none; }
  .rail-title { font-size: clamp(38px, 6vw, 54px); }
  .rail-desc { max-width: 56ch; }
  .flow-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
  .stage { width: min(100%, 520px); margin: 0 auto; }
}
@media (max-width: 640px) {
  body { background: var(--color-surface-2); }
  .atmosphere, .grain::after, .rail, .stage-head, .stage-caption, .device-shadow { display: none !important; }
  .shell { display: block; min-height: 100vh; min-height: 100dvh; padding: 0; }
  .stage { width: 100%; gap: 0; }
  .device-wrap { width: 100%; }
  .device { width: 100%; height: 100vh; height: 100dvh; padding: 0; border-radius: 0; box-shadow: none; }
  .device::before { display: none; }
  .device-inner { border-radius: 0; }
  .tabbar { padding-bottom: env(safe-area-inset-bottom, 0px); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}
/* 矮屏桌面：整体等比缩放，保证设备 + 文案一屏可见 */
@media (max-height: 1100px) and (min-width: 641px) {
  .shell { padding-top: 26px; padding-bottom: 26px; }
  .stage { gap: 14px; }
  .device { transform: scale(.87); transform-origin: top center; }
  .device-wrap { height: calc(var(--device-h) * .87 + 18px); }
}
@media (max-height: 760px) and (min-width: 641px) {
  .device { transform: scale(.72); }
  .device-wrap { height: calc(var(--device-h) * .72 + 12px); }
}

/* 需求文档可下载时整行可点 */
a.dt-doc { text-decoration: none; }
a.dt-doc:hover { background: #EFEFEF; }
