
/* ===== 升级建议 ===== */
.gl-upgrade-card { 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; gap: 20px; align-items: center; }
@media (max-width: 640px) { .gl-upgrade-card { grid-template-columns: 1fr; text-align: center; } }
.gl-upgrade-icon { 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; }
.gl-upgrade-body h3 { font-size: 15px; font-weight: 600; color: #14171e; margin-bottom: 6px; }
.gl-upgrade-body p { font-size: 13px; color: #3a4256; line-height: 1.6; margin: 0; }
.gl-upgrade-body strong { color: #6366f1; font-weight: 600; }
/* 人工价标签 —— 与 hero 的 .price-tag.tag-manual 视觉保持一致 */
.gl-price-manual { display: inline-block; font-style: normal; font-size: 11px; color: #c2410c; background: #fff3e8; padding: 2px 6px; border-radius: 4px; margin-left: 4px; font-weight: 500; vertical-align: middle; }
.gl-upgrade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .gl-upgrade-grid { grid-template-columns: repeat(2, 1fr); } }
.gl-upgrade-cell { border-radius: 8px; padding: 12px; text-align: center; }
.gl-upgrade-cell .k { font-size: 11px; color: #7c7a8a; margin-bottom: 4px; }
.gl-upgrade-cell .v { font-size: 13px; font-weight: 600; color: #10b981; }
.gl-upgrade-cell .v.neg { color: #8a8a99; }

/* ===== 历代同架构 GPU 时间线 · 纵向时间轴(2026-11-16 照 CPU 版重做)=====
   旧版是整格网格线 + 灰 sticky 角 + 横向滚动条:实测内容 956px 挤在 674px 的正文栏里,
   右侧列被切掉一半,得横着拖才看得到后面的架构。
   新版一代一行:左侧竖线串年代,右侧各档位的卡横排,无横向滚动,手机端也友好。
   视觉规格与 cpu/view/newindex/timeline.html 的 .tlt-* 完全一致(类名独立,避免两页互相污染)。 */
.glt-vtl { position: relative; padding-left: 30px; }
.glt-vtl::before {
    content: ''; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px;
    background: linear-gradient(180deg, #c9bcfa 0%, #e8e8f0 100%);
}
.glt-row { position: relative; margin-bottom: 12px; }
.glt-row:last-child { margin-bottom: 0; }
.glt-dot {
    position: absolute; left: -27px; top: 16px; width: 13px; height: 13px; border-radius: 50%;
    background: #fff; border: 2.5px solid #d6d6e0; box-sizing: border-box;
}
.glt-row.is-cur .glt-dot { border-color: #6c5ce7; box-shadow: 0 0 0 4px rgba(108,92,231,.16); }
.glt-card {
    background: #fff; border: 1px solid #e9e9ee; border-radius: 14px; padding: 12px 14px;
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.glt-card:hover { box-shadow: 0 6px 20px rgba(15,24,37,.07); border-color: #e2e2ec; }
.glt-row.is-cur .glt-card { border-color: #c9bcfa; background: linear-gradient(135deg, #fbfaff 0%, #ffffff 100%); }
.glt-head { flex: 0 0 140px; min-width: 0; }
.glt-year {
    display: inline-block; font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; font-weight: 700; color: #5b4bc4;
    background: #f2efff; border-radius: 5px; padding: 1px 6px;
}
.glt-row.is-cur .glt-year { background: #6c5ce7; color: #fff; }
.glt-name { font-size: 14px; font-weight: 700; margin-top: 6px; line-height: 1.3; color: #14171e; }
.glt-row.is-cur .glt-name { color: #5b4bc4; }
.glt-gid { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; color: #a5a3b1; margin-top: 2px; }
.glt-items { flex: 1; display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.glt-item {
    flex: 1 1 190px; min-width: 0;
    border: 1px solid #eef0f6; border-radius: 11px; padding: 8px 10px; background: #fff;
}
.glt-item-k { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.glt-item-k i { width: 7px; height: 7px; border-radius: 50%; display: block; flex: 0 0 auto; }
.glt-item-k b { font-size: 10.5px; color: #7c7a8a; font-weight: 700; }
.glt-item-k em {
    font-style: normal; margin-left: auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px; font-weight: 700; color: #059669;
}
.glt-item-k em.is-down { color: #dc2626; }
.glt-item-n {
    display: block; font-size: 11.5px; color: #3a4256; text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.glt-item-n:hover { color: #0071c5; text-decoration: underline; }
.glt-item-s {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; color: #14171e;
}
.glt-item-s small { font-size: 10px; font-weight: 600; color: #a5a3b1; margin-left: 2px; }
.glt-item-c {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px; color: #7c7a8a; background: #f1f1f4; border-radius: 4px; padding: 0 4px; margin-left: 4px;
}
/* 进度条:条长 = 该卡跑分 ÷ 本模块最高分(相对强弱,公开) */
.glt-bar {
    height: 6px; border-radius: 99px; background: #eef0f6; margin-top: 7px; overflow: hidden;
}
.glt-fill {
    display: block; height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, #6c5ce7, #8b7cf6);
}
.glt-item-more { margin-top: 6px; font-size: 10.5px; line-height: 1.6; }
.glt-item-more a { color: #7c7a8a; text-decoration: none; margin-right: 8px; }
.glt-item-more a:hover { color: #0071c5; text-decoration: underline; }
@media (max-width: 768px) {
    .glt-vtl { padding-left: 22px; }
    .glt-dot { left: -19px; top: 14px; width: 11px; height: 11px; }
    .glt-head { flex: 0 0 100%; }
    .glt-name { display: inline-block; margin: 0 0 0 8px; vertical-align: baseline; }
    .glt-gid { display: inline-block; margin-left: 6px; }
    .glt-item { flex: 1 1 100%; }
}
