/**
 * 选股中心页面 V7.5 - 科技感简约风格
 * 深色主题 + 霓虹渐变 + glass-morphism
 */

/* ==================== 页面容器 ==================== */
.picker-page-v2 {
    padding: 0;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    min-height: 100vh;
}

/* ==================== 顶部导航 ==================== */
.picker-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 24px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6)); }
    50% { filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.9)); }
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: scale(1.05);
}

/* ==================== 日期选择器 ==================== */
.date-selector {
    padding: 12px 20px;
}

.date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    color: #60A5FA;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-pill:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.hidden-date-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ==================== 统计卡片 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 16px 16px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.stat-glow.grade-s {
    background: radial-gradient(circle, rgba(220, 38, 38, 0.4) 0%, transparent 70%);
}

.stat-glow.grade-a {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
}

.stat-glow.grade-b {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
}

.stat-glow.grade-c {
    background: radial-gradient(circle, rgba(148, 163, 184, 0.15) 0%, transparent 70%);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #F1F5F9;
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}

.stat-value.grade-s { color: #FCA5A5; }
.stat-value.grade-a { color: #FCD34D; }

.stat-label {
    font-size: 12px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trend {
    font-size: 11px;
    margin-top: 4px;
}

/* ==================== 图表区域 ==================== */
.chart-section {
    margin: 0 16px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 16px;
}

.section-header {
    margin-bottom: 12px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #E2E8F0;
    margin: 0;
}

.section-title svg {
    color: #FCD34D;
}

.radar-container {
    height: 200px;
}

/* ==================== 评级标签页 ==================== */
.grade-tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.grade-tab {
    flex: 1;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grade-tab:hover {
    background: rgba(30, 41, 59, 0.8);
}

.grade-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.tab-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.tab-badge.grade-s { background: linear-gradient(135deg, #DC2626, #EF4444); color: #fff; }
.tab-badge.grade-a { background: linear-gradient(135deg, #D97706, #F59E0B); color: #fff; }
.tab-badge.grade-b { background: linear-gradient(135deg, #0284C7, #38BDF8); color: #fff; }
.tab-badge.grade-all { background: rgba(139, 92, 246, 0.6); font-size: 12px; }

.tab-text {
    font-size: 12px;
    font-weight: 500;
}

.tab-count {
    font-size: 11px;
    opacity: 0.7;
}

/* ==================== 信号列表 ==================== */
.signal-list {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grade-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grade-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 8px 12px;
}

.grade-badge-large {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.grade-badge-large.grade-s { background: linear-gradient(135deg, #DC2626, #EF4444); }
.grade-badge-large.grade-a { background: linear-gradient(135deg, #D97706, #F59E0B); }
.grade-badge-large.grade-b { background: linear-gradient(135deg, #0284C7, #38BDF8); }
.grade-badge-large.grade-c { background: linear-gradient(135deg, #6366F1, #8B5CF6); }

.grade-name-large {
    font-size: 14px;
    font-weight: 600;
    color: #E2E8F0;
}

.grade-hint {
    font-size: 11px;
    color: #64748B;
    margin-left: 8px;
    flex: 1;
}

.grade-count {
    font-size: 12px;
    color: #64748B;
    margin-left: auto;
}

.grade-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
}

.grade-items::-webkit-scrollbar {
    width: 6px;
}

.grade-items::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.05);
    border-radius: 3px;
}

.grade-items::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

.grade-items::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.3);
}

/* 信号类型图例 */
.signal-legend {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.legend-title {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 10px;
    font-weight: 500;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #CBD5E1;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-text {
    color: #CBD5E1;
}

/* 数据字段说明 */
.field-hint {
    font-size: 10px;
    color: #64748B;
    margin-top: 4px;
    line-height: 1.4;
}

/* 数据指标展示 - 统一排版 */
.signal-metrics {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    flex-wrap: nowrap;
}

.metric-primary,
.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

/* 分隔符 */
.metric-divider {
    display: flex;
    align-items: center;
    color: rgba(148, 163, 184, 0.3);
    font-size: 16px;
    font-weight: 300;
    padding: 0 2px;
    margin-top: 8px;
}

/* 统一数字字号，使用等宽字体确保对齐 */
.metric-value {
    font-size: 13px;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* 综合评分 - 最大的数字 */
.metric-value.primary {
    font-size: 15px;
    font-weight: 800;
    color: #FCD34D;  /* 金色 */
}

/* Wilson下界 - 统一字号 */
.metric-value.secondary {
    font-size: 13px;
    color: #A78BFA;  /* 紫色 */
}

/* 5日/10日/20日WR - 胜率颜色 */
.metric-value.wr5d {
    color: #34D399;  /* 绿色 */
}
.metric-value.wr10d {
    color: #60A5FA;  /* 蓝色 */
}
.metric-value.wr20d {
    color: #F472B6;  /* 粉色 */
}

/* 样本数 */
.metric-value.samples {
    font-size: 12px;
    color: #94A3B8;
}

/* 统一标签文字字号 */
.metric-label {
    font-size: 9px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    color: #64748B;
    margin-top: 3px;
    text-align: center;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* 字段说明提示 */
.field-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 260px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: none;
}

.signal-card:hover .field-tooltip {
    display: block;
}

.tooltip-title {
    font-size: 12px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.tooltip-row {
    display: flex;
    gap: 10px;
    margin: 5px 0;
    font-size: 11px;
}

.tooltip-key {
    color: #94A3B8;
    min-width: 55px;
    text-align: right;
}

.tooltip-val {
    color: #CBD5E1;
    flex: 1;
}

/* ==================== 信号卡片 ==================== */
.signal-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-left: 3px solid var(--grade-color, #64748B);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.signal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px var(--grade-glow, transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.signal-card:hover {
    transform: translateX(4px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.15);
}

.signal-card:hover::before {
    opacity: 0.5;
}

.signal-left {
    flex: 1;
    min-width: 0;
}

.signal-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.signal-name {
    font-size: 15px;
    font-weight: 600;
    color: #F1F5F9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.signal-code {
    font-size: 12px;
    color: #64748B;
    font-family: monospace;
}

/* 信号ID徽章 */
.signal-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.signal-badge.grade-s {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: #fff;
}

.signal-badge.grade-a {
    background: linear-gradient(135deg, #D97706, #F59E0B);
    color: #fff;
}

.signal-badge.grade-b {
    background: linear-gradient(135deg, #0284C7, #38BDF8);
    color: #fff;
}

.signal-badge.grade-c {
    background: rgba(99, 102, 241, 0.6);
    color: #fff;
}

.signal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.signal-industry {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 4px;
    color: #A5B4FC;
}

.signal-reason {
    font-size: 11px;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.signal-arrow {
    color: #475569;
    transition: all 0.2s ease;
}

.signal-card:hover .signal-arrow {
    color: var(--grade-color, #60A5FA);
    transform: translateX(4px);
}

/* ==================== 加载状态 ==================== */
.signal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #64748B;
    gap: 12px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 空状态 ==================== */
.empty-state,
.empty-grade-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
}

.empty-icon {
    font-size: 48px;
    opacity: 0.5;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #E2E8F0;
}

.empty-desc {
    font-size: 14px;
    color: #64748B;
    max-width: 280px;
}

.empty-grade-state {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 20px 16px;
    border-left: 3px solid #64748B;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.empty-grade-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ==================== 错误状态 ==================== */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
}

.error-icon {
    font-size: 48px;
}

.error-title {
    font-size: 18px;
    font-weight: 600;
    color: #FCA5A5;
}

.error-desc {
    font-size: 14px;
    color: #64748B;
}

.retry-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #3B82F6, #6366F1);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ==================== AI解读面板 ==================== */
.ai-panel {
    margin: 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 16px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ai-title {
    font-size: 15px;
    font-weight: 600;
    color: #E2E8F0;
}

.ai-badge {
    margin-left: auto;
    font-size: 10px;
    padding: 3px 8px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    color: #C4B5FD;
}

.ai-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    margin: 0;
}

.ai-text {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.6;
    margin: 0;
}

.ai-text strong {
    color: #F1F5F9;
}

.ai-sentiment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--sentiment-color, #64748B);
}

.sentiment-label {
    font-size: 12px;
    color: #64748B;
}

.sentiment-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--sentiment-color, #94A3B8);
}

.ai-section.highlight {
    background: rgba(251, 191, 36, 0.05);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.ai-disclaimer {
    font-size: 11px;
    color: #64748B;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ==================== 加载动画 ==================== */
.pulse-dots {
    display: flex;
    gap: 4px;
}

.pulse-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60A5FA;
    animation: pulse-dot 1.4s ease-in-out infinite;
}

.pulse-dots span:nth-child(2) { animation-delay: 0.2s; }
.pulse-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse-dot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.ai-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #64748B;
    font-size: 14px;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .signal-card {
        flex-wrap: wrap;
    }
    
    .signal-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* ==================== 算法说明面板 ==================== */
.algo-panel {
    margin: 16px 0;
    border-left: 3px solid #3B82F6;
}

.algo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.algo-icon {
    font-size: 20px;
}

.algo-title {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
}

.algo-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.algo-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.algo-item {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.algo-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 8px;
}

.algo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.algo-formula {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.1);
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.algo-desc {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.5;
}

/* ==================== 风险提示面板 ==================== */
.risk-panel {
    margin: 16px 0;
    border-left: 3px solid #EF4444;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.risk-icon {
    font-size: 20px;
}

.risk-title {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
}

.risk-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.risk-item {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    padding: 12px;
}

.risk-type {
    font-size: 13px;
    font-weight: 600;
    color: #FCA5A5;
    margin-bottom: 6px;
}

.risk-desc {
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 6px;
}

.risk-strategy {
    font-size: 12px;
    color: #10B981;
    font-weight: 500;
}

/* ==================== 操作建议面板 ==================== */
.ops-panel {
    margin: 16px 0;
    border-left: 3px solid #10B981;
}

.ops-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.ops-icon {
    font-size: 20px;
}

.ops-title {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
}

.ops-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.ops-section {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    padding: 14px;
}

.ops-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #6EE7B7;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(110, 231, 183, 0.2);
}

.ops-item {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* ==================== 执行记录面板 ==================== */
.exec-panel {
    margin: 16px 0;
    border-left: 3px solid #8B5CF6;
}

.exec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.exec-icon {
    font-size: 20px;
}

.exec-title {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
}

.exec-body {
    overflow-x: auto;
}

.exec-table {
    width: 100%;
    border-collapse: collapse;
}

.exec-row {
    display: flex;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.exec-row:last-child {
    border-bottom: none;
}

.exec-row.header {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
}

.exec-col {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    color: #94A3B8;
}

.exec-row.header .exec-col {
    font-weight: 600;
    color: #C4B5FD;
}

.exec-col.status-done {
    color: #10B981;
    font-size: 16px;
}

.pulse-dots.small {
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 20px;
}

.pulse-dots.small span {
    width: 6px;
    height: 6px;
}

/* ==================== 免责声明面板 ==================== */
.disclaimer-panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
}

.disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 12px;
    color: #64748B;
    line-height: 1.6;
}

.disclaimer-text strong {
    color: #94A3B8;
}

/* ==================== V7.9 持有期筛选器 ==================== */
.period-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
}

.period-filter-label {
    font-size: 12px;
    color: #94A3B8;
    white-space: nowrap;
}

.period-tab {
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid #334155;
    background: transparent;
    color: #94A3B8;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.period-tab:hover {
    border-color: #8B5CF6;
    color: #C4B5FD;
}

.period-tab.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    color: #C4B5FD;
    font-weight: 600;
}

/* V7.9 多周期迷你条 */
.metric-period {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

/* V9.2 非交易日回退提示 */
.fallback-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
    border: 1px solid #FDE68A;
}

/* ==================== V9.2 底部面板统一样式 ==================== */
.algo-panel, .risk-panel, .ops-panel, .exec-panel {
    margin: 16px 0;
    background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(15,23,42,0.95)) !important;
    border: 1px solid rgba(148,163,184,0.12) !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.algo-panel { border-left: 3px solid #3B82F6 !important; }
.risk-panel { border-left: 3px solid #EF4444 !important; }
.ops-panel { border-left: 3px solid #10B981 !important; }
.exec-panel { border-left: 3px solid #8B5CF6 !important; }

.algo-header, .risk-header, .ops-header, .exec-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(148,163,184,0.08);
}
.algo-header span, .risk-header span, .ops-header span, .exec-header span {
    font-size: 15px; font-weight: 700; color: #E2E8F0;
}
.algo-body, .risk-body, .ops-body, .exec-body {
    color: #CBD5E1; font-size: 13px; line-height: 1.7;
}
.algo-item-title { color: #E2E8F0 !important; font-weight: 600; }
.algo-desc, .algo-formula { color: #94A3B8 !important; }
.risk-type, .ops-subtitle { color: #F1F5F9 !important; font-weight: 600; font-size: 14px; }
.risk-desc, .ops-item, .risk-strategy { color: #CBD5E1 !important; }

/* V9.2 量子扫描按钮与遮罩 */
.scan-trigger-section {
    text-align: center; margin: 20px 0 12px;
}
.scan-trigger-section .quantum-scan-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; font-size: 16px; font-weight: 700;
    color: #F8FAFC;
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    border: none; border-radius: 12px;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}
.scan-trigger-section .quantum-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(139,92,246,0.5);
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}
.scan-hint {
    margin-top: 8px; font-size: 12px; color: #64748B;
}

/* V9.2 扫描遮罩（固定在视口上部居中） */
.picker-scan-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: rgba(15,23,42,0.94);
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 18vh;
}
.picker-scan-content {
    text-align: center; max-width: 420px; width: 100%; padding: 40px;
}
.scan-ritual-spinner {
    position: relative; width: 80px; height: 80px; margin: 0 auto 24px;
}
.scan-ritual-ring {
    position: absolute; inset: 0;
    border: 2px solid transparent; border-top-color: #8B5CF6;
    border-radius: 50%; animation: scan-ring-spin 1.2s linear infinite;
}
.scan-ritual-ring.delay1 { inset: 8px; border-top-color: #A78BFA; animation-duration: 1.5s; animation-delay: 0.1s; }
.scan-ritual-ring.delay2 { inset: 16px; border-top-color: #C4B5FD; animation-duration: 1.8s; animation-delay: 0.2s; }
.scan-ritual-core {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 24px; animation: scan-core-pulse 2s ease-in-out infinite;
}
@keyframes scan-ring-spin { to { transform: rotate(360deg); } }
@keyframes scan-core-pulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
.scan-ritual-title {
    font-size: 16px; font-weight: 600; color: #C4B5FD; margin-bottom: 16px;
}
.scan-progress-bar {
    height: 4px; background: rgba(148,163,184,0.15);
    border-radius: 2px; margin: 0 auto 20px; max-width: 300px; overflow: hidden;
}
.scan-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #8B5CF6, #7C3AED);
    border-radius: 2px; transition: width 0.4s ease;
}
.scan-steps { text-align: left; max-width: 280px; margin: 0 auto; }
.scan-step {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: 13px; color: #475569;
    transition: color 0.3s;
}
.scan-step.active { color: #C4B5FD; font-weight: 600; }
.scan-step .step-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #334155;
    transition: background 0.3s;
}
.scan-step.active .step-dot { background: #8B5CF6; box-shadow: 0 0 8px rgba(139,92,246,0.6); }

/* V9.2 柱状图容器 */
.bar-chart-container { width: 100%; height: 360px; }

/* V9.2 精简信号卡片 — 三行左右两端对齐 */
.sig-card-top {
    display: flex; flex-direction: column; gap: 10px;
    padding: 14px 16px 8px;
}
/* 每行：左右撑开 */
.sig-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.sig-row-left {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sig-row-right {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
/* 第三行指标：等宽分布 */
.sig-metrics-row {
    gap: 12px; padding: 2px 0;
}
.sgl-grade {
    font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 5px; flex-shrink: 0;
}
.sgl-name { font-size: 15px; font-weight: 700; color: #F1F5F9; white-space: nowrap; flex-shrink: 0; }
.sgl-code {
    font-size: 11px; color: #94A3B8; font-family: monospace; white-space: nowrap; flex-shrink: 0;
}
.sgl-tag {
    font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
    background: rgba(139,92,246,0.15); color: #A78BFA; white-space: nowrap;
}
.sgl-tag.hit {
    background: rgba(16,185,129,0.15); color: #10B981;
}
.sgl-industry {
    font-size: 11px; color: #CBD5E1; background: rgba(148,163,184,0.12);
    padding: 2px 10px; border-radius: 4px; white-space: nowrap; flex-shrink: 0;
}
/* 指标块 */
.sig-metric-block {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 60px; flex: 1;
}
.sig-val { font-size: 16px; font-weight: 700; line-height: 1; }
.sig-lbl { font-size: 10px; color: #94A3B8; font-weight: 500; line-height: 1; }
.sig-mini-bars {
    display: flex; gap: 4px; align-items: flex-end;
    padding: 6px 14px 10px 14px;
    border-top: 1px solid rgba(148,163,184,0.06);
}

/* V9.2 折叠卡片 */
.ai-collapse-card {
    background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.12);
    border-radius: 8px; overflow: hidden;
}
.ai-collapse-header {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; cursor: pointer; user-select: none;
    font-size: 12.5px; font-weight: 700; color: #A5B4FC;
    transition: background 0.2s;
}
.ai-collapse-header:hover { background: rgba(139,92,246,0.08); }
.ai-collapse-arrow { font-size: 10px; transition: transform 0.3s; color: #7C3AED; }
.ai-collapse-header::after {
    content: "点击查看详情 ▸";
    font-size: 11px; font-weight: 400; color: #A5B4FC; opacity: 0.55;
    margin-left: 6px; white-space: nowrap;
}
.ai-collapse-card.open .ai-collapse-header::after {
    content: "点击收起 ▾";
    opacity: 0.4;
}
.ai-collapse-body {
    display: none; padding: 0 12px 12px 12px;
}
.ai-collapse-card.open .ai-collapse-body { display: block; }
.ai-collapse-card.open .ai-collapse-arrow { transform: rotate(180deg); }

/* 底部面板折叠 — 默认折叠时箭头向下▼，expanded 时旋转 */
.algo-panel .algo-body,
.risk-panel .risk-body,
.ops-panel .ops-body,
.exec-panel .exec-body { display: block; }
.algo-panel.collapsed .algo-body,
.risk-panel.collapsed .risk-body,
.ops-panel.collapsed .ops-body,
.exec-panel.collapsed .exec-body { display: none; }
.algo-panel .ai-collapse-arrow,
.risk-panel .ai-collapse-arrow,
.ops-panel .ai-collapse-arrow,
.exec-panel .ai-collapse-arrow { transform: rotate(180deg); transition: transform 0.3s; }
.algo-panel.collapsed .ai-collapse-arrow,
.risk-panel.collapsed .ai-collapse-arrow,
.ops-panel.collapsed .ai-collapse-arrow,
.exec-panel.collapsed .ai-collapse-arrow { transform: rotate(0deg); }
.algo-header.clickable, .risk-header.clickable, .ops-header.clickable, .exec-header.clickable { cursor: pointer; user-select: none; }

/* ══════════════════════════════════════════════
   选股页面 - 移动端响应式专项修复
   原则：字号与首页对齐，图表/卡片竖屏自适应
══════════════════════════════════════════════ */

/* ── 字号基准：统一向首页看齐 ── */
.picker-page-v2 .stat-value {
    font-size: 22px;
}
.picker-page-v2 .brand-text {
    font-size: 16px;
}
.picker-page-v2 .algo-title,
.picker-page-v2 .risk-title,
.picker-page-v2 .ops-title,
.picker-page-v2 .exec-title {
    font-size: 14px;
}
.picker-page-v2 .ai-title {
    font-size: 13px;
}
.picker-page-v2 .sgl-name {
    font-size: 13px;
}
.picker-page-v2 .sig-val {
    font-size: 13px;
}
.picker-page-v2 .sig-lbl {
    font-size: 10px;
}
.picker-page-v2 .sgl-tag {
    font-size: 9px;
}
.picker-page-v2 .ai-text {
    font-size: 12px;
}
.picker-page-v2 .scan-ritual-title {
    font-size: 14px;
}
.picker-page-v2 .grade-badge-large {
    font-size: 14px;
}
.picker-page-v2 .grade-name-large {
    font-size: 13px;
}
.picker-page-v2 .ai-section-title {
    font-size: 12px;
}
.picker-page-v2 .algo-item-title {
    font-size: 12px;
}
.picker-page-v2 .risk-type,
.picker-page-v2 .ops-subtitle {
    font-size: 12px;
}
.picker-page-v2 .exec-col {
    font-size: 11px;
}
.picker-page-v2 .algo-formula,
.picker-page-v2 .algo-desc {
    font-size: 11px;
}
.picker-page-v2 .risk-desc,
.picker-page-v2 .risk-strategy,
.picker-page-v2 .ops-item {
    font-size: 11px;
}
.picker-page-v2 .disclaimer-text {
    font-size: 11px;
}
.picker-page-v2 .ai-disclaimer {
    font-size: 10px;
}
.picker-page-v2 .ai-collapse-header {
    font-size: 11px;
}
.picker-page-v2 .grade-hint,
.picker-page-v2 .grade-count {
    font-size: 10px;
}
.picker-page-v2 .sgl-code {
    font-size: 11px;
}
.picker-page-v2 .sgl-industry {
    font-size: 11px;
}
.picker-page-v2 .tab-count {
    font-size: 10px;
}
.picker-page-v2 .tab-text {
    font-size: 11px;
}
.picker-page-v2 .scan-hint {
    font-size: 11px;
}
.picker-page-v2 .scan-step {
    font-size: 12px;
}

/* 信号卡片底部迷你条：缩小间距 */
.picker-page-v2 .metric-period {
    min-width: 36px;
}
.picker-page-v2 .sig-mini-bars {
    padding: 4px 12px 8px;
}

/* 柱状图容器：竖屏缩小 */
.picker-page-v2 .bar-chart-container {
    height: 240px;
}

/* 持有期筛选器：缩小间距 */
.picker-page-v2 .period-tab {
    padding: 3px 10px;
    font-size: 11px;
}
.picker-page-v2 .period-filter-label {
    font-size: 11px;
}

/* ── 通用移动端适配：平板/大手机 (max-width: 640px) ── */
@media (max-width: 640px) {
    .picker-page-v2 {
        --page-padding: 12px;
    }

    .picker-nav {
        padding: 12px 14px;
    }
    .brand-icon {
        font-size: 20px;
    }

    .date-selector {
        padding: 10px 14px;
    }
    .date-pill {
        padding: 8px 14px;
        font-size: 13px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 12px 12px;
    }
    .stat-card {
        padding: 12px 8px;
    }
    .stat-value {
        font-size: 20px;
    }
    .stat-label {
        font-size: 10px;
    }

    .scan-trigger-section {
        margin: 14px 0 10px;
    }
    .scan-trigger-section .quantum-scan-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    .scan-hint {
        font-size: 10px;
    }

    .chart-section {
        margin: 0 12px 12px;
        padding: 12px;
    }
    .section-title {
        font-size: 13px;
    }
    .bar-chart-container {
        height: 200px;
    }

    .grade-tabs {
        padding: 0 12px 12px;
        gap: 6px;
    }
    .grade-tab {
        min-width: 60px;
        padding: 10px 6px;
    }
    .tab-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .tab-text {
        font-size: 11px;
    }
    .tab-count {
        font-size: 10px;
    }

    .period-filter {
        padding: 8px 12px;
        gap: 6px;
    }

    .signal-list {
        padding: 0 12px;
        gap: 8px;
    }

    .signal-card {
        padding: 10px;
        gap: 8px;
    }
    .sig-card-top {
        padding: 12px 14px 6px;
        gap: 8px;
    }
    .sig-row {
        gap: 8px;
    }
    .sig-row-left {
        gap: 6px;
    }
    .sgl-grade {
        font-size: 11px;
        padding: 2px 6px;
    }
    .sgl-name {
        font-size: 13px;
    }
    .sig-right {
        gap: 10px;
        padding: 0 4px;
    }
    .sig-metric-block {
        min-width: 44px;
    }
    .sig-val {
        font-size: 12px;
    }
    .sig-lbl {
        font-size: 9px;
    }
    .sig-mini-bars {
        padding: 4px 12px 8px;
    }

    .ai-panel {
        margin: 12px;
        padding: 12px;
    }
    .ai-header {
        padding-bottom: 10px;
        margin-bottom: 12px;
    }
    .ai-body {
        gap: 10px;
    }
    .ai-title {
        font-size: 13px;
    }
    .ai-section {
        gap: 4px;
    }
    .ai-section-title {
        font-size: 11px;
    }
    .ai-text {
        font-size: 11px;
        line-height: 1.5;
    }
    .ai-collapse-header {
        font-size: 11px;
    }
    .ai-collapse-body {
        font-size: 10px;
        line-height: 1.6;
    }

    .algo-panel, .risk-panel, .ops-panel, .exec-panel {
        margin: 12px 0;
        padding: 14px 14px !important;
    }
    .algo-header span, .risk-header span, .ops-header span, .exec-header span {
        font-size: 13px;
    }
    .algo-section {
        grid-template-columns: 1fr;
    }
    .risk-body,
    .ops-body {
        grid-template-columns: 1fr;
    }
    .algo-formula {
        font-size: 10px;
    }
    .algo-desc,
    .risk-desc,
    .risk-strategy,
    .ops-item {
        font-size: 10px;
    }
    .algo-item-title {
        font-size: 11px;
    }
    .risk-type,
    .ops-subtitle {
        font-size: 11px;
    }

    .exec-col {
        font-size: 11px;
        padding: 8px;
    }

    .disclaimer-panel {
        margin: 16px 0;
        padding: 12px;
    }
    .disclaimer-text {
        font-size: 10px;
    }

    .promo-card {
        margin: 12px 0;
        padding: 14px;
    }
    .promo-stat-info {
        gap: 2px;
    }
    .promo-stat-val {
        font-size: 16px;
    }
    .promo-stat-label {
        font-size: 10px;
    }
    .promo-desc {
        font-size: 10px;
        line-height: 1.5;
        word-break: keep-all;
    }
    .promo-actions {
        gap: 6px;
    }
    .promo-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
    .promo-footer {
        font-size: 10px;
    }
}

/* ── 窄屏手机 (max-width: 480px) ── */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 0 10px 10px;
    }
    .stat-card {
        padding: 10px 6px;
    }
    .stat-value {
        font-size: 18px;
    }
    .stat-label {
        font-size: 9px;
    }

    .picker-nav {
        padding: 10px 12px;
    }
    .brand-text {
        font-size: 15px;
    }
    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .grade-tabs {
        padding: 0 10px 10px;
        gap: 5px;
    }
    .grade-tab {
        min-width: 54px;
        padding: 8px 5px;
    }

    /* ★ 信号卡片：竖版间距调整 */
    .sig-card-top {
        gap: 8px;
        padding: 12px;
    }
    .sig-row {
        gap: 6px;
    }
    .sig-row-left {
        flex-wrap: wrap;
        gap: 4px;
    }
    .sig-row-right {
        gap: 4px;
    }
    .sig-metrics-row {
        gap: 6px;
    }
    .signal-arrow {
        display: none;  /* 竖屏隐藏箭头，节省空间 */
    }
    .signal-card {
        flex-direction: column;  /* 卡片整体纵向堆叠 */
    }
    .sig-mini-bars {
        padding: 2px 8px 4px;
        flex-wrap: wrap;
        gap: 3px;
    }
    .sig-mini-bars .metric-period {
        min-width: 28px;
        font-size: 8px;
    }
    .sig-mini-bars .mini-bar-wrap {
        height: 3px;
    }
    .sig-metric-block {
        min-width: auto;
        width: auto;
        flex: 1;
        max-width: 80px;
    }
    .sig-val {
        font-size: 13px;
    }
    .sig-lbl {
        font-size: 10px;
    }

    .bar-chart-container {
        height: 180px;
    }

    .ai-panel {
        margin: 10px;
        padding: 10px;
    }
    .ai-body {
        gap: 8px;
    }

    .algo-panel, .risk-panel, .ops-panel, .exec-panel {
        margin: 10px 0;
        padding: 12px !important;
    }
    .algo-header, .risk-header, .ops-header, .exec-header {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .promo-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .promo-stat {
        padding: 6px 4px;
        gap: 4px;
    }
    .promo-stat-icon {
        font-size: 16px;
    }
    .promo-stat-val {
        font-size: 14px;
    }
    .promo-stat-label {
        font-size: 9px;
    }
    .promo-actions {
        flex-direction: column;
    }
    .promo-btn {
        justify-content: center;
    }
}

/* ── 极限窄屏 (max-width: 380px) ── */
@media (max-width: 380px) {
    .stats-grid {
        gap: 5px;
        padding: 0 8px 8px;
    }
    .stat-card {
        padding: 8px 5px;
    }
    .stat-value {
        font-size: 16px;
    }
    .stat-label {
        font-size: 8px;
        letter-spacing: 0;
    }

    .period-filter {
        padding: 6px 10px;
        gap: 5px;
    }
    .period-tab {
        padding: 3px 8px;
        font-size: 10px;
    }

    .signal-card {
        padding: 8px;
    }
    .sig-card-top {
        padding: 8px;
    }
    .sig-mini-bars {
        padding: 3px 8px 6px;
    }
    .metric-period {
        min-width: 30px;
    }
    .sig-metrics-row {
        gap: 6px;
    }
    .sig-metric-block {
        width: auto;
        max-width: 60px;
    }
    .sig-val {
        font-size: 12px;
    }

    .chart-section {
        margin: 0 8px 8px;
        padding: 10px;
    }
    .bar-chart-container {
        height: 150px;
    }
    .section-title {
        font-size: 12px;
    }

    .algo-panel, .risk-panel, .ops-panel, .exec-panel {
        margin: 8px 0;
        padding: 10px !important;
    }

    .promo-card {
        margin: 8px 0;
        padding: 10px;
    }
    .promo-stat-val {
        font-size: 12px;
    }
    .promo-desc {
        font-size: 9px;
        word-break: keep-all;
    }
}

/* ── 极小屏 (max-width: 320px) ── */
@media (max-width: 320px) {
    .stats-grid {
        gap: 4px;
        padding: 0 6px 6px;
    }
    .stat-value {
        font-size: 14px;
    }
    .bar-chart-container {
        height: 120px;
    }
    .grade-tab {
        min-width: 48px;
        padding: 7px 4px;
    }
    .sig-metrics-row {
        gap: 4px;
    }
    .sig-metric-block {
        width: auto;
        max-width: 50px;
    }
}
