@charset "UTF-8";

/* ===== 升级建议 ===== */
.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; }
/* 人工价标注 —— 与 hero 的 .price-tag.tag-manual 视觉保持一致,
   让同一个页面里的两处价格标签长得一样 */
.up-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;
}
.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 · 甲案「家族头条 + 强化代次卡」(2026-11-18 站主选定) =====
   上一版是朴素纵向时间轴,站主觉得气势不如「同架构对比」。本版:
   顶部一条紫色家族头条 + 每代一张卡(左列 年份/架构/编号 放大,右侧型号磁贴网格)。
   设计稿:~/.zcode/tmp/zjt/mock-timeline/jia.html(实现按稿走)。
   ⚠ 保留的 JS 钩子:.tlt-vtl(点击委托容器)、.tlt-seal(弹 PRO 卡)。 */
.tlt-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;
}
.tlt-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;
}
.tlt-hero-tx { flex: 1 1 240px; min-width: 0; }
.tlt-hero-t { font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.tlt-hero-s { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 4px; line-height: 1.5; }

/* ===== 解锁横幅(丙案,2026-11-18 站主选定)=====
   站主原话:「一个锁一个 24C,用户都不知道锁的什么东西,毫无购买意向,主要是缺少个提示」。
   横幅一次性讲清三件事:锁了什么(这 N 代 M 款的跑分)/ 解锁得到什么(多核·单核分数 + 天梯名次)/ 多少钱。
   只在免费用户($tlt_pro=0)时渲染,PHP 侧整块不输出。 */
.tlt-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;
}
.tlt-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;
}
.tlt-unlock-ico .layui-icon { font-size: 16px; }
.tlt-unlock-tx { flex: 1 1 320px; min-width: 0; }
.tlt-unlock-t { font-size: 13.5px; font-weight: 800; color: #2a2438; line-height: 1.4; }
.tlt-unlock-t b { color: #5b4bcf; }
.tlt-unlock-s { font-size: 11.5px; color: #6b7280; margin-top: 3px; line-height: 1.5; }
.tlt-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);
}
.tlt-unlock-btn:hover { color: #fff; text-decoration: none; }

.tlt-vtl { position: relative; padding-left: 26px; }
.tlt-vtl::before {
    content: ''; position: absolute; left: 5px; top: 10px; bottom: 14px; width: 2px;
    background: linear-gradient(180deg, #ddd6ff 0%, #eee9ff 100%);
}
.tlt-row { position: relative; margin-bottom: 14px; }
.tlt-row:last-child { margin-bottom: 0; }
.tlt-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;
}
.tlt-row.is-cur .tlt-dot {
    background: #6c5ce7; border-color: #6c5ce7;
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(108,92,231,.18);
}
/* 卡片:代次头信息**在上**,型号磁贴整行铺满(2026-11-18 站主指定图2 版式——
   原来是 152px 左侧竖栏,第四档 i3 会被挤到第二行留一个大空洞,改上下排后四档能并成一行)。 */
.tlt-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;
}
.tlt-card:hover { box-shadow: 0 6px 20px rgba(15,24,37,.07); border-color: #e4e0fa; }
.tlt-row.is-cur .tlt-card {
    border-color: #cfc6ff; background: linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
    box-shadow: 0 8px 22px rgba(108,92,231,.10);
}
/* 代次头:年份 / 架构名 / 架构编号(竖排) */
.tlt-head { flex: none; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tlt-year {
    align-self: flex-start; font-size: 12px; font-weight: 800; color: #6c5ce7;
    background: #f1eeff; border-radius: 7px; padding: 3px 9px; letter-spacing: .3px;
}
.tlt-row.is-cur .tlt-year { color: #fff; background: linear-gradient(135deg, #5b4bcf, #7b68f0); }
.tlt-name { font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: #14171e; }
.tlt-row.is-cur .tlt-name { color: #4b3fc7; }
.tlt-gid { font-size: 11.5px; color: #a9b3c2; }
.tlt-row.is-cur .tlt-gid { color: #8b7bd8; font-weight: 600; }
/* 右侧:型号磁贴网格。
   ⚠ 最小宽度 128 是算过的:1280 视口时右栏「更多CPU」在,卡片只剩 599px,内宽 563,
   四档要并成一行只能每档 ≤133px(150px 会掉到第二行留个空洞);名字 13px 时 133px 宽仍能两行放下。 */
.tlt-items {
    flex: 1 1 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 10px; min-width: 0;
}
.tlt-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;
}
.tlt-item:hover { border-color: #cfc6ff; box-shadow: 0 6px 16px rgba(108,92,231,.10); transform: translateY(-1px); }
.tlt-item.is-cur { border-color: #c7bcff; background: #faf9ff; }
.tlt-item-k { display: flex; align-items: center; gap: 6px; }
.tlt-item-k i { width: 7px; height: 7px; border-radius: 50%; display: block; flex: 0 0 auto; }
.tlt-item-k b { font-size: 11.5px; color: #8a95a8; font-weight: 800; letter-spacing: .4px; }
.tlt-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;
}
.tlt-item-k em.is-down { color: #dc2626; }
.tlt-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;
    /* ⚠ 不要给 min-height(2026-11-18 站主:「默认两行有些突兀」)。
       原来按两行名字预留 36px,名字只有一行时磁贴里就空出一条白带;
       改成不预约:一行就一行高,同排靠 grid 拉伸对齐,多出来的空隙由 .tlt-item-s 的 margin-top:auto 吸收。 */
}
.tlt-item-n:hover { color: #5b4bcf; }
.tlt-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;
}
.tlt-item-s small { font-size: 10px; font-weight: 600; color: #a5a3b1; margin-left: 2px; }
/* ===== 性能进度条(2026-11-11 站主拍板「甲 · 卡内细条」;甲案加粗到 8px 提气势)=====
   条长 = 该型号多核分 ÷ 本模块最高分。
   ⚠ 口径:免费用户**也看条**,只把绝对分数打码 —— 相对强弱公开(这是模块的价值),
   绝对分数给 PRO。条宽能反推绝对值(±0.5%),这是站主明确接受的取舍。 */
.tlt-bar { height: 8px; border-radius: 5px; background: #eef0f6; margin-top: 2px; overflow: hidden; }
.tlt-fill { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #a99bff, #cdc7fb); }
.tlt-item.is-cur .tlt-fill { background: linear-gradient(90deg, #6c5ce7, #8b7bff); }
.tlt-row.is-cur .tlt-bar { background: #efeaff; }
/* 分数打码(免费用户):斜纹封条 + 锁,HTML 里绝不下发数字。
   2026-11-18 站主:统一成「同架构对比」pfv-seal 那套样式(原来是 •••• + 虚线 PRO 角标)。 */
.tlt-item-s.is-locked { font-size: 12px; color: #b9b6c6; }
/* 封条前面的小标签:让用户知道这把锁锁的是「分数」(丙案)。
   ⚠ nowrap 必须加:手机磁贴只有 137px,不加会被压成「多 / 核 / 跑 / 分」竖排
   (2026-11-18 实测);放不下时靠 .tlt-item-s 的 flex-wrap 把 24C 换到下一行。 */
.tlt-item-lbl { font-size: 10.5px; font-weight: 700; color: #98a2b3; white-space: nowrap; }
.tlt-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;
}
.tlt-seal:hover { border-color: #c9bcfa; }
.tlt-seal .layui-icon { font-size: 11px; line-height: 1; padding: 0; display: inline-flex; }
@media (max-width: 768px) {
    .tlt-hero { padding: 14px; }
    .tlt-hero-no { width: 44px; height: 44px; font-size: 19px; border-radius: 12px; }
    .tlt-vtl { padding-left: 22px; }
    .tlt-dot { left: -22px; top: 20px; width: 11px; height: 11px; }
    .tlt-card { flex-direction: column; gap: 12px; padding: 14px; }
    .tlt-head { flex: none; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
    .tlt-name { font-size: 15.5px; }
    /* 解锁横幅:手机窄,按钮单独占一行,图标与文案并排 */
    .tlt-unlock { padding: 12px 14px; gap: 10px; }
    .tlt-unlock-ico { width: 28px; height: 28px; border-radius: 8px; }
    .tlt-unlock-tx { flex: 1 1 180px; }
    .tlt-unlock-btn { width: 100%; justify-content: center; }
}
