/* ============================================================
 * 开枪杯 · 赛事数据中心 — 样式重构版
 * ============================================================
 *
 * 目录：
 *   1. 全局重置 & 隐藏滚动条
 *   2. CSS 变量
 *   3. 容器
 *   4. 页面标题头部
 *   5. 按钮通用样式
 *   6. 卡片容器
 *   7. 筛选栏
 *   8. 表格
 *   9. 标签（Tag）
 *  10. 头像
 *  11. 文字颜色工具类
 *  12. 选手数据速查卡片
 *  13. 排行榜三列网格
 *  14. 领奖台
 *  15. ELO 图表区域（左右并排）
 *  16. 对阵查询大表
 *  17. 记录分割线
 *  18. 弹窗
 *  19. 下拉选择器组件
 *  20. Toast 提示
 *  21. 曾用昵称
 *  22. 底部操作按钮
 *  23. 行内布局
 *  24. 选手搜索框
 *  25. 修复样式（统一列宽、固定行高等）
 *  26. 响应式布局
 *  27. 彻底固定行高 & 末页不缩
 *
 *  注：所有原始功能均已保留，仅整理注释、合并重复规则、修复明显笔误。
 * ============================================================ */

/* ============================================================
   1. 全局重置 & 隐藏滚动条
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 12A + 15A-2.4｜查询、范围与图表的空状态统一为轻量提示面。 */
.data-empty-state,
.bp-chart-empty,
.bp-player-domain-empty,
.bp-player-empty-state,
.bp-selection-empty-state,
.bp-editor-empty-state {
    box-sizing: border-box;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    border-left: 2px solid rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    color: var(--text2);
    background: rgba(148, 163, 184, 0.045);
    font-size: 0.78rem;
    line-height: 1.55;
}

.data-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 68px;
    margin: 14px 0 0;
    padding: 14px 18px;
    text-align: center;
}

.data-empty-state i { color: var(--gold); font-size: 0.9rem; }
.elo-chart-empty.data-empty-state { min-height: 150px; margin: 0; }

.bp-chart-empty { margin: 16px 0 0; padding: 13px 15px; text-align: center; }
.bp-player-domain-empty { margin-top: 12px; padding: 13px 14px; }
.bp-player-empty-state { margin-top: 12px; padding: 11px 13px; }
.bp-selection-empty-state { margin: 12px 0 0; padding: 12px 14px; }
.bp-editor-empty-state { padding: 16px; }

.bp-table-empty,
.bp-audit-empty {
    min-height: 58px;
    padding: 17px 14px !important;
    color: var(--text2) !important;
    background: rgba(148, 163, 184, 0.035) !important;
    text-align: center !important;
}

.data-analysis-subnav button,
.data-subnav button {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0 11px;
    white-space: nowrap;
}

.data-analysis-subnav button:hover,
.data-analysis-subnav button:focus-visible {
    border-bottom-color: rgba(234, 179, 8, 0.26);
    color: var(--cream);
    outline: none;
}

.data-analysis-subnav button.active,
.data-subnav button.active {
    border-color: transparent;
    border-bottom-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.data-subnav-actions {
    gap: 7px;
}

.data-subnav-actions .action-btn {
    min-height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.23);
    border-radius: 5px;
    padding: 0 10px;
    color: var(--text2);
    background: rgba(15, 23, 42, 0.72);
    font-size: 0.72rem;
    white-space: nowrap;
}

.data-subnav-actions .action-btn:hover,
.data-subnav-actions .action-btn:focus-visible {
    border-color: rgba(234, 179, 8, 0.46);
    color: var(--gold);
    outline: none;
}

.data-subnav-actions .mode-active {
    border-color: rgba(96, 165, 250, 0.44);
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.12);
}

*::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 全局隐藏滚动条，保留滚动功能 */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-padding-top: calc(var(--workspace-nav-height) + 64px);
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a101e, #0f172a);
    color: #e2e8f0;
    min-height: 100vh;
    font-size: 18px;
}

.back-to-top { position: fixed; right: 22px; bottom: 24px; z-index: 90; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(234, 179, 8, 0.45); border-radius: 8px; color: var(--gold); background: rgba(15, 23, 42, 0.88); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); text-decoration: none; }

/* ============================================================
   2. CSS 变量
   ============================================================ */
:root {
    --bg: #0a101e;
    --bg2: #0f172a;
    --card: rgba(15, 23, 42, 0.88);
    --solid: #1e293b;
    --input-bg: rgba(15, 23, 42, 0.6);
    --hover: rgba(234, 179, 8, 0.04);
    --modal-bg: linear-gradient(145deg, #1a2332, #0f172a);
    --text: #e2e8f0;
    --text2: #94a3b8;
    --dim: #64748b;
    --gold: #fbbf24;
    --gold-dark: #eab308;
    --gold-shadow: rgba(234, 179, 8, 0.3);
    --red: #e94560;
    --red-shadow: rgba(233, 69, 96, 0.4);
    --green: #4ade80;
    --border: rgba(234, 179, 8, 0.18);
    --border-in: rgba(234, 179, 8, 0.25);
    --radius: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    --t: all 0.3s ease;
    --workspace-nav-height: 68px;
}

/* ============================================================
   3. 容器
   ============================================================ */
.container {
    width: 95%;
    max-width: 1600px;
    min-width: 300px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================================
   4. 页面标题头部
   ============================================================ */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fbbf24;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(234, 179, 8, 0.18);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background: repeating-linear-gradient(
        45deg,
        #eab308 0px,
        #eab308 2px,
        transparent 2px,
        transparent 6px
    );
    pointer-events: none;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
    letter-spacing: 2px;
}

.header p,
.header .subtitle {
    color: #94a3b8;
    margin-top: 5px;
    font-size: 1.1rem;
}

.header .subtitle {
    font-size: 1rem;
}

.data-status {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.68);
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
}

.data-status.online {
    border-color: rgba(74, 222, 128, 0.34);
    color: #4ade80;
}

.data-status.offline {
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.header-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -8px 0 20px;
    padding: 0 22px;
}

.home-link,
.workspace-mode {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 6px;
    color: var(--text2);
    background: rgba(10, 16, 30, 0.45);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.home-link:hover {
    border-color: rgba(234, 179, 8, 0.52);
    color: var(--gold);
}

.workspace-mode.readonly { color: var(--text2); }
.workspace-mode.editable {
    border-color: rgba(74, 222, 128, 0.38);
    color: var(--green);
}
.mode-test-toggle { cursor: pointer; font: inherit; }

.workspace-nav {
    position: sticky;
    z-index: 70;
    top: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    min-height: var(--workspace-nav-height);
    margin: 0 0 24px;
    padding: 0 clamp(20px, 3vw, 56px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(8, 13, 25, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.workspace-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin-right: auto;
    text-decoration: none;
}
.workspace-brand img {
    display: block;
    width: 94px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}
.workspace-tab::after {
    position: absolute;
    right: 100%;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: '';
    background: var(--gold);
    transition: right .18s ease;
}

.workspace-tab {
    position: relative;
    min-height: 40px;
    padding: 0;
    border: 0;
    color: var(--text2);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    transition: color var(--t);
}

.workspace-tab:hover { color: var(--cream); }
.workspace-tab:hover::after,
.workspace-tab.active::after { right: 0; }
.workspace-tab.active {
    color: var(--gold);
}

.bp-workspace {
    margin-bottom: 30px;
}

.data-workspace {
    margin-bottom: 30px;
}

.bp-workspace-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(125deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.8));
    box-shadow: var(--shadow);
}

.data-workspace-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(125deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.8));
    box-shadow: var(--shadow);
}

.workspace-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bp-workspace h2 {
    color: var(--gold);
    font-size: 2rem;
}

.data-workspace h2 {
    color: var(--gold);
    font-size: 2rem;
}

.bp-workspace-intro p {
    max-width: 760px;
    margin-top: 9px;
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.7;
}

.data-workspace-intro p {
    max-width: 760px;
    margin-top: 9px;
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.7;
}

.bp-stage-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(234, 179, 8, 0.36);
    border-radius: 999px;
    color: var(--cream, #fef3c7);
    background: rgba(234, 179, 8, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
}
.bp-intro-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.bp-intro-action-buttons { display: inline-flex; align-items: center; gap: 6px; }
.bp-intro-action-buttons .action-btn { min-height: 34px; white-space: nowrap; }

.bp-subnav {
    display: flex;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 5px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.7);
}

.bp-subnav-row,
.data-subnav-row {
    position: sticky;
    z-index: 50;
    top: var(--workspace-nav-height);
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(10, 16, 30, 0.94);
    backdrop-filter: blur(16px);
}
.bp-subnav-row { flex-wrap: wrap; column-gap: 12px; row-gap: 6px; }
.data-subnav { margin: 0; }
.data-subnav-actions { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.data-subnav-actions .action-btn { min-height: 34px; white-space: nowrap; }
.data-view-heading { margin-bottom: 18px; }
.data-workspace .card-box { margin-bottom: 0; }
.data-page-size { display: inline-flex; align-items: center; gap: 3px; color: var(--dim); font-size: 0.72rem; }
.data-page-size button { min-width: 29px; height: 28px; padding: 0 6px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 4px; color: var(--text2); background: transparent; cursor: pointer; font: inherit; font-size: 0.72rem; font-weight: 700; }
.data-page-size button.active { border-color: rgba(234, 179, 8, 0.4); color: var(--gold); background: rgba(234, 179, 8, 0.08); }
.data-page-size small { margin-left: 2px; font-size: inherit; white-space: nowrap; }
.bp-subnav button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text2);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}

.data-subnav button {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text2);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}
.bp-subnav button.active { border-color: rgba(234, 179, 8, 0.42); color: var(--gold); background: rgba(234, 179, 8, 0.08); }
.bp-analysis-subnav { flex: 0 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; }
.bp-analysis-subnav button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 0 11px; white-space: nowrap; }
.bp-analysis-subnav button:hover { border-bottom-color: rgba(234, 179, 8, 0.24); }
.bp-analysis-subnav button.active { border-color: transparent; border-bottom-color: var(--gold); color: var(--gold); background: transparent; }
.bp-sticky-filters { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; margin-left: auto; }
.bp-sticky-filter { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.bp-sticky-filter select { min-width: 126px; height: 34px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; padding: 0 30px 0 9px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.75rem; }
.bp-sticky-season-filter select { min-width: 118px; }
.bp-sticky-filter-divider { width: 1px; height: 22px; margin: 0 2px; background: rgba(148, 163, 184, 0.23); }
.bp-sticky-player-filter .selector-wrap { width: 150px; min-width: 0; }
.bp-sticky-player-filter .selector-wrap > input { box-sizing: border-box; height: 34px; min-height: 34px; padding: 0 9px; border-radius: 5px; font-size: 0.75rem; }
.bp-sticky-player-filter .selector-dropdown { z-index: 24; }
.bp-sticky-team-scope { min-height: 34px; padding: 0 9px; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 5px; color: var(--text2); background: rgba(139, 92, 246, 0.06); cursor: pointer; }
.bp-sticky-team-scope input { margin: 0; accent-color: #a78bfa; }
.bp-sticky-clear-player { min-height: 34px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; padding: 0 9px; color: var(--text2); background: rgba(15, 23, 42, 0.72); cursor: pointer; font: inherit; font-size: 0.72rem; white-space: nowrap; }
.bp-sticky-clear-player:hover, .bp-sticky-clear-player:focus-visible { border-color: rgba(234, 179, 8, 0.45); color: var(--gold); outline: none; }
.bp-mobile-filter-toggle { display: none; min-height: 34px; align-items: center; gap: 6px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; padding: 0 9px; color: var(--text2); background: rgba(15, 23, 42, 0.72); cursor: pointer; font: inherit; font-size: 0.72rem; }
.bp-mobile-filter-toggle strong { color: var(--gold); font-size: inherit; }
.data-subnav button.active { border-color: rgba(234, 179, 8, 0.42); color: var(--gold); background: rgba(234, 179, 8, 0.08); }

.bp-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.bp-stage-card {
    min-height: 190px;
    padding: 23px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: var(--card);
}

.bp-stage-card > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 17px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 6px;
    color: var(--gold);
    background: rgba(234, 179, 8, 0.07);
}

.bp-stage-card h3 { color: var(--text); font-size: 1rem; }
.bp-stage-card p {
    margin-top: 9px;
    color: var(--text2);
    font-size: 0.86rem;
    line-height: 1.7;
}

.bp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.bp-kpi-groups { display: grid; gap: 16px; }
.bp-kpi-group { min-width: 0; }

.bp-kpi {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 106px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: var(--card);
}

.bp-kpi-content { min-width: 0; padding-top: 1px; }
.bp-kpi strong { display: block; color: var(--text); font-size: 1.55rem; }
.bp-kpi span { display: block; margin-top: 7px; color: var(--text2); font-size: 0.78rem; white-space: nowrap; }
.bp-kpi.gold strong { color: var(--gold); }
.bp-overview-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); align-items: stretch; gap: 14px; margin-bottom: 20px; }
.bp-overview-left { display: grid; gap: 14px; min-width: 0; }
.bp-overview-chart { min-width: 0; padding: 16px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: var(--radius-md); background: var(--card); }
.bp-overview-chart h3 { display: flex; align-items: baseline; gap: 7px; margin: 0 0 12px; color: var(--text); font-size: 0.96rem; }
.bp-overview-chart h3 .fa-solid { color: var(--gold); }
.bp-overview-chart h3 small { color: var(--text2); font-size: 0.72rem; font-weight: 400; }
.bp-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bp-chart-head h3 { min-width: 0; margin: 4px 0 0; }
.bp-chart-mode-switch { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 999px; background: rgba(15, 23, 42, 0.6); }
.bp-chart-mode-switch button { min-height: 28px; padding: 5px 9px; border: 0; border-radius: 999px; color: var(--text2); background: transparent; cursor: pointer; font: inherit; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.bp-chart-mode-switch button:hover, .bp-chart-mode-switch button:focus-visible { color: var(--text); background: rgba(96, 165, 250, 0.12); outline: none; }
.bp-chart-mode-switch button.active { color: #dbeafe; background: rgba(59, 130, 246, 0.28); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.36); }
.bp-histogram { display: block; width: 100%; height: 190px; overflow: visible; }
.bp-histogram text { fill: var(--dim); font-size: 9px; }
.bp-element-trend { display: block; width: 100%; height: 190px; overflow: visible; }
.bp-element-trend text { fill: var(--dim); font-size: 9px; }
.bp-element-trend-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.bp-element-bars { display: grid; gap: 9px; min-height: 190px; align-content: center; }
.bp-element-bar-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 44px; align-items: center; gap: 8px; color: var(--text2); font-size: 0.74rem; }
.bp-element-bar-row > span { font-weight: 700; text-align: center; }
.bp-element-bar-row > i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, 0.14); }
.bp-element-bar-row > i > b { display: block; height: 100%; border-radius: inherit; }
.bp-element-bar-row > strong { color: var(--text); font-size: 0.72rem; text-align: right; }
.bp-chart-grid { stroke: rgba(148, 163, 184, 0.18); stroke-width: 1; }
.bp-histogram-area { fill: rgba(234, 179, 8, 0.24); }
.bp-histogram-line { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.bp-histogram-point { fill: var(--gold); }
.bp-histogram-point:hover { fill: #fef3c7; }
.bp-winrate-chart { display: flex; flex-direction: column; min-height: 0; height: 100%; box-sizing: border-box; }
.bp-winrate-list { display: grid; flex: 1 1 auto; min-height: 0; gap: 7px; overflow-y: auto; align-content: start; }
.bp-winrate-row { display: grid; grid-template-columns: 23px 27px minmax(54px, auto) minmax(64px, 1fr) 46px 38px; align-items: center; gap: 7px; min-width: 0; font-size: 0.72rem; }
.bp-winrate-rank { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 50%; color: var(--text2); font-size: 0.68rem; font-weight: 800; }
.bp-winrate-rank.is-top-three { border-color: rgba(234, 179, 8, 0.5); color: var(--gold); background: rgba(234, 179, 8, 0.1); }
.bp-winrate-row button { overflow: hidden; padding: 0; border: 0; color: var(--text); background: transparent; cursor: pointer; font: inherit; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.bp-winrate-avatar { display: grid; width: 27px; height: 27px; place-items: center; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.24) !important; border-radius: 50% !important; background: rgba(15, 23, 42, 0.72) !important; }
.bp-winrate-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bp-winrate-avatar:hover, .bp-winrate-avatar:focus-visible { border-color: rgba(234, 179, 8, 0.68) !important; outline: none; }
.bp-winrate-name { min-width: 0; }
.bp-winrate-track { display: block; height: 7px; overflow: hidden; border-radius: 99px; background: rgba(148, 163, 184, 0.14); }
.bp-winrate-track i { display: block; height: 100%; border-radius: inherit; }
.bp-winrate-row b { color: var(--text); font-weight: 700; text-align: right; }
.bp-winrate-row small { color: var(--text2); text-align: right; }
.bp-chart-empty { margin: 22px 0; color: var(--text2); font-size: 0.8rem; text-align: center; }

.bp-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: 1px solid rgba(148, 163, 184, 0.19);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23, 32, 51, 0.7), rgba(10, 16, 30, 0.56));
}

.bp-table-wrap::-webkit-scrollbar { display: none; }

.bp-table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; }
.bp-table-wrap th,
.bp-table-wrap td { padding: 13px 15px; border-bottom: 1px solid rgba(148, 163, 184, 0.11); text-align: left; font-size: 0.86rem; }
.bp-table-wrap th { color: var(--gold); background: rgba(234, 179, 8, 0.06); font-size: 0.76rem; }
.bp-table-wrap tr:last-child td { border-bottom: 0; }
.bp-table-wrap tr:hover td { background: var(--hover); }
.bp-character-name { color: var(--text); font-weight: 700; }
.bp-row-number { width: 46px; color: var(--dim); text-align: center !important; }
.bp-mate-names { min-width: 148px; color: var(--text2); }
.bp-character-link {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.bp-character-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bp-archive-page { margin-top: 28px; }
.bp-character-kpis { display: grid; gap: 12px; }
.bp-character-kpis > div { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); text-align: center; transition: transform .18s, border-color .18s; }
.bp-character-kpis > div:hover { transform: translateY(-3px); border-color: rgba(234, 179, 8, 0.42); }
.bp-character-kpis strong { display: block; color: var(--gold); font-size: 1.7rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.bp-character-kpis span { display: block; margin-top: 4px; color: var(--text2); font-size: 0.82rem; }
.bp-character-kpi-ban strong { color: #f87171; }
.bp-character-kpi-pick strong { color: #4ade80; }
.bp-character-kpi-win strong { color: #60a5fa; }
.bp-archive-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 16px; }
.bp-archive-detail-table { margin-top: 16px; }
.bp-archive-mates { margin-top: 16px; padding: 15px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; background: rgba(15, 23, 42, 0.38); }
.bp-archive-mates h3 { margin: 0 0 10px; color: var(--text); font-size: 0.96rem; }
.bp-archive-mates h3 small { color: var(--text2); font-size: 0.74rem; font-weight: 400; }
.bp-player-archive { margin-top: 28px; }
.bp-player-summary { margin: -3px 0 18px; color: var(--text2); font-size: 0.78rem; }
.bp-profile-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 16px; border: 1px solid rgba(234, 179, 8, 0.22); border-radius: var(--radius-md); background: linear-gradient(110deg, rgba(234, 179, 8, 0.08), rgba(15, 23, 42, 0.48) 48%); }
.bp-profile-mark { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid rgba(234, 179, 8, 0.35); border-radius: 10px; color: var(--gold); background: rgba(234, 179, 8, 0.08); font-size: 1rem; }
.bp-profile-mark img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.bp-profile-mark img + i { display: none; }
.bp-character-avatar { position: relative; }
.bp-character-avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.bp-profile-hero h3 { color: var(--text); font-size: 1.1rem; }
.bp-profile-hero p { margin-top: 4px; color: var(--text2); font-size: 0.82rem; }
.bp-player-overview-card { padding: 16px; border: 1px solid rgba(96, 165, 250, 0.24); border-radius: var(--radius-md); background: linear-gradient(115deg, rgba(59, 130, 246, 0.09), rgba(15, 23, 42, 0.34) 55%); }
.bp-player-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bp-player-section-heading h3 { margin-top: 2px; color: var(--text); font-size: 1rem; }
.bp-player-section-heading > small { flex: 0 0 auto; margin-top: 2px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 999px; padding: 3px 7px; color: var(--text2); background: rgba(15, 23, 42, 0.46); font-size: 0.68rem; }
.bp-player-overview-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bp-player-overview-metrics > div, .bp-player-activity-metrics > div { display: flex; min-width: 0; min-height: 84px; flex-direction: column; justify-content: center; gap: 3px; padding: 11px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 10px; background: rgba(2, 6, 23, 0.26); text-align: left; }
.bp-player-overview-metrics strong { color: #bfdbfe; font-size: 1.24rem; font-variant-numeric: tabular-nums; }
.bp-player-overview-metrics span, .bp-player-activity-metrics span { color: var(--text2); font-size: 0.72rem; }
.bp-player-metric-note { display: block; min-height: 1.3em; overflow: hidden; color: var(--dim); font-size: 0.62rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.bp-player-metric-note.active { color: #cbd5e1; }
.bp-player-domain-empty { margin: 12px 0 0; padding: 14px; border: 1px dashed rgba(148, 163, 184, 0.2); border-radius: 10px; color: var(--text2); background: rgba(148, 163, 184, 0.05); font-size: 0.78rem; line-height: 1.55; }
.bp-player-detail { margin-top: 15px; padding: 15px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; background: rgba(15, 23, 42, 0.34); }
.bp-player-detail h3 { margin: 0 0 10px; color: var(--text); font-size: 0.96rem; }
.bp-player-detail h3 small { color: var(--text2); font-size: 0.74rem; font-weight: 400; }
.bp-player-activity-detail { border-color: rgba(167, 139, 250, 0.22); }
.bp-player-activity-layout { display: grid; grid-template-columns: minmax(250px, 0.95fr) minmax(220px, 1.05fr); gap: 14px; align-items: stretch; }
.bp-player-activity-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bp-player-activity-metrics strong { overflow: hidden; color: #ddd6fe; font-size: 1.08rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.bp-player-element-list { display: grid; align-content: center; gap: 7px; }
.bp-player-element-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 44px; gap: 8px; align-items: center; color: var(--text2); font-size: 0.72rem; }
.bp-player-element-row i { position: relative; display: block; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, 0.12); }
.bp-player-element-row i::after { position: absolute; inset: 0 auto 0 0; width: var(--bp-activity-width); border-radius: inherit; background: var(--bp-activity-color); content: ''; }
.bp-player-element-row b { color: var(--text); font-size: 0.72rem; font-variant-numeric: tabular-nums; text-align: right; }
.bp-player-role-cta { align-self: flex-start; margin: 2px 0 0; }
.bp-mate-tags button { cursor: pointer; font: inherit; }
.bp-player-ban { border: 1px solid rgba(248, 113, 113, 0.45); border-radius: 999px; padding: 3px 7px; color: #fca5a5; background: rgba(248, 113, 113, 0.1); font-size: 0.7rem; }
.bp-player-footprint-list { display: grid; gap: 7px; }
.bp-player-footprint { display: grid; min-height: 35px; grid-template-columns: 42px minmax(78px, 0.42fr) minmax(0, 1.58fr) 20px; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 8px; background: rgba(2, 6, 23, 0.2); }
.bp-player-footprint-meta { display: grid; min-width: 0; color: var(--text2); font-size: 0.75rem; line-height: 1.25; }
.bp-player-footprint-meta b { overflow: hidden; color: var(--text); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bp-player-footprint-meta small { overflow: hidden; color: var(--text2); font-size: 0.67rem; text-overflow: ellipsis; white-space: nowrap; }
.bp-player-footprint-lineups { display: flex; min-width: 0; flex-wrap: wrap; gap: 3px 7px; }
.bp-player-footprint-lineup { display: inline-flex; align-items: center; gap: 3px; min-width: 0; }
.bp-player-footprint-lineup em { color: var(--dim); font-size: 0.62rem; font-style: normal; white-space: nowrap; }
.bp-player-footprint-lineup b { display: grid; width: 21px; height: 21px; place-items: center; overflow: hidden; border: 1px solid rgba(96, 165, 250, 0.28); border-radius: 6px; color: var(--text); background-color: rgba(15, 23, 42, 0.58); background-blend-mode: soft-light; font-size: 0.67rem; }
.bp-player-footprint-lineups-empty { color: var(--dim); font-size: 0.78rem; }
.bp-player-footprint-result { display: grid; width: 20px; min-height: 21px; place-items: center; }
.bp-player-result-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--dim); }
.bp-player-result-dot.win { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1); }
.bp-player-result-dot.lose { background: #fb7185; box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1); }
.bp-player-result-empty { color: var(--dim); font-size: 0.82rem; font-style: normal; }
.bp-player-record-kind { display: inline-flex; margin-right: 5px; border-radius: 999px; padding: 1px 5px; color: var(--text2); background: rgba(148, 163, 184, 0.12); font-size: 0.62rem; font-style: normal; line-height: 1.35; }
.bp-player-record-kind.personal { color: #bfdbfe; background: rgba(59, 130, 246, 0.16); }
.bp-player-record-kind.team { color: #ddd6fe; background: rgba(139, 92, 246, 0.18); }
.bp-table-wrap small { margin-left: 4px; color: var(--text2); font-size: 0.7rem; }
.bp-sort-btn { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; font-weight: inherit; }
.bp-sort-btn:hover, .bp-sort-btn.active { color: var(--gold); }
.bp-role-sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 10px; color: var(--text2); font-size: 0.76rem; }
.bp-role-sortbar > span { margin-right: 2px; color: var(--dim); }
.bp-player-sortbar { margin: 0; align-self: flex-end; }
.bp-role-sortbar button { border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 999px; padding: 4px 8px; color: var(--text2); background: rgba(15, 23, 42, 0.5); cursor: pointer; font: inherit; font-size: 0.74rem; }
.bp-role-sortbar button:hover, .bp-role-sortbar button.active { border-color: rgba(234, 179, 8, 0.45); color: var(--gold); background: rgba(234, 179, 8, 0.08); }
.bp-role-filter-label { margin-left: 4px; color: var(--dim); }
.bp-role-sortbar em { margin-left: 2px; color: var(--dim); font-style: normal; }
.bp-mate-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.bp-mate-tags span, .bp-mate-tags button { display: inline-flex; border: 1px solid rgba(96, 165, 250, 0.25); border-radius: 999px; padding: 3px 7px; font-size: 0.7rem; white-space: nowrap; }
.bp-mate-tags button { align-items: center; gap: 4px; }
.bp-archive-detail-table .bp-table-wrap table { min-width: 1020px; }
.bp-archive-detail-table .bp-table-wrap th:nth-child(1) { width: 72px; }
.bp-archive-detail-table .bp-table-wrap th:nth-child(2), .bp-archive-detail-table .bp-table-wrap th:nth-child(3), .bp-archive-detail-table .bp-table-wrap th:nth-child(4) { width: 116px; }
.bp-archive-detail-table .bp-table-wrap th:nth-child(5) { width: 126px; }
.bp-archive-detail-table .bp-table-wrap th:nth-child(6) { width: 42%; min-width: 360px; }
.bp-archive-detail-table .bp-table-wrap td:nth-child(-n+5) { white-space: nowrap; }
.bp-archive-detail-table .bp-mate-names { min-width: 360px; }

.bp-match-section { margin-top: 28px; }
.bp-section-heading, .bp-view-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    box-sizing: border-box;
    margin: 0 0 13px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: linear-gradient(110deg, rgba(234, 179, 8, 0.06), rgba(15, 23, 42, 0.44) 48%);
}
.bp-section-heading > div:last-child, .bp-view-heading > div { min-width: 0; }
.bp-section-heading h3, .bp-view-heading h3 { color: var(--text); font-size: 1.1rem; }
.bp-section-heading p, .bp-view-heading p { min-height: 1.5em; margin-top: 5px; color: var(--text2); font-size: 0.8rem; line-height: 1.5; }
.bp-view-mark { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(234, 179, 8, 0.32); border-radius: 9px; color: var(--gold); background: rgba(234, 179, 8, 0.08); }
.bp-inline-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top .bp-inline-icon { width: 20px; height: 20px; }
.bp-view-heading .action-btn, .bp-view-heading .bp-match-toolbar { margin-left: auto; }
.bp-archive-heading-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.bp-archive-heading-actions .action-btn { margin-left: 0; }
.bp-link-status {
    display: inline-flex;
    padding: 3px 7px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(234, 179, 8, 0.07);
    font-size: 0.72rem;
    font-weight: 700;
}
.bp-link-status.linked { border-color: rgba(96, 165, 250, 0.4); color: #93c5fd; background: rgba(59, 130, 246, 0.08); }
.bp-link-status.verified { border-color: rgba(74, 222, 128, 0.42); color: var(--green); background: rgba(74, 222, 128, 0.07); }
.bp-import-status { color: var(--dim); font-size: 0.76rem; }
.bp-import-status.filled { color: #93c5fd; }
.bp-match-actions { display: flex; gap: 6px; white-space: nowrap; }
.bp-match-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.bp-match-summary { margin-top: 9px; color: var(--text2); font-size: 0.76rem; }
.bp-stat-method-note { margin: -1px 0 13px; color: var(--dim); font-size: 0.72rem; line-height: 1.45; }
.bp-audit-section { margin-top: 28px; }
.bp-audit-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.bp-audit-summary > div { display: grid; gap: 4px; min-width: 0; padding: 13px 15px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 11px; background: rgba(15, 23, 42, 0.42); }
.bp-audit-summary strong { color: var(--gold); font-size: 1.28rem; line-height: 1; }
.bp-audit-summary span { color: var(--text2); font-size: 0.75rem; }
.bp-audit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bp-audit-details-heading { margin: 22px 0 10px; }
.bp-audit-details-heading h4 { margin: 3px 0 5px; color: var(--text); font-size: 0.95rem; }
.bp-audit-details-heading p { margin: 0; color: var(--text2); font-size: 0.76rem; line-height: 1.5; }
.bp-audit-panel { min-width: 0; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 12px; background: rgba(15, 23, 42, 0.25); }
.bp-audit-panel h4 { color: var(--text); font-size: 0.95rem; }
.bp-audit-panel > p { min-height: 38px; margin: 5px 0 11px; color: var(--text2); font-size: 0.74rem; line-height: 1.5; }
.bp-season-matrix-panel > div:first-child > p { margin: 5px 0 11px; color: var(--text2); font-size: 0.74rem; line-height: 1.5; }
.bp-migration-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bp-migration-copy { min-width: 0; }
.bp-migration-copy p { margin: 5px 0 11px; color: var(--text2); font-size: 0.74rem; line-height: 1.5; }
.bp-migration-actions { display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.bp-migration-primary { display: grid; justify-items: end; gap: 5px; }
.bp-migration-action-status { max-width: 240px; color: var(--gold); font-size: 0.7rem; line-height: 1.45; text-align: right; }
.bp-audit-panel .bp-table-wrap { max-height: 360px; overflow: auto; }
.bp-audit-panel .bp-table-wrap table { min-width: 590px; }
.bp-audit-panel .bp-table-wrap th { position: sticky; top: 0; z-index: 1; }
.bp-audit-empty { color: var(--text2); text-align: center !important; }
.bp-audit-warning { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 7px; color: #fecdd3; background: rgba(233, 69, 96, 0.07); font-size: 0.78rem; }
@media (max-width: 1100px) and (min-width: 901px) { .bp-audit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bp-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: var(--text2); font-size: 0.8rem; }
.bp-link-modal { max-width: 720px; }
.bp-manual-modal { width: min(840px, calc(100vw - 32px)); max-width: 840px; max-height: min(860px, calc(100vh - 32px)); overflow-y: auto; }
.bp-manual-modal textarea { width: 100%; resize: vertical; }
.bp-link-compare { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bp-link-compare > div { display: grid; gap: 4px; min-width: 0; padding: 10px; border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 9px; background: rgba(15, 23, 42, 0.38); }
.bp-link-compare span { color: var(--text2); font-size: 0.7rem; }
.bp-link-compare b { overflow-wrap: anywhere; color: var(--text); font-size: 0.8rem; line-height: 1.4; }
.bp-import-modal { max-width: 760px; }
.bp-verification-modal { width: min(1360px, calc(100vw - 32px)); max-width: 1360px; max-height: min(860px, calc(100vh - 32px)); overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.bp-verification-modal::-webkit-scrollbar { display: none; }

/* BP 编辑工作台：使用与概览/列表一致的页面流，不继承旧弹窗的宽度或外壳。 */
.bp-editor-workbench { width: 95%; max-width: 1600px; margin: 20px auto 48px; padding: 0 20px; }
.bp-editor-workbench .bp-editor-panel { width: 100%; max-width: none; max-height: none; overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.bp-editor-workbench .bp-manual-modal, .bp-editor-workbench .bp-verification-modal { width: 100%; margin: 0; }
.bp-editor-heading { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); }
.bp-editor-workbench textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; color: var(--text); background: var(--input-bg); font: inherit; }
.bp-editor-workbench textarea:focus { border-color: rgba(234, 179, 8, 0.6); outline: none; }
.bp-editor-workbench .modal-actions { position: sticky; bottom: 12px; z-index: 2; margin-top: 20px; padding: 10px; border: 1px solid rgba(59, 72, 93, 0.9); background: rgba(10, 16, 30, 0.92); box-shadow: 0 -8px 24px rgba(3, 7, 18, 0.28); }
.bp-editor-page { margin-top: 24px; }
.bp-editor-page-heading { align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); }
.bp-editor-page-heading h3 { margin-bottom: 4px; }
.bp-editor-page-heading p { margin: 0; color: var(--text2); font-size: 0.84rem; line-height: 1.55; }
.bp-workbench-page { min-width: 0; }
.bp-workbench-mode-tabs { display: flex; gap: 8px; margin: 0 0 18px; padding: 5px; overflow-x: auto; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 8px; background: rgba(15, 23, 42, 0.48); scrollbar-width: none; }
.bp-workbench-mode-tabs::-webkit-scrollbar { display: none; }
.bp-workbench-mode-tabs button { flex: 1 0 158px; min-height: 38px; padding: 8px 12px; border: 1px solid transparent; border-radius: 5px; color: var(--text2); background: transparent; font: inherit; font-weight: 700; text-align: center; cursor: pointer; }
.bp-workbench-mode-tabs button:hover { color: var(--text); background: rgba(148, 163, 184, 0.1); }
.bp-workbench-mode-tabs button:focus-visible { outline: 2px solid rgba(234, 179, 8, 0.82); outline-offset: 1px; }
.bp-workbench-mode-tabs button.active { border-color: rgba(234, 179, 8, 0.42); color: #fef3c7; background: rgba(234, 179, 8, 0.14); box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.08); }
.bp-workbench-empty { margin: 0; padding: 22px; border: 1px dashed rgba(148, 163, 184, 0.34); border-radius: 8px; color: var(--text2); background: rgba(15, 23, 42, 0.32); line-height: 1.65; }
.bp-verification-context-bar { position: sticky; top: 8px; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 14px; padding: 9px 12px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 7px; color: var(--text2); background: rgba(10, 16, 30, 0.94); box-shadow: 0 8px 18px rgba(3, 7, 18, 0.18); font-size: 0.82rem; }
.bp-verification-context-bar strong { color: var(--text); }
.bp-verification-context-bar em { margin-left: auto; padding: 2px 7px; border-radius: 999px; color: #fef3c7; background: rgba(234, 179, 8, 0.16); font-style: normal; font-weight: 700; }
.bp-verification-context-bar em.verified { color: #bbf7d0; background: rgba(34, 197, 94, 0.16); }
.bp-verification-context-bar em.draft { color: #cbd5e1; background: rgba(148, 163, 184, 0.16); }
.bp-editor-page textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; color: var(--text); background: var(--input-bg); font: inherit; }
.bp-editor-page textarea:focus { border-color: rgba(234, 179, 8, 0.6); outline: none; }
.bp-verification-page { min-width: 0; }
.bp-verification-page .bp-verification-modal { width: 100%; max-width: none; max-height: none; margin: 0; overflow: visible; }
.bp-verification-page .modal-actions { position: sticky; bottom: 12px; z-index: 2; margin-top: 20px; padding: 10px; border: 1px solid rgba(59, 72, 93, 0.9); background: rgba(10, 16, 30, 0.92); box-shadow: 0 -8px 24px rgba(3, 7, 18, 0.28); }
.bp-editor-stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.bp-editor-stepper span, .bp-editor-stepper button { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 10px; border: 1px solid rgba(148, 163, 184, 0.16); color: var(--dim); background: rgba(15, 23, 42, 0.38); font: inherit; font-size: 0.74rem; font-weight: 700; text-align: left; white-space: nowrap; }
.bp-editor-stepper button { width: 100%; cursor: pointer; }
.bp-editor-stepper b { color: var(--text2); font-size: 0.68rem; letter-spacing: 0.06em; }
.bp-editor-stepper .active { border-color: rgba(234, 179, 8, 0.5); color: var(--gold); background: rgba(234, 179, 8, 0.07); }
.bp-editor-stepper .active b { color: var(--gold); }
.bp-editor-selection { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px 18px; align-items: center; padding: 16px; border: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.42); }
.bp-editor-selection label { color: var(--text2); font-size: 0.8rem; font-weight: 700; }
.bp-editor-selection select { width: 100%; min-width: 0; min-height: 40px; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.26); border-radius: 4px; padding: 0 11px; color: var(--text); background: var(--input-bg); font: inherit; }
.bp-editor-selection select:focus { border-color: rgba(234, 179, 8, 0.65); outline: none; }
.bp-editor-empty { grid-column: 2; margin: -4px 0 0; color: var(--text2); font-size: 0.78rem; }
.bp-editor-readonly { margin-top: 14px; border-top: 1px solid rgba(148, 163, 184, 0.15); }
.bp-editor-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(148, 163, 184, 0.16); border-top: 0; }
.bp-editor-facts > div { min-width: 0; min-height: 70px; padding: 12px 14px; border-top: 1px solid rgba(148, 163, 184, 0.13); border-right: 1px solid rgba(148, 163, 184, 0.13); }
.bp-editor-facts > div:nth-child(3n) { border-right: 0; }
.bp-editor-facts span { display: block; margin-bottom: 5px; color: var(--text2); font-size: 0.68rem; }
.bp-editor-facts strong { display: block; overflow: hidden; color: var(--text); font-size: 0.84rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.bp-editor-facts label { display: block; min-width: 0; }
.bp-editor-facts label > span { display: block; margin-bottom: 5px; color: var(--text2); font-size: 0.68rem; }
.bp-editor-facts select { width: 100%; min-height: 29px; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.26); border-radius: 4px; padding: 0 7px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.78rem; }
.bp-editor-facts select:focus { border-color: rgba(234, 179, 8, 0.65); outline: none; }
.bp-editor-note { margin: 0; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-top: 0; color: var(--text2); background: rgba(59, 130, 246, 0.045); font-size: 0.78rem; line-height: 1.6; }
.bp-editor-actions { display: flex; justify-content: flex-end; padding-top: 14px; }
.bp-config-section { margin-top: 14px; }
.bp-config-section-heading { margin: 0; }
.bp-config-section-heading button { display: block; width: 100%; border: 1px solid rgba(148, 163, 184, 0.17); padding: 14px 15px; color: var(--text); background: rgba(15, 23, 42, 0.32); cursor: pointer; font: inherit; text-align: left; }
.bp-config-section-heading button[aria-expanded="true"] { border-color: rgba(234, 179, 8, 0.42); background: rgba(234, 179, 8, 0.05); }
.bp-config-section-heading button:hover { border-color: rgba(234, 179, 8, 0.42); background: rgba(234, 179, 8, 0.05); }
.bp-config-section-heading button:focus-visible { outline: 2px solid rgba(234, 179, 8, 0.8); outline-offset: 2px; }
.bp-config-section-heading .workspace-kicker { display: block; margin-bottom: 3px; }
.bp-config-section-title { display: block; color: var(--text); font-size: 0.92rem; font-weight: 700; }
.bp-config-section-content > .bp-editor-rule-panel,
.bp-config-section-content > .bp-pool-calibration-panel { margin-top: 10px; }
.bp-editor-rule-panel { display: grid; gap: 12px; margin-top: 14px; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.16); background: rgba(15, 23, 42, 0.3); }
.bp-editor-rule-panel h4, .bp-editor-rule-panel p { margin: 0; }
.bp-editor-rule-panel h4 { margin-top: 3px; color: var(--text); font-size: 0.9rem; }
.bp-editor-rule-panel p { margin-top: 5px; color: var(--text2); font-size: 0.75rem; line-height: 1.5; }
.bp-editor-rule-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.bp-editor-rule-fields label { display: grid; gap: 5px; color: var(--text2); font-size: 0.7rem; }
.bp-editor-rule-fields input, .bp-editor-rule-fields select { width: 100%; min-height: 31px; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 4px; padding: 0 8px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.77rem; }
.bp-editor-rule-list { display: grid; gap: 6px; max-height: 180px; margin: 0; padding: 0; overflow: auto; list-style: none; scrollbar-width: none; }
.bp-editor-rule-list::-webkit-scrollbar { display: none; }
.bp-editor-rule-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 7px 9px; border: 1px solid rgba(148, 163, 184, 0.14); color: var(--text2); font-size: 0.75rem; }
.bp-editor-rule-list li > span:last-child { display: flex; flex-shrink: 0; gap: 6px; }
.bp-editor-rule-list strong { color: var(--gold); }
.bp-editor-rule-list small { color: #c4b5fd; }
.bp-pool-calibration-panel { display: grid; gap: 12px; margin-top: 14px; padding: 15px; border: 1px solid rgba(148, 163, 184, 0.17); background: rgba(15, 23, 42, 0.32); }
.bp-pool-calibration-panel h3, .bp-pool-calibration-panel p { margin: 0; }
.bp-pool-calibration-panel h3 { margin-top: 3px; color: var(--text); font-size: 0.92rem; }
.bp-pool-calibration-panel p { margin-top: 5px; color: var(--text2); font-size: 0.76rem; line-height: 1.55; }
.bp-pool-calibration-form { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "season entries" "note note"; gap: 10px; }
.bp-pool-calibration-form label { display: grid; align-content: start; gap: 5px; color: var(--text2); font-size: 0.72rem; }
.bp-pool-calibration-season { grid-area: season; }
.bp-pool-calibration-entries { grid-area: entries; }
.bp-pool-calibration-note { grid-area: note; }
.bp-pool-calibration-form select, .bp-pool-calibration-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 4px; padding: 8px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.78rem; }
.bp-pool-calibration-form select { min-height: 33px; padding: 0 8px; }
.bp-pool-calibration-form textarea { resize: vertical; }
.bp-pool-calibration-summary { display: flex; flex-wrap: wrap; gap: 7px; }
.bp-pool-calibration-summary span { padding: 4px 7px; border: 1px solid rgba(148, 163, 184, 0.16); color: var(--text2); font-size: 0.72rem; }
.bp-pool-calibration-saved { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(148, 163, 184, 0.14); }
.bp-pool-calibration-saved-heading { display: flex; align-items: baseline; gap: 7px; }
.bp-pool-calibration-saved-heading h4 { margin: 0; color: var(--text); font-size: 0.78rem; }
.bp-pool-calibration-saved-heading span { color: var(--text2); font-size: 0.7rem; }
.bp-pool-calibration-list { max-height: none; overflow: visible; }
.bp-pool-evidence-details summary { cursor: pointer; color: var(--gold); }
.bp-pool-evidence-list { display: grid; gap: 5px; min-width: 230px; margin-top: 7px; }
.bp-pool-evidence-list .bp-tag { width: 100%; text-align: left; white-space: normal; }
.bp-editor-step-two-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 11px 14px; border: 1px solid rgba(148, 163, 184, 0.16); background: rgba(15, 23, 42, 0.42); }
.bp-editor-step-two-toolbar p { margin: 0; color: var(--text2); font-size: 0.8rem; }
.bp-editor-step-two-toolbar > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.bp-editor-result-card { display: grid; gap: 14px; }
.bp-editor-result-meta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(148, 163, 184, 0.16); }
.bp-editor-result-meta label, .bp-editor-lineup-side label { display: grid; gap: 6px; min-width: 0; padding: 10px; border-right: 1px solid rgba(148, 163, 184, 0.13); color: var(--text2); font-size: 0.73rem; font-weight: 700; }
.bp-editor-result-meta label:last-child { border-right: 0; }
.bp-editor-result-meta input, .bp-editor-result-meta select, .bp-editor-lineup-side input { width: 100%; min-height: 32px; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 4px; padding: 0 8px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.78rem; }
.bp-editor-lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp-editor-lineup-side { min-width: 0; border: 1px solid rgba(148, 163, 184, 0.16); background: rgba(15, 23, 42, 0.28); }
.bp-editor-lineup-side > strong { display: block; padding: 10px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.13); color: var(--gold); font-size: 0.78rem; }
.bp-editor-lineup-side label { border-right: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.13); }
.bp-editor-lineup-side label:last-child { border-bottom: 0; }
.bp-editor-lineup-side textarea { min-height: 50px; resize: vertical; }
.bp-editor-review-panel { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr); gap: 14px; padding: 16px; border: 1px solid rgba(148, 163, 184, 0.17); background: rgba(15, 23, 42, 0.34); }
.bp-editor-review-panel h4 { margin: 3px 0 5px; color: var(--text); font-size: 0.95rem; }
.bp-editor-review-panel p { margin: 0; color: var(--text2); font-size: 0.78rem; line-height: 1.6; }
.bp-editor-review-panel ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.bp-editor-review-panel li { display: grid; grid-template-columns: minmax(110px, 0.8fr) minmax(120px, 1fr) minmax(120px, 1fr); gap: 8px; align-items: center; padding: 10px; border: 1px solid rgba(148, 163, 184, 0.14); background: rgba(15, 23, 42, 0.33); color: var(--text2); font-size: 0.76rem; }
.bp-editor-review-panel li strong { color: var(--gold); font-size: 0.78rem; }
.bp-editor-review-panel .bp-editor-empty-state { grid-column: 1 / -1; }
.bp-editor-empty-state { margin: 0; padding: 18px; border: 1px dashed rgba(148, 163, 184, 0.3); color: var(--text2); background: rgba(15, 23, 42, 0.26); font-size: 0.82rem; line-height: 1.6; }
.bp-editor-import-panel { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr); gap: 12px 16px; align-items: start; margin: 14px 0; padding: 14px; border: 1px solid rgba(148, 163, 184, 0.17); background: rgba(15, 23, 42, 0.34); }
.bp-editor-import-panel h4 { margin: 3px 0 4px; color: var(--text); font-size: 0.88rem; }
.bp-editor-import-panel p { margin: 0; color: var(--text2); font-size: 0.74rem; line-height: 1.55; }
.bp-editor-import-panel textarea { min-height: 94px; resize: vertical; }
.bp-editor-import-actions { display: flex; grid-column: 1 / -1; align-items: end; justify-content: flex-end; gap: 8px; }
.bp-editor-import-actions label { display: grid; gap: 4px; margin-right: auto; color: var(--text2); font-size: 0.7rem; }
.bp-editor-import-actions select { min-height: 30px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 4px; padding: 0 7px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.76rem; }
.bp-editor-import-result { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid rgba(148, 163, 184, 0.13); color: #86efac !important; }
.bp-editor-import-result.error { color: #fca5a5 !important; }
.bp-editor-game-card { margin-top: 12px; border: 1px solid rgba(148, 163, 184, 0.17); background: rgba(15, 23, 42, 0.3); }
.bp-editor-game-head { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 13px; border-bottom: 1px solid rgba(148, 163, 184, 0.13); }
.bp-editor-game-head strong { color: var(--gold); font-size: 0.84rem; }
.bp-editor-game-head span { color: var(--text); font-size: 0.78rem; }
.bp-editor-game-head small { margin-left: auto; color: #c4b5fd; font-size: 0.7rem; }
.bp-editor-game-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 13px; }
.bp-editor-game-inputs label { display: grid; gap: 6px; min-width: 0; color: var(--text2); font-size: 0.74rem; }
.bp-editor-game-inputs textarea { min-height: 56px; resize: vertical; }
.bp-editor-process { overflow: auto; margin: 0 13px; border: 1px solid rgba(148, 163, 184, 0.14); -ms-overflow-style: none; scrollbar-width: none; }
.bp-editor-process::-webkit-scrollbar { display: none; }
.bp-editor-process-head, .bp-editor-process-row { display: grid; grid-template-columns: 50px 50px minmax(138px, 1fr) minmax(110px, 0.72fr) 50px 50px minmax(138px, 1fr); gap: 8px; align-items: center; min-width: 760px; padding: 7px 10px; }
.bp-editor-process-head { color: var(--dim); background: rgba(15, 23, 42, 0.7); font-size: 0.68rem; font-weight: 800; }
.bp-editor-process-head > span { text-align: center; }
.bp-editor-process-row { border-top: 1px solid rgba(148, 163, 184, 0.1); color: var(--text2); font-size: 0.74rem; }
.bp-editor-process-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-editor-process-row > b { color: var(--gold); font-size: 0.72rem; }
.bp-editor-process-row > em { color: var(--text2); font-style: normal; }
.bp-editor-process-row > em.ban { color: #fca5a5; }
.bp-editor-process-stage { color: var(--dim); text-align: center; font-size: 0.7rem; }
.bp-editor-process-empty { color: var(--dim); }
.bp-editor-process-row .selector-wrap { width: 100%; min-width: 0; max-width: none; }
.bp-editor-process-row .selector-wrap input { min-height: 30px; padding: 0 7px; font-size: 0.76rem; }
.bp-editor-process-row .selector-dropdown { z-index: 70; }
.bp-editor-game-note { margin: 0; padding: 0 13px 13px; color: var(--dim); font-size: 0.72rem; line-height: 1.5; }
.bp-import-modal textarea { width: 100%; resize: vertical; }
.bp-import-actions { margin-top: 14px; }
.bp-import-preview { display: grid; gap: 5px; margin-top: 18px; padding: 13px; border-left: 2px solid var(--green); color: var(--text2); background: rgba(74, 222, 128, 0.06); font-size: 0.82rem; line-height: 1.5; }
.bp-import-preview.error { border-left-color: var(--red); background: rgba(233, 69, 96, 0.07); }
.bp-modal-lead { margin: -8px 0 20px; color: var(--text2); font-size: 0.86rem; line-height: 1.6; }
.bp-verification-family { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 11px 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 10px; background: rgba(15, 23, 42, 0.3); }
.bp-verification-family .workspace-kicker { flex: 0 0 auto; }
.bp-verification-family-list { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 7px; min-width: 0; }
.bp-verification-family-item { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; gap: 6px; min-height: 30px; padding: 5px 8px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; color: var(--text2); background: rgba(15, 23, 42, 0.42); font: inherit; font-size: 0.72rem; cursor: pointer; }
.bp-verification-family-item:hover, .bp-verification-family-item.active { border-color: rgba(234, 179, 8, 0.58); color: var(--text); background: rgba(234, 179, 8, 0.08); }
.bp-verification-family-item b { color: var(--text); font-weight: 650; }
.bp-verification-family-item span { color: var(--text2); }
.bp-verification-family-item em { padding: 1px 4px; border-radius: 4px; font-style: normal; font-size: 0.66rem; }
.bp-verification-family-item em.linked { color: #93c5fd; background: rgba(59, 130, 246, 0.14); }
.bp-verification-family-item em.verified { color: #86efac; background: rgba(34, 197, 94, 0.13); }
.bp-verification-family-item em.draft { color: #fcd34d; background: rgba(234, 179, 8, 0.13); }
.bp-verification-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.bp-verify-panel { border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; background: rgba(15, 23, 42, 0.42); padding: 15px; margin-bottom: 14px; }
.bp-verify-panel h3 { margin: 5px 0 12px; font-size: 0.96rem; color: var(--text); }
.bp-verify-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.bp-verify-facts div { min-width: 0; }
.bp-verify-facts dt { color: var(--text2); font-size: 0.7rem; margin-bottom: 3px; }
.bp-verify-facts dd { margin: 0; color: var(--text); font-size: 0.82rem; line-height: 1.4; overflow-wrap: anywhere; }
.bp-verify-note { margin: 12px 0 0; color: var(--text2); font-size: 0.75rem; line-height: 1.5; }
.bp-verify-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.bp-verify-checklist h3 { grid-column: 1 / -1; margin-bottom: 0; }
.bp-verify-checklist label { color: var(--text); font-size: 0.82rem; line-height: 1.5; cursor: pointer; }
.bp-verify-checklist input { accent-color: var(--gold); margin-right: 5px; }
.bp-verification-pool-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); gap: 16px; align-items: start; }
.bp-verification-pool-grid > label { display: grid; gap: 7px; color: var(--text); font-size: 0.8rem; }
.bp-verification-pool-grid small { color: var(--text2); font-size: 0.72rem; line-height: 1.5; }
.bp-verification-pool-grid .bp-verify-facts { padding: 10px 0; }
.bp-verification-pool-shared { padding: 11px 13px; border-left: 2px solid var(--gold); background: rgba(234, 179, 8, 0.05); }
.bp-verify-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.bp-verify-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 8px; color: #dbeafe; background: rgba(59, 130, 246, 0.12); font-size: 0.73rem; white-space: nowrap; }
.bp-verify-tag.ban { color: #fecaca; background: rgba(239, 68, 68, 0.12); }
.bp-verify-tag em { color: var(--text2); font-style: normal; }
.bp-process-table { border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 10px; overflow: auto; -ms-overflow-style: none; scrollbar-width: none; }
.bp-process-table::-webkit-scrollbar { display: none; }
.bp-process-head, .bp-process-row { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); min-width: 520px; }
.bp-process-head { color: var(--gold); background: rgba(234, 179, 8, 0.06); font-size: 0.72rem; font-weight: 700; }
.bp-process-head span, .bp-process-row > * { padding: 9px 11px; border-right: 1px solid rgba(148, 163, 184, 0.1); }
.bp-process-head span:last-child, .bp-process-row > *:last-child { border-right: 0; }
.bp-process-row + .bp-process-row > * { border-top: 1px solid rgba(148, 163, 184, 0.1); }
.bp-process-row div { display: block; }
.bp-process-row i { color: var(--dim); font-size: 0.8rem; font-style: normal; }
.bp-process-stage-label { display: block; width: 100%; margin-top: 12px; overflow: hidden; color: var(--gold); font-size: 0.68rem; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.bp-process-stage-label:first-child { margin-top: 0; }
.bp-process-step-row { display: grid; grid-template-columns: 60px 40px minmax(0, 1fr) auto; gap: 7px; align-items: center; width: 100%; min-height: 30px; margin-top: 4px; padding: 5px 7px; border-left: 2px solid rgba(96, 165, 250, 0.45); color: var(--text2); background: rgba(59, 130, 246, 0.055); font-size: 0.72rem; line-height: 1.35; box-sizing: border-box; }
.bp-process-step-row.ban { border-left-color: rgba(248, 113, 113, 0.65); color: #fecaca; background: rgba(248, 113, 113, 0.055); }
.bp-process-step-row b { color: var(--gold); font-size: 0.68rem; white-space: nowrap; }
.bp-process-step-row strong { min-width: 0; overflow: hidden; color: var(--text); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bp-process-step-row em { color: var(--dim); font-size: 0.65rem; font-style: normal; white-space: nowrap; }
.bp-process-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bp-process-editor-heading h3 { margin-bottom: 4px; }
.bp-process-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bp-process-editor { margin-top: 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 8px; overflow: auto; -ms-overflow-style: none; scrollbar-width: none; }
.bp-process-editor::-webkit-scrollbar { display: none; }
.bp-process-edit-head, .bp-process-edit-row { display: grid; grid-template-columns: minmax(120px, 0.9fr) 58px 74px 56px minmax(120px, 1fr) 74px 54px; gap: 7px; align-items: center; padding: 8px 10px; }
.bp-process-edit-head { color: var(--dim); background: rgba(15, 23, 42, 0.72); font-size: 0.7rem; font-weight: 800; }
.bp-process-edit-row { border-top: 1px solid rgba(148, 163, 184, 0.1); }
.bp-process-edit-row input, .bp-process-edit-row select { width: 100%; min-width: 0; height: 32px; padding: 0 7px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; color: var(--text); background: var(--input-bg); font: inherit; font-size: 0.78rem; }
.bp-process-edit-row input:disabled, .bp-process-edit-row select:disabled { opacity: 0.46; cursor: not-allowed; }
.bp-process-edit-row .action-btn { min-height: 32px; padding: 0 7px; }
.bp-process-edit-row .selector-wrap { width: 100%; min-width: 0; max-width: none; }
.bp-process-edit-row .selector-wrap input { height: 32px; padding: 0 7px; font-size: 0.78rem; }
.bp-process-edit-row .selector-dropdown { z-index: 40; }
.bp-process-stage-cell { overflow: hidden; color: var(--text2); font-size: 0.7rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.bp-process-fixed-slot { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 7px; border: 1px solid rgba(234, 179, 8, 0.18); color: var(--gold); background: rgba(234, 179, 8, 0.045); font-size: 0.76rem; }
.bp-process-add-row { width: 100%; margin-top: 9px; justify-content: center; }
.bp-lineup-grid { display: grid; grid-template-columns: 74px repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; padding: 10px 0; border-top: 1px solid rgba(148, 163, 184, 0.1); }
.bp-lineup-grid:first-of-type { border-top: 0; }
.bp-lineup-grid b { padding-bottom: 9px; color: var(--gold); font-size: 0.8rem; }
.bp-lineup-grid label { display: grid; gap: 5px; color: var(--text2); font-size: 0.72rem; }
.bp-lineup-grid input, .bp-verification-modal textarea { width: 100%; box-sizing: border-box; }
.bp-room-score-grid { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bp-room-score-grid label { display: grid; gap: 5px; color: var(--text2); font-size: 0.7rem; }
.bp-room-score-grid input { width: 100%; box-sizing: border-box; }
.bp-verify-warning, .bp-verify-success { margin: 10px 0 0; font-size: 0.78rem; line-height: 1.5; }
.bp-verify-warning { color: #fca5a5; }
.bp-verify-success { color: #86efac; }

@media (max-width: 720px) {
    .bp-verification-family { align-items: flex-start; flex-direction: column; gap: 8px; }
    .bp-verification-columns, .bp-verify-checklist { grid-template-columns: 1fr; }
    .bp-verification-pool-grid { grid-template-columns: 1fr; }
    .bp-lineup-grid { grid-template-columns: 1fr; gap: 7px; }
    .bp-lineup-grid b { padding-bottom: 0; }
    .bp-room-score-grid { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-verify-facts { grid-template-columns: 1fr; }
    .bp-link-compare { grid-template-columns: 1fr; }
    .bp-view-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
    .bp-view-heading > div { min-width: 0; flex: 1 1 220px; }
    .bp-profile-hero > div { min-width: 0; }
    .bp-profile-hero h3, .bp-profile-hero p, .bp-view-heading p { overflow-wrap: anywhere; }
    .bp-player-overview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-player-activity-layout { grid-template-columns: 1fr; }
    .bp-player-activity-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-player-footprint { grid-template-columns: 40px minmax(66px, 0.5fr) minmax(0, 1.5fr) 20px; gap: 6px; }
    .bp-player-footprint-lineups { gap: 3px 5px; }
    .bp-mate-tags span, .bp-mate-tags button, .bp-record-tags > * { max-width: 100%; }
    .bp-mate-tags button { white-space: normal; overflow-wrap: anywhere; text-align: left; }
    .bp-player-detail h3 { line-height: 1.45; }
    .bp-record-summary-item-head { flex-wrap: wrap; }
    .bp-record-summary-item-head .bp-link-status { flex: 0 0 auto; }
    .bp-pool-calibration-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "season" "entries" "note"; }
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.bp-character-drawer { position: fixed; z-index: 5000; left: 16px; width: min(318px, calc(100vw - 32px)); opacity: 0; pointer-events: none; transform: translateX(calc(-100% - 20px)) translateY(-50%); transition: top .28s ease, transform .28s ease, opacity .2s ease; }
.bp-character-drawer.right { right: 16px; left: auto; transform: translateX(calc(100% + 20px)) translateY(-50%); }
.bp-character-drawer.is-visible { opacity: 1; pointer-events: auto; transform: translateX(0) translateY(-50%); }
.bp-character-drawer-card { overflow: hidden; padding: 8px 10px; border: 0; border-radius: 0; background: rgba(10, 16, 30, 0.48); box-shadow: none; backdrop-filter: blur(8px); }
.bp-character-drawer-head { display: flex; align-items: center; gap: 9px; }
.bp-character-drawer-avatar { position: relative; display: grid; flex: 0 0 auto; width: 46px; height: 46px; overflow: hidden; place-items: center; border: 1px solid currentColor; border-radius: 4px; background: rgba(15, 23, 42, 0.5); font-size: 0.8rem; font-weight: 800; }
.bp-character-drawer-avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.bp-character-drawer-summary { min-width: 0; flex: 1; }
.bp-character-drawer-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bp-character-drawer-title h2 { margin: 0; font-size: 1.06rem; line-height: 1.05; white-space: nowrap; }
.bp-character-drawer-title span, .bp-character-drawer-head p { overflow: hidden; color: var(--text2); font-size: 0.62rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.bp-character-drawer-head p { margin: 2px 0 0; color: var(--dim); }
.bp-character-card-metrics { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 0; }
.bp-character-card-metrics > div { display: flex; align-items: baseline; gap: 3px; }
.bp-character-card-metrics dt { color: var(--text2); font-size: 0.62rem; }
.bp-character-card-metrics dd { margin: 0; color: var(--gold); font-size: 0.8rem; font-weight: 800; }
.bp-character-detail-table { margin-top: 21px; }
.bp-character-detail-table h3 { margin-bottom: 10px; color: var(--text); font-size: 1rem; }
.bp-record-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-record-tag { padding: 6px 8px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 4px; color: var(--text2); background: rgba(15, 23, 42, 0.6); font-size: 0.75rem; }
.bp-record-tag.ban { color: #fca5a5; border-color: rgba(248, 113, 113, 0.36); background: rgba(248, 113, 113, 0.08); }
.bp-record-tag.pick { color: #86efac; border-color: rgba(74, 222, 128, 0.36); background: rgba(74, 222, 128, 0.08); }

.bp-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 18px;
    border-left: 2px solid var(--gold);
    color: var(--text2);
    background: rgba(234, 179, 8, 0.05);
    font-size: 0.88rem;
    line-height: 1.6;
}

.bp-notice i { margin-top: 3px; color: var(--gold); }

/* ============================================================
   5. 按钮通用样式
   ============================================================ */
.action-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, #e94560, #c62a47);
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.action-btn:active {
    transform: scale(0.96);
}

.action-btn.secondary {
    background: #1e293b;
    color: #fbbf24 !important;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.action-btn.danger {
    background: #7f1d1d;
}

.action-btn.small {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.action-btn.active {
    background: #fbbf24;
    color: #1e293b !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.page-btn {
    padding: 6px 18px;
    border: 1px solid rgba(234, 179, 8, 0.18);
    border-radius: 6px;
    background: #1e293b;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.page-btn:hover:not(:disabled) {
    border-color: #fbbf24;
    color: #fbbf24;
    background: rgba(234, 179, 8, 0.08);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============================================================
   6. 卡片容器
   ============================================================ */
.card-title {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    cursor: pointer;
    user-select: none;
}

.card-title .title-text {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.card-title .title-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    pointer-events: auto;
    cursor: default;
}

.fold-btn {
    font-size: 1.8rem;
    color: #fbbf24;
    padding: 0 8px;
    cursor: pointer;
}

.fold-btn:hover {
    color: #eab308;
}

/* ============================================================
   7. 筛选栏
   ============================================================ */
.filter-inline {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(234, 179, 8, 0.18);
}

.filter-group {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fbbf24;
}

.filter-group select,
.filter-group input {
    padding: 9px 14px;
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
    font-size: 0.9rem;
    color: #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23eab308" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.filter-group select:hover,
.filter-group input:hover {
    border-color: #fbbf24;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: 0;
    border-color: #eab308;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.3);
}

.filter-group select option {
    background: #0f172a;
    color: #e2e8f0;
}

/* ============================================================
   8. 表格
   ============================================================ */
table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

th, td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(234, 179, 8, 0.18);
    font-size: 1rem;
    vertical-align: middle;
}

/* 维护工具栏含未套 action-btn 的控件；仅限定 notice，不影响业务表单。 */
.workspace-brand { color: var(--gold, #eab308); }
.bp-notice { flex-wrap: wrap; align-items: center; }
.bp-notice a { color: var(--gold, #eab308); text-decoration: none; font-weight: 600; }
.bp-notice button {
    appearance: none; font: inherit; font-weight: 600; color: #e4eaf2;
    background: #152239; border: 1px solid #42536a; border-radius: 6px;
    min-height: 34px; padding: 6px 12px; cursor: pointer;
}
.bp-notice button:hover:not(:disabled) { border-color: #eab308; }
.bp-notice button:disabled { opacity: .45; cursor: not-allowed; }
.bp-notice button:focus-visible, .bp-notice a:focus-visible { outline: 2px solid #eab308; outline-offset: 3px; }
.maintenance-shortcut { margin: 10px auto 0; max-width: 1440px; padding: 8px 18px; }

/* ============================================================
   9. 标签（Tag）
   ============================================================ */
.tag { padding: 3px 10px; display: inline-block; border: 1px solid transparent; white-space: nowrap; }

.tag-stage {
    background: rgba(30, 58, 95, 0.6);
    color: #e2e8f0;
    border-color: rgba(100, 140, 200, 0.35);
}

.tag-status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.4);
}

.tag-status-dormant {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border-color: rgba(100, 116, 139, 0.3);
}

.tag-platform-bilibili {
    background: #fb7299;
    color: #fff;
    border-color: #fb7299;
}

.tag-platform-douyin {
    background: #1e1e1e;
    color: #fff;
    border-color: #333;
}

.tag-platform-huya {
    background: #f57c00;
    color: #fff;
    border-color: #f57c00;
}

.tag-platform-其他 {
    background: rgba(100, 116, 139, 0.3);
    color: #cbd5e1;
}

/* ============================================================
   10. 头像
   ============================================================ */
.table-avatar,
.podium-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #c62a47);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(233, 69, 96, 0.4);
    overflow: hidden;
    flex: 0 0 auto;
}

.table-avatar {
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
}

.podium-avatar {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    margin: 3px 0;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    font-size: 2.5rem;
}

.player-avatar-editor {
    grid-column: 1 / -1;
}

.avatar-edit-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-edit-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.avatar-edit-actions input[type="file"] {
    width: 100%;
    max-width: 320px;
}

.avatar-hint {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

/* ============================================================
   11. 文字颜色工具类
   ============================================================ */
.text-gold {
    color: #fbbf24;
}

.text-green {
    color: #4ade80;
}

.text-red {
    color: #f87171;
}

.text-dim {
    color: #64748b;
}

.text-winrate {
    color: #f87171;
    font-weight: 700;
}
/* 注意：原文件此处有一个多余的花括号，已移除 */

/* ============================================================
   12. 选手数据速查卡片（一字排开，占满整行）
   ============================================================ */
.player-summary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(234, 179, 8, 0.18);
}

.summary-item {
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    min-width: 0;
}

.summary-item .label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.summary-item .value {
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 2px;
}

/* ============================================================
   13. 排行榜三列网格
   ============================================================ */
.rank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rank-col {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid rgba(234, 179, 8, 0.18);
}

.rank-col-title {
    color: #fbbf24;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

/* ============================================================
   14. 领奖台
   ============================================================ */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 4px 8px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid rgba(234, 179, 8, 0.3);
    flex: 0 1 100px;
    min-width: 70px;
}

.podium-gold {
    border-color: #fbbf24;
    background: linear-gradient(145deg, #2a2416, #1f1a0e);
    order: 2;
    transform: scale(1.02);
    height: 200px;
}

.podium-silver {
    border-color: #94a3b8;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    order: 1;
    height: 175px;
}

.podium-bronze {
    border-color: #cd7f32;
    background: linear-gradient(145deg, #2a1f18, #1a1410);
    order: 3;
    height: 150px;
}

.podium-rank {
    font-size: 1.3rem;
    font-weight: 900;
}

.podium-gold .podium-rank {
    color: #fbbf24;
}

.podium-silver .podium-rank {
    color: #cbd5e1;
}

.podium-bronze .podium-rank {
    color: #cd7f32;
}

.podium-name {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.8rem;
}

.podium-score {
    font-weight: 800;
    font-size: 0.95rem;
    margin-top: 2px;
}

.podium-gold .podium-score {
    color: #fbbf24;
}

.podium-silver .podium-score {
    color: #94a3b8;
}

.podium-bronze .podium-score {
    color: #cd7f32;
}

/* ============================================================
   15. ELO 图表区域（左右并排）
   ============================================================ */
.stats-elo-section {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(234, 179, 8, 0.18);
}

.stats-left {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.stat-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-row .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-row .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.2;
}

.stat-row:last-child .stat-value {
    color: #64748b;
}

.elo-chart-wrap {
    flex: 1;
    min-width: 0;
}

.elo-chart-wrap .chart-title {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.elo-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 200px;
    border-bottom: 1px solid rgba(234, 179, 8, 0.25);
}

.elo-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.elo-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, #f43f5e, #fbbf24);
    border-radius: 4px 4px 0 0;
    min-width: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.elo-bar .bar-count {
    position: absolute;
    top: -20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fbbf24;
    white-space: nowrap;
}

.elo-label {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 6px;
    text-align: center;
}

/* ============================================================
   16. 对阵查询大表
   ============================================================ */
.h2h-table-wrap {
    margin: 20px 0;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(234, 179, 8, 0.18);
    overflow-x: auto;
}

.h2h-table-wrap table {
    table-layout: fixed;
    min-width: 500px;
}

.h2h-avatar-cell {
    width: 33.33%;
    padding: 14px 8px;
    vertical-align: middle;
}

.h2h-avatar-cell .big-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e94560, #c62a47);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
    user-select: none;
    overflow: hidden;
}

.h2h-avatar-cell .big-avatar:has(> img) {
    width: 256px;
    height: 256px;
    border-radius: 18px;
}

.h2h-label-cell {
    width: 11.11%;
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(234, 179, 8, 0.04);
    white-space: nowrap;
}

.h2h-value-cell {
    width: 11.11%;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* ============================================================
   17. 记录分割线
   ============================================================ */
.record-divider {
    border-left: 2px solid rgba(234, 179, 8, 0.18);
    border-right: 2px solid rgba(234, 179, 8, 0.18);
}

.record-divider-left {
    border-left: 2px solid rgba(234, 179, 8, 0.18);
}

.record-divider-right {
    border-right: 2px solid rgba(234, 179, 8, 0.18);
}

th.record-divider {
    border-left: 2px solid rgba(234, 179, 8, 0.3);
    border-right: 2px solid rgba(234, 179, 8, 0.3);
}

th.record-divider-left {
    border-left: 2px solid rgba(234, 179, 8, 0.3);
}

th.record-divider-right {
    border-right: 2px solid rgba(234, 179, 8, 0.3);
}

/* ============================================================
   18. 弹窗
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(145deg, #1a2332, #0f172a);
    padding: 32px 35px;
    border-radius: 20px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    width: 90%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.modal-content h2 {
    color: #fbbf24;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(234, 179, 8, 0.18);
    padding-bottom: 12px;
}

.modal-content .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 30px;
}

.modal-content .form-full {
    grid-column: span 2;
}

.modal-content .filter-group input,
.modal-content .filter-group select {
    padding: 10px 14px;
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-content .filter-group input:focus,
.modal-content .filter-group select:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.3);
}

/* ============================================================
   19. 下拉选择器组件（隐藏滚动条）
   ============================================================ */
.selector-wrap {
    position: relative;
    min-width: 150px;
    max-width: 200px;
}

.selector-wrap input {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    text-align: center;
}

.selector-wrap input:focus {
    border-color: #fbbf24;
}

.selector-wrap input::placeholder {
    color: #64748b;
}

.selector-wrap.is-clearable input { padding-right: 32px; }
.selector-clear { position: absolute; z-index: 1; top: 50%; right: 6px; display: grid; width: 22px; height: 22px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: var(--text2); background: transparent; cursor: pointer; font: inherit; font-size: 1rem; line-height: 1; }
.selector-clear:hover, .selector-clear:focus-visible { color: var(--gold); background: rgba(234, 179, 8, 0.12); outline: none; }

.selector-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(20, 30, 50, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 8px;
    z-index: 500;
    padding: 4px 0;
}

.selector-dropdown::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.selector-dropdown .sd-option {
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #e2e8f0;
    text-align: center;
    border-bottom: 1px solid rgba(234, 179, 8, 0.06);
    transition: background 0.15s;
}

.selector-dropdown .sd-option:hover {
    background: rgba(234, 179, 8, 0.15);
    color: #fbbf24;
}

.selector-dropdown .sd-empty {
    padding: 12px 14px;
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
}

/* ============================================================
   20. Toast 提示
   ============================================================ */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e94560;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    z-index: 2000;
    font-weight: 700;
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #dc2626;
}

/* ============================================================
   21. 曾用昵称
   ============================================================ */
.alias-cell {
    font-size: 0.7rem;
    color: #94a3b8;
    max-width: 140px;
    word-break: break-word;
}

.alias-cell .alias-item {
    display: block;
}

/* ============================================================
   22. 底部操作按钮
   ============================================================ */
.footer-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 20px;
}

.footer-actions .action-btn {
    padding: 7px 18px;
    font-size: 0.85rem;
    min-width: 100px;
    justify-content: center;
}

.mode-active {
    border-color: #4ade80 !important;
    color: #4ade80 !important;
    background: rgba(34, 197, 94, 0.08) !important;
}

.mode-all {
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    background: rgba(234, 179, 8, 0.08) !important;
}

/* ============================================================
   23. 行内布局
   ============================================================ */
.h2h-inline,
.quick-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.h2h-inline .selector-wrap,
.quick-inline .selector-wrap {
    flex: 1;
    min-width: 140px;
}

.h2h-inline .action-btn,
.quick-inline .action-btn {
    flex-shrink: 0;
}

/* ============================================================
   24. 选手搜索框
   ============================================================ */
.player-search-input {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 200px;
    text-align: center;
}

.player-search-input::placeholder {
    color: #94a3b8;
    text-align: center;
}

/* ============================================================
   25. 修复样式：统一列宽、固定行高等
   ============================================================ */
/* 25.1 对阵大表 & 速查记录表 7 列宽分配（比例 1:1:1:1:1.5:0.5:1.5） */
.h2h-table-wrap table,
.h2h-table-wrap ~ table,
.player-summary ~ table {
    table-layout: fixed;
    min-width: 520px;
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.h2h-table-wrap table th,
.h2h-table-wrap table td,
.h2h-table-wrap ~ table th,
.h2h-table-wrap ~ table td,
.player-summary ~ table th,
.player-summary ~ table td {
    padding: 9px 6px !important;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.h2h-table-wrap ~ table th,
.player-summary ~ table th {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    background: rgba(15, 23, 42, 0.95);
    text-transform: uppercase;
}

.h2h-table-wrap ~ table tr:hover,
.player-summary ~ table tr:hover {
    background: rgba(234, 179, 8, 0.04);
}

/* 列宽分配：nth-child(1)~ (7) */
.h2h-table-wrap table th:nth-child(1),
.h2h-table-wrap table td:nth-child(1),
.h2h-table-wrap ~ table th:nth-child(1),
.h2h-table-wrap ~ table td:nth-child(1),
.player-summary ~ table th:nth-child(1),
.player-summary ~ table td:nth-child(1) {
    width: 13.33%;
}

.h2h-table-wrap table th:nth-child(2),
.h2h-table-wrap table td:nth-child(2),
.h2h-table-wrap ~ table th:nth-child(2),
.h2h-table-wrap ~ table td:nth-child(2),
.player-summary ~ table th:nth-child(2),
.player-summary ~ table td:nth-child(2) {
    width: 13.33%;
}

.h2h-table-wrap table th:nth-child(3),
.h2h-table-wrap table td:nth-child(3),
.h2h-table-wrap ~ table th:nth-child(3),
.h2h-table-wrap ~ table td:nth-child(3),
.player-summary ~ table th:nth-child(3),
.player-summary ~ table td:nth-child(3) {
    width: 13.33%;
}

.h2h-table-wrap table th:nth-child(4),
.h2h-table-wrap table td:nth-child(4),
.h2h-table-wrap ~ table th:nth-child(4),
.h2h-table-wrap ~ table td:nth-child(4),
.player-summary ~ table th:nth-child(4),
.player-summary ~ table td:nth-child(4) {
    width: 13.33%;
}

.h2h-table-wrap table th:nth-child(5),
.h2h-table-wrap table td:nth-child(5),
.h2h-table-wrap ~ table th:nth-child(5),
.h2h-table-wrap ~ table td:nth-child(5),
.player-summary ~ table th:nth-child(5),
.player-summary ~ table td:nth-child(5) {
    width: 20%;
}

.h2h-table-wrap table th:nth-child(6),
.h2h-table-wrap table td:nth-child(6),
.h2h-table-wrap ~ table th:nth-child(6),
.h2h-table-wrap ~ table td:nth-child(6),
.player-summary ~ table th:nth-child(6),
.player-summary ~ table td:nth-child(6) {
    width: 6.67%;
}

.h2h-table-wrap table th:nth-child(7),
.h2h-table-wrap table td:nth-child(7),
.h2h-table-wrap ~ table th:nth-child(7),
.h2h-table-wrap ~ table td:nth-child(7),
.player-summary ~ table th:nth-child(7),
.player-summary ~ table td:nth-child(7) {
    width: 20%;
}

/* 25.2 排行榜表格平均分配 + 状态列不撑高 */
.rank-col table {
    table-layout: fixed;
}

.rank-col table tr,
.rank-col table tbody tr,
.rank-col table tbody tr td {
    height: 34px !important;
    line-height: 34px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}

.rank-col table thead tr,
.rank-col table thead tr th {
    height: 32px !important;
    line-height: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.rank-col table th,
.rank-col table td {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 0.82rem;
}

.rank-col table th:nth-child(1),
.rank-col table td:nth-child(1) {
    width: 25%;
    text-align: center;
}

.rank-col table th:nth-child(2),
.rank-col table td:nth-child(2) {
    width: 25%;
    text-align: center;
}

.rank-col table th:nth-child(3),
.rank-col table td:nth-child(3) {
    width: 25%;
    text-align: center;
}

.rank-col table th:nth-child(4),
.rank-col table td:nth-child(4) {
    width: 25%;
    text-align: center;
    white-space: nowrap;
}

/* 状态标签不换行、高度固定 */
.rank-col table td:nth-child(4) .tag,
.rank-col table td:nth-child(4) .status-badge {
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
    padding: 2px 8px;
    font-size: 0.7rem;
    vertical-align: middle;
}

/* ============================================================
   26. 响应式布局
   ============================================================ */
@media (max-width: 1024px) {
    th, td {
        padding: 8px 6px;
    }
}

@media (max-width: 900px) {
    .rank-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .filter-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-inline .filter-group input,
    .filter-inline .selector-wrap,
    .filter-inline .filter-group select {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }

    .filter-inline .action-btn {
        width: 100%;
        justify-content: center;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .footer-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-actions .action-btn {
        width: 100%;
        max-width: 220px;
    }
}

@media (max-width: 600px) {
    .modal-content {
        padding: 25px 20px;
    }

    .modal-content .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content .form-full {
        grid-column: span 1;
    }
}

/* 卡片内表格保留垂直居中；尺寸和溢出由后续统一表格规则控制。 */
.card-box tbody td {
    vertical-align: middle !important;
}

/* 4. ★ 曾用昵称改为行内显示（一行排完），超出省略，不换行不撑高 */
.alias-item {
    display: inline !important;
}
.alias-item:not(:last-child)::after {
    content: "·";
    white-space: pre;
}
.alias-cell {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 140px !important;
    line-height: 44px !important;
}

/* 5. 成员列单行省略，不撑高 */
.member-cell {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    max-height: 1.2em !important;
}

/* ============================================================
   27B. 对阵大表行高紧凑（覆盖第27部分通用规则）
   ============================================================ */
.h2h-table-wrap tbody tr,
.h2h-table-wrap tbody td {
    height: 30px !important;
    max-height: 30px !important;
    line-height: 30px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.h2h-table-wrap tbody td {
    vertical-align: middle !important;
}

/* 头像单元格跨行时不受行高约束，使用头像自身高度 */
.h2h-avatar-cell[rowspan="7"] {
    height: auto !important;
    line-height: 1 !important;
}

/* ============================================================
   28. 赛事门户风格覆盖层（仅 index-modern.html 使用）
   与 gsbp.eastfs.cn 首页统一：深色画布、细线框架、金色主强调。
   ============================================================ */
:root {
    --bg: #0a101e;
    --bg2: #0d1422;
    --card: rgba(13, 20, 34, 0.82);
    --solid: #121b2b;
    --input-bg: #0d1524;
    --hover: rgba(234, 179, 8, 0.06);
    --modal-bg: #101827;
    --text: #e5e7eb;
    --text2: #94a3b8;
    --text-primary: #e5e7eb;
    --text-secondary: #94a3b8;
    --dim: #64748b;
    --gold: #eab308;
    --gold-dark: #ca8a04;
    --gold-shadow: rgba(234, 179, 8, 0.16);
    --red: #ef4444;
    --red-shadow: rgba(239, 68, 68, 0.2);
    --green: #4ade80;
    --border: #273247;
    --border-in: #344158;
    --radius: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --shadow: none;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html::-webkit-scrollbar-track { background: #0a101e; }
html::-webkit-scrollbar-thumb { background: #334155; border: 2px solid #0a101e; }

body {
    background: #0a101e;
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
}

.container {
    width: min(100%, 1440px);
    padding: 0 40px 48px;
}

.header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 146px;
    margin: 0 -40px 34px;
    padding: 42px 40px 28px;
    border: 0;
    border-bottom: 1px solid #273247;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.header::before { display: none; }

.header h1 {
    color: #f8fafc;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 1.08;
    text-shadow: none;
}

.header-brand { position: relative; z-index: 1; min-width: 0; }
.header-topline { justify-content: flex-start; margin: 0 0 22px; padding: 0; }
.header-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}
.header-kicker .fa-solid { color: var(--gold); font-size: 0.88rem; }
.header h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; }
.header h1 span { color: #f8fafc; }
.header h1 strong { color: var(--gold); font: inherit; font-size: 0.56em; font-weight: 600; letter-spacing: -0.035em; }
.header h1 .header-version { margin-left: 2px; color: var(--dim); font-size: 0.22em; font-weight: 800; letter-spacing: 0.08em; vertical-align: middle; }
.header-status { position: relative; z-index: 1; display: grid; justify-items: end; gap: 5px; padding-bottom: 4px; text-align: right; }
.header-status-label { color: var(--dim); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em; }
.header-status-line { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-status .workspace-mode { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 0.78rem; letter-spacing: 0.05em; white-space: nowrap; }
.header-status .workspace-mode.editable { color: var(--green); }
.header-status .workspace-mode.readonly { color: var(--text2); }
.header-status .mode-test-toggle { min-height: 28px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 4px; background: rgba(10, 16, 30, 0.56); font-size: 0.68rem; letter-spacing: 0; }
.header-status .mode-test-toggle:hover { border-color: rgba(234, 179, 8, 0.52); color: var(--gold); }
.header-status .mode-test-toggle.editable { border-color: rgba(74, 222, 128, 0.38); color: var(--green); }

.data-status {
    margin: 0;
    padding: 5px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text2);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.data-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}

.data-status.online { color: #eab308; }
.data-status.offline { color: #94a3b8; }

.card-box {
    margin-bottom: 20px;
    padding: 26px 0 0;
    border: 0;
    border-top: 1px solid #273247;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.card-title {
    margin: 0 0 18px;
    padding: 0;
    border-left: 0;
    color: #f8fafc;
    font-size: 1.35rem;
    letter-spacing: -0.025em;
}

.card-title .title-text::before {
    content: '';
    width: 3px;
    height: 1.1em;
    flex: 0 0 auto;
    background: var(--gold);
}

.card-title .title-text > .fa-solid {
    color: #eab308;
    font-size: 0.94em;
}

.fold-btn {
    color: var(--text2);
    font-size: 1rem;
    padding: 4px 0 4px 10px;
}

.fold-btn:hover { color: var(--gold); }
.fold-btn .fa-solid { width: 0.7em; text-align: center; }

.action-btn,
.page-btn {
    min-height: 38px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.action-btn {
    padding: 8px 16px;
    background: #eab308;
    color: #111827;
    text-shadow: none;
}

.action-btn:hover {
    transform: none;
    background: #facc15;
    box-shadow: none;
}

.action-btn:active { transform: none; background: #ca8a04; }

.action-btn.secondary,
.page-btn {
    border: 1px solid #3b485d;
    background: transparent;
    color: #cbd5e1 !important;
}

.action-btn.secondary:hover,
.page-btn:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(234, 179, 8, 0.08);
    color: #fef3c7 !important;
}

.action-btn.danger { background: #7f1d1d; color: #fee2e2; }
.action-btn.danger:hover { background: #991b1b; }

.action-btn.active {
    background: transparent;
    border: 1px solid var(--gold);
    color: #fef3c7 !important;
    box-shadow: none;
}

.filter-inline,
.player-summary,
.rank-col,
.stats-elo-section,
.h2h-table-wrap {
    border: 1px solid #273247;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.42);
    box-shadow: none;
}

.filter-inline {
    justify-content: flex-start;
    gap: 12px;
    padding: 14px;
}

.filter-group { text-align: left; }
.filter-group label,
.rank-col-title,
.elo-chart-wrap .chart-title {
    color: #cbd5e1;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.filter-group select,
.filter-group input,
.selector-wrap input,
.player-search-input {
    min-height: 38px;
    border-color: #3b485d;
    border-radius: 0;
    background-color: #0a101e;
    color: #e5e7eb;
    text-align: left;
}

.filter-group select:focus,
.filter-group input:focus,
.selector-wrap input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.14);
}

.selector-dropdown {
    border-color: #3b485d;
    border-radius: 0;
    background: #101827;
    backdrop-filter: none;
}

.selector-dropdown .sd-option:hover {
    background: rgba(234, 179, 8, 0.1);
    color: #fef3c7;
}

/* 比赛记录的赛事 / 阶段 / 模式筛选，复用 BP 顶部筛选的视觉层级。 */
.data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) {
    align-items: end;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.72);
}
.data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) .filter-group { display: grid; gap: 6px; text-align: left; }
.data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) .filter-group label { margin: 0; color: var(--text2); font-size: 0.78rem; font-weight: 700; letter-spacing: 0; }
.data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) .selector-wrap { width: min(230px, 100%); min-width: 166px; max-width: none; }
.data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) .selector-wrap input { min-height: 40px; padding: 0 10px; border-color: rgba(148, 163, 184, 0.23); border-radius: 5px; background: var(--input-bg); font-size: 0.82rem; }

table { min-height: 0; }

th,
td {
    border-bottom-color: #273247;
    font-size: 0.9rem;
}

th {
    padding: 11px 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

tr:hover { background: rgba(234, 179, 8, 0.035); }

.card-box tbody tr,
.card-box tbody td {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.card-box tbody td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.rank-col table tr,
.rank-col table tbody tr,
.rank-col table tbody tr td {
    height: 40px !important;
    line-height: 1.35 !important;
}

.tag {
    border-radius: 1px;
    font-size: 0.72rem;
    font-weight: 600;
}

.tag-result-win { background: rgba(74, 222, 128, 0.12); color: #86efac; border-color: rgba(74, 222, 128, 0.3); }
.tag-result-lose { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border-color: rgba(248, 113, 113, 0.3); }

.text-gold { color: #facc15; }
.text-green { color: #86efac; }
.text-winrate { color: #fef3c7; }

.player-summary {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0;
    padding: 0;
}

.summary-item {
    padding: 14px 8px;
    border-right: 1px solid #273247;
}

.summary-item:last-child { border-right: 0; }
.summary-item .label { color: #64748b; font-size: 0.68rem; letter-spacing: 0.06em; }
.summary-item .value { color: #e5e7eb; font-size: 1.12rem; }

.rank-grid { gap: 14px; }
.rank-col { padding: 16px; }
.rank-col-title { margin-bottom: 10px; text-align: left; }

.podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 0 0 14px;
}
.podium-item {
    position: relative;
    min-width: 0;
    min-height: 132px;
    height: auto !important;
    padding: 12px 6px 10px;
    border: 1px solid #344158;
    border-top-width: 3px;
    border-radius: 2px;
    background: #101827;
    box-shadow: none;
}
.podium-gold { transform: none; background: #171607; border-top-color: #eab308; }
.podium-silver { background: #111827; border-top-color: #94a3b8; }
.podium-bronze { background: #18120d; border-top-color: #cd7f32; }
.podium .podium-avatar { width: 52px; height: 52px; margin: 6px 0 7px; border-radius: 2px; }
.podium-rank { font-size: 0.74rem; line-height: 1; letter-spacing: 0.06em; }
.podium-name { width: 100%; overflow: hidden; color: #e5e7eb; font-size: 0.8rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.podium-score { margin-top: 4px; font-size: 1rem; font-variant-numeric: tabular-nums; }

.stats-elo-section { gap: 18px; padding: 18px; }
.stat-row .stat-value { color: #facc15; font-size: 1.8rem; }
.elo-chart { border-bottom-color: #3b485d; }
.elo-bar { border-radius: 0; background: #eab308; }
.elo-bar .bar-count { color: #fef3c7; }

.h2h-table-wrap { margin: 16px 0; }
.h2h-label-cell { background: rgba(234, 179, 8, 0.045); color: #cbd5e1; }
.h2h-avatar-cell .big-avatar { border-radius: 2px; box-shadow: none; }
.h2h-avatar-cell .big-avatar:has(> img) {
    width: 512px;
    height: 512px;
    max-width: 100%;
    border-radius: 2px;
}

.table-avatar,
.podium-avatar,
.avatar-preview { border-radius: 2px; box-shadow: none; }

.modal-overlay { background: rgba(3, 7, 18, 0.88); }
.modal-content {
    border-color: #3b485d;
    border-radius: 2px;
    background: #101827;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.modal-content h2 { color: #f8fafc; border-bottom-color: #273247; }

.record-bp-action { white-space: nowrap; }
.record-bp-inline-row > td.record-bp-inline-cell { padding: 0; border-top: 0; background: rgba(3, 7, 18, 0.48); }
.bp-record-summary-inline { width: 100%; padding: 16px 18px 18px; border-top: 3px solid var(--gold); border-bottom: 1px solid #344158; background: linear-gradient(145deg, #131d2d 0%, #101827 52%, #0d1421 100%); }
.bp-record-summary-heading { justify-content: flex-start; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #273247; text-align: left; }
.bp-record-summary-heading > div { text-align: left; }
.bp-record-summary-heading h3 { margin-bottom: 2px; }
.bp-record-summary-heading p { overflow: hidden; margin: 0; color: var(--text2); font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-empty { margin: 0; padding: 15px; border-left: 2px solid var(--dim); background: rgba(148, 163, 184, 0.06); }
.bp-record-summary-matchbar { display: grid; grid-template-columns: 104px minmax(132px, 1fr) minmax(150px, 1.25fr) 74px minmax(150px, 1.25fr); gap: 1px; margin-bottom: 16px; border: 1px solid #344158; background: #344158; }
.bp-record-summary-matchbar > div { display: grid; min-width: 0; gap: 4px; padding: 10px 11px; background: rgba(10, 16, 30, 0.88); }
.bp-record-summary-matchbar span { color: var(--dim); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; }
.bp-record-summary-matchbar b { overflow-wrap: anywhere; color: var(--text); font-size: 0.78rem; line-height: 1.35; }
.bp-record-summary-matchbar small { overflow-wrap: anywhere; color: var(--text2); font-size: 0.68rem; line-height: 1.35; }
.bp-record-summary-score { align-content: center; text-align: center; }
.bp-record-summary-score b { color: var(--gold); font-size: 0.98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-record-summary-item { padding: 10px 12px 12px; border-color: #344158; background: linear-gradient(110deg, rgba(234, 179, 8, 0.045), rgba(15, 23, 42, 0.38) 42%); }
.bp-record-summary-game-head { display: grid; grid-template-columns: minmax(0, 1fr) 144px minmax(0, 1fr); align-items: center; gap: 12px; padding: 4px 0 9px; border-bottom: 1px solid rgba(234, 179, 8, 0.16); }
.bp-record-summary-player { min-width: 0; }
.bp-record-summary-player > span { display: block; margin-bottom: 2px; color: var(--dim); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; }
.bp-record-summary-player h3 { overflow: hidden; margin: 0; color: var(--text); font-size: 0.93rem; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-player.b { text-align: right; }
.bp-record-summary-game-meta { display: grid; justify-items: center; gap: 3px; color: var(--text2); font-size: 0.68rem; text-align: center; }
.bp-record-summary-game-meta > b { color: var(--gold); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-record-summary-stage { margin-top: 9px; padding-top: 8px; border-top: 0; }
.bp-record-summary-stage h4 { margin: 0 0 7px; color: var(--gold); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.35; text-align: center; }
.bp-record-summary-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bp-record-summary-side { min-width: 0; padding: 0; border: 0; background: transparent; }
.bp-record-summary-side-empty { display: block; padding: 14px 0; color: var(--dim); font-size: 0.72rem; text-align: center; }
.bp-record-summary-cards { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); justify-content: center; gap: 6px; }
.bp-record-summary-character-card { position: relative; display: grid; min-width: 0; min-height: 58px; place-items: center; gap: 3px; padding: 4px 1px; border: 1px solid rgba(96, 165, 250, 0.28); border-top: 2px solid rgba(96, 165, 250, 0.74); color: var(--text2); background: rgba(15, 23, 42, 0.56); cursor: pointer; font: inherit; }
.bp-record-summary-character-card.ban { border-color: rgba(248, 113, 113, 0.3); border-top-color: rgba(248, 113, 113, 0.82); }
.bp-record-summary-character-card.pending { opacity: 0.5; cursor: default; }
.bp-record-summary-character-card:not(:disabled):hover { border-color: var(--gold); transform: translateY(-1px); }
.bp-record-summary-character-avatar { position: relative; display: grid; width: 30px; height: 30px; overflow: hidden; place-items: center; border: 1px solid rgba(234, 179, 8, 0.3); border-radius: 3px; color: var(--dim); background: #0a101e; }
.bp-record-summary-character-avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.bp-record-summary-character-card b { width: 100%; overflow: hidden; color: inherit; font-size: 0.6rem; font-weight: 700; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-board { overflow-x: auto; padding: 10px 12px 12px; border-color: #344158; background: linear-gradient(110deg, rgba(234, 179, 8, 0.045), rgba(15, 23, 42, 0.38) 42%); -ms-overflow-style: none; scrollbar-width: none; }
.bp-record-summary-board::-webkit-scrollbar { display: none; }
.bp-record-summary-board-head, .bp-record-summary-board-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); min-width: 760px; gap: 10px; }
.bp-record-summary-board.has-peak-lineup .bp-record-summary-board-head, .bp-record-summary-board.has-peak-lineup .bp-record-summary-board-row { min-width: 1080px; }
.bp-record-summary-board-head { align-items: center; padding: 3px 0 10px; border-bottom: 1px solid rgba(234, 179, 8, 0.2); }
.bp-record-summary-board-player { min-width: 0; }
.bp-record-summary-board-player > span { display: block; color: var(--dim); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; }
.bp-record-summary-board-player h3 { overflow: hidden; margin: 2px 0 0; color: var(--text); font-size: 0.96rem; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-board-player.b { text-align: center; }
.bp-record-summary-board-total { display: grid; justify-items: center; gap: 2px; color: var(--text); font-size: 0.7rem; text-align: center; }
.bp-record-summary-board-total b { color: var(--gold); font-size: 1rem; font-variant-numeric: tabular-nums; }
.bp-record-summary-board-total small { color: var(--dim); font-size: 0.62rem; }
.bp-record-summary-board-row { align-items: stretch; padding: 8px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.bp-record-summary-board-row:last-child { border-bottom: 0; }
.bp-record-summary-board-side { display: grid; align-content: center; gap: 6px; min-width: 0; }
.bp-record-summary-board-center { display: grid; align-content: center; justify-items: center; gap: 4px; min-width: 0; padding: 4px 8px; border-right: 1px solid rgba(148, 163, 184, 0.11); border-left: 1px solid rgba(148, 163, 184, 0.11); color: var(--text); font-size: 0.7rem; text-align: center; }
.bp-record-summary-board-center > b { overflow: hidden; max-width: 100%; color: var(--gold); font-size: 0.7rem; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-board-center > small { overflow: hidden; max-width: 100%; color: var(--text2); font-size: 0.64rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.bp-record-summary-board-center > small.bp-record-summary-evidence { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bp-record-summary-board-row.shared .bp-record-summary-board-center { border-color: transparent; }
.bp-record-summary-card-section { display: flex; justify-content: center; gap: 14px; min-width: 0; }
.bp-record-summary-card-section.ban { display: block; }
.bp-record-summary-card-group { display: grid; justify-items: center; gap: 3px; min-width: 0; }
.bp-record-summary-card-section.peak-lineup { align-items: start; gap: 7px; }
.bp-record-summary-card-group-label { color: var(--dim); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.bp-record-summary-board .bp-record-summary-cards { display: grid; grid-template-columns: repeat(auto-fit, 32px); justify-content: center; max-width: 298px; margin: 0 auto; gap: 5px; }
.bp-record-summary-card-section.lineup .bp-record-summary-cards { grid-template-columns: repeat(4, 32px); max-width: 143px; margin: 0; }
.bp-record-summary-board .bp-record-summary-character-card { width: 32px; min-height: 48px; gap: 2px; padding: 3px 0; }
.bp-record-summary-board .bp-record-summary-character-avatar { width: 22px; height: 22px; }
.bp-record-summary-board .bp-record-summary-character-card b { font-size: 0.52rem; }
.bp-record-summary-pick-origin { position: absolute; top: 1px; right: 1px; z-index: 2; display: grid; width: 13px; height: 13px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 50%; color: #fff; background: #2563eb; font-size: 0.48rem; font-weight: 900; line-height: 1; }
.bp-record-summary-pick-origin.opponent { background: #b91c1c; }
.bp-record-summary-pick-origin.both { color: #1c1917; background: var(--gold); }
.bp-editor-game-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bp-editor-game-readonly { border-color: rgba(74, 222, 128, 0.34); background: rgba(74, 222, 128, 0.035); }
.bp-editor-game-readonly .bp-editor-game-fieldset { opacity: 0.72; }

@media (max-width: 900px) {
    .bp-record-summary-matchbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bp-record-summary-cards { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .bp-process-step-row { grid-template-columns: 58px 36px minmax(0, 1fr); }
    .bp-process-step-row em { display: none; }
    .bp-record-summary-inline { box-sizing: border-box; max-width: calc(100vw - 32px); }
    .bp-record-summary-matchbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-record-summary-matchbar > div { padding: 9px; }
    .bp-record-summary-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .bp-record-summary-character-card { min-height: 54px; padding: 4px 1px; }
    .bp-record-summary-character-avatar { width: 28px; height: 28px; }
}
.bp-role-list-avatar { display: inline-block; width: 26px; height: 26px; margin-right: 7px; vertical-align: middle; border: 1px solid rgba(234, 179, 8, 0.3); border-radius: 4px; object-fit: cover; }
.bp-player-alias-hint, .bp-player-empty-state { margin: 12px 0 0; padding: 10px 12px; border-left: 2px solid var(--gold); color: var(--text2); background: rgba(234, 179, 8, 0.06); font-size: 0.78rem; line-height: 1.55; }
.bp-player-empty-state { border-left-color: var(--dim); background: rgba(148, 163, 184, 0.06); }

.toast { border-radius: 0; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }

@media (max-width: 960px) {
    .container { padding-right: 24px; padding-left: 24px; }
    .header { margin-right: -24px; margin-left: -24px; padding-right: 24px; padding-left: 24px; }
    .player-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .summary-item { border-bottom: 1px solid #273247; }
    .summary-item:nth-child(3n) { border-right: 0; }
    .summary-item:nth-last-child(-n + 3) { border-bottom: 0; }
    .bp-analysis-subnav { width: auto; min-width: 0; flex: 1 1 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .bp-analysis-subnav::-webkit-scrollbar { display: none; }
    .bp-analysis-subnav button { flex: 0 0 auto; padding: 0 9px; }
    .bp-mobile-filter-toggle { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
    .bp-sticky-filters { display: none; width: 100%; align-items: stretch; flex-wrap: wrap; margin-left: 0; padding-top: 2px; }
    .bp-sticky-filters.open { display: flex; }
    .bp-sticky-filter { min-width: min(100%, 220px); flex: 1 1 180px; justify-content: space-between; }
    .bp-sticky-filter select { width: 100%; min-width: 0; }
    .bp-sticky-filter-divider { display: none; }
}

@media (max-width: 640px) {
    :root { --workspace-nav-height: 60px; }

    .container { padding-right: 16px; padding-left: 16px; }
    .header {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        margin-right: -16px;
        margin-left: -16px;
        padding: 28px 16px 20px;
    }
    .header h1 { font-size: 2.05rem; }
    .header-topline { margin-bottom: 20px; }
    .header-kicker { font-size: 0.65rem; }
    .header h1 .header-version { font-size: 0.25em; }
    .bp-record-summary-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 20px 16px; }
    .bp-record-summary-sides { grid-template-columns: 1fr; }
    .header-status { justify-items: start; padding-bottom: 0; text-align: left; }
    .data-status { font-size: 0.72rem; }
    .player-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-item:nth-child(3n) { border-right: 1px solid #273247; }
    .summary-item:nth-child(2n) { border-right: 0; }
    .summary-item:nth-last-child(-n + 3) { border-bottom: 1px solid #273247; }
    .summary-item:nth-last-child(-n + 2) { border-bottom: 0; }
    .h2h-avatar-cell .big-avatar:has(> img) { width: 72px; height: 72px; }
}

/* 对阵原图按 256 × 256 显示；小屏使用紧凑尺寸。 */
.h2h-table-wrap {
    overflow-x: auto;
}

.h2h-table-wrap table {
    width: 960px;
    min-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.h2h-table-wrap table col:nth-child(1),
.h2h-table-wrap table col:nth-child(5),
.h2h-avatar-cell {
    width: 304px !important;
    min-width: 304px !important;
}

.h2h-table-wrap table col:nth-child(2),
.h2h-table-wrap table col:nth-child(3),
.h2h-table-wrap table col:nth-child(4) {
    width: 117px !important;
}

.h2h-avatar-cell .big-avatar:has(> img) {
    width: 256px;
    height: 256px;
    max-width: none;
}

@media (max-width: 640px) {
    .header-topline {
        width: 100%;
        margin: 0 0 16px;
        padding: 0;
    }

    .home-link,
    .workspace-mode { font-size: 0.7rem; }

    .workspace-nav {
        width: 100%;
        gap: 0;
        margin-bottom: 18px;
        padding: 0 12px;
        border-top: 1px solid rgba(148, 163, 184, 0.1);
    }

    .workspace-brand,
    .workspace-tab {
        min-height: 42px;
        padding: 0 6px;
        font-size: 0.82rem;
    }
    .workspace-brand img { width: 78px; height: 42px; }
    .workspace-tab { flex: 0 0 auto; }

    .bp-workspace-intro,
    .data-workspace-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 22px 18px;
    }
    .bp-intro-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; margin-left: 0; }
    .bp-intro-action-buttons { flex-wrap: wrap; }

    .bp-workspace h2, .data-workspace h2 { font-size: 1.6rem; }
    .bp-subnav, .data-subnav { width: 100%; flex-wrap: wrap; }
    .bp-subnav button, .data-subnav button { flex: 1 1 calc(33.333% - 4px); padding: 0 8px; }
    .bp-subnav-row, .data-subnav-row { flex-wrap: wrap; }
    .bp-analysis-subnav { width: auto; min-width: 0; flex: 1 1 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .bp-analysis-subnav::-webkit-scrollbar { display: none; }
    .bp-analysis-subnav button { flex: 0 0 auto; padding: 0 9px; }
    .bp-mobile-filter-toggle { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
    .bp-sticky-filters { display: none; width: 100%; align-items: stretch; flex-wrap: wrap; margin-left: 0; padding-top: 2px; }
    .bp-sticky-filters.open { display: flex; }
    .bp-sticky-filter { min-width: min(100%, 220px); flex: 1 1 180px; justify-content: space-between; }
    .bp-sticky-filter select { width: 100%; min-width: 0; }
    .bp-sticky-filter-divider { display: none; }
    .data-subnav-actions { width: 100%; justify-content: flex-end; margin-left: 0; }
    .data-subnav-actions .action-btn { flex: 0 1 auto; }
    .bp-stage-grid { grid-template-columns: 1fr; }
    .bp-stage-card { min-height: 0; }
    .bp-editor-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-editor-stepper span, .bp-editor-stepper button { min-height: 38px; padding: 7px 8px; font-size: 0.68rem; }
    .bp-editor-selection { grid-template-columns: 1fr; gap: 8px; }
    .bp-editor-empty { grid-column: auto; }
    .bp-editor-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-editor-facts > div:nth-child(3n) { border-right: 1px solid rgba(148, 163, 184, 0.13); }
    .bp-editor-facts > div:nth-child(2n) { border-right: 0; }
    .data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) { align-items: stretch; }
    .data-workspace .filter-inline:not(.h2h-inline):not(.quick-inline):not([style]) .selector-wrap { width: 100%; max-width: none; }
    .bp-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-kpi { min-height: 90px; padding: 14px; }
    .bp-kpi strong { font-size: 1.2rem; }
    .bp-overview-layout { grid-template-columns: 1fr; }
    .bp-chart-head { flex-wrap: wrap; }
    .bp-chart-head h3 { flex: 1 1 100%; }
    .bp-chart-mode-switch { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .bp-chart-mode-switch::-webkit-scrollbar { display: none; }
    .bp-winrate-row { grid-template-columns: 22px 25px minmax(50px, auto) minmax(50px, 1fr) 43px 34px; gap: 5px; }
    .bp-winrate-avatar { width: 25px; height: 25px; }
    .bp-section-heading, .bp-view-heading { align-items: flex-start; flex-direction: column; }
    .bp-view-heading .action-btn, .bp-view-heading .bp-match-toolbar { margin-left: 0; }
    .bp-archive-heading-actions { margin-left: 0; }
    .bp-view-heading .bp-player-search { width: 100%; margin-left: 0; }
    .bp-view-heading .bp-player-search { flex-wrap: wrap; }
    .bp-player-search .selector-wrap { width: auto; flex: 1 1 auto; }
    .bp-process-editor-heading { flex-direction: column; }
    .bp-process-editor-actions { justify-content: flex-start; }
    .bp-process-edit-head { display: none; }
    .bp-process-edit-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-process-edit-row > :nth-child(1), .bp-process-edit-row > :nth-child(5) { grid-column: span 2; }
    .bp-audit-summary, .bp-audit-grid { grid-template-columns: 1fr; }
    .bp-migration-panel-header { display: block; }
    .bp-migration-actions { justify-content: flex-start; margin-top: 12px; }
    .bp-migration-primary { justify-items: start; }
    .bp-migration-action-status { text-align: left; }
    .bp-archive-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bp-character-drawer { left: 10px; width: min(318px, calc(100vw - 20px)); }
    .bp-character-drawer.right { right: 10px; left: auto; }

    .h2h-table-wrap table {
        width: 100%;
        min-width: 500px;
    }

    .h2h-table-wrap table col:nth-child(1),
    .h2h-table-wrap table col:nth-child(5),
    .h2h-avatar-cell {
        width: 33.33% !important;
        min-width: 0 !important;
    }

    .h2h-table-wrap table col:nth-child(2),
    .h2h-table-wrap table col:nth-child(3),
    .h2h-table-wrap table col:nth-child(4) {
        width: 11.11% !important;
    }

    .h2h-avatar-cell .big-avatar:has(> img) {
        width: 72px;
        height: 72px;
    }

    .podium { gap: 6px; }
    .podium-item { min-height: 116px; padding-right: 4px; padding-left: 4px; }
    .podium .podium-avatar { width: 42px; height: 42px; }
    .podium-name { font-size: 0.72rem; }
}

@media (max-width: 640px) {
    .data-subnav-row .data-subnav-actions { width: auto; }
}

/* 12A + 15A-1｜数据中心统一顶部框架与响应式规则 */
.workspace-nav {
    gap: 8px;
    min-height: 64px;
    margin-bottom: 0;
    padding: 0 clamp(16px, 3vw, 48px);
    border-bottom-color: rgba(148, 163, 184, 0.22);
    background: rgba(7, 12, 24, 0.94);
}

.workspace-brand { align-items: center; gap: 10px; margin-right: auto; }
.workspace-brand img { width: 42px; height: 42px; }
.workspace-brand-copy { display: grid; gap: 1px; min-width: 0; color: var(--text); line-height: 1.1; }
.workspace-brand-copy strong { color: var(--cream); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; }
.workspace-brand-copy small { color: var(--dim); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; }
.workspace-tab { min-height: 64px; padding: 0 14px; font-size: 0.82rem; }

.header { min-height: 126px; margin-bottom: 28px; padding-top: 32px; padding-bottom: 24px; border-bottom-color: rgba(148, 163, 184, 0.2); }
.header h1 { gap: 3px 12px; letter-spacing: -0.055em; }
.header h1 strong { font-size: 0.5em; letter-spacing: -0.025em; }
.header-status-line { min-height: 0; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.header-status .data-status { padding: 0 0 0 8px; border-left: 1px solid rgba(148, 163, 184, 0.18); font-size: 0.7rem; }

.bp-workspace-intro,
.data-workspace-intro { min-height: 112px; margin-bottom: 12px; padding: 24px 28px; border-color: rgba(148, 163, 184, 0.17); background: linear-gradient(118deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.62)); }
.bp-workspace h2,
.data-workspace h2 { font-size: 1.82rem; letter-spacing: -0.035em; }
.bp-intro-actions,
.data-intro-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.data-intro-actions .action-btn,
.bp-intro-action-buttons .action-btn { min-height: 34px; white-space: nowrap; }

.bp-subnav-row,
.data-subnav-row { min-height: 50px; margin-bottom: 18px; padding: 8px 2px; border-top: 1px solid rgba(148, 163, 184, 0.1); border-bottom-color: rgba(148, 163, 184, 0.2); background: rgba(8, 13, 25, 0.92); }
.data-analysis-subnav { flex: 0 1 auto; width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; }
.data-analysis-subnav button,
.data-subnav button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 0 11px; white-space: nowrap; }
.data-analysis-subnav button:hover,
.data-analysis-subnav button:focus-visible { border-bottom-color: rgba(234, 179, 8, 0.26); color: var(--cream); outline: none; }
.data-analysis-subnav button.active,
.data-subnav button.active { border-color: transparent; border-bottom-color: var(--gold); color: var(--gold); background: transparent; }

.data-subnav-actions { gap: 7px; }
.data-subnav-actions .action-btn { min-height: 34px; border: 1px solid rgba(148, 163, 184, 0.23); border-radius: 5px; padding: 0 10px; color: var(--text2); background: rgba(15, 23, 42, 0.72); font-size: 0.72rem; white-space: nowrap; }
.data-subnav-actions .action-btn:hover,
.data-subnav-actions .action-btn:focus-visible { border-color: rgba(234, 179, 8, 0.46); color: var(--gold); outline: none; }
.data-subnav-actions .mode-active { border-color: rgba(96, 165, 250, 0.44); color: #bfdbfe; background: rgba(59, 130, 246, 0.12); }

@media (max-width: 960px) {
    .workspace-nav { gap: 4px; }
    .workspace-brand { margin-right: auto; }
    .workspace-tab { padding-right: 10px; padding-left: 10px; }
    .data-subnav-row { flex-wrap: nowrap; gap: 8px; }
    .data-analysis-subnav { display: flex; min-width: 0; flex: 1 1 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .data-analysis-subnav::-webkit-scrollbar { display: none; }
    .data-analysis-subnav button { flex: 0 0 auto; }
    .data-subnav-actions { flex: 0 0 auto; margin-left: 0; }
}

@media (max-width: 640px) {
    .workspace-nav { min-height: 60px; }
    .workspace-brand { gap: 6px; }
    .workspace-brand img { width: 34px; height: 34px; }
    .workspace-brand-copy small { display: none; }
    .workspace-brand-copy strong { font-size: 0.76rem; }
    .workspace-tab { min-height: 60px; padding-right: 7px; padding-left: 7px; font-size: 0.74rem; }
    .header { min-height: 0; margin-bottom: 20px; padding-top: 24px; padding-bottom: 20px; }
    .header-status-line { align-items: flex-start; flex-wrap: wrap; min-height: 0; padding: 7px 0 0; border: 0; border-radius: 0; background: transparent; }
    .header-status .data-status { padding-left: 0; border-left: 0; }
    .bp-workspace-intro,
    .data-workspace-intro { margin-bottom: 10px; padding: 20px 18px; }
    .data-intro-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; margin-left: 0; }
    .data-subnav-row { min-height: 46px; margin-bottom: 14px; }
    .data-analysis-subnav { width: auto; max-width: none; }
    .data-subnav-actions .action-btn { padding-right: 8px; padding-left: 8px; }
}

/* 12A + 15A-2.1｜概览与摘要卡片 */
.player-summary {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.player-summary .summary-item,
.player-summary .summary-item:last-child {
    position: relative;
    display: flex;
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    padding: 15px 14px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23, 32, 51, 0.86), rgba(10, 16, 30, 0.74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    text-align: left;
}

.player-summary .summary-item::before,
.bp-kpi::before,
.bp-player-overview-metrics > div::before,
.bp-player-activity-metrics > div::before,
.bp-character-kpis > div::before,
.bp-audit-summary > div::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: rgba(148, 163, 184, 0.38);
    content: '';
}

.player-summary .summary-item .label {
    color: var(--dim);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.3;
    text-transform: uppercase;
}

.player-summary .summary-item .value {
    display: flex;
    min-height: 1.45em;
    align-items: center;
    margin-top: 0;
    color: var(--text);
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.1;
}

.player-summary .summary-item:has(.text-gold)::before,
.player-summary .summary-item:has(.text-winrate)::before,
.bp-kpi.gold::before,
.bp-character-kpis > div:first-child::before { background: var(--gold); }
.player-summary .summary-item:has(.text-green)::before { background: #4ade80; }

.bp-kpi,
.bp-player-overview-metrics > div,
.bp-player-activity-metrics > div,
.bp-character-kpis > div,
.bp-audit-summary > div {
    position: relative;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.17);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23, 32, 51, 0.84), rgba(10, 16, 30, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bp-kpi {
    min-height: 108px;
    padding: 17px 16px;
}

.bp-kpi strong,
.bp-character-kpis strong,
.bp-audit-summary strong {
    font-variant-numeric: tabular-nums;
}

.bp-kpi span,
.bp-character-kpis span,
.bp-audit-summary span {
    color: var(--dim);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.bp-profile-hero,
.bp-player-overview-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: linear-gradient(130deg, rgba(23, 32, 51, 0.88), rgba(10, 16, 30, 0.76));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bp-profile-hero::before,
.bp-player-overview-card::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    content: '';
}

.bp-player-overview-metrics > div { min-height: 88px; padding: 12px; }
.bp-player-overview-metrics strong { color: #dbeafe; font-size: 1.3rem; }

@media (max-width: 960px) {
    .player-summary { gap: 8px; }
    .player-summary .summary-item,
    .player-summary .summary-item:nth-child(3n),
    .player-summary .summary-item:nth-last-child(-n + 3) { border: 1px solid rgba(148, 163, 184, 0.17); }
}

@media (max-width: 640px) {
    .player-summary { gap: 7px; }
    .player-summary .summary-item,
    .player-summary .summary-item:nth-child(2n),
    .player-summary .summary-item:nth-last-child(-n + 3),
    .player-summary .summary-item:nth-last-child(-n + 2) { min-height: 84px; padding: 12px; border: 1px solid rgba(148, 163, 184, 0.17); }
    .player-summary .summary-item .value { font-size: 1.14rem; }
    .bp-kpi { min-height: 92px; padding: 14px; }
}

/* 速查摘要后的明细表仅在自身容器内横向浏览，避免撑开手机页面。 */
.quick-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.quick-table-wrap::-webkit-scrollbar { display: none; }

/* 12A + 15A-2.2｜筛选、搜索与状态控件 */
.data-workspace .filter-inline {
    align-items: flex-end;
    gap: 12px;
    padding: 15px 16px;
    border-color: rgba(148, 163, 184, 0.19);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(23, 32, 51, 0.76), rgba(10, 16, 30, 0.66));
}

.data-workspace .filter-group {
    gap: 5px;
    min-width: 0;
}

.data-workspace .filter-group label {
    color: var(--dim);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    line-height: 1.3;
}

.data-workspace .filter-group select,
.data-workspace .filter-group input,
.data-workspace .selector-wrap input,
.data-workspace .player-search-input,
.bp-sticky-filter select,
.bp-sticky-player-filter .selector-wrap > input {
    min-height: 36px;
    border-color: rgba(148, 163, 184, 0.27);
    border-radius: 7px;
    background-color: rgba(6, 11, 22, 0.84);
    color: var(--text);
    font-size: 0.78rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.data-workspace .filter-group select:hover,
.data-workspace .filter-group input:hover,
.data-workspace .selector-wrap input:hover,
.bp-sticky-filter select:hover,
.bp-sticky-player-filter .selector-wrap > input:hover {
    border-color: rgba(234, 179, 8, 0.52);
}

.data-workspace .filter-group select:focus,
.data-workspace .filter-group input:focus,
.data-workspace .selector-wrap input:focus,
.bp-sticky-filter select:focus,
.bp-sticky-player-filter .selector-wrap > input:focus {
    border-color: var(--gold);
    background-color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12);
    outline: none;
}

.data-workspace .selector-dropdown,
.bp-sticky-filter .selector-dropdown {
    border-color: rgba(148, 163, 184, 0.26);
    border-radius: 8px;
    background: #101827;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.data-workspace .selector-dropdown .sd-option,
.bp-sticky-filter .selector-dropdown .sd-option {
    padding: 8px 11px;
    color: var(--text2);
    font-size: 0.8rem;
    text-align: left;
}

.data-workspace .selector-dropdown .sd-option:hover,
.bp-sticky-filter .selector-dropdown .sd-option:hover {
    color: var(--cream);
    background: rgba(234, 179, 8, 0.1);
}

.data-workspace .filter-inline .action-btn,
.data-subnav-actions .action-btn {
    min-height: 36px;
    border-radius: 7px;
}

.bp-sticky-filter {
    min-height: 30px;
    gap: 7px;
    padding-left: 4px;
    color: var(--dim);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.bp-sticky-filter select { min-width: 122px; }
.bp-sticky-season-filter select { min-width: 112px; }
.bp-sticky-filter-divider { height: 24px; margin: 0 1px; background: rgba(148, 163, 184, 0.16); }

.bp-sticky-team-scope,
.bp-sticky-clear-player,
.bp-mobile-filter-toggle {
    min-height: 36px;
    border-color: rgba(148, 163, 184, 0.27);
    border-radius: 7px;
    background: rgba(6, 11, 22, 0.72);
}

.bp-sticky-team-scope { color: #ddd6fe; background: rgba(139, 92, 246, 0.1); }
.bp-sticky-clear-player:hover,
.bp-sticky-clear-player:focus-visible,
.bp-mobile-filter-toggle:hover,
.bp-mobile-filter-toggle:focus-visible { border-color: rgba(234, 179, 8, 0.5); color: var(--gold); outline: none; }

.bp-mobile-filter-toggle { padding: 0 10px; }
.bp-mobile-filter-toggle strong { color: var(--gold); }

.bp-role-sortbar {
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.52);
}

.bp-role-sortbar > span,
.bp-role-filter-label {
    color: var(--dim);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.bp-role-sortbar button {
    min-height: 30px;
    border-color: rgba(148, 163, 184, 0.23);
    border-radius: 7px;
    padding: 4px 9px;
    background: rgba(6, 11, 22, 0.6);
    font-size: 0.72rem;
}

.bp-role-sortbar button:hover,
.bp-role-sortbar button.active {
    border-color: rgba(234, 179, 8, 0.52);
    color: var(--gold);
    background: rgba(234, 179, 8, 0.1);
}

/* 12A + 15A-2.3｜赛事与 BP 表格 */
.data-table-wrap,
.quick-table-wrap,
.h2h-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.data-table-wrap::-webkit-scrollbar,
.quick-table-wrap::-webkit-scrollbar,
.h2h-table-wrap::-webkit-scrollbar { display: none; }

.data-table-wrap > table,
.quick-table-wrap > table,
.h2h-table-wrap > table,
.bp-table-wrap > table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

.data-player-table-wrap > table { min-width: 1040px; }
.data-record-table-wrap > table { min-width: 1080px; }
.quick-table-wrap > table { min-width: 720px; }

.data-workspace table thead th,
.bp-table-wrap table thead th {
    padding: 12px 13px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    color: #aebbd0;
    background: rgba(21, 29, 43, 0.9);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    line-height: 1.35;
    text-transform: none;
}

.data-workspace table tbody td,
.bp-table-wrap table tbody td {
    padding: 11px 13px;
    border-bottom-color: rgba(148, 163, 184, 0.13);
    color: var(--text2);
    font-size: 0.82rem;
    line-height: 1.45;
}

.data-workspace table tbody tr:hover > td,
.bp-table-wrap table tbody tr:hover > td {
    background: rgba(234, 179, 8, 0.045);
}

.data-workspace table tbody td.text-gold,
.data-workspace table tbody td.text-green,
.data-workspace table tbody td.text-winrate,
.bp-table-wrap table tbody td strong {
    font-variant-numeric: tabular-nums;
}

.data-workspace .h2h-table-wrap {
    border-color: rgba(148, 163, 184, 0.19);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23, 32, 51, 0.7), rgba(10, 16, 30, 0.56));
}

.data-workspace .h2h-table-wrap tbody td { font-size: 0.76rem; }
.data-workspace .record-divider { border-color: rgba(234, 179, 8, 0.22); }

@media (max-width: 640px) {
    .data-workspace table thead th,
    .bp-table-wrap table thead th { padding: 10px 11px; }
    .data-workspace table tbody td,
    .bp-table-wrap table tbody td { padding: 10px 11px; }
}

@media (max-width: 640px) {
    .data-workspace .filter-inline { gap: 10px; padding: 12px; }
    .data-workspace .filter-inline .filter-group { min-width: min(100%, 150px); flex: 1 1 150px; }
    .data-workspace .quick-inline .selector-wrap { min-width: 0; max-width: none; flex: 1 1 170px; }
    .data-workspace .filter-inline .action-btn { flex: 0 0 auto; }
    .bp-role-sortbar { padding: 8px; }
}

/* 12A + 15A-2.2｜赛事筛选回调：保留赛事区的轻量查询感。 */
.data-workspace .filter-inline {
    gap: 12px;
    padding: 14px;
    border-color: #273247;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.42);
}

.data-workspace .filter-group { gap: 0; }
.data-workspace .filter-group label {
    margin-bottom: 5px;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.data-workspace .filter-group select,
.data-workspace .filter-group input,
.data-workspace .selector-wrap input,
.data-workspace .player-search-input {
    min-height: 38px;
    border-color: #3b485d;
    border-radius: 0;
    background-color: #0a101e;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.data-workspace .filter-group select:hover,
.data-workspace .filter-group input:hover,
.data-workspace .selector-wrap input:hover { border-color: var(--gold); }

.data-workspace .filter-group select:focus,
.data-workspace .filter-group input:focus,
.data-workspace .selector-wrap input:focus {
    border-color: var(--gold);
    background-color: #0a101e;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.14);
}

.data-workspace .selector-dropdown {
    border-color: #3b485d;
    border-radius: 0;
    background: #101827;
    box-shadow: none;
}

.data-workspace .selector-dropdown .sd-option {
    padding: 6px 14px;
    color: #e2e8f0;
    font-size: 0.95rem;
    text-align: center;
}

.data-workspace .selector-dropdown .sd-option:hover {
    color: #fef3c7;
    background: rgba(234, 179, 8, 0.1);
}

.data-workspace .filter-inline .action-btn {
    min-height: 38px;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .data-workspace .filter-inline { gap: 12px; padding: 14px; }
    .data-workspace .filter-inline .filter-group { min-width: 0; flex: 0 1 auto; }
    .data-workspace .quick-inline .selector-wrap { min-width: 150px; max-width: 200px; flex: 0 1 auto; }
    .data-workspace .filter-inline .action-btn { flex: 0 0 auto; }
}

/* 12A + 15A-2.2｜BP 筛选仅保留控件层，不再额外套用面板。 */
.bp-sticky-filters {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 960px) {
    .bp-sticky-filters.open {
        gap: 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
}

/* 12A + 15A-2｜维护操作组与 BP/赛事子导航统一框架。 */
.bp-maintenance-action-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    width: min(100%, 510px);
    min-width: 0;
    text-align: right;
}

.bp-maintenance-action-stack .bp-stage-badge { align-self: flex-end; }

.bp-maintenance-notice {
    display: block;
    max-width: 100%;
    padding-right: 8px;
    border-right: 2px solid rgba(234, 179, 8, 0.62);
    color: var(--text2);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
}

.bp-maintenance-action-stack .bp-intro-action-buttons { align-self: flex-end; }

/* 赛事子页不再保留旧卡片的独立顶线与预留高度，和 BP 首块内容从同一位置开始。 */
.data-workspace > .card-box {
    padding-top: 0;
    border-top: 0;
}

/* 角色统计与选手统计均直接承接子导航的统一下间距。 */
#bp-role-statistics,
.bp-player-archive,
.bp-archive-page,
.bp-match-section,
.bp-editor-page,
.bp-season-config-page { margin-top: 0; }

@media (min-width: 1141px) {
    .bp-subnav-row {
        height: 60px;
        min-height: 60px;
        flex-wrap: nowrap;
        padding-top: 0;
        padding-bottom: 0;
    }

    .bp-sticky-filters { flex-wrap: nowrap; }
}

@media (min-width: 961px) and (max-width: 1140px) {
    .bp-subnav-row {
        height: 60px;
        min-height: 60px;
        flex-wrap: nowrap;
        padding-top: 0;
        padding-bottom: 0;
    }

    .bp-analysis-subnav {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bp-analysis-subnav::-webkit-scrollbar { display: none; }
    .bp-analysis-subnav button { flex: 0 0 auto; padding: 0 9px; }
    .bp-mobile-filter-toggle { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
    .bp-sticky-filters { display: none; width: 100%; align-items: stretch; flex-wrap: wrap; margin-left: 0; }
    .bp-sticky-filters.open { display: flex; }
    .bp-sticky-filter { min-width: min(100%, 220px); flex: 1 1 180px; justify-content: space-between; }
    .bp-sticky-filter select { width: 100%; min-width: 0; }
    .bp-sticky-filter-divider { display: none; }
}

@media (min-width: 961px) {
    .bp-subnav-row,
    .data-subnav-row {
        height: 60px;
        min-height: 60px;
        margin-bottom: 18px;
        padding-top: 0;
        padding-bottom: 0;
        border-top: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .data-subnav-row { flex-wrap: nowrap; }
}

@media (min-width: 961px) and (max-width: 1140px) {
    .bp-subnav-row:has(.bp-sticky-filters.open) {
        height: auto;
        min-height: 60px;
        flex-wrap: wrap;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* 12A + 15A-2.2｜仅保留筛选控件本身，移除两处重复的容器外框。 */
.data-workspace .filter-inline.data-player-archive-filters {
    gap: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bp-role-sortbar:not(.bp-player-sortbar) {
    gap: 8px;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* 选手档案与搜索框同高，仅保留内部排序按钮的边界。 */
.bp-player-sortbar {
    min-height: 38px;
    gap: 8px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* 12A + 15A｜表格内容语义色：保持框架统一，恢复字段的可扫读性。 */
:root {
    --table-semantic-score: #facc15;
    --table-semantic-rate: #fda4af;
    --table-semantic-rating: #86efac;
    --table-semantic-primary: #e5e7eb;
}

.data-workspace table tbody td.text-gold,
.bp-table-wrap table tbody td.text-gold {
    color: var(--table-semantic-score);
    font-weight: 700;
}

.data-workspace table tbody td.text-green,
.bp-table-wrap table tbody td.text-green {
    color: var(--table-semantic-rating);
    font-weight: 700;
}

.data-workspace table tbody td.text-winrate,
.bp-table-wrap table tbody td.text-winrate,
.bp-table-wrap table tbody td.bp-performance-value {
    color: var(--table-semantic-rate);
    font-weight: 700;
}

.data-workspace table tbody td.text-white { color: var(--table-semantic-primary); }

.data-workspace table tbody td.winner-team {
    color: var(--table-semantic-score);
    font-weight: 800;
}
