/* ============================================================
   Clash开源社区 · components.css
   跨页面组件:issue 标签药丸 / 仓库窗口(含热力图) / Issues 式特性列表 /
   tab 切换 / toc 跳转 / FAQ 折叠 / 术语卡 / 下载卡 / 博客卡 / callout /
   命令块 / 表格 / 面包屑 / 正文排版 / 文末引导卡 / dl-fab / 下载弹窗 / 色板
   ============================================================ */

/* ---------- issue 标签式小药丸 ---------- */
.labels{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:22px}
.lab{display:inline-block;border-radius:var(--radius-pill);padding:3px 13px;font-size:12px;font-weight:600;border:1px solid var(--border);line-height:1.6;max-width:100%;overflow:hidden}
.lab-amber{color:var(--warn);border-color:var(--warn);background:var(--warn-bg)}
.lab-blue{color:var(--info);border-color:var(--info);background:var(--info-bg)}
.lab-rose{color:var(--error);border-color:var(--error);background:var(--error-bg)}
.lab-green{color:var(--accent-dark);border-color:var(--heat-1);background:var(--bg-panel2)}
.lab-mono{font-family:var(--font-mono);font-weight:400;color:var(--text-muted);background:var(--bg-panel)}

/* ---------- 徽章(下载卡等) ---------- */
.badge{display:inline-block;font-size:11.5px;font-weight:600;padding:2px 10px;border-radius:var(--radius-pill);border:1px solid var(--border);line-height:1.6;white-space:nowrap;max-width:100%;overflow:hidden}
.badge-top{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.badge-rec{color:var(--accent-dark);border-color:var(--heat-1);background:var(--bg-panel2)}
.badge-eol{color:var(--text-muted);border-color:var(--border);background:var(--bg-panel)}

/* ---------- 仓库窗口(首屏视觉记忆点) ---------- */
.repo{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg)}
.repo-top{background:var(--ink);display:flex;align-items:center;gap:11px;padding:10px 16px}
.repo-ava{width:28px;height:28px;border-radius:50%;background:var(--nav-pill);display:flex;align-items:center;justify-content:center;color:var(--heat-1);flex-shrink:0}
.repo-ava svg{width:16px;height:16px}
.repo-crumb{font-family:var(--font-mono);font-size:14px;color:var(--nav-text);white-space:nowrap;overflow:hidden}
.repo-crumb em{font-style:normal;color:var(--nav-muted);padding:0 5px}
.repo-crumb b{font-weight:700}
.repo-acts{margin-left:auto;display:flex;gap:8px;flex-shrink:0}
.repo-btn{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--nav-text);border:1px solid var(--nav-border);border-radius:var(--radius);padding:4px 11px;transition:border-color .15s ease}
.repo-btn:hover{border-color:var(--nav-muted)}
.repo-btn svg{width:13px;height:13px;flex-shrink:0}

.repo-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 18px;background:var(--bg-panel);border-bottom:1px solid var(--border)}
.meta-pill{font-family:var(--font-mono);font-size:11.5px;color:var(--text-muted);border:1px solid var(--border);border-radius:var(--radius-pill);padding:2px 11px;background:var(--bg)}
.meta-path{font-family:var(--font-mono);font-size:12.5px;color:var(--text-muted)}
.meta-branch{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-family:var(--font-mono);font-size:11.5px;color:var(--accent-dark);border:1px solid var(--heat-1);background:var(--bg-panel2);border-radius:var(--radius-pill);padding:2px 11px}
.meta-branch svg{width:11px;height:11px;flex-shrink:0}

.hm-wrap{padding:18px 20px 16px}
.hm-cap{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.hm-cap-l{font-family:var(--font-mono);font-size:12px;color:var(--text-muted)}
.hm-legend{display:flex;align-items:center;gap:4px;font-family:var(--font-mono);font-size:10.5px;color:var(--text-muted);flex-shrink:0}
.hm-legend i{width:10px;height:10px;border-radius:2px;display:inline-block;flex-shrink:0}
.hm-months{display:flex;justify-content:space-between;font-family:var(--font-mono);font-size:10px;color:var(--text-muted);margin-bottom:6px;padding-left:2px;padding-right:2px}
.hm{display:grid;grid-template-columns:repeat(53,1fr);gap:3px}
.hm i{display:block;aspect-ratio:1/1;border-radius:2px;opacity:0;animation:cellIn .35s ease-out forwards}
.hm i.a,.hm-legend i.a{background:var(--heat-0)}
.hm i.b,.hm-legend i.b{background:var(--heat-1)}
.hm i.c,.hm-legend i.c{background:var(--heat-2)}
.hm i.x,.hm-legend i.x{background:var(--heat-3)}
@keyframes cellIn{from{opacity:0}to{opacity:1}}
.hm i:nth-child(53n+1){animation-delay:0ms}
.hm i:nth-child(53n+2){animation-delay:16ms}
.hm i:nth-child(53n+3){animation-delay:32ms}
.hm i:nth-child(53n+4){animation-delay:48ms}
.hm i:nth-child(53n+5){animation-delay:64ms}
.hm i:nth-child(53n+6){animation-delay:80ms}
.hm i:nth-child(53n+7){animation-delay:96ms}
.hm i:nth-child(53n+8){animation-delay:112ms}
.hm i:nth-child(53n+9){animation-delay:128ms}
.hm i:nth-child(53n+10){animation-delay:144ms}
.hm i:nth-child(53n+11){animation-delay:160ms}
.hm i:nth-child(53n+12){animation-delay:176ms}
.hm i:nth-child(53n+13){animation-delay:192ms}
.hm i:nth-child(53n+14){animation-delay:208ms}
.hm i:nth-child(53n+15){animation-delay:224ms}
.hm i:nth-child(53n+16){animation-delay:240ms}
.hm i:nth-child(53n+17){animation-delay:256ms}
.hm i:nth-child(53n+18){animation-delay:272ms}
.hm i:nth-child(53n+19){animation-delay:288ms}
.hm i:nth-child(53n+20){animation-delay:304ms}
.hm i:nth-child(53n+21){animation-delay:320ms}
.hm i:nth-child(53n+22){animation-delay:336ms}
.hm i:nth-child(53n+23){animation-delay:352ms}
.hm i:nth-child(53n+24){animation-delay:368ms}
.hm i:nth-child(53n+25){animation-delay:384ms}
.hm i:nth-child(53n+26){animation-delay:400ms}
.hm i:nth-child(53n+27){animation-delay:416ms}
.hm i:nth-child(53n+28){animation-delay:432ms}
.hm i:nth-child(53n+29){animation-delay:448ms}
.hm i:nth-child(53n+30){animation-delay:464ms}
.hm i:nth-child(53n+31){animation-delay:480ms}
.hm i:nth-child(53n+32){animation-delay:496ms}
.hm i:nth-child(53n+33){animation-delay:512ms}
.hm i:nth-child(53n+34){animation-delay:528ms}
.hm i:nth-child(53n+35){animation-delay:544ms}
.hm i:nth-child(53n+36){animation-delay:560ms}
.hm i:nth-child(53n+37){animation-delay:576ms}
.hm i:nth-child(53n+38){animation-delay:592ms}
.hm i:nth-child(53n+39){animation-delay:608ms}
.hm i:nth-child(53n+40){animation-delay:624ms}
.hm i:nth-child(53n+41){animation-delay:640ms}
.hm i:nth-child(53n+42){animation-delay:656ms}
.hm i:nth-child(53n+43){animation-delay:672ms}
.hm i:nth-child(53n+44){animation-delay:688ms}
.hm i:nth-child(53n+45){animation-delay:704ms}
.hm i:nth-child(53n+46){animation-delay:720ms}
.hm i:nth-child(53n+47){animation-delay:736ms}
.hm i:nth-child(53n+48){animation-delay:752ms}
.hm i:nth-child(53n+49){animation-delay:768ms}
.hm i:nth-child(53n+50){animation-delay:784ms}
.hm i:nth-child(53n+51){animation-delay:800ms}
.hm i:nth-child(53n+52){animation-delay:816ms}
.hm i:nth-child(53n+53){animation-delay:832ms}
@media (prefers-reduced-motion:reduce){
  .hm i{animation:none;opacity:1}
}

.contrib{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:13px 20px;border-top:1px solid var(--border)}
.contrib-cap{font-family:var(--font-mono);font-size:12px;color:var(--text-muted);margin-right:6px}
.ava{width:30px;height:30px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-size:12px;font-weight:700;flex-shrink:0}
.av1{background:var(--bg-panel2);color:var(--accent-dark)}
.av2{background:var(--info-bg);color:var(--info)}
.av3{background:var(--warn-bg);color:var(--warn)}
.av4{background:var(--error-bg);color:var(--error)}
.av5{background:var(--bg-panel);color:var(--text-muted)}
.av6{background:var(--heat-0);color:var(--accent-dark)}

.repo-tabs{display:flex;gap:6px;padding-left:12px;padding-right:12px;border-top:1px solid var(--border);background:var(--bg-panel);overflow-x:auto}
.rtab{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--text-muted);padding:11px 14px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.rtab svg{width:14px;height:14px;flex-shrink:0}
.rtab:hover{color:var(--text)}
.rtab.on{color:var(--text);font-weight:600;border-bottom-color:var(--accent-dark)}

/* ---------- Issues 式特性列表(首页特性区) ---------- */
.issues{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg)}
.issues-bar{display:flex;align-items:center;gap:20px;padding:12px 18px;background:var(--bg-panel);border-bottom:1px solid var(--border);font-size:13.5px}
.f-open{display:inline-flex;align-items:center;gap:7px;font-weight:600;color:var(--text)}
.f-open .dot-live{width:9px;height:9px}
.f-closed{color:var(--text-muted)}
.issues-bar .f-tools{margin-left:auto;color:var(--text-muted);display:flex;gap:18px;font-size:13px}
.issue-row{display:flex;gap:12px;padding:15px 18px;background:var(--bg)}
.issue-row + .issue-row{border-top:1px solid var(--border)}
.issue-row:hover{background:var(--bg-panel)}
.issue-dot{color:var(--accent);flex-shrink:0;margin-top:3px}
.issue-dot svg{width:15px;height:15px}
.issue-main{min-width:0;flex:1}
.issue-title{font-weight:700;font-size:15px}
.issue-title .lab{margin-left:8px;vertical-align:2px}
.issue-toggle{background:none;border:none;padding:0;font:inherit;font-weight:700;color:inherit;cursor:pointer;text-align:left}
.issue-toggle:hover{color:var(--accent-dark)}
.issue-desc{color:var(--text-muted);font-size:13.5px;margin-top:4px;max-width:56em}
.issue-more{display:none;color:var(--text-muted);font-size:13.5px;line-height:1.85;margin-top:8px;max-width:56em;border-top:1px dashed var(--border);padding-top:8px}
.issue-row.open .issue-more{display:block}

/* ---------- tab 切换(下载页平台切换等) ---------- */
.tabs{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg)}
.tabbar{display:flex;gap:4px;padding-left:10px;padding-right:10px;background:var(--bg-panel);border-bottom:1px solid var(--border);overflow-x:auto}
.tab{display:inline-flex;align-items:center;gap:7px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;padding:12px 16px;min-height:44px;font-size:14px;color:var(--text-muted);cursor:pointer;white-space:nowrap;transition:color .15s ease}
.tab svg{width:14px;height:14px;flex-shrink:0}
.tab:hover{color:var(--text)}
.tab.on{color:var(--text);font-weight:600;border-bottom-color:var(--accent-dark)}
.tabpanel{display:none;padding:22px}
.tabpanel.on{display:block}

/* ---------- 长页分类跳转导航(toc) ---------- */
.toc-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;margin-bottom:28px}
.toc-tabs a{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:13px;color:var(--text-muted);border:1px solid var(--border);border-radius:var(--radius-pill);padding:6px 15px;background:var(--bg);transition:color .15s ease,border-color .15s ease,background-color .15s ease}
.toc-tabs a:hover{color:var(--accent-dark);border-color:var(--heat-1);background:var(--bg-panel2)}
.toc-tabs .toc-hash{color:var(--hash)}

/* ---------- FAQ 折叠项(原生 details) ---------- */
.faq-item{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}
.faq-item + .faq-item{margin-top:10px}
.faq-item summary{display:flex;align-items:flex-start;gap:10px;padding:14px 18px;font-weight:600;font-size:14.5px;cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-caret{color:var(--text-muted);flex-shrink:0;margin-top:4px;transition:transform .15s ease}
.faq-caret svg{width:12px;height:12px;display:block}
.faq-item[open] .faq-caret{transform:rotate(90deg)}
.faq-item[open]{background:var(--bg-panel)}
.faq-item[open] summary{border-bottom:1px solid var(--border)}
.faq-a{padding:12px 18px 16px 40px;color:var(--text-muted);font-size:13.5px;line-height:1.85}

/* ---------- 术语卡 ---------- */
.term-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.term-grid>*{min-width:0}
.term-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);padding:16px 18px;transition:border-color .15s ease}
.term-card:hover{border-color:var(--heat-1)}
.term-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.term-name{font-family:var(--font-mono);font-size:14.5px;font-weight:700;color:var(--text)}
.term-cat{font-family:var(--font-mono);font-size:11px;color:var(--text-muted);border:1px solid var(--border);border-radius:var(--radius-pill);padding:1px 9px;background:var(--bg-panel);max-width:100%;overflow:hidden}
.term-desc{font-size:13.5px;color:var(--text-muted);line-height:1.85}

/* ---------- 下载客户端卡片 ---------- */
.dl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.dl-grid>*{min-width:0}
.dl-card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);overflow:hidden}
.dl-card-top{border-color:var(--heat-1)}
.dl-head{display:flex;align-items:center;gap:12px;padding:15px 18px;background:var(--bg-panel);border-bottom:1px solid var(--border)}
.dl-card-top .dl-head{background:var(--bg-panel2)}
.dl-ico{width:48px;height:48px;flex-shrink:0}
.dl-id{min-width:0}
.dl-name{font-weight:700;font-size:15px}
.dl-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.dl-body{padding:13px 18px;color:var(--text-muted);font-size:13.5px;line-height:1.85;flex:1}
.dl-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:0 18px 10px;font-family:var(--font-mono);font-size:12px;color:var(--text-muted)}
.dl-ver{font-family:var(--font-mono);font-size:12px;color:var(--accent-dark)}
.dl-ver:empty{display:none}
.dl-acts{display:flex;flex-wrap:wrap;gap:10px;padding:0 18px 16px}
.dl-site{font-family:var(--font-mono);font-size:12.5px;color:var(--accent-dark);border-bottom:1px solid var(--heat-1)}
.dl-site:hover{border-bottom-color:var(--accent-dark)}

/* ---------- 博客文章卡 ---------- */
.post-card{display:block;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);padding:18px 20px;transition:background-color .15s ease,border-color .15s ease}
.post-card:hover{background:var(--bg-panel);border-color:var(--heat-1)}
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-family:var(--font-mono);font-size:12px;color:var(--text-muted)}
.post-tag{display:inline-block;font-size:11.5px;font-weight:600;color:var(--accent-dark);border:1px solid var(--heat-1);background:var(--bg-panel2);border-radius:var(--radius-pill);padding:1px 10px;white-space:nowrap;max-width:100%;overflow:hidden}
.post-title{font-size:16px;font-weight:700;margin-top:8px;line-height:1.55}
.post-summary{font-size:13.5px;color:var(--text-muted);margin-top:6px;line-height:1.85}
.post-more{display:inline-block;font-family:var(--font-mono);font-size:12.5px;color:var(--accent-dark);margin-top:10px}

/* ---------- callout 引用块 ---------- */
.callout{display:flex;gap:10px;border:1px solid var(--border);border-left:3px solid var(--info);background:var(--info-bg);border-radius:var(--radius);padding:13px 16px;font-size:13.5px;line-height:1.85;color:var(--text)}
.callout-title{font-weight:700;display:block;margin-bottom:2px}
.callout p{margin:0}
.callout-warn{border-left-color:var(--warn);background:var(--warn-bg)}
.callout-error{border-left-color:var(--error);background:var(--error-bg)}
.callout-ok{border-left-color:var(--accent-dark);background:var(--bg-panel2)}

/* ---------- 命令块与复制按钮 ---------- */
.cmd{display:flex;align-items:center;gap:12px;background:var(--ink);color:var(--nav-text);border-radius:var(--radius);padding:12px 16px}
.cmd code{background:none;border:none;padding:0;color:inherit;font-family:var(--font-mono);font-size:13px;overflow-x:auto;white-space:nowrap;flex:1;min-width:0}
.cmd .copy-btn{flex-shrink:0}
.copy-btn{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--nav-text);background:none;border:1px solid var(--nav-border);border-radius:var(--radius);padding:4px 11px;cursor:pointer;transition:border-color .15s ease}
.copy-btn:hover{border-color:var(--nav-muted)}

/* ---------- 表格 ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}
.table-wrap table{width:100%;min-width:520px;border-collapse:collapse;font-size:13.5px}
.table-wrap th{background:var(--bg-panel);text-align:left;font-weight:600;padding:10px 16px;border-bottom:1px solid var(--border);white-space:nowrap}
.table-wrap td{padding:10px 16px;border-bottom:1px solid var(--border);color:var(--text-muted)}
.table-wrap tr:last-child td{border-bottom:none}
.table-wrap td:first-child{color:var(--text);font-weight:500}

/* ---------- 面包屑(博客文章页) ---------- */
.crumbs{margin-top:24px;font-family:var(--font-mono);font-size:12.5px;color:var(--text-muted)}
.crumbs a{color:var(--text-muted)}
.crumbs a:hover{color:var(--accent-dark)}
.crumbs em{font-style:normal;color:var(--hash);padding:0 6px}

/* ---------- 正文排版(教程/文章/深文档) ---------- */
.prose{line-height:1.95}
.prose h2{font-size:22px;font-weight:700;margin-top:2.2em;margin-bottom:.7em;padding-bottom:.4em;border-bottom:1px solid var(--border)}
.prose h2::before{content:"## ";color:var(--hash);font-weight:800}
.prose h3{font-size:17px;font-weight:700;margin-top:1.8em;margin-bottom:.6em}
.prose h3::before{content:"### ";color:var(--hash);font-weight:800}
.prose p{margin-bottom:1em}
.prose a{color:var(--accent-dark);border-bottom:1px solid var(--heat-1)}
.prose a:hover{border-bottom-color:var(--accent-dark)}
.prose ul{list-style:none;margin-bottom:1.2em}
.prose ul>li{position:relative;padding-left:22px;margin-bottom:.5em}
.prose ul>li::before{content:"";position:absolute;left:4px;top:.72em;width:7px;height:7px;border-radius:2px;background:var(--heat-2)}
.prose ol{list-style:none;counter-reset:step;margin-bottom:1.2em}
.prose ol>li{counter-increment:step;position:relative;padding-left:40px;margin-bottom:.9em}
.prose ol>li::before{content:counter(step);position:absolute;left:0;top:.2em;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bg-panel2);border:1px solid var(--heat-1);color:var(--accent-dark);font-family:var(--font-mono);font-size:12.5px;font-weight:700}
.prose blockquote{border-left:3px solid var(--heat-1);background:var(--bg-panel);border-radius:0 var(--radius) var(--radius) 0;padding:12px 18px;color:var(--text-muted);margin-bottom:1.2em}
.prose pre{margin-bottom:1.2em}
.prose .table-wrap{margin-bottom:1.2em}

/* ---------- 文末下载引导卡 ---------- */
.post-cta{border:1px solid var(--heat-1);background:var(--bg-panel2);border-radius:var(--radius);padding:22px 24px;margin-top:36px}
.post-cta-title{font-size:17px;font-weight:700;margin-bottom:6px}
.post-cta-text{font-size:13.5px;color:var(--text-muted);margin-bottom:16px;max-width:48em}
.post-cta-acts{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- 上一篇/下一篇 ---------- */
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
.post-nav>*{min-width:0}
.post-nav a{display:block;border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;transition:background-color .15s ease}
.post-nav a:hover{background:var(--bg-panel)}
.pn-label{display:block;font-family:var(--font-mono);font-size:11.5px;color:var(--text-muted);margin-bottom:4px}
.pn-title{font-size:13.5px;font-weight:600;color:var(--text)}
@media (max-width:560px){.post-nav{grid-template-columns:1fr}}

/* ---------- 右下角常驻下载浮层 ---------- */
.dl-fab{position:fixed;right:28px;bottom:28px;z-index:80;display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:var(--on-accent);font-size:14px;font-weight:600;padding:12px 20px;border-radius:var(--radius-pill);transition:background-color .15s ease}
.dl-fab:hover{background:var(--accent-dark)}
.dl-fab svg{width:15px;height:15px;flex-shrink:0}
@media (max-width:640px){.dl-fab{right:16px;bottom:16px;padding:11px 17px}}

/* ---------- 文末下载弹窗(本站抽中 showDlModal) ---------- */
.dlm-veil{position:fixed;inset:0;z-index:90;background:var(--veil);display:none;align-items:center;justify-content:center;padding:20px}
.dlm-veil.open{display:flex}
.dlm{position:relative;width:min(420px,100%);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:26px 26px 22px}
.dlm-close{position:absolute;top:10px;right:10px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:none;border:none;border-radius:var(--radius);color:var(--text-muted);font-size:18px;line-height:1;cursor:pointer}
.dlm-close:hover{background:var(--bg-panel);color:var(--text)}
.dlm-title{font-size:18px;font-weight:700;margin-bottom:8px}
.dlm-text{font-size:13.5px;color:var(--text-muted);line-height:1.85;margin-bottom:18px}
.dlm-acts{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- 色板展示(design-preview / 内部文档用) ---------- */
.swatch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.swatch{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg)}
.swatch-chip{height:60px}
.swatch-meta{padding:8px 10px;font-family:var(--font-mono);font-size:11px;color:var(--text-muted);border-top:1px solid var(--border)}
.sw-bg{background:var(--bg)}
.sw-panel{background:var(--bg-panel)}
.sw-panel2{background:var(--bg-panel2)}
.sw-border{background:var(--border)}
.sw-accent{background:var(--accent)}
.sw-accent-dark{background:var(--accent-dark)}
.sw-text{background:var(--text)}
.sw-text-muted{background:var(--text-muted)}
.sw-hash{background:var(--hash)}
.sw-warn{background:var(--warn)}
.sw-error{background:var(--error)}
.sw-info{background:var(--info)}
.sw-ink{background:var(--ink)}
.sw-heat0{background:var(--heat-0)}
.sw-heat1{background:var(--heat-1)}
.sw-heat2{background:var(--heat-2)}
.sw-heat3{background:var(--heat-3)}