
/* ===== 升级建议 ===== */
.upgrade-card-v2 { background: linear-gradient(135deg, #eef0ff 0%, #f5f3ff 100%); border: 1px dashed #6366f1; border-radius: 12px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
@media (max-width: 640px) { .upgrade-card-v2 { grid-template-columns: 1fr; text-align: center; } }
.upgrade-icon-v2 { width: 56px; height: 56px; background: linear-gradient(135deg, #0071c5 0%, #4a9fd4 100%); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; margin: 0 auto; }
.upgrade-body-v2 h3 { font-size: 15px; font-weight: 600; color: #14171e; margin-bottom: 6px; }
.upgrade-body-v2 p { font-size: 13px; color: #3a4256; line-height: 1.6; }
.upgrade-body-v2 strong { color: #6366f1; font-weight: 600; }
.upgrade-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .upgrade-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
.upgrade-cell { background: #f1f1f4; border-radius: 8px; padding: 12px; text-align: center; }
.upgrade-cell .k { font-size: 11px; color: #7c7a8a; margin-bottom: 4px; }
.upgrade-cell .v { font-size: 13px; font-weight: 600; color: #10b981; }

/* ===== 历代同系列 CPU 时间线 ===== */
.timeline-wrap { overflow-x: auto; border: 1px solid #e9e9ee; border-radius: 10px; background: #fff; padding: 4px; }
.timeline-table { border-collapse: separate; border-spacing: 0; font-size: 12px; color: #3a4256; table-layout: auto; white-space: nowrap; width: 100%; min-width: 100%; }
.timeline-table th,
.timeline-table td { padding: 8px 10px; border-bottom: 1px solid #f1f1f4; border-right: 1px solid #f1f1f4; vertical-align: top; text-align: left; }
.timeline-table thead th { position: sticky; top: 0; z-index: 3; background: #f1f1f4; font-weight: 600; color: #14171e; min-width: 130px; border-bottom: 2px solid #e9e9ee; }
.timeline-table thead th.tl-corner { position: sticky; left: 0; z-index: 5; background: #ececec; min-width: 96px; width: 96px; font-size: 11px; }
.timeline-table tbody td.tl-row-label { position: sticky; left: 0; z-index: 2; background: #f1f1f4; font-weight: 600; color: #14171e; border-right: 2px solid #e9e9ee; min-width: 96px; width: 96px; }
.timeline-table thead th.tl-col-name { font-size: 12px; }
.timeline-table thead th .tl-arch-name { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.timeline-table thead th .tl-arch-meta { display: block; font-size: 10.5px; color: #7c7a8a; font-weight: normal; font-family: 'JetBrains Mono', monospace; }
.timeline-table thead th .tl-arch-meta .tl-year { background: #eef0ff; color: #6366f1; border-radius: 3px; padding: 0 5px; margin-right: 4px; }
.timeline-table th.tl-current,
.timeline-table td.tl-current { background: #eef0ff !important; border-left: 2px solid #6366f1; border-right: 2px solid #6366f1; }
.timeline-table thead th.tl-current .tl-arch-name { color: #6366f1; font-weight: 700; }
/* 前代列(上游) */
.timeline-table thead th.tl-pre { background: #f4f4f5; color: #7c7a8a; }
.timeline-table thead th.tl-pre .tl-arch-name { color: #7c7a8a; }
.timeline-table tbody td.tl-pre-cell { background: #fafafa; }
/* 后代列(下游) */
.timeline-table thead th.tl-suc { background: #ecfdf5; color: #166534; }
.timeline-table thead th.tl-suc .tl-arch-name { color: #166534; }
.timeline-table thead th.tl-suc .tl-arch-meta .tl-year { background: #d1fae5; color: #166534; }
.timeline-table tbody td.tl-suc-cell { background: #f7fef9; }
.tl-cell-name { display: block; font-size: 12px; color: #0071c5; text-decoration: none; font-weight: 500; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.tl-cell-name:hover { text-decoration: underline; }
.tl-cell-score { display: block; font-size: 10.5px; color: #7c7a8a; font-family: 'JetBrains Mono', monospace; }
.tl-cell-score .v { color: #3a4256; font-weight: 600; }
.tl-cell-empty { color: #d4d4d8; font-size: 14px; text-align: center; padding: 4px 0; }
.timeline-hint { margin-top: 10px; font-size: 11.5px; color: #7c7a8a; line-height: 1.6; }
.timeline-hint code { background: #f1f1f4; padding: 1px 5px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #3a4256; }
@media screen and (max-width: 768px) {
  .timeline-table thead th { min-width: 110px; font-size: 11px; }
  .timeline-table thead th.tl-corner,
  .timeline-table tbody td.tl-row-label { min-width: 72px; width: 72px; }
  .timeline-table { font-size: 11px; }
  .tl-cell-name { font-size: 11px; max-width: 110px; }
}
