@font-face{font-family:Outfit;src:url(/fonts/outfit-latin-variable.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}:root{color:#edf0e5;font-synthesis:none;--bg:#151b18;--surface:#1d2520;--ink:#edf0e5;--muted:#a0ad9c;--line:#39453b;--soft:#27342a;--accent:#bed5a2;--drawer:380px;background:#151b18;font-family:Outfit,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;color:#687764}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:active:not(:disabled){transform:translateY(1px)}button svg{pointer-events:none}svg{flex-shrink:0;width:20px;height:20px}::selection{color:#182315;background:#bace9c}*{scrollbar-width:thin;scrollbar-color:#53664c transparent}[hidden]{display:none!important}.sr-only{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em;text-wrap:balance;font-weight:500}.site-header{justify-content:space-between;align-items:center;gap:24px;height:88px;padding:0 52px;display:flex}.brand{letter-spacing:-.04em;align-items:center;gap:8px;font-size:37px;font-weight:600;line-height:1;display:flex}.brand-mark{grid-template-columns:repeat(2,5px);gap:2px;margin-top:4px;display:grid;transform:rotate(-10deg)}.brand-mark i{background:currentColor;border-radius:1px;width:5px;height:5px}.brand-mark i:last-child{opacity:.25}.header-note{color:var(--muted);font-size:13px;position:absolute;left:50%;transform:translate(-50%)}.learn-toggle{align-items:center;gap:12px;min-height:44px;padding:8px 0;font-size:14px;display:flex}.learn-toggle svg{width:17px}.learn-toggle:hover{color:var(--accent)}.workspace{flex-direction:column;height:calc(100svh - 132px);min-height:620px;display:flex;position:relative}.stage{isolation:isolate;flex:1;min-height:300px;position:relative}.stage-meta{z-index:2;pointer-events:none;position:absolute;top:32px;left:52px}.stage-meta h1{letter-spacing:-.02em;align-items:center;gap:12px;font-size:15px;font-weight:450;display:flex}.stage-meta h1>span{color:var(--muted);border-left:1px solid var(--line);padding-left:12px;font-size:12px}.state-line{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:9px;margin-top:10px;font-size:12px;display:flex}.state-line b{font-weight:400}.meta-separator{background:var(--muted);border-radius:50%;width:2px;height:2px}.status-pill{align-items:center;gap:5px;display:flex}.status-pill svg{width:12px;height:12px}.status-pill:not(.unsolved){color:#c2d6ae}.stage-tools{z-index:3;position:absolute;top:21px;right:46px}.icon-button{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;transition:background .15s;display:flex}.icon-button svg{width:18px;height:18px}.icon-button:hover:not(:disabled){background:var(--soft)}.stage-tools .icon-button{color:var(--muted)}#canvas-host{z-index:1;transition:right .32s cubic-bezier(.16,1,.3,1);position:absolute;inset:-15px 0 -25px}canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.ground-shadow{opacity:.6;filter:blur(18px);pointer-events:none;z-index:0;background:#030504;border-radius:50%;width:20%;height:5%;position:absolute;top:84%;left:40%}.stage-caption{letter-spacing:-.025em;color:var(--muted);z-index:2;pointer-events:none;font-size:19px;line-height:1.4;position:absolute;bottom:45px;left:52px}.controls-shell{z-index:4;flex-shrink:0;align-self:center;max-width:calc(100% - 48px);padding:16px 0 4px;transition:transform .32s cubic-bezier(.16,1,.3,1);position:relative}.action-dock{align-items:center;gap:12px;display:flex}.button{white-space:nowrap;border:1px solid var(--line);border-radius:28px;justify-content:center;align-items:center;gap:10px;min-height:52px;padding:12px 22px;font-size:14px;font-weight:450;transition:background .15s,color .15s;display:flex}.button svg{width:17px;height:17px}.button:hover:not(:disabled){background:var(--soft)}.button-primary{color:var(--surface);background:var(--ink);border-color:var(--ink)}.button-primary:hover:not(:disabled){background:#d3dfc5}.button-primary:disabled{color:#88967e;background:#28352a;border-color:#33442e}.solve-group{border:1px solid var(--line);border-radius:28px;align-items:center;display:flex;overflow:hidden}.solve-group>.button{border:0;border-radius:0;min-height:50px;padding-right:15px}.steps-button{border-left:1px solid var(--line);place-items:center;width:44px;min-height:34px;margin:6px 0;padding:5px 10px;display:grid}.steps-button:hover:not(:disabled){color:var(--accent)}.steps-button svg{width:17px;height:17px}.dock-separator{background:var(--line);width:1px;height:25px;margin:0 2px}.faces-toggle{border-color:#0000;padding:12px}.faces-toggle[aria-expanded=true]{background:var(--soft)}.utility-actions{gap:0;display:flex}.utility-actions .icon-button{color:var(--muted)}.utility-actions .icon-button:disabled{opacity:.4}.drag-hint{text-align:center;color:var(--muted);margin-top:20px;font-size:12px;line-height:1.6}.drag-hint span{margin-left:3px}.live-message{color:var(--muted);text-align:center;max-width:570px;min-height:18px;margin:8px auto 0;font-size:11px;line-height:1.6}.face-controls{border-bottom:1px solid var(--line);max-width:650px;margin:0 auto 18px;padding:20px 0 12px}.control-heading{color:var(--muted);justify-content:space-between;margin-bottom:12px;font-size:12px;display:flex}.control-heading>span:first-child{color:var(--ink)}.face-buttons{grid-template-columns:repeat(6,1fr);gap:10px;display:grid}.face-pair{border:1px solid var(--line);border-radius:8px;display:flex;overflow:hidden}.face-pair button{flex:1;justify-content:center;align-items:center;gap:7px;min-width:44px;min-height:44px;font-size:15px;font-weight:450;display:flex}.face-pair .inverse{border-left:1px solid var(--line);color:var(--muted);flex:0 0 44px}.face-pair .inverse svg{width:14px;height:14px}.face-pair button:hover:not(:disabled){background:var(--soft)}.face-dot{background:var(--face-color);border-radius:50%;width:5px;height:5px;box-shadow:0 0 0 1px #0002}.face-control>span{text-align:center;color:var(--muted);margin-top:7px;font-size:10px;display:block}.solution-box{border-bottom:1px solid var(--line);width:650px;max-width:100%;margin:0 auto 18px;padding:0 0 17px}.solution-heading{align-items:center;gap:10px;margin-bottom:14px;font-size:13px;display:flex}.solution-heading>span+span{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.solution-heading .text-button{margin-left:auto}.text-button{text-underline-offset:4px;min-height:44px;font-size:12px;text-decoration:underline}.solution-body{justify-content:space-between;align-items:center;gap:18px;display:flex}.solution-moves{flex-wrap:wrap;align-items:center;gap:5px;max-width:440px;display:flex}.solution-moves>span{min-width:25px;height:26px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:4px;place-items:center;padding:3px 5px;font-size:12px;display:inline-grid}.solution-moves>.done{color:#7f8e76}.solution-moves>.current{background:var(--ink);color:var(--surface)}.solution-actions{align-items:center;gap:6px;display:flex}.solution-actions .icon-button{border:1px solid var(--line)}.button-small{min-height:44px;padding:10px 15px;font-size:12px}.solution-box:has(#cancel:not([hidden])){padding-bottom:0}.learn-panel{z-index:10;width:var(--drawer);background:var(--surface);border-left:1px solid var(--line);padding:33px 28px 28px;animation:.3s cubic-bezier(.16,1,.3,1) panel-in;position:fixed;top:0;bottom:0;right:0;overflow:auto;box-shadow:-12px 0 40px #050a0633}.learn-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.learn-header h2{font-size:25px;line-height:1.15}.learn-header .icon-button{margin-right:-10px}.learn-intro{color:var(--muted);margin:18px 0 28px;font-size:14px;line-height:1.6}.learn-panel details{border-top:1px solid var(--line)}.learn-panel summary{cursor:pointer;letter-spacing:-.015em;justify-content:space-between;align-items:center;gap:10px;min-height:66px;font-size:16px;list-style:none;display:flex}.learn-panel summary::-webkit-details-marker{display:none}.learn-panel summary svg{width:16px;height:16px;transition:transform .2s}.learn-panel details[open] summary svg{transform:rotate(180deg)}.lesson-content{padding-bottom:26px}.lesson-content>p,.how-to p{color:var(--muted);margin:16px 0;font-size:13px;line-height:1.75}.notation-example{gap:10px;display:flex}.notation-example>span{border:1px solid var(--line);border-radius:6px;place-items:center;width:54px;height:54px;font-size:24px;display:grid}.notation-example>span:nth-child(2){color:var(--accent)}.face-legend{grid-template-columns:1fr 1fr;gap:11px;margin:22px 0;display:grid}.face-legend div{align-items:center;gap:10px;font-size:12px;display:flex}.face-legend dt{width:18px;font-weight:500}.face-legend dd{color:var(--muted);margin:0}.lesson-action{border:1px solid var(--line);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;font-size:13px;display:flex}.lesson-action:hover:not(:disabled){background:var(--soft)}.lesson-action svg{width:16px;height:16px}.lesson-content small{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.5;display:block}.sequence-example{letter-spacing:3px;font-size:27px;line-height:1.8}.checker-example{grid-template-columns:repeat(3,15px);gap:3px;padding:7px 0;display:grid}.checker-example i{background:#dce2d3;border-radius:2px;width:15px;height:15px}.checker-example i.dark{background:#718962}.how-to{border-top:1px solid var(--line);padding-top:26px}.how-to h3{font-size:20px}.how-to p{font-size:12px}.how-to strong{color:var(--ink);font-weight:500}.learning-open .header-note{opacity:0}.learning-open .learn-toggle{visibility:hidden}.learning-open #canvas-host{right:var(--drawer)}.learning-open .controls-shell{transform:translateX(calc(var(--drawer) / -2))}.learning-open .stage-tools{right:calc(var(--drawer) + 24px)}.learning-open .stage-caption{visibility:hidden}.learning-open .ground-shadow{left:30%}footer{height:44px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 52px;font-size:11px;display:flex}.fallback{text-align:center;z-index:2;position:absolute;inset:10% 20px 0}.fallback>p{color:var(--muted);font-size:12px}.cube-net{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(4,1fr);gap:6px;max-width:360px;margin:20px auto;display:grid}.net-face{grid-template-columns:repeat(3,1fr);gap:2px;display:grid}.net-face span{aspect-ratio:1;color:#1e2821;border-radius:3px;place-items:center;font-size:8px;display:grid}.net-U{grid-area:1/2}.net-L{grid-area:2/1}.net-F{grid-area:2/2}.net-R{grid-area:2/3}.net-B{grid-area:2/4}.net-D{grid-area:3/2}@keyframes panel-in{0%{opacity:.5;transform:translate(18px)}to{opacity:1;transform:none}}@media (max-width:1100px){.stage-caption{font-size:16px;bottom:25px;left:32px}.site-header{padding:0 32px}.stage-meta{top:20px;left:32px}.stage-tools{top:8px;right:26px}footer{padding:0 32px}.learning-open #canvas-host{right:270px}.learning-open .controls-shell{margin-right:var(--drawer);max-width:calc(100% - 420px);transform:none}.learning-open .action-dock{flex-wrap:wrap;justify-content:center}.learning-open .drag-hint{max-width:300px;margin-left:auto;margin-right:auto}.learning-open .solution-body{flex-direction:column;align-items:stretch}.learning-open .face-buttons{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.site-header{height:74px;padding:0 24px}.brand{font-size:32px}.header-note{display:none}.learn-toggle{gap:8px;font-size:13px}.workspace{height:calc(100svh - 112px);min-height:560px}.stage{min-height:280px}.stage-meta{top:14px;left:24px}.stage-meta h1{gap:9px;font-size:13px}.stage-meta h1>span{padding-left:9px;font-size:11px}.state-line{margin-top:8px;font-size:11px}.stage-tools{top:4px;right:18px}.stage-caption{display:none}#canvas-host{inset:25px 0 -15px}.ground-shadow{filter:blur(15px);width:38%;top:85%;left:31%}.controls-shell{width:580px;max-width:calc(100% - 36px);padding-top:14px}.action-dock{flex-wrap:wrap;justify-content:center;gap:10px}.button{min-height:48px;padding:11px 20px;font-size:13px}.solve-group>.button{min-height:46px}.faces-toggle{min-height:44px;padding:8px 13px}.dock-separator{display:none}.utility-actions{gap:4px}.drag-hint{margin-top:13px;font-size:11px}.live-message{max-width:330px;min-height:30px;margin-top:5px;font-size:10px}.face-controls{max-width:360px;padding-top:0}.face-buttons{grid-template-columns:repeat(3,1fr);gap:9px}.face-control>span{display:none}.control-heading{font-size:11px}.face-pair{border-radius:6px}.solution-box{max-width:480px;margin-bottom:14px;padding-bottom:12px}.solution-heading{margin-bottom:10px;font-size:12px}.solution-body{flex-direction:column;gap:10px}.solution-moves,.solution-actions{justify-content:center}.solution-moves>span{min-width:22px;height:23px;font-size:11px}.learning-open #canvas-host{right:0}.learning-open .controls-shell{max-width:calc(100% - 36px);margin-right:0}.learning-open .stage-tools{right:18px}.learning-open .ground-shadow{left:31%}.learn-panel{border-left:0;border-top:1px solid var(--line);width:100%;height:65svh;max-height:610px;padding:21px 24px calc(30px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;animation:.3s cubic-bezier(.16,1,.3,1) panel-in;top:auto;bottom:0;box-shadow:0 -15px 50px #050a0655}.learn-header h2{font-size:24px}.learn-intro{margin:12px 0 20px}.learn-panel summary{min-height:60px}.how-to{padding-top:20px}.learning-open .learn-toggle{visibility:visible}footer{height:38px;padding:0 24px;font-size:10px}.fallback{inset:65px 20px 0}.cube-net{max-width:280px;margin-top:12px}.fallback>p{font-size:10px}}@media (max-width:480px){.action-dock{gap:8px 10px;max-width:340px;margin:auto}.button-primary{flex:0 0 calc(50% - 5px)}.solve-group{flex:0 0 calc(50% - 5px);justify-content:center}.solve-group>.button{padding:10px 12px}.steps-button{width:38px;padding:5px 9px}.faces-toggle{font-size:12px}.utility-actions{margin-left:8px}.drag-hint{max-width:280px;margin-left:auto;margin-right:auto}.drag-hint span{margin-left:0;display:block}.controls-shell{padding-top:8px}.workspace{min-height:570px}.stage{min-height:265px}.face-controls{margin-bottom:12px;padding-bottom:13px}.face-buttons{gap:8px}.face-pair button{min-width:44px}.face-control>span{font-size:9px}.stage-meta h1{font-size:12px}.stage-meta h1>span,.state-line{font-size:10px}.live-message{min-height:31px}.solution-moves{gap:2px}}@media (max-width:360px){.site-header{padding:0 18px}.stage-meta{left:18px}.stage-tools{right:12px}.controls-shell{max-width:calc(100% - 24px)}.button{padding:10px 13px}.face-buttons{gap:6px}}@media (max-height:750px) and (min-width:761px){.site-header{height:70px}.workspace{height:calc(100svh - 108px);min-height:480px}.stage{min-height:250px}.stage-meta{top:15px}.stage-caption{bottom:20px}.drag-hint{margin-top:12px}.controls-shell{padding-top:6px}.live-message{min-height:18px}footer{height:38px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.button-primary{color:#1a231b}.face-pair{background:#19231c}.learn-panel{background:#1c261f}.stage-caption{color:#82967c}.fallback .net-face span{color:#142017}.controls-shell{width:650px}.action-dock{justify-content:center}:is(.workspace:has(.face-controls:not([hidden])),.workspace:has(.solution-box:not([hidden]))){height:auto;min-height:calc(100svh - 132px)}@media (max-width:760px){.workspace{height:auto;min-height:calc(100svh - 112px)}.stage{flex:1 0 clamp(220px,100svh - 330px,650px);min-height:220px}:is(.workspace:has(.face-controls:not([hidden])),.workspace:has(.solution-box:not([hidden]))){min-height:calc(100svh - 112px)}:is(.workspace:has(.face-controls:not([hidden])) .stage,.workspace:has(.solution-box:not([hidden])) .stage){flex-basis:240px}.live-message,footer{font-size:11px}}
