/* cvxz.cn 样式表
   改动本文件后，必须把 index.html 里的 ?v= 版本号同步改掉：
   静态资源缓存 1 小时，版本号不变的话访客会拿到「新 HTML + 旧样式」。 */

  /* ===================== 色板与字体 ===================== */
  :root {
    color-scheme: dark;
    /* 地 */
    --void: #0A1A1E;
    --hull: rgba(8, 19, 23, .87);
    --frame: rgba(146, 183, 186, .20);
    --rule: rgba(146, 183, 186, .12);
    --rule-2: rgba(146, 183, 186, .30);
    /* 墨 */
    --bone: #E9EDE6;
    --mist: #93A8A5;
    --dim: #5E7573;
    /* 信号 */
    --signal: #FFB454;
    --signal-2: rgba(255, 180, 84, .55);
    --signal-glow: rgba(255, 180, 84, .18);
    --virid: #3BD3A2;
    --bracket: rgba(255, 180, 84, .45);
    --seal: #B0413A;
    /* 量度 */
    --strip: 38px;
    --c-name: 74px;
    --c-val: 64px;
    --gap: 12px;
    /* 字体：文档语气 / 叙述语气 / 机器读数 */
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", SimSun, serif;
    --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
    --radius: 3px;
  }

  /* 彩蛋：纸样模式 —— 整卷反转成纸与墨 */
  html.paper {
    color-scheme: light;
    --void: #E9E4D8;
    --hull: rgba(233, 228, 216, .9);
    --frame: rgba(24, 44, 48, .26);
    --rule: rgba(24, 44, 48, .14);
    --rule-2: rgba(24, 44, 48, .34);
    --bone: #16211F;
    --mist: #5C6A66;
    --dim: #8C8676;
    --signal: #B4531F;
    --signal-2: rgba(180, 83, 31, .6);
    --signal-glow: rgba(180, 83, 31, .10);
    --virid: #1E7A5C;
    --bracket: rgba(180, 83, 31, .5);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scrollbar-color: var(--rule-2) transparent; }

  body {
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    background: var(--void);
    color: var(--bone);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color .6s ease, color .6s ease;
  }

  ::selection { background: rgba(255, 180, 84, .28); color: var(--bone); }
  html.paper ::selection { background: rgba(180, 83, 31, .22); }

  :focus-visible { outline: 1px solid var(--signal); outline-offset: 3px; }

  /* ===================== 背景层 ===================== */
  /* 画布即示波器屏：底色由它自己铺，靠逐帧叠加半透明底色做磷光余辉 */
  #scope { position: fixed; inset: 0; z-index: 0; display: block; pointer-events: none; }

  /* 栅格：96px 主格，与左侧刻度轨共用同一节拍 */
  .graticule {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
      linear-gradient(90deg, var(--rule) 1px, transparent 1px),
      linear-gradient(180deg, var(--rule) 1px, transparent 1px);
    background-size: 96px 96px;
    animation: gridIn 1.4s ease .25s both;
  }
  @keyframes gridIn { from { opacity: 0; } to { opacity: 1; } }

  /* 暗角：屏幕边缘衰减，让内容是"亮在屏上"的 */
  .vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(115% 88% at 50% 44%, transparent 42%, rgba(2, 8, 10, .52) 100%);
    transition: background .6s ease;
  }
  html.paper .vignette {
    background: radial-gradient(115% 88% at 50% 44%, transparent 45%, rgba(120, 108, 84, .16) 100%);
  }

  /* ===================== 探针（十字游标） ===================== */
  #probe {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 7;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
    will-change: transform;
  }
  #probe.on { opacity: 1; }
  #probe .pl { position: absolute; }
  #probe .pl-v {
    left: 0;
    top: 0;
    width: 1px;
    height: 100vh;
    margin-top: -50vh;
    background: linear-gradient(180deg, transparent, rgba(147, 168, 165, .22) 12%, rgba(147, 168, 165, .22) 88%, transparent);
  }
  #probe .pl-h {
    left: 0;
    top: 0;
    width: 100vw;
    height: 1px;
    margin-left: -50vw;
    background: linear-gradient(90deg, transparent, rgba(147, 168, 165, .22) 12%, rgba(147, 168, 165, .22) 88%, transparent);
  }
  #probe .mk {
    position: absolute;
    left: -7px;
    top: -7px;
    width: 14px;
    height: 14px;
    border: 1px solid var(--signal-2);
  }
  #probe .mk::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 1px;
    height: 1px;
    background: var(--signal);
    box-shadow: 0 0 8px 1px var(--signal-glow);
  }
  #probe .rd {
    position: absolute;
    left: 16px;
    top: 12px;
    font-family: var(--mono);
    font-size: 10.5px;
    line-height: 1.55;
    letter-spacing: .02em;
    color: var(--dim);
    white-space: pre;
  }
  #probe.flip .rd { left: auto; right: 16px; text-align: right; }
  #probe.up .rd { top: auto; bottom: 12px; }
  #probe .rd b { color: var(--mist); font-weight: 400; }

  /* 点击声呐的读数 */
  .ping {
    position: fixed;
    z-index: 5;
    pointer-events: none;
    padding: 3px 7px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--signal);
    border: 1px solid var(--signal-2);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--void) 72%, transparent);
    animation: pingOut 1.1s ease forwards;
    white-space: nowrap;
  }
  @keyframes pingOut {
    0% { opacity: 0; transform: translate(6px, -14px); }
    18% { opacity: 1; transform: translate(6px, -18px); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translate(6px, -26px); }
  }

  /* 上电扫描：一次，整页级别的入场 */
  .boot {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    z-index: 9;
    pointer-events: none;
    background: var(--signal);
    box-shadow: 0 0 26px 6px var(--signal-glow);
    animation: bootScan .62s cubic-bezier(.5, 0, .5, 1) forwards;
  }
  @keyframes bootScan {
    0% { transform: translateY(-2px); opacity: 0; }
    12% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
  }
  .boot-haze {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    background: linear-gradient(180deg, var(--signal-glow), transparent 22%);
    animation: hazeOut .9s ease forwards;
  }
  @keyframes hazeOut {
    0% { opacity: 0; }
    22% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* 模式切换的过曝闪光 */
  .flash {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle 380px at var(--fx, 50%) var(--fy, 50%), var(--signal-glow), transparent 70%);
  }
  .flash.go { animation: flashGo .52s ease forwards; }
  @keyframes flashGo {
    0% { opacity: 0; }
    18% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* ===================== 顶部状态条 ===================== */
  .strip {
    position: sticky;
    top: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 0;
    height: var(--strip);
    padding: 0 24px;
    background: var(--void);
    border-bottom: 1px solid var(--rule);
    font-size: 12.5px;
    color: var(--mist);
    white-space: nowrap;
    overflow: hidden;
    animation: fadeIn .7s ease .3s both;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .strip .cell { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 14px; border-left: 1px solid var(--rule); }
  .strip .cell:first-child { padding-left: 0; border-left: 0; }
  .strip b {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--bone);
    letter-spacing: .01em;
  }
  .strip .live { display: inline-flex; align-items: center; gap: 7px; color: var(--virid); }
  .strip .live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--virid);
    animation: livePulse 2.6s ease-out infinite;
  }
  @keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 211, 162, .55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(59, 211, 162, 0); }
  }
  .strip .host { font-family: var(--mono); color: var(--bone); letter-spacing: .01em; }
  .strip .cell.clock { margin-left: auto; }

  /* ===================== 骨架：刻度轨 + 主列 ===================== */
  .frame {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .rail { position: relative; }
  .rail-inner {
    position: sticky;
    top: var(--strip);
    height: calc(100vh - var(--strip));
    height: calc(100svh - var(--strip));
  }
  .scale {
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 0;
    width: 11px;
    background-image: repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 16px);
  }
  .scale-major {
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 0;
    width: 19px;
    background-image: repeating-linear-gradient(180deg, var(--rule-2) 0 1px, transparent 1px 96px);
  }
  .rail-cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 1px;
    background: var(--signal);
    box-shadow: 0 0 10px 0 var(--signal-glow);
    transition: transform .18s cubic-bezier(.3, .7, .3, 1);
  }
  .rail-probe {
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 1px;
    background: var(--rule-2);
    opacity: 0;
    transition: opacity .3s ease;
  }
  .rail-note {
    position: absolute;
    left: 26px;
    top: 4px;
    writing-mode: vertical-rl;
    font-size: 11.5px;
    letter-spacing: .16em;
    color: var(--dim);
    transition: color .5s ease;
    white-space: nowrap;
  }
  .rail-note.on { color: var(--mist); }
  .rail-read {
    position: absolute;
    left: 26px;
    bottom: 18px;
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .06em;
    color: var(--dim);
    white-space: nowrap;
  }

  main { min-width: 0; padding-bottom: 44px; }

  /* ===================== 首屏 ===================== */
  .hero { padding: 76px 0 0; max-width: 880px; }

  h1 {
    font-family: var(--serif);
    font-size: clamp(33px, 6.2vw, 58px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--bone);
  }
  h1 .host {
    font-family: var(--mono);
    font-size: .74em;
    letter-spacing: 0;
    color: var(--signal);
    text-shadow: 0 0 26px var(--signal-glow);
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
  }
  html.paper h1 .host { text-shadow: none; }

  .lede {
    max-width: 62ch;
    margin-top: 20px;
    color: var(--mist);
    animation: fadeIn .8s ease .55s both;
  }
  /* 两句话各自成行：上面陈述，下面是这句陈述的来源说明，字号略小做出层次 */
  .lede .l1, .lede .l2 { display: block; }
  .lede .l2 { margin-top: 6px; font-size: .93em; }
  .lede b { font-weight: 400; color: var(--bone); }

  .selfcheck {
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .01em;
    color: var(--dim);
    animation: fadeIn .8s ease .7s both;
  }
  .selfcheck b { font-weight: 400; color: var(--virid); }

  /* ===================== 窗口（示波器边框 + 四角括号） ===================== */
  .win {
    position: relative;
    background: var(--hull);
    border: 1px solid var(--frame);
    border-radius: var(--radius);
    transition: background-color .6s ease, border-color .6s ease;
  }
  .corners {
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-image:
      linear-gradient(var(--bracket), var(--bracket)), linear-gradient(var(--bracket), var(--bracket)),
      linear-gradient(var(--bracket), var(--bracket)), linear-gradient(var(--bracket), var(--bracket)),
      linear-gradient(var(--bracket), var(--bracket)), linear-gradient(var(--bracket), var(--bracket)),
      linear-gradient(var(--bracket), var(--bracket)), linear-gradient(var(--bracket), var(--bracket));
    background-size: 13px 1px, 1px 13px, 13px 1px, 1px 13px, 13px 1px, 1px 13px, 13px 1px, 1px 13px;
    background-position: -1px -1px, -1px -1px, calc(100% + 1px) -1px, calc(100% + 1px) -1px,
                         -1px calc(100% + 1px), -1px calc(100% + 1px), calc(100% + 1px) calc(100% + 1px), calc(100% + 1px) calc(100% + 1px);
  }

  .win-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--rule);
    font-size: 11.5px;
    color: var(--dim);
  }
  .win-head .t { color: var(--bone); font-size: 12.5px; letter-spacing: .02em; }
  .win-head .detail {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 11px;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .win-head .detail.on { opacity: 1; }
  .win-head .detail b { font-weight: 400; color: var(--signal); }
  .win-head .unit { flex: 0 0 auto; }

  /* 缩放按钮：像示波器面板上的时间基准键 */
  .zoom { display: inline-flex; gap: 3px; flex: 0 0 auto; }
  .zbtn {
    min-width: 21px;
    height: 19px;
    padding: 0 5px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1;
    color: var(--mist);
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 2px;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }
  .zbtn:hover { color: var(--bone); border-color: var(--rule-2); }
  .zbtn:active { background: var(--hull); }

  /* 拖拽测量的选区：跟随视图的百分比定位 */
  .sel {
    position: absolute;
    left: calc(var(--c-name) + var(--gap));
    right: calc(var(--c-val) + var(--gap));
    top: 0;
    bottom: 0;
    display: none;
    pointer-events: none;
  }
  .sel.on { display: block; }
  .sel .s-band {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--signal-glow);
    border-left: 1px solid var(--signal-2);
    border-right: 1px solid var(--signal-2);
  }

  /* 阶段完全落在当前窗口之外时，只在边缘显示一个方向箭头，不画假的条 */
  .lane .off {
    position: absolute;
    top: 3px;
    display: none;
    font-size: 9px;
    line-height: 14px;
    color: var(--signal-2);
  }
  /* 被窗口切掉一端的条：那一端用虚线表示"还在继续" */
  .bar.clip-l { border-left: 1px dashed var(--mist); }
  .bar.clip-r { border-right: 1px dashed var(--mist); }
  .bar.clip-l::before { display: none; }

  /* 悬停聚焦：其余泳道让位（:has 支持度已足够） */
  .lane { transition: opacity .25s ease; }
  .trace-body:has(.lane:hover) .lane:not(:hover) { opacity: .4; }

  /* ===================== 握手时间轴 ===================== */
  .trace { margin-top: 40px; animation: fadeIn .8s ease .85s both; }
  .trace-plot { padding: 12px 14px 0; }
  /* 绘图区是仪器面板：十字光标，数值靠单击复制而不是选中 */
  .trace-body { cursor: crosshair; -webkit-user-select: none; user-select: none; }
  .trace-body.dragging { cursor: ew-resize; }

  .axis, .lane {
    display: grid;
    grid-template-columns: var(--c-name) minmax(0, 1fr) var(--c-val);
    column-gap: var(--gap);
    align-items: center;
  }
  .axis { position: relative; height: 22px; margin-bottom: 16px; }
  .axis .plot { position: relative; height: 100%; }
  /* 刻度：本体是 0 宽的线，数字挂在线上，末尾一个往左挂避免顶出绘图区 */
  .axis .tick { position: absolute; top: 0; width: 0; height: 100%; border-left: 1px solid var(--rule); }
  .axis .tick span {
    position: absolute;
    top: 0;
    left: 4px;
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.5;
    color: var(--dim);
  }
  .axis .tick.last span { left: auto; right: 4px; }

  /* 横向裁掉：游标是靠 translateX 移位的，元素本体有整个绘图区那么宽，
     跑到最右端时会把自己整段推到窗口外、把文档撑宽；clip 只裁横向、
     不建立滚动容器，所以游标上方的刻度读数不会被切掉 */
  .trace-body { position: relative; padding: 2px 0 4px; overflow-x: clip; }
  .gridlines { position: absolute; left: calc(var(--c-name) + var(--gap)); right: calc(var(--c-val) + var(--gap)); top: 0; bottom: 0; pointer-events: none; }
  .gridlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); }

  .lane { position: relative; height: 22px; }
  .lane .nm { font-size: 12.5px; color: var(--mist); letter-spacing: .02em; }
  .lane .plot { position: relative; height: 22px; }
  .lane .val {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--bone);
    text-align: right;
    white-space: nowrap;
  }
  .lane .val u { text-decoration: none; color: var(--dim); }

  .bar {
    position: absolute;
    top: 7px;
    height: 8px;
    min-width: 2px;
    border-radius: 1px;
    background: rgba(233, 237, 230, .34);
    transition: left .26s cubic-bezier(.2, .7, .2, 1), width .26s cubic-bezier(.2, .7, .2, 1), background-color .2s ease;
  }
  html.paper .bar { background: rgba(22, 33, 31, .28); }
  .lane.wait .bar { background: var(--signal); }
  .lane.move .bar { background: rgba(233, 237, 230, .18); }
  html.paper .lane.move .bar { background: rgba(22, 33, 31, .14); }
  .bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    bottom: -2px;
    width: 1px;
    background: var(--bone);
    opacity: .5;
  }
  .lane.tls .bar::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -3px;
    bottom: -3px;
    width: 1px;
    background: var(--virid);
  }
  .lane.reused .nm { color: var(--dim); }
  .lane.reused .val { color: var(--dim); }
  .reuse-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    border: 1px solid var(--rule-2);
    border-radius: 2px;
    font-size: 9.5px;
    line-height: 14px;
    color: var(--dim);
    vertical-align: 1px;
  }

  .playhead {
    position: absolute;
    left: calc(var(--c-name) + var(--gap));
    right: calc(var(--c-val) + var(--gap));
    top: 0;
    bottom: 0;
    pointer-events: none;
    transition: opacity .4s ease;
  }
  .playhead i {
    position: absolute;
    left: 0;
    top: -6px;
    bottom: -2px;
    width: 1px;
    background: var(--signal);
    opacity: .75;
  }
  /* 时间读数落在刻度数字与绘图区之间的空带里，不压任何东西 */
  .playhead .ctime {
    position: absolute;
    left: -1px;
    top: -18px;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
    color: var(--signal);
    white-space: nowrap;
  }
  .playhead::before {
    content: "";
    position: absolute;
    inset: -6px -14px -2px -1px;
    background: linear-gradient(90deg, var(--signal-glow), transparent 78%);
  }
  .playhead.idle { opacity: 0; }
  .playhead.hot { opacity: 1; }

  .trace-foot {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 11px 14px 12px;
    border-top: 1px solid var(--rule);
    font-size: 12.5px;
    color: var(--dim);
  }
  .trace-foot .sum { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--bone); }
  .trace-foot .sum u { text-decoration: none; color: var(--dim); font-size: 11px; }
  .verdict { padding: 0 14px 14px; font-size: 13px; color: var(--mist); }
  .verdict i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--virid);
    vertical-align: 1px;
  }
  .verdict.note i { background: var(--signal); }

  /* ===================== 章节 ===================== */
  section.block { padding-top: 84px; max-width: 880px; }
  h2 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--bone);
  }
  h2 em { font-style: normal; color: var(--dim); font-size: 13px; margin-left: 12px; }
  .note { margin-top: 10px; max-width: 60ch; font-size: 14px; color: var(--mist); }

  /* 读数表 */
  .readings { margin-top: 26px; }
  .readings .r {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    column-gap: 20px;
    padding: 13px 0;
  }
  .readings dt { font-size: 13px; color: var(--mist); }
  .readings dd {
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid var(--rule);
  }
  .readings .v {
    display: block;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--bone);
    word-break: break-word;
  }
  .readings .v.ok { color: var(--virid); }
  .readings .v.na { color: var(--dim); }
  .readings .hint { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); }


  /* ===================== 页脚 ===================== */
  footer {
    position: relative;
    z-index: 4;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px calc(34px + env(safe-area-inset-bottom));
  }
  .foot-in {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 26px;
    padding-top: 26px;
    border-top: 1px solid var(--rule);
  }
  .foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12.5px; }
  .foot-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dim);
    text-decoration: none;
    transition: color .25s ease;
  }
  .foot-links a:hover { color: var(--bone); }
  .foot-links img { height: 15px; width: auto; flex: 0 0 auto; }
  /* 印章：只在纸样模式出现 */
  .seal {
    display: none;
    place-items: center;
    margin-left: auto;
    width: 76px;
    height: 76px;
    border: 2px solid var(--seal);
    border-radius: 3px;
    color: var(--seal);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1;
    letter-spacing: .05em;
    white-space: nowrap;
    transform: rotate(-4deg);
    opacity: .75;
  }
  html.paper .seal { display: grid; }

  /* ===================== 提示条 ===================== */
  .toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    z-index: 7;
    max-width: calc(100vw - 32px);
    padding: 9px 15px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--bone);
    background: var(--void);
    border: 1px solid var(--frame);
    border-left: 2px solid var(--signal);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  html.paper .toast { box-shadow: 0 18px 40px -26px rgba(60, 50, 30, .5); }

  /* ===================== 降级：低性能设备 ===================== */
  body.perf-lite #probe .pl { display: none; }
  body.perf-lite .graticule { animation: none; }
  body.perf-lite .boot, body.perf-lite .boot-haze { display: none; }

  /* ===================== 响应式 ===================== */
  @media (max-width: 980px) {
    .frame { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
    .rail { display: none; }
    footer { padding: 0 20px calc(30px + env(safe-area-inset-bottom)); }
    .hero { padding-top: 56px; }
    section.block { padding-top: 68px; }
  }

  @media (max-width: 620px) {
    :root { --c-name: 52px; --c-val: 54px; --gap: 9px; }
    body { font-size: 16px; }
    .strip { padding: 0 16px; }
    .strip .cell { padding: 0 9px; }
    .strip .cell.opt { display: none; }
    .hero { padding-top: 42px; }
    h1 { font-size: clamp(30px, 8.4vw, 42px); }
    .win-head { flex-wrap: wrap; gap: 4px 10px; }
    .win-head .detail { flex: 1 1 100%; order: 3; }
    .axis { height: 20px; }
    .lane .nm { font-size: 11.5px; }
    .lane .val u { display: none; }
    .readings .r { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
    .readings dd { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 8px; }
  }

  /* 说明：本站点有意不跟随系统「减弱动态效果」设置，动效始终播发；
     低性能设备由脚本自动加上 body.perf-lite 降级。
     如需恢复静默行为，取消下面这段注释即可：
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
  }
  */
