:root{--lime:#6c4ad3;--muted:#797680;--line:#e1dfe5;--purple:#704dd5}body{background:#f7f7fa;color:#24232d}aside{position:fixed;inset:0 auto 0 0;width:205px;background:#fdfdfe;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 15px;z-index:3}.brand{padding:0 10px;margin-bottom:48px;font-size:29px}.brand svg{color:#7655db;background:#eee8ff;border-radius:9px;padding:5px;width:36px;height:36px}.branddot{color:var(--purple)}aside>small,.manual small{font:10px m;color:#888390;letter-spacing:1.7px}aside>small{padding-left:13px;margin:0 0 12px}nav{display:grid;gap:4px;margin-bottom:30px}nav button{justify-content:flex-start;height:40px;color:#66626e;font-weight:400;padding:0 12px;border-radius:6px}nav .active{background:#ede8fc;color:#6341bd;box-shadow:none;font-weight:700}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:18px 10px 0;font-size:12px;color:#787480}.sidefoot b,.view b{display:inline-block;width:6px;height:6px;border-radius:50%;background:#48a87a;margin-right:6px}main{margin:0 0 0 205px;padding:0 clamp(18px,3vw,54px);max-width:1600px}.crumb{height:56px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;color:#8e8995;font-size:12px}.crumb b{color:#585260}.intro{margin:26px 0 22px}.eyebrow{font-size:9px;letter-spacing:1.7px}.eyebrow em{width:17px}h1{font-size:clamp(37px,3.6vw,54px);line-height:1.2;margin:5px 0}p{color:#77727e}.badge,.chip,.ready,#count,kbd{background:#faf9fc;color:#645f6f;border-color:#dedbe5}.badge{font:12px g;font-weight:700;border-radius:20px;padding:7px 12px}.badge svg{width:15px}.grid{grid-template-columns:minmax(0,1.42fr) minmax(270px,1fr);gap:18px}section,dialog{background:white;border-color:var(--line);box-shadow:0 3px 8px #30224505}.head{min-height:52px;padding:14px 17px}h2{font-size:17px}.head h2>svg{background:#f0eafb;padding:4px;border-radius:6px;width:27px;height:27px}.chip{background:#f3f1f7;color:#74707c;border:0;font-size:9px}.stage{isolation:isolate;background-color:#e9e5f5;background-image:radial-gradient(#aba1c48c .8px,transparent .9px),radial-gradient(ellipse at 50% 45%,#f2eefa,#e1dbee);background-size:16px 16px,100%;min-height:275px;overflow:hidden}.stage:after{content:'';position:absolute;width:130px;height:15px;background:#47355648;filter:blur(10px);border-radius:50%;top:calc(50% + 88px);pointer-events:none}.orbit{position:absolute;width:68%;height:32%;top:52%;border:1px dashed #998dab70;border-radius:50%;transform:rotate(-8deg)}.crosses{position:absolute;inset:14px 15px auto auto;color:#91849f;font:17px/1 m}.crosses br,.viewnum{display:none}.view{background:#ffffff90;border:1px solid #ccc4db;padding:4px 7px;border-radius:4px;color:#655a74}.drag,.reset{color:#686074}.reset{background:#ffffff80;border-color:#c8c0d4}.face b{box-shadow:inset 0 1px 1px #ffffff70,inset 0 -2px 1px #0002}.manual{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 5px;background:#fbfafd;border-top:1px solid var(--line)}#turns{display:flex;gap:5px}button{background:#faf9fc;border-color:#d9d5e0;color:#443e50;transition:background .17s,transform .17s,box-shadow .17s}button:hover:not(:disabled){filter:none;background:#ede8fa;transform:translateY(-1px)}button:active:not(:disabled){transform:scale(.97)}button:disabled{opacity:.45;cursor:default}.manual button{width:27px;height:25px;font:11px m}.actions{padding:12px}.primary,.timer #start{color:white;background:#7350d5;border-color:#6642c6}.primary:hover:not(:disabled),.timer #start:hover{background:#6442c2}.timer #start{height:40px}.timer #start svg{color:white}kbd{background:#ffffff23;color:white;border-color:#ffffff40}.ready{background:#eaf6ee;border-color:#d5e9dd;color:#41815a}.clock{font-size:clamp(42px,4.6vw,77px);padding:18px 0 13px}.clock span{color:#a79bbd}.sequence .eyebrow{color:#82798c}.sequence{padding:15px 17px}.right section:last-child{flex:1}#moves{color:#44384f;font-size:17px;line-height:1.75;word-spacing:3px}.clear,.icon{color:#78717f}.history{margin-top:18px}.empty>svg{background:#f0edf6;color:#87769e}#stats{display:flex;gap:30px;font:11px m;color:#7b7088;padding:10px 18px;background:#faf9fc}#stats:empty{display:none}.row span,footer{color:#81798b}dialog{max-height:85vh;width:min(550px,93vw)}dialog::backdrop{background:#27203275;backdrop-filter:blur(3px)}dialog[open],section,.intro{animation:arrive .35s ease both}.right{animation-delay:.08s}@keyframes arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}.lessonTabs,.player{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.lessonTabs button,#content .player button{padding:5px 10px;font-size:12px}.lessonTabs .selected{background:#ede6fb;color:#6540bb}.lessonStage{height:217px;background:radial-gradient(ellipse,#f5f1fc,#e6def4);display:grid;place-items:center;perspective:900px;border-radius:8px}.model{width:130px;height:130px;position:relative;transform-style:preserve-3d}.tile{position:absolute;left:44px;top:44px;width:42px;height:42px;border:2px solid #242329;border-radius:5px;backface-visibility:hidden;box-shadow:inset 0 1px 2px #fff6,inset 0 -2px 2px #0002}.layer{position:absolute;inset:0;transform-style:preserve-3d}.playerMoves{font:13px/2 m;color:#706877}.playerMoves mark{background:#e5d9ff;color:#5e3da8;border-radius:3px;padding:2px}.lessonNote{margin:10px 0;font-size:14px}#content h3{margin:0}.sequence.flash{animation:arrive .3s}.scrambling{animation:swirl .45s ease}@keyframes swirl{50%{scale:.89;rotate:5deg}}@media(min-width:1500px){.stage{min-height:340px}}@media(max-width:1000px){aside{width:171px;padding:25px 10px}main{margin-left:171px}.grid{grid-template-columns:1.1fr 1fr}.actions button{font-size:12px}}@media(max-width:760px){aside{position:static;width:auto;display:flex;flex-direction:row;align-items:center;overflow-x:auto;padding:10px;gap:12px;border-bottom:1px solid var(--line)}aside>small,.sidefoot{display:none}.brand{font-size:21px;margin:0;padding:0}.brand svg{width:28px;height:28px}nav{display:flex;margin:0;gap:4px}nav button{white-space:nowrap;padding:0 8px}main{margin:0;padding:0 15px}.crumb{height:38px}.intro{margin:18px 0}.grid{grid-template-columns:1fr}.stage{min-height:256px}.clock{font-size:53px}.intro .badge{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
