* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #4f6ef7;
  --primary-dark: #3d5ae0;
  --primary-light: #eef1fe;
  --success: #16a34a;
  --success-light: #e8f7ee;
  --danger: #dc2626;
  --danger-light: #fdecec;
  --warning: #d97706;
  --warning-light: #fef4e6;
  --text: #1f2430;
  --text-2: #5b6472;
  --text-3: #98a1b0;
  --border: #e5e8ee;
  --bg: #f4f6fa;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(30, 40, 80, 0.07);
  --shadow-lg: 0 6px 20px rgba(30, 40, 80, 0.12);
}
html, body { height: 100%; }
body { font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }
a { color: var(--primary); text-decoration: none; }

/* ---------- 登录页 ---------- */
.auth-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; position: relative; overflow: hidden; }
.auth-bg { position: absolute; inset: 0; background: #f4f6fa; z-index: 0; }
.auth-bg::before, .auth-bg::after { display: none; }
.auth-bg::before { width: 420px; height: 420px; background: #a8b8ff; top: -120px; left: -80px; }
.auth-bg::after { width: 380px; height: 380px; background: #ffc9a3; bottom: -120px; right: -60px; }
.auth-card { position: relative; z-index: 1; width: 400px; max-width: calc(100vw - 32px); background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 40px 36px 28px; }
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo-icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 16px; background: var(--primary); color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.auth-logo h1 { font-size: 22px; font-weight: 700; }
.auth-sub { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.auth-form .field { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.seg { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.seg-btn { flex: 1; border: none; background: transparent; padding: 8px 0; border-radius: 8px; cursor: pointer; color: var(--text-2); font-size: 13px; transition: all .2s; }
.seg-btn.active { background: var(--card); color: var(--primary); font-weight: 600; box-shadow: var(--shadow); }
.auth-tip { margin-top: 18px; text-align: center; color: var(--text-3); font-size: 12px; line-height: 1.6; }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; margin-bottom: 8px; }

/* ---------- 通用组件 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-size: 14px; cursor: pointer; transition: all .18s; font-family: inherit; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--text-2); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: #fff; border-color: var(--border); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: var(--danger-light); border-color: var(--danger); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #15803d; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }
.btn-block { width: 100%; padding: 11px; font-size: 15px; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: 14px; font-family: inherit; color: var(--text); background: #fff; transition: border .18s, box-shadow .18s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 110, 247, .14); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ---------- 布局 ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 224px; background: #fff; border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 20px 18px 16px; }
.side-brand img.logo { object-fit: cover; }
.side-brand .logo { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #7b96ff); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.side-brand b { font-size: 15px; display: block; }
.side-brand small { color: var(--text-3); font-size: 11px; }
.side-nav { flex: 1; padding: 8px 12px; overflow-y: auto; }
/* 二级菜单项：缩进对齐一级菜单文字 + 圆角卡片，与一级章节头明显分层 */
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 42px; border-radius: 8px; color: var(--text-2); cursor: pointer; font-size: 13px; margin: 2px 4px; transition: all .15s; border: none; background: none; width: auto; font-family: inherit; text-align: left; }
.nav-item:hover { background: var(--bg); color: var(--text); }
.nav-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.side-nav a.nav-item-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 42px; border-radius: 8px; color: var(--text-2); cursor: pointer; font-size: 13px; margin: 2px 4px; transition: all .15s; text-decoration: none; width: auto; box-sizing: border-box; }
.side-nav a.nav-item-link:hover { background: var(--bg); color: var(--text); }
.nav-item .ico { width: 20px; text-align: center; font-size: 16px; }
/* 侧边栏分组导航（一级/二级菜单） */
.nav-group { margin-bottom: 2px; }
/* 一级菜单：图标 + 文字 + 右侧箭头行（2026-09-27 参考后台菜单样式重做展示层；
   颜色沿用浅色主题不变，仅去掉旧的渐变章节头/左侧竖条） */
.nav-group-title {
  display: flex; align-items: center; gap: 10px; width: auto;
  padding: 10px 12px; margin: 2px 4px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2, #5b6472); cursor: pointer; user-select: none;
  background: none; border-left: none;
  border-radius: 8px;
  box-sizing: border-box; letter-spacing: normal;
  transition: color .15s, background .15s;
}
.nav-group-title .g-ico { width: 20px; text-align: center; font-size: 15px; flex-shrink: 0; }
.nav-group:first-of-type .nav-group-title { margin-top: 0; }
.nav-group-title:hover { background: var(--bg, #f4f6fa); color: var(--text, #1f2430); }
.nav-caret { margin-left: auto; font-size: 10px; transition: transform .18s; color: var(--text-3, #98a1b0); }
.nav-group.open .nav-caret { transform: rotate(180deg); }
.nav-group-items { display: flex; flex-direction: column; }
.nav-group.closed .nav-group-items { display: none; }

.side-user { border-top: 1px solid var(--border); padding: 14px 18px; }
.side-user .u-name { font-weight: 600; font-size: 14px; }
.side-user .u-sub { color: var(--text-3); font-size: 12px; margin-top: 2px; }

.main { flex: 1; min-width: 0; margin-left: 224px; padding: 24px 28px; max-width: 1280px; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.page-desc { color: var(--text-3); font-size: 13px; margin-bottom: 20px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }

/* ---------- 卡片/统计 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.card + .card { margin-top: 16px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats-3 { grid-template-columns: 5fr 6fr 19fr; }
@media (max-width: 1100px) { .stats-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats-4, .stats-2, .stats-3 { grid-template-columns: 1fr; } }
.stat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -18px; top: -18px; width: 74px; height: 74px; border-radius: 50%; background: var(--stat-color, var(--primary)); opacity: .1; }
.stat .label { color: var(--text-3); font-size: 13px; }
.stat .value { font-size: 26px; font-weight: 700; margin-top: 6px; }
.stat .extra { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.stat-clickable { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.stat-clickable:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-warn { color: var(--danger, #dc2626) !important; }

/* 成员状态（健康值分级） */
.health-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 15px; font-weight: 600; margin-top: 8px; }
.hs-item { cursor: pointer; padding: 3px 8px; border-radius: 8px; transition: background .15s; white-space: nowrap; }
.hs-item:hover { background: var(--primary-light, #eef2ff); }
.hs-item b { font-size: 16px; }
.hs-excellent { color: var(--primary, #4f6ef7); }
.hs-mild { color: #0891b2; }
.hs-moderate { color: #d97706; }
.hs-high { color: var(--danger, #dc2626); }
.hs-sep { color: var(--border, #e5e7eb); }

/* 仪表盘成员列表弹窗 */
.member-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.member-list-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; }
.member-list-item .avatar { width: 30px; height: 30px; font-size: 13px; flex: 0 0 30px; }
.mli-main { flex: 1; min-width: 0; }
.mli-main b { display: block; font-size: 13px; }
.mli-user { color: var(--text-3, #888); font-size: 12px; }
.mli-val { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.mli-count { text-align: center; color: var(--text-3, #888); font-size: 12px; margin-top: 10px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
th { color: var(--text-3); font-weight: 500; font-size: 12px; background: #fafbfc; white-space: nowrap; }
tbody tr:hover { background: #fafbff; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-green { background: var(--success-light); color: var(--success); }
.pill-red { background: var(--danger-light); color: var(--danger); }
.pill-blue { background: var(--primary-light); color: var(--primary); }
.pill-orange { background: #fff1e0; color: #d9730d; }
.collect-fields { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 6px 0; }
.cf-item label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.cf-tip { width: 100%; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.order-info { font-size: 12px; line-height: 1.6; color: var(--text-2); }
.redeem-tip { font-size: 13px; color: var(--text-2); margin-bottom: 14px; padding: 10px 12px; background: var(--primary-light); border-radius: 10px; }
.pay-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pay-opt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-opt-row input[type="number"] { width: 110px; }
.pay-opt-label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 14px; }
.pay-opt-label.disabled { opacity: .55; cursor: not-allowed; }
.pay-opt-warn { color: #e02424; font-size: 12px; margin-left: auto; }
.pill-amber { background: var(--warning-light); color: var(--warning); }
.pill-gray { background: #eef0f3; color: var(--text-2); }
.badge-up { color: var(--success); font-weight: 700; }
.badge-down { color: var(--danger); font-weight: 700; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-warn { background: var(--warning-light); color: var(--warning); }
.badge-gray { background: #eef0f3; color: var(--text-2); }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.input { width: 100%; }
.muted { color: var(--text-3); }

/* ---------- 类型/渠道标签 ---------- */
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.tag-gray { background: #eef0f3; color: var(--text-2); }
.tag-badge { background: var(--warning-light); color: #9a6a00; }
.tag-admin { background: var(--primary-light); color: var(--primary); }
.tag-mall { background: var(--success-light); color: var(--success); }
.tag-task { background: #f3e8ff; color: #7c3aed; }
.tag-points { background: var(--success-light); color: var(--success); }
.tag-reward { background: #fff4e5; color: #b45309; }

/* ---------- 复选框组 ---------- */
.check-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.check-group .check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-1); cursor: pointer; }
.check-group .check input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }

/* ---------- 弹窗 ---------- */
.modal-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 23, 42, .45); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; overflow-y: auto; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 480px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg); animation: modalIn .22s ease; }
.modal-head { padding: 18px 22px 0; display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-size: 16px; }
.modal-close { border: none; background: none; font-size: 20px; color: var(--text-3); cursor: pointer; padding: 4px; }
.modal-body { padding: 18px 22px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.modal-foot { padding: 0 22px 20px; display: flex; justify-content: flex-end; gap: 10px; }

/* 通用提示弹窗（替代原生 confirm / prompt） */
.ui-dialog .modal-body { padding-bottom: 10px; }
.ui-dialog-msg { color: var(--text-2, #555); font-size: 14px; line-height: 1.7; }
.ui-dialog-msg b { color: var(--text-1, #222); }
.ui-dialog .field { margin-top: 14px; margin-bottom: 0; }
.ui-dialog-input { font-size: 14px; }
.ui-dialog .ui-dialog-err { min-height: 18px; margin-top: 8px; margin-bottom: 0; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 提示 ---------- */
.toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%) translateY(-80px); background: #1f2430; color: #fff; padding: 10px 22px; border-radius: 10px; font-size: 14px; z-index: 200; transition: all .3s; box-shadow: var(--shadow-lg); opacity: 0; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ---------- 积分商城 ---------- */
.mall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.mall-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: all .2s; position: relative; }
.mall-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mall-card.is-badge { border: 1px solid rgba(255, 177, 32, .45); }
/* 福利活动折扣角标 + 划线原价 */
.mall-discount-flag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: linear-gradient(135deg, #ff6b4a, #ff3d71); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 61, 113, .35); letter-spacing: 1px;
}
del.mall-origin { color: #b6bdc9; font-size: 12px; font-weight: 600; margin-right: 6px; text-decoration: line-through; }
.mall-card-img { height: 120px; background: linear-gradient(135deg, var(--primary-light), #f6f8ff); display: flex; align-items: center; justify-content: center; font-size: 46px; overflow: hidden; }
.mall-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mall-badge-icon { font-size: 46px; line-height: 1; }
.mall-badge-icon img { width: 64px; height: 64px; object-fit: contain; }
.mall-card-badge-hint { color: #9a6a00; font-size: 12px; margin-top: 4px; font-weight: 600; }
.mall-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.mall-card-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mall-card-desc { color: var(--text-3); font-size: 12px; margin-top: 4px; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mall-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.mall-price { color: var(--primary); font-weight: 700; font-size: 16px; }
.mall-price small { color: var(--text-3); font-size: 12px; font-weight: 400; }
.mall-stock { color: var(--text-3); font-size: 12px; }
.mall-stock.zero { color: var(--danger); }
.balance-pill { background: var(--primary-light); color: var(--primary); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 任务中心 ---------- */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.task-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: all .2s; border: 1px solid transparent; }
.task-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.task-card.done { background: linear-gradient(180deg, #f6fef7, var(--card)); border-color: rgba(22, 163, 74, .35); }
.task-card-head { display: flex; align-items: center; gap: 12px; }
.task-card-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #f3e8ff, #fff); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; overflow: hidden; }
.task-card-icon img { width: 34px; height: 34px; object-fit: contain; }
.task-card-title { flex: 1; min-width: 0; }
.task-card-name { font-weight: 700; font-size: 14px; line-height: 1.4; }
.task-card-type { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); margin-top: 3px; flex-wrap: wrap; }
.task-card-done { color: var(--success); background: var(--success-light); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; flex-shrink: 0; }
.task-card-desc { color: var(--text-3); font-size: 12px; line-height: 1.6; }
.task-reward { font-size: 13px; color: var(--text-2); background: #f7f8fa; padding: 8px 12px; border-radius: 8px; }
.task-reward b { color: #7c3aed; }
.task-bar { height: 8px; background: #eef0f3; border-radius: 999px; overflow: hidden; }
.task-bar-fill { height: 100%; background: linear-gradient(90deg, #8b5cf6, #7c3aed); border-radius: 999px; transition: width .4s; }
.task-card.done .task-bar-fill { background: linear-gradient(90deg, #4ade80, #16a34a); }
.task-bar-text { font-size: 12px; color: var(--text-3); text-align: right; }
.task-card .task-reward .tag { margin: 2px 4px 2px 0; }
.task-card.done .task-reward { background: var(--success-light); }

/* ---------- 任务奖励配置行（弹窗） ---------- */
.tk-reward-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.tk-reward-row .tk-reward-type { flex: 0 0 108px; }
.tk-reward-row .tk-reward-param { flex: 1; min-width: 0; display: flex; }
.tk-reward-row .tk-reward-param select,
.tk-reward-row .tk-reward-param input { width: 100%; }
.tk-reward-row .tk-reward-del { flex-shrink: 0; }

/* ---------- 其他 ---------- */
.empty { text-align: center; color: var(--text-3); padding: 36px 0; font-size: 13px; }
.loading { text-align: center; color: var(--text-3); padding: 24px 0; }
.log-list { max-height: 420px; overflow-y: auto; }
.log-item { display: flex; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--border); font-size: 13px; }
.log-item:last-child { border-bottom: none; }
.log-time { color: var(--text-3); white-space: nowrap; font-size: 12px; padding-top: 1px; }
.log-detail { color: var(--text-2); line-height: 1.5; }
.log-actor { color: var(--primary); font-weight: 600; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.search-box { display: flex; gap: 8px; align-items: center; }
.search-box input { width: 220px; }
.actions-cell { display: flex; gap: 6px; flex-wrap: wrap; }

/* 信息编辑下拉菜单 */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 60;
  min-width: 132px; background: #fff; border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 4px; display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: block; width: 100%; text-align: left; border: none; background: none;
  font-size: 13px; color: var(--text-1, #333); padding: 8px 10px; border-radius: 7px;
  cursor: pointer; transition: background .15s;
}
.dropdown-item:hover { background: var(--primary-light, #eef2ff); color: var(--primary, #4f6ef7); }
.dropdown-item-danger { color: var(--danger, #ef4444); }
.dropdown-item-danger:hover { background: #fef2f2; color: var(--danger, #ef4444); }

/* 签到记录：次数链接 + 近30天日期网格 */
.checkin-link { color: var(--primary, #4f6ef7); font-weight: 600; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.checkin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.checkin-date {
  font-size: 13px; color: var(--text-2, #555); background: var(--primary-light, #f0f3ff);
  padding: 8px 10px; border-radius: 8px; text-align: center;
}

/* 花名册备注：一行 6 个汉字宽，超出自动换行 */
.member-remark {
  display: block; max-width: 6em; line-height: 1.5;
  color: var(--text-3, #888); font-size: 12px;
  word-break: break-all; white-space: normal;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 860px) { .sidebar { width: 62px; } .side-brand b, .side-brand small, .nav-item span:not(.ico), .nav-item-link span:not(.ico) { display: none; } .main { margin-left: 62px; padding: 16px; } .two-col { grid-template-columns: 1fr; } }

/* 首页值班签到 + 每日签到：两列布局 */
.duty-checkin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 640px) { .duty-checkin-row { grid-template-columns: 1fr; } }

/* 用户端个人资料：只读表格展示（一行排列，标题+内容） */
.profile-table { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.profile-cell {
  flex: 0 0 auto; min-width: 148px; background: #fafbfe;
  border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 10px 14px;
}
.profile-label { font-size: 12px; color: var(--text-3, #888); margin-bottom: 5px; }
.profile-val { font-size: 14px; font-weight: 600; color: var(--text, #1e293b); }
.profile-hint { color: var(--text-3, #888); font-size: 12px; }
.health-state { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.state-excellent { background: #dcfce7; color: #15803d; }
.state-mild { background: #dbeafe; color: #1d4ed8; }
.state-moderate { background: #fef3c7; color: #b45309; }
.state-high { background: #fee2e2; color: #b91c1c; }

/* ============ 手机端适配（管理端） ============ */
@media (max-width: 768px) {
  body { font-size: 13px; }
  .app { display: block; }
  /* 顶部固定导航栏 */
  .sidebar { position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 54px; display: flex; flex-direction: row; align-items: center; border-right: none; border-bottom: 1px solid var(--border); padding: 0 10px; z-index: 50; gap: 10px; }
  .side-brand { padding: 0; gap: 8px; flex-shrink: 0; display: flex; align-items: center; }
  .side-brand .logo { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
  .side-brand b { display: block; font-size: 14px; line-height: 1.2; }
  .side-brand small { display: none; }
  .side-nav { display: flex; flex-direction: row; gap: 4px; padding: 0 4px; overflow-x: auto; flex: 1 1 auto; min-width: 0; white-space: nowrap; align-items: center; -webkit-overflow-scrolling: touch; }
  .side-nav::-webkit-scrollbar { display: none; }
  .nav-item { padding: 7px 10px; margin: 0; width: auto; font-size: 13px; flex-shrink: 0; border-radius: 8px; }
  .nav-item span:not(.ico) { display: inline !important; }
  .nav-item-link { display: none !important; }
  .side-user { display: flex; flex-direction: row; align-items: center; gap: 6px; border-top: none; border-left: 1px solid var(--border); padding: 0 4px 0 10px; flex-shrink: 0; }
  .side-user .avatar { width: 28px; height: 28px; font-size: 12px; }
  .side-user .u-name { display: inline; font-size: 12px; font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-user .u-sub { display: none; }
  .side-user #logoutBtn { padding: 5px 9px; font-size: 12px; margin: 0 !important; width: auto !important; }
  /* 主内容 */
  .main { margin-left: 0; padding: 64px 12px 20px; max-width: 100%; }
  .topbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-title { font-size: 17px; }
  .page-desc { margin-bottom: 12px; }
  .topbar > div:last-child { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
  .topbar > div:last-child > input,
  .topbar > div:last-child > select { flex: 1 1 100%; min-width: 0; }
  .topbar > div:last-child > .btn { flex: 0 0 auto; }
  .card { padding: 14px; }
  .stats { grid-template-columns: 1fr; }
  .actions-cell { flex-wrap: wrap; }
  .btn { padding: 9px 14px; }
  /* 值班管理：记录卡片化 */
  #page-duty .toolbar { flex-direction: column; align-items: stretch; }
  #page-duty .toolbar select, #page-duty .toolbar input, #page-duty .toolbar .btn { max-width: none !important; width: 100%; margin-top: 4px; }
  #page-duty .table-wrap { display: none; }   /* 窄屏改用卡片 */
  #page-duty #dutyCards { display: block; }
  #page-duty #dutyStatsCards { display: block; }
  /* 花名册：横向滚动（保留所有列，触发滚动条） */
  #page-members .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #page-members table { min-width: 720px; }
  #page-members th, #page-members td { white-space: nowrap; }
  /* 弹窗全屏化 */
  .modal { max-height: calc(100vh - 16px); border-radius: 14px; }
  .modal-body { padding: 14px 16px; }
  .modal-foot { padding: 0 16px 16px; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
}
/* 值班记录移动端卡片（默认隐藏，窄屏由媒体查询显示） */
#dutyCards { display: none; }
#dutyStatsCards { display: none; }
#dutyCards .empty, #dutyStatsCards .empty { padding: 24px; text-align: center; color: var(--text-3); font-size: 13px; }
.duty-card { background: #fafbfc; border: 1px solid var(--border); border-radius: 12px; padding: 4px 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.duty-card .dc-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--border); }
.duty-card .dc-row:last-child { border-bottom: none; }
.duty-card .dc-label { color: var(--text-3); font-size: 12px; flex-shrink: 0; min-width: 42px; font-weight: 500; }
.duty-card .dc-val { flex: 1; min-width: 0; word-break: break-all; }
.duty-card .dc-pair { align-items: center; }
.duty-card .dc-pair .dc-cell { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.duty-card .dc-pair .dc-k { color: var(--text-3); font-size: 12px; }
.duty-card .dc-pair .dc-v { font-size: 13px; }
.duty-card .dc-sep { color: var(--border); flex-shrink: 0; align-self: center; }
.duty-card .dc-effective { color: #16a34a; font-weight: 700; }
.duty-card .dc-ops { align-items: center; flex-wrap: wrap; gap: 8px; }
.duty-card .dc-ops .btn { padding: 9px 16px; font-size: 13px; }
/* 极小屏进一步压缩（保留品牌名只挤压用户区） */
@media (max-width: 480px) {
  .side-user .u-name { display: none; }
  .side-user { padding-left: 6px; }
  .side-user #logoutBtn { padding: 5px 7px; }
}

/* ---------- 徽章管理（管理端） ---------- */
.badge-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.badge-row:last-child { border-bottom: none; }
.badge-row-sort { flex: 0 0 34px; display: flex; justify-content: center; }
.badge-row-icon { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.badge-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-light), #fdf3e3); display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; padding: 4px; }
.badge-icon.default { font-size: 22px; }
.badge-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.badge-row-main { flex: 1; min-width: 180px; }
.badge-row-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.badge-row-desc { color: var(--text-3); font-size: 12px; margin-top: 3px; }
.badge-row-channels { display: flex; gap: 6px; margin-top: 5px; }
.badge-row-meta { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.badge-row-actions { display: flex; gap: 6px; }

/* 成员徽章授予弹窗 */
.owned-badge { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px dashed var(--border); }
.owned-badge:last-child { border-bottom: none; }
.owned-badge-main { flex: 1; min-width: 0; }
.owned-badge-name { font-weight: 600; font-size: 13px; }
.owned-badge-meta { color: var(--text-3); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 徽章荣誉墙（用户端） ---------- */
.badge-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.badge-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 16px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: all .2s; border: 1px solid transparent; position: relative; overflow: hidden; }
.badge-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.badge-card.locked { filter: grayscale(1); opacity: .62; }
.badge-card.locked::after { content: "🔒"; position: absolute; top: 8px; right: 10px; font-size: 13px; }
.badge-card-icon { width: 64px; height: 64px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.badge-emoji { font-size: 40px; line-height: 1; }
.badge-img { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 5px; }
.badge-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.badge-card-name { font-weight: 700; font-size: 14px; }
.badge-card-desc { color: var(--text-3); font-size: 12px; margin-top: 5px; min-height: 32px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-card-status { margin-top: 10px; font-size: 12px; font-weight: 600; }
.badge-card-status.owned { color: var(--success); }
.badge-card-status.owned small { display: block; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.badge-card-status.locked { color: var(--text-3); }
.badge-card-channel { margin-top: 6px; font-size: 11px; color: var(--success); background: var(--success-light); padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* ---------- 机器人授权（系统设置） ---------- */
.bot-token-list { margin-bottom: 14px; }
.bot-token-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: #fcfcfe; flex-wrap: wrap; }
.bot-token-item .bt-main { flex: 1; min-width: 200px; overflow: hidden; }
.bot-token-item .bt-token { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--text); word-break: break-all; }
.bot-token-item .bt-remark { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.bot-token-item .bt-actions { display: flex; gap: 6px; }
.bot-token-empty { color: var(--text-3); font-size: 13px; padding: 10px 2px; }
.bot-token-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bot-token-add input { flex: 1; min-width: 160px; }
.bot-token-add #newBotRemark { flex: 1; min-width: 140px; }

/* ============ v2 商城分组美化 ============ */

/* 分组 Tab */
.mall-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mall-tab {
  border: 1px solid var(--border); background: var(--card); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; cursor: pointer; transition: all .18s; color: var(--text-2);
}
.mall-tab:hover { border-color: var(--primary); color: var(--primary); }
.mall-tab.active {
  background: linear-gradient(135deg, #4f6ef7, #7b96ff); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(79,110,247,.3);
}

/* 卡片分组配色 */
.mall-card[data-group="physical"] .mall-card-img { background: linear-gradient(135deg,#e8f4fd,#f0f9ff); }
.mall-card[data-group="virtual"]  .mall-card-img { background: linear-gradient(135deg,#f3e8ff,#faf5ff); }
.mall-card[data-group="card"]     .mall-card-img { background: linear-gradient(135deg,#fef4e6,#fff8f0); }
.mall-card[data-group="points"]   .mall-card-img { background: linear-gradient(135deg,#e8f7ee,#f0fdf4); }
.mall-card[data-group="points"]   .mall-price   { color: var(--success); font-weight: 700; }

/* 卡片整体增强 */
.mall-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: transform .2s, box-shadow .2s; }
.mall-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.mall-card-img { border-bottom: 1px solid var(--border); }

/* 余额 pill 渐变 */
.balance-pill {
  background: linear-gradient(135deg,#4f6ef7,#7b96ff); color: #fff; border-radius: 999px;
  padding: 6px 16px; font-size: 13px; font-weight: 500;
}

/* ---------- 商城兑换方式美化 ---------- */
.mall-card-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
.mall-pay-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mall-pay-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 999px; border: 1px solid transparent;
  white-space: nowrap;
}
.chip-pts { background: rgba(79,110,247,.10); color: #4f6ef7; border-color: rgba(79,110,247,.25); }
.chip-inc { background: rgba(255,143,45,.12); color: #e8740c; border-color: rgba(255,143,45,.3); }
.chip-mix { background: linear-gradient(135deg, rgba(79,110,247,.12), rgba(255,143,45,.14)); color: #6a4bd6; border-color: rgba(124,99,220,.3); }
.chip-more { background: #eef0f3; color: var(--text-2); border-color: var(--border); font-weight: 600; }
.chip-disabled { opacity: .45; }
.mall-pay-hint { font-size: 11px; font-weight: 600; margin-left: 2px; }
.mall-pay-hint.ok { color: var(--success); }
.mall-pay-hint:not(.ok) { color: var(--danger); }

/* 兑换弹窗支付方式 */
.pay-opt-label {
  position: relative; padding: 12px 14px; border-radius: 12px; gap: 10px;
  border: 1.5px solid var(--border); background: var(--card);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.pay-opt-label:hover { border-color: rgba(79,110,247,.5); }
.pay-opt-label.is-checked {
  border-color: var(--primary); background: var(--primary-light);
  box-shadow: 0 2px 10px rgba(79,110,247,.15);
}
.pay-opt-label.disabled { background: #fafafa; }
.pay-opt-label input[type="radio"] { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }
.pay-opt-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-pts { background: #4f6ef7; }
.dot-inc { background: #ff8f2d; }
.dot-mix { background: linear-gradient(135deg, #4f6ef7, #ff8f2d); }
.pay-opt-text { font-weight: 600; font-size: 14px; color: var(--text-1); }
.pay-opt-badge.ok {
  margin-left: auto; font-size: 11px; font-weight: 700; color: var(--success);
  background: rgba(34,197,94,.12); padding: 2px 8px; border-radius: 999px;
}
.pay-opt-warn { margin-left: auto; }

/* ---------- 我的仓库 ---------- */
.warehouse-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-top: 16px;
}
.wh-card {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 2px 8px rgba(17,24,39,.04);
}
.wh-icon {
  width: 56px; height: 56px; flex: none; border-radius: 14px; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,110,247,.12), rgba(255,143,45,.14));
}
.wh-body { flex: 1; min-width: 0; }
.wh-name { font-weight: 600; font-size: 15px; color: var(--text-1); }
.wh-qty { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.wh-qty b { color: var(--primary); }
.wh-desc { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.wh-use { flex: none; min-width: 64px; }

/* 勋章发光动画 */
.badge-card:not(.locked) .badge-card-icon { animation: badgeGlow 2.8s ease-in-out infinite; }
@keyframes badgeGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255,193,7,.3)); }
  50%      { filter: drop-shadow(0 0 12px rgba(255,193,7,.7)); }
}
.badge-card:not(.locked):hover { transform: translateY(-4px) scale(1.02); transition: transform .2s; }

/* 卡密结果弹窗 */
.card-result-box {
  background: #1f2430; color: #ffd86b; border-radius: 10px; padding: 16px;
  font-family: ui-monospace, Consolas, monospace; font-size: 15px; letter-spacing: 1px;
  word-break: break-all; animation: cardReveal .5s ease;
}
@keyframes cardReveal {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* 统计行（卡密池弹窗） */
.stats-row { display: flex; gap: 12px; margin-bottom: 16px; }
.stats-row .stat { flex: 1; text-align: center; padding: 12px 8px; border: 1px solid var(--border); border-radius: 10px; background: #fafbfe; }
.stats-row .stat .label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.stats-row .stat .value { font-size: 20px; font-weight: 700; color: var(--text); }

/* Tab 选中态 */
.cp-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* pill 通用 */
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.pill-green { background: #dcfce7; color: #16a34a; }
.pill-gray  { background: #f1f5f9; color: #64748b; }
.bot-token-add .btn { flex: 0 0 auto; }
/* 积分不足时商城兑换按钮置灰 */
.btn-disabled { background: #cbd5e1; color: #fff; cursor: not-allowed; border-color: #cbd5e1; }
/* 兑换记录弹窗列表 */
.order-list { max-height: 62vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.order-loading, .order-list .empty { text-align: center; color: var(--text-2, #64748b); padding: 24px 0; }
.order-item { border: 1px solid var(--border, #e5e7eb); border-radius: 12px; padding: 12px 14px; background: #fafbfc; }
.order-row1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.order-product { font-weight: 600; font-size: 14px; color: var(--text-1, #1e293b); }
.order-cost { margin-left: auto; font-weight: 600; }
.order-row2 { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 7px; color: var(--text-2, #64748b); font-size: 12px; }
.order-info { margin-top: 7px; font-size: 12px; color: var(--text-2, #64748b); line-height: 1.6; }


/* 流水页 Tab 切换：颜色由 active 状态控制（不再写死内联样式） */
.flow-tabs { display:flex; gap:8px; margin-top:10px; }
.flow-tabs .tab { padding:6px 14px; border:1px solid var(--border,#e5e7eb); border-radius:8px; background:#fff; color:#333; cursor:pointer; }
.flow-tabs .tab.active { background: var(--primary,#4f6ef7); color:#fff; border-color: var(--primary,#4f6ef7); }

/* 自定义排序按钮（商品/徽章/任务通用）：极简箭头，hover 高亮，边界自动禁用 */
.sort-btns { display: inline-flex; gap: 2px; align-items: center; vertical-align: middle; }
.sort-btn {
  border: none; background: none; cursor: pointer;
  font-size: 13px; line-height: 1; padding: 4px 5px;
  color: var(--text-3, #888); border-radius: 6px;
  transition: background .15s, color .15s;
}
.sort-btn:hover:not(:disabled) { background: var(--primary-light, #eef2ff); color: var(--primary, #4f6ef7); }
.sort-btn:disabled { opacity: .3; cursor: not-allowed; }

/* 值班时长明细弹窗汇总条 */
.duty-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.duty-sum-item { flex: 1; min-width: 150px; background: #fafbfe; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 10px 14px; }
.duty-sum-item span { display: block; font-size: 12px; color: var(--text-3, #888); margin-bottom: 4px; }
.duty-sum-item b { font-size: 18px; color: var(--text, #1e293b); }
.duty-sum-item.warn b { color: var(--danger, #dc2626); }

/* 兑换弹窗折扣券选择（同一商品多张券时由用户自选） */
.coupon-opt-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.coupon-opt-label { margin: 0; }

@media (max-width: 860px) {
  .nav-group-title { display: none; }
  .nav-group.closed .nav-group-items { display: flex; }
  .nav-group { margin-bottom: 0; }
}
.nav-group-title .g-ico svg { width: 16px; height: 16px; display: block; margin: 0 auto; }

/* 鱼干 SVG 行内图标（2026-09-28 全局替换 🐟） */
.ico-fish{width:1.05em;height:1.05em;vertical-align:-0.15em}

/* field 内联勾选框修正：默认 input 全宽规则会把 checkbox 拉成大框挤掉文字（2026-09-28） */
.field label > input[type="checkbox"]{width:15px;height:15px;padding:0;margin:0 6px 0 0;vertical-align:-2px;accent-color:var(--primary);cursor:pointer}

/* 发放弹窗金额输入：隐藏 number 上下调节箭头 */
#dutyInputSlot input[type="number"]::-webkit-outer-spin-button,
#dutyInputSlot input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fish-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fish-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fish-tags .pill { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 仪表盘（2026-11-11 补）：跳转标签 · 提示文字 · 第二行列宽微调 ---------- */
.jump-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--primary-light, #eff6ff); color: var(--primary, #4f6ef7); vertical-align: 1px; margin-left: 4px; }
.label-hint { font-size: 11px; color: var(--text-3, #94a3b8); font-weight: 400; margin-left: 4px; }

/* 2026-11-11 变卖物管理页头部按钮：套系管理（浅橙）/ 新建变卖物（浅蓝） */
.btn-orange-soft { background:#fff7ed; border:1px solid #fdba74; color:#ea580c; }
.btn-orange-soft:hover { background:#ffedd5; }
.btn-blue-soft { background:#eff6ff; border:1px solid #93c5fd; color:#2563eb; }
.btn-blue-soft:hover { background:#dbeafe; }
/* 2026-11-11 套系图（16:9，建议 640×360） */
.se-series-cover { flex:none; width:96px; height:54px; border-radius:8px; overflow:hidden; background:#f3f4f6; display:flex; align-items:center; justify-content:center; border:1px dashed #d1d5db; }
.se-series-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.se-series-cover span { font-size:10px; color:#9ca3af; text-align:center; line-height:1.4; }
