/* ==========================================================================
   战绩池 · 前端原型样式
   纯静态、无构建、无依赖。配色：深色底 + 冠军金 + 双方蓝红
   ========================================================================== */

:root {
  --bg: #080a10;
  --panel: #101623;
  --panel-2: #141b2b;
  --panel-3: #0b111c;
  --line: #1e2839;
  --line-2: #2a3548;

  --text: #e8edf7;
  --muted: #94a1b8;
  --dim: #66738a;

  --gold: #c8aa6e;
  --gold-2: #e6d3a3;
  --blue: #3f8cff;
  --red: #f0616d;
  --green: #35c48d;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(1200px 620px at 12% -12%, rgba(200, 170, 110, .10), transparent 62%),
    radial-gradient(900px 520px at 102% -6%, rgba(63, 140, 255, .10), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 22px;
  background: rgba(8, 10, 16, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  color: #17120a;
  background: linear-gradient(160deg, #e9d3a1, #b8934f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 4px 14px rgba(200, 170, 110, .25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; letter-spacing: .01em; }
.brand-text em {
  font-style: normal; font-size: 9px; letter-spacing: .22em;
  color: var(--dim); font-weight: 600; margin-top: 2px;
}

.nav { display: flex; gap: 4px; }

.nav a {
  padding: 7px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.nav a.active { background: rgba(200, 170, 110, .12); color: var(--gold-2); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.mock-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px;
  color: var(--gold-2);
  border: 1px dashed rgba(200, 170, 110, .45);
  background: rgba(200, 170, 110, .06);
}

.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
}
.user-chip .avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: #1a1409;
  background: linear-gradient(160deg, #e9d3a1, #b8934f);
}
.user-chip .uname { font-size: 12.5px; color: var(--muted); }

/* ---------- 页面骨架 ---------- */

.page { max-width: 1240px; margin: 0 auto; padding: 26px 22px 90px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 21px; letter-spacing: .01em; }
.page-head .sub { margin: 5px 0 0; color: var(--dim); font-size: 12.5px; }

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 筛选栏 ---------- */

.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px;
  padding: 14px 16px 16px;
  margin-bottom: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
}

select, input[type="text"], input[type="password"] {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  background: var(--panel-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 132px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
select:focus, input:focus {
  border-color: rgba(200, 170, 110, .55);
  box-shadow: 0 0 0 3px rgba(200, 170, 110, .10);
}
select option { background: #0d1320; }

.filters .spacer { flex: 1 1 auto; }

.btn {
  font-family: var(--font);
  font-size: 13px;
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #141b2a;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: #182134; border-color: #3a4761; }
.btn:active { transform: translateY(1px); }
.btn.gold {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #dcc28a, #bd9c5c);
  color: #1a1409;
  font-weight: 700;
}
.btn.gold:hover { filter: brightness(1.06); }
.btn.sm { padding: 5px 11px; font-size: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- 表格 ---------- */

.table-card { overflow: hidden; }

.table-toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.table-toolbar .count { color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.table-toolbar .spacer { flex: 1; }

.table-scroll { overflow-x: auto; }

table.grid { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 860px; }

.grid thead th {
  position: sticky; top: 0; z-index: 1;
  text-align: left;
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--dim);
  padding: 11px 14px;
  background: #0f1522;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.grid tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  vertical-align: middle;
  white-space: nowrap;
}
.grid tbody tr { cursor: pointer; transition: background .12s; }
.grid tbody tr:hover { background: rgba(200, 170, 110, .055); }
.grid tbody tr.is-open { background: rgba(200, 170, 110, .085); box-shadow: inset 3px 0 0 var(--gold); }
.grid tbody tr:last-child td { border-bottom: 0; }

/* 管理后台的只读行：不显示手型、不响应 hover */
.grid tbody tr.row-static { cursor: default; }
.grid tbody tr.row-static:hover { background: transparent; }

.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }

.cell-time { display: flex; flex-direction: column; line-height: 1.3; }
.cell-time b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cell-time small { color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }

/* 英雄头像 */
.icon {
  position: relative;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #243044, #141b2b);
  border: 1px solid var(--line-2);
}
.icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.icon .ph { font-size: 12px; font-weight: 700; color: #9fb0cc; }

.champ { display: flex; align-items: center; gap: 9px; }
.champ .cname { display: flex; flex-direction: column; line-height: 1.28; }
.champ .cname b { font-weight: 600; }
.champ .cname small { color: var(--dim); font-size: 11px; }

.kda { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.kda .vals b { color: var(--text); font-weight: 600; }
.kda .vals i { font-style: normal; color: var(--dim); margin: 0 3px; }
.kda .ratio { color: var(--muted); font-size: 11.5px; }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.pill.win { color: #4ddba4; background: rgba(53, 196, 141, .14); border: 1px solid rgba(53, 196, 141, .28); }
.pill.lose { color: #ff8a94; background: rgba(240, 97, 109, .13); border: 1px solid rgba(240, 97, 109, .26); }
.pill.mk { color: var(--gold-2); background: rgba(200, 170, 110, .13); border: 1px solid rgba(200, 170, 110, .28); font-weight: 600; }
.pill.plain { color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-weight: 600; }

.empty { padding: 56px 20px; text-align: center; color: var(--dim); }
.empty b { display: block; color: var(--muted); margin-bottom: 6px; font-size: 14px; }

/* ---------- 抽屉 ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4, 6, 10, .62);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(800px, 94vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0e1421, #090d15);
  border-left: 1px solid var(--line);
  transform: translateX(101%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.drawer.open { transform: none; }

.drawer-head {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 16px;
}
.drawer-head .title { flex: 1; min-width: 0; }
.drawer-head h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: .01em; }
.drawer-head .metas { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--dim); }
.drawer-head .metas span b { color: var(--muted); font-weight: 600; }

.icon-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 15px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn:hover { color: var(--text); border-color: #3a4761; }

.drawer-tabs { display: flex; gap: 4px; padding: 12px 22px 0; border-bottom: 1px solid var(--line); }
.drawer-tabs .tab {
  padding: 8px 14px 10px;
  font-size: 13px;
  color: var(--dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.drawer-tabs .tab:hover { color: var(--muted); }
.drawer-tabs .tab.active { color: var(--gold-2); border-bottom-color: var(--gold); }

.drawer-body { overflow-y: auto; padding: 18px 22px 48px; }

/* 队伍 */

.team { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.team-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.team.blue .team-head { background: linear-gradient(90deg, rgba(63, 140, 255, .20), rgba(63, 140, 255, .02)); color: #a6caff; }
.team.red .team-head { background: linear-gradient(90deg, rgba(240, 97, 109, .18), rgba(240, 97, 109, .02)); color: #ffb0b6; }
.team-head .res { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--text); letter-spacing: .04em; }

.prow {
  display: grid;
  grid-template-columns: 34px minmax(120px, 1.6fr) 88px 74px 84px 92px 74px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, .045);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.prow:hover { background: rgba(255, 255, 255, .02); }
.prow.head {
  border-top: 0;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim); padding-top: 7px; padding-bottom: 7px;
}
.prow .pname { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.prow .pname-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.prow .pname-top b { overflow: hidden; text-overflow: ellipsis; }
.prow .pname b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.prow .pname small { color: var(--dim); font-size: 10.5px; }
.prow .cnum { color: var(--muted); text-align: right; }
.prow .cnum.head { text-align: right; }

/* 时间线 */

.tl { position: relative; padding-left: 26px; margin-top: 4px; }
.tl::before {
  content: "";
  position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(200, 170, 110, .05));
}
.tl-item { position: relative; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .05); }
.tl-item:last-child { border-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -22px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #0a0e16;
  border: 2px solid var(--gold);
}
.tl-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-time { font-family: var(--mono); font-size: 12px; color: var(--gold-2); font-weight: 600; }
.tl-main { font-size: 13px; }
.tl-main b { font-weight: 600; }
.tl-main .arrow { color: var(--dim); margin: 0 6px; }
.tl-sub { color: var(--dim); font-size: 11.5px; margin-top: 3px; padding-left: 0; }
.tl-more { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12px; }

.tag-kill { color: #ffb0b6; }
.tag-multi { color: var(--gold-2); }

/* ---------- 管理后台 ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tab-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #101724;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  transition: all .15s;
}
.tab-pill:hover { color: var(--text); border-color: #3a4761; }
.tab-pill.active {
  background: rgba(200, 170, 110, .13);
  border-color: rgba(200, 170, 110, .45);
  color: var(--gold-2);
}

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 12px; }
.kpi {
  padding: 15px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent);
}
.kpi .v { font-size: 23px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi .l { margin-top: 5px; font-size: 12px; color: var(--dim); }
.kpi .hint { margin-top: 8px; font-size: 11.5px; color: var(--muted); }

.panel-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.panel-title .spacer { flex: 1; }

/* ---------- 登录 ---------- */

.login-wrap { min-height: calc(100vh - 58px); display: grid; place-items: center; padding: 30px 20px; }
.login-card { width: min(400px, 100%); padding: 28px; }
.login-card h1 { margin: 0 0 6px; font-size: 19px; }
.login-card p.sub { margin: 0 0 22px; color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.login-card .field { margin-bottom: 14px; }
.login-card input { width: 100%; min-width: 0; }
.login-card .btn { width: 100%; margin-top: 6px; padding: 10px; }
.login-note {
  margin-top: 16px; padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(200, 170, 110, .3);
  background: rgba(200, 170, 110, .05);
  color: var(--muted); font-size: 11.5px; line-height: 1.6;
}

/* ---------- 杂项 ---------- */

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 99;
  transform: translate(-50%, 16px);
  opacity: 0; pointer-events: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #151d2c;
  color: var(--text);
  font-size: 13px;
  box-shadow: var(--shadow);
  transition: opacity .22s, transform .22s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mock-strip {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px dashed rgba(200, 170, 110, .28);
  border-radius: 10px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}
.mock-strip b { color: var(--gold-2); font-weight: 600; }

@media (max-width: 860px) {
  .topbar { gap: 14px; padding: 0 14px; }
  .page { padding: 18px 14px 80px; }
  .hide-sm { display: none; }
  .prow { grid-template-columns: 34px minmax(90px, 1fr) 78px 70px; }
  .prow .hide-sm { display: none; }
  .drawer { width: 100vw; }
}

/* 系统开启「减少动态效果」时，抽屉直接到位，不做滑入 */
@media (prefers-reduced-motion: reduce) {
  .drawer, .overlay, .toast { transition-duration: .01ms !important; }
}

/* ==========================================================================
   管理后台补充（v1.2）
   ========================================================================== */

.code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold-2);
}
.code.plain { color: var(--muted); }
.code.warn { color: #e8b45a; }
.code.bad { color: #ff8a94; }

.row-actions { display: flex; gap: 6px; white-space: nowrap; }

/* 采集链路：四步一行 */
.chain {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px;
  flex-wrap: wrap;
}
.chain .arrow { color: var(--dim); align-self: center; font-size: 15px; }
.chain .node { flex: 1; min-width: 140px; }
.chain .nk { font-size: 12px; color: var(--dim); }
.chain .nv { margin-top: 4px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chain .nh { margin-top: 4px; font-size: 11.5px; color: var(--muted); }

/* 维护规则三步 */
.steps { padding: 6px 16px; }
.steps .step {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
}
.steps .step:last-child { border-bottom: 0; }
.steps .step b { flex: none; width: 112px; color: var(--gold-2); font-weight: 600; white-space: nowrap; }
.steps .step span { color: var(--muted); }

/* 手动导入 */
.import-card { padding: 12px 14px; }
.imp {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  resize: vertical;
}
.imp::placeholder { color: var(--dim); }
.import-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.import-foot .spacer { flex: 1; }

/* 失败筛选 */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filter-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all .12s;
}
.filter-pill:hover { color: var(--text); border-color: #3a4761; }
.filter-pill.active {
  color: #101620;
  background: var(--gold-2);
  border-color: var(--gold-2);
  font-weight: 600;
}

/* 自动流程说明卡 */
.auto-card { padding: 14px 16px; font-size: 12.5px; line-height: 1.95; color: var(--muted); }
.auto-card b { color: var(--text); font-weight: 600; }
.auto-card .dim { margin-top: 4px; }

/* ==========================================================================
   列表页 v1.3：一场比赛一行（10 人阵容）+ 英雄多选 + 头像时间线
   ========================================================================== */

/* 时间 / ID 一行：ID 后面跟复制按钮 */
.cell-time small { display: flex; align-items: center; gap: 5px; }
.cell-time .mid { font-family: var(--mono); font-size: 11px; }
.copy-btn {
  width: 18px; height: 18px;
  padding: 0; border-radius: 5px;
  font-size: 11px; line-height: 1;
  display: inline-grid; place-items: center;
}

/* 模式 / 大区两列：主信息 + 次要信息 */
.mode { display: flex; flex-direction: column; line-height: 1.32; }
.mode b { font-weight: 600; font-size: 12.5px; }
.mode small { color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }

/* 10 人阵容 */
.cell-lineup { min-width: 336px; }
.lineup { display: flex; align-items: center; gap: 9px; }
.lineup .line { display: flex; gap: 3px; }
.lineup .icon { width: 26px; height: 26px; border-radius: 6px; }
.lineup .line.side-blue .icon { border-color: rgba(96, 150, 255, .5); }
.lineup .line.side-red .icon { border-color: rgba(240, 97, 109, .5); }
.lineup .vs { font-size: 9.5px; letter-spacing: .08em; color: var(--dim); }

/* 比分 / 时长 */
.score { display: flex; flex-direction: column; line-height: 1.3; font-variant-numeric: tabular-nums; }
.score .sk b { font-size: 13.5px; color: var(--muted); }
.score .sk b.w { color: var(--gold-2); }
.score .sk i { font-style: normal; color: var(--dim); margin: 0 4px; }
.score small { color: var(--dim); font-size: 11px; }

/* 空态行里的按钮 */
.row-actions .pill { margin-right: 2px; }

/* ---------- 英雄多选（0–5） ---------- */

.picker { position: relative; }
.picker-btn {
  min-width: 132px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--panel, #131b29);
  color: var(--muted);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.picker-btn:hover { border-color: #3a4761; color: var(--text); }
.picker-btn.has { color: var(--gold-2); border-color: rgba(200, 170, 110, .5); }

.picker-pop {
  display: none;
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: 342px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  box-shadow: var(--shadow);
}
.picker.open .picker-pop { display: block; }

.picker-search {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #0b111c;
  color: var(--text);
  font-size: 12.5px;
}
.picker-hint { margin: 7px 0 8px; font-size: 11px; color: var(--dim); }

.picker-grid {
  display: grid;
  /* minmax(0,1fr)：允许格子收缩，避免长英雄名把列撑宽出现横向滚动 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  max-height: 236px;
  overflow-y: auto;
  overflow-x: hidden;
}
.pk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0 5px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.pk .icon { width: 34px; height: 34px; }
.pk .pkn { font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk:hover { background: rgba(255, 255, 255, .05); color: var(--muted); }
.pk.on { border-color: var(--gold-2); background: rgba(200, 170, 110, .12); color: var(--gold-2); }
.pk[disabled] { opacity: .32; cursor: not-allowed; }
.pk-empty { grid-column: 1 / -1; padding: 18px 0; text-align: center; color: var(--dim); font-size: 12px; }

/* ---------- 时间线：头像 ---------- */

.tl-row { align-items: center; }
.tl-team { display: inline-flex; align-items: center; gap: 3px; }
.tl-team .icon { width: 26px; height: 26px; border-radius: 6px; }
.tl-team.victim .icon { opacity: .92; }
.tl-team.assist .icon { width: 22px; height: 22px; }
.tl-arrow { color: var(--dim); margin: 0 1px; }
.tl-name { font-size: 12px; color: var(--muted); }
.tl-sub { display: flex; align-items: center; gap: 7px; padding-left: 0; }
.tl-sub .lbl { font-size: 11px; color: var(--dim); }

/* ---------- ID 池：总数 + 自动分配 + 段位条 ---------- */

.total-card { padding: 14px 16px; }
.total-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.total-main label { font-size: 12.5px; color: var(--muted); }
.total-input {
  width: 118px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.total-input:focus { outline: none; border-color: var(--gold-2); }
.total-note { margin-top: 10px; font-size: 12px; line-height: 1.85; color: var(--dim); }

.tier-cell { min-width: 118px; }
.tierbar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a2333;
}
.tierbar .seg { height: 100%; }
.tierbar .s0 { background: #f0e2b6; }
.tierbar .s1 { background: #c9a6ff; }
.tierbar .s2 { background: #7fb8ff; }
.tierbar .s3 { background: #5b8dfa; }
.tierbar .s4 { background: #3fd0a0; }
.tierbar .s5 { background: #4fc4c4; }
.tierbar .s6 { background: #d9b45a; }
.tierbar .s7 { background: #39445a; }
.tierbar .s8 { background: #b07a4a; }
.tierbar .s9 { background: #6b7280; }
.tier-legend { margin-top: 4px; font-size: 11px; color: var(--dim); }
.tier-legend b { color: var(--text); font-weight: 600; }

/* 抽屉标题旁的复制按钮 */
.drawer-copy {
  position: absolute;
  top: 16px;
  right: 56px;
  width: 26px; height: 26px;
  font-size: 13px;
  display: grid; place-items: center;
}

/* 阵容里每个头像下面带 KDA，一行看完 10 人 */
.lineup .lslot { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 36px; }
.lineup .k3 { font-size: 9px; line-height: 1; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cell-lineup { min-width: 392px; }

/* ==========================================================================
   v1.4 列表：一场比赛一张卡（左右各 5 行）
   ========================================================================== */

.match-list { display: flex; flex-direction: column; gap: 10px; }

.match {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 60%), #111927;
  overflow: hidden;
  transition: border-color .12s;
}
.match:hover { border-color: #33405a; }
.match.is-open { border-color: rgba(200, 170, 110, .45); }
.match:focus-visible { outline: 2px solid rgba(200, 170, 110, .6); outline-offset: 2px; }

.mhead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.mhead .spacer { flex: 1; }
.mtime { display: flex; flex-direction: column; line-height: 1.3; min-width: 158px; }
.mtime b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mtime small { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 11px; }
.mtime code { font-family: var(--mono); }
.mtag { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mtag i { font-style: normal; color: var(--dim); font-size: 11px; }
.mscore { font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.mscore b { color: var(--muted); font-weight: 600; }
.mscore b.w { color: var(--gold-2); }
.mscore i { font-style: normal; color: var(--dim); margin: 0 5px; }
.mdur { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.mhint { font-size: 11px; color: var(--dim); opacity: .65; }

.mbody { display: grid; grid-template-columns: 1fr 26px 1fr; padding: 7px 10px 10px; }
.board { display: flex; flex-direction: column; gap: 2px; }
.vs-col { display: grid; place-items: center; color: var(--dim); font-size: 10px; letter-spacing: .08em; }

.brow {
  display: grid;
  grid-template-columns: 26px minmax(72px, 1fr) 62px 40px;
  align-items: center;
  gap: 9px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.brow .icon { width: 24px; height: 24px; border-radius: 6px; }
.brow .pn { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.brow .pn b { font-weight: 600; color: var(--text); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow .pn small { color: var(--dim); font-size: 10.5px; }
.brow .bk { text-align: right; font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--muted); }
.brow .bcs { text-align: right; font-variant-numeric: tabular-nums; font-size: 11px; color: var(--dim); }
.brow.side-blue { background: rgba(86, 132, 226, .055); }
.brow.side-red { background: rgba(226, 92, 104, .055); }

/* 命中当前英雄筛选的当事人 */
.brow.hit { background: rgba(200, 170, 110, .16); box-shadow: inset 2px 0 0 var(--gold-2); }
.brow.hit .pn b { color: var(--gold-2); }

/* 英雄选择器：第一格「无」 + 自绘滚动条 */
.pk.none .pk-none {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px dashed var(--line-2);
  color: var(--dim);
  font-size: 13px;
}
.pk.none.on .pk-none { border-color: var(--gold-2); color: var(--gold-2); }

.picker-grid { scrollbar-width: thin; scrollbar-color: #2a3548 transparent; }
.picker-grid::-webkit-scrollbar { width: 6px; }
.picker-grid::-webkit-scrollbar-track { background: transparent; }
.picker-grid::-webkit-scrollbar-thumb { background: #2a3548; border-radius: 999px; }
.picker-grid::-webkit-scrollbar-thumb:hover { background: #3a4761; }

/* 总数：自绘加减按钮，隐藏原生 spinner */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #0f1522;
}
.stepper:focus-within { border-color: rgba(200, 170, 110, .55); }
.stepper .num-input {
  width: 96px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 8px 4px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper .num-input:focus { outline: none; }
.stepper .num-input::-webkit-outer-spin-button,
.stepper .num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .step-btn {
  width: 32px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.stepper .step-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.stepper .step-btn:active { background: rgba(200, 170, 110, .14); color: var(--gold-2); }

/* 区服启用开关 */
.switch {
  position: relative;
  display: inline-block;
  width: 34px; height: 18px;
  border-radius: 999px;
  background: #232e42;
  border: 1px solid var(--line-2);
  cursor: pointer;
  vertical-align: middle;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #8394ad;
  transition: left .15s, background .15s;
}
.switch.on { background: rgba(200, 170, 110, .22); border-color: rgba(200, 170, 110, .5); }
.switch.on::after { left: 18px; background: var(--gold-2); }

/* 优先级徽标 */
.rank {
  display: inline-block;
  min-width: 26px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* 胜负用阵营色，不用绿/红「成功失败」语义 */
.pill.side-blue { color: #8fc0ff; background: rgba(86, 132, 226, .15); border: 1px solid rgba(86, 132, 226, .38); }
.pill.side-red { color: #ff9aa2; background: rgba(226, 92, 104, .14); border: 1px solid rgba(226, 92, 104, .34); }

.mhead .dot { color: var(--dim); font-size: 11px; }

.bhead {
  display: grid;
  grid-template-columns: 26px minmax(72px, 1fr) 62px 40px;
  align-items: center;
  gap: 9px;
  padding: 0 8px 4px;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--dim);
  border-bottom: 1px dashed rgba(255, 255, 255, .05);
  margin-bottom: 2px;
}
.bhead .r { text-align: right; }

/* ==========================================================================
   v1.5 列表回到一行一条；胜/负贴在两侧阵营外
   ========================================================================== */

.rtag {
  flex: none;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.rtag.win { color: #4ddba4; background: rgba(53, 196, 141, .14); border: 1px solid rgba(53, 196, 141, .3); }
.rtag.lose { color: #ff8a94; background: rgba(240, 97, 109, .12); border: 1px solid rgba(240, 97, 109, .28); }

.lslot { position: relative; border-radius: 8px; }
.lslot.hit .icon { box-shadow: 0 0 0 2px var(--gold-2); }

/* 英雄选择器底部：继续选 / 完成 */
.picker-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.picker-foot .spacer { flex: 1; }

/* 列宽收紧：10 个头像 + 两列信息要能在一屏内放下 */
.cell-lineup { min-width: 300px; }
.lineup { gap: 6px; }
.lineup .line { gap: 2px; }
.lineup .icon { width: 24px; height: 24px; }
.cell-time { min-width: 132px; }

/* v1.4 的 36px 头像槽是给「头像下 KDA」用的，v1.5 已改成纯图标，这里收回宽度 */
.lineup .lslot { width: 26px; }


/* 首页：实时统计 + 比赛 ID 直达 */
#statsLine { margin-left: 10px; color: var(--dim); font-variant-numeric: tabular-nums; }
.mini-search { display: flex; gap: 6px; }
.mini-search input {
  width: 170px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}
.mini-search input::placeholder { color: var(--dim); }
.mini-search input:focus { outline: none; border-color: var(--gold-2); }


/* 列表底部翻页 */
.pager {
  margin-top: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* 选中的比赛：抽屉关掉后仍然保留 */
.grid tbody tr.is-selected {
  background: rgba(200, 170, 110, .075);
  box-shadow: inset 3px 0 0 var(--gold);
}

/* 跳页输入框 */
.page-input {
  width: 64px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font-size: 12px;
  text-align: center;
}
.page-input:focus { outline: none; border-color: var(--gold-2); }


/* 英雄选择器里的多杀条件 */
.mk-list { margin-top: 8px; }
.mk-title { font-size: 10.5px; color: var(--dim); margin-bottom: 4px; letter-spacing: .04em; }
.mk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
}
.mk-row .icon { width: 22px; height: 22px; border-radius: 5px; }
.mk-name { flex: 1; font-size: 12px; color: var(--muted); }
.mk-select {
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font-size: 11.5px;
}

/* 跳页输入框：隐藏原生上下箭头 */
.page-input { -moz-appearance: textfield; appearance: textfield; }
.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }


/* 标题行右侧：比赛 ID 搜索 + 管理后台 */
.head-actions { display: flex; align-items: center; gap: 10px; }

/* 列表里的具体时间 */
.ltime { margin-left: 6px; font-weight: 400; font-size: 11px; color: var(--dim); }


/* 登录页：免登录勾选 + 注册链接 */
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}
.remember-row input { width: 14px; height: 14px; accent-color: var(--gold); }
.login-alt { margin-top: 14px; font-size: 12.5px; color: var(--dim); }
.login-alt a { color: var(--gold); }


/* 头像下拉菜单 */
.user-menu {
  position: fixed;
  z-index: 300;
  min-width: 168px;
  padding: 6px;
  border-radius: 10px;
  background: #121a29;
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.user-menu-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-menu-head b { font-size: 13px; }
.user-menu-head small { color: var(--dim); font-size: 11px; }
.menu-item {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--text);
  font-size: 12.5px;
  cursor: pointer;
}
.menu-item:hover { background: rgba(255, 255, 255, .06); }
.menu-item.danger { color: #ff8a94; }

/* 通用弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 8, 15, .62);
  backdrop-filter: blur(2px);
}
.modal-card {
  width: 340px;
  padding: 20px;
  border-radius: 14px;
  background: #121a29;
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-card h3 { margin: 0 0 2px; font-size: 15px; }
.modal-card input {
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #0f1522;
  color: var(--text);
  font-size: 13px;
}
.form-err { margin: 0; min-height: 16px; color: #ff8a94; font-size: 12px; }


/* 筛选命中的英雄：图标下面显示 K/D/A */
.lineup .lslot.hit { width: 38px; }
.lslot-kda {
  font-size: 8.5px;
  line-height: 1;
  margin-top: 1px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  white-space: nowrap;
}


/* 超过 10 人（斗魂 3x6 = 9v9）时缩小图标，避免撑出横向滚动条 */
.lineup.many { gap: 7px; }
.lineup.many .line { gap: 2px; }
.lineup.many .icon { width: 20px; height: 20px; border-radius: 5px; }
.lineup.many .lslot { width: 22px; }
.lineup.many .lslot.hit { width: 32px; }
.lineup.many .lslot-kda { font-size: 8px; }
.lineup.many .vs { font-size: 9px; }


/* 段位合计 */
.tier-totals-card { padding: 14px 16px; }
.tier-totals { display: flex; flex-wrap: wrap; gap: 10px; }
.tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  font-size: 12px;
}
.tier-chip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.tier-chip b { font-weight: 600; }


/* 表格里的小号数字输入框 */
.num-input.sm {
  width: 78px;
  padding: 5px 8px;
  font-size: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}
.num-input.sm:focus { border-color: var(--gold-2); }


/* 收藏页备注 */
.note-row td { padding: 0 10px 12px; background: transparent; }
.note-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.note-label {
  flex: none;
  padding-top: 7px;
  font-size: 12px;
  color: var(--dim);
}
.note-body { flex: 1; }
.note-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  max-height: 120px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: rgba(0, 0, 0, .18);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  resize: vertical;
}
.note-input:focus { border-color: var(--gold-2); background: rgba(0, 0, 0, .28); }
.note-status { display: inline-block; margin-top: 4px; font-size: 11px; color: var(--dim); }
.note-wrap.compact {
  max-width: 620px;
  margin-left: 44px;
  padding: 6px 10px;
  gap: 8px;
  background: rgba(255, 255, 255, .015);
}
.note-wrap.compact .note-label { padding-top: 5px; font-size: 11px; }
.note-input.compact { min-height: 34px; max-height: 96px; font-size: 12px; padding: 6px 8px; }
.note-btn { color: var(--dim); font-size: 14px; }
.note-btn:hover { color: var(--gold-2); border-color: rgba(200, 170, 110, .45); }
.note-btn.has-note { color: var(--gold-2); border-color: rgba(200, 170, 110, .45); background: rgba(200, 170, 110, .08); }
.note-wrap.collapsed { display: none; }
.note-add {
  padding: 3px 10px;
  font-size: 12px;
  color: var(--dim);
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.note-add:hover { color: var(--gold-2); border-color: var(--gold-2); }
.note-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.note-collapse {
  padding: 0;
  font-size: 11px;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
}
.note-collapse:hover { color: var(--text); text-decoration: underline; }


/* 确认框按钮行 */
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }


/* 任务与产能 */
.task-card { padding: 14px 16px; }
.task-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.task-item b { display: block; font-size: 16px; }
.task-item span { font-size: 11px; color: var(--dim); }
.task-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.task-badge-ok { color: #7ee0b0; background: rgba(70, 200, 140, .12); }
.task-badge-mild { color: #e9d3a1; background: rgba(200, 170, 110, .14); }
.task-badge-warn { color: #ffc46b; background: rgba(255, 170, 60, .14); }
.task-badge-danger { color: #ff8b8b; background: rgba(255, 80, 80, .14); }

/* 目标加减 */
.target-stepper { display: inline-flex; align-items: center; gap: 4px; }
.step-mini {
  width: 22px; height: 22px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.step-mini:hover { color: var(--gold-2); border-color: var(--gold-2); }
.num-input.sm::-webkit-outer-spin-button,
.num-input.sm::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-input.sm { -moz-appearance: textfield; appearance: textfield; }


/* 段位标签 */
.tier-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1px 7px; border-radius: 5px;
  font-size: 11px; font-weight: 600; line-height: 16px;
  color: #cfd6e4; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  white-space: nowrap; cursor: default;
}
.tier-badge.unranked { color: var(--dim); background: transparent; border-color: rgba(255,255,255,.06); }
.tier-badge.empty { display: none; }
.tier-badge.t-challenger { color: #ffe08a; background: rgba(255, 206, 84, .12); border-color: rgba(255, 206, 84, .45); }
.tier-badge.t-grandmaster { color: #ff9b9b; background: rgba(255, 90, 90, .12); border-color: rgba(255, 90, 90, .42); }
.tier-badge.t-master { color: #cdb4ff; background: rgba(160, 120, 255, .13); border-color: rgba(160, 120, 255, .45); }
.tier-badge.t-diamond { color: #a8e6ff; background: rgba(80, 180, 255, .12); border-color: rgba(80, 180, 255, .42); }
.tier-badge.t-emerald { color: #8ff0cf; background: rgba(60, 210, 160, .12); border-color: rgba(60, 210, 160, .42); }
.tier-badge.t-platinum { color: #a8f0e6; background: rgba(70, 200, 190, .12); border-color: rgba(70, 200, 190, .42); }
.tier-badge.t-gold { color: #ffdf9b; background: rgba(220, 175, 60, .13); border-color: rgba(220, 175, 60, .42); }
.tier-badge.t-silver { color: #dfe6f2; background: rgba(180, 195, 215, .11); border-color: rgba(180, 195, 215, .38); }
.tier-badge.t-bronze { color: #e0b08a; background: rgba(190, 120, 70, .12); border-color: rgba(190, 120, 70, .40); }
.tier-badge.t-iron { color: #b6bcc9; background: rgba(140, 150, 170, .12); border-color: rgba(140, 150, 170, .35); }


/* ID 池参数 */
.settings-card { padding: 14px 16px; }
.settings-grid { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 12px; }
.setting-item { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--dim); }
.setting-item .num-input { width: 96px; }
