:root {
  --ink: #0b1f33;
  --ink-2: #3d556e;
  --ink-3: #7a8fa6;
  --line: #e3e9f0;
  --bg: #f2f5f9;
  --card: #ffffff;
  --brand: #0e2a47;
  --brand-2: #17466f;
  --accent: #d6192b;
  --ok: #12a06a;
  --warn: #e08a00;
  --busy: #d93a45;
  --mute: #9aa9b8;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(11, 31, 51, 0.06), 0 12px 32px rgba(11, 31, 51, 0.05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: 92px; overflow-x: hidden; }

/* 备案信息：site-config.js 填入后显示，留空时整块高度为 0 */
.icp { padding: 6px 16px 16px; text-align: center; font-size: 11px; line-height: 1.8; color: #9aa2ad; }
.icp:empty { display: none; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }

/* ---------- 顶部 ---------- */
.hero {
  position: relative;
  padding: 20px 18px 66px;
  background: linear-gradient(140deg, #0a2135 0%, #123f63 62%, #1b5c86 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brandline {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  font-size: 11.5px; letter-spacing: .1em; color: rgba(255,255,255,.72); font-weight: 600;
  white-space: nowrap; overflow: hidden;
}
.brand-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px rgba(214,25,43,.25); }
.hero h1 { margin: 14px 0 2px; font-size: 26px; letter-spacing: .01em; font-weight: 700; }
.hero h1 .brand-name { white-space: nowrap; }
.hero h1 .brand-name i {
  font-style: normal; font-size: .92em; font-weight: 800;
  letter-spacing: .04em; margin: 0 1px; opacity: .95;
  text-transform: uppercase;
}
.hero p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.6; }
.hero-badge {
  flex: none; font-size: 11px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08); letter-spacing: .05em;
}

/* ---------- 日期卡 ---------- */
.sheet-wrap { margin-top: -46px; padding: 0 14px; position: relative; z-index: 2; }
.panel {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px;
}
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-btn {
  border: 1.5px solid var(--line); background: #fbfcfe; border-radius: 13px;
  padding: 11px 12px; text-align: left; cursor: pointer; transition: .18s; color: var(--ink-2);
}
.date-btn .d1 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.date-btn .d2 { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.date-btn.on { border-color: var(--brand); background: linear-gradient(160deg, #12395b, #0d2b47); }
.date-btn.on .d1 { color: #fff; }
.date-btn.on .d2 { color: rgba(255,255,255,.66); }
.date-btn:disabled { opacity: .45; cursor: not-allowed; }

.stats { display: flex; gap: 8px; margin-top: 12px; }
.stat {
  flex: 1; background: #f7f9fc; border-radius: 11px; padding: 9px 10px;
  display: flex; flex-direction: column; gap: 1px;
}
.stat b { font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat span { font-size: 11px; color: var(--ink-3); }
.stat.ok b { color: var(--ok); }
.stat.busy b { color: var(--busy); }

/* ---------- 器材选择：机身 / 镜头 / 配件 下拉 ---------- */
.picker {
  margin: 12px 14px 0; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 14px 13px;
  display: flex; flex-direction: column; gap: 10px;
}
.picker-hd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.picker-hd b { font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
.picker-hd span { font-size: 11.5px; color: var(--ink-3); }
.picker-tip {
  margin: -2px 0 0; padding: 7px 10px; border-radius: 9px;
  background: #f4f8fc; border: 1px solid #e3edf7;
  font-size: 11.5px; line-height: 1.55; color: #5b7088;
}

.picker-row { display: flex; align-items: stretch; gap: 9px; margin: 0; }
.pr-k {
  flex: none; width: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: .06em;
  background: linear-gradient(150deg, #1b4a70, #0d2b47); border-radius: 11px;
}
.pr-sel { position: relative; flex: 1 1 auto; min-width: 0; display: block; }
.pr-sel select {
  width: 100%; height: 100%; min-height: 46px;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 12px 34px 12px 12px;
  border: 1.5px solid #e2e9f2; border-radius: 11px; background: #fbfdff;
  color: var(--ink); font-size: 13.5px; font-family: inherit; line-height: 1.3;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.pr-sel select:focus { outline: none; border-color: #9db8d3; background: #fff; }
.pr-sel select option { font-size: 15px; color: var(--ink); }
.pr-sel select option:disabled { color: #a9b6c5; }
.pr-ar {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #8b9cb0; pointer-events: none;
}

.picker-sum {
  background: #f7fafd; border: 1px dashed #dde7f2; border-radius: 11px;
  padding: 9px 11px; font-size: 13px;
}
.ps-empty { color: var(--ink-3); font-size: 12.5px; }
.ps-line { display: flex; align-items: center; gap: 7px; padding: 3px 0; min-width: 0; }
.ps-line + .ps-line { border-top: 1px dotted #e3ebf4; }
.ps-k {
  flex: none; width: 46px; text-align: center; box-sizing: border-box;
  font-size: 10.5px; font-weight: 700; color: #fff; background: #232b36;
  border-radius: 4px; padding: 2px 0; letter-spacing: .02em;
}
.ps-line b { flex: none; font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ps-line i {
  flex: 1 1 auto; min-width: 0; font-style: normal; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.picker-err { color: var(--busy); font-size: 12.5px; }

/* ---------- 借用信息（首页内联表单） ---------- */
.booker {
  margin: 12px 14px 0; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 14px 15px;
  display: flex; flex-direction: column; gap: 10px;
}
.booker .field-label { margin: 6px 0 2px; }
.bk-time {
  background: #f7fafd; border: 1px dashed #dde7f2; border-radius: 11px; padding: 8px 11px;
}
.bk-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }
.bk-line + .bk-line { border-top: 1px dotted #e3ebf4; }
.bk-line span { flex: none; color: var(--ink-3); font-size: 12.5px; }
.bk-line b { font-weight: 650; text-align: right; }
.bk-warn { margin-top: 7px; font-size: 12px; color: var(--busy); line-height: 1.5; }
.bk-inputs { display: flex; flex-direction: column; gap: 9px; }
.bk-err { color: var(--busy); font-size: 12.5px; line-height: 1.5; }
.bk-submit { margin-top: 2px; }
.bk-submit:disabled { opacity: .5; }
.bk-back { margin-top: 9px; width: 100%; }

/* 核对弹窗 */
.rv-sec {
  border: 1px solid #e8eef6; border-radius: 12px; padding: 10px 12px;
  background: #fbfdff; margin: 10px 0;
}
.rv-hd { font-size: 11.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 4px; }
.rv-eq { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 5px 0; }
.rv-eq + .rv-eq { border-top: 1px dotted #e3ebf4; }
.rv-eq b { font-size: 14px; font-weight: 650; }
.rv-acc { flex-basis: 100%; font-size: 11.5px; color: var(--ink-2); line-height: 1.55; }
.rv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; }
.rv-row + .rv-row { border-top: 1px dotted #e9eff7; }
.rv-row span { flex: none; color: var(--ink-3); font-size: 12.5px; }
.rv-row b { font-weight: 650; text-align: right; }
.rv-row b.mono { font-variant-numeric: tabular-nums; }

/* 预约弹层内的器材明细 */
.ps-list { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 6px; }
.ps-item { border: 1px solid #e8eef6; border-radius: 12px; padding: 10px 12px; background: #fbfdff; }
.ps-item-hd { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ps-item-hd b {
  flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 650;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ps-item-sp { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.ps-item-acc { font-size: 11.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.55; }

/* 预约弹层里的编号小标签 */
.code {
  flex: none; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600;
  background: #f0f4f9; border-radius: 5px; padding: 1px 6px; font-size: 11px; white-space: nowrap;
}

.empty { text-align: center; padding: 46px 20px; color: var(--ink-3); font-size: 14px; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto;
}
.tabbar button {
  flex: 1; border: 0; background: none; padding: 4px 0; color: var(--ink-3);
  font-size: 11.5px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer;
}
.tabbar button.on { color: var(--brand); font-weight: 650; }
.tabbar svg { width: 21px; height: 21px; }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(7, 20, 33, .46); z-index: 60;
  opacity: 0; pointer-events: none; transition: .22s;
}
.mask.on { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  max-width: 560px; margin: 0 auto; background: #fff;
  border-radius: 22px 22px 0 0; padding: 8px 0 calc(16px + env(safe-area-inset-bottom));
  transform: translateY(102%); transition: transform .28s cubic-bezier(.32,.72,0,1);
  max-height: 92vh; overflow-y: auto;
}
.sheet.on { transform: translateY(0); }
.sheet-head {
  position: sticky; top: 0; z-index: 3; background: #fff;
  padding: 2px 0 6px; border-radius: 22px 22px 0 0;
}
.grab { width: 38px; height: 4px; border-radius: 99px; background: #dbe2ea; margin: 6px auto 12px; }
.sheet-close {
  position: absolute; right: 14px; top: 12px;
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: #f1f5f9; color: #5a7086; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.sheet-close svg { width: 16px; height: 16px; }
.sheet-close:active { background: #e5ebf2; }
.sheet-body { padding: 0 18px; }

.sheet-submit {
  position: relative; z-index: 3;
  background: #fff;
  padding: 12px 0 6px; margin-top: 6px;
}

.sheet h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: -.01em; }
.sheet .meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }

.field-label { font-size: 12.5px; font-weight: 650; color: var(--ink-2); margin: 16px 0 8px; letter-spacing: .02em; }
.field-label .req {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: #fdeef0; border-radius: 5px; padding: 1px 6px; margin-left: 6px;
}
.field-label .opt {
  font-size: 11px; font-weight: 600; color: var(--ink-3);
  background: #f0f4f9; border-radius: 5px; padding: 1px 6px; margin-left: 6px;
}

/* 身份类别选择 */
.id-pick { display: flex; flex-direction: column; gap: 8px; }
.id-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 1.5px solid var(--line); background: #fbfcfe; border-radius: 12px;
  padding: 11px 13px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  font-family: inherit; cursor: pointer; transition: .16s;
}
.id-opt .radio {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid #c3d0dd; background: #fff; position: relative; transition: .16s;
}
.id-opt.on { border-color: var(--accent); background: #fff6f7; color: var(--ink); }
.id-opt.on .radio { border-color: var(--accent); }
.id-opt.on .radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.id-notice {
  margin-top: 8px; font-size: 12px; line-height: 1.5; font-weight: 600; color: #b4232c;
}
.id-hint { margin-top: 6px; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
#idExtra:empty { display: none; }
.input.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .04em; }

/* 首页借用资格提示条（不入任何提示框） */
.qualify {
  margin: 12px 14px 0; padding: 9px 12px; border-radius: 10px;
  background: #fff8ec; color: #8a4b12; font-size: 12px; line-height: 1.55; font-weight: 600;
}
.qualify b { font-weight: 750; }

.seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.seg button {
  border: 1.5px solid var(--line); background: #fbfcfe; border-radius: 12px;
  padding: 10px 6px; cursor: pointer; color: var(--ink-2); font-size: 13px; font-weight: 600;
  display: flex; flex-direction: column; gap: 2px; align-items: center; transition: .16s;
}
.seg button small { font-size: 10.5px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seg button.on { border-color: var(--brand); background: #eef4fa; color: var(--brand); }
.seg button.on small { color: var(--brand-2); }
.seg button:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }

.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 13px; font-size: 15px; background: #fbfcfe; color: var(--ink);
  outline: none; transition: .16s; font-family: inherit;
}
.input:focus { border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 3px rgba(23,70,111,.08); }
.input::placeholder { color: #a9b7c6; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.agree input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--brand); }

.primary {
  width: 100%; border: 0; border-radius: 14px; padding: 15px;
  background: linear-gradient(135deg, #12405f, #0b2439); color: #fff;
  font-size: 16px; font-weight: 650; letter-spacing: .03em; cursor: pointer;
  margin-top: 18px; box-shadow: 0 8px 20px rgba(11,36,57,.22);
}
.primary:disabled { opacity: .5; box-shadow: none; }
.primary:active { transform: translateY(1px); }
.sheet-submit .primary { margin-top: 0; }
.sheet-submit .hint { margin-top: 8px; }

.hint { font-size: 12px; color: var(--ink-3); margin-top: 10px; text-align: center; line-height: 1.6; }
.err { color: var(--busy); font-size: 13px; margin-top: 10px; text-align: center; font-weight: 600; }

/* ---------- 成功页 ---------- */
.success { padding: 26px 20px 30px; text-align: center; }
.tick {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
  background: #e9f8f1; display: flex; align-items: center; justify-content: center;
}
.tick svg { width: 30px; height: 30px; }
.success h2 { font-size: 20px; margin: 0 0 6px; }
.success .sub { font-size: 13px; color: var(--ink-3); }
.ticket {
  margin: 18px 0 0; border-radius: 16px; border: 1px dashed #c9d6e4;
  background: #fbfcfe; padding: 16px; text-align: left;
}
.ticket-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.ticket-row span { color: var(--ink-3); flex: none; white-space: nowrap; }
.ticket-row b { font-weight: 650; text-align: right; min-width: 0; line-height: 1.45; }
.ticket-eq { font-size: 12.5px; font-weight: 600; }
.ticket-no { font-variant-numeric: tabular-nums; font-size: 22px; letter-spacing: .06em; font-weight: 700; }
.pick-code {
  display: flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums; letter-spacing: .16em; font-size: 26px; font-weight: 700; color: var(--accent);
}
.tips-box {
  background: #fff8ec; border: 1px solid #f7e2bd; border-radius: 12px;
  padding: 11px 13px; font-size: 12.5px; color: #7a5510; line-height: 1.65; margin-top: 14px;
}

/* ---------- 我的预约 ---------- */
.mybar { padding: 14px; }
.my-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; margin: 0 14px 10px;
}
.my-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.my-name { font-size: 14.5px; font-weight: 650; }
.my-no { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-top: 2px; }
.my-info { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.my-actions { display: flex; gap: 8px; margin-top: 10px; }
.ghost {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 10px; padding: 7px 13px; font-size: 12.5px; cursor: pointer; font-weight: 600;
}
.ghost.danger { color: var(--busy); border-color: #f3d3d6; }

.badge {
  font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}
.badge.reserved { background: #fdf4e3; color: #96620a; }
.badge.picked { background: #fdeced; color: #b42c37; }
.badge.returned { background: #eef2f6; color: #5a7086; }
.badge.cancelled { background: #f4f5f7; color: #98a6b5; }
.badge.noshow { background: #f4f5f7; color: #98a6b5; }

.toast {
  position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 14px);
  background: rgba(11,31,51,.93); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; z-index: 200; opacity: 0; pointer-events: none; transition: .24s; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.rules { margin: 4px 14px 16px; }
.rules h3 { font-size: 13px; margin: 0 0 8px; color: var(--ink-2); letter-spacing: .03em; }
.rules ol { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-3); line-height: 1.85; }
.rules li::marker { color: #b9c7d6; }

/* ================= 启动遮罩 ================= */
.boot {
  position: fixed; inset: 0; z-index: 300;
  background: #f2f5f9;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.boot[hidden] { display: none; }
.boot-logo { width: 132px; height: auto; opacity: .92; }
.boot-line {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #8c95a1; letter-spacing: .08em;
}
.boot-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #e42626;
  animation: bootPulse 1.1s ease-in-out infinite;
}
@keyframes bootPulse {
  0%, 100% { opacity: .25; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1); }
}

/* ================= 未开放提示页 ================= */
.closed {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px; z-index: 230;
  display: flex; flex-direction: column;
  background: #fff; box-shadow: 0 0 40px rgba(11,31,51,.10);
  padding-top: env(safe-area-inset-top);
  text-align: center;
}
.closed[hidden] { display: none; }
.cl-inner {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px 26px 26px;
}
.cl-logo { width: 150px; height: auto; }
.cl-kicker {
  margin-top: 18px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; color: #9aa2ad;
}
.cl-title {
  margin: 11px 0 0; font-size: 26px; font-weight: 700;
  letter-spacing: .02em; color: #1c1c1e; line-height: 1.3;
}
.cl-bar { width: 30px; height: 3px; border-radius: 2px; background: #e42626; margin: 14px auto 0; }
.cl-card {
  margin-top: 26px; width: 100%; max-width: 330px;
  padding: 16px 18px 18px; border-radius: 14px;
  background: linear-gradient(140deg, #0a2135 0%, #123f63 62%, #1b5c86 100%);
  box-shadow: 0 12px 26px rgba(10,33,53,.20);
  color: #fff;
}
.cl-card-k { font-size: 10.5px; letter-spacing: .18em; color: rgba(255,255,255,.62); }
.cl-card-v { margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: .02em; line-height: 1.45; }
.cl-note {
  margin-top: 24px; font-size: 15px; font-weight: 700;
  letter-spacing: .34em; text-indent: .34em; color: #b81f2a;
}
.cl-foot {
  padding: 13px 20px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid #f1f4f8;
  font-size: 10.5px; color: #9aa2ad; line-height: 1.8;
}
.cl-foot span, .cl-foot a { display: block; }
.cl-foot a { color: #9aa2ad; text-decoration: none; }

@media (max-width: 360px) {
  .cl-title { font-size: 23px; }
  .cl-card-v { font-size: 15.5px; }
}

/* ================= 欢迎页 ================= */
.welcome {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 560px; z-index: 210;
  display: flex; flex-direction: column;
  background: #fff; box-shadow: 0 0 40px rgba(11,31,51,.10);
  padding-top: env(safe-area-inset-top);
}
.w-inner { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 16px; }

.w-top { padding: 26px 28px 0; text-align: center; }
.w-logo { display: block; width: 160px; height: auto; margin: 0 auto; }
.w-title {
  margin-top: 16px; font-size: 22px; font-weight: 700;
  letter-spacing: .02em; color: #1c1c1e; line-height: 1.28;
}
.w-sub { margin-top: 7px; font-size: 12px; color: #8c95a1; letter-spacing: .02em; }
.w-bar { width: 28px; height: 3px; border-radius: 2px; background: #e42626; margin: 14px auto 0; }

.w-card { margin: 18px 20px 0; padding: 15px 15px 5px; background: #f8f9fb; border-radius: 14px; }
.w-card-hd { display: flex; align-items: center; padding-bottom: 7px; }
.w-card-dot { width: 4px; height: 13px; border-radius: 2px; background: #e42626; margin-right: 7px; }
.w-card-hd b { font-size: 15px; color: #1c1c1e; letter-spacing: .04em; }
.w-card-hd i {
  font-style: normal; margin-left: 7px; font-size: 9.5px;
  color: #b8bfc9; letter-spacing: .1em; text-transform: uppercase;
}
.w-rule { display: flex; padding: 8px 0; }
.w-rule + .w-rule { border-top: 1px solid #ebeff4; }
.w-num {
  flex: none; width: 22px; font-size: 10.5px; font-weight: 700; color: #e42626;
  line-height: 1.75; font-variant-numeric: tabular-nums;
}
.w-txt { flex: 1; font-size: 12.5px; line-height: 1.62; color: #4d5763; }
.w-txt b { color: #1c1c1e; font-weight: 700; }

.w-qual { margin: 17px 20px 0; }
.w-qual-hd { display: flex; align-items: baseline; margin-bottom: 9px; }
.w-qual-hd b { font-size: 14px; color: #1c1c1e; letter-spacing: .04em; }
.w-qual-hd i { font-style: normal; margin-left: 7px; font-size: 10.5px; color: #a3abb6; }
.w-chips { display: flex; flex-wrap: wrap; }
.w-chip {
  display: inline-flex; align-items: center;
  border: 1px solid #e4e8ee; background: #fff; border-radius: 7px;
  padding: 6.5px 10px; margin: 0 6px 6px 0;
  font-size: 11.5px; color: #3a4450; font-weight: 600;
}
.w-chip i { width: 5px; height: 5px; border-radius: 50%; background: #e42626; margin-right: 5px; }

.w-tip {
  margin: 13px 20px 0; padding: 11px 13px;
  background: #fff6f6; border: 1px solid #fbdcdc; border-radius: 11px;
  display: flex; align-items: center; justify-content: space-between; cursor: default;
}
.w-tip-c { flex: 1; min-width: 0; }
.w-tip-c b { display: block; font-size: 12.5px; color: #b81f2a; }
.w-tip-c span { display: block; margin-top: 3px; font-size: 10.5px; color: #b98287; line-height: 1.5; }
.w-tip em { flex: none; margin-left: 8px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #e42626; }

.w-foot {
  padding: 10px 20px calc(13px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -6px 18px rgba(28,28,30,.05);
}
.w-entry {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 15px; border-radius: 10px;
  border: 1.5px solid #dfe4ea; background: #fff; cursor: pointer;
  font-family: inherit; text-align: left;
}
.w-entry + .w-entry { margin-top: 9px; }
.w-entry.main {
  border: none; background: linear-gradient(135deg, #ee2b2b 0%, #d21a1a 100%);
  box-shadow: 0 7px 15px rgba(212,26,26,.24);
}
.w-entry-main { flex: 1; min-width: 0; }
.w-entry-main b { display: block; font-size: 14.5px; font-weight: 700; color: #1c1c1e; letter-spacing: .02em; }
.w-entry-main i { display: block; margin-top: 3px; font-style: normal; font-size: 10px; color: #9aa2ad; }
.w-entry.main .w-entry-main b { color: #fff; }
.w-entry.main .w-entry-main i { color: rgba(255,255,255,.74); }
.w-entry-arrow {
  flex: none; margin-left: 10px;
  width: 37px; height: 37px; border-radius: 50%;
  background: #fff; color: #d6192b;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 7px rgba(120,0,0,.20);
  transition: transform .12s ease;
}
.w-entry-arrow svg { width: 21px; height: 21px; display: block; margin-left: 1px; }
.w-entry.main:active .w-entry-arrow { transform: translateX(2px); }

/* 提示弹层 */
.w-notice {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(11,31,51,.42);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.w-notice[hidden] { display: none; }
.w-notice-box {
  width: 100%; max-width: 300px; background: #fff; border-radius: 14px; padding: 20px 18px 14px;
  box-shadow: 0 20px 50px rgba(11,31,51,.24);
}
.w-notice-box h4 { margin: 0 0 8px; font-size: 15.5px; color: #1c1c1e; }
.w-notice-box p { margin: 0 0 14px; font-size: 12.5px; line-height: 1.75; color: #5c6673; }
.w-notice-box button {
  width: 100%; border: none; border-radius: 9px; padding: 10px 0;
  background: #e42626; color: #fff; font-size: 14px; font-weight: 650;
  font-family: inherit; cursor: pointer;
}
.welcome[hidden] { display: none; }

/* 隐私提示（欢迎页底部） */
.w-priv {
  margin-top: 9px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: #9aa2ad;
}
.w-priv a { color: #b81f2a; text-decoration: none; }

/* 表单隐私链接 */
.priv-line { margin: 7px 0 0 26px; font-size: 11px; }
.priv-line a { color: #b81f2a; text-decoration: none; }

/* 单档时段（全天） */
.seg.one { grid-template-columns: 1fr; }
.seg.one button { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.seg.one button em { font-style: normal; font-size: 9.5px; color: #8c95a1; }
.seg.one button.on em { color: #b81f2a; }

/* ---------- 器材选择：自定义触发器 + 底部抽屉（绿圈序号） ---------- */
.pr-btn {
  display: flex; align-items: center; min-height: 46px; height: auto;
  padding: 12px 34px 12px 12px; text-align: left; cursor: pointer;
  border: 1.5px solid #e2e9f2; border-radius: 11px; background: #fbfdff;
  color: var(--ink); font-size: 13.5px; font-family: inherit; line-height: 1.3;
}
.pr-btn.on { border-color: #9ed3b9; background: #f5fcf8; }
.pr-btn:focus-visible { outline: none; border-color: #9db8d3; background: #fff; }
.pr-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.eqpick { display: flex; flex-direction: column; gap: 8px; padding: 2px 0 10px; }
.eqgrp {
  display: flex; align-items: baseline; gap: 8px; margin: 8px 2px 0;
  font-size: 11.5px; color: var(--ink-3);
}
.eqgrp-n { font-weight: 700; color: var(--ink-2); font-size: 12px; }
.eqgrp-c { margin-left: auto; font-variant-numeric: tabular-nums; }

.eqopt {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 12px; border: 1.5px solid #e3eaf2; border-radius: 12px;
  background: #fff; font-family: inherit; text-align: left; cursor: pointer;
}
.eqopt.on { border-color: #0d8a5c; background: #f2faf5; }
.eqopt[disabled] { opacity: .6; cursor: not-allowed; background: #f8fafc; }
.eqdot {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: #0d8a5c; background: #fff; border: 1.5px solid #0d8a5c;
}
.eqopt.on .eqdot { color: #fff; background: #0d8a5c; }
.eqopt[disabled] .eqdot { color: #a3b1bf; border-color: #cfd8e2; background: #f4f7fa; }
.eqdot.none { color: #93a3b3; border-color: #d6dee8; border-style: dashed; font-size: 13px; }
.eqtxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eqtxt b { font-size: 13px; font-weight: 650; color: var(--ink); line-height: 1.35; }
.eqtxt i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #0d8a5c; }
.eqopt[disabled] .eqtxt i { color: #9aa9b8; }
.eqopt.none .eqtxt i { color: var(--ink-3); font-weight: 600; }

/* 身份类别：附加必填项跟随所选选项展开 */
.id-extra {
  margin: -3px 0 2px; padding: 10px 12px 12px;
  border: 1.5px solid #f3d3d7; border-radius: 12px; background: #fffafb;
}
.id-extra .field-label { margin: 0 0 6px; }
.id-extra .input { background: #fff; }
.eqopt.none .eqdot,
.eqopt.none.on .eqdot {
  color: #93a3b3; background: #fff; border-color: #d6dee8; border-style: dashed;
}
