*{margin:0;padding:0;box-sizing:border-box}html,body{background:#0b0e17;color:#e6e9f2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;min-height:100%}body{padding:28px 20px 48px}header{max-width:1100px;margin:0 auto 24px}header h1{font-size:28px;letter-spacing:-.02em;margin-bottom:6px}header .sub{color:#9aa3b8;font-size:14px;line-height:1.55;max-width:560px}.pipeline{max-width:1100px;margin:0 auto;display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.arrow{align-self:center;color:#22d3ee;font-size:22px;opacity:.7}.card{background:#0d111ecc;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px;box-shadow:0 12px 40px #00000059}.card h2{font-size:13px;font-weight:600;color:#b7bfd2;margin-bottom:12px;display:flex;align-items:center;gap:8px}.stepnum{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#22d3ee;color:#06202a;font-size:11px;font-weight:700;flex-shrink:0}#pad{display:block;background:#000;border-radius:10px;cursor:crosshair;touch-action:none}.morph-wrap{position:relative}#morph{display:block;border-radius:10px;background:#05070d}#lens{position:absolute;pointer-events:none;background:#080b14f2;border:1px solid rgba(34,211,238,.45);border-radius:8px;padding:6px;font-family:SF Mono,ui-monospace,Menlo,monospace;font-size:9.5px;line-height:1.5;white-space:pre;z-index:5;box-shadow:0 8px 24px #00000080}#lens.hidden{display:none}.row{display:flex;gap:8px;margin-top:12px}button{padding:8px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:#ffffff0f;color:#e6e9f2;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s,transform .08s}button:hover{background:#ffffff1f}button:active{transform:scale(.97)}button.primary{background:#22d3ee;border-color:#22d3ee;color:#06202a}button.primary:hover{background:#4be0f7}.caption{margin-top:10px;font-size:11.5px;line-height:1.5;color:#8b94aa;max-width:480px}.formula{font-family:SF Mono,ui-monospace,Menlo,monospace;font-size:13px;color:#22d3ee;background:#22d3ee14;border:1px solid rgba(34,211,238,.18);border-radius:8px;padding:8px 10px;margin-bottom:12px;text-align:center}.verdict{display:flex;align-items:baseline;gap:10px;margin-bottom:10px;min-height:64px}#bigDigit{font-size:56px;font-weight:800;letter-spacing:-.03em;color:#f3f6ff;line-height:1}#bigConf{font-size:13px;color:#8b94aa}#bars{display:grid;gap:4px;width:230px}.bar-row{display:grid;grid-template-columns:14px 1fr 44px;align-items:center;gap:8px;font-size:11.5px;font-variant-numeric:tabular-nums}.bar-row .d{color:#8b94aa;font-weight:600}.bar-row .pct{color:#8b94aa;text-align:right}.bar-track{height:12px;border-radius:6px;background:#ffffff0f;overflow:hidden}.bar-fill{height:100%;width:0%;border-radius:6px;background:#475069;transition:width .12s ease-out,background .12s}.bar-row.top .bar-fill{background:#22d3ee}.bar-row.top .d,.bar-row.top .pct{color:#e6e9f2}.mutate{max-width:1100px;margin:18px auto 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#0d111ecc;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px 16px}.mutate-label{font-size:12px;font-weight:700;color:#b7bfd2}#status{flex:1 1 260px;font-size:12.5px;line-height:1.45;color:#cdd4e4;margin-left:8px}#status.warn{color:#fbbf24}.templates{max-width:1100px;margin:22px auto 0}.templates h2{font-size:16px;margin-bottom:6px}.templates .caption{max-width:640px}#templateRow{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.tmpl{text-align:center;font-size:11px;color:#8b94aa}.tmpl canvas{display:block;width:64px;height:64px;border-radius:8px;border:2px solid transparent;background:#05070d;image-rendering:pixelated;margin-bottom:4px}.tmpl.top canvas{border-color:#22d3ee}.tmpl.top{color:#e6e9f2}footer{max-width:1100px;margin:26px auto 0;font-size:12px;color:#6f788e;line-height:1.5}footer span{color:#9aa3b8}body.viewmode{padding:10px}body.viewmode header,body.viewmode footer,body.viewmode .arrow{display:none}body.viewmode .pipeline{justify-content:center;gap:14px}body.view-draw #cardNumbers,body.view-draw .templates,body.view-pixels #cardDraw,body.view-pixels #cardFn,body.view-pixels .templates,body.view-weights .pipeline{display:none}body.view-weights .templates{margin-top:0}body.view-weights .templates h2,body.view-weights .templates .caption{display:none}body.view-weights #templateRow{justify-content:center}#cardFn #status{margin:12px 0 0;max-width:230px;flex:none}
