/* 清录官网 —— 「取景框」视觉：暖白纸色、墨色文字、录制红点、选区蓝框
   现代特性均为渐进增强：滚动驱动动画、视图过渡、light-dark()、容器查询单位、::details-content */

/* ---------- 设计令牌 ---------- */
:root {
  --paper-l: oklch(98.6% 0.004 95);
  --paper-d: oklch(17% 0.008 265);
  --paper2-l: oklch(96.4% 0.006 95);
  --paper2-d: oklch(20.5% 0.009 265);
  --card-l: oklch(99.6% 0.002 95);
  --card-d: oklch(23% 0.01 265);
  --ink-l: oklch(21% 0.012 265);
  --ink-d: oklch(96.5% 0.004 95);
  --ink2-l: oklch(43% 0.012 265);
  --ink2-d: oklch(78% 0.008 265);
  --ink3-l: oklch(52% 0.01 265);
  --ink3-d: oklch(66% 0.008 265);
  --line-l: oklch(90.5% 0.006 95);
  --line-d: oklch(29% 0.01 265);
  --line2-l: oklch(83% 0.008 95);
  --line2-d: oklch(38% 0.012 265);
  --red-l: oklch(60% 0.215 27);
  --red-d: oklch(68% 0.2 25);
  --sel-l: oklch(56% 0.19 257);
  --sel-d: oklch(70% 0.16 252);
  --key-l: oklch(99.5% 0.002 95);
  --key-d: oklch(30% 0.01 265);

  --paper: var(--paper-l);
  --paper-2: var(--paper2-l);
  --card: var(--card-l);
  --ink: var(--ink-l);
  --ink-2: var(--ink2-l);
  --ink-3: var(--ink3-l);
  --line: var(--line-l);
  --line-2: var(--line2-l);
  --red: var(--red-l);
  --sel: var(--sel-l);
  --key: var(--key-l);

  /* 旧浏览器：没有 light-dark() 时用媒体查询切换 */
  @media (prefers-color-scheme: dark) {
    --paper: var(--paper-d);
    --paper-2: var(--paper2-d);
    --card: var(--card-d);
    --ink: var(--ink-d);
    --ink-2: var(--ink2-d);
    --ink-3: var(--ink3-d);
    --line: var(--line-d);
    --line-2: var(--line2-d);
    --red: var(--red-d);
    --sel: var(--sel-d);
    --key: var(--key-d);
  }
  @supports (color: light-dark(white, black)) {
    --paper: light-dark(var(--paper-l), var(--paper-d));
    --paper-2: light-dark(var(--paper2-l), var(--paper2-d));
    --card: light-dark(var(--card-l), var(--card-d));
    --ink: light-dark(var(--ink-l), var(--ink-d));
    --ink-2: light-dark(var(--ink2-l), var(--ink2-d));
    --ink-3: light-dark(var(--ink3-l), var(--ink3-d));
    --line: light-dark(var(--line-l), var(--line-d));
    --line-2: light-dark(var(--line2-l), var(--line2-d));
    --red: light-dark(var(--red-l), var(--red-d));
    --sel: light-dark(var(--sel-l), var(--sel-d));
    --key: light-dark(var(--key-l), var(--key-d));
  }

  color-scheme: light dark;
  accent-color: var(--sel);

  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --sec-pad: clamp(5rem, 3rem + 7vw, 9.5rem);
  --radius: clamp(14px, 1rem + 0.6vw, 22px);
  --hud: oklch(23% 0.01 265 / 0.94);
  --hud-ink: oklch(97% 0.003 95);
  --dim: oklch(14% 0.01 265 / 0.46);
  --green: oklch(68% 0.17 150);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
  @media (prefers-reduced-motion: no-preference) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in oklab, var(--sel) 28%, transparent); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  &:focus { top: 1rem; }
}
:focus-visible { outline: 2px solid var(--sel); outline-offset: 3px; border-radius: 6px; }

kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  padding: 0.02em 0.42em 0.06em;
  border-radius: 0.38em;
  background: var(--key);
  box-shadow: 0 0 0 1px var(--line-2), 0 1.5px 0 1px var(--line-2);
  font-family: var(--font);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  white-space: nowrap;
  vertical-align: 0.06em;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-block-size: 2.75rem;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.25s, color 0.2s, translate 0.25s var(--ease-out), scale 0.15s;
  &:active { scale: 0.97; }
}
.btn-lg { min-block-size: 3.25rem; padding-inline: 1.5rem; font-size: 1.0625rem; }
.btn-sm { min-block-size: 2.25rem; padding: 0.35rem 0.95rem; font-size: 0.9375rem; }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  &:hover {
    translate: 0 -1px;
    box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--ink) 70%, transparent);
  }
}
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  &:hover { box-shadow: inset 0 0 0 1px var(--ink-3); background: color-mix(in oklab, var(--ink) 4%, transparent); }
}
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------- 顶部 ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: var(--red);
  transform-origin: 0 50%;
  scale: 0 1;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 74%, transparent);
  -webkit-backdrop-filter: saturate(1.7) blur(16px);
  backdrop-filter: saturate(1.7) blur(16px);
  border-bottom: 1px solid transparent;
  view-transition-name: site-header;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-block-size: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  img { width: 28px; height: 28px; }
}
.site-nav { margin-left: auto; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 2.25rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  font-size: 0.9375rem;
  font-weight: 550;
  cursor: pointer;
}
.nav-list {
  /* 窄屏：弹出菜单（popover） */
  inset: auto;
  position: fixed;
  top: 4.25rem;
  right: var(--gutter);
  margin: 0;
  min-inline-size: 11rem;
  padding: 0.4rem;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px -18px oklch(20% 0.02 265 / 0.35);
  a {
    display: block;
    padding: 0.55rem 0.9rem;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 550;
    &:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
  }
  @media (prefers-reduced-motion: no-preference) {
    transition: opacity 0.18s, translate 0.25s var(--ease-out), display 0.25s allow-discrete, overlay 0.25s allow-discrete;
    &:popover-open {
      @starting-style { opacity: 0; translate: 0 -6px; }
    }
  }
}
/* 宽屏：同一个列表直接排成一行（脚本测量放得下时加 is-wide，并去掉 popover 属性） */
.site-header.is-wide {
  .nav-toggle { display: none; }
  .nav-list {
    position: static;
    display: flex;
    gap: 0.25rem;
    padding: 0;
    min-inline-size: 0;
    background: none;
    box-shadow: none;
    a { padding: 0.4rem 0.8rem; font-size: 0.9688rem; font-weight: 500; color: var(--ink-2); }
    a:hover { color: var(--ink); }
  }
}
.site-header.is-measuring * { transition: none !important; }
.nav-cta { flex: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 6rem);
  isolation: isolate;
  &::before {
    /* 极淡的坐标网格：像截图时的放大镜底纹 */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 48px,
      linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 100%;
    opacity: 0.55;
    mask-image: radial-gradient(70% 60% at 72% 18%, #000, transparent 75%);
  }
}
.hero-copy { position: relative; max-inline-size: 60rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  padding: 0.3rem 0.85rem 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink-2);
}
.rec-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--red) 18%, transparent);
  @media (prefers-reduced-motion: no-preference) {
    animation: rec-blink 1.6s ease-in-out 3;
  }
}
@keyframes rec-blink { 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(2.75rem, 1.4rem + 5.4vw, 6.25rem);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: clamp(2.6rem, 2rem + 2vw, 3.4rem);
}
.framed { position: relative; display: inline-block; }
.framed-ui {
  position: absolute;
  inset: 0.06em -0.16em -0.02em -0.1em;
  border: 2px solid var(--sel);
  pointer-events: none;
  @media (prefers-reduced-motion: no-preference) {
    animation: marquee-drag 0.75s var(--ease-out) 0.35s both;
  }
}
@keyframes marquee-drag {
  from { scale: 0.04 0.12; opacity: 0; }
  30% { opacity: 1; }
}
.framed-ui { transform-origin: 0 0; }
.hd {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--sel);
  &.nw { left: 0; top: 0; }
  &.n { left: 50%; top: 0; }
  &.ne { left: 100%; top: 0; }
  &.e { left: 100%; top: 50%; }
  &.se { left: 100%; top: 100%; }
  &.s { left: 50%; top: 100%; }
  &.sw { left: 0; top: 100%; }
  &.w { left: 0; top: 50%; }
}
.framed-size {
  position: absolute;
  left: -2px;
  top: calc(100% + 12px);
  padding: 0.25rem 0.55rem;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  @media (prefers-reduced-motion: no-preference) {
    animation: fade-up 0.5s var(--ease-out) 1.05s both;
  }
}
@keyframes fade-up { from { opacity: 0; translate: 0 6px; } }

.lead {
  max-inline-size: 34em;
  font-size: clamp(1.0625rem, 0.98rem + 0.42vw, 1.3rem);
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }
.hero-meta { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-3); }
.try {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.2rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
  .ico { color: var(--sel); }
}
@media (hover: hover) and (pointer: fine) {
  .try { display: inline-flex; }
  .hero { cursor: crosshair; }
  .hero :is(a, button) { cursor: pointer; }
}

/* ---------- 首屏画面（全部用容器单位，任何宽度下按比例缩放） ---------- */
.stage {
  position: relative;
  container-type: inline-size;
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px oklch(20% 0.02 265 / 0.08),
    0 2px 4px oklch(20% 0.02 265 / 0.05),
    0 30px 80px -30px oklch(25% 0.04 265 / 0.35);
  font-family: var(--font);
  color: oklch(22% 0.012 265);
  user-select: none;
  @media (prefers-reduced-motion: no-preference) {
    animation: stage-in 1s var(--ease-out) 0.15s both;
  }
}
@keyframes stage-in { from { opacity: 0; translate: 0 28px; } }
.desk {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 70% at 12% 8%, oklch(94% 0.035 85) 0%, transparent 62%),
    radial-gradient(60% 80% at 92% 96%, oklch(44% 0.07 262) 0%, transparent 70%),
    radial-gradient(45% 55% at 78% 22%, oklch(80% 0.08 48 / 0.9) 0%, transparent 70%),
    linear-gradient(158deg, oklch(87% 0.045 78) 0%, oklch(75% 0.075 42) 46%, oklch(55% 0.065 262) 100%);
}
.menubar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 2.6cqi;
  padding: 0 1.6cqi;
  background: oklch(100% 0 0 / 0.34);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 1.05cqi;
  font-weight: 550;
  .mb-l { display: flex; gap: 1.4cqi; }
  .mb-l b { width: 3.2cqi; height: 0.75cqi; border-radius: 1cqi; background: oklch(20% 0.01 265 / 0.55); }
  .mb-l b:first-child { width: 1.4cqi; }
  .mb-r { display: flex; align-items: center; gap: 1.3cqi; }
  i { display: block; width: 1.5cqi; height: 1.1cqi; border-radius: 0.25cqi; background: oklch(20% 0.01 265 / 0.6); }
  .mb-icon {
    width: 1.25cqi; height: 1.25cqi; background: none;
    border: 0.16cqi solid oklch(20% 0.01 265 / 0.75); border-radius: 0.3cqi;
    box-shadow: inset 0 0 0 0.32cqi transparent, inset 0 0 0 10cqi transparent;
    position: relative;
  }
  .mb-icon::after { content: ""; position: absolute; inset: 0.32cqi; border-radius: 50%; background: oklch(62% 0.2 27); }
  .mb-wifi { width: 1.4cqi; border-radius: 1cqi 1cqi 0.2cqi 0.2cqi; }
  .mb-batt { width: 2.1cqi; height: 1cqi; }
}
.win {
  position: absolute;
  left: 9cqi;
  top: 6.5cqi;
  width: 82cqi;
  height: 52cqi;
  display: grid;
  grid-template-columns: 13cqi 1fr;
  grid-template-rows: 3.6cqi 1fr;
  border-radius: 1.1cqi;
  background: oklch(99.4% 0.002 95);
  box-shadow: 0 0 0 0.08cqi oklch(20% 0.02 265 / 0.16), 0 2.6cqi 6cqi -1.5cqi oklch(22% 0.04 265 / 0.45);
}
.win-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75cqi;
  padding: 0 1.3cqi;
  border-radius: 1.1cqi 1.1cqi 0 0;
  background: oklch(96% 0.004 95);
  box-shadow: inset 0 -0.08cqi 0 oklch(88% 0.006 95);
  font-size: 1.1cqi;
  font-weight: 600;
  color: oklch(40% 0.012 265);
  i { width: 1.05cqi; height: 1.05cqi; border-radius: 50%; background: oklch(70% 0.19 27); }
  i:nth-child(2) { background: oklch(82% 0.16 85); }
  i:nth-child(3) { background: oklch(74% 0.17 145); }
  span { margin-left: 1.2cqi; }
}
.win-side {
  display: flex;
  flex-direction: column;
  padding: 1.4cqi 0.9cqi;
  gap: 0.25cqi;
  border-radius: 0 0 0 1.1cqi;
  background: oklch(97.2% 0.004 95);
  box-shadow: inset -0.08cqi 0 0 oklch(90% 0.006 95);
  b {
    padding: 0.45cqi 0.9cqi;
    border-radius: 0.6cqi;
    font-size: 1.08cqi;
    font-weight: 500;
    color: oklch(38% 0.012 265);
  }
  b.on { background: oklch(91% 0.04 257); color: oklch(45% 0.17 257); font-weight: 650; }
}
.rep { position: relative; }
.rep-head {
  position: absolute;
  left: 3cqi;
  top: 2.6cqi;
  width: 63cqi;
  height: 3.2cqi;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  strong { font-size: 1.95cqi; font-weight: 650; letter-spacing: -0.01em; }
  span { font-size: 1cqi; color: oklch(55% 0.01 265); }
}
.kpi {
  position: absolute;
  top: 7.8cqi;
  width: 19.93cqi;
  height: 7.2cqi;
  padding: 1.2cqi 1.4cqi;
  border-radius: 0.9cqi;
  background: oklch(97.6% 0.004 95);
  box-shadow: inset 0 0 0 0.08cqi oklch(91% 0.006 95);
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  span { grid-column: 1 / -1; font-size: 1.02cqi; color: oklch(50% 0.012 265); }
  b { font-size: 2.55cqi; font-weight: 650; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  em { align-self: end; font-size: 0.98cqi; font-style: normal; font-weight: 650; color: oklch(55% 0.15 150); }
  em.down { color: oklch(58% 0.19 27); }
  &.k1 { left: 3cqi; }
  &.k2 { left: 24.53cqi; }
  &.k3 { left: 46.07cqi; }
}
.chart {
  position: absolute;
  left: 3cqi;
  top: 16.8cqi;
  width: 63cqi;
  height: 13cqi;
  svg { width: 100%; height: 100%; overflow: visible; }
  .area { fill: oklch(62% 0.16 257 / 0.13); }
  .line { fill: none; stroke: oklch(56% 0.19 257); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
  .base { stroke: oklch(88% 0.006 95); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .lbl { position: absolute; bottom: -1.7cqi; font-size: 0.9cqi; color: oklch(58% 0.01 265); }
  .l1 { left: 0; }
  .l2 { left: 46%; }
  .l3 { right: 0; }
}
.tbl {
  position: absolute;
  left: 3cqi;
  top: 31.6cqi;
  width: 63cqi;
  .tr {
    display: grid;
    grid-template-columns: 28% 32% 1fr;
    align-items: center;
    height: 3cqi;
    padding: 0 0.6cqi;
    font-size: 1.05cqi;
    box-shadow: inset 0 -0.08cqi 0 oklch(92% 0.005 95);
    font-variant-numeric: tabular-nums;
  }
  .tr span:last-child { text-align: right; }
  .th { color: oklch(55% 0.01 265); font-size: 0.95cqi; font-weight: 600; }
}
.sel {
  position: absolute;
  left: 23.8cqi;
  top: 16.7cqi;
  width: 65.4cqi;
  height: 32cqi;
  outline: max(1.5px, 0.14cqi) solid oklch(62% 0.18 255);
  box-shadow: 0 0 0 200cqi var(--dim);
  transform-origin: 0 0;
  @media (prefers-reduced-motion: no-preference) {
    animation: sel-drag 0.8s var(--ease-out) 0.85s both;
  }
  .hd { width: 1cqi; height: 1cqi; margin: -0.5cqi 0 0 -0.5cqi; border-width: max(1.5px, 0.14cqi); background: #fff; border-color: oklch(62% 0.18 255); }
}
@keyframes sel-drag {
  from { scale: 0.05 0.06; box-shadow: 0 0 0 200cqi transparent; }
  35% { box-shadow: 0 0 0 200cqi var(--dim); }
}
.sel-size {
  position: absolute;
  left: -0.1cqi;
  bottom: calc(100% + 0.8cqi);
  padding: 0.3cqi 0.75cqi;
  border-radius: 0.6cqi;
  background: oklch(20% 0.01 265 / 0.86);
  color: #fff;
  font-size: 1.1cqi;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.marks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  .m-rect { fill: none; stroke: oklch(62% 0.22 27); stroke-width: 4; stroke-dasharray: 600; stroke-dashoffset: 0; }
  .m-arrow { fill: oklch(62% 0.22 27); transform-box: fill-box; transform-origin: 0% 100%; }
  .m-num circle { fill: oklch(62% 0.22 27); stroke: #fff; stroke-width: 2.5; }
  .m-num text { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
  .m-num { transform-box: fill-box; transform-origin: 50% 50%; }
  .m-text { fill: oklch(62% 0.22 27); font-size: 21px; font-weight: 700; text-anchor: end; font-family: var(--font); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
  .m-mosaic rect { fill: oklch(72% 0.03 262); }
  .m-mosaic .t2 { fill: oklch(80% 0.025 262); }
  .m-mosaic .t3 { fill: oklch(64% 0.035 262); }
}
.hud {
  position: absolute;
  right: 10.8cqi;
  top: 49.9cqi;
  display: flex;
  align-items: center;
  gap: 0.2cqi;
  height: 4.4cqi;
  padding: 0 0.6cqi;
  border-radius: 1.1cqi;
  background: var(--hud);
  color: var(--hud-ink);
  box-shadow: 0 0 0 0.08cqi oklch(100% 0 0 / 0.1) inset, 0 1.6cqi 4cqi -1cqi oklch(10% 0.02 265 / 0.55);
  .hb { display: grid; place-items: center; width: 3.2cqi; height: 3.2cqi; border-radius: 0.7cqi; }
  .hb svg { width: 1.85cqi; height: 1.85cqi; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .hb.on { background: oklch(100% 0 0 / 0.16); color: oklch(78% 0.13 255); }
  .hb.dim { opacity: 0.35; }
  .hb.ok { width: 3.6cqi; margin-left: 0.3cqi; background: oklch(66% 0.17 150); color: #fff; }
  .hb.ok svg { stroke-width: 2.8; }
  .hs { width: 0.1cqi; height: 2cqi; margin: 0 0.35cqi; background: oklch(100% 0 0 / 0.16); }
}
.tip {
  position: absolute;
  right: 7.6cqi;
  top: 55.1cqi;
  display: flex;
  align-items: center;
  gap: 0.5cqi;
  padding: 0.5cqi 0.9cqi;
  border-radius: 0.7cqi;
  background: var(--hud);
  color: var(--hud-ink);
  font-size: 1.05cqi;
  font-weight: 550;
  white-space: nowrap;
  kbd {
    padding: 0.05cqi 0.45cqi;
    border-radius: 0.4cqi;
    background: oklch(100% 0 0 / 0.14);
    box-shadow: none;
    color: inherit;
    font-size: 0.95cqi;
  }
}
.pointer {
  position: absolute;
  left: 86.3cqi;
  top: 51.6cqi;
  width: 2.3cqi;
  height: 2.3cqi;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 10.5-6.2.6 3.6 7.3-2.6 1.3-3.6-7.4L5.5 20z' fill='%23111' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0.2cqi 0.3cqi oklch(0% 0 0 / 0.3));
}
@media (prefers-reduced-motion: no-preference) {
  .sel-size { animation: fade-up 0.4s var(--ease-out) 1.45s both; }
  .sel .hd { animation: fade 0.3s ease 1.45s both; }
  .hud { animation: hud-in 0.55s var(--ease-out) 1.6s both; }
  .marks .m-rect { stroke-dashoffset: 600; animation: draw 0.55s var(--ease-in-out) 2s forwards; }
  .marks .m-mosaic { animation: fade 0.35s ease 2.25s both; }
  .marks .m-arrow { animation: grow 0.45s var(--ease-out) 2.4s both; }
  .marks .n1 { animation: pop 0.4s var(--ease-out) 2.5s both; }
  .marks .n2 { animation: pop 0.4s var(--ease-out) 2.75s both; }
  .marks .m-text { animation: fade 0.4s ease 2.85s both; }
  .pointer { animation: pointer-in 0.8s var(--ease-out) 3.1s both; }
  .tip { animation: fade-up 0.35s var(--ease-out) 3.7s both; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes hud-in { from { opacity: 0; translate: 0 1.2cqi; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { scale: 0; opacity: 0; } }
@keyframes pop { from { scale: 0.2; opacity: 0; } }
@keyframes pointer-in { from { opacity: 0; translate: -9cqi -7cqi; } }

/* ---------- 通用版块 ---------- */
.sec { padding-block: var(--sec-pad); }
.sec-tint { background: var(--paper-2); }
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  row-gap: 3rem;
  align-items: center;
  .copy { grid-column: 1 / span 5; }
  .viz { grid-column: 7 / span 6; }
  &.flip .copy { grid-column: 8 / span 5; grid-row: 1; }
  &.flip .viz { grid-column: 1 / span 6; grid-row: 1; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--red);
  &::before { content: ""; width: 1.1rem; height: 2px; background: currentColor; }
}
h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.6rem);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.split h2, .dl-copy h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); }
.copy > p, .dr-head > p {
  max-inline-size: 30em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.points {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 1rem;
    text-wrap: pretty;
  }
  b { display: block; margin-bottom: 0.15rem; color: var(--ink); font-weight: 650; }
}
.viz { position: relative; }
/* 取景框四角 */
.crop {
  --c: var(--line-2);
  --l: 22px;
  --w: 2px;
  padding: 26px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) top left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) top right / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}

/* 截图：窗口识别 + 放大镜 */
.loupe-viz { container-type: inline-size; }
.lv-win {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 2cqi;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px oklch(20% 0.03 265 / 0.3);
  &::after {
    /* 自动识别窗口的蓝色高亮 */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: oklch(60% 0.18 257 / 0.12);
    outline: 3px solid oklch(60% 0.18 257 / 0.9);
    outline-offset: -3px;
  }
}
.lv-bar {
  display: flex;
  gap: 1.3cqi;
  padding: 2.6cqi 3cqi;
  border-bottom: 1px solid var(--line);
  i { width: 2cqi; height: 2cqi; border-radius: 50%; background: var(--line-2); }
}
.lv-body {
  display: flex;
  flex-direction: column;
  gap: 2.4cqi;
  padding: 5cqi 6cqi;
  b { height: 2.6cqi; border-radius: 2cqi; background: var(--line); }
  b:first-child { width: 55%; height: 4cqi; background: var(--line-2); }
  b.short { width: 70%; }
}
.lv-btn {
  align-self: flex-start;
  margin-top: 2cqi;
  padding: 1.6cqi 5cqi;
  border-radius: 1.6cqi;
  background: oklch(56% 0.19 257);
  color: #fff;
  font-size: 3.2cqi;
  font-weight: 600;
}
.lv-label {
  position: absolute;
  left: 42%;
  top: 34%;
  translate: -50% -50%;
  z-index: 1;
  padding: 1.6cqi 3.2cqi;
  border-radius: 2cqi;
  background: oklch(20% 0.01 265 / 0.84);
  color: #fff;
  font-size: 3cqi;
  font-weight: 600;
  white-space: nowrap;
}
.loupe {
  position: absolute;
  right: 4%;
  bottom: -2%;
  z-index: 2;
  width: 34cqi;
  border-radius: 3cqi;
  overflow: hidden;
  background: var(--hud);
  box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.12) inset, 0 20px 50px -18px oklch(10% 0.02 265 / 0.55);
  img {
    width: 100%;
    aspect-ratio: 1;
    image-rendering: pixelated;
  }
  &::before {
    /* 像素网格 */
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 1;
    background:
      repeating-linear-gradient(90deg, oklch(0% 0 0 / 0.09) 0 1px, transparent 1px calc(100% / 21)),
      repeating-linear-gradient(oklch(0% 0 0 / 0.09) 0 1px, transparent 1px calc(100% / 21));
  }
  &::after {
    content: "";
    position: absolute;
    left: calc(50% - 50% / 21);
    top: calc(17cqi - 17cqi / 21);
    width: calc(100% / 21);
    aspect-ratio: 1;
    outline: 2px solid oklch(62% 0.18 255);
  }
}
.loupe-info {
  display: grid;
  gap: 0.6cqi;
  padding: 1.8cqi 2.4cqi 2cqi;
  font-size: 2.5cqi;
  font-weight: 600;
  color: var(--hud-ink);
  font-variant-numeric: tabular-nums;
  span:last-child { display: inline-flex; align-items: center; gap: 1cqi; }
  i { width: 2.4cqi; height: 2.4cqi; border-radius: 0.6cqi; background: #1f6feb; box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.3); }
}
.tools {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  border-top: 1px solid var(--line);
  li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 1.15rem 0.9rem 1.15rem 0;
    font-size: 0.9375rem;
    font-weight: 550;
    color: var(--ink-2);
  }
  li + li { padding-left: 0.9rem; box-shadow: inset 1px 0 0 var(--line); }
  .ico { width: 1.25rem; height: 1.25rem; color: var(--ink); }
}

/* 提取文字 */
.ocr-viz {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.doc {
  position: relative;
  padding: clamp(1.2rem, 0.8rem + 1.5vw, 2rem);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px oklch(20% 0.03 265 / 0.35);
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.6;
  .doc-title { font-size: 1.0625rem; font-weight: 650; margin-bottom: 0.9rem; }
  .ln { margin-bottom: 0.45rem; padding: 0 0.2rem; border-radius: 4px; color: var(--ink-2); }
}
.qr {
  position: relative;
  width: 64px;
  height: 64px;
  margin-top: 1rem;
  background:
    repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 8px 8px;
  mask: linear-gradient(#000 0 0);
  opacity: 0.85;
  i {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--card);
    box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 7px var(--card), inset 0 0 0 11px var(--ink);
  }
  i:nth-child(1) { left: 0; top: 0; }
  i:nth-child(2) { right: 0; top: 0; }
  i:nth-child(3) { left: 0; bottom: 0; }
  b { position: absolute; right: 6px; bottom: 6px; width: 12px; height: 12px; background: var(--ink); }
}
.scan {
  position: absolute;
  inset: 0 0 auto;
  height: 38%;
  background: linear-gradient(transparent, oklch(60% 0.18 257 / 0.14) 70%, oklch(60% 0.18 257 / 0.7) 99%, transparent);
  translate: 0 -100%;
  pointer-events: none;
}
.ocr-panel {
  position: relative;
  z-index: 1;
  margin-left: -2.5rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px oklch(20% 0.03 265 / 0.45);
  font-size: 0.8125rem;
  .op-head { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.75rem; font-size: 0.875rem; }
  .op-head .ico { color: var(--sel); }
  .op-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 9px;
    background: color-mix(in oklab, var(--sel) 10%, transparent);
    span { padding: 0 0.4rem; border-radius: 5px; background: var(--sel); color: #fff; font-weight: 600; font-size: 0.75rem; }
    em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  }
  .op-text {
    padding: 0.6rem 0.7rem;
    border-radius: 9px;
    background: var(--paper-2);
    color: var(--ink-2);
    line-height: 1.65;
  }
  .op-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; color: var(--ink-3); }
  .op-ok { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--green); font-weight: 650; }
}

/* 钉图 */
.pin-viz { position: relative; padding: 2rem 0 3rem; }
.sheet {
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px oklch(20% 0.03 265 / 0.35);
  overflow: hidden;
}
.sheet-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--line-2); }
  span { margin-left: 0.5rem; }
}
.sheet-grid {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--sel) 9%, transparent) 0 18%, transparent 18%) 0 0 / 100% 100% no-repeat,
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 2.2rem,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 18% 100%;
}
.pinned {
  position: absolute;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 0 0 1px oklch(20% 0.02 265 / 0.1), 0 26px 50px -18px oklch(15% 0.03 265 / 0.45);
  .pin-dot {
    position: absolute;
    right: -0.6rem;
    top: -0.6rem;
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px -2px color-mix(in oklab, var(--red) 60%, transparent);
  }
  .cap { display: block; margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
  &.p1 { left: -4%; top: 14%; --depth: 1.6; }
  &.p2 { right: -3%; top: 38%; width: 48%; --depth: 0.8; }
  &.p3 { left: 22%; bottom: 0; width: 34%; --depth: 2.2; }
}
.swatches {
  display: flex;
  gap: 0.35rem;
  i { width: 2rem; height: 2.6rem; border-radius: 6px; background: oklch(56% 0.19 257); }
  i:nth-child(2) { background: oklch(62% 0.215 27); }
  i:nth-child(3) { background: oklch(82% 0.15 85); }
  i:nth-child(4) { background: oklch(68% 0.15 150); }
  i:nth-child(5) { background: oklch(25% 0.012 265); }
}
.err {
  display: grid;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--ink-2);
  b { color: var(--red); font-size: 0.9rem; }
  span:last-child { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.72rem; color: var(--ink-3); }
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 4.5rem;
  i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: color-mix(in oklab, var(--sel) 70%, var(--card)); }
  i:nth-child(4) { background: var(--sel); }
}

/* 录屏：暗房 —— 这一块固定深色，便于看清对比 */
.darkroom {
  color-scheme: dark;
  background: oklch(13.5% 0.008 265);
  color: var(--ink);
  @supports not (color: light-dark(white, black)) {
    --paper: var(--paper-d);
    --paper-2: var(--paper2-d);
    --card: var(--card-d);
    --ink: var(--ink-d);
    --ink-2: var(--ink2-d);
    --ink-3: var(--ink3-d);
    --line: var(--line-d);
    --line-2: var(--line2-d);
    --red: var(--red-d);
    --sel: var(--sel-d);
    --key: var(--key-d);
  }
  accent-color: var(--sel);
}
.dr-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  .kicker { grid-column: 1 / -1; }
  h2 { grid-column: 1 / span 6; margin-bottom: 0; }
  p { grid-column: 8 / span 5; }
}
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 2400 / 1520;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.08), 0 40px 100px -40px oklch(0% 0 0 / 0.8);
  background: oklch(20% 0.01 265);
}
.cmp-img {
  position: absolute;
  inset: 0;
  img { width: 100%; height: 100%; object-fit: cover; }
}
.cmp-img.sharp { clip-path: inset(0 0 0 var(--pos)); }
.cmp-tag {
  position: absolute;
  top: 1rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: oklch(15% 0.01 265 / 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: none;
  &.left { left: 1rem; }
  &.right { right: 1rem; }
}
.cmp-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px oklch(0% 0 0 / 0.4);
  pointer-events: none;
  i {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.3rem no-repeat,
      #fff;
    box-shadow: 0 6px 18px oklch(0% 0 0 / 0.35);
    transition: scale 0.2s var(--ease-out);
  }
}
.compare:hover .cmp-line i { scale: 1.08; }
.compare:has(.cmp-range:focus-visible) .cmp-line i { outline: 3px solid var(--sel); outline-offset: 3px; }
.cmp-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  li { padding: 0.2rem 1.2rem; display: grid; gap: 0.2rem; }
  li + li { box-shadow: inset 1px 0 0 var(--line); }
  li:first-child { padding-left: 0; }
  b { font-size: 1.125rem; font-weight: 650; }
  span { font-size: 0.9375rem; color: var(--ink-2); }
}

/* 录屏控制条 */
.rec-viz {
  container-type: inline-size;
  padding: 7cqi 5cqi 5cqi;
  border-radius: var(--radius);
  background:
    radial-gradient(80% 90% at 85% 10%, color-mix(in oklab, var(--sel) 12%, transparent), transparent 70%),
    var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.recbar {
  position: absolute;
  left: 50%;
  top: 2.4cqi;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.4cqi;
  padding: 2cqi 3cqi;
  border-radius: 999px;
  background: var(--hud);
  color: var(--hud-ink);
  font-size: 3.4cqi;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 16px 40px -14px oklch(10% 0.02 265 / 0.6);
  .ico { width: 4cqi; height: 4cqi; opacity: 0.85; }
}
.rb-dot {
  width: 2.6cqi;
  height: 2.6cqi;
  border-radius: 50%;
  background: oklch(64% 0.22 27);
  @media (prefers-reduced-motion: no-preference) {
    animation: rec-blink 1.2s ease-in-out 4;
  }
}
.rb-sep { width: 1px; height: 3.8cqi; background: oklch(100% 0 0 / 0.18); }
.rb-stop { width: 3cqi; height: 3cqi; border-radius: 0.7cqi; background: oklch(64% 0.22 27); }
.rec-area {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 2cqi;
  outline: 0.5cqi solid oklch(64% 0.22 27 / 0.9);
  outline-offset: 1.2cqi;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.ra-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4cqi;
  padding: 6cqi 7cqi;
  b { width: 58%; height: 5cqi; border-radius: 1.2cqi; background: var(--ink); opacity: 0.85; }
  span { height: 2.4cqi; border-radius: 1cqi; background: var(--line-2); }
  span.s { width: 62%; }
}

/* 剪辑导出 */
.edit-viz { container-type: inline-size; }
.ed {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px oklch(20% 0.03 265 / 0.35);
  padding: 2.4cqi;
}
.ed-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.6cqi;
  overflow: hidden;
  background: var(--paper-2);
  img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 10%; }
}
.ed-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 9cqi;
  height: 9cqi;
  border-radius: 50%;
  background: oklch(15% 0.01 265 / 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  .ico { width: 4cqi; height: 4cqi; stroke: none; translate: 0.3cqi 0; }
}
.ed-track {
  position: relative;
  height: 9cqi;
  margin-top: 2.4cqi;
  border-radius: 1.2cqi;
  overflow: hidden;
  .film {
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 2px), var(--card) calc(12.5% - 2px) 12.5%),
      url("clarity-sharp.webp") 0 0 / 12.5% 100% repeat-x;
    background-color: var(--paper-2);
  }
  &::before, &::after {
    /* 裁掉的部分变暗 */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    background: oklch(15% 0.01 265 / 0.55);
  }
  &::before { left: 0; width: 14%; }
  &::after { right: 0; width: 18%; }
}
.trim {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 2.2cqi;
  background: oklch(80% 0.16 80);
  border-radius: 0.8cqi;
  &::after { content: ""; position: absolute; left: 50%; top: 30%; bottom: 30%; width: 0.4cqi; margin-left: -0.2cqi; border-radius: 1cqi; background: oklch(35% 0.08 70); }
  &.l { left: 14%; }
  &.r { right: 18%; }
}
.ed-row {
  display: flex;
  align-items: center;
  gap: 2.4cqi;
  margin-top: 2.4cqi;
  font-size: 2.6cqi;
}
.seg {
  display: inline-flex;
  padding: 0.5cqi;
  border-radius: 1.4cqi;
  background: var(--paper-2);
  b, i { padding: 0.8cqi 2.2cqi; border-radius: 1cqi; font-style: normal; font-weight: 600; color: var(--ink-2); }
  b { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px oklch(20% 0.02 265 / 0.12); }
}
.ed-meta { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ed-btn { margin-left: auto; padding: 1.2cqi 3.4cqi; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 650; }
.done {
  position: absolute;
  right: -2cqi;
  top: 6cqi;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqi;
  padding: 1.8cqi 3cqi;
  border-radius: 999px;
  background: var(--hud);
  color: var(--hud-ink);
  font-size: 2.8cqi;
  font-weight: 600;
  box-shadow: 0 16px 40px -14px oklch(10% 0.02 265 / 0.6);
  .ico { width: 3.4cqi; height: 3.4cqi; color: var(--green); stroke-width: 3; }
}

/* 速度 */
.speed-head { max-inline-size: 40rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.laps { border-top: 1px solid var(--line); counter-reset: lap; }
.lap {
  display: grid;
  grid-template-columns: minmax(10rem, 1.15fr) minmax(8rem, 2fr) minmax(7.5rem, auto) minmax(9rem, 1.1fr);
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1.4rem, 1rem + 1.2vw, 2.2rem);
  border-bottom: 1px solid var(--line);
}
.lap-what { font-size: 1.0625rem; font-weight: 600; }
.lap-bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  &::after {
    /* 刻度：1 秒 */
    content: "1 秒";
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 0.75rem;
    color: var(--ink-3);
  }
  i {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--w) * 100%);
    min-width: 6px;
    border-radius: inherit;
    background: var(--red);
    transform-origin: 0 50%;
  }
}
.lap-time {
  font-size: 1rem;
  color: var(--ink-2);
  white-space: nowrap;
  b {
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin-right: 0.15em;
  }
}
.lap-done { color: var(--ink-2); font-size: 0.9688rem; }
.footnote { margin-top: 1.4rem; font-size: 0.875rem; color: var(--ink-3); }

/* 快捷键 */
.defaults {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  div { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  dt { color: var(--ink-2); }
}
.keys-viz { container-type: inline-size; }
.kb {
  display: grid;
  gap: 1.6cqi;
  padding: 3cqi;
  border-radius: 4cqi;
  background: color-mix(in oklab, var(--ink) 7%, var(--paper-2));
  box-shadow: inset 0 0 0 1px var(--line);
}
.kb-row { display: flex; gap: 1.6cqi; }
.k {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 2.2cqi;
  background: var(--key);
  box-shadow: 0 0 0 1px var(--line-2), 0 0.9cqi 0 0 var(--line-2), 0 1.4cqi 2cqi -0.8cqi oklch(20% 0.02 265 / 0.25);
  font-size: 4.2cqi;
  font-weight: 600;
  color: var(--ink);
  transition: translate 0.08s, box-shadow 0.08s, background-color 0.15s, color 0.15s;
  em { font-style: normal; font-size: 4.6cqi; line-height: 1; }
  small { position: absolute; left: 1.6cqi; bottom: 1.2cqi; font-size: 2.1cqi; font-weight: 500; color: var(--ink-3); }
  &[data-code="CapsLock"], &[data-code="Fn"] { font-size: 2.2cqi; font-weight: 500; color: var(--ink-3); }
  &.w12 { flex-grow: 1.25; aspect-ratio: auto; }
  &.w15 { flex-grow: 1.6; aspect-ratio: auto; place-items: end start; padding: 0 0 1.2cqi 1.6cqi; }
  &.w2 { flex-grow: 2.15; aspect-ratio: auto; }
  &.w4 { flex-grow: 3.2; aspect-ratio: auto; }
  &:has(small) em { translate: 0 -0.6cqi; }
}
.k.hot {
  @media (prefers-reduced-motion: no-preference) {
    animation: key-hint 2.6s var(--ease-in-out) 0.4s 2;
  }
  &[data-code="AltLeft"] { animation-delay: 0.4s; }
  &[data-code="ShiftLeft"] { animation-delay: 0.6s; }
  &[data-code="KeyA"] { animation-delay: 0.8s; }
}
@keyframes key-hint {
  0%, 12% { background: var(--key); color: var(--ink); }
  22%, 60% { background: var(--sel); color: #fff; translate: 0 0.6cqi; box-shadow: 0 0 0 1px var(--sel), 0 0.3cqi 0 0 color-mix(in oklab, var(--sel) 60%, black); }
  75%, 100% { background: var(--key); color: var(--ink); }
}
.k.down {
  background: var(--sel);
  color: #fff;
  translate: 0 0.6cqi;
  box-shadow: 0 0 0 1px var(--sel), 0 0.3cqi 0 0 color-mix(in oklab, var(--sel) 60%, black);
  small { color: oklch(100% 0 0 / 0.75); }
}
.kb-cap { margin-top: 1.2rem; font-size: 0.9375rem; color: var(--ink-3); text-align: center; }
.flash {
  position: absolute;
  inset: 0;
  border-radius: 4cqi;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.keys-viz.shot .flash { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.9; } 100% { opacity: 0; } }

/* 细节 */
.more-title { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.m-item {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line-2);
  h3 { font-size: 1.1875rem; font-weight: 650; margin-bottom: 0.6rem; }
  p { color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }
  &.wide {
    grid-column: span 2;
    grid-row: span 2;
    border-top-color: var(--ink);
    h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
    p { max-inline-size: 26em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
  }
}

/* 下载 */
.download { background: var(--paper); }
.dl-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  row-gap: 3rem;
  align-items: center;
}
.dl-copy { grid-column: 1 / span 5; }
.dl-icon {
  width: clamp(5.5rem, 4rem + 4vw, 8rem);
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 18px 30px oklch(40% 0.12 265 / 0.28));
}
.price { color: var(--ink-2); b { color: var(--ink); font-weight: 650; } }
.dl-list { grid-column: 7 / span 6; display: grid; gap: 1rem; }
.dl-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px oklch(20% 0.03 265 / 0.3);
  h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1875rem; font-weight: 650; }
  p { font-size: 0.9375rem; color: var(--ink-2); }
  .dl-os { width: 2rem; height: 2rem; color: var(--ink-2); stroke-width: 1.6; }
}
.dl-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 0.8rem; margin-top: 0.15rem; color: var(--ink-3) !important; font-size: 0.875rem !important; font-variant-numeric: tabular-nums; }
.badge { padding: 0.05rem 0.45rem; border-radius: 6px; background: color-mix(in oklab, var(--red) 12%, transparent); color: var(--red); font-size: 0.75rem; font-weight: 650; }
html[data-os="mac"] .dl-item[data-platform="mac"],
html[data-os="win"] .dl-item[data-platform="win"] { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -30px oklch(20% 0.03 265 / 0.3); }
.dl-help { font-size: 0.9375rem; color: var(--ink-2); a { color: var(--sel); text-underline-offset: 3px; } }
.dl-mobile {
  display: none;
  gap: 0.8rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line);
  p { color: var(--ink-2); font-size: 0.9375rem; }
}
html[data-os="mobile"] .dl-mobile { display: grid; justify-items: start; }

/* 常见问题 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  row-gap: 2rem;
}
.faq-head {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 6rem;
  p { color: var(--ink-2); font-size: 1rem; }
}
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line-2); }
details {
  border-bottom: 1px solid var(--line-2);
  summary {
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    &::-webkit-details-marker { display: none; }
    &::before {
      content: "";
      flex: none;
      inline-size: 0.9em;
      block-size: 0.9em;
      translate: 0 0.12em;
      background-color: var(--ink-3);
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
      rotate: -90deg;
    }
    &:hover::before { background-color: var(--ink); }
    @media (prefers-reduced-motion: no-preference) {
      &::before { transition: rotate 0.25s var(--ease-out); }
    }
  }
  &[open] > summary::before { rotate: 0deg; background-color: var(--red); }
  p, ol { padding: 0 0 1.3rem 1.65rem; color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }
  p + ol { margin-top: -0.6rem; }
  ol { list-style: decimal; padding-left: 3rem; display: grid; gap: 0.4rem; }
  a { color: var(--sel); text-underline-offset: 3px; }
  &::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
  }
  &:not([open])::details-content { block-size: 0; }
  @media (prefers-reduced-motion: no-preference) {
    &::details-content {
      transition: block-size, content-visibility, display;
      transition-duration: 0.3s;
      transition-timing-function: var(--ease-out);
      transition-behavior: allow-discrete;
    }
  }
}
:target > summary { color: var(--red); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.6rem 3.2rem; }
.foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.foot-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 550; }
.foot-links { display: flex; gap: 1.4rem; a { text-decoration: none; &:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } } }
.foot-legal { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-3); a { color: inherit; } }

/* ---------- 首屏框选试玩 ---------- */
.snap-layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.snap-sel {
  position: absolute;
  outline: 1.5px solid var(--sel);
  box-shadow: 0 0 0 200vmax var(--dim);
  .hd { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-width: 1.5px; background: #fff; }
}
.snap-size {
  position: absolute;
  left: -1px;
  bottom: calc(100% + 8px);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: oklch(20% 0.01 265 / 0.88);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  &.inside { bottom: auto; top: 8px; left: 8px; }
}
.snap-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.snap-svg .s-rect { fill: none; stroke: var(--snap-color, #e8383d); stroke-width: 3; }
.snap-svg .s-pen { fill: none; stroke: var(--snap-color, #e8383d); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.snap-svg .s-arrow { fill: var(--snap-color, #e8383d); }
.snap-svg .s-num circle { fill: var(--snap-color, #e8383d); stroke: #fff; stroke-width: 2; }
.snap-svg .s-num text { fill: #fff; font: 700 14px var(--font); text-anchor: middle; dominant-baseline: central; }
.snap-bar {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 12px;
  background: var(--hud);
  color: var(--hud-ink);
  box-shadow: 0 18px 40px -16px oklch(10% 0.02 265 / 0.6);
  pointer-events: auto;
  cursor: default;
  @media (prefers-reduced-motion: no-preference) {
    animation: fade-up 0.25s var(--ease-out) both;
  }
  button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: inherit;
    cursor: pointer;
    &:hover { background: oklch(100% 0 0 / 0.12); }
    &[aria-pressed="true"] { background: oklch(100% 0 0 / 0.18); color: oklch(78% 0.13 255); }
    &.ok { width: 38px; margin-left: 4px; background: var(--green); color: #fff; }
    &:focus-visible { outline-color: oklch(78% 0.13 255); }
  }
  .ico { width: 18px; height: 18px; }
  i { width: 1px; height: 18px; margin: 0 4px; background: oklch(100% 0 0 / 0.18); }
}
.snap-toast {
  position: fixed;
  left: 50%;
  bottom: max(2rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  z-index: 31;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--hud);
  color: var(--hud-ink);
  font-size: 0.9375rem;
  font-weight: 550;
  box-shadow: 0 18px 50px -16px oklch(10% 0.02 265 / 0.6);
  pointer-events: auto;
  @media (prefers-reduced-motion: no-preference) {
    animation: fade-up 0.3s var(--ease-out) both;
  }
  .ico { color: var(--green); stroke-width: 3; }
  a { padding: 0.35rem 0.85rem; border-radius: 999px; background: #fff; color: #111; text-decoration: none; font-weight: 650; }
}
.snap-flash { position: absolute; inset: 0; z-index: 32; background: #fff; pointer-events: none; animation: flash 0.45s ease-out forwards; }
.hero.snapping { user-select: none; -webkit-user-select: none; }

/* ---------- 滚动驱动的动效（不支持的浏览器直接显示最终状态） ---------- */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .copy > *, .viz, .dr-head > *, .speed-head > *, .more-title, .m-item, .dl-copy, .dl-item, .tools li, .spec li {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 60%;
    }
    .scan { animation: scan linear both; animation-timeline: view(); animation-range: cover 22% cover 52%; }
    .doc .ln { animation: ln-hit linear both; animation-timeline: view(); }
    .doc .ln:nth-of-type(1) { animation-range: cover 26% cover 31%; }
    .doc .ln:nth-of-type(2) { animation-range: cover 31% cover 36%; }
    .doc .ln:nth-of-type(3) { animation-range: cover 36% cover 41%; }
    .doc .ln:nth-of-type(4) { animation-range: cover 41% cover 46%; }
    .ocr-panel { animation: panel-in linear both; animation-timeline: view(); animation-range: cover 40% cover 54%; }
    .pinned { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .trim.l { animation: trim-l linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
    .trim.r { animation: trim-r linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
    .ed-track::before { animation: shade-l linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
    .ed-track::after { animation: shade-r linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
    .done { animation: panel-in linear both; animation-timeline: view(); animation-range: cover 46% cover 56%; }
    .lap-bar i { animation: bar-fill linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 32px; } }
@keyframes scan { from { translate: 0 -100%; } to { translate: 0 270%; } }
@keyframes ln-hit { to { background: oklch(60% 0.18 257 / 0.14); color: var(--ink); } }
@keyframes panel-in { from { opacity: 0; translate: 0 18px; scale: 0.98; } }
@keyframes drift { from { translate: 0 calc(var(--depth, 1) * 26px); } to { translate: 0 calc(var(--depth, 1) * -26px); } }
@keyframes trim-l { from { left: 0; } }
@keyframes trim-r { from { right: 0; } }
@keyframes shade-l { from { width: 0; } }
@keyframes shade-r { from { width: 0; } }
@keyframes bar-fill { from { scale: 0 1; } }

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { scale: 1 1; } }
  .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  @keyframes header-solid {
    to {
      border-bottom-color: var(--line);
      background: color-mix(in oklab, var(--paper) 86%, transparent);
    }
  }
}

/* 页面之间的切换（首页 ↔ 隐私说明） */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.22s ease-in both vt-out; }
  ::view-transition-new(root) { animation: 0.36s var(--ease-out) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; translate: 0 -10px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 14px; } }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .split .copy, .split .viz, .split.flip .copy, .split.flip .viz { grid-column: 1; grid-row: auto; }
  .dr-head { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; h2, p { grid-column: 1; } }
  .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); li:nth-child(5) { box-shadow: none; padding-left: 0; } li:nth-child(n + 5) { border-top: 1px solid var(--line); } }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; li:nth-child(3) { box-shadow: none; padding-left: 0; } }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-copy, .dl-list { grid-column: 1 / -1; }
  .faq-head { grid-column: 1 / -1; position: static; }
  .faq-list { grid-column: 1 / -1; }
  .lap { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.7rem; }
  .lap-what { grid-column: 1; }
  .lap-time { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .lap-bar { grid-column: 1; }
  .lap-done { grid-column: 1 / -1; }
  .pinned.p1 { left: 0; }
  .pinned.p2 { right: 0; }
}
@media (max-width: 640px) {
  .ocr-viz { grid-template-columns: minmax(0, 1fr); }
  .ocr-panel { margin: -1.5rem 0.75rem 0; }
  .more { grid-template-columns: minmax(0, 1fr); .m-item.wide { grid-column: auto; grid-row: auto; } }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); li:nth-child(odd) { box-shadow: none; padding-left: 0; } li:nth-child(n + 3) { border-top: 1px solid var(--line); } }
  .dl-item { grid-template-columns: auto 1fr; .btn { grid-column: 1 / -1; } }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .pinned { padding: 0.6rem; }
  .pinned.p2 { width: 60%; }
  .swatches i { width: 1.4rem; height: 1.9rem; }
}

/* 高对比度模式：保证边框与状态可见 */
@media (forced-colors: active) {
  .btn-line, .dl-item, .eyebrow { border: 1px solid CanvasText; }
  .framed-ui, .sel, .snap-sel { outline: 2px solid Highlight; border-color: Highlight; }
  .progress { background: Highlight; }
}
