/** 持续强 / 加速强 / 共振 Tab 卡片（tokens 由 plate_ranking_ui.css 先行 @import） */

/* 连续火爆板块样式 */
.hot-plates-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 连续火爆区：先板块后个股的 AI 选股流程说明 */
.hot-plates-hint-details {
    margin: 0 0 10px 0;
}
.hot-plates-hint-summary {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
    cursor: pointer;
    list-style: none;
    padding: 0;
    user-select: none;
}
.hot-plates-hint-summary::-webkit-details-marker {
    display: none;
}
.hot-plates-hint-summary::before {
    content: '▸ ';
    color: #94a3b8;
    font-size: 0.7rem;
}
.hot-plates-hint-details[open] .hot-plates-hint-summary::before {
    content: '▾ ';
}
.hot-plates-hint-details[open] .hot-plates-hint-summary {
    margin-bottom: 6px;
    color: #475569;
}
.hot-plates-ai-hint {
    font-size: 0.78rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 10px 0;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
}
.hot-plates-ai-hint strong {
    color: #0f766e;
    font-weight: 600;
}

.hot-boards-summary {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.new-force-radar-sub--compact {
    margin-top: 4px;
    color: #64748b;
    font-weight: normal;
    font-size: 0.76rem;
}

.hot-plate-card--selected {
    border-color: #1a56a7;
    box-shadow: 0 4px 14px rgba(26, 86, 167, 0.12);
}

.hot-plate-tag {
    flex-shrink: 0;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.hot-plate-tag--resonance {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.25);
}
.hot-plate-tag--continuous {
    color: #1a56a7;
    background: rgba(26, 86, 167, 0.06);
    border: 1px solid rgba(26, 86, 167, 0.2);
}

.hot-plate-timeline {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
    margin-top: -2px;
}

.hot-plate-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hot-plate-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.hot-plate-card:hover .hot-plate-header-actions,
.hot-plate-card--selected .hot-plate-header-actions,
.hot-plate-card:focus-within .hot-plate-header-actions {
    opacity: 1;
}

.hot-plate-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 0.72rem;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.hot-plate-icon-btn:hover {
    color: #1a56a7;
    border-color: #93c5fd;
    background: #f8fafc;
}

.pr-load-more-footer,
.hot-plates-load-more-footer,
.plate-interval-ranking-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.pr-load-more-meta {
    font-size: 0.72rem;
    line-height: 1.3;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.pr-load-more-btn,
.hot-plates-load-more-btn,
.plate-interval-load-more-btn {
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #1a56a7;
    background: #fff;
    border: 1px solid #1a56a7;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.pr-load-more-btn:hover:not(:disabled),
.hot-plates-load-more-btn:hover:not(:disabled),
.plate-interval-load-more-btn:hover:not(:disabled) {
    background: #1a56a7;
    color: #fff;
}

.pr-load-more-btn:focus-visible,
.hot-plates-load-more-btn:focus-visible,
.plate-interval-load-more-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.pr-load-more-btn:disabled,
.pr-load-more-btn.is-loading,
.hot-plates-load-more-btn:disabled,
.plate-interval-load-more-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.hot-plate-card--compact .mini-chart-container,
.hot-plate-card--compact .mini-chart-container--text {
    display: none;
}

.hot-plates-list-size-section {
    margin-top: 18px;
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
}
.hot-plates-list-size-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    margin-bottom: 10px;
}
.hot-plates-list-size-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}
.hot-plates-list-size-title i {
    margin-right: 6px;
    color: #5b8def;
}
.hot-plates-list-size-hint {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: normal;
}
.hot-plates-list-size-chart {
    width: 100%;
    height: 220px;
    min-height: 180px;
}

.hot-plates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.hot-boards-tabs {
    display: inline-flex;
    gap: 8px;
    margin-top: 4px;
}
.hot-board-tab {
    border: 1px solid #d7dee7;
    background: #f8fafc;
    color: #4b5563;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.hot-board-tab.active {
    background: #1a56a7;
    color: #fff;
    border-color: #1a56a7;
}
.hot-boards-panel {
    display: none;
}
.hot-boards-panel.active {
    display: block;
}

.hot-plate-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}
.hot-plate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #1a56a7;
}
.hot-plate-card-top1 {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 193, 7, 0.05) 100%);
    border-color: rgba(255, 193, 7, 0.25);
}
.hot-plate-card-top1::before { background: linear-gradient(180deg, #ffc107 0%, #e0a800 100%); width: 4px; }
.hot-plate-card-top2 {
    background: linear-gradient(135deg, #fff 0%, rgba(192, 192, 192, 0.05) 100%);
    border-color: rgba(192, 192, 192, 0.3);
}
.hot-plate-card-top2::before { background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%); width: 4px; }
.hot-plate-card-top3 {
    background: linear-gradient(135deg, #fff 0%, rgba(205, 127, 50, 0.05) 100%);
    border-color: rgba(205, 127, 50, 0.25);
}
.hot-plate-card-top3::before { background: linear-gradient(180deg, #cd7f32 0%, #b87333 100%); width: 4px; }
.hot-plate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
/* 已入前 N 但未达原「强火爆」门槛，略弱化以便与强信号区分 */
.hot-plate-card-soft-signal {
    border-style: dashed;
    border-color: #d1d5db;
}
.hot-plate-card-soft-signal::before {
    opacity: 0.45;
}
.hot-plate-watermark {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.07);
    line-height: 1;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}
.hot-plate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.hot-plate-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a56a7;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}
.hot-plate-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.hot-plate-name .hot-plate-badge {
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.hot-plate-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: transparent;
    color: #1a56a7;
    border: 1.5px solid #1a56a7;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-family: 'Roboto Mono', 'SF Mono', 'DIN Alternate', 'Lato', 'Consolas', 'Monaco', monospace;
}
.hot-plate-card-top1 .hot-plate-name .hot-plate-badge,
.hot-plate-card-top1 .hot-plate-badge {
    color: #d4a017;
    border-color: #d4a017;
    background: transparent;
}
.hot-plate-card-top2 .hot-plate-name .hot-plate-badge,
.hot-plate-card-top2 .hot-plate-badge {
    color: #6c757d;
    border-color: #9e9e9e;
    background: transparent;
}
.hot-plate-card-top3 .hot-plate-name .hot-plate-badge,
.hot-plate-card-top3 .hot-plate-badge {
    color: #b87333;
    border-color: #cd7f32;
    background: transparent;
}
.hot-plate-score-badge {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4a017;
    font-variant-numeric: tabular-nums;
    font-family: 'Roboto Mono', 'SF Mono', 'DIN Alternate', 'Lato', 'Consolas', 'Monaco', monospace;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    line-height: 1;
}
.hot-plate-card-top1 .hot-plate-score-badge { color: #c9a227; }
.hot-plate-card-top2 .hot-plate-score-badge { color: #6c757d; }
.hot-plate-card-top3 .hot-plate-score-badge { color: #b87333; }
.hot-plate-metrics-inline {
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    position: relative;
    z-index: 1;
}
.hot-metric-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.hot-metric-inline em {
    font-style: normal;
    font-size: 12px;
    color: #999;
    margin: 0;
}
.hot-metric-inline strong {
    font-weight: 700;
    color: #1a56a7;
    font-family: 'Roboto Mono', 'SF Mono', 'DIN Alternate', 'Lato', 'Consolas', 'Monaco', monospace;
    font-variant-numeric: tabular-nums;
}
.hot-metric-inline strong.hot-metric-high {
    color: #ff6b6b;
}
/* 数字统一使用等宽字体 */
.hot-metric-inline {
    font-variant-numeric: tabular-nums;
}
.hot-metric-number,
.hot-metric-inline strong,
.hot-plate-score-badge {
    font-family: 'Roboto Mono', 'SF Mono', 'DIN Alternate', 'Lato', 'Consolas', 'Monaco', monospace;
    font-variant-numeric: tabular-nums;
}
.hot-metric-sep {
    color: #ccc;
    font-size: 0.75rem;
    user-select: none;
}
.mini-chart-container {
    margin-top: 6px;
    position: relative;
    z-index: 1;
}
.mini-chart-container--text {
    margin-top: 4px;
}
.hot-plate-short-detail {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.45;
}
.mini-chart-bars {
    display: flex;
    align-items: flex-end;
    height: 24px;
    gap: 3px;
    width: 100%;
}
.mini-chart-dates {
    display: flex;
    gap: 3px;
    width: 100%;
    margin-top: 2px;
}
.bar-date-cell {
    flex: 1;
    font-size: 0.55rem;
    color: transparent;
    text-align: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    min-width: 4px;
}
.bar-date-cell.is-visible {
    color: #94a3b8;
}
.bar-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    cursor: default;
    position: relative;
    min-width: 4px;
}
.bar {
    width: 100%;
    min-height: 4px;
    border-radius: 2px 2px 0 0;
    transition: filter 0.2s ease, transform 0.2s ease;
    transform-origin: bottom;
}
.bar-wrapper:hover .bar {
    filter: brightness(0.92);
    transform: scaleY(1.08);
}

