/* ==========================================================================
   校园值周量化管家 —— 适老化清爽界面
   --------------------------------------------------------------------------
   设计原则（优先级从高到低）：
   1) 适老：正文 18px 起、按钮 ≥52px、对比度足，不做"精致小字"那一套；
   2) 统一：所有圆角/阴影/描边走同一套变量，界面不再东一块西一块；
   3) 轻：纯 CSS，无图片、无字体文件、无预处理器，首屏 gzip 增重 < 3KB。
   注意：类名保持与旧版一致（tools/check-*.mjs 依赖 .list-item / .pick-slot /
   .grid.grid-4 button / .chip / .seg / .tag / .rank-no 等选择器）。
   ========================================================================== */

:root {
  /* 主色：沿用原来的蓝，拆成「深→亮」两级，用于渐变与描边 */
  --primary: #1565c0;
  --primary-2: #1e88e5;
  --primary-dark: #0d47a1;
  --primary-soft: #e8f1fd;
  --primary-line: rgba(21, 101, 192, .35);

  --add: #2e7d32;
  --add-2: #43a047;
  --add-bg: #e8f5e9;
  --deduct: #c62828;
  --deduct-2: #e53935;
  --deduct-bg: #ffebee;
  --danger: #e0453b;

  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e3e8ef;
  --line-2: #eef1f6;
  --text: #1f2329;
  --text-2: #5f6672;
  --text-3: #8a93a0;

  --warn: #e65100;
  --warn-bg: #fff8e1;
  --warn-line: #ffe082;

  --radius: 16px;
  --radius-sm: 13px;
  --radius-lg: 20px;

  /* 三级阴影：卡片最轻，吸底/浮层最重 */
  --sh1: 0 1px 2px rgba(17, 34, 68, .05), 0 1px 3px rgba(17, 34, 68, .06);
  --sh2: 0 2px 10px rgba(17, 34, 68, .07), 0 1px 3px rgba(17, 34, 68, .05);
  --sh3: 0 8px 26px rgba(17, 34, 68, .16);
  --ring: 0 0 0 4px rgba(21, 101, 192, .14);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 载入态：转一圈，比干等一行字更像"在干活" */
.boot { padding: 64px 24px; text-align: center; color: var(--text-2); font-size: 16px; }
.boot::before {
  content: ''; display: block; width: 34px; height: 34px; margin: 0 auto 14px;
  border-radius: 50%; border: 3px solid rgba(21, 101, 192, .18); border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- 布局 */
.page { padding: 12px 12px 8px; max-width: 720px; margin: 0 auto; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: var(--sh2);
  border: 1px solid rgba(17, 34, 68, .045);
}
/* 卡片标题左侧一道主色短杠，扫一眼就知道"一段内容"从哪开始 */
.card-title {
  position: relative; font-size: 19px; font-weight: 700; margin: 0 0 10px; padding-left: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.card-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
}
.card-title.mt12 { margin-top: 12px; }

.muted { color: var(--text-2); font-size: 15px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 10px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- 按钮 */
/* 拇指友好：最小高度 52px；按下有轻微下沉+回弹，给"确实点到了"的反馈 */
.btn {
  border: none; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: #fff;
  font-size: 18px; font-weight: 600; min-height: 52px; padding: 10px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 8px rgba(21, 101, 192, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
  -webkit-user-select: none; user-select: none;
}
.btn:active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 1px 3px rgba(21, 101, 192, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn:focus-visible { outline: 3px solid rgba(21, 101, 192, .45); outline-offset: 2px; }
.btn:disabled {
  opacity: .5; filter: grayscale(.4); box-shadow: none; transform: none; cursor: not-allowed;
}
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 64px; font-size: 21px; border-radius: 15px; box-shadow: 0 4px 14px rgba(21, 101, 192, .3), inset 0 1px 0 rgba(255, 255, 255, .2); }

/* 次要按钮：白底蓝字描边 */
.btn-ghost {
  background: #fff; color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary), 0 1px 3px rgba(17, 34, 68, .07);
}
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--primary-dark), 0 1px 2px rgba(17, 34, 68, .1); }

/* 中性按钮：浅灰渐变，用于"清空/返回/取消"这类不抢眼的操作 */
.btn-gray {
  background: linear-gradient(180deg, #fbfcfe, #eef2f7); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgba(17, 34, 68, .08);
}
.btn-gray:active { background: linear-gradient(180deg, #eef2f7, #e4eaf2); }

.btn-add { background: linear-gradient(180deg, var(--add-2), var(--add)); box-shadow: 0 2px 8px rgba(46, 125, 50, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-deduct { background: linear-gradient(180deg, var(--deduct-2), var(--deduct)); box-shadow: 0 2px 8px rgba(198, 40, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-danger { background: linear-gradient(180deg, #ef5350, var(--danger)); box-shadow: 0 2px 8px rgba(224, 69, 59, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }

/* 小按钮仍保证 44px，老年教师点得中 */
.btn-sm {
  min-height: 44px; font-size: 15.5px; padding: 6px 14px; border-radius: 11px;
  box-shadow: 0 1px 4px rgba(21, 101, 192, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-sm.btn-gray, .btn-sm.btn-ghost { box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(17, 34, 68, .07); }
.btn-sm.btn-ghost { box-shadow: inset 0 0 0 2px var(--primary), 0 1px 2px rgba(17, 34, 68, .06); }

/* 同一行并排的按钮，间距统一由 .grid 负责，这里只兜底 */
.grid > .btn { width: 100%; }

/* ------------------------------------------------------------ 标签/快捷项 */
/* 选中态用「实心填充」而不是只换描边，颜色对比强，一眼看得出选了哪些 */
.chip {
  position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 12px 10px; font-size: 17px; text-align: center; cursor: pointer; line-height: 1.35;
  box-shadow: var(--sh1); transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  -webkit-user-select: none; user-select: none;
}
.chip:active { transform: scale(.97); }
.chip.checked {
  border-color: transparent; color: #fff;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  font-weight: 700; box-shadow: 0 3px 10px rgba(21, 101, 192, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.chip-add.checked {
  background: linear-gradient(180deg, var(--add-2), var(--add));
  box-shadow: 0 3px 10px rgba(46, 125, 50, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.chip-deduct.checked {
  background: linear-gradient(180deg, var(--deduct-2), var(--deduct));
  box-shadow: 0 3px 10px rgba(198, 40, 40, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.chip .score { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* 选中后分数也转白，否则绿字落在绿底上就看不见了 */
.chip.checked .score { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: #eef1f6; color: var(--text-2); white-space: nowrap;
}
.tag-add { background: var(--add-bg); color: var(--add); }
.tag-deduct { background: var(--deduct-bg); color: var(--deduct); }
.tag-warn { background: #fff3e0; color: var(--warn); }
.tag-danger { background: var(--danger); color: #fff; }
.tag-primary { background: var(--primary-soft); color: var(--primary-dark); }

/* ---------------------------------------------------------------- 列表 */
.list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 2px; border-bottom: 1px solid var(--line-2);
  transition: background .16s ease;
}
.list-item:last-child { border-bottom: none; }

/* 高亮行：本周所在周次、我自己的班级、待保存的改动 */
.row-active {
  background: var(--primary-soft); border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary); padding-left: 10px; padding-right: 10px;
}
.row-dirty {
  background: #fff8e6; border-radius: var(--radius-sm);
  border-left: 4px solid #f0a020; padding-left: 10px; padding-right: 10px;
}

.rank-no {
  width: 36px; height: 36px; border-radius: 50%; background: #eceff3; color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none;
  font-variant-numeric: tabular-nums; box-shadow: inset 0 -1px 2px rgba(17, 34, 68, .07);
}
/* 前三名给金银铜，比统一灰色更有"榜单感" */
.rank-1 { background: linear-gradient(160deg, #ffd75e, #f9a825); color: #6b3f00; box-shadow: 0 2px 7px rgba(249, 168, 37, .45); }
.rank-2 { background: linear-gradient(160deg, #eceff1, #b0bec5); color: #37474f; box-shadow: 0 2px 7px rgba(144, 164, 174, .42); }
.rank-3 { background: linear-gradient(160deg, #ffc4a3, #f0895a); color: #6d2c1a; box-shadow: 0 2px 7px rgba(240, 137, 90, .42); }

.score-add { color: var(--add); font-weight: 800; font-variant-numeric: tabular-nums; }
.score-deduct { color: var(--deduct); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 表单 */
.input, .select, .textarea {
  width: 100%; font-size: 18px; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font-family: inherit;
  box-shadow: var(--sh1); transition: border-color .16s ease, box-shadow .16s ease;
}
.textarea { min-height: 96px; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input-err { border-color: var(--danger) !important; background: #fff5f4; box-shadow: 0 0 0 4px rgba(224, 69, 59, .12) !important; }
.label { display: block; font-size: 16px; color: var(--text-2); margin: 10px 0 6px; font-weight: 600; }

/* ------------------------------------------------------------ 底部导航 */
/* 改成悬浮圆角条：比贴边通栏更轻，也和卡片的圆角语言一致 */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(5, 1fr); z-index: 50;
  box-shadow: 0 6px 26px rgba(17, 34, 68, .16), 0 1px 3px rgba(17, 34, 68, .08);
  padding: 6px;
}
.tabbar button {
  border: none; background: none; padding: 7px 2px 6px; font-size: 14px; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  min-height: 62px; border-radius: 14px; transition: background .18s ease, color .18s ease;
  font-family: inherit; position: relative;
}
.tabbar button .ico { font-size: 23px; line-height: 1; transition: transform .18s ease; }
.tabbar button.on { color: var(--primary); font-weight: 700; background: var(--primary-soft); }
.tabbar button.on .ico { transform: translateY(-1px) scale(1.12); }
.tabbar button:active { background: #eef2f7; }
.badge-dot {
  display: inline-block; min-width: 20px; height: 20px; border-radius: 10px;
  background: linear-gradient(180deg, #ef5350, var(--deduct)); color: #fff;
  font-size: 13px; line-height: 20px; text-align: center; padding: 0 5px;
  box-shadow: 0 1px 4px rgba(198, 40, 40, .45);
}

/* 出错条：比离线条更"安静"但一样显眼，且不与 .notice 的间距规则打架 */
.err-bar {
  position: sticky; top: 0; z-index: 41; background: #fdecea; color: #8a2c2c;
  text-align: center; font-size: 16px; padding: 9px; border-bottom: 1px solid #f7c9c4;
}
/* 表单行内的小红字错误提示 */
.err-text { color: var(--danger); font-size: 14px; }
/* 处于编辑态的卡片：加一圈主色描边和光晕，明确"我现在在改这张" */
.card-editing { border: 2px solid var(--primary); box-shadow: 0 0 0 4px rgba(21, 101, 192, .1), var(--sh2); }
/* 危险操作卡片（如学期清空）：红色描边 + 标题短杠转红，形成"这里要小心"的视觉分区 */
.card-danger { border: 1.5px solid #f2b6b0; box-shadow: 0 0 0 4px rgba(224, 69, 59, .07), var(--sh2); }
.card-danger .card-title::before { background: linear-gradient(180deg, #ef5350, var(--danger)); }
/* 教师页底部"有改动未保存"的吸底条 */
.sticky-dirty {
  position: sticky; bottom: 8px; z-index: 5;
  background: #fff8e6; border: 1px solid #f0a020; box-shadow: 0 4px 16px rgba(230, 130, 0, .14);
}

/* ------------------------------------------------------------ 登录 / 我的 */
.login-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.login-logo {
  width: 54px; height: 54px; flex: none; border-radius: 17px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: linear-gradient(140deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 4px 14px rgba(21, 101, 192, .32);
}
.login-title { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 3px 10px rgba(21, 101, 192, .3);
}

/* 分享给老师：二维码 + 说明左右排，窄屏自动上下堆叠 */
.share-qr { display: flex; align-items: center; gap: 16px; }
.share-qr-img {
  width: 196px; height: 196px; flex: none; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--sh1); background: #fff;
}
.share-qr-info { min-width: 0; }
.share-url {
  font-size: 17px; font-weight: 800; color: var(--primary-dark);
  word-break: break-all; font-variant-numeric: tabular-nums;
}
@media (max-width: 420px) {
  .share-qr { flex-direction: column; align-items: stretch; text-align: center; }
  .share-qr-info .row { justify-content: center; }
}

/* ------------------------------------------------------------ 顶部与提示 */
.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: #7a5330;
  border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 10px; font-size: 16px;
  box-shadow: 0 1px 2px rgba(230, 81, 0, .06);
}
.notice-info { background: #eaf3fe; border-color: #bcdcfa; color: #17436f; box-shadow: 0 1px 2px rgba(21, 101, 192, .07); }
.notice-ok { background: var(--add-bg); border-color: #bfe3c1; color: #22582a; box-shadow: 0 1px 2px rgba(46, 125, 50, .07); }
.notice-danger { background: #fdecea; border-color: #f7c9c4; color: #8a2c2c; box-shadow: 0 1px 2px rgba(198, 40, 40, .07); }
.offline-bar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, #ef6c00, var(--warn)); color: #fff;
  text-align: center; font-size: 16px; padding: 9px;
  box-shadow: 0 2px 8px rgba(230, 81, 0, .28);
}

.app-header {
  position: sticky; top: 0; z-index: 30; color: #fff; font-size: 17px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-2));
  padding: 13px 16px 15px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 18px rgba(13, 71, 161, .24);
}
.app-header strong { font-size: 19px; letter-spacing: .3px; }
.app-header strong::before { content: '🏫'; margin-right: 8px; font-size: 20px; font-weight: 400; }
/* 顶部"本周"做成半透明胶囊，和右边日期自然分层 */
.app-header .muted {
  color: #fff; font-size: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .28);
  padding: 4px 10px; border-radius: 999px;
}

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(112px + env(safe-area-inset-bottom));
  z-index: 200; background: rgba(23, 32, 48, .93); color: #fff;
  padding: 13px 20px; border-radius: var(--radius); font-size: 17px; max-width: 88%;
  box-shadow: var(--sh3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: toastIn .22s ease both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.sticky-submit {
  position: sticky; bottom: 0;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); margin-top: 12px;
  box-shadow: 0 -4px 18px rgba(17, 34, 68, .09);
}
.sticky-submit .btn { min-width: 150px; }

.report-box {
  white-space: pre-wrap; background: linear-gradient(180deg, #f8fafd, #f2f6fb);
  border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 14px; font-size: 16px; margin-top: 12px;
  font-family: inherit; line-height: 1.7;
}

/* ------------------------------------------------------------ 弹层与媒体 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: maskIn .18s ease both;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; width: 100%; max-width: 720px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  max-height: 86vh; overflow: auto;
  padding: 14px 15px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 34px rgba(15, 23, 42, .26);
  animation: sheetUp .24s cubic-bezier(.22, .8, .3, 1) both;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
/* 顶部一道小横杠，提示"这是可以往下拖/滚的面板" */
.modal::before {
  content: ''; display: block; width: 44px; height: 4px; border-radius: 2px;
  background: #d8dee7; margin: 0 auto 12px;
}
.modal h3 { margin: 0 0 10px; font-size: 20px; }
.photo { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); display: block; box-shadow: var(--sh1); }
.thumb { width: 76px; height: 76px; object-fit: cover; border-radius: 11px; border: 1px solid var(--line); flex: none; box-shadow: var(--sh1); }

/* ------------------------------------------------------------ 段位切换 */
.seg {
  display: flex; background: #eef2f7; border-radius: var(--radius-sm); padding: 4px; gap: 4px; margin-bottom: 12px;
  box-shadow: inset 0 1px 3px rgba(17, 34, 68, .07);
}
.seg button {
  flex: 1; border: none; background: none; min-height: 46px; border-radius: 10px;
  font-size: 16.5px; color: var(--text-2); cursor: pointer; font-weight: 600; font-family: inherit;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.seg button.on {
  background: #fff; color: var(--primary); font-weight: 700;
  box-shadow: 0 1px 2px rgba(17, 34, 68, .1), 0 2px 7px rgba(17, 34, 68, .08);
}
.seg button:active { color: var(--primary-dark); }

/* ------------------------------------------------- 排班选人：岗位 + 快速查找 */
.pick-slot {
  flex: 1; min-height: 50px; display: flex; align-items: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: #f8fafc;
  padding: 0 14px; font-size: 17px; cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.pick-slot.empty { color: var(--text-2); }
.pick-slot:not(.empty) {
  border-style: solid; border-color: var(--primary-line); background: #fff; box-shadow: var(--sh1);
}
.pick-box {
  border: 2px solid var(--primary); border-radius: var(--radius); padding: 12px;
  background: linear-gradient(180deg, #f7fbff, #eef6ff); box-shadow: var(--sh2);
}
.pick-list { max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.pick-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 52px; border: none; border-bottom: 1px solid var(--line-2);
  background: #fff; font-size: 18px; color: var(--text); text-align: left; padding: 0 14px; cursor: pointer;
  font-family: inherit; transition: background .14s ease;
}
.pick-item:last-child { border-bottom: none; }
.pick-item:active { background: var(--primary-soft); }
.pick-item .muted { font-size: 14px; }

/* ------------------------------------------------------------ 其他小件 */
.empty { text-align: center; color: var(--text-3); padding: 34px 10px; font-size: 16px; }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mb8 { margin-bottom: 8px; }
.hr { height: 1px; background: var(--line); margin: 12px 0; }

/* 数字类统一等宽，避免名单滚动时数字左右跳动 */
.num-xl { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.num-lg { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 细滚动条（桌面端 Windows 上默认那条很抢眼） */
.pick-list::-webkit-scrollbar, .modal::-webkit-scrollbar { width: 8px; }
.pick-list::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb { background: #d3dae4; border-radius: 4px; }
.pick-list::-webkit-scrollbar-thumb:hover, .modal::-webkit-scrollbar-thumb:hover { background: #bcc6d4; }

/* 系统开了"减弱动态效果"就全部关掉，避免眩晕 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
