/* ============================================================
   ColrShift — "The Mixing Room" 调色工房 / 浅色宽幅
   设计隐喻：颜色工坊的调色台。印刷网点底纹（颜色配对的
   registration mark），色值卡是颜料编号牌，和谐配色行是
   颜料色带（paint strip），对比度面板即打样签样。
   字体：Bricolage Grotesque（展示）+ Manrope（正文）+ Space Mono（色值）。
   ============================================================ */

:root {
  --paper: #f5f1e8;
  --paper-2: #ece7d9;
  --card: #fffdf7;
  --card-2: #f7f3e9;

  --ink: #26221c;
  --ink-soft: #5b554a;
  --ink-faint: #8f887a;

  --red: #c2452d;            /* 铬红 */
  --red-deep: #9a3521;
  --red-soft: rgba(194, 69, 45, .08);
  --red-line: rgba(194, 69, 45, .28);

  --teal: #1f6f6b;
  --teal-soft: rgba(31, 111, 107, .09);

  --gold: #b98a1e;
  --gold-soft: rgba(185, 138, 30, .12);

  --line: #e2dbc8;
  --line-2: #d3c9ae;

  --radius: 14px;
  --radius-sm: 9px;
  --max-width: 1560px;
  --mono: "Space Mono", "SF Mono", Consolas, monospace;
  --sans: "Manrope", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "PingFang SC", "Microsoft YaHei", sans-serif;

  --shadow-sm: 0 1px 2px rgba(38, 34, 28, .05), 0 4px 12px rgba(38, 34, 28, .06);
  --shadow-md: 0 2px 6px rgba(38, 34, 28, .07), 0 18px 44px rgba(38, 34, 28, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(rgba(38, 34, 28, .045) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(1200px 500px at 50% -8%, rgba(31, 111, 107, .05), transparent 60%),
    var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

.inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--red); }
code { font-family: var(--mono); font-size: .86em; background: var(--card-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-img { width: 38px; height: 38px; display: block; }
.cs-tag {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--red); border: 1.5px solid var(--red-line); border-radius: 5px;
  padding: 2px 7px; margin-left: 2px; transform: translateY(-1px);
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--red); }

.menu-btn { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: 8px; width: 42px; height: 38px; cursor: pointer; padding: 9px 10px; }
.menu-btn .bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* ---------- 标题条（极简，工具优先） ---------- */
.title-strip { padding: 26px 0 18px; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--red); }
.title-sub { color: var(--ink-soft); font-size: 15px; max-width: 560px; }
.title-rule { margin-top: 16px; border-top: 2.5px solid var(--ink); position: relative; }
.title-rule::after {
  content: ""; position: absolute; left: 0; right: 0; top: 3px;
  border-top: 1.5px solid var(--red);
}

/* ---------- 工具区 ---------- */
.tool-section { padding: 10px 0 30px; }

/* 输入行：输入卡 + 预览色板 */
.input-row { display: grid; grid-template-columns: 1fr 220px; gap: 18px; }
.input-card {
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.input-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px;
  display: flex; justify-content: space-between; align-items: center;
}
.fbadge {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; border-radius: 20px;
  padding: 2px 10px; border: 1.5px solid; text-transform: none;
}
.fbadge.ok { color: var(--teal); border-color: rgba(31, 111, 107, .4); background: var(--teal-soft); }
.fbadge.bad { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }

.input-line { display: flex; gap: 10px; }
#color-input {
  flex: 1; font-family: var(--mono); font-size: 19px; color: var(--ink);
  background: var(--card-2); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 13px 16px; outline: none; transition: border-color .15s, box-shadow .15s;
  min-width: 0;
}
#color-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.input-actions { display: flex; gap: 8px; }
.btn {
  font-family: var(--sans); font-weight: 700; font-size: 13.5px; cursor: pointer;
  border-radius: var(--radius-sm); padding: 0 16px; border: 1.5px solid transparent;
  transition: transform .12s, box-shadow .12s, background .12s;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--red); border-color: var(--red-line); }
.btn-random, .btn-clear { padding: 0 13px; }

.eg-row { margin-top: 11px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.eg-label { font-size: 12px; color: var(--ink-faint); font-weight: 600; margin-right: 3px; }
.eg-chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 20px; padding: 3px 11px;
  transition: border-color .12s, color .12s;
}
.eg-chip:hover { border-color: var(--red-line); color: var(--red); }

/* 预览色板 */
.preview {
  border-radius: var(--radius); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; overflow: hidden; transition: background .25s;
  background: repeating-linear-gradient(45deg, #efe9da 0 10px, #e6dfcd 10px 20px);
}
#preview-hex { font-family: var(--mono); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
#preview-name { font-family: var(--mono); font-size: 11.5px; opacity: .85; }

/* 四空间数值卡 */
.values-grid {
  margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  transition: opacity .2s;
}
.dimmed { opacity: .35; pointer-events: none; }
.val-card {
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 14px 16px 12px; cursor: pointer; text-align: left; position: relative;
  font-family: var(--sans); transition: transform .12s, box-shadow .12s, border-color .12s;
  display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.val-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--red-line); }
.vc-label { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-faint); }
.vc-value { font-family: var(--mono); font-size: 15.5px; font-weight: 700; color: var(--ink); word-break: break-all; }
.vc-copy {
  position: absolute; right: 12px; top: 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; color: var(--ink-faint); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 6px; opacity: 0; transition: opacity .12s;
}
.val-card:hover .vc-copy { opacity: 1; }
/* 每张卡顶部一根对应空间的色条（工房色号牌） */
.val-card::before { content: ""; height: 4px; border-radius: 4px; margin-bottom: 2px; }
.val-card:nth-child(1)::before { background: var(--red); }
.val-card:nth-child(2)::before { background: var(--teal); }
.val-card:nth-child(3)::before { background: var(--gold); }
.val-card:nth-child(4)::before { background: var(--ink); }

/* ---------- 对比度打样区 ---------- */
.block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 30px 0 14px; gap: 16px; flex-wrap: wrap;
}
.block-title {
  font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 10px;
}
.block-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.block-note { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: .06em; }

.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-panel {
  border-radius: var(--radius); border: 1.5px solid var(--line-2); overflow: hidden;
  padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 12px;
}
.cp-sample { display: flex; align-items: baseline; gap: 16px; }
.cp-aa { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.cp-line { font-size: 14px; font-weight: 600; }
.cp-meta { display: flex; justify-content: space-between; align-items: baseline; }
.cp-bg { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.cp-ratio { font-family: var(--mono); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.cp-badges { display: flex; gap: 7px; flex-wrap: wrap; }
/* 黑底面板：标签/数值/徽章切换浅色（深墨字在纯黑上不可读） */
.cp-panel.cp-dark { color: #f2ede0; }
.cp-panel.cp-dark .cp-bg { opacity: .72; }
.cp-panel.cp-dark .badge.pass { color: #7ee2a8; border-color: rgba(126, 226, 168, .5); background: rgba(24, 94, 60, .45); }
.cp-panel.cp-dark .badge.fail { color: #ffb3a6; border-color: rgba(255, 179, 166, .55); background: transparent; }
.badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  border-radius: 20px; padding: 3px 10px; border: 1.5px solid;
}
.badge.pass { color: #14664d; border-color: rgba(20, 102, 77, .45); background: rgba(20, 102, 77, .1); }
.badge.fail { color: var(--red-deep); border-color: var(--red-line); background: transparent; }

.brightness-row { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
.brightness-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.brightness-bar { flex: 1; height: 12px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
#brightness-fill {
  height: 100%; width: 0; border-radius: 8px;
  background: linear-gradient(90deg, var(--ink), var(--red));
  transition: width .3s;
}
#brightness-val { font-family: var(--mono); font-size: 13px; font-weight: 700; min-width: 52px; text-align: right; }

/* ---------- 和谐配色（颜料色带） ---------- */
.h-rows { display: flex; flex-direction: column; gap: 10px; }
.h-row {
  display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: center;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.h-label strong { display: block; font-family: var(--display); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.h-label span { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .05em; }
.h-chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip { width: 92px; cursor: pointer; position: relative; }
.chip-color {
  height: 58px; border-radius: 7px 7px 4px 4px; border: 1px solid rgba(38, 34, 28, .14);
  transition: transform .13s, box-shadow .13s;
}
.chip:hover .chip-color { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.chip-use {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 6px;
  border: none; cursor: pointer; font-size: 13px; line-height: 1;
  background: rgba(255, 253, 247, .92); color: var(--ink); opacity: 0;
  transition: opacity .12s; box-shadow: var(--shadow-sm);
}
.chip:hover .chip-use { opacity: 1; }
.chip-use:hover { background: var(--red); color: #fff; }
.chip-hex {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--ink-soft); text-align: center; margin-top: 5px; letter-spacing: .02em;
}
.chip:hover .chip-hex { color: var(--red); }

/* ---------- 内容区 ---------- */
.content-section { padding: 46px 0 8px; }
.sec-no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--red); text-transform: uppercase; }
.content-section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.02em; margin: 6px 0 10px; }
.sec-sub { color: var(--ink-soft); max-width: 860px; margin-bottom: 26px; }

.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.space-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.space-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.sc-dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(38,34,28,.2); flex: none; }
.space-card p { font-size: 13.5px; color: var(--ink-soft); }
.sc-val { font-family: var(--mono); font-size: 13px; font-weight: 700; margin: 10px 0 8px; color: var(--ink); }

.thresholds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.th-card {
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: 14px 16px;
  background: var(--card);
}
.th-ratio { font-family: var(--mono); font-weight: 700; font-size: 24px; }
.th-name { font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.th-note { font-size: 12px; color: var(--ink-faint); margin-top: 3px; }

.harmony-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.har-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; }
.har-card h3 { font-family: var(--display); font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.har-card .har-f { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .04em; margin-bottom: 8px; }
.har-card p { font-size: 13px; color: var(--ink-soft); }
.har-strip { display: flex; height: 30px; border-radius: 6px; overflow: hidden; margin-top: 10px; border: 1px solid rgba(38,34,28,.15); }
.har-strip span { flex: 1; }

/* ---------- FAQ ---------- */
.faq-block { display: flex; flex-direction: column; gap: 10px; max-width: 980px; }
details {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden;
}
details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 15px 20px;
  list-style: none; position: relative; user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 19px; color: var(--red); transition: transform .18s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 20px 17px; color: var(--ink-soft); font-size: 14.5px; max-width: 880px; }

/* ---------- 文章列表 ---------- */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.article-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: transform .13s, box-shadow .13s, border-color .13s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red-line); }
.article-card h3 { font-size: 16px; font-weight: 700; line-height: 1.45; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--red); }
.article-card .a-date { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .08em; margin-bottom: 8px; display: block; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 56px; border-top: 2px solid var(--ink); background: var(--card-2); }
.site-footer .inner { padding: 28px 32px 26px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover { color: var(--red); }
.copyright { font-size: 13px; color: var(--ink-faint); }
.colophon { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 5px; letter-spacing: .03em; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 18px);
  background: var(--ink); color: var(--card); font-family: var(--mono); font-size: 13px;
  padding: 10px 20px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s; z-index: 100; box-shadow: var(--shadow-md);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid, .thresholds { grid-template-columns: repeat(2, 1fr); }
  .harmony-grid { grid-template-columns: repeat(2, 1fr); }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .input-row { grid-template-columns: 1fr 170px; }
  .h-row { grid-template-columns: 170px 1fr; }
}
@media (max-width: 760px) {
  .inner { padding: 0 16px; }

  /* 头部：允许换行 + 收缩 logo，杜绝横向滚动（工具页 logo+汉堡一行；合规页导航换到第二行） */
  .site-header .inner { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 6px; }
  .logo { font-size: 18px; gap: 9px; }
  .logo-img { width: 32px; height: 32px; }
  .cs-tag { display: none; }

  /* 标题条收紧 */
  .title-strip { padding: 18px 0 14px; }
  .title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  h1 { font-size: 24px; }
  .title-sub { font-size: 14px; max-width: none; }

  /* 输入卡：输入框独占一行，按钮换行平分 */
  .input-card { padding: 14px 16px; }
  .input-line { flex-wrap: wrap; }
  #color-input { flex: 1 1 100%; font-size: 16px; padding: 12px 14px; }
  .input-actions { width: 100%; }
  .input-actions .btn { flex: 1; justify-content: center; height: 44px; }
  .eg-row { gap: 6px; }

  .preview { min-height: 108px; }
  #preview-hex { font-size: 19px; }

  /* 数值卡：2 列更紧凑（长值自动换行） */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .val-card { padding: 12px 12px 10px; }
  .vc-value { font-size: 13px; }

  /* 对比度打样：字号内边距收紧，示例文字允许换行 */
  .contrast-grid { grid-template-columns: 1fr; gap: 10px; }
  .cp-panel { padding: 15px 16px 13px; gap: 10px; }
  .cp-aa { font-size: 38px; }
  .cp-sample { gap: 12px; }
  .cp-line { font-size: 13px; }
  .cp-ratio { font-size: 20px; }
  .badge { font-size: 10px; padding: 2px 8px; }

  /* 和谐色带：chip 收窄，换行自然 */
  .h-row { grid-template-columns: 1fr; gap: 8px; padding: 11px 13px; }
  .h-label strong { font-size: 15px; }
  .h-chips { gap: 8px; }
  .chip { width: 76px; }
  .chip-color { height: 46px; }
  .chip-hex { font-size: 10px; }

  .space-grid, .thresholds, .harmony-grid, .article-list { grid-template-columns: 1fr; }
  .content-section { padding: 28px 0 4px; }
  .content-section h2 { font-size: 22px; }
  .block-head { margin-top: 24px; }
  .block-title { font-size: 18px; }
  summary { font-size: 14.5px; padding: 13px 16px; }
  summary::after { right: 14px; }
  details p { padding: 0 16px 14px; font-size: 14px; }
  .site-footer .inner { padding: 22px 16px 20px; }
  .footer-links { gap: 14px 18px; }

  /* 汉堡菜单（工具页） */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--card);
    border-bottom: 2px solid var(--ink); padding: 6px 16px 10px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 12px 2px; font-size: 15.5px; }
  .menu-btn { display: block; }
}
/* 无汉堡按钮的页面（合规页/文章页）：导航换行到第二行，可见压缩 */
@media (max-width: 760px) {
  .site-header:not(:has(.menu-btn)) .nav-links {
    display: flex; position: static; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap;
    gap: 6px 16px; background: none; border: none; padding: 0 0 2px;
  }
  .site-header:not(:has(.menu-btn)) .nav-links li { border-bottom: none; }
  .site-header:not(:has(.menu-btn)) .nav-links a { padding: 4px 0; font-size: 13.5px; }
}
/* 触屏设备：hover 才出现的控件常显（否则 ↺/copy 在手机上不可见不可用） */
@media (hover: none) {
  .chip-use { opacity: 1; }
  .vc-copy { opacity: 1; }
}
@media (max-width: 400px) {
  /* 超窄屏（iPhone SE 1st gen 等）：chip 再收一档 */
  .chip { width: 68px; }
  .values-grid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
