.stage.svelte-jhth3x{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;width:100%;height:100%;padding:.75rem;box-sizing:border-box;overflow:hidden}.cell.svelte-jhth3x{flex:none;max-width:100%}.row.svelte-jhth3x{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%}.row.wrap.svelte-jhth3x{flex-wrap:wrap;row-gap:10px}.slot.svelte-jhth3x{flex:none;padding:0;border:none;background:none;cursor:pointer;border-radius:8px}.slot.svelte-jhth3x:focus{outline:none}.slot.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.mark.svelte-jhth3x{display:inline-flex;align-items:center;gap:3px;flex:none}.mark.to.svelte-jhth3x{display:inline-grid;grid-template-rows:1fr auto 1fr;justify-items:center;gap:2px}.mark.to.svelte-jhth3x>:where(.svelte-jhth3x):first-child{align-self:end}.inputs.svelte-jhth3x{display:inline-flex;align-items:center;gap:4px;flex:none}.inputs.two.svelte-jhth3x{padding:3px;border:1.5px dashed var(--line);border-radius:10px}.selfloop.svelte-jhth3x{position:relative;width:96px;height:96px;flex:none;margin-bottom:-.9rem}.loopline.svelte-jhth3x{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.inloop.svelte-jhth3x{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);max-width:52px}.inloop.svelte-jhth3x svg:where(.svelte-jhth3x){width:22px;height:22px}.word.svelte-jhth3x{display:inline-flex;align-items:center;gap:3px}.way.svelte-jhth3x .word:where(.svelte-jhth3x) svg:where(.svelte-jhth3x){width:20px;height:20px}.arrow.svelte-jhth3x{width:48px;height:14px;flex:none}.way.svelte-jhth3x .arrow:where(.svelte-jhth3x){width:32px}.mark.svelte-jhth3x>svg:where(.svelte-jhth3x),.markbox.svelte-jhth3x>svg:where(.svelte-jhth3x){width:48px;height:48px}.markbox.svelte-jhth3x{position:relative;display:inline-block;width:48px;height:48px;flex:none}.corner.svelte-jhth3x{position:absolute;right:-6px;bottom:-6px;width:24px}.shelf.svelte-jhth3x{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%}.tile.svelte-jhth3x{position:relative;width:56px;flex:none;padding:0;border:none;background:none;cursor:pointer;border-radius:8px}.tile.svelte-jhth3x:focus{outline:none}.tile.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.badge.svelte-jhth3x{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:var(--brand);color:var(--on-brand);font-size:.65rem;font-weight:700;line-height:18px;text-align:center}.badge.eq.svelte-jhth3x{right:auto;left:-6px;font-size:.8rem}.cayley.svelte-jhth3x{display:grid;gap:2px;background:#e2e8f0;border:2px solid var(--line);border-radius:6px;overflow:hidden;width:fit-content;max-width:100%}[data-theme] .cayley.svelte-jhth3x{background:var(--line)}.grid-row.svelte-jhth3x{display:contents}.gcell.svelte-jhth3x{display:flex;align-items:center;justify-content:center;background:var(--paper);padding:0;min-width:0}.gcell.svelte-jhth3x>svg:where(.svelte-jhth3x){width:72%;height:72%}.mini-r.svelte-jhth3x{width:84%}.word.svelte-jhth3x{display:grid;grid-template-columns:repeat(var(--n),1fr);width:86%;height:86%;align-content:center}.word.svelte-jhth3x svg:where(.svelte-jhth3x){width:100%;height:auto;aspect-ratio:1;max-height:calc(86% / var(--rows))}.spells[hidden].svelte-jhth3x{display:none}.gcell.corner.svelte-jhth3x,.gcell.header.svelte-jhth3x{background:var(--paper-soft)}.gcell.corner.svelte-jhth3x{font-weight:600;color:var(--ink-soft)}.gcell.body.svelte-jhth3x{border:none;cursor:pointer}.gcell.body.svelte-jhth3x:hover{background-color:var(--paper-soft)}.gcell.body.focus.svelte-jhth3x{box-shadow:inset 0 0 0 2px var(--brand)}.gcell.body.svelte-jhth3x:focus{outline:none}.gcell.body.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;z-index:1}.gcell.svelte-jhth3x path:where(.svelte-jhth3x){fill:none;stroke:var(--brand);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.gcell.svelte-jhth3x path.faint:where(.svelte-jhth3x){stroke-width:4;stroke-dasharray:7 6}.steps.svelte-jhth3x{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;min-height:56px;max-width:100%}.chipgroup.svelte-jhth3x{position:relative;display:inline-flex;align-items:center;padding-top:8px}.step.svelte-jhth3x{display:inline-flex;align-items:center;gap:3px;height:52px;padding:3px 5px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer}.step[aria-pressed=true].svelte-jhth3x{border-color:var(--brand);box-shadow:inset 0 0 0 1.5px var(--brand)}.step.svelte-jhth3x:focus{outline:none}.step.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.step.svelte-jhth3x svg:where(.svelte-jhth3x),.step.svelte-jhth3x .markbox:where(.svelte-jhth3x){width:40px;height:40px}.x.svelte-jhth3x{position:absolute;top:-8px;right:-14px;width:28px;height:28px;padding:0;border:1.5px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink-soft);font-size:1rem;line-height:1;cursor:pointer}.x.svelte-jhth3x:hover{color:var(--brand);border-color:var(--brand)}.x.svelte-jhth3x:focus{outline:none}.x.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.mini.svelte-jhth3x{width:42px}.sign-sm.svelte-jhth3x{font-size:1.1rem;font-weight:700;color:var(--brand);min-width:1rem;text-align:center}.ring.svelte-jhth3x{position:relative;flex:none;max-width:100%}.ring.svelte-jhth3x .at:where(.svelte-jhth3x){position:absolute}.track.svelte-jhth3x{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.track.svelte-jhth3x circle:where(.svelte-jhth3x){fill:none;stroke:var(--line);stroke-width:2;stroke-dasharray:6 8}.track.svelte-jhth3x path:where(.svelte-jhth3x),.loopline.svelte-jhth3x path:where(.svelte-jhth3x),.mark.svelte-jhth3x .arrow:where(.svelte-jhth3x) path:where(.svelte-jhth3x),.arrow.svelte-jhth3x path:where(.svelte-jhth3x){fill:none;stroke:var(--ink-soft);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.centre.svelte-jhth3x{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:2px}.centre.svelte-jhth3x svg:where(.svelte-jhth3x),.marks.svelte-jhth3x svg:where(.svelte-jhth3x){width:28px;height:28px}.marks.svelte-jhth3x{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;max-width:100%}.then.svelte-jhth3x{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;padding:3px 5px;border:1.5px dashed var(--line);border-radius:10px;min-width:1.5rem;min-height:52px}.controls.svelte-jhth3x{display:flex;flex-direction:column;gap:.75rem}.control-group.svelte-jhth3x{display:flex;gap:.5rem;align-items:center}.btn-row.svelte-jhth3x{display:flex;flex-wrap:wrap;gap:.35rem}.btn-row.svelte-jhth3x button{flex:1 1 5rem}.mode-toggle.svelte-jhth3x{display:flex;border-radius:6px;overflow:hidden;border:1px solid var(--line)}.mode-btn.svelte-jhth3x{flex:1;padding:.5rem .4rem;border:none;background:var(--paper);font-size:.8rem;font-weight:500;cursor:pointer;color:var(--ink)}.mode-btn.svelte-jhth3x:hover{background:var(--paper-soft)}.mode-btn.active.svelte-jhth3x{background:var(--brand);color:var(--on-brand)}.mode-btn.svelte-jhth3x:disabled{opacity:.45;cursor:default;background:var(--paper)}.mode-btn.svelte-jhth3x:focus{outline:none}.mode-btn.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.spells.svelte-jhth3x{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem}.spell-btn.svelte-jhth3x{aspect-ratio:1;min-height:2.75rem;padding:.3rem;border:1.5px solid var(--line);border-radius:6px;background:var(--paper);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--brand)}.spell-btn.written.svelte-jhth3x{border-style:dashed}.spell-btn.svelte-jhth3x svg:where(.svelte-jhth3x){display:block;width:100%;height:auto;aspect-ratio:1}.spell-btn.svelte-jhth3x:hover:not(:disabled){border-color:var(--brand)}.spell-btn[aria-pressed=true].svelte-jhth3x{border-color:var(--brand);background:var(--paper-soft);box-shadow:inset 0 0 0 1px var(--brand)}.spell-btn.svelte-jhth3x:disabled{opacity:.35;cursor:default}.spell-btn.svelte-jhth3x:focus{outline:none}.spell-btn.svelte-jhth3x:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.spell-btn.svelte-jhth3x path:where(.svelte-jhth3x),.step.svelte-jhth3x path:where(.svelte-jhth3x),.mark.svelte-jhth3x path:where(.svelte-jhth3x),.markbox.svelte-jhth3x path:where(.svelte-jhth3x),.centre.svelte-jhth3x path:where(.svelte-jhth3x),.marks.svelte-jhth3x path:where(.svelte-jhth3x){fill:none;stroke:var(--spell);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.spell-btn.svelte-jhth3x path.faint:where(.svelte-jhth3x),.step.svelte-jhth3x path.faint:where(.svelte-jhth3x),.mark.svelte-jhth3x path.faint:where(.svelte-jhth3x),.markbox.svelte-jhth3x path.faint:where(.svelte-jhth3x){stroke-width:4;stroke-dasharray:7 6}
