:root {
  --bg: #f6f7f9; --card: #fff; --text: #1d2129; --muted: #86909c; --line: #e5e6eb;
  --pass: #00b97a; --warn: #f5a524; --fail: #f53f3f; --error: #a9aeb8; --running: #2f9bff; --empty: #eef0f3;
  --brand: #e8590c; --chip: #f2f3f5; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --card: #1b1e24; --text: #e5e6eb; --muted: #8a919c; --line: #2c3038; --empty: #262a31;
          --chip: #262a31; --error: #5c626d; --brand: #ff8a3d; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 15px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; }
.top { max-width: 1280px; margin: 0 auto; padding: 24px 16px 8px; display: flex; flex-wrap: wrap; gap: 12px;
       align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand-sub { color: var(--muted); font-size: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw.pass, .bar.pass { background: var(--pass); } .sw.warn, .bar.warn { background: var(--warn); }
.sw.fail, .bar.fail { background: var(--fail); } .sw.error, .bar.error { background: var(--error); }
.sw.running, .bar.running { background: var(--running); }
main { max-width: 1280px; margin: 0 auto; padding: 8px 16px 24px; display: grid; gap: 20px; }
.empty { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.group { color: var(--brand); font-weight: 700; font-size: 20px; }
.model { font-family: var(--mono); font-size: 20px; }
.chip { font-family: var(--mono); font-size: 13px; color: var(--muted); background: var(--chip); border-radius: 999px; padding: 2px 10px; }
.ratio { font-family: var(--mono); color: var(--muted); }
.note { color: var(--muted); margin-top: 4px; }
.body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 18px; }
.probe + .probe { margin-top: 26px; }
.probe-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.probe-title { display: flex; align-items: center; gap: 8px; }
.probe-title svg { width: 20px; height: 20px; flex: none; }
.probe-title b { font-size: 17px; white-space: nowrap; }
.probe-title span { color: var(--muted); font-size: 14px; }
.probe-title .every { background: var(--chip); border-radius: 999px; padding: 1px 9px; font-size: 12px; white-space: nowrap; }
.state { font-size: 14px; color: var(--muted); white-space: nowrap; }
.state .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.state b { font-weight: 600; }
.state.pass b, .pct.pass { color: var(--pass); } .state.pass .dot { background: var(--pass); }
.state.warn b, .pct.warn { color: var(--warn); } .state.warn .dot { background: var(--warn); }
.state.fail b, .pct.fail { color: var(--fail); } .state.fail .dot { background: var(--fail); }
.state.error b { color: var(--muted); } .state.error .dot { background: var(--error); }
.state.running b { color: var(--running); } .state.running .dot { background: var(--running); }
.figure { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 10px; color: var(--muted); }
.figure .pct { font-family: var(--mono); font-weight: 800; font-size: 38px; line-height: 1.1; }
.bars { display: flex; gap: 3px; height: 40px; }
.bar { flex: 1 1 0; min-width: 3px; border-radius: 4px; background: var(--empty); }
.bar.running { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; font-family: var(--mono); }
.art h3 { font-size: 16px; margin: 0 0 10px; }
.frame { position: relative; border-radius: 12px; overflow: hidden; background: #1d1f2b; aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.frame .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-weight: 600;
              background: linear-gradient(transparent, rgba(0, 0, 0, .72)); font-size: 14px; }
.frame .none { position: absolute; inset: 0; display: grid; place-items: center; color: #8a919c; font-size: 14px; }
@media (max-width: 900px) {
  .body { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .bars { height: 32px; gap: 2px; }
  .figure .pct { font-size: 30px; }
}
