:root{--bg:#0e1116;--surface:#161b22;--surface-2:#1e252e;--line:#2a323d;--text:#e8ecf1;--muted:#98a2b0;--accent:#ff8a3d;--accent-ink:#1a0f06;--blue:#6aa9ff;--good:#4cc38a;--mid:#e5c04b;--bad:#ef6b63;--radius:10px;--nav-h:56px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{font-variant-numeric:tabular-nums;-webkit-text-size-adjust:100%;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}::selection{background:color-mix(in srgb, var(--accent) 40%, transparent);color:var(--text)}a{color:var(--blue);text-underline-offset:3px}h1{margin:0 0 1rem;font-size:1.75rem;line-height:1.2}h2{margin:2.5rem 0 1rem;font-size:1.25rem;line-height:1.3}h3{color:var(--muted);margin:0 0 .5rem;font-size:1rem;font-weight:600}.muted{color:var(--muted)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}*{scrollbar-color:var(--line) var(--bg)}.shell{min-height:100vh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.topbar{border-bottom:1px solid var(--line);min-height:var(--nav-h);align-items:center;gap:1rem;padding:.5rem 1rem;display:flex}.brand{letter-spacing:.02em;color:var(--text);align-items:center;gap:.5rem;font-weight:700;text-decoration:none;display:flex}.nav{gap:.25rem;display:flex}.nav a{min-width:64px;min-height:44px;color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:.25rem .75rem;font-size:.8125rem;text-decoration:none;display:flex}.nav a.active{color:var(--text);background:var(--surface-2)}.nav a:hover{color:var(--text)}.nav svg{width:22px;height:22px}.who{color:var(--muted);align-items:center;gap:.75rem;margin-left:auto;font-size:.875rem;display:flex}.page{max-width:1100px;margin:0 auto;padding:1.5rem 1rem 3rem}@media (width<=760px){.nav{z-index:10;background:var(--surface);border-top:1px solid var(--line);padding:.25rem .25rem calc(.25rem + env(safe-area-inset-bottom));justify-content:space-around;position:fixed;bottom:0;left:0;right:0}.nav a{flex:1}.who span{display:none}.page{padding-top:1rem}h1{font-size:1.5rem}}.btn{border:1px solid var(--line);background:var(--surface-2);min-width:44px;min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{background:#242c37;border-color:#3a4552}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn.primary:hover{background:#ff9a58}.btn.danger{color:var(--bad)}.btn.small{min-height:36px;padding:.25rem .75rem;font-size:.875rem}input,select{border:1px solid var(--line);background:var(--bg);min-height:44px;color:var(--text);font:inherit;border-radius:8px;padding:.5rem .75rem}input::placeholder{color:#6c7684}label.field{color:var(--muted);gap:.25rem;font-size:.875rem;display:grid}.row{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.error{color:var(--bad);margin:.5rem 0}.ok{color:var(--good)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}.empty{text-align:center;color:var(--muted);padding:3rem 1rem}.empty h2{color:var(--text);margin-top:0}.status{color:var(--muted);align-items:center;gap:.4rem;font-size:.875rem;display:inline-flex}.status i{background:var(--muted);border-radius:50%;width:8px;height:8px}.status.on i{background:var(--good)}.status.live i{background:var(--accent)}.center{max-width:400px;margin:0 auto;padding:3rem 1rem}.stack{gap:1rem;display:grid}.code-input{letter-spacing:.4em;text-align:center;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:2rem}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9375rem}th,td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--line);padding:.6rem .75rem}th:first-child,td:first-child,td.left,th.left{text-align:left}tbody tr:last-child td{border-bottom:0}thead th{background:var(--surface);color:var(--muted);font-size:.8125rem;font-weight:600;position:sticky;top:0}th button{all:unset;cursor:pointer;min-height:24px;padding:.5rem .25rem}th button:focus-visible{outline:2px solid var(--blue)}tbody tr.link{cursor:pointer}tbody tr:hover,tbody tr.sel{background:var(--surface-2)}tr.endrow td{background:var(--surface-2);color:var(--muted);font-size:.8125rem;font-weight:600}.mark{border:1px solid var(--line);color:var(--muted);border-radius:4px;margin-left:.35rem;padding:0 .35rem;font-size:.6875rem;display:inline-block}.hit-cell{padding-top:.25rem;padding-bottom:.25rem}.hit-select{width:4.5rem;min-height:36px;padding:.15rem .4rem;font-weight:700}.hit-select.none{color:var(--muted);font-weight:400}@media (pointer:coarse){.hit-select{min-height:44px}}.good{color:var(--good)}.mid{color:var(--mid)}.bad{color:var(--bad)}.live-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1.5rem;margin-bottom:1rem;display:flex}.live-head h1{margin:0}.live-grid{grid-template-columns:1.1fr 1fr;align-items:start;gap:1rem;display:grid}@media (width<=760px){.live-grid{grid-template-columns:1fr}}.hero{gap:1rem 1.5rem;display:grid}.hero-top{flex-wrap:wrap;align-items:flex-end;gap:1rem 2.5rem;display:flex}.hero .hit.none{color:var(--muted)}.hero .score{font-size:clamp(5rem,22vw,8rem);font-weight:800;line-height:.9}.hero .score small{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.875rem;font-weight:600;display:block}.metrics{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem 1rem;display:grid}.metric dt{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.75rem}.metric dd{margin:0;font-size:1.5rem;font-weight:700;line-height:1.2}.metric dd small{color:var(--muted);margin-left:.2rem;font-size:.8125rem;font-weight:500}.trace-box{place-items:center;display:grid}.legend{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:.5rem;font-size:.8125rem;display:flex}.legend i{vertical-align:middle;border-radius:2px;width:18px;height:3px;margin-right:.35rem;display:inline-block}.shot-list{max-height:360px;overflow:auto}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.75rem 1rem}.stat dt{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.75rem}.stat dd{margin:0;font-size:1.5rem;font-weight:700}.stat dd small{color:var(--muted);margin-left:.25rem;font-size:.8125rem;font-weight:500}.chart{width:100%;min-width:0;overflow:hidden}.live-grid>*,.charts-2>*,.panel{min-width:0}.chart svg{display:block}.grid{stroke:var(--line);stroke-width:1px}.tick,.axis-label{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.chart-empty{fill:var(--muted);font-size:14px}.dot{fill:var(--blue);fill-opacity:.8;cursor:pointer}.dot.sel{fill:var(--accent);fill-opacity:1}.trace-pre{stroke:var(--blue)}.trace-win{stroke:var(--accent)}.trace-shot{fill:none;stroke:var(--text);stroke-width:2px}.charts-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}@media (width<=760px){.charts-2{grid-template-columns:1fr}}.gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.gallery button{all:unset;cursor:pointer;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);justify-items:center;gap:.25rem;min-height:44px;padding:.5rem;display:grid}.gallery button.sel{background:var(--surface-2);border-color:#46525f}.gallery button:focus-visible{outline:2px solid var(--blue)}.seg{border:1px solid var(--line);border-radius:8px;display:inline-flex;overflow:hidden}.seg button{all:unset;cursor:pointer;min-height:28px;color:var(--muted);padding:.5rem 1rem}.seg button[aria-pressed=true]{background:var(--surface-2);color:var(--text)}.seg button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.crumb{margin-bottom:.5rem;font-size:.875rem;display:inline-block}
