:root{--bg:#05060a;--scene-ink:#f5eee2;--scene-ink2:#f5eee2ad;--accent:#f0a04b;--font:"Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--scene-ink);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow:hidden}#root canvas{touch-action:none;display:block}.scene{position:fixed;top:0;bottom:0;left:0;right:0}.title{left:16px;top:calc(env(safe-area-inset-top,0px) + 14px);pointer-events:none;text-shadow:0 1px 14px #000000b3;max-width:min(340px,100% - 32px);position:fixed}.title h1{letter-spacing:-.02em;font-variation-settings:"opsz" 96;margin:0;font-size:clamp(34px,6vw,58px);font-weight:700;line-height:.95}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dock,.touchpad,.title{-webkit-user-select:none;user-select:none}.dock{left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);-webkit-backdrop-filter:blur(14px);background:#0e0f16b3;border:1px solid #f5eee229;border-radius:14px;width:min(900px,100% - 24px);padding:10px 12px;font-size:13px;position:fixed;transform:translate(-50%)}.dock-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dock-row>.quality{margin-left:auto}.seg{background:#f5eee212;border-radius:10px;align-items:center;gap:2px;padding:3px;display:flex}.dock button{font:inherit;color:var(--scene-ink);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;padding:6px 11px}.dock button:hover{border-color:var(--accent)}.dock button.on{background:var(--accent);color:#1a0d02;font-weight:500}.dock button.here{box-shadow:inset 0 -2px 0 var(--accent)}.dock button.plain{background:#f5eee212}.quality .auto{color:var(--scene-ink2);padding:0 6px 0 2px;font-size:11.5px}.dock-status{color:var(--scene-ink2);flex-wrap:wrap;align-items:baseline;gap:10px;margin:8px 2px 0;display:flex}.dock-status strong{color:var(--scene-ink);font-weight:600}.dock-status .alt{font-variant-numeric:tabular-nums}.dock-hint{color:var(--scene-ink2);margin:4px 2px 0;font-size:12px;line-height:1.7}kbd{font:inherit;color:var(--scene-ink);border:1px solid #f5eee240;border-radius:4px;margin:0 1px;padding:1px 5px;font-size:11px}.touchpad{left:16px;right:16px;bottom:calc(env(safe-area-inset-bottom,0px) + var(--dock-h,130px) + 24px);pointer-events:none;justify-content:space-between;align-items:flex-end;display:flex;position:fixed}.touchpad>*{pointer-events:auto}.stick{touch-action:none;background:#0e0f1673;border:1px solid #f5eee238;border-radius:50%;place-items:center;width:124px;height:124px;display:grid}.knob{background:#f0a04bd9;border-radius:50%;width:52px;height:52px}.lift{flex-direction:column;gap:10px;display:flex}.lift button{width:56px;height:56px;color:var(--scene-ink);touch-action:none;background:#0e0f168c;border:1px solid #f5eee238;border-radius:50%;font-size:18px}@media (max-width:640px){.dock{padding:8px;font-size:12.5px}.dock button{padding:6px 8px}.dock-status .blurb{display:none}}:root{--panel:#0e0f16b8;--line:#f5eee229;--field:#f5eee212}.title .sub{color:var(--scene-ink2);margin:6px 0 12px;font-size:14px;line-height:1.35}.stats{grid-template-columns:auto auto;justify-content:start;gap:4px 18px;margin:0;font-size:13px;display:grid}.stats div{display:contents}.stats dt{color:var(--scene-ink2)}.stats dd{font-variant-numeric:tabular-nums;margin:0;font-weight:500}.stats .of{color:var(--scene-ink2);font-weight:400}.title .note{color:var(--scene-ink2);margin:10px 0 0;font-size:12px}.title .fps{font-variant-numeric:tabular-nums;margin-left:6px}.hashrate{pointer-events:auto;width:250px;margin-top:12px}.hr-head{justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.hr-label{color:var(--scene-ink2);align-items:center;gap:7px;display:inline-flex}.hr-value{font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:20px;font-weight:600}.hr-value small{color:var(--scene-ink2);font-size:12px;font-weight:400}.hr-note{color:var(--scene-ink2);margin:0 0 4px;font-size:11.5px}.live{background:var(--accent);border-radius:50%;width:7px;height:7px;animation:2.2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.panel{background:var(--panel);color:var(--scene-ink);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);border-radius:14px}.panel .x{color:var(--scene-ink2);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:4px 8px;font-size:20px;line-height:1;position:absolute;top:4px;right:6px}.panel .x:hover{color:var(--scene-ink)}.side{right:14px;top:calc(env(safe-area-inset-top,0px) + 14px);width:min(320px,100% - 28px);max-height:calc(100% - var(--dock-h,130px) - 60px);flex-direction:column;gap:10px;display:flex;position:fixed}.card,.guide{padding:14px 16px;position:relative}.card h2,.guide h2{letter-spacing:-.01em;margin:0 0 2px;font-size:19px;font-weight:700}.card .when{color:var(--scene-ink2);margin:0 0 10px;font-size:13px}.card dl{grid-template-columns:auto 1fr;gap:5px 14px;margin:0;font-size:13.5px;display:grid}.card dt{color:var(--scene-ink2)}.card dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.card .tag{color:var(--scene-ink2);margin:10px 0;font-size:12.5px;line-height:1.4}.panel button.act,.dock button.primary{font:inherit;cursor:pointer;background:var(--accent);color:#1a0d02;border:1px solid #0000;border-radius:9px;padding:7px 12px;font-size:13px;font-weight:500}.guide{overflow:auto}.guide h3{margin:14px 0 6px;font-size:13.5px;font-weight:700}.guide p,.guide ul{color:var(--scene-ink2);margin:0 0 8px;font-size:13px;line-height:1.45}.guide ul{padding-left:18px}.guide li{margin-bottom:4px}.guide b{color:var(--scene-ink);font-weight:600}.ramp{background:linear-gradient(90deg,#1c409a,#2eb5c4,#ffd17a,#ff8a1f,#ff3d5a);border-radius:5px;height:10px;margin:6px 0 2px}.ramp-l{color:var(--scene-ink2);justify-content:space-between;font-size:12px;display:flex}.fees{right:14px;bottom:calc(env(safe-area-inset-bottom,0px) + var(--dock-h,130px) + 24px);width:min(340px,100% - 28px);padding:12px 14px 10px;position:fixed}.fees-head{justify-content:space-between;align-items:center;display:flex}.fees h3{margin:0;font-size:14px;font-weight:700}.fees .x{position:static}.fees-sub{color:var(--scene-ink2);margin:2px 0 8px;font-size:12.5px}.fees-read{font-variant-numeric:tabular-nums;gap:22px;margin-bottom:6px;font-size:16px;font-weight:600;display:flex}.fees-read small{color:var(--scene-ink2);font-size:11.5px;font-weight:400;display:block}.fees-read em{color:var(--accent);margin-left:4px;font-size:12.5px;font-style:normal;font-weight:500}.fees-key{color:var(--scene-ink2);margin:6px 0 0;font-size:11.5px;line-height:1.4}.chart{position:relative}.chart svg{display:block;overflow:visible}.chart .grid{stroke:#f5eee21a;stroke-width:1px}.chart .tick{fill:var(--scene-ink2);font-variant-numeric:tabular-nums;font-size:10.5px}.chart .line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart .band{fill:var(--accent);opacity:.2}.chart .cursor{stroke:var(--scene-ink);stroke-width:1px;opacity:.55;stroke-dasharray:2 3}.chart .crosshair{stroke:var(--scene-ink);stroke-width:1px;opacity:.5}.chart .dot{fill:var(--accent);stroke:#15161d;stroke-width:2px}.chart .tip{pointer-events:none;white-space:nowrap;border:1px solid var(--line);z-index:2;background:#15161d;border-radius:8px;flex-direction:column;gap:1px;padding:6px 9px;font-size:12px;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 6px))}.chart .tip span{color:var(--scene-ink2)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dock-row+.dock-row{margin-top:8px}.dock .slider{min-width:160px;color:var(--scene-ink2);font-variant-numeric:tabular-nums;flex-direction:column;flex:1;gap:2px;font-size:12px;display:flex}.dock input[type=range]{width:100%;accent-color:var(--accent);height:20px;margin:0}.dock select{font:inherit;color:var(--scene-ink);background:var(--field);border:1px solid var(--line);border-radius:8px;max-width:170px;padding:6px 8px;font-size:13px}.dock button.on-soft{background:#f0a04b33;border-color:#f0a04b80}.dock button[aria-pressed]{background:var(--field)}.dock button[aria-pressed=true].on-soft{background:#f0a04b33}@media (max-width:640px){.title h1{font-size:30px}.title .sub{margin-bottom:6px;font-size:12.5px}.stats{grid-template-columns:repeat(4,auto);gap:1px 10px;font-size:11.5px}.hashrate{width:200px;margin-top:6px}.hr-note,.title .fps{display:none}.title .note{margin-top:6px;font-size:11.5px}.side{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + var(--dock-h,130px) + 20px);width:auto;max-height:50%;left:12px;right:12px}.fees{width:auto;left:12px;right:12px}.dock select{max-width:120px}}.title:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 20% 30%,#05060ab8,#05060a73 45%,#0000 75%);position:absolute;top:-40px;bottom:-30px;left:-40px;right:-60px}.stats,.hashrate,.title .note{text-shadow:0 1px 6px #000000d9}.side:has(.guide)~.fees{display:none}@media (max-width:640px){.side:not(:empty)~.fees{display:none}}.data-status .dot{background:var(--scene-ink2);vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.data-status .dot.on{background:#6fd39a}.toasts{left:50%;top:calc(env(safe-area-inset-top,0px) + 14px);pointer-events:none;z-index:5;flex-direction:column;align-items:center;gap:8px;width:min(420px,100% - 32px);display:flex;position:fixed;transform:translate(-50%)}.toast{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);border-radius:12px;flex-direction:column;gap:2px;width:100%;padding:9px 14px;font-size:13px;animation:.25s ease-out toast-in;display:flex}.toast span{color:var(--scene-ink2);font-size:12.5px}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.toast,.live{animation:none}}.guide code{font-size:12px}.guide .act{margin:2px 0 6px}.boot{color:var(--scene-ink2);letter-spacing:.02em;place-items:center;margin:0;font-size:14px;animation:2.2s ease-in-out infinite pulse;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}@media (prefers-reduced-motion:reduce){.boot{animation:none}}.ui{transition:opacity .6s}:root[data-cinematic] .ui{opacity:0;visibility:hidden;transition:opacity .6s,visibility 0s linear .6s}:root[data-cinematic] .scene{cursor:none}.cine-hint{left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 28px);color:var(--scene-ink2);letter-spacing:.01em;white-space:nowrap;pointer-events:none;opacity:0;background:#0e0f168c;border-radius:999px;margin:0;padding:7px 14px;font-size:13px;transition:opacity .8s;position:fixed;transform:translate(-50%)}.cine-hint.show{opacity:1}@media (prefers-reduced-motion:reduce){.ui,.cine-hint{transition:none}}
