/* ============ 三国冰河时代 · 盟员军政司 主题样式 ============ */
:root {
  --ice-1: #0a1628;
  --ice-2: #0e2440;
  --ice-glow: #5ec8ff;
  --ice-soft: #a8dcff;
  --gold-1: #f5d67b;
  --gold-2: #d4a437;
  --gold-deep: #8a5a12;
  --red-seal: #c0392b;
  --glass: rgba(14, 36, 64, 0.55);
  --glass-border: rgba(94, 200, 255, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, #1a4a72 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 85% 110%, #123152 0%, transparent 55%),
    linear-gradient(180deg, var(--ice-1) 0%, var(--ice-2) 55%, #091426 100%);
  background-attachment: fixed;
  color: #dceeff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- 冰河飘雪 & 极光 ---- */
#snow-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 3;
}
.aurora {
  position: fixed; top: -12%; left: -10%;
  width: 120%; height: 46%;
  background:
    radial-gradient(ellipse 45% 60% at 22% 40%, rgba(64, 190, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 40% 55% at 62% 30%, rgba(120, 90, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 35% 50% at 85% 45%, rgba(80, 230, 200, 0.10), transparent 60%);
  filter: blur(30px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
  z-index: 1; pointer-events: none;
}
@keyframes aurora-drift {
  0%   { transform: translateX(-4%) skewX(-4deg); opacity: 0.85; }
  100% { transform: translateX(5%)  skewX(3deg);  opacity: 1; }
}
.ice-texture {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(158, 214, 255, 0.022) 46px 48px),
    repeating-linear-gradient(-65deg, transparent 0 70px, rgba(158, 214, 255, 0.018) 70px 73px);
}

/* ---- 顶部横幅 ---- */
.banner {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 22px;
  padding: 30px 6vw 22px;
}
.banner-seal {
  width: 72px; height: 72px; flex: none;
  display: grid; place-items: center;
  font-size: 38px; font-weight: 900; color: #ffe9b0;
  background: radial-gradient(circle at 32% 28%, #e05a4a, #a02318 70%);
  border: 3px solid rgba(255, 220, 150, 0.65);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(230, 90, 60, 0.5), inset 0 0 14px rgba(0,0,0,0.45);
  transform: rotate(-6deg);
  animation: seal-breathe 3.6s ease-in-out infinite;
}
@keyframes seal-breathe {
  0%, 100% { box-shadow: 0 0 18px rgba(230, 90, 60, 0.45), inset 0 0 12px rgba(0,0,0,0.45); }
  50%      { box-shadow: 0 0 34px rgba(255, 120, 80, 0.75), inset 0 0 12px rgba(0,0,0,0.45); }
}
.banner-text h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(180deg, #fff8e0 8%, var(--gold-1) 40%, var(--gold-2) 68%, #9a6a1c 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 26px rgba(245, 214, 123, 0.35);
  filter: drop-shadow(0 2px 10px rgba(245, 214, 123, 0.25));
}
.banner-text h1 .dot { color: var(--ice-glow); -webkit-text-fill-color: var(--ice-glow); }
.subtitle {
  margin-top: 6px; font-size: 15px; letter-spacing: 5px;
  color: var(--ice-soft); opacity: 0.9;
}
.banner-date {
  margin-left: auto; text-align: right;
  font-size: 14px; color: var(--ice-soft); opacity: 0.8;
  line-height: 1.7;
}

/* ---- 主容器 ---- */
.container {
  position: relative; z-index: 5;
  width: min(1240px, 94vw); margin: 0 auto 60px;
}

/* ---- 统计卡片 ---- */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; margin: 16px 0 26px;
}
.stat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 10, 30, 0.45), inset 0 1px 0 rgba(160, 220, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  animation: rise-in 0.6s ease backwards;
}
.stat-card:nth-child(2) { animation-delay: 0.08s; }
.stat-card:nth-child(3) { animation-delay: 0.16s; }
.stat-card:nth-child(4) { animation-delay: 0.24s; }
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 200, 255, 0.55);
  box-shadow: 0 14px 34px rgba(0, 20, 50, 0.6), 0 0 22px rgba(94, 200, 255, 0.22);
}
.stat-icon { font-size: 36px; filter: drop-shadow(0 0 10px rgba(94, 200, 255, 0.5)); }
.stat-num {
  font-size: 26px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(90deg, #eaf6ff, var(--ice-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: #8fb8d8; margin-top: 2px; letter-spacing: 2px; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 工具栏 ---- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 16px; margin-bottom: 20px;
  background: rgba(10, 26, 48, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px; backdrop-filter: blur(8px);
}
.search-box {
  flex: 1 1 240px; display: flex; align-items: center; gap: 8px;
  background: rgba(6, 18, 36, 0.8);
  border: 1px solid rgba(94, 200, 255, 0.28);
  border-radius: 10px; padding: 0 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--ice-glow);
  box-shadow: 0 0 14px rgba(94, 200, 255, 0.35);
}
.search-icon { opacity: 0.7; }
.search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #eaf6ff; font-size: 14px; padding: 11px 0;
}
select, .toolbar select {
  background: rgba(6, 18, 36, 0.85); color: #dceeff;
  border: 1px solid rgba(94, 200, 255, 0.28);
  border-radius: 10px; padding: 10px 12px; font-size: 13px;
  outline: none; cursor: pointer;
}
select:focus { border-color: var(--ice-glow); }
select option { background: #0e2440; }

.btn {
  border: none; border-radius: 10px; cursor: pointer;
  padding: 11px 20px; font-size: 14px; font-weight: 700;
  letter-spacing: 2px; transition: all 0.2s ease;
}
.btn-gold {
  color: #3a2404;
  background: linear-gradient(180deg, #ffe9a8 0%, var(--gold-1) 35%, var(--gold-2) 100%);
  box-shadow: 0 4px 16px rgba(212, 164, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 214, 110, 0.55), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-ghost {
  background: transparent; color: #9cc4e4;
  border: 1px solid rgba(156, 196, 228, 0.4);
}
.btn-ghost:hover { border-color: var(--ice-glow); color: #fff; }
.btn-mini {
  padding: 6px 12px; font-size: 12px; border-radius: 8px; letter-spacing: 1px;
}
.btn-edit {
  background: rgba(94, 200, 255, 0.14); color: var(--ice-glow);
  border: 1px solid rgba(94, 200, 255, 0.4);
}
.btn-edit:hover { background: rgba(94, 200, 255, 0.28); }
.btn-del {
  background: rgba(220, 80, 60, 0.14); color: #ff9a86;
  border: 1px solid rgba(220, 80, 60, 0.45);
}
.btn-del:hover { background: rgba(220, 80, 60, 0.3); }

/* ---- 名册面板 ---- */
.member-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 10, 30, 0.5), inset 0 1px 0 rgba(160, 220, 255, 0.15);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(94, 200, 255, 0.16);
}
.panel-head h2 {
  font-size: 20px; letter-spacing: 4px;
  color: var(--gold-1);
  text-shadow: 0 0 16px rgba(245, 214, 123, 0.35);
}
.panel-sub { font-size: 13px; color: #8fb8d8; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 1080px; }
thead th {
  padding: 13px 16px; text-align: left;
  font-size: 13px; letter-spacing: 2px; color: #7fb0d6;
  background: rgba(8, 22, 42, 0.6);
  border-bottom: 1px solid rgba(94, 200, 255, 0.2);
  white-space: nowrap;
  user-select: none;
}
thead th.sortable { cursor: pointer; transition: color 0.18s, background 0.18s; }
thead th.sortable:hover { color: var(--ice-glow); background: rgba(94, 200, 255, 0.08); }
thead th.sortable .arrow {
  display: inline-block; margin-left: 5px; font-size: 10px; min-width: 10px;
}
thead th.sortable.sorted { color: var(--gold-1); text-shadow: 0 0 12px rgba(245, 214, 123, 0.4); }
thead th.sortable.sorted .arrow { color: var(--gold-1); }
tbody td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid rgba(94, 200, 255, 0.08); }
tbody tr { transition: background 0.18s; animation: rise-in 0.45s ease backwards; }
tbody tr:hover { background: rgba(94, 200, 255, 0.07); }

.rank-cell {
  font-weight: 800; color: var(--gold-1); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(245, 214, 123, 0.35);
}
.num-cell {
  font-variant-numeric: tabular-nums; color: #d7ecff;
}

/* ---- 头像 ---- */
.avatar {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; font-size: 17px; font-weight: 800; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(94, 200, 255, 0.3);
}
.cell-hero { display: flex; align-items: center; gap: 12px; }
.hero-name { font-weight: 700; color: #f2f9ff; }
.hero-gid { font-size: 12px; color: #7da7c9; margin-top: 2px; }

/* ---- 阶级徽章 & 火炉 ---- */
.badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; white-space: nowrap;
  border: 1px solid;
}
.c-1 { color: #b8ccd9; background: rgba(150, 175, 195, 0.12); border-color: rgba(150, 175, 195, 0.45); }
.c-2 { color: #8ef0dc; background: rgba(50, 200, 170, 0.13); border-color: rgba(50, 200, 170, 0.45); }
.c-3 { color: #8fd0ff; background: rgba(80, 160, 255, 0.15); border-color: rgba(80, 160, 255, 0.5); }
.c-4 { color: #d7b8ff; background: rgba(160, 110, 255, 0.15); border-color: rgba(160, 110, 255, 0.5); }
.c-5 { color: #ffe08a; background: rgba(245, 200, 80, 0.14); border-color: rgba(245, 200, 80, 0.55); box-shadow: 0 0 12px rgba(245, 200, 80, 0.3); }
.furnace {
  color: #ffc9a3; font-size: 13px;
  padding: 3px 9px; border-radius: 7px;
  background: rgba(240, 130, 60, 0.10); border: 1px solid rgba(240, 130, 60, 0.35);
  white-space: nowrap;
}
.panel-tip { margin-left: auto; font-size: 12px; color: #6f97b8; }

/* ---- 战力条 ---- */
.power-wrap { min-width: 150px; }
.power-num { font-weight: 700; color: #ffe9b0; font-variant-numeric: tabular-nums; }
.power-bar {
  margin-top: 5px; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
.power-bar i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #3fa9f5, #8fe0ff 55%, var(--gold-1));
  box-shadow: 0 0 8px rgba(120, 210, 255, 0.7);
}

/* ---- 页脚 ---- */
.footer {
  position: relative; z-index: 5; text-align: center;
  padding: 26px 0 34px; color: #6f97b8; font-size: 13px; letter-spacing: 2px;
}

/* ---- 模态框 ---- */
.modal-mask {
  position: fixed; inset: 0; z-index: 50;
  display: none; place-items: center;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(6px);
}
.modal-mask.show { display: grid; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: min(680px, 92vw); max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, #123253 0%, #0c1f3a 100%);
  border: 1px solid rgba(94, 200, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 8, 24, 0.8), 0 0 34px rgba(94, 200, 255, 0.18);
  animation: modal-pop 0.28s cubic-bezier(0.2, 1.2, 0.4, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid rgba(94, 200, 255, 0.2);
}
.modal-head h3 { font-size: 18px; letter-spacing: 3px; color: var(--gold-1); }
.modal-close {
  background: transparent; border: none; color: #7fa8c8;
  font-size: 17px; cursor: pointer; padding: 4px 8px; border-radius: 8px;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
#member-form { padding: 20px 24px 24px; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.form-grid label { font-size: 13px; color: #9cc4e4; display: flex; flex-direction: column; gap: 6px; letter-spacing: 1px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select {
  background: rgba(6, 18, 36, 0.85); color: #eaf6ff;
  border: 1px solid rgba(94, 200, 255, 0.3);
  border-radius: 9px; padding: 10px 12px; font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-grid input:focus, .form-grid select:focus {
  border-color: var(--ice-glow); box-shadow: 0 0 12px rgba(94, 200, 255, 0.3);
}
.form-grid input[type="date"] { color-scheme: dark; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* ---- 提示气泡 ---- */
.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 60;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #173a5e, #0e2440);
  border: 1px solid rgba(94, 200, 255, 0.5);
  color: #dff2ff; font-size: 14px; letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 10, 30, 0.6), 0 0 18px rgba(94, 200, 255, 0.25);
  opacity: 0; pointer-events: none; transition: all 0.3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .banner { gap: 14px; padding: 22px 5vw 16px; }
  .banner-seal { width: 56px; height: 56px; font-size: 30px; }
}

/* ================= 账号系统样式 ================= */
/* 管理员专属按钮显隐 */
.admin-only { display: none !important; }
body.is-admin .admin-only { display: inline-block !important; }

/* ---- 登录视图 ---- */
.login-view {
  position: relative; z-index: 5;
  min-height: 100vh; display: grid; place-items: center;
  padding: 20px;
}
.login-card {
  width: min(400px, 92vw);
  padding: 40px 36px 30px;
  text-align: center;
  background: var(--glass);
  border: 1px solid rgba(94, 200, 255, 0.35);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 8, 24, 0.7), 0 0 40px rgba(94, 200, 255, 0.15);
  animation: modal-pop 0.4s cubic-bezier(0.2, 1.2, 0.4, 1);
}
.login-seal {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 46px; font-weight: 900; color: #ffe9b0;
  background: radial-gradient(circle at 32% 28%, #e05a4a, #a02318 70%);
  border: 3px solid rgba(255, 220, 150, 0.65);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(230, 90, 60, 0.55), inset 0 0 14px rgba(0,0,0,0.45);
  transform: rotate(-6deg);
  animation: seal-breathe 3.6s ease-in-out infinite;
}
.login-title {
  font-size: 40px; font-weight: 900; letter-spacing: 10px;
  background: linear-gradient(180deg, #fff8e0 8%, var(--gold-1) 40%, var(--gold-2) 68%, #9a6a1c 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(245, 214, 123, 0.3));
}
.login-sub { margin: 8px 0 26px; color: var(--ice-soft); font-size: 14px; letter-spacing: 4px; opacity: 0.9; }
.login-card form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.login-card label { font-size: 13px; color: #9cc4e4; display: flex; flex-direction: column; gap: 7px; letter-spacing: 1px; }
.login-card input {
  background: rgba(6, 18, 36, 0.85); color: #eaf6ff;
  border: 1px solid rgba(94, 200, 255, 0.3);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-card input:focus { border-color: var(--ice-glow); box-shadow: 0 0 14px rgba(94, 200, 255, 0.35); }
.login-card input[type="password"] { letter-spacing: 2px; }
.login-error {
  color: #ff9a86; font-size: 13px; min-height: 18px; line-height: 1.5;
  white-space: pre-wrap; text-align: left;
}
.login-tip { margin-top: 20px; font-size: 12px; color: #6f97b8; letter-spacing: 1px; }
.btn-block { width: 100%; padding: 13px; font-size: 16px; }

/* ---- 顶部用户徽章 ---- */
.banner-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.user-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 26, 48, 0.7);
  border: 1px solid rgba(94, 200, 255, 0.3);
  backdrop-filter: blur(8px);
}
.uc-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.uc-name { font-weight: 700; color: #f2f9ff; font-size: 14px; }
.uc-admin { font-size: 12px; color: #ffe08a; }
.banner-date { text-align: right; font-size: 13px; color: var(--ice-soft); opacity: 0.75; }

/* ---- 行内操作 ---- */
.btn-key {
  background: rgba(255, 200, 90, 0.12); color: #ffd98a;
  border: 1px solid rgba(255, 200, 90, 0.45);
}
.btn-key:hover { background: rgba(255, 200, 90, 0.28); }
.btn-ice {
  background: rgba(94, 200, 255, 0.14); color: var(--ice-glow);
  border: 1px solid rgba(94, 200, 255, 0.45);
}
.btn-ice:hover { background: rgba(94, 200, 255, 0.28); }
.ops-cell { white-space: nowrap; }
.ops-readonly { color: #52708a; }
.self-tag {
  font-size: 10px; color: #7ef0a8; border: 1px solid rgba(126, 240, 168, 0.5);
  border-radius: 5px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px;
}
.row-self { background: rgba(126, 240, 168, 0.05); }
.row-self:hover { background: rgba(126, 240, 168, 0.1) !important; }

/* ---- 强制改密 & 窄模态 ---- */
.modal-narrow { width: min(420px, 92vw); }
.modal-narrow .form-grid { grid-template-columns: 1fr; }
.form-grid.single { grid-template-columns: 1fr; }
.form-note { font-size: 12px; color: #ffc9a3; margin-top: 12px; min-height: 14px; }

/* ---- 批量导入 ---- */
.import-body { padding: 20px 24px 24px; }
.import-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.import-row label { font-size: 13px; color: #9cc4e4; display: flex; align-items: center; gap: 8px; }
.import-row input, .import-row select {
  background: rgba(6, 18, 36, 0.85); color: #eaf6ff;
  border: 1px solid rgba(94, 200, 255, 0.3);
  border-radius: 8px; padding: 8px 10px; font-size: 13px; outline: none;
}
.import-file-btn {
  cursor: pointer; padding: 8px 16px; border-radius: 9px; font-weight: 700;
  color: #3a2404; background: linear-gradient(180deg, #ffe9a8, var(--gold-1));
  box-shadow: 0 3px 12px rgba(212, 164, 55, 0.35);
}
.import-file-btn:hover { filter: brightness(1.08); }
.import-sample {
  border: 1px dashed rgba(94, 200, 255, 0.35); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 12px; background: rgba(6, 18, 36, 0.5);
}
.import-sample-head { font-size: 12px; color: #8fb8d8; margin-bottom: 8px; }
.import-sample pre {
  font-size: 12px; color: #a8dcff; line-height: 1.7; overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
}
#import-text {
  width: 100%; background: rgba(6, 18, 36, 0.85); color: #dff2ff;
  border: 1px solid rgba(94, 200, 255, 0.3); border-radius: 10px;
  padding: 12px; font-size: 13px; font-family: Consolas, Monaco, monospace;
  outline: none; resize: vertical; line-height: 1.6;
}
#import-text:focus { border-color: var(--ice-glow); box-shadow: 0 0 12px rgba(94, 200, 255, 0.3); }

/* ---- toast 错误态 ---- */
.toast-err { border-color: rgba(255, 120, 100, 0.6); box-shadow: 0 10px 30px rgba(0,10,30,0.6), 0 0 18px rgba(255,120,100,0.3); }

/* ================= 属性列 & 表头吸顶 ================= */
/* 表头吸顶：滚动名册时字段行保持不动 */
.table-wrap {
  max-height: 68vh;
  overflow-y: auto;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: linear-gradient(180deg, #0d2748, #0a1e3a);
  box-shadow: 0 2px 8px rgba(0, 10, 30, 0.5);
}
table { min-width: 1460px; }

.attr-cell { white-space: nowrap; }
.attr-val {
  color: #8ef0dc; font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px rgba(80, 220, 190, 0.3);
}
.attr-na { color: #52708a; }

/* 属性上传弹窗 */
.attr-tip { font-size: 13px; color: #9cc4e4; line-height: 1.7; margin-bottom: 12px; }
.attr-tip strong { color: var(--gold-1); }
.attr-preview-box {
  width: 100%; height: 200px; margin-bottom: 12px;
  display: grid; place-items: center;
  border: 1px dashed rgba(94, 200, 255, 0.35); border-radius: 10px;
  background-color: rgba(6, 18, 36, 0.5);
  background-size: contain; background-position: center; background-repeat: no-repeat;
  color: #6f97b8; font-size: 13px;
}
.attr-filename { font-size: 12px; color: #8fb8d8; word-break: break-all; }
