@layer theme,base,components,utilities,legacy;@layer look{.kind-math .math-head{width:100%;max-width:420px;position:relative}.kind-math .math-clock{pointer-events:none;height:2px;position:absolute;bottom:0;left:0;right:0}.kind-math .math-clock span{background:var(--progress);transform-origin:0;height:100%;animation:linear forwards training-countdown;display:block}.training-stage.kind-math{gap:var(--sp-5)}.kind-math .math-problem{width:100%;padding:var(--sp-2) 0 var(--sp-4);border-bottom:1px solid var(--rule);font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:clamp(27px,9vw,46px);line-height:var(--lh-tight);letter-spacing:.02em;text-align:center;overflow-wrap:break-word;margin:0}.kind-math form{padding-top:0}.training-stage.kind-math label{font-family:var(--ui);font-size:var(--fs-meta);letter-spacing:0;color:var(--dim)}.training-stage.kind-math input{font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:.08em;text-align:center;border-radius:var(--r);font-size:clamp(18px,5vw,23px)}.kind-math .math-hint{font-family:var(--ui);font-size:var(--fs-meta);color:var(--dim);text-align:center;margin:0}.kind-math .math-peek{width:100%;color:inherit;font:inherit;letter-spacing:normal;text-transform:none;background:0 0;border:0;padding:0}.kind-math .math-peek .math-problem{display:block}.kind-math .math-peek:focus-visible{color:inherit;outline:2px solid var(--focus);outline-offset:2px;background:0 0}.kind-math .math-problem.is-blank{color:var(--dim);letter-spacing:.3em}.kind-math .math-correct{font-size:clamp(18px,5vw,23px)}}
@layer theme,base,components,utilities,legacy;@layer look{.training-stage.kind-clock{gap:var(--sp-4)}.kind-clock .clock-face{width:min(100%,340px);height:auto;margin:0 auto;display:block}.kind-clock .clock-rim{fill:none;stroke:var(--ink);stroke-width:2.5px}.kind-clock .clock-ring{fill:none;stroke:var(--dim);stroke-width:1.2px}.kind-clock .clock-tick{stroke:var(--dim);stroke-width:1.2px}.kind-clock .clock-tick.is-hour{stroke:var(--ink);stroke-width:2.5px}.kind-clock .clock-tick.is-top{stroke:var(--ink);stroke-width:4px}.kind-clock .clock-dial-name{font-family:var(--ui);fill:var(--dim);text-anchor:middle;font-size:11px}.kind-clock .clock-hand{stroke-linecap:round}.kind-clock .clock-hand.is-hour{stroke:var(--ink);stroke-width:7px}.kind-clock .clock-hand.is-minute{stroke:var(--ink);stroke-width:4px}.kind-clock .clock-hand.is-second{stroke:var(--c-red);stroke-width:1.8px}.kind-clock .clock-hand.is-tenth{stroke:var(--c-blue);stroke-width:3px}.kind-clock .clock-hand.is-day{stroke:var(--c-green);stroke-width:3px}.kind-clock .clock-hand.is-month{stroke:var(--c-purple);stroke-width:3px}.kind-clock .clock-pin{fill:var(--ink)}.kind-clock form{padding-top:0}.training-stage.kind-clock label{font-family:var(--ui);font-size:var(--fs-meta);letter-spacing:0;color:var(--dim)}.training-stage.kind-clock input{font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:.06em;text-align:center;border-radius:var(--r);font-size:clamp(18px,5vw,23px)}.kind-clock .clock-hint{font-family:var(--ui);font-size:var(--fs-meta);color:var(--dim);text-align:center;margin:0}.kind-clock .clock-correct{font-size:clamp(18px,5vw,23px)}}
@layer theme,base,components,utilities,legacy;@layer look{.kind-memspan .memory-item{line-height:1}.memspan-count,.memspan-hint{font-family:var(--ui);font-size:var(--fs-meta);line-height:var(--lh-text);letter-spacing:0;color:var(--dim);font-variant-numeric:tabular-nums;margin:0}.memspan-count{margin-top:-4px}.kind-memspan form{gap:var(--sp-3)}.memspan-input{font-family:var(--mono), monospace;text-align:center;text-transform:uppercase;letter-spacing:.22em;text-indent:.22em}}
@layer theme,base,components,utilities,legacy;@layer look{.training-stage.kind-symmetry{gap:var(--sp-3)}.symmetry-pattern,.symmetry-board{gap:var(--sp-1);padding:var(--sp-1);background:var(--cell-edge);border:1px solid var(--frame);display:grid}.symmetry-pattern{grid-template-columns:repeat(8,1fr);width:min(100%,304px);position:relative}.symmetry-pattern span{aspect-ratio:1;background:var(--plate)}.symmetry-pattern span.on{background:var(--ink)}.symmetry-axis{background:var(--dim);width:1px;position:absolute;top:-8px;bottom:-8px;left:50%;transform:translate(-50%)}.symmetry-board{grid-template-columns:repeat(4,1fr);width:min(100%,236px)}.symmetry-board span,.symmetry-board button{aspect-ratio:1;background:var(--plate);color:var(--ink);font-family:var(--mono);font-size:var(--fs-5);letter-spacing:0;text-transform:none;border:0;border-radius:0;justify-content:center;align-items:center;padding:0;font-weight:500;line-height:1;display:flex}.symmetry-board span.on{background:var(--ink)}.symmetry-board button{cursor:pointer}.symmetry-board button[aria-pressed=true]{background:var(--press-fill);color:var(--press-ink);font-weight:700}.symmetry-board button:focus-visible{background:var(--plate);color:var(--ink);outline:2px solid var(--focus);outline-offset:-5px}.symmetry-board button[aria-pressed=true]:focus-visible{background:var(--press-fill);color:var(--press-ink);outline-color:var(--press-ink)}.symmetry-board.review span.truth{color:var(--ink);font-weight:700}.symmetry-board.review span.moved{outline:2px dashed var(--ink);outline-offset:-4px}.symmetry-board.review span.stray s{color:var(--dim);text-decoration-thickness:1px}.symmetry-board .symmetry-key{font-size:var(--fs-2);color:var(--dim);text-transform:uppercase;font-weight:500}@media (pointer:coarse){.symmetry-board .symmetry-key{display:none}}.symmetry-hint{text-align:center;max-width:34ch;line-height:var(--lh-text);margin:0}@media (max-width:480px){.symmetry-pattern{width:min(100%,272px)}.symmetry-board{width:min(100%,216px)}}}
@layer theme,base,components,utilities,legacy;@layer look{.cryptogram{align-items:center;gap:var(--sp-4);flex-direction:column;width:100%;display:flex;container-type:inline-size}.training-stage.kind-cryptogram{justify-content:flex-start;min-height:0}.cryptogram-quote{justify-content:center;gap:var(--sp-3) var(--sp-3);width:100%;font-family:var(--mono);flex-wrap:wrap;font-size:clamp(12px,3.2vw,15px);display:flex}.cryptogram-word{gap:var(--sp-1);flex-wrap:nowrap;display:flex}.cryptogram-cell{align-items:center;gap:var(--sp-1);width:var(--cell,1.55em);color:var(--ink);font:inherit;text-transform:none;letter-spacing:0;background:0 0;border:0;border-radius:0;flex-direction:column;padding:0;display:flex}.cryptogram-letter{border-bottom:1px solid var(--rule-dark);justify-content:center;align-items:center;width:100%;height:1.55em;font-size:1.05em;display:flex}.cryptogram-number{font-size:.76em;line-height:var(--lh-tight);color:var(--dim)}.cryptogram-cell.mark{width:.7em}.cryptogram-cell.mark .cryptogram-letter{border-bottom-color:#0000}.cryptogram-cell.active .cryptogram-letter{border-bottom:2px solid var(--ink);background:var(--paper-2)}.cryptogram-cell.wrong .cryptogram-letter{border-bottom-color:var(--ink);outline:2px dashed var(--verdict);outline-offset:1px}.cryptogram-cell.revealed .cryptogram-letter{color:var(--dim);border-bottom-style:dashed}.cryptogram .cryptogram-quote button:disabled{opacity:1;color:var(--dim)}.cryptogram .cryptogram-quote button:focus-visible{color:var(--ink);outline:1px solid var(--ink);outline-offset:1px;background:0 0}.cryptogram-status{justify-content:space-between;align-items:baseline;gap:var(--sp-3);width:100%;font-family:var(--ui);font-size:var(--fs-meta);font-variant-numeric:tabular-nums;color:var(--dim);margin:0;display:flex}.cryptogram-status .bad{color:var(--ink)}.cryptogram-keys{gap:var(--sp-1);grid-template-columns:repeat(auto-fit,minmax(34px,1fr));width:100%;max-width:430px;display:grid}.cryptogram-keys button{border:1px solid var(--key-edge);border-radius:var(--r);background:var(--key);min-height:44px;box-shadow:inset 0 -2px 0 var(--key-base);font-family:var(--mono);font-size:var(--fs-meta);letter-spacing:0;padding:0;font-weight:500}.cryptogram-keys button.wrong{outline:2px dashed var(--verdict);outline-offset:2px}.cryptogram-keys button.placed,.cryptogram-cell.filled .cryptogram-number{text-decoration:line-through}.cryptogram-tray{align-items:baseline;gap:var(--sp-1) var(--sp-2);width:100%;max-width:430px;padding-top:var(--sp-2);border-top:1px solid var(--rule);font-family:var(--ui);font-size:var(--fs-meta);flex-wrap:wrap;margin:-8px 0 0;display:flex}.cryptogram-tray-label{color:var(--dim)}.cryptogram-tray-letters{gap:var(--sp-1) var(--sp-2);color:var(--ink);font-family:var(--mono);flex-wrap:wrap;display:flex}.cryptogram-copy{margin-left:var(--sp-3)}.cryptogram-cue{min-height:1.3em;font-family:var(--ui);font-size:var(--fs-meta);color:var(--dim);text-align:center;margin:0}.cryptogram-cue.bad{color:var(--ink-2)}.cryptogram .action-row{width:100%;max-width:430px;margin-top:0}}
@layer theme,base,components,utilities,legacy;@layer look{.spatial-item{align-items:center;gap:var(--sp-3);flex-direction:column;width:100%;display:flex}.fold-steps{justify-content:center;gap:var(--sp-2);counter-reset:fold;width:100%;margin:0;padding:0;list-style:none;display:flex}.fold-steps li{counter-increment:fold;text-align:center;min-width:0;font:11px var(--mono), monospace;color:var(--dim);flex:0 150px}.fold-steps li:after{content:counter(fold)}.fold-steps svg{aspect-ratio:1;width:100%;display:block}.fold-ghost{fill:none;stroke:var(--rule);stroke-width:.8px;stroke-dasharray:2 2}.fold-paper{fill:color-mix(in srgb, var(--ink) 7%, var(--paper));stroke:var(--ink);stroke-width:.9px;stroke-linejoin:round}.fold-crease{stroke:var(--ink);stroke-width:1px;stroke-dasharray:4 3}.fold-arrow{fill:none;stroke:var(--ink);stroke-width:1.6px}.fold-head{fill:var(--ink)}.fold-hole{fill:var(--ink);stroke:var(--ink);stroke-width:.5px;stroke-linejoin:round}.net-drawing{width:min(100%,230px);max-height:190px;display:block}.cube-face{stroke:var(--ink);stroke-width:.7px;stroke-linejoin:round}.cube-face.shade-0{fill:var(--paper)}.cube-face.shade-1{fill:color-mix(in srgb, var(--ink) 12%, var(--paper))}.cube-face.shade-2{fill:color-mix(in srgb, var(--ink) 24%, var(--paper))}.cube-mark{fill:var(--ink);fill-rule:evenodd}.spatial-options{gap:var(--sp-2);grid-template-columns:repeat(3,1fr);width:100%;display:grid}.spatial-options button{min-height:44px;color:var(--ink);border:1px solid var(--rule);padding:var(--sp-2);cursor:pointer;background:0 0;position:relative}.spatial-item.stack{padding:0 var(--sp-2) var(--sp-2);box-sizing:border-box}.stack-drawing{width:min(100%,380px);max-height:min(300px,36dvh);display:block}.stack-floor{fill:none;stroke:var(--dim);stroke-width:.8px;stroke-dasharray:2 2}.stack-grid{stroke:var(--rule);stroke-width:.6px;stroke-dasharray:2 2}.stack-question{text-align:center;max-width:34em;color:var(--ink);margin:0}.spatial-item.stack+form{padding-inline:var(--sp-2);box-sizing:border-box}.spatial-options button.selected{outline:2px solid var(--ink);outline-offset:0}.spatial-options svg{aspect-ratio:1;width:100%;display:block}.spatial-options button>span{font:11px var(--mono), monospace;color:var(--dim)}.game-col.training .spatial-options.review button:disabled{opacity:1;cursor:default}.spatial-options.review button.truth{outline:2px solid var(--ink);outline-offset:0}.spatial-options.review button.miss{outline:2px dashed var(--dim);outline-offset:0}@media (max-width:480px){.spatial-options{gap:var(--sp-1)}.spatial-options button{padding:var(--sp-1)}.fold-steps{gap:var(--sp-1)}}@media (min-width:900px) and (max-height:850px){.spatial-options{width:min(100%,520px,max(300px,150dvh - 645px))}}}
