:root {
  --primary: #165dff;
  --primary-soft: #e8f0ff;
  --ink: #1d2129;
  --text: #4e5969;
  --muted: #86909c;
  --line: #e5e6eb;
  --line-soft: #f2f3f5;
  --page: #f5f6f8;
  --white: #ffffff;
  --success: #00b42a;
  --warning: #ff7d00;
  --danger: #f53f3f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text); background: var(--page); line-height: 1.6; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding: 16px; }

/* 用户信息卡 */
.ucard {
  background: var(--white); border-radius: var(--radius);
  padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.u-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #f6f7f9, #eff1f4);
  color: #b4bac3;
  display: grid; place-items: center;
  flex-shrink: 0; overflow: hidden;
  border: 1px solid #ebedf0;
}
.u-avatar svg { width: 34px; height: 34px; }
.u-main { flex: 1; min-width: 0; }
.u-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.u-org { font-size: 13px; color: var(--muted); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.u-view {
  display: flex; align-items: center; gap: 2px;
  background: var(--line-soft); border: none;
  padding: 6px 12px; border-radius: 20px;
  font-size: 13px; color: var(--text);
}
.u-view svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 三格功能入口：同一张卡片内三等分，竖线分隔 */
.quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px;
}
.qg-item {
  background: none; border: none; padding: 17px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.qg-item + .qg-item { border-left: 1px solid var(--line-soft); }
/* 入口图标：去掉色块背景，颜色直接给到图标本身 */
.qg-ic2 {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qg-ic2 svg {
  width: 28px; height: 28px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.qg-blue { color: #165dff; }
.qg-violet { color: #7b5cf5; }
.qg-orange { color: #ff7d00; }
.qg-teal { color: #00b4a2; }
.qg-t { font-size: 13px; font-weight: 600; color: var(--ink); }
.qg-desc { font-size: 11px; color: var(--muted); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* 退改签客服入口：简洁整行卡片 */
.cs-card {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--white); border: none; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 13px 16px; margin-bottom: 12px;
  text-align: left;
}
.cs-card:active { background: #fafbfc; }
.cs-ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary); flex-shrink: 0;
}
.cs-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cs-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.cs-d { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-arrow { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 区块标题行（子页面通用） */
.pg-sec { margin-bottom: 14px; }
.sec-hd { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 10px; }
.sec-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.link-btn {
  font-size: 13px; color: var(--primary); background: none; border: none; padding: 0;
}

/* 订单列表 */
.order-list { display: flex; flex-direction: column; gap: 10px; }

/* 报名卡片：紧凑型「行程单/账单」风格 */
.order-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.order-card:active { border-color: rgba(22, 93, 255, 0.18); }

.oc-main { padding: 12px 14px 10px; }

/* 第一行：姓名 + 状态标签 */
.oc-line1 {
  display: flex; align-items: center; gap: 8px;
}
.oc-name {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.oc-type {
  flex-shrink: 0; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 4px; line-height: 1.5;
}
.oc-type.personal { color: #165dff; background: #e8f3ff; }
.oc-type.team { color: #86909c; background: #f2f3f5; }
.oc-type.code { color: #0e9f6e; background: #e6f7f0; }
.oc-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 500; flex-shrink: 0; line-height: 1.5;
  color: var(--muted); background: var(--line-soft);
  margin-left: auto;
}
.oc-status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #c9cdd4;
}
.oc-status.paid { color: var(--success); background: #e8ffea; }
.oc-status.paid i { background: var(--success); }
.oc-status.pending { color: var(--warning); background: #fff7e8; }
.oc-status.pending i { background: var(--warning); }

/* 第二行：参会类型 + 报名时间 */
.oc-line2 {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 3px;
  font-size: 12px; color: var(--muted);
}

/* 底部行：金额（弱化）+ 操作按钮（小巧） */
.oc-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-top: 1px dashed var(--line);
  background: #fbfcfe;
}
.oc-amount {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.oc-amount small { font-size: 12px; font-weight: 500; margin-right: 1px; }
.oc-amount.free { color: var(--muted); font-weight: 500; }

.oc-btns { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.oc-mini {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.oc-mini:active { background: var(--line-soft); }
.oc-mini.primary {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
.oc-mini.primary:active { opacity: 0.88; }
.oc-mini.danger {
  border-color: rgba(245, 63, 63, 0.35); color: #f53f3f; background: #fff;
}
.oc-mini.danger:active { background: rgba(245, 63, 63, 0.08); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }
/* 空态可点击跳首页 */
.empty-link {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 34px 0; cursor: pointer; user-select: none;
}
.empty-link:active { opacity: .72; }
.empty-go {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 7px 16px; border-radius: 16px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 500; line-height: 1;
}
.eg-arrow { font-style: normal; font-size: 15px; margin-top: -1px; }

/* ========== 团队采购专属卡片 ========== */
.team-card { border-color: rgba(22, 93, 255, .22); }
.tc-hero {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #eef4ff 0%, #f6f9ff 100%);
  border-bottom: 1px solid rgba(22, 93, 255, .1);
}
.tc-hero-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #165dff, #4080ff);
  color: #fff;
  box-shadow: 0 3px 8px rgba(22, 93, 255, .25);
}
.tc-hero-ic svg { width: 21px; height: 21px; }
.tc-hero-main { min-width: 0; flex: 1; }
.tc-hero-t { display: flex; align-items: center; gap: 7px; }
.tc-hero-sub { margin-top: 2px; font-size: 11.5px; color: #6b8bbf; line-height: 1.4; }
.team-card .oc-type.team {
  color: #165dff; background: #e3edff; font-weight: 600;
}
.tc-body {
  display: flex; align-items: stretch; gap: 14px;
  padding: 12px 14px;
}
.tc-stat {
  flex-shrink: 0; width: 86px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-right: 14px;
  border-right: 1px dashed var(--line);
}
.tc-stat b {
  font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.tc-stat span { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tc-meta {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  font-size: 12px; color: var(--muted);
}
.team-card .oc-foot { background: #f8faff; }

/* 工具与服务 */
.tools-card {
  background: var(--white); border-radius: var(--radius);
  padding: 14px 0; box-shadow: var(--shadow); margin-bottom: 14px;
}
.tc-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  padding: 0 16px 10px;
}
.tool-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; margin: 0 8px;
  border-radius: 10px;
  background: none; border: none; width: calc(100% - 16px);
  text-decoration: none; color: inherit; cursor: pointer;
  transition: background .15s;
}
.tool-row:active { background: var(--line-soft); }
.tr-ic {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tr-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tr-red { background: linear-gradient(135deg, #f53f3f, #f76560); }
.tr-green { background: linear-gradient(135deg, #00b42a, #23c343); }
.tr-violet { background: linear-gradient(135deg, #722ed1, #a871e3); }
.tr-orange { background: linear-gradient(135deg, #ff7d00, #ff9a2e); }
.tr-sky { background: linear-gradient(135deg, #165dff, #3b82ff); }
.tr-label { font-size: 15px; font-weight: 600; color: var(--ink); flex: 1; text-align: left; }
.tr-desc { font-size: 12px; color: var(--muted); }
.tr-arrow { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* 退出登录：与全站主题色一致 */
.btn-logout {
  width: 100%; padding: 13px 0; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #3b82ff, var(--primary));
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 18px rgba(22, 93, 255, 0.26);
  margin-bottom: 16px;
}
.btn-logout:active { transform: scale(0.98); }
.footer { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 20px; }

/* 弹层 / 抽屉 */
.drawer-mask, .modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-mask { align-items: center; }
.modal {
  background: var(--white); width: 92%; max-width: 440px; max-height: 88vh;
  border-radius: 14px; display: flex; flex-direction: column;
  animation: popIn .2s ease;
}
@keyframes popIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.drawer {
  background: var(--white); width: 100%; max-width: 480px; max-height: 85vh;
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.drawer-hd, .modal-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; border-bottom: 1px solid var(--line-soft); font-weight: 600; color: var(--ink);
}
.close { font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
.drawer-bd, .modal-bd { overflow-y: auto; padding: 16px; }

/* 底部抽屉：顶部抓手 */
.drawer-grab {
  width: 36px; height: 4px; border-radius: 2px;
  background: #e5e6eb; margin: 10px auto 0; flex-shrink: 0;
}

/* 发票抬头/发票列表空状态（user.js 团队空记录也复用 inv-empty-*） */
.mono { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .2px; }
.inv-empty { text-align: center; padding: 34px 0 26px; }
.inv-empty svg { width: 46px; height: 46px; color: #c9cdd4; }
.inv-empty-main { margin-top: 12px; font-size: 15px; color: var(--text); font-weight: 600; }
.inv-empty-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* 电子资料抽屉：多文件下载列表 */
.res-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line-soft);
  text-decoration: none; margin-bottom: 10px;
}
.res-item:active { background: #f7f9ff; }
.res-badge {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .3px;
}
.res-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.res-name {
  font-size: 14px; font-weight: 600; color: var(--ink); word-break: break-all; line-height: 1.4;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}
.res-sub { font-size: 12px; color: var(--muted); }
.res-dl { width: 20px; height: 20px; color: var(--primary, #165dff); flex-shrink: 0; }

/* 详情分三组 */
.d-section { margin-bottom: 10px; }
.d-section:last-child { margin-bottom: 0; }
.d-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.d-section-title::before {
  content: '';
  width: 4px; height: 14px; border-radius: 2px;
  background: var(--primary);
}
.d-row { display: flex; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.d-row:last-child { border: none; }
.d-k { width: 112px; color: var(--muted); font-size: 13px; flex-shrink: 0; }
.d-v { color: var(--ink); font-size: 13px; word-break: break-all; flex: 1; }
/* 多值字段（如拟参加分论坛）逐行展示，避免挤在一行 */
.d-line { display: block; line-height: 1.7; }
.d-actions { display: flex; gap: 10px; margin-top: 14px; }
.btn-primary {
  flex: 1; padding: 12px; border: none; border-radius: 10px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn-secondary {
  flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--line-soft); color: var(--text); font-size: 15px; cursor: pointer;
}
.btn-secondary.danger {
  border-color: rgba(245, 63, 63, 0.4); background: #fff; color: #f53f3f;
}

/* 查看个人信息 */
.info-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border: none; }
.info-k { width: 90px; color: var(--muted); font-size: 14px; flex-shrink: 0; }
.info-v { color: var(--ink); font-size: 14px; word-break: break-all; flex: 1; }

/* 交通住宿弹层：分区卡片 */
.ck-sec {
  background: var(--page);
  border-radius: 12px;
  padding: 4px 14px 6px;
  margin-bottom: 12px;
}
.ck-sec-t {
  padding: 10px 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ck-sec-t::before {
  content: '';
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--primary);
}

/* 待缴费弹窗 */
.pay-modal .modal-hd { display: none; }
.pay-modal .modal-bd { padding: 26px 22px 22px; text-align: center; }
.pm-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb13d, #f77234);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(247, 114, 52, 0.32);
}
.pm-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ink); }
.pm-amount { font-size: 17px; font-weight: 700; color: #f53f3f; line-height: 1.2; margin-bottom: 10px; }
.pm-amount b { font-size: 36px; margin-left: 2px; }
.pm-order { margin: 0 auto 6px; font-size: 12.5px; color: var(--muted); background: var(--line-soft); border-radius: 6px; padding: 5px 12px; display: inline-block; font-variant-numeric: tabular-nums; }
.pm-tip { margin: 12px 0 20px; font-size: 13px; color: var(--muted); }
.pm-actions { display: flex; gap: 12px; }
.pm-btn { flex: 1; padding: 12px 0; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .15s, transform .1s; }
.pm-btn:active { transform: scale(0.97); }
.pm-btn-ghost { border: 1px solid var(--line); background: #fff; color: #4e5969; }
.pm-btn-go { border: none; background: linear-gradient(135deg, #165dff, #0e42d2); color: #fff; box-shadow: 0 6px 14px rgba(22, 93, 255, 0.3); }
/* 取消订单弹窗：红色警示风格 */
.pm-icon.warn { background: linear-gradient(135deg, #f76560, #f53f3f); box-shadow: 0 8px 20px rgba(245, 63, 63, 0.32); }
.pm-btn-danger { border: none; background: linear-gradient(135deg, #f76560, #f53f3f); color: #fff; box-shadow: 0 6px 14px rgba(245, 63, 63, 0.28); }
.pm-btn.loading { opacity: 0.65; pointer-events: none; }

/* toast */
.toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-size: 14px; z-index: 999; max-width: 80%;
}

/* 团队注册码 */
.tr-ic.tr-blue { background: #e8f3ff; color: #165dff; }
.team-order-card {
  background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px;
  border: 1px solid var(--line-soft);
}
.to-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.to-no { font-size: 13px; color: var(--muted); }
.to-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.to-status.paid { background: #e8ffea; color: #00b42a; }
.to-status.pending { background: #fff7e8; color: #ff7d00; }
.to-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.to-summary { font-size: 13px; color: var(--ink); margin-bottom: 10px; padding: 8px 10px; background: var(--line-soft); border-radius: 8px; }
.code-list { display: flex; flex-direction: column; gap: 8px; }
.code-item { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.code-item.used { opacity: 0.7; background: #fafafa; }
.ci-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ci-code { font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.ci-type { font-size: 12px; color: var(--muted); background: var(--line-soft); padding: 2px 6px; border-radius: 4px; }
.ci-status { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.ci-copy { border: none; background: var(--primary); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; }
.ci-usedby { margin-top: 6px; font-size: 12px; color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* ========== 子页面通用：顶栏 ========== */
.subbar {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0 12px;
}
.subbar-spacer { flex: 1; }
/* 胶囊按钮（图标 + 文字） */
.subbar-btn {
  height: 32px; padding: 0 14px; border-radius: 999px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text);
  box-shadow: 0 1px 2px rgba(31, 35, 41, .05), 0 3px 10px rgba(31, 35, 41, .05);
  transition: background .15s ease, transform .15s ease;
}
.subbar-btn:active { background: var(--line-soft); transform: scale(.96); }
.subbar-btn svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* 返回：蓝色实心胶囊（白字白图标） */
.subbar-btn.back {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.subbar-btn.back:active { background: #0e4ad6; }
.subbar-btn.spinning svg { animation: subbar-spin .7s linear; }
@keyframes subbar-spin { to { transform: rotate(360deg); } }

/* ========== 我的任务：角色分色卡片 ========== */
.task-list { display: flex; flex-direction: column; gap: 12px; }
.task-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--rc-soft, transparent) 0%, #fff 44%);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 15px 16px 14px;
  box-shadow: 0 2px 10px rgba(29, 33, 41, 0.05);
}
.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-pill {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 4px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .5px; line-height: 1.6;
  color: #fff; background: var(--rc, #86909c);
}
/* 讲者题目前缀标签 */
.tk-topic-tag {
  font-style: normal; flex-shrink: 0;
  font-size: 11px; font-weight: 700; line-height: 1.7;
  color: var(--rc, #86909c); background: var(--rc-soft, var(--line-soft));
  border-radius: 5px; padding: 1px 7px; margin-right: 7px;
  vertical-align: 2px;
}
.tk-topic {
  margin-top: 12px;
  font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.55;
}
/* 日期时间高亮行：主题下方，色底醒目 */
.tk-when-bar {
  margin-top: 12px; padding: 9px 12px;
  background: var(--rc-soft, var(--line-soft));
  border-radius: 10px;
  display: flex; align-items: center; gap: 7px;
  font-size: 14.5px;
}
.tk-when-bar svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--rc, var(--muted)); }
.tk-when-bar b { color: var(--ink); font-weight: 700; letter-spacing: .2px; }
.tk-when-time {
  margin-left: auto; flex-shrink: 0;
  color: var(--rc, var(--ink)); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
/* 会场信息面板：地点（主行）+ 会场名（副行） */
.tk-venue-box {
  margin-top: 12px; padding: 10px 12px;
  background: #f7f8fa;
  border-radius: 10px;
}
.tkv-addr { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.tkv-addr svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--rc, var(--muted)); }
.tkv-addr span { flex: 1; min-width: 0; }
.tkv-venue { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.tkv-venue span { flex: 1; min-width: 0; }
.tkv-main { font-style: normal; flex-shrink: 0; font-size: 10px; font-weight: 700; color: #f53f3f; background: rgba(245, 63, 63, .08); border-radius: 4px; padding: 1px 5px; }

/* ========== 我的行程：登机牌式卡片 ========== */
.bp-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(29, 33, 41, 0.06);
}
.bp-card.bp-go { background: linear-gradient(180deg, rgba(22, 93, 255, .06) 0%, #fff 40%); }
.bp-card.bp-back { background: linear-gradient(180deg, rgba(255, 125, 0, .06) 0%, #fff 40%); }
.bp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px 0; }
.bp-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; line-height: 1.6;
}
.bp-go .bp-tag { background: linear-gradient(135deg, #165dff, #4080ff); }
.bp-back .bp-tag { background: linear-gradient(135deg, #ff7d00, #ffb13d); }
.bp-no { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
/* 路线主体：城市 + 出发/到达标签同行，日期紧随其下 */
.bp-route { display: flex; align-items: center; gap: 10px; padding: 18px 18px 20px; }
.bp-stop { flex: 1.2; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bp-city-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bp-city-row b { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .3px; line-height: 1.35; word-break: break-all; }
.bp-city-tag {
  font-style: normal; flex-shrink: 0;
  font-size: 10.5px; font-weight: 700; line-height: 1.7;
  border-radius: 5px; padding: 0 6px;
}
.bp-go .bp-city-tag { color: #165dff; background: rgba(22, 93, 255, .09); }
.bp-back .bp-city-tag { color: #ff7d00; background: rgba(255, 125, 0, .1); }
.bp-dt {
  font-size: 12px; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bp-stop.bp-end { text-align: right; }
.bp-stop.bp-end .bp-city-row { justify-content: flex-end; }
.bp-mid { flex: .9; display: flex; align-items: center; gap: 7px; }
/* 由浅到深的连接圆点 */
.bp-dots { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.bp-dots i { width: 3px; height: 3px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.bp-go .bp-dots { color: #165dff; }
.bp-back .bp-dots { color: #ff7d00; }
.bp-arrow { flex: 0 0 auto; display: grid; place-items: center; }
.bp-arrow svg { width: 22px; height: 22px; display: block; }
.bp-go .bp-arrow { color: #165dff; }
.bp-back .bp-arrow { color: #ff7d00; }
/* 底部票据联：打孔 + 虚线分隔 */
.bp-foot {
  position: relative;
  border-top: 1px dashed var(--line);
  padding: 10px 16px 12px;
  background: rgba(247, 248, 250, .7);
  display: flex; flex-direction: column; gap: 3px;
}
.bp-foot::before, .bp-foot::after {
  content: ''; position: absolute; top: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--page);
}
.bp-foot::before { left: -9px; }
.bp-foot::after { right: -9px; }
.bp-fitem { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.7; }
.bp-flbl { color: var(--muted); flex-shrink: 0; }
.bp-fval { color: var(--ink); font-weight: 500; word-break: break-all; }

/* ========== 我的住宿：三卡片布局 ========== */
.hx-card {
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(29, 33, 41, .06);
}
.hx-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* 卡片标题：加重 + 左侧色条 */
.hx-tt {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: .5px;
}
.hx-tt::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--ttc, #165dff); }
.hc-state {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; line-height: 1.6;
  border-radius: 999px; padding: 2px 10px;
}
.hc-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .75; }
.hc-state.in { color: #00b42a; background: #e8ffea; }
.hc-state.wait { color: #165dff; background: #e8f0ff; }
.hc-state.out { color: #86909c; background: #f2f3f5; }
.hx-text { font-size: 14px; line-height: 1.7; color: var(--ink); }
/* 入住信息：字段行 */
.hx-rows { margin-top: 6px; }
.hx-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f3f5;
}
.hx-row:last-child { border-bottom: none; padding-bottom: 2px; }
.hx-row i {
  flex: 0 0 68px; font-style: normal;
  font-size: 12.5px; color: #86909c; line-height: 1.6;
}
.hx-row b {
  flex: 1; min-width: 0;
  font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.6;
  word-break: break-all; text-align: right;
}
/* 拼房标签：位于「房间标准」房型左侧，与房型文字垂直居中 */
.hx-tag-shared {
  display: inline-flex; align-items: center; height: 17px;
  vertical-align: middle; position: relative; top: -1.5px;
  margin-right: 5px; padding: 0 4px;
  font-size: 11px; font-weight: 600; line-height: 1;
  color: #ff7d00; background: rgba(255, 125, 0, .1);
  border: 1px solid rgba(255, 125, 0, .28);
  border-radius: 3px;
}
/* 酒店信息小卡：蓝色卡片，点击弹出地图选择 */
.hx-map {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #165dff 0%, #4080ff 100%);
  border: none; border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(22, 93, 255, .3);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.hx-map:active { transform: scale(.985); box-shadow: 0 2px 8px rgba(22, 93, 255, .32); }
.hx-map-ic {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: rgba(255, 255, 255, .2);
  display: grid; place-items: center; color: #fff;
}
.hx-map-ic svg { width: 22px; height: 22px; }
.hx-map-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hx-map-main b { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.45; word-break: break-all; }
.hx-addr { font-size: 12.5px; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.hx-map-nav {
  flex-shrink: 0;
  font-size: 12.5px; font-weight: 700; color: #165dff;
  background: #fff; border-radius: 999px; padding: 7px 14px;
}
/* 会务联系人：大电话图标背景 + 大号码 */
.hx-contact { position: relative; overflow: hidden; }
.hx-bg-ic {
  position: absolute; right: 8px; top: -30px;
  width: 120px; height: 120px;
  color: #165dff; opacity: .05;
  transform: rotate(-4deg);
  pointer-events: none;
}
.hx-staff-wrap { position: relative; margin-top: 4px; }
.hx-staff {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f2f3f5;
  text-decoration: none; color: inherit;
}
.hx-staff:last-child { border-bottom: none; padding-bottom: 2px; }
.hx-sname { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.hx-tel {
  flex-shrink: 0; display: inline-flex; align-items: center;
  font-size: 17px; font-weight: 600; color: #165dff;
  font-variant-numeric: tabular-nums; letter-spacing: .5px;
}
/* 底部地图选择弹层 */
.ms-mask {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(15, 23, 42, .45);
  display: flex; align-items: flex-end;
}
.ms-sheet {
  width: 100%; background: #f7f8fa;
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
}
.ms-title { text-align: center; font-size: 12.5px; color: #86909c; padding: 2px 0 12px; }
.ms-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: #fff; border: none; border-radius: 12px;
  padding: 14px 16px; margin-bottom: 8px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.ms-opt:active { background: #f2f3f5; }
.ms-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ms-cancel {
  width: 100%; border: none; border-radius: 12px;
  background: #fff; padding: 14px; margin-top: 2px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.ms-cancel:active { background: #f2f3f5; }

/* 行程/住宿卡片旧版自由文本兜底：label : value 两列 */
.trip-card .tk-line {
  margin-top: 4px; padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
  font-size: 14px; color: var(--ink); line-height: 1.7;
  display: flex; gap: 8px;
}
.trip-card .tk-line:first-of-type { margin-top: 6px; padding-top: 0; border-top: none; }
.trip-card .tk-line .tk-lbl {
  color: var(--muted); font-size: 13px; flex-shrink: 0;
  min-width: 56px;
}
.trip-card .tk-line .tk-val { color: var(--ink); font-weight: 500; flex: 1; }

/* 签到二维码弹层 */
.qr-bd {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px 26px; text-align: center;
}
.qr-box {
  width: 216px; height: 216px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box img { width: 100%; height: 100%; display: block; }
.qr-fail { font-size: 13px; color: var(--muted); padding: 60px 0; }
.qr-name { margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--ink); }
.qr-tip { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.qr-uid { margin-top: 12px; font-size: 11px; color: #c9cdd4; letter-spacing: 0.6px; }

/* ========== 我的发票 ========== */
/* 分区标题右侧操作按钮 */
.sec-action {
  border: none; background: none; padding: 4px 6px;
  font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer;
}
.sec-action.primary {
  background: var(--primary-soft); border-radius: 15px; padding: 5px 12px;
}
.sec-action:active { opacity: .7; }

/* 空态在子页面也衬一张白卡 */
.pg-sec .inv-empty,
.pg-sec .empty {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  margin: 0;
}
.pg-sec .empty { padding: 34px 0; }
.iv-tip-empty {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  text-align: center; padding: 28px 16px;
}
.iv-tip-empty svg { width: 44px; height: 44px; color: #c9cdd4; }
.iv-tip-empty p { margin: 10px 0 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.iv-tip-empty span { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 发票抬头卡片 */
.iv-title-list { display: flex; flex-direction: column; gap: 10px; }
.iv-title-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  padding: 12px 14px;
}
.ivt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ivt-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.ivt-tag.company { background: var(--primary-soft); color: var(--primary); }
.ivt-tag.personal { background: #f3edff; color: #722ed1; }
.ivt-ops button {
  border: none; background: none; padding: 2px 6px;
  font-size: 13px; color: var(--primary); cursor: pointer;
}
.ivt-ops button.danger { color: var(--danger); }
.ivt-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5; word-break: break-all; }
.ivt-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* 发票列表卡片 */
.iv-inv-list { display: flex; flex-direction: column; gap: 10px; }
.iv-inv-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  padding: 12px 14px;
}
.iv-inv-card.pending { background: #fffdf5; border-color: #ffe7ba; box-shadow: none; }
.ivc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ivc-chip { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.ivc-chip.green { background: #e8ffea; color: var(--success); }
.ivc-chip.amber { background: #fff3e0; color: var(--warning); }
.ivc-type { font-size: 11px; color: var(--muted); }
.ivc-main { display: flex; align-items: center; gap: 12px; }
.ivc-badge {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
}
.ivc-badge.pdf {
  background: linear-gradient(135deg, #ff6a5c, var(--danger));
  color: #fff; box-shadow: 0 6px 14px rgba(245, 63, 63, .25);
}
.ivc-badge.wait { background: #fff3e0; color: var(--warning); font-size: 16px; }
.ivc-body { flex: 1; min-width: 0; }
.ivc-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.45; word-break: break-all; }
.ivc-sub { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 12px; color: var(--text); }
.ivc-date { margin-top: 3px; font-size: 11px; color: var(--muted); }
.ivc-dl {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid #ffd4d0; background: #fff5f5; color: var(--danger);
  border-radius: 10px; padding: 7px 11px; font-size: 11px; font-weight: 600; cursor: pointer;
}
.ivc-dl svg { width: 18px; height: 18px; }
.ivc-dl:active { transform: scale(.96); }

/* 抽屉内表单（抬头编辑 / 选择订单开票） */
.iv-drawer { max-width: 480px; }
.ivf-label { font-size: 13px; font-weight: 600; color: var(--text); }
.ivf-label i { color: var(--danger); font-style: normal; margin-left: 2px; }
.ivf-label.mt { margin-top: 14px; }
.ivf-radio-row { display: flex; gap: 10px; margin-top: 8px; }
.ivf-chip {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--text); cursor: pointer;
}
.ivf-chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.ivf-input {
  width: 100%; margin-top: 8px;
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink); background: #f7f8fa;
}
.ivf-input:focus { outline: none; border-color: var(--primary); background: #fff; }
.ivf-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); cursor: pointer; }
.ivf-check.mt { margin-top: 12px; }
.ivf-submit {
  width: 100%; margin-top: 18px; padding: 13px 0; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #3b82ff, var(--primary));
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 18px rgba(22, 93, 255, .22);
}
.ivf-submit:disabled { opacity: .6; }
.ivf-note { margin: 10px 2px 0; font-size: 12px; color: var(--muted); line-height: 1.6; text-align: center; }

/* 开票抽屉：已支付订单选择 */
.iv-order-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.iv-order {
  display: block; border: 1.5px solid var(--line-soft); border-radius: 12px;
  padding: 11px 13px; background: var(--white); cursor: pointer;
}
.iv-order.on { border-color: var(--primary); background: var(--primary-soft); }
.iv-order.disabled { background: #f7f8fa; cursor: not-allowed; }
.ivo-line { display: flex; justify-content: space-between; gap: 10px; }
.ivo-name { font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; }
.ivo-amount { font-size: 14px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.iv-order.disabled .ivo-amount { color: var(--muted); }
.ivo-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; font-size: 11px; color: var(--muted); }
.ivo-state {
  display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 600;
  color: var(--warning); background: #fff3e0; padding: 2px 8px; border-radius: 10px;
}

/* 开票抽屉：抬头选择 */
.iv-title-pick { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.iv-pick {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
.iv-pick.on { border-color: var(--primary); background: var(--primary-soft); }
.ivp-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; flex-shrink: 0; }
.ivp-tag.company { background: #e8f0ff; color: var(--primary); }
.ivp-tag.personal { background: #f3edff; color: #722ed1; }
.ivp-tag.new { background: #e8ffea; color: var(--success); }
.ivp-name { font-size: 13px; color: var(--ink); word-break: break-all; }
.iv-new-title { margin-top: 10px; }

/* ========== 子页面统一空态：插画居中 · 标题·描述 · 胶囊按钮 ========== */
.hs-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 8px 56px; text-align: center;
  animation: hsIn .55s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes hsIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hs-art {
  position: relative; width: 104px; height: 104px;
  display: grid; place-items: center; margin-bottom: 26px;
}
.hs-art svg { position: relative; width: 100%; height: 100%; }
/* 仅装饰元素微动效：闪烁点 / 呼吸线 / 轻摆弧线，图标主体保持静止 */
.hs-deco { transform-box: fill-box; transform-origin: center; }
.hs-twinkle { animation: hsTwinkle 2.6s ease-in-out infinite; }
.hs-pulse { animation: hsPulse 2.8s ease-in-out infinite; }
.hs-sway { animation: hsSway 3.6s ease-in-out infinite; }
.hs-d2 { animation-delay: .7s; }
.hs-d3 { animation-delay: 1.3s; }
@keyframes hsTwinkle {
  0%, 100% { opacity: .5; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes hsPulse {
  0%, 100% { opacity: .35; }
  50% { opacity: .85; }
}
@keyframes hsSway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
.hs-title { font-size: 20px; font-weight: 700; color: #1d2129; letter-spacing: .4px; line-height: 1.5; }
.hs-desc { margin-top: 9px; font-size: 13.5px; color: #86909c; line-height: 1.85; max-width: 280px; }
.hs-btn {
  margin-top: 28px; height: 42px; padding: 0 26px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--primary); color: #fff; border: none;
  font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 93, 255, .24);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hs-btn:active { transform: scale(.96); box-shadow: 0 4px 12px rgba(22, 93, 255, .2); }
.hs-btn svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  .hs-empty, .hs-deco { animation: none; }
}

/* ========== 子页面功能菜单：底部弹层 ========== */
.sv-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 42, .42);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.sv-mask.on { opacity: 1; pointer-events: auto; }
.sv-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; max-width: 480px; margin: 0 auto;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(15, 23, 42, .12);
  transform: translateY(102%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.sv-sheet.on { transform: none; }
.sv-handle { width: 36px; height: 4px; border-radius: 2px; background: #e5e6eb; margin: 0 auto 12px; }
.sv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sv-title { font-size: 16px; font-weight: 700; color: #1d2129; }
.sv-close { border: none; background: none; padding: 4px; line-height: 0; color: #86909c; }
.sv-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 2px; }
.sv-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border-radius: 14px; text-decoration: none; }
.sv-item:active { background: #f7f8fa; }
.sv-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.sv-ic svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-label { font-size: 12px; color: var(--text); max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sv-item.is-current .sv-label { color: var(--primary); font-weight: 600; }
.sv-item.is-current .sv-ic { box-shadow: 0 0 0 2px rgba(22, 93, 255, .3); }
.sv-foot { display: flex; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.sv-foot-btn {
  flex: 1; height: 42px; border-radius: 12px; border: 1px solid var(--line-soft); background: #f7f8fa;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: none;
  font-family: inherit;
}
.sv-foot-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-foot-btn:active { background: #eef1f5; }
.sv-loading { padding: 30px 0; text-align: center; font-size: 13px; color: var(--muted); }
