:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#152433;--foreground:#f0f6f7;--muted:#b9cdd7;--border:#627e8e;--accent:#b9e4de;color:var(--foreground);background:var(--background);font-family:Avenir Next,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}.layout{max-width:68rem;margin:0 auto;padding:clamp(1rem,4vw,3rem)}.masthead{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.25rem;display:flex}h1{letter-spacing:-.065em;margin:0;font-size:clamp(2.75rem,8vw,5.15rem);font-weight:750;line-height:.95}p{margin:0}.masthead p{color:var(--muted);margin-top:.65rem}figure{margin:0}canvas{aspect-ratio:1.85;border:1px solid var(--border);touch-action:none;cursor:grab;background:#263d54;width:100%;display:block}canvas[data-dragging]{cursor:grabbing}figcaption{color:var(--muted);margin:.75rem 0 1rem;font-size:.95rem;line-height:1.5}.controls,.pieces,.arrows{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.controls{gap:.85rem}button{font:inherit;color:inherit;border:1px solid var(--border);cursor:pointer;background:0 0;min-width:44px;min-height:44px;padding:.5rem .65rem;font-weight:600}fieldset{border:0;min-inline-size:0;margin:0;padding:0}button:hover:not(:disabled){border-color:var(--accent)}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.55;cursor:default}.primary,.piece[aria-pressed=true]{color:#132b31;background:var(--accent);border-color:var(--accent)}.primary{padding-inline:1.2rem}.piece:before{content:"";background:var(--piece);border:1px solid #152433;width:.6rem;height:.6rem;margin-right:.45rem;display:inline-block}.piece-0{--piece:#f18261}.piece-1{--piece:#f7c34b}.piece-2{--piece:#56cdbf}.reset{margin-left:auto}.notice{color:var(--muted);min-height:1.5rem;margin-top:.75rem}@media (width<=35rem){canvas{aspect-ratio:1.25}.reset{margin-left:0}}
