/* ========== K线表格专用样式 ========== */
.open-price  { color: #f5b86e; }
.high-price  { color: #a0d6ff; }
.low-price   { color: #ffa79a; }
.close-price { color: #b3f0b0; }
.nowrap      { white-space: nowrap; }

.data-table-base, .data-table, .unified-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-table);
}
.data-table-base th, .data-table th, .unified-table th {
    background: #232333;
    color: #d4d4f0;
    padding: 10px 6px;
    position: sticky;
    top: 0;
}
.data-table-base td, .data-table td, .unified-table td {
    padding: 7px 5px;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
}
.data-table-base td:first-child, .data-table-base th:first-child,
.data-table td:first-child, .data-table th:first-child,
.unified-table td:first-child, .unified-table th:first-child {
    text-align: left;
    padding-left: 12px;
}
.table-wrapper {
    overflow-x: auto;
    max-height: 460px;
    overflow-y: auto;
    border-top: 1px solid #2a2a3a;
}
.unified-table-container {
    background: var(--bg-card);
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}
.period-footer {
    font-size: 11px;
    color: #8a8aaa;
    text-align: right;
    padding: 6px 12px;
    background: #0a0a12;
    border-top: 1px solid var(--border-light);
}
.symbol-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.symbol-header {
    background: var(--bg-header);
    padding: 12px 22px;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 2px solid #3a3a50;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.symbol-name {
    background: #2a2a3f;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 1.1rem;
}
.symbol-badge {
    font-size: 0.7rem;
    background: #1f3a4b;
    padding: 4px 14px;
    border-radius: 30px;
    color: #9bc0e0;
    margin-left: 12px;
}