/* OI Chronos 公共样式 */

.hero-section {
    background: linear-gradient(135deg, #206bc4 0%, #4299e1 100%);
    color: #fff;
    padding: 3rem 0;
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-hero {
    background: linear-gradient(135deg, #206bc4 0%, #7c3aed 100%);
    color: #fff;
    padding: 2.5rem 0;
}

.search-hero {
    background: linear-gradient(135deg, #206bc4 0%, #7c3aed 100%);
    color: #fff;
    padding: 2.5rem 0;
}

.analysis-card {
    transition: transform .15s, box-shadow .15s;
    border: 1px solid #e6e8eb;
}

.analysis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-purple { background: #f3f0ff; color: #7c3aed; }
.icon-green { background: #ecfaf1; color: #2fb344; }
.icon-red { background: #fff1f0; color: #d63939; }
.icon-blue { background: #e6f7ff; color: #206bc4; }
.icon-gold { background: #fff8e6; color: #f59f00; }

.badge-tag {
    font-size: 0.75rem;
    padding: 0.15em 0.6em;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.player-card {
    border-left: 4px solid #206bc4;
}

.stat-card {
    transition: transform .15s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.oier-name {
    color: #206bc4;
    text-decoration: none;
    cursor: pointer;
}

.oier-name:hover {
    text-decoration: underline;
}

.threat-table th {
    white-space: nowrap;
}

.grade-cell {
    min-width: 110px;
}

.border-gold { border-top: 4px solid #f59f00; }
.border-silver { border-top: 4px solid #adb5bd; }
.border-bronze { border-top: 4px solid #b07030; }

.pct-excellent { color: #2fb344; font-weight: 700; }
.pct-good { color: #206bc4; font-weight: 600; }
.pct-mid { color: #f59f00; font-weight: 600; }
.pct-bad { color: #d63939; font-weight: 600; }

.filter-btn.active {
    background-color: #206bc4 !important;
    color: #fff !important;
    border-color: #206bc4 !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* 江苏分析宽表 sticky 列 */
.jiangsu-responsive {
    overflow: auto;
}

.jiangsu-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #fff !important;
}

.jiangsu-table thead th.sticky-col,
.jiangsu-table tbody td.sticky-col {
    position: sticky;
    background-color: #fff !important;
    z-index: 10;
}

.jiangsu-table thead th.sticky-col {
    z-index: 15;
}

.jiangsu-table .sticky-col-1 { left: 0; min-width: 120px; width: 120px; max-width: 120px; }
.jiangsu-table .sticky-col-2 { left: 120px; min-width: 80px; width: 80px; max-width: 80px; }
.jiangsu-table .sticky-col-3 { left: 200px; min-width: 220px; width: 220px; max-width: 220px; }
.jiangsu-table .sticky-col-4 { left: 420px; min-width: 80px; width: 80px; max-width: 80px; }

.table-responsive .table-wide {
    white-space: nowrap;
}

.jiangsu-table tbody tr.extra-player-row,
.jiangsu-table tbody tr.extra-player-row td {
    background-color: #e6f7ff !important;
}

.jiangsu-table tbody tr.extra-player-row td.sticky-col {
    background-color: #e6f7ff !important;
}

/* 搜索候选列表 */
.search-candidates {
    max-height: 360px;
    overflow-y: auto;
}

/* ApexCharts 容器最小高度，避免加载时塌陷 */
.apex-chart {
    min-height: 360px;
}
