/* ============================================================
   汇员通 · H5 通用样式与动画库
   设计：扁平化商务风（蓝白），移动优先
   ============================================================ */

:root {
  --blue: #2563EB;
  --blue-d: #1D4ED8;
  --blue-l: #EFF6FF;
  --blue-g: linear-gradient(135deg, #2563EB 0%, #4F7DF3 55%, #6D9CFF 100%);
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --text: #1F2937;
  --sub: #6B7280;
  --mute: #9CA3AF;
  --line: #EDF0F5;
  --green: #10B981;
  --green-l: #ECFDF5;
  --orange: #F59E0B;
  --orange-l: #FFFBEB;
  --red: #EF4444;
  --red-l: #FEF2F2;
  --purple: #7C3AED;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 2px 10px rgba(31, 41, 55, .06);
  --shadow-l: 0 8px 28px rgba(37, 99, 235, .16);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 锁定字号：横屏 / 转屏时系统不自动放大文字，视口尺寸保持稳定 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---------- 移动端视口锁定（小程序式：不缩放、不回弹、不横向溢出） ---------- */
html {
  /* pan-x pan-y：保留正常滚动，显式排除 pinch-zoom 与双击缩放 */
  touch-action: pan-x pan-y;
  overscroll-behavior: none;
}
body {
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: none;   /* 禁橡皮筋：上下拉不再拖出白边 */
}
/* iOS Safari：输入控件字号 < 16px 时聚焦会自动放大视口 → 统一抬到 16px */
@supports (-webkit-touch-callout: none) {
  input, select, textarea { font-size: 16px; }
}

a { color: var(--blue); text-decoration: none; }
h1,h2,h3,h4,p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, button, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
img { max-width: 100%; display: block; }

/* ---------- H5 外壳 ---------- */
.app {
  max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,.06);
  overflow-x: hidden;
}
@media (min-width: 481px) { body { background: #E8EDF5; } }

.page { display: none; padding-bottom: calc(72px + var(--safe-b)); min-height: 100vh; }
.page.on { display: block; animation: pageIn .28s cubic-bezier(.22,.8,.3,1); }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px) scale(.995); }
  to   { opacity: 1; transform: none; }
}

/* 无 TabBar 的页面 */
.page.full { padding-bottom: 24px; }

/* ---------- 顶部渐变头 ---------- */
.hero {
  background: var(--blue-g);
  color: #fff;
  padding: 22px 18px 58px;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -40px; top: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.10);
  animation: floaty 6s ease-in-out infinite;
}
.hero::before {
  content: '';
  position: absolute; right: 40px; top: 60px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  animation: floaty 8s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-14px) scale(1.06); }
}
.hero h1 { font-size: 17px; font-weight: 600; letter-spacing: .5px; position: relative; }
.hero .sub { font-size: 12px; opacity: .82; margin-top: 2px; position: relative; }

/* ---------- 余额卡（浮在头部上） ---------- */
.balance-card {
  margin: -42px 14px 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-l);
  position: relative; z-index: 2;
  animation: cardUp .45s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes cardUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.bal-label { font-size: 12px; color: var(--sub); }
.bal-num {
  font-size: 36px; font-weight: 800; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums; line-height: 1.15;
  background: var(--blue-g); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.bal-num small { font-size: 18px; font-weight: 700; }
.bal-row { display: flex; gap: 8px; margin-top: 14px; }
.bal-row > div { flex: 1; text-align: center; padding: 8px 4px; background: var(--bg); border-radius: var(--radius-s); }
.bal-row b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.bal-row span { font-size: 11px; color: var(--sub); }

/* ---------- 通用卡片 ---------- */
.pad { padding: 0 14px; }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 15px; box-shadow: var(--shadow); margin-top: 12px;
}
.card.tight { padding: 12px; }
.card-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.card-title .more { font-size: 12px; color: var(--sub); font-weight: 400; }

.section-title { font-size: 13px; font-weight: 700; color: var(--sub); margin: 18px 0 8px; padding-left: 2px; letter-spacing: .3px; }

/* 入场动画：列表逐条浮现 */
.stagger > * { animation: cardUp .4s cubic-bezier(.22,.8,.3,1) both; }
.stagger > *:nth-child(1) { animation-delay: .03s; }
.stagger > *:nth-child(2) { animation-delay: .07s; }
.stagger > *:nth-child(3) { animation-delay: .11s; }
.stagger > *:nth-child(4) { animation-delay: .15s; }
.stagger > *:nth-child(5) { animation-delay: .19s; }
.stagger > *:nth-child(6) { animation-delay: .23s; }
.stagger > *:nth-child(n+7) { animation-delay: .27s; }

/* ---------- 快捷入口 ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.grid4 a, .grid4 button {
  background: none; border: none; padding: 12px 2px; border-radius: var(--radius-s);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text); font-size: 12px; cursor: pointer; transition: .18s;
}
.grid4 a:active, .grid4 button:active { background: var(--blue-l); transform: scale(.95); }
.ic {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-size: 19px; background: var(--blue-l);
}
.ic.g { background: var(--green-l); }
.ic.o { background: var(--orange-l); }
.ic.p { background: #F5F3FF; }
.ic.r { background: var(--red-l); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 13px 16px; border: none; border-radius: 12px;
  background: var(--blue-g); color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .12s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.btn:active { transform: scale(.975); box-shadow: 0 2px 8px rgba(37,99,235,.22); }
.btn:disabled, .btn.gray { background: #D7DBE4; color: #fff; box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: var(--card); color: var(--blue); box-shadow: none; border: 1px solid #D9E2F5; }
.btn.green { background: linear-gradient(135deg,#10B981,#34D399); box-shadow: 0 4px 14px rgba(16,185,129,.28); }
.btn.sm { width: auto; padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn.xs { width: auto; padding: 5px 10px; font-size: 12px; border-radius: 8px; box-shadow: none; }

/* 按钮内 loading 小圈 */
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading::after {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 表单 ---------- */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 11px; background: #FBFCFE; transition: .2s; font-size: 14px;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.09);
}
.field .tip { font-size: 11.5px; color: var(--mute); margin-top: 5px; }
.field-row { display: flex; gap: 9px; }
.field-row .field { flex: 1; }
.code-row { display: flex; gap: 9px; }
.code-row input { flex: 1; }

/* 分段选择 */
.seg { display: flex; gap: 8px; background: var(--bg); padding: 4px; border-radius: 11px; }
.seg button {
  flex: 1; padding: 9px; border: none; background: none; border-radius: 8px;
  font-size: 13.5px; color: var(--sub); cursor: pointer; transition: .2s; font-weight: 500;
}
.seg button.on { background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.07); }

/* 金额快捷选择 */
.amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.amounts button {
  padding: 14px 4px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 12px; font-size: 16px; font-weight: 700; color: var(--text);
  cursor: pointer; transition: .18s; font-variant-numeric: tabular-nums;
}
.amounts button:active { transform: scale(.96); }
.amounts button.on { border-color: var(--blue); color: var(--blue); background: var(--blue-l); transform: scale(1.02); }

/* ---------- 列表项 ---------- */
.item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line); gap: 10px;
}
.item:last-child { border-bottom: none; }
.item .l { flex: 1; min-width: 0; }
.item .l b { font-size: 13.5px; font-weight: 600; display: block; }
.item .l span { font-size: 11.5px; color: var(--sub); display: block; margin-top: 2px; }
.item .r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; white-space: nowrap; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.muted { color: var(--sub); font-weight: 400; }

/* 空状态 */
.empty { text-align: center; padding: 36px 16px; color: var(--mute); font-size: 13px; }
.empty .ic-big { font-size: 34px; margin-bottom: 8px; opacity: .35; }

/* ---------- TabBar ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  max-width: 480px; margin: 0 auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  display: flex; padding: 6px 0 calc(6px + var(--safe-b));
}
.tabbar button {
  flex: 1; background: none; border: none; display: flex; flex-direction: column;
  align-items: center; gap: 2px; color: var(--mute); font-size: 10.5px;
  padding: 5px 0; cursor: pointer; transition: .2s;
}
.tabbar button i { font-size: 20px; font-style: normal; line-height: 1; transition: transform .25s cubic-bezier(.22,1.4,.4,1); }
.tabbar button.on { color: var(--blue); font-weight: 600; }
.tabbar button.on i { transform: translateY(-2px) scale(1.12); }

/* ---------- 顶部返回栏 ---------- */
.navbar {
  display: flex; align-items: center; padding: 12px 14px;
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.navbar .back {
  width: 32px; height: 32px; border: none; background: var(--bg); border-radius: 9px;
  font-size: 17px; color: var(--text); cursor: pointer; margin-right: 10px;
  display: grid; place-items: center; transition: .15s;
}
.navbar .back:active { background: var(--blue-l); transform: scale(.92); }
.navbar h2 { font-size: 15.5px; font-weight: 700; flex: 1; }
.navbar .act { font-size: 13px; color: var(--blue); background: none; border: none; cursor: pointer; }

/* ---------- 会员码 ---------- */
.code-box {
  background: #fff; border-radius: var(--radius); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-l); margin-top: 14px; position: relative; overflow: hidden;
}
.code-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.06), transparent 62%);
}
.qr-wrap { position: relative; display: inline-block; padding: 10px; background: #fff; border-radius: 14px; }
.qr-canvas { width: 208px; height: 208px; display: block; }
/* 扫描线 */
.scan-line {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 12px var(--blue); animation: scanMove 2.4s ease-in-out infinite;
}
@keyframes scanMove {
  0%,100% { top: 10px; opacity: .2; }
  50%     { top: 200px; opacity: 1; }
}
.count-ring { font-size: 12px; color: var(--sub); margin-top: 10px; }
.count-ring b { color: var(--blue); font-variant-numeric: tabular-nums; }
.bar-code { margin-top: 14px; padding: 12px 0; border-top: 1px dashed var(--line); }
.bar-code .bars { display: flex; gap: 2px; justify-content: center; height: 54px; align-items: flex-end; }
.bar-code .bars i { display: block; width: 3px; background: var(--text); border-radius: 1px; }
.bar-code .no { font-size: 12.5px; letter-spacing: 2.5px; color: var(--sub); margin-top: 7px; font-variant-numeric: tabular-nums; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%) scale(.9);
  background: rgba(17,24,39,.9); color: #fff; padding: 12px 20px;
  border-radius: 12px; font-size: 13.5px; z-index: 999; max-width: 78%;
  text-align: center; opacity: 0; pointer-events: none; transition: .25s;
  backdrop-filter: blur(6px);
}
.toast.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ---------- 底部弹层 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(17,24,39,.42); z-index: 200;
  opacity: 0; pointer-events: none; transition: .25s;
}
.sheet-mask.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: 100%; max-width: 480px; background: #fff; z-index: 201;
  border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + var(--safe-b));
  transition: transform .32s cubic-bezier(.22,.9,.3,1); max-height: 84vh; overflow-y: auto;
}
.sheet.on { transform: translate(-50%, 0); }
.sheet h3 { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 16px; }

/* ---------- 弹窗 ---------- */
.dialog {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%,-46%) scale(.94);
  width: 84%; max-width: 330px; background: #fff; border-radius: 18px;
  padding: 22px 20px; z-index: 202; opacity: 0; pointer-events: none; transition: .25s;
}
.dialog.on { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }

/* ---------- 徽标 / 标签 ---------- */
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600; background: var(--blue-l); color: var(--blue);
}
.tag.g { background: var(--green-l); color: var(--green); }
.tag.o { background: var(--orange-l); color: #B45309; }
.tag.r { background: var(--red-l); color: var(--red); }
.tag.n { background: #F3F4F6; color: var(--sub); }

/* ---------- 进度条 ---------- */
.progress { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue-g); border-radius: 99px; transition: width .8s cubic-bezier(.22,.9,.3,1); }

/* ---------- 提示条 ---------- */
.note {
  font-size: 11.5px; color: var(--sub); line-height: 1.75;
  background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-top: 10px;
}
.note b { color: var(--text); }
.note.warn { background: var(--orange-l); color: #92400E; }

/* ---------- 加载骨架 ---------- */
.skeleton {
  background: linear-gradient(90deg, #EEF1F6 25%, #F7F9FC 50%, #EEF1F6 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-line { height: 13px; margin-bottom: 9px; }
.sk-line:last-child { width: 62%; }

/* ---------- 顶部 Tab ---------- */
.tabs { display: flex; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.tabs button {
  flex: 1; padding: 13px 6px; border: none; background: none; font-size: 13.5px;
  color: var(--sub); cursor: pointer; position: relative; transition: .2s;
}
.tabs button.on { color: var(--blue); font-weight: 700; }
.tabs button.on::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2.5px; background: var(--blue); border-radius: 2px;
  animation: tabIn .25s ease;
}
@keyframes tabIn { from { width: 0; opacity: 0; } to { width: 22px; opacity: 1; } }

/* ---------- 数字滚动 ---------- */
.count-anim { animation: countPop .5s cubic-bezier(.22,1.3,.4,1); }
@keyframes countPop { 0% { transform: scale(.94); opacity: .6; } 100% { transform: none; opacity: 1; } }

/* ---------- 骨架：管理后台 ---------- */
.layout { display: flex; min-height: 100vh; }
.side {
  width: 208px; background: #1E293B; color: #CBD5E1; flex: 0 0 208px;
  padding: 16px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side .brand { padding: 0 18px 18px; font-size: 15px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.side .brand span { font-size: 11px; font-weight: 400; color: #94A3B8; display: block; }
.side button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 18px;
  background: none; border: none; color: #CBD5E1; font-size: 13.5px;
  cursor: pointer; text-align: left; transition: .18s; border-left: 3px solid transparent;
}
.side button:hover { background: rgba(255,255,255,.06); color: #fff; }
.side button.on { background: rgba(37,99,235,.18); color: #fff; border-left-color: var(--blue); font-weight: 600; }
.side .badge { margin-left: auto; background: var(--red); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 99px; }

.main { flex: 1; padding: 20px 22px 40px; min-width: 0; background: var(--bg); }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.topbar h2 { font-size: 19px; }

.view { display: none; }
.view.on { display: block; animation: pageIn .3s cubic-bezier(.22,.8,.3,1); }

/* 数据卡 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px,1fr)); gap: 12px; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  animation: cardUp .42s cubic-bezier(.22,.8,.3,1) both; position: relative; overflow: hidden;
}
.stat .k { font-size: 12px; color: var(--sub); }
.stat .v { font-size: 25px; font-weight: 800; margin-top: 5px; font-variant-numeric: tabular-nums; letter-spacing: -.4px; }
.stat .d { font-size: 11.5px; color: var(--mute); margin-top: 3px; }
.stat::after { content: ''; position: absolute; right: -18px; top: -18px; width: 62px; height: 62px; border-radius: 50%; background: var(--blue-l); opacity: .7; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 13px; }
.table th { background: #F8FAFC; text-align: left; padding: 11px 12px; font-weight: 600; color: var(--sub); font-size: 12px; white-space: nowrap; }
.table td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #FBFCFE; }
.table .num { font-variant-numeric: tabular-nums; text-align: right; }

/* 分页 */
.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; }
.pager button { padding: 6px 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 13px; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* 移动端管理后台适配 */
@media (max-width: 820px) {
  .layout { flex-direction: column; }
  .side { width: 100%; flex: none; height: auto; position: static; display: flex; overflow-x: auto; padding: 8px; gap: 6px; }
  .side .brand { display: none; }
  .side button { width: auto; white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; border-radius: 8px; padding: 9px 13px; }
  .side button.on { border-left: none; border-bottom-color: var(--blue); }
  .main { padding: 14px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 授权页（居中卡片） */
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 46px 20px 30px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .mark {
  width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 12px;
  background: var(--blue-g); display: grid; place-items: center; color: #fff; font-size: 26px;
  box-shadow: var(--shadow-l); animation: cardUp .5s cubic-bezier(.22,.8,.3,1) both;
}
.auth-logo h1 { font-size: 19px; font-weight: 700; }
.auth-logo p { font-size: 12.5px; color: var(--sub); margin-top: 3px; }
.auth-switch { text-align: center; font-size: 13px; color: var(--sub); margin-top: 16px; }
.auth-switch button { background: none; border: none; color: var(--blue); font-size: 13px; cursor: pointer; font-weight: 600; }

/* 扫码雷达（会员端"扫码消费"） */
.radar { width: 210px; height: 210px; margin: 26px auto 8px; position: relative; }
.radar .ring {
  position: absolute; inset: 0; border: 2px solid var(--blue); border-radius: 50%;
  opacity: 0; animation: radarOut 2.6s ease-out infinite;
}
.radar .ring:nth-child(2) { animation-delay: .85s; }
.radar .ring:nth-child(3) { animation-delay: 1.7s; }
@keyframes radarOut { 0% { transform: scale(.42); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }
.radar .core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 92px; height: 92px; border-radius: 26px; background: var(--blue-g);
  display: grid; place-items: center; color: #fff; font-size: 34px; box-shadow: var(--shadow-l);
  animation: floaty 3.4s ease-in-out infinite;
}

/* 骨架屏容器 */
.loading-block { padding: 20px; }

/* ---------- 车辆维保模块：列表 / 照片 / AI ---------- */
.item-list { display: flex; flex-direction: column; gap: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.photo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid #EDF0F5; background: #F7F8FB; aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .ai { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(17,24,39,.72); color: #fff; font-size: 10.5px; line-height: 1.35; padding: 4px 5px; max-height: 70%; overflow: hidden; }
.nav-sep { height: 1px; background: rgba(255,255,255,.12); margin: 8px 4px; }
