:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e5e8ed; background: #0a0e14; }
* { box-sizing: border-box; }
body { margin: 0; display: grid; grid-template-columns: 310px 1fr; height: 100dvh; overflow: hidden; }
#panel { padding: 26px 22px; background: #111821; border-right: 1px solid #26303c; overflow-y: auto; }
.eyebrow { color: #93a0ae; font-size: 10px; letter-spacing: 2.3px; }
h1 { margin: 10px 0 4px; font-size: 29px; font-weight: 600; letter-spacing: -1px; }
.dot { color: #a9e978; }
header p { color: #93a0ae; margin: 0 0 24px; font-size: 13px; }
label { display: block; font-size: 11px; color: #a4b0bc; text-transform: uppercase; letter-spacing: 1px; margin: 20px 0 8px; }
select, button, .button { color: #e5e8ed; background: #1c2632; border: 1px solid #354354; border-radius: 7px; min-height: 37px; padding: 8px 10px; font: inherit; font-size: 12px; }
select { width: 100%; }
button, .button { cursor: pointer; text-align: center; text-decoration: none; }
button:hover:not(:disabled), .button:hover { background: #2a3949; border-color: #a9e978; }
:focus-visible { outline: 2px solid #a9e978; outline-offset: 3px; }
:disabled { opacity: .45; cursor: wait; }
.row { display: flex; gap: 7px; margin-top: 10px; }.row > * { flex: 1; }
.muted, details, .footnote { color: #9aa8b6; font-size: 12px; line-height: 1.55; }
#model-info { margin-top: 8px; }
#status { font-size: 12px; color: #a9e978; margin-top: 16px; overflow-wrap: anywhere; }
#status.error { color: #ff9a91; }
progress { width: 100%; height: 4px; margin: 8px 0; accent-color: #a9e978; }
progress[hidden] { display: none; }
#view-info { margin-top: 9px; overflow-wrap: anywhere; }
figure { margin: 14px 0 0; }figure img { width: 100%; border-radius: 7px; display: block; }figcaption { color: #82909e; font-size: 10px; margin-top: 5px; }
input[type=range] { width: 100%; accent-color: #a9e978; }output { float: right; }
.footnote { font-size: 10px; margin-top: 20px; }details { font-size: 11px; margin-top: 18px; }summary { cursor: pointer; }
#stage { position: relative; min-width: 0; min-height: 0; background: #070b10; }
#canvas-wrap { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
canvas { display: block; touch-action: none; max-width: 100%; max-height: 100%; }
#caption { position: absolute; bottom: 20px; left: 22px; right: 22px; font-size: 12px; color: #d5dee7; text-shadow: 0 1px 4px #000; pointer-events: none; }
#hint { position: absolute; top: 20px; left: 20px; right: 20px; padding: 10px; background: #111821db; font-size: 12px; text-align: center; pointer-events: none; border-radius: 6px; }
@media (max-width: 760px) { body { grid-template-columns: 240px 1fr; }#panel { padding: 18px 14px; }h1 { font-size: 25px; }.row { flex-wrap: wrap; }.row > * { flex-basis: 90px; } }
@media (max-width: 520px) { body { grid-template-columns: 1fr; grid-template-rows: 60dvh 40dvh; }#stage { grid-row: 1; }#panel { grid-row: 2; border-right: 0; border-top: 1px solid #26303c; }header { display: none; }label:first-of-type { margin-top: 0; } }

#stop { width: 100%; margin: 4px 0 8px; }
#stop[hidden] { display: none; }
