/* Clean & Professional Intelligence Board Theme */
:root {
    /* 色彩体系 (剔除所有硬编码颜色) */
    --bg:          #0b1117;
    --bg-soft:     #111820;
    --panel:       #151d28;
    --border:      rgba(145, 170, 190, 0.15);
    --border-hover:rgba(145, 170, 190, 0.3);
    
    --text:        #edf3fa;
    --text-sub:    #8e9bab;
    --text-faint:  #556070; /* 替代所有 #5c6a7d */
    
    --code:        #2dd4a0;
    --mtc:         #8b6fff;
    --blue:        #4d9fff;
    
    /* 字体体系 (修正乱象，中英文分离) */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-num: 'Inter', 'DM Sans', system-ui, sans-serif; /* 专用于数字和英文标识 */
    
    /* 字号阶梯 (仅保留 4 级，消灭 10/11/13px) */
    --text-xl: 24px; /* 仅 Hero 大数字 */
    --text-base: 14px; /* 全局正文、表格 */
    --text-sm: 12px; /* 表头、辅助说明 */
    --text-xs: 11px; /* 极少用的微小标签 */
    
    /* 圆角纪律 (仅 2 种) */
    --radius-sm: 6px;  /* 标签、小按钮 */
    --radius-md: 10px; /* 卡片、大区块 */
    
    /* 间距纪律 (4的倍数原则) */
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 32px;
    
    /* 兼容性变量 */
    --trans:     0.15s ease-out;
    --accent-code: var(--code);
    --accent-mtc: var(--mtc);
    --accent-info: var(--blue);
    --accent-warn: var(--text-faint);
    --text-muted: var(--text-sub);
    --bg-card: var(--panel);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* 强制所有数字使用专用字体并等宽 */
.stat-value, .countdown-value, .col-num, .author-insight-value, 
.insight-indicator, .spotlight-nums b {
    font-family: var(--font-num);
    font-variant-numeric: tabular-nums; /* 解决数字对齐问题 */
}

/* 统一外壳，解决断裂 */
.shell {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 var(--gap-md); /* 统一两侧 16px 留白 */
}

/* 重构 Hero */
.hero {
    padding: var(--gap-lg) var(--gap-lg) var(--gap-md);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: var(--gap-lg);
    margin-bottom: var(--gap-md);
}

.hero-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap-lg);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--gap-xs);
}

.hero-sub {
    font-size: var(--text-sm);
    color: var(--text-sub);
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--gap-sm);
}

.countdown-block { 
    text-align: right; 
    margin-bottom: var(--gap-sm); 
}

.countdown-label { 
    font-size: var(--text-xs); 
    color: var(--text-faint); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}

.countdown-numbers { 
    display: flex; 
    align-items: baseline; 
    gap: 2px; 
    justify-content: flex-end; 
}

.countdown-value { 
    font-size: 36px; 
    font-weight: 700; 
    color: var(--code); 
    text-shadow: 0 0 10px rgba(45, 212, 160, 0.3);
}

.countdown-unit { 
    font-size: var(--text-sm); 
    color: var(--text-sub); 
    margin-right: var(--gap-sm); 
}

/* 扁平化统计条，替代参差不齐的卡片 */
.stats-bar {
    display: flex;
    gap: var(--gap-md);
    padding-top: var(--gap-md);
    border-top: 1px solid var(--border);
}

.stats-item { 
    display: flex; 
    flex-direction: column; 
    gap: var(--gap-xs); 
}

.stats-label { 
    font-size: var(--text-xs); 
    color: var(--text-faint); 
}

.stats-val { 
    font-family: var(--font-num); 
    font-size: 20px; 
    font-weight: 600; 
}

.stats-item.accent .stats-val { 
    color: var(--code); 
}

.stats-item.refresh-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.stats-item.refresh-item .action-btn {
    margin: 0;
}

.action-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-sub);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--text-sm);
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover { 
    border-color: var(--blue); 
    color: var(--blue); 
}

/* Main 区域移除多余 padding */
.main { 
    padding: var(--gap-md) 0 var(--gap-xl); 
}

/* Top Navigation */
.top-nav {
    display: flex;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    overflow-x: auto;
    margin-bottom: var(--gap-md);
}

.nav-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-sub);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--trans);
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-btn.active {
    background: rgba(45,212,160,0.12);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(45,212,160,0.25);
}

@media (max-width: 1080px) {
    .hero-inner { flex-direction: column; }
    .hero-actions { align-items: flex-start; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero { padding: 20px 16px; }
    .hero-stats { grid-template-columns: 1fr; }
    .top-nav { gap: 2px; padding: 4px; }
    .nav-btn { min-width: 100px; padding: 10px 12px; font-size: 13px; }
}

/* 移除所有 blur 和模糊 */
.app { background: var(--bg); }
.header, .countdown, .tabs, .stats-banner, .insight-card, 
.table-wrap, .author-detail, .network-card, .chart-card,
.daily-insight-card, .spotlight-card {
    background: var(--bg-card);
    backdrop-filter: none; /* 移除模糊 */
    border: 1px solid var(--border);
    box-shadow: none; /* 移除阴影 */
}

/* 字体排版 */
.stat-value, .countdown-value, .col-num { font-family: var(--font-mono); }
.section-title { 
    font-family: var(--font-sans); 
    font-size: 12px; 
    letter-spacing: 0.05em; 
    color: var(--text-muted);
}

/* 标签样式统一 */
.tag { 
    font-size: var(--text-xs); 
    padding: 2px 6px; 
    border-radius: var(--radius-sm); 
    font-weight: 600; 
}

.tag-code { 
    background: rgba(45, 212, 160, 0.1); 
    color: var(--code); 
    border: 1px solid rgba(45, 212, 160, 0.2); 
}

.tag-mtc { 
    background: rgba(139, 111, 255, 0.1); 
    color: var(--mtc); 
    border: 1px solid rgba(139, 111, 255, 0.2); 
}

/* 表格样式 */
.table th { background: #18212d; color: var(--text-muted); font-size: 12px; }
.table td { border-bottom: 1px solid var(--border); }

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* App Container */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent-info);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--bg);
    letter-spacing: 0.05em;
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text);
}

.page-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-code);
}

.status-text {
    font-size: 12px;
    color: var(--text-muted);
}

.refresh-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.18s ease-out;
}

.refresh-btn:hover {
    border-color: var(--accent-info);
    color: var(--accent-info);
    background: #18212d;
}

/* Countdown */
.countdown {
    border-bottom: 1px solid var(--border);
}

.countdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.countdown-label {
    font-size: 12px;
    color: var(--text-muted);
}

.countdown-values {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

.countdown-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-info);
}

.countdown-sep {
    color: #5c6a7d;
}

/* Main */
.main {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Tabs */
.tabs {
    display: inline-flex;
    gap: 0;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.18s ease-out;
}

.tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.tab.active {
    background: var(--accent-info);
    color: var(--bg);
    font-weight: 600;
}

/* Stats Banner (Overview) */
.stats-banner {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 6px;
    flex-wrap: wrap;
}

.stats-banner .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-banner .stat-label {
    font-size: 11px;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-banner .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

/* Insight Cards (Overview) */
.insight-cards, .daily-insights, .network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    align-items: stretch; /* 强制等高 */
    margin-bottom: var(--gap-lg);
}

.insight-card, .daily-insight-card, .network-card {
    padding: var(--gap-md);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: 0.15s;
    cursor: pointer; /* 暗示可点 */
}

.insight-card:hover, .network-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px); /* 微动效 */
}

.insight-label {
    font-size: var(--text-xs);
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--gap-xs);
}

.insight-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--gap-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insight-meta {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-sm);
    flex-wrap: wrap;
}

.insight-tag, .top-tag { 
    padding: 3px 8px; 
    border-radius: var(--radius-sm); 
    font-size: var(--text-xs); 
    font-weight: 600;
}

.insight-tag.code, .top-tag.code { 
    background: rgba(45,212,160,0.12); 
    color: var(--code); 
}

.insight-tag.mtc, .top-tag.mtc { 
    background: rgba(139,111,255,0.12); 
    color: var(--mtc); 
}

.insight-value {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.insight-indicator {
    font-size: var(--text-sm);
    color: var(--code);
    font-weight: 500;
}

/* Track Temperature (Overview) */
.track-temp {
    border-radius: 6px;
    padding: 16px;
}

.track-temp-label {
    font-size: 11px;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.track-temp-bar {
    display: flex;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #0b0f14;
}

.track-temp-code {
    background: var(--code);
    transition: width 0.3s ease-out;
}

.track-temp-mtc {
    background: var(--mtc);
    transition: width 0.3s ease-out;
}

.track-temp-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

/* Controls */
.controls {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-label {
    font-size: 12px;
    color: var(--text-muted);
}

.control-buttons {
    display: flex;
    gap: 0;
    background: var(--bg-card);
    padding: 3px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.control-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.18s ease-out;
}

.control-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.control-btn.active {
    background: var(--accent-info);
    color: var(--bg);
    font-weight: 600;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Title */
.section-title {
    margin-bottom: 12px;
}

/* Table Section */
.table-section {
    margin-bottom: 24px;
}

.table-wrap { 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    border: 1px solid var(--border);
    overflow-x: auto; /* 始终允许横向滚动 */
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
    table-layout: fixed;
}

.table tr {
    display: table-row;
}

.table th { 
    padding: 12px 16px; /* 统一间距 */
    text-align: left; 
    font-size: var(--text-sm); 
    font-weight: 600; 
    color: var(--text-faint); 
    background: var(--bg-soft); 
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.table td { 
    padding: 14px 16px; /* 增加呼吸感 */ 
    border-bottom: 1px solid var(--border); 
}

.table tbody tr:last-child td { 
    border-bottom: none; 
}

.table tbody tr:hover { 
    background: rgba(255,255,255,0.03); 
}

/* 数字列右对齐且等宽 */
.col-rank {
    width: 50px;
    color: var(--text-muted);
    font-family: var(--font-num);
    font-weight: 600;
}

.col-title {
    width: 150px;
    min-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-author {
    width: 150px;
    min-width: 150px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-track {
    width: 120px;
    min-width: 120px;
    white-space: nowrap;
}

.col-num { 
    width: 80px;
    min-width: 80px;
    text-align: right; 
    font-family: var(--font-num);
    font-weight: 600;
}

.col-mark {
    width: 60px;
    min-width: 60px;
    text-align: center;
}

.col-date {
    width: 100px;
    min-width: 100px;
    color: var(--text-muted);
    font-family: var(--font-num);
}

.loading {
    text-align: center;
    padding: 40px !important;
    color: #5c6a7d;
}

/* Author Layout */
.author-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--gap-md);
    align-items: start;
}

.author-detail {
    padding: var(--gap-md);
    height: fit-content;
    position: sticky;
    top: 120px;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--border);
}

.author-detail-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--bg);
    background: var(--accent-info);
}

.author-detail-info {
    flex: 1;
    min-width: 0;
}

.author-detail-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.author-detail-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.author-detail-rank,
.author-detail-track,
.author-detail-category {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #0b0f14;
    color: var(--text-muted);
}

/* Author Insights */
.author-insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.author-insight {
    background: #0b0f14;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: 0.18s ease-out;
}

.author-insight:hover {
    border-color: #2e3d52;
}

.author-insight-label {
    font-size: 11px;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.author-insight-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Mini Network */
.mini-network {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mini-network-title {
    font-size: 11px;
    font-weight: 600;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.mini-network-section {
    margin-bottom: 12px;
}

.mini-network-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mini-network-list {
    font-size: 12px;
    color: var(--text);
}

/* Author Works */
.author-works-title {
    font-size: 11px;
    font-weight: 600;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.author-works-list {
    font-size: 12px;
    color: var(--text-muted);
}

.author-work-item {
    padding: 8px 0;
    border-bottom: 1px solid #1a2330;
    transition: 0.18s ease-out;
}

.author-work-item:hover {
    background: rgba(59, 130, 246, 0.05);
    padding-left: 8px;
}

.author-work-item:last-child {
    border-bottom: none;
}

.author-work-title {
    color: var(--text);
    margin-bottom: 4px;
}

.author-work-meta {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 11px;
}

/* Network */
.network-note {
    margin-bottom: 16px;
}

.network-note-text {
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: inline-block;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.network-card {
    padding: 16px;
    border-radius: 6px;
    transition: 0.18s ease-out;
}

.network-card:hover {
    border-color: #2e3d52;
    background: #18212d;
}

.network-card-title {
    font-size: 11px;
    font-weight: 600;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.network-list {
    font-size: 12px;
    color: var(--text);
}

.network-item {
    padding: 8px 0;
    border-bottom: 1px solid #1a2330;
    transition: 0.18s ease-out;
}

.network-item:hover {
    padding-left: 8px;
}

.network-item:last-child {
    border-bottom: none;
}

/* Daily */
.daily-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.daily-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.18s ease-out;
}

.daily-btn:hover {
    border-color: var(--accent-info);
    color: var(--accent-info);
}

.daily-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.daily-note {
    margin-bottom: 16px;
}

.daily-note-text {
    font-size: 11px;
    color: var(--text-muted);
}

/* Daily Insights */
.daily-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.daily-insight-card {
    padding: 16px;
    border-radius: 6px;
    transition: 0.18s ease-out;
}

.daily-insight-card:hover {
    border-color: #2e3d52;
    background: #18212d;
}

.daily-insight-label {
    font-size: 11px;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.daily-insight-content {
    font-size: 13px;
    color: var(--text);
}

/* Spotlight */
.spotlight {
    margin-bottom: 24px;
}

.spotlight-label {
    font-size: 11px;
    font-weight: 600;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.spotlight-card {
    padding: 20px;
    border-radius: 6px;
    transition: 0.18s ease-out;
}

.spotlight-card:hover {
    border-color: #2e3d52;
    background: #18212d;
}

.spotlight-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}

.spotlight-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.spotlight-nums {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.spotlight-nums b {
    color: var(--text);
    font-weight: 500;
}

.spotlight-author {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.chart-card {
    padding: 16px;
    border-radius: 6px;
}

.chart-card.full {
    grid-column: 1 / -1;
}

.chart-title {
    font-size: 11px;
    font-weight: 600;
    color: #5c6a7d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.chart {
    height: 280px;
    width: 100%;
}

/* Tags */
.top-tag {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-tag.code {
    background: rgba(45, 212, 160, 0.12);
    color: var(--code);
}

.top-tag.mtc {
    background: rgba(139, 111, 255, 0.12);
    color: var(--mtc);
}

.top-category {
    padding: 3px 8px;
    background: #0b0f14;
    border-radius: 3px;
    font-size: 10px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.footer-text, .footer-source {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 12px;
    color: #5c6a7d;
    display: flex;
    justify-content: space-between;
}

/* Undervalued Mark */
.undervalued-mark {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(139, 111, 255, 0.15);
    color: var(--mtc);
}

/* ECharts 美化 - 减少辅助线条 */
.echarts-tooltip {
    background: rgba(17, 23, 33, 0.9) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    color: var(--text) !important;
}

/* Responsive */
@media (max-width: 1080px) {
    .insight-cards,
    .charts-grid,
    .daily-insights,
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .author-layout {
        grid-template-columns: 1fr;
    }
    
    .author-detail {
        position: static;
    }
}

@media (max-width: 860px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .table-wrap {
        overflow-x: auto;
    }
    
    .controls {
        flex-direction: column;
        gap: 12px;
    }
    
    .stats-banner {
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .main {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .tabs {
        overflow-x: auto;
        max-width: 100%;
    }
}
