
.site-footer[data-v-64307f1f] {
  padding: 16px 14px 20px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--ink-400);
}
.site-footer--compact[data-v-64307f1f] {
  padding: 10px 14px 14px;
  font-size: 10px;
}
.sf-company[data-v-64307f1f] {
  font-weight: 600;
  color: var(--ink-500);
}
.sf-line[data-v-64307f1f] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.sf-icp[data-v-64307f1f] {
  color: var(--ink-500);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.18);
}
.sf-icp[data-v-64307f1f]:hover { color: var(--brand-700);
}
.sf-sep[data-v-64307f1f] { opacity: 0.5;
}
.sf-domain[data-v-64307f1f] { color: var(--ink-400);
}
.sf-note[data-v-64307f1f] {
  margin-top: 5px;
  font-size: 9.5px;
  line-height: 1.7;
  opacity: 0.85;
}

/*
 * 让路由页面按**内容高度**排布，而不是撑满整个视口。
 * 原因：.app-shell 是 `display:flex; flex-direction:column; min-height:100vh`，
 * 而 .page 带 `flex: 1 1 auto` —— 页面会被拉满到视口高度。
 * 页脚放在 app-shell 末尾时，就会被顶到视口最底部，中间留出一大片空白
 * （内容少的页面尤其明显，看起来像"页脚上方凭空多了一块白"）。
 * 改成 `flex: 0 0 auto` 后页脚紧跟内容，剩余空白落在页脚**下方**——这是正常版式。
 * 因为 --bg-page 同时是 .page 与 .app-shell 的背景色，视觉上无差异。
 * 注意必须写非 scoped 样式：.page 是路由页面的根元素，scoped 选择器命中不到它。
 */
.app-shell > .page {
  flex: 0 0 auto;
}

/*
 * 有底部固定栏的页面，把「给它留的那段底部内边距」收掉。
 *
 * 背景：.page--tabbed 与 .page--barred 都带约 80px 的 padding-bottom，
 * 目的是让内容不被 fixed 的 Tab 栏 / 操作按钮栏遮住。但那是"页脚不存在、页面自己垫底"
 * 时的写法。现在页脚就在页面下面、且自己带了避让 Tab 的间距，于是底部被留了**两份**，
 * 视觉上就是内容与页脚之间凭空多出一条空白。
 *
 * 两个条件缺一不可：
 *   · `:has(+ .app-footer)` —— 只对"后面紧跟页脚"的页面生效；
 *   · `:not(:has(.action-bar))` —— **页面内有 fixed 操作栏时不能收**，
 *     否则按钮栏会盖住正文（基地详情/拼团详情/发起撮合/分摊页都属于这种）。
 * 浏览器不支持 :has() 时两条规则整体失效，退回原行为，不会把布局弄坏。
 */
.app-shell > .page--tabbed:has(+ .app-footer) {
  padding-bottom: 0;
}
.app-shell > .page--barred:has(+ .app-footer):not(:has(.action-bar)) {
  padding-bottom: 0;
}

/* 有底部 Tab 时给页脚留出 Tab 栏高度，否则页脚被 Tab 压住看不见 */
.app-footer--tabbed[data-v-1393984e] {
  padding-bottom: calc(var(--tab-h) + 18px + env(safe-area-inset-bottom, 0px));
}
/* ==========================================================================
   悦炟康旅强国 · 用户端设计系统
   气质：康养可信交易平台 —— 青绿（健康/信任） + 暖橙（温度/人情味）
   移动端优先；>768px 时居中限宽 480px 手机卡片
   ========================================================================== */

:root {
  /* 品牌：青绿 */
  --brand-700: #0b7a70;
  --brand-600: #0e9e8f;
  --brand-500: #14b8a6;
  --brand-400: #45cfc0;
  --brand-100: #d8f3ef;
  --brand-50: #ecfaf7;

  /* 点缀：暖橙 */
  --accent-600: #e5701f;
  --accent-500: #ff8b3d;
  --accent-400: #ffa968;
  --accent-100: #ffe8d6;
  --accent-50: #fff5ec;

  /* 语义色 */
  --ok-600: #12a150;
  --ok-50: #e8f8ee;
  --warn-600: #c8811a;
  --warn-50: #fdf4e3;
  --danger-600: #d64545;
  --danger-500: #ea5a5a;
  --danger-50: #fdeced;
  --info-600: #2a7fb8;
  --info-50: #eaf4fb;

  /* 中性 */
  --ink-900: #16211f;
  --ink-800: #24332f;
  --ink-700: #3c4d48;
  --ink-600: #55685f;
  --ink-500: #6f827b;
  --ink-400: #93a49d;
  --ink-300: #b9c7c1;
  --line: #e4ebe8;
  --line-soft: #eef3f1;
  --bg-page: #f2f6f5;
  --bg-card: #ffffff;
  --bg-sunken: #f7faf9;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 45, 40, 0.05);
  --shadow: 0 4px 14px rgba(16, 45, 40, 0.07);
  --shadow-lg: 0 10px 30px rgba(16, 45, 40, 0.12);
  --shadow-brand: 0 6px 18px rgba(14, 158, 143, 0.28);

  --tab-h: 58px;
  --shell-w: 480px;

  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html,
body,
#app {
  height: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

@media (min-width: 769px) {
  body {
    background:
      radial-gradient(1100px 520px at 50% -10%, #dff3ef 0%, rgba(223, 243, 239, 0) 62%),
      linear-gradient(180deg, #eef6f4 0%, #e7efed 100%);
    background-attachment: fixed;
  }
}

h1, h2, h3, h4, h5, p, figure {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  color: inherit;
}

/* ---------- 应用外壳 ---------- */
.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell-w);
  min-height: 100%;
  margin: 0 auto;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

@media (min-width: 769px) {
  .app-shell {
    min-height: 100vh;
    box-shadow: 0 0 0 1px rgba(16, 45, 40, 0.06), 0 24px 60px rgba(16, 45, 40, 0.14);
    border-radius: 0;
  }
}

.page {
  flex: 1 1 auto;
  padding-bottom: 24px;
}

.page--tabbed {
  padding-bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom, 0px));
}

.page--barred {
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 通用文本 ---------- */
.muted { color: var(--ink-500); }
.dim { color: var(--ink-400); }
.strong { font-weight: 700; color: var(--ink-900); }
.tiny { font-size: 11px; }
.small { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 auto; min-width: 0; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  padding: 14px;
}
.card--flat { box-shadow: none; }
.card--pad0 { padding: 0; overflow: hidden; }
.card + .card { margin-top: 10px; }
.card--tappable { transition: transform 0.14s ease, box-shadow 0.14s ease; }
.card--tappable:active { transform: scale(0.985); box-shadow: var(--shadow); }

.section {
  padding: 0 14px;
  margin-top: 18px;
}
.section--tight { margin-top: 12px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.2px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  flex: none;
}
.section-title--accent::before {
  background: linear-gradient(180deg, var(--accent-400), var(--accent-600));
}
.section-more {
  font-size: 12px;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: 0;
  padding: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--bg-sunken);
  color: var(--ink-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--accent {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 112, 31, 0.28);
}
.btn--outline {
  background: #fff;
  border-color: var(--brand-500);
  color: var(--brand-700);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-700);
}
.btn--danger {
  background: #fff;
  border-color: rgba(214, 69, 69, 0.35);
  color: var(--danger-600);
}
.btn--soft {
  background: var(--brand-50);
  color: var(--brand-700);
}
.btn--block { width: 100%; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.btn--lg { height: 48px; font-size: 15.5px; }
.btn--plain {
  background: none;
  border: 0;
  padding: 0;
  height: auto;
  font-weight: 500;
  color: var(--ink-500);
}

/* ---------- 标签 / 徽标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid rgba(14, 158, 143, 0.16);
  white-space: nowrap;
}
.tag--accent {
  background: var(--accent-50);
  color: var(--accent-600);
  border-color: rgba(229, 112, 31, 0.18);
}
.tag--warn {
  background: var(--warn-50);
  color: var(--warn-600);
  border-color: rgba(200, 129, 26, 0.2);
}
.tag--danger {
  background: var(--danger-50);
  color: var(--danger-600);
  border-color: rgba(214, 69, 69, 0.2);
}
.tag--info {
  background: var(--info-50);
  color: var(--info-600);
  border-color: rgba(42, 127, 184, 0.2);
}
.tag--ok {
  background: var(--ok-50);
  color: var(--ok-600);
  border-color: rgba(18, 161, 80, 0.2);
}
.tag--mute {
  background: var(--bg-sunken);
  color: var(--ink-600);
  border-color: var(--line);
}

/* 可选 chips（筛选） */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-600);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.14s ease;
}
.chip:active { transform: scale(0.96); }
.chip--on {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(14, 158, 143, 0.26);
}
.chip--on.chip--accent {
  background: var(--accent-500);
  border-color: var(--accent-500);
  box-shadow: 0 3px 10px rgba(255, 139, 61, 0.3);
}

/* 横向滚动 chips 行 */
.scroll-x {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 14px 4px;
  margin: 0 -14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x > * { flex: none; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 8px;
}
.field-label .req { color: var(--danger-500); }
.field-hint {
  font-size: 11.5px;
  color: var(--ink-400);
  margin-top: 6px;
  line-height: 1.5;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-sunken);
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-300); }
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.13);
}
.textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f827b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

/* 复选 / 单选行 */
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.14s ease;
  text-align: left;
  width: 100%;
}
.opt:active { transform: scale(0.99); }
.opt--on {
  border-color: var(--brand-500);
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1px var(--brand-500);
}
.opt-mark {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.6px solid var(--ink-300);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #fff;
  transition: all 0.14s ease;
}
.opt--on .opt-mark {
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.opt-mark--round { border-radius: 50%; }

/* 分段选择 */
.seg {
  display: flex;
  padding: 3px;
  background: var(--bg-sunken);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  gap: 3px;
}
.seg-item {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.seg-item--on {
  background: #fff;
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}

/* 数字步进 */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  height: 44px;
}
.stepper button {
  width: 44px;
  height: 100%;
  border: 0;
  background: var(--bg-sunken);
  color: var(--ink-700);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.stepper button:disabled { color: var(--ink-300); }
.stepper input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  text-align: center;
  height: 100%;
  outline: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* 开关 */
.switch {
  width: 46px;
  height: 27px;
  border-radius: var(--radius-pill);
  background: var(--ink-300);
  border: 0;
  padding: 3px;
  flex: none;
  transition: background 0.18s ease;
}
.switch--on { background: var(--brand-500); }
.switch-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease;
}
.switch--on .switch-dot { transform: translateX(19px); }

/* ---------- 状态块（加载/空/错误） ---------- */
.state {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.state-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-600);
}
.state-icon--warn { background: var(--warn-50); color: var(--warn-600); }
.state-icon--danger { background: var(--danger-50); color: var(--danger-600); }
.state-title { font-size: 14.5px; font-weight: 600; color: var(--ink-800); }
.state-desc { font-size: 12.5px; color: var(--ink-500); max-width: 260px; line-height: 1.65; }

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, #eef3f1 25%, #e3ebe8 37%, #eef3f1 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease infinite;
  border-radius: 6px;
}
@keyframes sk {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.9s linear infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fade-up { animation: fade-up 0.28s ease both; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* ---------- 顶部导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
/* 各页页头的小图形标：品牌在每一页都可识别，但不抢标题 */
.navbar-mark { width: 19px; height: 19px; flex: none; display: block; }

.navbar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  flex: none;
}
.navbar-btn:active { background: var(--bg-sunken); }

/* ---------- 底部固定操作条 ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  max-width: var(--shell-w);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 底部 Tab ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  max-width: var(--shell-w);
  margin: 0 auto;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: stretch;
}
.tabbar-item {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-400);
  font-size: 10.5px;
  font-weight: 600;
  padding: 0;
  position: relative;
  transition: color 0.15s ease;
}
.tabbar-item--on { color: var(--brand-600); }
.tabbar-item--on::before {
  content: '';
  position: absolute;
  top: 0;
  width: 22px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--brand-500);
}
.tabbar-icon { position: relative; display: flex; }
.tabbar-badge {
  position: absolute;
  top: -3px;
  right: -7px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--danger-500);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
}

/* ---------- 分区 / 列表容器 ---------- */
.list { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden; }
.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  width: 100%;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  text-align: left;
  transition: background 0.13s ease;
}
.list-item:last-child { border-bottom: 0; }
.list-item:active { background: var(--bg-sunken); }
.list-item-title { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.list-item-desc { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.list-item-icon {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand-600);
}

/* ---------- 提示条 ---------- */
.notice {
  display: flex;
  gap: 9px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.65;
  background: var(--info-50);
  color: #1f5f88;
  border: 1px solid rgba(42, 127, 184, 0.16);
}
.notice--warn { background: var(--warn-50); color: var(--warn-600); border-color: rgba(200, 129, 26, 0.2); }
.notice--danger { background: var(--danger-50); color: var(--danger-600); border-color: rgba(214, 69, 69, 0.18); }
.notice--brand { background: var(--brand-50); color: var(--brand-700); border-color: rgba(14, 158, 143, 0.18); }
.notice svg { flex: none; margin-top: 1px; }

/* 合规声明 */
.compliance {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-sunken);
  border: 1px dashed var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-500);
}

/* ---------- 分隔线 ---------- */
.divider { height: 1px; background: var(--line-soft); margin: 12px 0; }
.divider--inset { margin-left: 14px; }

/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 16px calc(14px + env(safe-area-inset-top, 0px));
  pointer-events: none;
}
.toast {
  max-width: min(420px, 92vw);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(22, 33, 31, 0.94);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: fade-up 0.22s ease both;
  line-height: 1.5;
}
.toast--ok { background: rgba(11, 122, 112, 0.96); }
.toast--err { background: rgba(198, 55, 55, 0.96); }
.toast--warn { background: rgba(180, 112, 16, 0.96); }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 24, 22, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade-up 0.2s ease both;
  backdrop-filter: blur(2px);
}
@media (min-width: 769px) {
  .mask { align-items: center; }
}
.sheet {
  width: 100%;
  max-width: var(--shell-w);
  max-height: 88vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: sheet-up 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 769px) {
  .sheet { border-radius: 20px; max-height: 84vh; }
}
@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}
.sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px 12px;
  border-bottom: 1px solid var(--line-soft);
  flex: none;
}
.sheet-title { font-size: 15.5px; font-weight: 700; color: var(--ink-900); flex: 1 1 auto; }
.sheet-body { padding: 14px 16px; overflow-y: auto; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-soft);
  flex: none;
  display: flex;
  gap: 10px;
  background: #fff;
}
.sheet-grip {
  width: 36px; height: 4px; border-radius: 2px; background: var(--ink-300);
  margin: 8px auto -4px; flex: none;
}

/* ---------- 星级 ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent-500); }
.star-btn { background: none; border: 0; padding: 2px; color: var(--ink-300); }
.star-btn--on { color: var(--accent-500); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-500);
  padding: 8px 10px;
  background: var(--bg-sunken);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.table tr:last-child td { border-bottom: 0; }

/* ---------- 进度条 ---------- */
.bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 可折叠 ---------- */
.collapse-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 13px;
  border: 0;
  background: none;
  text-align: left;
}
.collapse-chevron { transition: transform 0.2s ease; color: var(--ink-400); flex: none; }
.collapse-chevron--open { transform: rotate(180deg); }
.collapse-body { padding: 0 13px 13px; animation: fade-up 0.2s ease both; }

/* ---------- 无障碍 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
