/* ================= 预约挂号 H5 全局样式（与小程序色调一致） ================= */
:root {
  /* 中医宣纸色系（与主站统一） */
  --primary: #9E2B25;
  --primary-2: #B8433C;
  --text: #2B2B2B;
  --text-sub: #8C877D;
  --line: #E7E0D0;
  --danger: #B8433C;
  --bg: #F7F3EA;
  --paper: #FDFBF5;
  --paper-2: #F2EDE0;
  --bamboo: #5A7D6F;
  --gold: #B8894A;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(43, 43, 43, .07);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: "Noto Serif CJK SC", "Songti SC", "STSong", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; border: 0; }
a { color: var(--primary); text-decoration: none; }
input, textarea, button, select { font-family: inherit; font-size: inherit; outline: none; border: 0; background: none; color: inherit; }
button { cursor: pointer; }
body.no-tabbar #view { padding-bottom: 0; }
#view { min-height: 100vh; padding-bottom: 60px; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 48px; display: flex; align-items: center;
  background: rgba(253, 251, 245, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}
.nav-back {
  width: 40px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #333; line-height: 1; user-select: none;
}
.nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; letter-spacing: 3px; }
.nav-right { min-width: 40px; text-align: right; padding-right: 6px; font-size: 13px; color: var(--primary); }

/* ---------------- 通用容器 ---------------- */
.page { min-height: calc(100vh - 46px); }
.wrap { padding: 12px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  margin-bottom: 12px; box-shadow: var(--shadow);
}
.card2 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pre { white-space: pre-wrap; line-height: 1.9; font-size: 14px; color: var(--text); }
.hint { font-size: 13px; color: var(--text-sub); padding: 4px 4px 10px; }
.title { font-size: 15px; font-weight: 700; letter-spacing: 2px; margin: 16px 4px 8px; color: var(--text); }
.tap { font-size: 13px; color: var(--text-sub); padding: 12px 4px 6px; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--text-sub); flex: 0 0 78px; }
.row .v { text-align: right; flex: 1; word-break: break-all; }
.price-red { color: var(--danger); font-weight: 600; }
.price { color: var(--danger); font-weight: 600; }
.pos { font-size: 11px; color: var(--primary); background: #e3eeff; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: block; width: 100%; height: 48px; line-height: 48px; text-align: center;
  background: var(--primary); color: #fff; border-radius: 4px; font-size: 16px; font-weight: 600;
  letter-spacing: 4px; margin: 18px 0 0;
  box-shadow: 0 4px 16px rgba(158, 43, 37, .24);
}
.btn:active { opacity: .85; }
.btn[disabled] { opacity: .55; }
.btn-line { background: var(--paper); color: var(--primary); border: 1px solid var(--primary); box-shadow: none; }
.btn-sm { height: 32px; line-height: 32px; font-size: 13px; border-radius: 16px; padding: 0 16px; display: inline-block; width: auto; margin: 0; }

/* ---------------- 列表 ---------------- */
.list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.list-item:last-child { border-bottom: 0; }
.list-item:active { background: #fafbfc; }
.li-text { flex: 1; }
.li-sub { font-size: 13px; color: var(--text-sub); }
.next { width: 14px; height: 14px; opacity: .45; }

/* ---------------- 空状态 ---------------- */
.not { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; color: var(--text-sub); font-size: 14px; }
.not img { width: 100px; margin-bottom: 14px; opacity: .8; }
.not .and { margin-top: 18px; color: var(--primary); font-size: 14px; }

/* ---------------- 底部 TabBar ---------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  height: 56px; padding-bottom: env(safe-area-inset-bottom);
  background: rgba(253, 251, 245, .98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #000; font-size: 11px; gap: 2px;
}
.tabbar a img { width: 22px; height: 22px; }
.tabbar a.on { color: var(--primary); }
.tabbar a.on span { color: var(--primary); font-weight: 600; }

/* ---------------- Toast ---------------- */
#toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9);
  background: rgba(0, 0, 0, .78); color: #fff; padding: 11px 18px; border-radius: 8px;
  font-size: 14px; max-width: 76vw; text-align: center; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: all .18s ease; z-index: 9999;
  white-space: pre-wrap; word-break: break-all;
}
#toast.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------------- Modal ---------------- */
.modal {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .18s;
}
.modal.on { opacity: 1; }
.modal-box {
  width: 100%; max-width: 320px; background: #fff; border-radius: 14px; padding: 22px 18px 16px;
  transform: scale(.94); transition: transform .18s;
}
.modal.on .modal-box { transform: scale(1); }
.md-title { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 10px; }
.md-content { font-size: 14px; color: #666; text-align: center; line-height: 1.6; margin-bottom: 16px; }
.md-input {
  width: 100%; min-height: 80px; border: 1px solid #e4e7ec; border-radius: 8px;
  padding: 10px; font-size: 14px; margin-bottom: 16px; resize: none; line-height: 1.6;
}
.md-btns { display: flex; gap: 10px; }
.md-btn { flex: 1; height: 40px; border-radius: 20px; font-size: 15px; }
.md-btn.cancel { background: #f2f3f5; color: #666; }
.md-btn.ok { background: var(--primary); color: #fff; }

/* ---------------- 首页 ---------------- */
.swiper { position: relative; height: 150px; overflow: hidden; background: #dbe6f5; }
.swiper-track { display: flex; height: 100%; transition: transform .45s ease; }
.swiper-track img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }
.swiper-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.swiper-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .2s; }
.swiper-dots i.on { width: 14px; background: #fff; }

.zhu { display: flex; gap: 10px; padding: 0 12px; }
.zhu + .zhu { margin-top: 10px; }
.zhuBlock {
  flex: 1; position: relative; overflow: hidden; border-radius: 6px;
  padding: 16px 14px; color: #fff; min-height: 88px;
  box-shadow: 0 4px 16px rgba(43, 43, 43, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.zhuBlock:active { transform: scale(.98); }
.zhuBlock .tit { display: block; font-size: 17px; font-weight: 700; letter-spacing: 3px; }
.zhuBlock .ftit { display: block; font-size: 11.5px; opacity: .82; margin-top: 5px; letter-spacing: 1px; }
.zhuImg { position: absolute; right: 6px; bottom: 6px; width: 42px; opacity: .85; }

/* 四主卡统一尺寸，配色取中医意象 */
.zhuTop  { background: linear-gradient(135deg, #B8433C, #9E2B25); }  /* 朱砂 */
.zhuPay  { background: linear-gradient(135deg, #6E917F, #5A7D6F); }  /* 竹青 */
.zhuMake { background: linear-gradient(135deg, #C89A5B, #B8894A); }  /* 赭石 */
.zhuMsg  { background: linear-gradient(135deg, #8A7F8E, #6E6472); }  /* 黛紫 */

.mor { display: flex; flex-wrap: wrap; background: #fff; border-radius: var(--radius); margin: 12px; padding: 8px 0; box-shadow: var(--shadow); }
.morBlock {
  flex: 0 0 25%; display: flex; flex-direction: column; align-items: center;
  padding: 10px 0; position: relative; font-size: 12px; color: #555; gap: 6px;
}
.mor.his .morBlock { flex-basis: 20%; }
.morBlock img { width: 26px; height: 26px; object-fit: contain; }

/* 彩色图标底座 */
.mi {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.mi-green { background: linear-gradient(135deg, #C8F5DF, #9FE8C6); }
.mi-pink  { background: linear-gradient(135deg, #FFD9E4, #FFB6CE); }
.mi-blue  { background: linear-gradient(135deg, #D6E8FF, #A9CBFF); }
.mi-orange{ background: linear-gradient(135deg, #FFE6C7, #FFC98A); }
.morBlock > span:last-child { font-size: 12px; color: #444; }
.msgNum {
  position: absolute; top: 4px; right: 50%; margin-right: -22px;
  background: var(--danger); color: #fff; font-size: 10px; line-height: 1;
  padding: 3px 5px; border-radius: 8px; min-width: 16px; text-align: center;
}

/* ---------------- 表单 ---------------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.field { display: flex; align-items: center; padding: 0 14px; height: 50px; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field .k { flex: 0 0 76px; color: #666; font-size: 14px; }
.field input, .field textarea, .field select { flex: 1; height: 100%; font-size: 14px; background: transparent; }
.field textarea { padding: 12px 0; height: 90px; resize: none; line-height: 1.6; }
.field .send { flex: 0 0 auto; font-size: 13px; color: var(--primary); padding-left: 8px; }
.field .picker { flex: 1; color: var(--text); }

.sign-head { text-align: center; padding: 20px 0 24px; }
.sign-head img { width: 68px; height: 68px; object-fit: contain; margin: 0 auto 12px; border-radius: 16px; }
.sign-head .sh-t { font-size: 22px; font-weight: 700; letter-spacing: 4px; }
.sign-head .sh-s { font-size: 13px; color: var(--text-sub); margin-top: 6px; }
.sign-foot { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.sign-foot a { color: var(--primary); }
.tips { text-align: center; font-size: 12px; color: var(--text-sub); margin-top: 14px; }

/* ---------------- 就诊人卡片 ---------------- */
.pat {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.patCont .name { font-size: 16px; font-weight: 600; }
.patCont .relation { font-size: 12px; color: var(--primary); background: #e3eeff; padding: 1px 6px; border-radius: 4px; margin-left: 8px; }
.card-no { display: block; font-size: 12px; color: var(--text-sub); margin-top: 6px; }
.change { font-size: 12px; color: var(--primary); }
.and {
  text-align: center; padding: 14px; color: var(--primary); font-size: 14px;
  background: #fff; border-radius: var(--radius); border: 1px dashed #b9d3ff;
}

/* ---------------- 科室联动 ---------------- */
.choice-hos-box { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--line); }
.choice-hos-box .hos {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 16px; font-size: 13px;
  background: #f2f3f5; color: #666; white-space: nowrap;
}
.choice-hos-box .hos.on { background: var(--primary); color: #fff; }
.dep-main { display: flex; min-height: calc(100vh - 110px); }
.dep-left { flex: 0 0 96px; background: #f7f8fa; overflow-y: auto; }
.dep-left .dl { padding: 14px 10px; font-size: 13px; color: #555; text-align: center; border-left: 3px solid transparent; }
.dep-left .dl.on { background: #fff; color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.dep-right { flex: 1; background: #fff; overflow-y: auto; }
.dep-right .dr { display: flex; justify-content: space-between; align-items: center; padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dep-right .dr b { color: #ccc; font-weight: 400; }

/* ---------------- 医生列表 ---------------- */
.week { background: #fff; padding: 8px 0; border-bottom: 1px solid var(--line); }
.week-top, .week-botm { display: flex; }
.week-top div { flex: 1; text-align: center; font-size: 12px; color: var(--text-sub); }
.week-botm div { flex: 1; display: flex; justify-content: center; }
.week-botm div span {
  display: block; padding: 6px 0; width: 40px; text-align: center; font-size: 13px; border-radius: 16px; margin-top: 4px;
}
.week-botm div.on span { background: var(--primary); color: #fff; font-weight: 600; }

.doc-block {
  display: flex; gap: 12px; align-items: center; background: #fff;
  border-radius: var(--radius); padding: 14px; margin: 10px 12px; box-shadow: var(--shadow);
}
.doc-block > img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; background: #eef3fb; }
.doc { flex: 1; min-width: 0; }
.doc .name { font-size: 15px; font-weight: 600; }
.doc .brief { font-size: 12px; color: var(--text-sub); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.chi { text-align: center; flex: 0 0 auto; }
.chi .price { display: block; font-size: 14px; margin-bottom: 6px; }
.pick { background: var(--primary); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 14px; }

/* ---------------- 弹层 ---------------- */
.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 500; }
.mask.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 501;
  background: #fff; border-radius: 16px 16px 0 0; padding: 16px;
  transform: translateY(100%); transition: transform .25s ease;
  max-height: 76vh; overflow-y: auto;
}
.sheet.on { transform: translateY(0); }
.sheet-title { font-size: 15px; font-weight: 600; text-align: center; margin-bottom: 12px; }
.wu { margin-bottom: 14px; }
.wu-tit { font-size: 13px; color: #666; margin-bottom: 8px; }
.wu-empty { font-size: 13px; color: var(--text-sub); padding: 8px 0; }
.seList { display: flex; flex-wrap: wrap; gap: 8px; }
.seTime { padding: 7px 12px; border: 1px solid #dbe6f5; border-radius: 6px; font-size: 13px; color: var(--primary); background: #f7fbff; }
.sheet-foot { font-size: 12px; color: var(--text-sub); text-align: center; line-height: 1.7; }

/* ---------------- 医生详情 ---------------- */
.doc-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; background: #eef3fb; }
.flex { display: flex; gap: 12px; }
.doc-name { font-size: 17px; font-weight: 600; }
.doc-brief { font-size: 13px; color: var(--text-sub); margin-top: 6px; line-height: 1.5; }
.price-line { font-size: 13px; color: var(--danger); margin-top: 6px; }
.dep-label { font-size: 13px; color: var(--primary); margin-bottom: 6px; }
.arr-row { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.arr-row:last-child { border-bottom: 0; }
.arr-d { font-weight: 600; }
.arr-d span { color: var(--text-sub); font-weight: 400; }
.arr-t { color: #666; margin-top: 3px; }

/* ---------------- 确认页 ---------------- */
.content-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.cf-doc { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.cf-doc img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.cf-doc em { font-style: normal; color: var(--primary); font-size: 12px; }
.notice-link { text-align: center; font-size: 13px; color: var(--text-sub); margin: 16px 0; }
.notice-link a { color: var(--primary); }

/* ---------------- 成功页 ---------------- */
.result { text-align: center; padding: 40px 0 24px; }
.result-ico {
  width: 64px; height: 64px; line-height: 64px; margin: 0 auto 16px;
  background: var(--primary); color: #fff; border-radius: 50%; font-size: 34px;
}
.result-t { font-size: 18px; font-weight: 600; }
.result-s { font-size: 13px; color: var(--text-sub); margin-top: 8px; }

/* ---------------- 文章 ---------------- */
.art { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.art > img { width: 96px; height: 72px; border-radius: 8px; object-fit: cover; flex: 0 0 96px; background: #eef3fb; }
.art-r { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.art-t { font-size: 15px; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.art-c { font-size: 12px; color: var(--text-sub); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.art-f { display: flex; justify-content: space-between; font-size: 11px; color: #bbb; margin-top: 4px; }
.art-h1 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.art-meta { font-size: 12px; color: var(--text-sub); margin-top: 8px; }
.art-cover { width: 100%; border-radius: 10px; margin: 14px 0; }
.art-body { font-size: 15px; line-height: 1.9; color: #333; word-break: break-word; }
.art-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }

/* ---------------- 导航卡片 ---------------- */
.navcard { background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.nc-t { font-size: 16px; font-weight: 600; }
.nc-a { font-size: 13px; color: var(--text-sub); margin-top: 6px; }
.nc-g { font-size: 12px; color: var(--primary); margin-top: 8px; }
.floor-dep { font-size: 13px; color: #666; line-height: 1.7; }
.kv { display: flex; gap: 10px; font-size: 14px; padding: 8px 0; }
.kv span { color: var(--text-sub); flex: 0 0 52px; }
.kv b { font-weight: 500; flex: 1; }

/* ---------------- 记录卡片 ---------------- */
.rec { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.rec-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rec-h .no { font-size: 12px; color: var(--text-sub); }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.badge.ok { background: #e6f7ea; color: #1a9c43; }
.badge.wait { background: #fff3e0; color: #e69100; }
.badge.fail { background: #fdecec; color: var(--danger); }
.rec-b { padding-top: 10px; font-size: 13px; color: #555; line-height: 1.8; }
.rec-b .amt { color: var(--danger); font-weight: 600; }
.rec-f { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }

/* ---------------- 个人中心 ---------------- */
.my-head {
  background: linear-gradient(135deg, #B8433C, #9E2B25); color: #fff;
  padding: 30px 18px 46px; display: flex; align-items: center; gap: 14px;
}
.my-head img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .25); border: 2px solid rgba(255,255,255,.45); }
.my-head .mh-n { font-size: 19px; font-weight: 700; letter-spacing: 3px; }
.my-head .mh-s { font-size: 12px; opacity: .85; margin-top: 4px; letter-spacing: 1px; }
.my-body { margin: -30px 12px 0; }
.my-menu { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 12px; }
.my-menu .list-item { padding: 15px 14px; }
.my-menu .li-ico { width: 20px; height: 20px; object-fit: contain; margin-right: 12px; }
.logout { text-align: center; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--danger); font-size: 15px; letter-spacing: 2px; box-shadow: var(--shadow); margin-bottom: 20px; }

/* 就诊人切换 */
.pat-switch { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--line); }
.pat-switch .ps { flex: 0 0 auto; padding: 6px 14px; border-radius: 16px; font-size: 13px; background: #f2f3f5; color: #666; white-space: nowrap; }
.pat-switch .ps.on { background: var(--primary); color: #fff; }

/* 消息 */
.msg-item { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.msg-t { display: flex; justify-content: space-between; align-items: center; }
.msg-t .t { font-size: 15px; font-weight: 600; }
.dot { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; flex: 0 0 8px; }
.msg-c { font-size: 13px; color: #666; margin-top: 8px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.msg-time { font-size: 11px; color: #bbb; margin-top: 8px; }

/* 金额输入 */
.amount-box { display: flex; align-items: baseline; gap: 6px; padding: 20px 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.amount-box .cur { font-size: 22px; font-weight: 600; }
.amount-box input { font-size: 32px; font-weight: 600; flex: 1; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.amount-chips .chip { padding: 7px 16px; border-radius: 16px; background: #f2f3f5; font-size: 13px; color: #555; }
.amount-chips .chip.on { background: #e3eeff; color: var(--primary); border: 1px solid var(--primary); }

/* ---------------- 个人中心扩展（P1） ---------------- */
.badge.warn { background: #fff4e5; color: #d98511; }
.badge.gray { background: #f0f0f0; color: #888; }
.field select {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 14px; color: var(--text); text-align: right;
  appearance: none; -webkit-appearance: none; padding-right: 4px;
}
.amount-box input::-webkit-outer-spin-button,
.amount-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.recharge-pat .row { border-bottom: 0; }
