@charset "UTF-8";

        /* ⚠ 2026-11-16:这个模块从「独立卡片」改成并进「规格」卡(跟 CPU 页的对比模块同一套)。
         *   外壳去掉 detail-card、容器去掉自己的 32px 内边距和白色底 ——
         *   内边距由外层 .xin27_view_box 的 32px 提供(跟 cpu/view/view_duibi2.html 一致),
         *   否则会变成卡片套卡片 + 64px 内边距。 */
        /* ========== 新增对比模块 ========== */
        .compare-module {
            background: var(--surface);
            padding: 24px 28px;
            margin-top: 28px;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-card);
        }
        .compare-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 20px;
        }
        .compare-header h3 {
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .compare-select-area {
            display: flex;
            gap: 16px;
            align-items: center;
            flex-wrap: wrap;
        }
        .compare-btn {
            background: #373737;
            color: white;
            border: none;
            border-radius: 48px;
            padding: 7px 18px;
            font-weight: 500;
            font-size: 13px;
            cursor: pointer;
            transition: 0.2s;
        }

        .mode-nav {
            margin: 12px 0 0px 0;
        }
        .mode-ul {
            display: flex;
            flex-direction: row;
            gap: 16px;
            background: #f1f5f9;
            padding: 6px;
            border-radius: 60px;
        }
        .mode-li {
            flex: 1;
            text-align: center;
            padding: 5px 0;
            border-radius: 40px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: transparent;
            color: #475569;
        }
        .mode-li.active {
            background: #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }


        .tab-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 20px 0 5px 0;
            border-bottom: 1px solid #eef2f6;
            padding-bottom: 14px;
            align-items: center;
        }
        /* 2026-11-21 参照小程序:tab 行右侧「共 N 款」(JS 按当前分组行数填) */
        .duibi-count {
            margin-left: auto;
            font-size: 12px;
            font-weight: 600;
            color: #9aa6b8;
            white-space: nowrap;
            padding-right: 2px;
        }
        .tab-btn {
            background: transparent;
            border: none;
            padding: 5px 10px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 40px;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #475569;
            font-family: inherit;
        }


        .tab-btn:hover {
            background: #eef2ff;
        }
        .tab-btn.active {
            background:#373737;
            color: white;
            box-shadow: 0 4px 10px rgba(108, 92, 231, 0.2);
        }
        .metric-row {
            background: transparent;
            padding: 6px 0 8px 0;
        }
        /* ========== 优化版 dual-progress 样式 ========== */
        .dual-progress {
            display: flex;
            flex-direction: column;
            gap: 0px;
            max-width: 100%;
        }
        .progress-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #ffffff;
            border-radius: 16px;
            padding: 2px 2px;
            transition: all 0.2s;
            cursor: pointer;
            position: relative;
            border: 1px solid transparent;
        }
        .progress-item:hover {
            background: #f5f7ff;
            transform: translateX(2px);
            box-shadow: 0 4px 12px rgba(99,102,241,0.08);
            border-color: #e0e7ff;
        }
        /* 当前 GPU - 不可点击，视觉区分 */
        .progress-item.active-item {
            cursor: default;
            background: #f8f9fb;
            border: 1px dashed #cbd5e1;
        }
        .progress-item.active-item:hover {
            transform: none;
            box-shadow: none;
            background: #f8f9fb;
            border-color: #cbd5e1;
        }
        .progress-cpu-name {
            font-size: 12px;
            font-weight: 600;
            width: 100px;
            text-align: right;
            color: #1e293b;
            line-height: 1.2;
        }
        .progress-bg {
            background: #e9eef3;
            border-radius: 10px;
            height: 30px;
            overflow: hidden;
            flex: 1;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
            position: relative;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .progress-item:not(.active-item) .progress-bg:hover {
            box-shadow: 0 4px 12px rgba(99,102,241,0.25);
            transform: scaleY(1.08);
        }
        .progress-fill {
            height: 100%;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 6px 0 12px;
            color: white;
            font-weight: 600;
            font-size: 12px;
            width: 0%;
            transition: width 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1), background 0.2s ease;
            min-width: 90px;
        }
        /* 进度条内的"PK →" CTA 标签 */
        .progress-fill::after {
            content: 'PK \2192';
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            background: rgba(255,255,255,0.28);
            border-radius: 12px;
            flex-shrink: 0;
            letter-spacing: 0.5px;
            transition: all 0.2s;
        }
        .progress-item:not(.active-item) .progress-bg:hover .progress-fill::after {
            background: rgba(255,255,255,0.45);
            transform: translateX(2px);
        }
        /* 单核模式下的进度条渐变色 */
        .mode-single .progress-fill {
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            background: linear-gradient(90deg, #f59e0b, #f97316);
        }
        /* 多核模式下的进度条渐变色 */
        .mode-multi .progress-fill {
            background: linear-gradient(90deg, #f59e0b, #f97316);
        }
        /* 当前 GPU 进度条变灰 */
        .mode-single .progress-item.active-item .progress-fill,
        .mode-multi .progress-item.active-item .progress-fill {
            background: #6c5ce7;
        }

        /* 当前 GPU 的 progress-fill 内显示"当前"小标签 */
        .progress-item.active-item .progress-fill::after {
            content: '\5f53\524d'; /* 当前。⚠ 必须 unicode 转义:CSS 被抽到 c1 跨域且无 charset,Safari 按 Latin-1 解码中文会乱码 */
            display: flex;
            align-items: center;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 8px;
            background: rgba(255,255,255,0.95);
            color: #475569;
            border-radius: 8px;
            flex-shrink: 0;
            letter-spacing: 0.3px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        }
        
        .score-num {
            text-align: right;
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            background: #f8fafc;
            padding: 5px 12px;
            border-radius: 40px;
            /* 2026-11-21 同 CPU 页:分数槽定宽,轨道右缘才对齐(鲁大师 7 位分给 112px) */
            width: 112px;
            box-sizing: border-box;
            transition: all 0.2s;
            position: relative;
        }
        /* 非当前 GPU 的分数标签：明显可点击 */
        .progress-item:not(.active-item) .score-num {
            cursor: pointer;
        }
        .progress-item:not(.active-item) .score-num:hover {
            background: #1e293b;
            color: white;
            transform: scale(1.05);
        }
        .cpu-group {
            display: none;
            animation: fadeIn 0.25s ease;
        }
        .cpu-group.active-group {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px);}
            to { opacity: 1; transform: translateY(0);}
        }
        @media (max-width: 750px) {
            .nbox_box { padding: 16px 16px 20px; }
            .progress-cpu-name { width: 125px; font-size: 12px; white-space: normal; }
            .score-num { width: 100px; font-size: 11px; padding: 4px 8px; }
            .score-num.locked { width: 100px; }
            .score-num.locked::after { height: 18px; }
            .duibi-seal .layui-icon { font-size: 11px; }
            .progress-fill { font-size: 11px; padding-right: 8px; }
            .tab-btn { padding: 6px 14px; font-size: 12px; }
            .mode-li { font-size: 14px; padding: 5px 0; }
            .a_title { font-size: 22px; }
            .compare-btn{display: none;}
        }
        @media (max-width: 600px) {
            .progress-item { gap: 6px; }
            .progress-cpu-name { width: 70px; }
            .progress-bg { min-width: 160px; }
            .score-num { margin-left: auto; }
            .tab-bar {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                margin: 20px 0;
                border-bottom: none;
                padding-bottom: 0;
            }
            .tab-btn {
                text-align: center;
            }
            .dual-progress {
                gap: 4px;
            }
            
        }
        .sp-search-input{
            padding: 7px 10px;
        }

        /* ========== PRO 会员门控(2026-11-18,照 cpu/view/view_duibi2.html 同款) ==========
           免费用户:别人的分数贴斜纹封条(同「同架构对比」pfv-seal 那套),
           「查找型号 + 开始对比」锁住,点任一锁定行/按钮 → 居中 PRO 卡。 */
        .view_duibi_container.is-locked .progress-item:not(.active-item) .progress-fill::after{
            content:none;
        }
        /* 搜索框锁住的样子 */
        .duibi-search-off{
            display:inline-flex;align-items:center;gap:6px;
            height:34px;padding:0 12px;border-radius:9px;
            background:#f6f8fb;border:1px solid #e6eaf0;color:#b6bcc8;
            font-size:13px;white-space:nowrap;
        }
        /* 「开始对比」按钮:紫色 CTA */
        .compare-btn.duibi-cta{
            background:linear-gradient(135deg,#5b4bcf 0%,#7b68f0 100%);
            color:#fff;box-shadow:0 4px 12px rgba(91,75,207,.22);
        }
        .compare-btn.duibi-cta:hover{filter:brightness(1.06)}
        /* PRO 徽标 */
        .duibi-badge{
            display:inline-flex;align-items:center;gap:4px;
            font-size:11px;font-weight:700;color:#5b4bcf;
            background:#f5f2ff;border:1px dashed #c9bcfa;border-radius:999px;
            padding:4px 10px;white-space:nowrap;
            font-family:inherit;line-height:1.5;
            cursor:pointer;transition:.15s;
        }
        .duibi-badge:hover{background:#ece7ff;border-color:#a99bff;border-style:solid}
        .duibi-badge .layui-icon{font-size:10px;line-height:1;padding:0}
        /* 分数锁:斜纹封条 + 锁(照同架构对比 pfv-seal) */
        .score-num.locked{
            display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;
            background:transparent;padding:0;width:112px;border-radius:0;
            cursor:pointer;
        }
        /* 2026-11-21 参照小程序:锁 + 模糊分数条(纯占位纹理,不含任何分数);
           整条填满分数槽,右侧一列不再是空荡的小封条 */
        .score-num.locked::after{
            content:"";flex:1;height:20px;border-radius:6px;
            background:
                repeating-linear-gradient(90deg, rgba(160,174,196,.55) 0 4px, rgba(238,241,246,.15) 4px 9px),
                radial-gradient(60% 80% at 30% 50%, #dde4ee 0%, #edf0f5 70%),
                linear-gradient(90deg,#e9edf4,#e0e6ef 40%,#edf0f5 65%,#e3e8f1);
            filter:blur(1.3px);
            box-shadow:inset 0 0 0 1px #e7ebf2;
        }
        .progress-item:not(.active-item) .score-num.locked:hover{
            background:transparent;color:inherit;transform:none;
        }
        .duibi-seal{
            flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
            width:auto;height:auto;color:#b6bfcd;
        }
        .duibi-seal .layui-icon{font-size:12px;line-height:1;padding:0;display:inline-flex}
        /* ===== 免费用户点击锁定数据时的 PRO 提示卡(遮罩 + 屏幕正中模态) ===== */
        .duibi-pro-mask{
            position:fixed;inset:0;z-index:9989;background:rgba(17,24,39,.34);
            opacity:0;pointer-events:none;transition:opacity .2s ease;
            -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
        }
        .duibi-pro-mask.is-on{opacity:1;pointer-events:auto}
        /* 2026-11-22 站主拍板乙版：照参考图「紫头 + 三权益 + 永久 PRO + 或者 + 两行免费路径」重做。
           免费路径 = 邀好友（3 天） + 看广告（2 小时），看广告沿用 /index/adweb 扫码链路。 */
        .duibi-pro-pop{
            position:fixed;left:50%;top:50%;z-index:9990;
            width:min(400px,calc(100vw - 32px));
            background:#fff;border-radius:22px;overflow:hidden;
            box-shadow:0 30px 80px rgba(30,20,80,.32);
            opacity:0;pointer-events:none;
            transform:translate(-50%,-50%) scale(.94);
            transition:opacity .18s ease,transform .24s cubic-bezier(.2,.9,.35,1.15);
        }
        .duibi-pro-pop.is-on{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
        /* 紫头 */
        .duibi-pro-hd{
            position:relative;overflow:hidden;text-align:center;color:#fff;
            padding:22px 20px 20px;
            background:linear-gradient(160deg,#8b7cf5,#6b5bff);
        }
        .duibi-pro-hd::after{
            content:'';position:absolute;right:-46px;top:-58px;width:150px;height:150px;
            border-radius:50%;background:rgba(255,255,255,.10);pointer-events:none;
        }
        .duibi-pro-hd .crown{font-size:28px;line-height:1;position:relative;z-index:1}
        .duibi-pro-hd .t{font-size:20px;font-weight:800;letter-spacing:.5px;margin-top:8px;position:relative;z-index:1}
        .duibi-pro-hd .s{font-size:11.5px;opacity:.84;margin-top:6px;position:relative;z-index:1}
        .duibi-pro-pop-x{
            position:absolute;top:9px;right:9px;z-index:2;width:26px;height:26px;border:0;border-radius:50%;
            background:rgba(255,255,255,.16);color:#fff;font-size:12px;line-height:1;cursor:pointer;
            display:flex;align-items:center;justify-content:center;transition:.15s;
        }
        .duibi-pro-pop-x:hover{background:rgba(255,255,255,.28)}
        /* 白身 */
        .duibi-pro-bd{padding:15px 20px 18px}
        .duibi-pro-perks{list-style:none;margin:0;padding:0}
        .duibi-pro-perks li{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#39415a;line-height:1.45;padding:5px 0}
        .duibi-pro-perks .ok{
            width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:#e8fbf0;color:#12b76a;
            display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;
        }
        .duibi-pro-buy{
            display:flex;align-items:center;justify-content:center;gap:6px;
            margin-top:14px;height:50px;border-radius:13px;text-decoration:none;
            background:linear-gradient(135deg,#7b68f0,#5b4bcf);color:#fff;
            font-size:15.5px;font-weight:800;letter-spacing:.3px;box-shadow:0 12px 26px rgba(91,75,207,.28);
            transition:filter .15s,transform .15s;
        }
        .duibi-pro-buy:hover{filter:brightness(1.06);transform:translateY(-1px)}
        .duibi-pro-price{margin-top:9px;text-align:center;font-size:11px;color:#9aa3ba}
        .duibi-pro-or{display:flex;align-items:center;gap:10px;margin:15px 0 11px;color:#aab2c6;font-size:11px}
        .duibi-pro-or::before,.duibi-pro-or::after{content:'';flex:1;height:1px;background:#eef1f7}
        /* 免费拿两行（邀请 / 看广告） */
        .duibi-pro-rows{border:1px solid #edf0f6;border-radius:13px;overflow:hidden;background:#fff}
        .duibi-pro-rw{display:flex;align-items:center;gap:10px;padding:11px 12px;text-decoration:none;color:inherit}
        .duibi-pro-rw+.duibi-pro-rw{border-top:1px solid #f2f4f9}
        .duibi-pro-rw:hover{background:#fbfaff}
        .duibi-pro-rw .ic{
            width:32px;height:32px;flex:0 0 32px;border-radius:9px;
            display:flex;align-items:center;justify-content:center;font-size:15px;
        }
        .duibi-pro-rw .ic.gift{background:#fdf0e0}
        .duibi-pro-rw .ic.tv{background:#eef0ff}
        .duibi-pro-rw .tx{min-width:0;flex:1}
        .duibi-pro-rw .tx b{display:block;font-size:12.5px;font-weight:800;color:#241f4d}
        .duibi-pro-rw .tx i{display:block;font-style:normal;font-size:10.5px;color:#8b94aa;margin-top:3px;line-height:1.4}
        .duibi-pro-rw .val{flex:0 0 auto;font-size:10px;font-weight:800;border-radius:6px;padding:3px 7px}
        .duibi-pro-rw .val.v3{color:#b45309;background:#fff7e8}
        .duibi-pro-rw .val.v2{color:#5b4bcf;background:#f1eeff}
        .duibi-pro-rw .ar{flex:0 0 auto;color:#c3c9d8;font-size:12px}
        .duibi-pro-more{display:block;margin-top:11px;text-align:center;font-size:11.5px;color:#8b84b8;text-decoration:none}
        .duibi-pro-more:hover{color:#5b4bcf}
        @media (max-width:750px){
            .duibi-pro-pop{width:calc(100vw - 28px);border-radius:19px}
            .duibi-pro-hd{padding:19px 18px 18px}
            .duibi-pro-hd .t{font-size:18.5px}
            .duibi-pro-bd{padding:14px 17px 16px}
        }
        /* ≤340(小屏/SE):标签会让副文案折行，收起标签（副文案里已写明天数/时长） */
        @media (max-width:340px){
            .duibi-pro-rw .val{display:none}
        }
    