/* GAMEMAX PC Case 对比 —— 独立样式，不改动 pc-case.css */
.pcz-cmp{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#6b7480;cursor:pointer;user-select:none;margin-right:auto;font-family:"Roboto-Regular",system-ui,Arial,sans-serif;line-height:1}
.pcz-cmp input{appearance:none;-webkit-appearance:none;width:15px;height:15px;border:1px solid #d6dbe2;border-radius:4px;background:#fff;cursor:pointer;position:relative;margin:0;transition:.15s}
.pcz-cmp input:checked{background:#70ba2b;border-color:#70ba2b}
.pcz-cmp input:checked::after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(40deg)}
.pcz-cmp input:disabled{cursor:not-allowed;opacity:.45}
.pcz-cmp:hover{color:#161e2e}

/* 底部对比条 */
.pcz-cmpbar{position:fixed;left:0;right:0;bottom:0;z-index:99998;background:#161e2e;color:#fff;transform:translateY(110%);transition:transform .25s;box-shadow:0 -6px 24px rgba(0,0,0,.18);font-family:"Roboto-Regular",system-ui,Arial,sans-serif}
.pcz-cmpbar.is-on{transform:none}
.pcz-cmpbar__in{max-width:1680px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pcz-cmpbar__chips{display:flex;gap:6px;flex-wrap:wrap;flex:1;min-width:0}
.pcz-cmpbar__chip{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border-radius:6px;padding:5px 8px;font-size:12px;max-width:200px}
.pcz-cmpbar__chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcz-cmpbar__chip button{background:none;border:0;color:#b9c2ce;cursor:pointer;font-size:14px;line-height:1;padding:0}
.pcz-cmpbar__chip button:hover{color:#fff}
.pcz-cmpbar__go{background:#70ba2b;color:#161e2e;border:0;border-radius:8px;padding:9px 18px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;transition:.15s}
.pcz-cmpbar__go:hover:not(:disabled){background:#7fce33}
.pcz-cmpbar__go:disabled{opacity:.45;cursor:not-allowed}
.pcz-cmpbar__clear{background:none;border:0;color:#b9c2ce;font-size:12.5px;cursor:pointer;text-decoration:underline}

/* 对比弹层 */
.pcz-modal{position:fixed;inset:0;z-index:99999;display:none;background:rgba(10,14,22,.55);padding:24px;overflow:auto;-webkit-overflow-scrolling:touch}
.pcz-modal.is-on{display:block}
.pcz-modal__box{background:#fff;border-radius:12px;max-width:1200px;margin:0 auto;overflow:hidden;box-shadow:0 18px 48px rgba(0,0,0,.22)}
.pcz-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #eceee9;background:#fff;position:sticky;top:0;z-index:2}
.pcz-modal__head h3{margin:0;font-size:16px;color:#161e2e;font-family:"Oswald",system-ui,Arial,sans-serif;font-weight:400;letter-spacing:.02em}
.pcz-modal__tools{display:flex;align-items:center;gap:14px}
.pcz-modal__diff{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#6b7480;cursor:pointer;margin:0}
.pcz-modal__diff input{width:14px;height:14px;accent-color:#70ba2b;margin:0}
.pcz-modal__close{background:none;border:0;font-size:24px;line-height:1;color:#8b939d;cursor:pointer;padding:0 4px;margin:0}
.pcz-modal__close:hover{color:#161e2e}
.pcz-modal__body{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pcz-modal__hint{display:none;font-size:11.5px;color:#8b939d;padding:6px 14px;border-bottom:1px solid #f1f3ef}

.pcz-table{border:0 !important;border-collapse:collapse;width:100%;min-width:660px;table-layout:fixed;font-size:13px;background:#fff;font-family:"Roboto-Regular",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#161e2e;margin:0}
.pcz-table th,.pcz-table td{border:0 !important;border-bottom:1px solid #f1f3ef !important;padding:10px 14px !important;text-align:left;vertical-align:top;background:transparent;font-weight:400;line-height:1.45}
.pcz-table thead th{background:#fafbf8 !important;font-size:12.5px;font-weight:600;color:#161e2e;border-bottom:1px solid #eceee9 !important;white-space:nowrap}
.pcz-table thead th:first-child{color:#8b939d;font-weight:500;width:150px}
.pcz-table col.pcz-c0{width:150px}
.pcz-table tbody th{color:#6b7480;font-weight:500;background:#fcfcfb !important;white-space:nowrap;font-size:12.5px}
.pcz-table tr.is-diff td{font-weight:600;color:#161e2e}
.pcz-table tr.is-diff td::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#70ba2b;margin-right:7px;vertical-align:3px}
.pcz-table tr.is-diff td.na::before{display:none}
.pcz-table tr.is-same td{color:#9aa2ad;font-weight:400}
.pcz-table a{color:#4f8c1c;font-size:11.5px;font-weight:600;text-decoration:none;display:inline-block;margin-top:2px}
.pcz-table a:hover{text-decoration:underline}
.pcz-table .na{color:#c2c8d0}

/* 移动端：每个机箱一块纵向卡片 */
.pcz-stack{display:none;padding:14px}
.pcz-stack__item{background:#fff;border:1px solid #eceee9;border-radius:10px;padding:14px 14px 6px;margin-bottom:12px}
.pcz-stack__name{margin:0 0 10px;font-size:15px;color:#161e2e;font-weight:700;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pcz-stack__name a{font-size:11.5px;color:#4f8c1c;font-weight:600;text-decoration:none}
.pcz-stack__list{margin:0}
.pcz-stack__row{display:grid;grid-template-columns:104px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid #f4f5f2;align-items:start}
.pcz-stack__row:last-child{border-bottom:0}
.pcz-stack__row dt{font-size:11.5px;color:#8b939d;font-weight:500;margin:0;line-height:1.5}
.pcz-stack__row dd{margin:0;font-size:12.8px;line-height:1.5;color:#161e2e;font-weight:600;word-break:break-word}
.pcz-stack__row.is-same dd{color:#9aa2ad;font-weight:400}
.pcz-stack__row.is-diff dt::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#70ba2b;margin-right:6px;vertical-align:2px}
.pcz-stack__empty{color:#8b939d;font-size:13px;padding:18px 0;margin:0}

@media (max-width:900px){
.pcz-modal{padding:0}
.pcz-modal__box{max-width:none;min-height:100%;border-radius:0;box-shadow:none}
.pcz-modal__head{padding:12px 14px}
.pcz-modal__head h3{font-size:15px}
.pcz-modal__hint{display:none}
.pcz-table{display:none}
.pcz-stack{display:block}
.pcz-cmpbar__in{padding:8px 12px;gap:8px}
.pcz-cmpbar__go{padding:8px 14px;font-size:12.5px}
}
