/* zzz社区 · 界面壳层（iOS 毛玻璃质感）
 *
 * 质感来源，而不是装饰：
 *   1) 背景是多层彩色光斑（淡蓝/淡紫/淡青），给玻璃提供被模糊的内容
 *   2) 卡片是半透明白 + backdrop-filter 磨砂 + 1px 高光边 + 柔和投影
 *   3) 圆角与间距按 iOS 比例：卡片 22px、控件 12–14px、分组留白 20px+
 *   4) 交互过渡用 Apple 的 cubic-bezier(.32,.72,0,1)，位移克制
 *
 * 只做外观覆盖，不改组件结构；类名与响应式断点保持原样。
 */

/* ══════════ 设计令牌 ══════════ */
:root {
  /* iOS 系统蓝与语义色 */
  --ios-blue: #0a84ff;
  --ios-blue-deep: #0068d9;
  --ok: #34c759;
  --warn: #ff9f0a;
  --danger: #ff3b30;

  /* 文字：iOS 的 label / secondaryLabel / tertiaryLabel */
  --ink: #1c1c1e;
  --ink-2: rgba(60, 60, 67, .78);
  --muted: rgba(60, 60, 67, .6);
  --faint: rgba(60, 60, 67, .36);

  /* 玻璃与分隔 */
  --glass: rgba(255, 255, 255, .56);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-border: rgba(255, 255, 255, .7);
  --hairline: rgba(60, 60, 67, .12);
  --fill: rgba(120, 120, 128, .12);
  --fill-2: rgba(120, 120, 128, .08);

  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --blur: blur(28px) saturate(180%);

  --shadow-card: 0 10px 34px rgba(16, 24, 40, .07), 0 1px 0 rgba(255, 255, 255, .8) inset;
  --shadow-hover: 0 20px 48px rgba(16, 24, 40, .13), 0 1px 0 rgba(255, 255, 255, .9) inset;
  --shadow-float: 0 18px 50px rgba(16, 24, 40, .16);

  --ease: cubic-bezier(.32, .72, 0, 1);

  /* Element Plus 变量对齐 */
  --el-color-primary: #0a84ff;
  --el-color-primary-light-3: #4ba3ff;
  --el-color-primary-light-5: #7dbcff;
  --el-color-primary-light-7: #b3d9ff;
  --el-color-primary-light-8: #d6ebff;
  --el-color-primary-light-9: #eaf4ff;
  --el-color-primary-dark-2: #0068d9;
  --el-color-success: #34c759;
  --el-color-warning: #ff9f0a;
  --el-color-danger: #ff3b30;
  --el-border-radius-base: 12px;
  --el-border-radius-small: 10px;
  --el-text-color-primary: #1c1c1e;
  --el-text-color-regular: rgba(60, 60, 67, .78);
  --el-text-color-secondary: rgba(60, 60, 67, .6);
  --el-text-color-placeholder: rgba(60, 60, 67, .36);
  --el-border-color: rgba(60, 60, 67, .16);
  --el-border-color-light: rgba(60, 60, 67, .12);
  --el-border-color-lighter: rgba(60, 60, 67, .08);
  --el-fill-color-light: rgba(120, 120, 128, .08);
  --el-fill-color-blank: rgba(255, 255, 255, .8);
  --el-font-size-base: 14px;
}

* { box-sizing: border-box; }
html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef2f9 48%, #e9eef7 100%);
  background-attachment: fixed;
}

/* 三层彩色光斑：玻璃卡片模糊的就是它们 */
body::before,
body::after,
html::before {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}
body::before {
  width: 62vw; height: 62vw;
  max-width: 820px; max-height: 820px;
  top: -16vw; left: -12vw;
  background: radial-gradient(circle at 35% 35%,
              rgba(122, 168, 255, .62) 0%,
              rgba(122, 168, 255, .22) 45%,
              transparent 72%);
}
body::after {
  width: 58vw; height: 58vw;
  max-width: 760px; max-height: 760px;
  right: -14vw; bottom: -18vw;
  background: radial-gradient(circle at 65% 65%,
              rgba(186, 150, 255, .5) 0%,
              rgba(186, 150, 255, .18) 46%,
              transparent 72%);
}
html::before {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: 34%; left: 46%;
  background: radial-gradient(circle at 50% 50%,
              rgba(120, 226, 232, .38) 0%,
              rgba(120, 226, 232, .12) 48%,
              transparent 72%);
}

#app { position: relative; z-index: 1; min-height: 100%; }

::selection { background: rgba(10, 132, 255, .22); }

/* 数字等宽，价格/余额/进度不跳动 */
.num, .money-big, .goods .price, .stat .v, .mono { font-variant-numeric: tabular-nums; }
.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
}

/* ══════════ 登录 / 注册 ══════════ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 36px 30px 26px;
  border-radius: 28px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(16, 24, 40, .16), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.auth-logo {
  width: 58px; height: 58px;
  margin: -4px auto 16px;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .12);
}
.auth-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.2px;
  margin-bottom: 26px;
  color: var(--ink);
}
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 20px; font-size: 13px; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; margin-top: 16px; }
.auth-links a { color: var(--ios-blue); text-decoration: none; opacity: .9; transition: opacity .15s; }
.auth-links a:hover { opacity: 1; }
.auth-foot {
  position: relative; z-index: 1;
  margin-top: 22px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}
.auth-btn {
  width: 100%; height: 48px;
  font-size: 16px; font-weight: 600;
  border-radius: 14px;
}

/* ══════════ 顶栏（毛玻璃条） ══════════ */
.topbar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 26px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 252, .66);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
}
.topbar .logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; letter-spacing: -.1px; }
.topbar .logo .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow: 0 3px 8px rgba(16, 24, 40, .12);
}
.topnav { display: flex; gap: 2px; margin-left: 14px; flex: 1; }
.topnav a {
  padding: 7px 14px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.topnav a:hover { color: var(--ink); background: var(--fill-2); }
.topnav a.on {
  color: var(--ink);
  font-weight: 600;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .07);
}
.topbar .bal { font-size: 13px; color: var(--muted); margin-right: 6px; }
.topbar .bal b { color: var(--ink); font-size: 15px; font-weight: 600; }

/* ══════════ 内容 ══════════ */
.page { max-width: 1180px; margin: 0 auto; padding: 30px 26px 76px; }
.page-title { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin: 0 0 6px; }
.page-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }

.grid-2 { display: grid; grid-template-columns: 196px 1fr; gap: 20px; align-items: start; }

/* ══════════ 玻璃卡片 ══════════ */
.card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.card + .card { margin-top: 16px; }
.card-title { font-size: 15px; font-weight: 600; letter-spacing: -.1px; margin: 0 0 16px; }

/* ══════════ 分类（iOS 侧栏） ══════════ */
.class-box { padding: 8px; }
.class-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px;
  border-radius: 13px;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.class-item:hover { background: var(--fill-2); }
.class-item.on {
  background: linear-gradient(180deg, #2b8fff 0%, var(--ios-blue) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(10, 132, 255, .3);
}
.class-item .cnt { font-size: 12px; color: var(--faint); }
.class-item.on .cnt { color: rgba(255, 255, 255, .8); }

/* ══════════ 商品卡 ══════════ */
.goods-toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(266px, 1fr)); gap: 16px; }
.goods {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
  overflow: hidden;
}
/* 顶部一层极淡高光，模拟玻璃边缘折射 */
.goods::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
  pointer-events: none;
}
.goods > * { position: relative; z-index: 1; }
.goods:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, .95);
}
.goods .tag-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.goods .name { font-size: 15.5px; font-weight: 600; line-height: 1.45; letter-spacing: -.2px; color: var(--ink); }
.goods .price { font-size: 28px; font-weight: 700; letter-spacing: -.8px; line-height: 1.1; color: var(--ink); }
.goods .price small { font-size: 12px; font-weight: 400; color: var(--faint); margin-left: 4px; letter-spacing: 0; }
.goods .meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.goods .note { font-size: 12.5px; color: var(--faint); line-height: 1.6; min-height: 38px; white-space: pre-line; }
.goods .buy { margin-top: auto; }

/* 标签：iOS 胶囊贴纸 */
.el-tag {
  --el-tag-bg-color: rgba(120, 120, 128, .12);
  --el-tag-border-color: transparent;
  --el-tag-text-color: rgba(60, 60, 67, .7);
  border: none;
  font-weight: 500;
  border-radius: 8px;
  padding: 0 8px;
  height: 22px;
  line-height: 22px;
}
.goods .el-tag--success {
  --el-tag-bg-color: rgba(52, 199, 89, .14);
  --el-tag-text-color: #1e8e3e;
}

/* ══════════ 表格 ══════════ */
.progress-cell { min-width: 132px; }
.progress-cell .num { font-size: 12px; color: var(--muted); margin-top: 3px; }

.el-table {
  --el-table-border-color: var(--hairline);
  --el-table-header-bg-color: transparent;
  --el-table-row-hover-bg-color: rgba(255, 255, 255, .55);
  --el-table-tr-bg-color: transparent;
  --el-table-bg-color: transparent;
  background: transparent;
  font-size: 13.5px;
}
.el-table th.el-table__cell { font-weight: 600; color: var(--muted); font-size: 12.5px; letter-spacing: .2px; background: transparent; }
.el-table td.el-table__cell, .el-table th.el-table__cell { padding: 11px 0; }
.el-table tr, .el-table__inner-wrapper, .el-table__body-wrapper { background: transparent; }
.el-table::before, .el-table__inner-wrapper::before { display: none; }

/* ══════════ 统计卡 ══════════ */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}
.stat .k { font-size: 12.5px; color: var(--muted); }
.stat .v { font-size: 28px; font-weight: 700; letter-spacing: -.8px; margin-top: 8px; color: var(--ink); }
.stat .v.blue { color: var(--ios-blue); }
.stat .v.orange { color: var(--ink); }

.money-big { font-size: 38px; font-weight: 700; letter-spacing: -1.4px; color: var(--ink); line-height: 1.05; }

/* ══════════ 充值通道（iOS 分段选择） ══════════ */
.pay-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.pay-opt {
  padding: 13px 20px;
  min-width: 114px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.pay-opt:hover { background: rgba(255, 255, 255, .8); }
.pay-opt.on {
  border-color: transparent;
  background: linear-gradient(180deg, #2b8fff, var(--ios-blue));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(10, 132, 255, .28);
}

/* ══════════ 提示条 ══════════ */
.tip {
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--hairline);
}
.tip b { color: var(--ink); font-weight: 600; }

.empty { padding: 44px; text-align: center; color: var(--faint); font-size: 13px; }

.footer { text-align: center; color: var(--faint); font-size: 12px; padding: 30px 0 48px; letter-spacing: .1px; }

/* ══════════ 二维码 ══════════ */
.qr-row { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.qr-row figure { margin: 0; text-align: center; }
.qr-row img {
  width: 164px; height: 164px;
  object-fit: contain;
  padding: 9px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .1);
}
.qr-row figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.qr-note { flex: 1 1 300px; min-width: 240px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.qr-note p { margin: 0 0 8px; }
.qr-note p:last-child { margin-bottom: 0; color: var(--faint); }

/* ══════════ Element Plus：iOS 化 ══════════ */
.el-button {
  font-weight: 500;
  border-radius: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.el-button:active { transform: scale(.975); }

.el-button--primary {
  --el-button-bg-color: #0a84ff;
  --el-button-border-color: #0a84ff;
  --el-button-hover-bg-color: #2b8fff;
  --el-button-hover-border-color: #2b8fff;
  --el-button-active-bg-color: #0068d9;
  --el-button-active-border-color: #0068d9;
  box-shadow: 0 6px 16px rgba(10, 132, 255, .26);
  font-weight: 600;
}
.el-button--primary.is-plain {
  --el-button-bg-color: rgba(10, 132, 255, .1);
  --el-button-text-color: #0068d9;
  --el-button-border-color: rgba(10, 132, 255, .28);
  --el-button-hover-bg-color: #0a84ff;
  --el-button-hover-text-color: #fff;
  --el-button-hover-border-color: #0a84ff;
  box-shadow: none;
}
.el-button--primary.is-plain:hover { box-shadow: 0 6px 16px rgba(10, 132, 255, .26); }
.el-button--default {
  --el-button-bg-color: rgba(255, 255, 255, .6);
  --el-button-border-color: rgba(60, 60, 67, .16);
  --el-button-hover-bg-color: rgba(255, 255, 255, .9);
  --el-button-hover-border-color: rgba(60, 60, 67, .24);
  --el-button-hover-text-color: #1c1c1e;
}
.el-button.is-link { font-weight: 500; }

/* 输入类：iOS 圆角 + 聚焦蓝色环 */
.el-input__wrapper, .el-textarea__inner {
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 0 0 1px var(--hairline) inset;
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.el-input__wrapper:hover, .el-textarea__inner:hover { box-shadow: 0 0 0 1px rgba(60, 60, 67, .22) inset; }
.el-input__wrapper.is-focus, .el-textarea__inner:focus {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .22), 0 0 0 1px rgba(10, 132, 255, .6) inset !important;
}
.el-input-number .el-input__wrapper { box-shadow: 0 0 0 1px var(--hairline) inset; }

/* 对话框 / 消息框：厚玻璃 */
.el-overlay {
  background: rgba(16, 24, 40, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.el-dialog {
  border-radius: 24px;
  background: rgba(252, 252, 255, .82);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px rgba(16, 24, 40, .28), 0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
}
.el-dialog__header { padding: 22px 24px 8px; margin-right: 0; }
.el-dialog__title { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.2px; }
.el-dialog__body { padding: 12px 24px 8px; }
.el-dialog__footer { padding: 8px 24px 22px; }
.el-message-box {
  border-radius: 22px;
  background: rgba(252, 252, 255, .88);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px rgba(16, 24, 40, .28);
}
.el-message-box__title { font-size: 16px; font-weight: 600; }

/* Tabs：iOS 分段控件 */
.el-tabs__header { display: inline-block; margin-bottom: 14px; }
.el-tabs__nav-wrap { padding: 3px; border-radius: 12px; background: var(--fill); }
.el-tabs__nav-wrap::after { display: none; }
.el-tabs__active-bar { display: none; }
.el-tabs__item {
  height: 30px;
  line-height: 30px;
  padding: 0 14px !important;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.el-tabs__item.is-active {
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}
.el-tabs__nav-next, .el-tabs__nav-prev { line-height: 36px; }

/* 进度条 */
.el-progress-bar__outer { background: rgba(120, 120, 128, .16); }
.el-progress-bar__inner { background: linear-gradient(90deg, #4ba3ff, var(--ios-blue)); }
.el-progress.is-success .el-progress-bar__inner { background: linear-gradient(90deg, #5fd97c, var(--ok)); }

/* 分页 */
.el-pagination { --el-pagination-button-bg-color: transparent; font-weight: 500; }
.el-pagination.is-background .el-pager li {
  border-radius: 9px;
  background: rgba(255, 255, 255, .55);
  color: var(--ink-2);
}
.el-pagination.is-background .el-pager li.is-active {
  background: var(--ios-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 132, 255, .3);
}

.el-checkbox__label { color: var(--ink-2); }
.el-dropdown-menu { border-radius: 14px; padding: 6px; }
.el-dropdown-menu__item { font-size: 13.5px; border-radius: 9px; }
.el-select-dropdown { border-radius: 14px; }
.el-popper.is-light { border-radius: 14px; }

/* ══════════ 手机端 ══════════ */
@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar { height: 58px; padding: 0 14px; gap: 12px; }
  .topbar .logo { min-width: 0; }
  .topbar .logo .mark { width: 27px; height: 27px; border-radius: 8px; flex: none; }
  .topbar .logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 128px; font-size: 15px; }
  .topbar .bal { font-size: 12px; }
  .topbar .bal b { font-size: 14px; }

  body::before { width: 120vw; height: 120vw; top: -40vw; left: -30vw; filter: blur(70px); }
  body::after { width: 110vw; height: 110vw; right: -40vw; bottom: -30vw; filter: blur(70px); }
  html::before { width: 90vw; height: 90vw; filter: blur(65px); }

  .page { padding: 20px 14px 104px; }
  .page-title { font-size: 24px; letter-spacing: -.4px; }
  .page-sub { font-size: 12.5px; margin-bottom: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 16px 15px; border-radius: 18px; }
  .card + .card { margin-top: 14px; }
  .card-title { font-size: 14px; margin-bottom: 12px; }

  /* 分类：横向滚动的玻璃胶囊 */
  .class-box { display: flex; gap: 8px; overflow-x: auto; padding: 8px; -webkit-overflow-scrolling: touch; }
  .class-box::-webkit-scrollbar { display: none; }
  .class-item {
    flex: 0 0 auto;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .05);
    font-size: 13px;
  }
  .class-item .cnt { display: none; }
  .class-item.on {
    background: linear-gradient(180deg, #2b8fff, var(--ios-blue));
    border-color: transparent;
    color: #fff;
  }

  .goods-toolbar { gap: 8px; margin-bottom: 14px; }
  .goods-toolbar .el-input { max-width: none !important; }
  .goods-grid { grid-template-columns: 1fr; gap: 12px; }
  .goods { padding: 16px; gap: 10px; border-radius: 18px; }
  .goods:hover { transform: none; box-shadow: var(--shadow-card); border-color: var(--glass-border); }
  .goods .name { font-size: 15px; }
  .goods .price { font-size: 25px; }
  .goods .note { min-height: 0; }

  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px 15px; border-radius: 16px; }
  .stat .v { font-size: 23px; }
  .money-big { font-size: 30px; }

  .el-dialog { width: 92vw !important; max-width: 92vw !important; margin-top: 6vh !important; border-radius: 22px; }
  .el-dialog__body { padding: 10px 16px 6px; }
  .el-dialog__footer { padding: 6px 16px 18px; }
  .el-message-box { width: 88vw !important; max-width: 380px; border-radius: 20px; }
  .el-message-box__message img { max-width: 100%; }

  .el-table { font-size: 12px; }
  .el-table .cell { padding: 0 6px; line-height: 1.55; }
  .el-table th.el-table__cell > .cell { font-size: 12px; }
  .el-pagination { font-size: 12px; }

  .qr-row { justify-content: center; gap: 14px; }
  .qr-row img { width: 136px; height: 136px; border-radius: 14px; }
  .qr-note { flex-basis: 100%; text-align: center; }

  .el-input-number { width: 100% !important; max-width: 220px; }
  .el-button--large { padding: 12px 18px; font-size: 15px; }
  .footer { font-size: 11.5px; padding: 18px 0 32px; }
}

/* 小屏上藏掉次要列 */
@media (max-width: 768px) {
  .hide-sm { display: none !important; }
}

@media (max-width: 430px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .v { font-size: 21px; }
  .stat .k { font-size: 11.5px; }
  .goods .buy { width: 100%; }
  .el-dialog { width: 94vw !important; max-width: 94vw !important; }
  .el-message-box { width: 92vw !important; }
}

@media (max-width: 480px) {
  .auth-wrap { padding: 20px 14px; }
  .auth-card { padding: 28px 20px 20px; border-radius: 24px; max-width: 100%; }
  .auth-logo { width: 54px; height: 54px; }
  .auth-title { font-size: 18px; margin-bottom: 20px; }
  .auth-btn { height: 46px; }
  .auth-row .el-checkbox__label { font-size: 12px; }
  .auth-foot { font-size: 11.5px; }
}

@media (max-width: 360px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* 触屏去掉 hover 位移 */
@media (hover: none) {
  .goods:hover { transform: none; box-shadow: var(--shadow-card); border-color: var(--glass-border); }
}

/* ══════════ 手机底部标签栏：iOS 浮动玻璃胶囊 ══════════ */
.tabbar { display: none; }

@media (max-width: 860px) {
  .tabbar {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    gap: 2px;
    padding: 7px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .66);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: var(--shadow-float);
  }
  .tabbar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 18px;
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .tabbar a i { display: none; }
  .tabbar a.on {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(180deg, #2b8fff, var(--ios-blue));
    box-shadow: 0 6px 16px rgba(10, 132, 255, .3);
  }

  .page { padding-bottom: 124px !important; }
  .footer { padding-bottom: 124px !important; }
  .auth-wrap { padding-bottom: 24px; }
}

/* 服务配置表单网格 */
.up-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
@media (max-width: 768px) {
  .up-form-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* 尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* ══════════ 运营控制台（管理后台专属） ══════════ */
.admin-page { --ops-ink: #0b1220; }

.ops-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ops-sub { font-size: 11px; letter-spacing: 2.4px; color: #94a3b8; font-weight: 600; margin-top: 2px; font-family: var(--mono, ui-monospace, monospace); }
.ops-sep { opacity: .45; margin: 0 4px; }

.ops-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #a7f3d0; font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(16, 185, 129, .35);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .08), 0 4px 14px rgba(15, 23, 42, .18);
}
.ops-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: opsPulse 2s infinite; }
@keyframes opsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.ops-bar {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px; margin-bottom: 18px;
  background: rgba(148, 163, 184, .22);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px; overflow: hidden;
}
.ops-cell { background: rgba(255,255,255,.72); padding: 13px 16px; display: flex; flex-direction: column; gap: 3px; }
.ops-k { font-size: 11px; color: #64748b; letter-spacing: .3px; font-weight: 500; }
.ops-cell b { font-size: 16px; color: #0f172a; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }

.ops-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.ops-stat {
  position: relative; padding: 18px 20px 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(248,250,252,.78));
  border: 1px solid rgba(148, 163, 184, .24);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}
.ops-stat::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, #6366f1, #8b5cf6); opacity: .85;
}
.ops-stat.accent::after { background: linear-gradient(180deg, #f59e0b, #ef4444); }
.ops-icon { position: absolute; top: 14px; right: 16px; font-size: 17px; color: #cbd5e1; }
.ops-lbl { font-size: 12px; color: #64748b; font-weight: 500; letter-spacing: .2px; }
.ops-val { font-size: 27px; font-weight: 750; color: #0f172a; letter-spacing: -1px; margin: 5px 0 3px; font-variant-numeric: tabular-nums; }
.ops-foot { font-size: 11.5px; color: #94a3b8; }

@media (max-width: 1100px) {
  .ops-bar { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ops-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .ops-bar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ops-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ops-val { font-size: 21px; }
}
/* ══════════ 图形验证码 ══════════ */
.cap-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.cap-inp { flex: 1; }
.cap-box {
  width: 124px; height: 44px; flex: 0 0 124px;
  border: 1px solid var(--glass-border, #e2e8f0);
  border-radius: 8px; overflow: hidden; cursor: pointer;
  background: #f5f7fb; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, box-shadow .15s;
  user-select: none;
}
.cap-box:hover { border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.12); }
.cap-box svg { display: block; }
/* ══════════ 管理后台分页标签 ══════════ */
.admin-tabs .el-tabs__header { margin-bottom: 0; }
.admin-tabs .el-tabs__nav-wrap::after { height: 1px; background: rgba(148,163,184,.25); }
.admin-tabs .el-tabs__item { font-size: 13.5px; font-weight: 600; height: 40px; line-height: 40px; color: #64748b; padding: 0 10px; }
.admin-tabs .el-tabs__item.is-active { color: #0f172a; }
.admin-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }

