@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff")}:root{color:#232720;font-synthesis:none;--white:#fdfdf9;--ink:#232720;--muted:#53584e;--line:#dddfd5;--surface:#f4f5ed;--lime:#ddfa75;--mono:"IBM Plex Mono", monospace;background:#f4f3ee;font-family:Space Grotesk Variable,Arial,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:300px;margin:0}button,select,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.48}button:not(:disabled):active{filter:brightness(.94)}button,a,select,input,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #657a2c}svg{flex:none;width:20px;height:20px}h1,h2,h3,p{margin:0}.shell{width:min(100% - 96px,1248px);margin-inline:auto}.masthead{border-bottom:1px solid var(--line)}.masthead-inner{justify-content:space-between;align-items:center;height:68px;display:flex}.brand{letter-spacing:-.047em;align-items:center;gap:10px;min-height:44px;font-size:1.2rem;font-weight:700;text-decoration:none;display:inline-flex}.brand-icon{width:34px;height:34px;color:var(--lime);background:#252b21;border-radius:8px;place-items:center;display:grid}.brand-icon svg{width:21px;height:21px}.brand-second{font-weight:500}.notation-link{min-height:44px;color:var(--muted);align-items:center;gap:8px;font-size:.88rem;font-weight:650;text-decoration:none;display:inline-flex}.notation-link svg{width:17px;height:17px}.notation-link:hover{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.intro{padding-block:30px 23px}h1{letter-spacing:-.071em;font-size:clamp(2.65rem,5.6vw,4.45rem);font-weight:700;line-height:1}.intro-copy{color:var(--muted);margin-top:9px;font-size:1.04rem;line-height:1.5}.player-toolbar{justify-content:space-between;align-items:center;gap:10px;padding:9px 15px;display:flex}.toolbar-label{color:var(--ink);font-size:.91rem;font-weight:650}.mode-switch{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:4px;padding:3px;display:flex}.mode-switch button{min-height:36px;color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:.88rem;font-weight:650;display:flex}.mode-switch button[aria-pressed=true]{background:var(--white);color:var(--ink);border-color:#bac7a5}.mode-switch button:hover{color:var(--ink);background:#e9edde}.mode-switch svg{width:16px;height:16px}.workspace{grid-template-columns:minmax(0,1.86fr) minmax(324px,1fr);align-items:start;gap:18px;display:grid}.player,.lesson,.scramble-card{border:1px solid var(--line);background:var(--white);border-radius:12px}.viewport{isolation:isolate;color:#eceddf;background:#20251e;height:clamp(390px,32vw,460px);position:relative;overflow:hidden}.view-aura{z-index:-1;opacity:.95;background-image:radial-gradient(at 50% 45%,#0000 24%,#171c16 100%),radial-gradient(circle,#5b6452 .75px,#0000 1px),radial-gradient(at 51% 48%,#394331 0%,#232a21 61%,#1d231b);background-size:auto,19px 19px,auto;position:absolute;inset:0}.view-top,.view-bottom{z-index:1;pointer-events:none;justify-content:space-between;align-items:center;gap:6px;display:flex;position:absolute;inset-inline:20px}.view-top{top:18px}.view-bottom{bottom:16px}.highlight-switch,.drag{align-items:center;gap:8px;display:flex}.highlight-switch{color:#e2e9d6;pointer-events:auto;background:#2c3429;border:1px solid #505b4b;border-radius:7px;min-height:36px;padding:0 9px;font-size:.81rem;font-weight:650}.highlight-switch:hover{background:#3b4734}.highlight-switch:focus-visible{outline-color:var(--lime)}.switch-track{background:#4a5345;border:1px solid #99a48f;border-radius:99px;align-items:center;width:26px;height:15px;padding:2px;display:flex}.switch-track:after{content:"";background:#edf0e7;border-radius:50%;width:9px;height:9px}.highlight-switch[aria-checked=true] .switch-track{border-color:var(--lime);background:var(--lime);justify-content:end}.highlight-switch[aria-checked=true] .switch-track:after{background:#344316}.status{color:#e1e8d6;background:#272e24;border:1px solid #4d5847;border-radius:99px;align-items:center;gap:8px;padding:7px 10px;font-size:.78rem;font-weight:600;display:flex}.status span{background:#a5b29a;border-radius:50%;flex:none;width:7px;height:7px}.status-active span{background:var(--lime)}.drag{color:#c6cdba;font-size:.8rem}.drag svg{width:18px;height:18px}.orbit-mark,.cube-shadow{pointer-events:none;position:absolute;top:80%;left:50%;transform:translate(-50%,-50%)}.orbit-mark{border:1px solid #77816968;border-radius:50%;width:min(67%,410px);height:14%}.cube-shadow{background:radial-gradient(#121710cd 0%,#141a12a0 30%,#0000 70%);width:min(48%,310px);height:13%}.cube-mount{cursor:grab;position:absolute;inset:13px 0 36px}.cube-mount:active{cursor:grabbing}.cube-mount canvas{width:100%;height:100%;display:block}.cube-mount.is-unavailable{cursor:default;place-items:center;display:grid}.cube-net{grid-template-rows:repeat(3,min(18vw,70px));grid-template-columns:repeat(4,min(18vw,70px));gap:5px;display:grid}.net-face{background:#181c17;border-radius:4px;grid-template-columns:repeat(3,1fr);gap:2px;padding:3px;display:grid}.net-face span{border-radius:2px}.net-U{grid-area:1/2}.net-D{grid-area:3/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}.view-tools{pointer-events:auto;gap:6px;display:flex}.view-tools button{color:#e2e9d6;background:#2c3429;border:1px solid #505b4b;border-radius:7px;place-items:center;width:38px;height:38px;display:grid}.view-tools button:hover{background:#3b4734}.view-tools .white-view{align-items:center;gap:5px;width:auto;padding-inline:9px;font-size:.76rem;font-weight:650;display:flex}.view-tools .white-view[aria-pressed=true]{color:var(--lime);border-color:#8d9b64}.view-tools button:focus-visible{outline-color:var(--lime)}.view-tools svg{width:17px;height:17px}.controls{padding:15px 17px 17px}.timeline{color:var(--muted);grid-template-columns:1fr auto;align-items:center;gap:4px 12px;font-size:.9rem;display:grid}.timeline>span:first-child{color:var(--ink);font-weight:650}.move-count{font:.82rem/1.3 var(--mono)}.move-count strong{color:var(--ink);font-weight:400}.timeline input{appearance:none;cursor:pointer;background:0 0;border-radius:6px;grid-column:1/-1;width:100%;height:26px;margin:0}.timeline input:disabled{opacity:.6;cursor:default}.timeline input::-webkit-slider-runnable-track{background:linear-gradient(to right, #78922e var(--progress), #e0e4d6 var(--progress));border-radius:5px;height:5px}.timeline input::-moz-range-track{background:linear-gradient(to right, #78922e var(--progress), #e0e4d6 var(--progress));border-radius:5px;height:5px}.timeline input::-webkit-slider-thumb{appearance:none;border:2px solid var(--white);background:#6d8628;border-radius:50%;width:14px;height:14px;margin-top:-4.5px;box-shadow:0 0 0 1px #738934}.timeline input::-moz-range-thumb{border:2px solid var(--white);background:#6d8628;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 1px #738934}.control-row{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.transport,.speed-control{align-items:center;gap:7px;display:flex}.icon-button,.play-button{border:1px solid var(--line);background:var(--surface);border-radius:7px;justify-content:center;align-items:center;height:44px;display:inline-flex}.icon-button{width:44px;padding:0}.icon-button svg{width:19px;height:19px}.icon-button:not(:disabled):hover{background:#ebeee1;border-color:#a8ad9c}.play-button{background:var(--lime);border-color:#c4df65;gap:7px;min-width:102px;padding:0 13px;font-weight:700}.play-button:hover:not(:disabled){background:#d1f063}.play-button svg{width:17px;height:17px}.play-glyph{fill:currentColor}.speed-control label{color:var(--muted);font-size:.86rem}.select-wrap{position:relative}.select-wrap select{appearance:none;border:1px solid var(--line);background:var(--surface);min-width:71px;height:44px;color:var(--ink);font:.85rem var(--mono);cursor:pointer;border-radius:7px;padding:0 24px 0 10px}.select-wrap svg{pointer-events:none;width:13px;height:13px;position:absolute;top:16px;right:7px}.stage-card,.explanation{min-width:0;padding:18px}.stage-card h2{letter-spacing:-.025em;margin-bottom:11px;font-size:1rem}.stage-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.stage-button{text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 9px;display:grid}.stage-button:hover{background:var(--surface)}.stage-button[aria-current=step]{background:#eef3df;border-color:#becd9e}.stage-number{border:1px solid var(--line);width:29px;height:29px;color:var(--muted);background:var(--surface);font:.82rem/1 var(--mono);border-radius:5px;place-items:center;display:grid}.stage-button[aria-current=step] .stage-number{color:#26351a;background:#d8eabb;border-color:#a9bb76}.stage-text{gap:2px;display:grid}.stage-text strong{font-size:.95rem;line-height:1.2}.stage-text>span{color:var(--muted);font-size:.85rem;line-height:1.2}.explanation{border-top:1px solid var(--line)}.explanation h2{letter-spacing:-.048em;font-size:clamp(1.42rem,2.05vw,1.76rem);line-height:1.16}.description{color:var(--muted);margin:8px 0 17px;font-size:.98rem;line-height:1.5}.algorithm-header,.group-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;display:flex}.algorithm-header{border-top:1px solid var(--line);min-height:32px;margin-bottom:7px;padding-top:10px}.algorithm-header h3{font-size:.88rem;font-weight:650}.turn-label{color:var(--muted);font-size:.83rem}.turn-label strong{color:var(--ink);font:.88rem var(--mono)}.sequence{scrollbar-color:#aab596 transparent;scrollbar-width:thin;max-height:206px;margin:-2px -4px 0;padding:5px;position:relative;overflow-y:auto}.has-groups .group+.group{margin-top:13px}.group-heading{margin-bottom:6px;font-size:.85rem}.group-heading span:first-child{font-weight:650}.group-heading span:nth-child(2){color:var(--muted)}.moves{flex-wrap:wrap;gap:6px;display:flex}.move{border:1px solid var(--line);background:var(--surface);min-width:38px;height:38px;font:.85rem/1 var(--mono);border-radius:6px;place-items:center;padding:0 4px;display:grid}.move:hover{border-color:#879b58}.move.done{background:var(--white);color:var(--muted)}.move.current{color:#2e4015;background:#e3f6ad;border-color:#9eb64e}.already{color:var(--muted);font-size:.85rem}.tip{background:var(--surface);color:var(--muted);border-radius:7px;align-items:flex-start;gap:8px;margin-top:11px;padding:10px;font-size:.86rem;line-height:1.45;display:flex}.tip svg{color:#607245;width:16px;height:16px;margin-top:2px}.scramble-card{align-items:center;gap:13px;margin-top:16px;padding:14px 17px;display:flex}.scramble-content{flex:1;min-width:0}.scramble-content h2{margin-bottom:5px;font-size:.95rem}.scramble-sequence{color:var(--muted);font:.86rem/1.65 var(--mono);word-spacing:.12em}.quiet-button{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 11px;font-size:.88rem;font-weight:650;display:inline-flex}.quiet-button:hover{background:#edf0e4}.quiet-button svg{width:15px;height:15px}.scramble-form{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.scramble-form label{color:var(--muted);font-size:.86rem}.scramble-form input{min-width:0;min-height:44px;color:var(--ink);font:.95rem/1.3 var(--mono);background:#fff;border:1px solid #a8b298;border-radius:6px;flex:250px;padding:7px 9px}.scramble-form input[aria-invalid=true]{border-color:#9c2b25}.apply-button{background:var(--lime);border-color:#c4df65}.error{color:#9c2b25;width:100%;font-size:.83rem}.notation{border-bottom:1px solid var(--line);color:var(--muted);margin-top:14px}.notation summary{width:fit-content;min-height:44px;color:var(--ink);cursor:pointer;align-items:center;gap:7px;padding-right:9px;font-size:.93rem;font-weight:650;display:flex}.notation summary:after{content:"+";margin-left:5px}.notation[open] summary:after{content:"−"}.notation svg,.footer svg{width:16px;height:16px}.notation-body{gap:5px;padding:0 0 13px 23px;font-size:.92rem;line-height:1.5;display:grid}kbd{font:.75rem/1.3 var(--mono);color:var(--ink)}.footer{color:var(--muted);align-items:center;gap:7px;padding-block:12px 23px;font-size:.79rem;display:flex}.footer-dot{margin:0 3px}@media (width<=1050px){.shell{width:min(100% - 56px,1248px)}.workspace{gap:14px}}@media (width<=780px){.shell{width:calc(100% - 36px)}.workspace{grid-template-columns:1fr}.lesson{grid-template-columns:minmax(220px,.84fr) minmax(0,1.16fr);display:grid}.explanation{border-top:0;border-left:1px solid var(--line)}.viewport{height:clamp(320px,60vw,430px)}}@media (width<=590px){.masthead-inner{height:57px}.intro{padding-block:22px 15px}h1{font-size:clamp(2.6rem,10vw,3.75rem)}.intro-copy{margin-top:7px;font-size:1rem}.player-toolbar{padding:8px 10px}.mode-switch{flex:1}.mode-switch button{padding-inline:7px}.view-top,.view-bottom{inset-inline:11px}.view-top{top:12px}.view-bottom{bottom:10px}.cube-mount{inset-block:46px 52px}.controls{padding:12px 11px}.control-row{gap:7px;margin-top:0}.play-button{min-width:76px;padding-inline:7px}.select-wrap select{min-width:64px}.transport{gap:5px}.lesson{display:block}.stage-card,.explanation{padding:13px 14px}.explanation{border-top:1px solid var(--line);border-left:0}.stage-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.stage-button{text-align:center;background:var(--surface);grid-template-columns:1fr;justify-items:center;gap:5px;padding:6px 2px}.stage-number{width:22px;height:22px;font-size:.76rem}.stage-text>span{display:none}.scramble-card{flex-wrap:wrap;gap:8px;padding:12px 14px}.scramble-content{flex-basis:100%}.scramble-form input{flex-basis:100%;font-size:1rem}.edit-button{margin-left:auto}}@media (width<=590px),(pointer:coarse){.mode-switch button,.highlight-switch{min-height:44px}.view-tools button{width:44px;height:44px}.timeline input{height:44px}.move{min-width:44px;height:44px}}@media (width<=445px){.toolbar-label,.speed-control label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}@media (width<=350px){.shell{width:calc(100% - 24px)}.viewport{height:290px}.control-row{flex-wrap:wrap}.transport{gap:4px}.select-wrap select{min-width:59px}}
