@charset "UTF-8";

/* ===== 升级建议 ===== */
.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-18 照 CPU 版重做) =====
   版式:顶部紫色家族头条 + 每代一张卡(代次头在上、通栏,型号磁贴一行铺满),
   与 cpu/view/newindex/timeline.html 的 .tlt-* 同规格;类名 .glt-* 独立,避免两页互相污染。
   分数口径(2026-11-18 站主选定「照 CPU 全套」):免费用户只给封条,PRO 才下发数字,
   头条下加一条解锁横幅,讲清「锁的是什么 / 解锁得到什么 / 多少钱」。 */
.glt-hero {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
    background: linear-gradient(120deg, #6c5ce7, #8b7bff); box-shadow: 0 10px 26px rgba(108,92,231,.28);
    color: #fff; margin-bottom: 20px; flex-wrap: wrap;
}
.glt-hero-no {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; line-height: 1;
}
.glt-hero-tx { flex: 1 1 240px; min-width: 0; }
.glt-hero-t { font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.glt-hero-s { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 4px; line-height: 1.5; }

/* 解锁横幅(同 CPU 版 .tlt-unlock):只在免费用户渲染,PRO 用户 HTML 里不输出 */
.glt-unlock {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 13px 16px; margin-bottom: 16px; border-radius: 14px;
    background: linear-gradient(100deg, #f4f1ff, #fbfaff 60%, #ffffff);
    border: 1px solid #e4dcff;
}
.glt-unlock-ico {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #ece7ff; color: #5b4bcf;
    display: flex; align-items: center; justify-content: center;
}
.glt-unlock-ico .layui-icon { font-size: 16px; }
.glt-unlock-tx { flex: 1 1 320px; min-width: 0; }
.glt-unlock-t { font-size: 13.5px; font-weight: 800; color: #2a2438; line-height: 1.4; }
.glt-unlock-t b { color: #5b4bcf; }
.glt-unlock-s { font-size: 11.5px; color: #6b7280; margin-top: 3px; line-height: 1.5; }
.glt-unlock-btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
    padding: 8px 14px; border-radius: 999px; text-decoration: none;
    background: linear-gradient(135deg, #5b4bcf, #7b68f0); color: #fff;
    font-size: 12px; font-weight: 800; box-shadow: 0 6px 16px rgba(91,75,207,.28);
}
.glt-unlock-btn:hover { color: #fff; text-decoration: none; }

.glt-vtl { position: relative; padding-left: 26px; }
.glt-vtl::before {
    content: ''; position: absolute; left: 5px; top: 10px; bottom: 14px; width: 2px;
    background: linear-gradient(180deg, #ddd6ff 0%, #eee9ff 100%);
}
.glt-row { position: relative; margin-bottom: 14px; }
.glt-row:last-child { margin-bottom: 0; }
.glt-dot {
    position: absolute; left: -26px; top: 24px; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 2px solid #d9d3ee; box-sizing: content-box; box-shadow: 0 0 0 4px #fff;
}
.glt-row.is-cur .glt-dot {
    background: #6c5ce7; border-color: #6c5ce7;
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(108,92,231,.18);
}
.glt-card {
    display: flex; flex-direction: column; gap: 14px;
    background: #fff; border: 1px solid #edf1f7; border-radius: 16px; padding: 16px 18px;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.glt-card:hover { box-shadow: 0 6px 20px rgba(15,24,37,.07); border-color: #e4e0fa; }
.glt-row.is-cur .glt-card {
    border-color: #cfc6ff; background: linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
    box-shadow: 0 8px 22px rgba(108,92,231,.10);
}
/* 代次头:年份 / 架构名 / 架构编号(竖排,通栏) */
.glt-head { flex: none; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.glt-year {
    align-self: flex-start; font-size: 12px; font-weight: 800; color: #6c5ce7;
    background: #f1eeff; border-radius: 7px; padding: 3px 9px; letter-spacing: .3px;
}
.glt-row.is-cur .glt-year { color: #fff; background: linear-gradient(135deg, #5b4bcf, #7b68f0); }
.glt-name { font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: #14171e; }
.glt-row.is-cur .glt-name { color: #4b3fc7; }
.glt-gid { font-size: 11.5px; color: #a9b3c2; }
.glt-row.is-cur .glt-gid { color: #8b7bd8; font-weight: 600; }
/* 磁贴网格:最小 128px —— 1280 视口右栏占位时卡片约 599px,四档并排每档上限 133px */
.glt-items {
    flex: 1 1 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 10px; min-width: 0;
}
.glt-item {
    display: flex; flex-direction: column; gap: 6px; min-width: 0; cursor: pointer;
    background: #fff; border: 1px solid #eef1f7; border-radius: 12px; padding: 11px 12px 12px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.glt-item:hover { border-color: #cfc6ff; box-shadow: 0 6px 16px rgba(108,92,231,.10); transform: translateY(-1px); }
.glt-item.is-cur { border-color: #c7bcff; background: #faf9ff; }
.glt-item-k { display: flex; align-items: center; gap: 6px; }
.glt-item-k i { width: 7px; height: 7px; border-radius: 50%; display: block; flex: 0 0 auto; }
.glt-item-k b { font-size: 11.5px; color: #8a95a8; font-weight: 800; letter-spacing: .4px; }
.glt-item-k em {
    font-style: normal; margin-left: auto; font-size: 14px; font-weight: 900; color: #059669;
    font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.glt-item-k em.is-down { color: #dc2626; }
.glt-item-n {
    font-size: 13px; font-weight: 700; line-height: 1.35; color: #1f2530; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.glt-item-n:hover { color: #5b4bcf; }
.glt-item-s {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; row-gap: 4px; margin-top: auto;
    font-size: 14px; font-weight: 700; color: #14171e;
}
.glt-item-s small { font-size: 10px; font-weight: 600; color: #a5a3b1; margin-left: 2px; }
/* 进度条(口径不变:条长 = 该卡跑分 ÷ 本家族最高分;免费用户也看条,只遮绝对分) */
.glt-bar { height: 8px; border-radius: 5px; background: #eef0f6; margin-top: 2px; overflow: hidden; }
.glt-fill { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #a99bff, #cdc7fb); }
.glt-item.is-cur .glt-fill { background: linear-gradient(90deg, #6c5ce7, #8b7bff); }
.glt-row.is-cur .glt-bar { background: #efeaff; }
/* 分数打码(免费用户):斜纹封条 + 锁 + 「性能跑分」标签,HTML 里绝不下发数字。
   ⚠ 标签必须 nowrap:手机磁贴只有 ~137px,不加会被压成竖排一个字一行。 */
.glt-item-s.is-locked { font-size: 12px; color: #b9b6c6; }
.glt-item-lbl { font-size: 10.5px; font-weight: 700; color: #98a2b3; white-space: nowrap; }
.glt-seal {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 17px; border-radius: 4px; color: #8b93a5; text-decoration: none;
    background: repeating-linear-gradient(135deg, #eef0f6 0 5px, #e3e7f0 5px 10px);
    border: 1px solid #dde2ec; transition: border-color .15s;
}
.glt-seal:hover { border-color: #c9bcfa; }
.glt-seal .layui-icon { font-size: 11px; line-height: 1; padding: 0; display: inline-flex; }
.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-hero { padding: 14px; }
    .glt-hero-no { width: 44px; height: 44px; font-size: 19px; border-radius: 12px; }
    .glt-unlock { padding: 12px 14px; gap: 10px; }
    .glt-unlock-ico { width: 28px; height: 28px; border-radius: 8px; }
    .glt-unlock-tx { flex: 1 1 180px; }
    .glt-unlock-btn { width: 100%; justify-content: center; }
    .glt-vtl { padding-left: 22px; }
    .glt-dot { left: -22px; top: 20px; width: 11px; height: 11px; }
    .glt-card { gap: 12px; padding: 14px; }
    /* 手机上代次头横排一行,省高度 */
    .glt-head { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
    .glt-name { font-size: 15.5px; }
}
