@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');
:root{--ink:#344356;--purple:#7860c9;--mint:#4cb99b;--yellow:#f6cf61;--paper:#fffdf7;--line:#e7e7e9;--muted:#84909e;font-family:Rubik,Arial,sans-serif;font-size:16px;color:var(--ink);background:#fff9eb}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 9% 15%,#fbf0d0 0,transparent 40%),radial-gradient(ellipse at 100% 85%,#ecf2e3 0,transparent 45%),#fff9eb;min-height:100vh}button,select,input{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button,a,input,select{touch-action:manipulation}button{transition:transform .15s,box-shadow .15s,background .15s}button:not(:disabled):active{transform:translateY(2px)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8d70e8;outline-offset:4px}button:disabled{opacity:.45;cursor:default}button[hidden],[hidden]{display:none!important}header{height:88px;max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:11px;white-space:nowrap}.brand strong{font-size:29px;font-weight:700;letter-spacing:-1px}.brand-spark{color:#dbae48;font-size:21px;align-self:start;margin-top:10px}.mini-mascot{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:36px;height:36px;border-radius:10px;background:#72c7aa;border:2px solid #4d9f87;box-shadow:3px 3px 0 #438a72;position:relative;transform:rotate(-8deg)}.mini-mascot i{width:4px;height:6px;background:#244d42;border-radius:50%;margin-top:-6px}.mini-mascot b{position:absolute;width:10px;height:5px;border-bottom:2px solid #244d42;bottom:7px;border-radius:50%}.parent-btn{border:1px solid #e5dfd3;background:#fffdf7;border-radius:20px;padding:8px 13px;font-size:12px;color:#8c8b89;min-height:38px}.parent-btn span{margin-left:4px}.path{display:flex;align-items:center;gap:12px;direction:rtl}.path-step{width:34px;height:34px;border-radius:50%;background:#eeeadd;color:#b7b6ab;display:flex;align-items:center;justify-content:center;font-size:19px;position:relative;border:2px solid transparent}.path-step.done{background:#e0eee0;color:#64a58b}.path-step.current{background:#f7d777;color:#93713b;border-color:#fff5cb;box-shadow:0 0 0 4px #f4eaca;transform:scale(1.08)}.path-step:not(:last-child):after{content:'';width:8px;height:3px;border-radius:3px;background:#e8e3d6;position:absolute;right:calc(100% + 3px)}main{max-width:1180px;margin:6px auto 0;padding:0 25px 20px}.mission-bar{display:flex;align-items:center;gap:13px;padding:10px 10px 19px}h1{font-size:30px;letter-spacing:-.6px;margin:0;font-weight:600}.mode-badge{font-size:12px;background:#eee9fa;color:#8a76b5;border-radius:20px;padding:6px 12px}.header-controls{margin-right:auto;display:flex;gap:8px}.round-btn{border:1px solid #e6e0d5;background:#fffdf7;border-radius:50%;width:38px;height:38px;font-size:18px;display:flex;align-items:center;justify-content:center}.round-btn.active{background:#e4dbfa;color:#7059b0}.playground{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:stretch;min-height:445px;gap:20px}.coach{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:5px}.thought-bubble{width:220px;min-height:185px;background:var(--paper);border-radius:48% 45% 44% 40%;border:2px solid #e9e1d3;box-shadow:0 6px 0 #f1eadc;position:relative;text-align:center;z-index:2;padding:13px 13px 8px}.bubble-caption{font-size:17px;font-weight:500}.thought-bubble canvas{width:100%;height:125px;display:block}.bubble-bottom{min-height:20px;font-size:13px;color:#8b82a0}.look-eyes{font-size:15px;letter-spacing:4px;color:#a597bc}.thought-dot{position:absolute;background:var(--paper);border:2px solid #e9e1d3;border-radius:50%;z-index:1}.thought-dot.one{width:22px;height:18px;top:204px;right:62px;transform:rotate(15deg)}.thought-dot.two{width:12px;height:11px;top:228px;right:82px}.mascot{position:relative;width:190px;height:190px;margin-top:42px;transform:rotate(5deg);transform-origin:50% 90%;animation:breathe 4.5s ease-in-out infinite}.mascot-body{position:absolute;left:33px;top:25px;width:124px;height:119px;background:linear-gradient(135deg,#8fd9b8,#65bc9e);border:3px solid #4d987f;border-radius:30px 29px 28px 32px;box-shadow:9px 8px 0 #3f8d76;z-index:3}.mascot-top{position:absolute;inset:0 0 auto;height:29px;background:#ffffff1f;border-radius:26px 26px 50% 50%}.eye{position:absolute;top:36px;width:21px;height:27px;background:white;border-radius:50%;box-shadow:0 1px 1px #33786230}.eye-a{left:22px}.eye-b{right:22px}.eye i{position:absolute;left:7px;top:9px;width:9px;height:13px;background:#344a44;border-radius:50%;animation:look 7s ease-in-out infinite}.eye i:after{content:'';width:3px;height:4px;border-radius:50%;background:white;position:absolute;left:1px;top:2px}.cheek{position:absolute;top:68px;height:9px;width:18px;background:#f0b4a6bb;border-radius:50%}.cheek-a{left:10px}.cheek-b{right:10px}.smile{position:absolute;top:64px;left:43px;width:35px;height:23px;border-bottom:4px solid #315e4c;border-radius:0 0 50% 50%}.eyebrow-buddy{position:absolute;right:21px;top:24px;width:18px;height:5px;border-top:3px solid #438d73;border-radius:50%;transform:rotate(-15deg)}.arm{position:absolute;width:26px;height:54px;border:3px solid #4d987f;border-radius:40%;background:#73c8a6;z-index:1;top:73px}.arm-a{left:17px;transform:rotate(35deg)}.arm-b{right:13px;transform:rotate(-60deg);top:59px}.leg{position:absolute;top:141px;width:26px;height:29px;border-radius:0 0 12px 12px;background:#3f8d76;z-index:2}.leg-a{left:56px;transform:rotate(8deg)}.leg-b{right:42px;transform:rotate(-8deg)}.mascot-shadow{position:absolute;bottom:4px;width:145px;height:17px;background:#dfd9bd80;border-radius:50%;left:23px;filter:blur(4px)}.mascot-star{position:absolute;top:13px;right:-3px;font-size:32px;color:#edbf53;transform:rotate(-10deg)}.mascot.happy{animation:hop .65s ease-in-out 2}.coach-line{font-size:17px;font-weight:500;margin-top:-7px;color:#797183;text-align:center;line-height:1.5;min-height:26px}.arena{position:relative;border-radius:40px;background:radial-gradient(ellipse at 45% 50%,#f2f7f4 0,#f8fbfb 57%,#f0f5f5 100%);border:2px solid #e3e9e7;min-width:0;overflow:hidden;direction:ltr;box-shadow:0 7px 0 #e7eae0}.arena:before{content:'✦';position:absolute;font-size:24px;color:#dae6e1;top:68px;left:8%;transform:rotate(10deg)}.arena:after{content:'✧';position:absolute;font-size:30px;color:#d9e6e3;bottom:70px;right:12%;pointer-events:none}.arena.is-rewind{background:radial-gradient(ellipse at center,#f3effa,#eee9f5);border-color:#d9cce9}.arena.is-orbit{border-color:#c8dcf0}.arena.is-hold{border-color:#e7d39b}.phase-badge{position:absolute;top:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;background:#fffdf8e8;border:1px solid #e5e7e2;border-radius:25px;padding:7px 17px;z-index:2;font-size:13px;color:#6f8677;direction:rtl;white-space:nowrap}#phaseIcon{font-size:19px}.is-rewind .phase-badge{color:#926bb1;border-color:#dbcce9}.is-orbit .phase-badge{color:#5c8fb2;border-color:#c6ddef}.sequence-dots{position:absolute;top:23px;left:20px;display:flex;gap:5px;max-width:120px;flex-wrap:wrap;z-index:3;direction:ltr}.sequence-dots i{display:block;height:7px;width:7px;border-radius:50%;background:#dce4df}.sequence-dots i.done{background:#70baa0}.sequence-dots i.current{background:#71a88f;box-shadow:0 0 0 3px #cbded2}.sequence-dots i:nth-child(4n){margin-right:5px}#cubeCanvas{display:block;width:100%;height:430px;touch-action:none;cursor:grab}#cubeCanvas:active{cursor:grabbing}.zoom{position:absolute;bottom:19px;left:18px;width:128px;height:139px;border-radius:22px;background:#ffffffcf;box-shadow:0 3px 0 #e7ece7;border:1px solid #e2e8e4;text-align:center;z-index:2}#faceCanvas{width:100%;height:115px;display:block}.zoom-label{font-size:10px;color:#84948a;display:block;margin-top:0}.gray-key{position:absolute;bottom:16px;right:23px;display:flex;align-items:center;gap:6px;font-size:10px;color:#9aa3ac;direction:rtl}.gray-key i{width:13px;height:13px;border-radius:3px;background:#cbd4de;border:1px solid #bbc5ce}.front-palette{position:absolute;right:20px;bottom:49px;direction:rtl;display:flex;flex-direction:column;align-items:center;gap:7px}.front-palette>span{font-size:10px;color:#8f9e95}.front-palette>div{display:flex;gap:6px}.front-palette button{width:22px;height:22px;border-radius:50%;border:2px solid #ffffffba;padding:0;box-shadow:0 0 0 1px #dde3dc}.front-palette button.active{box-shadow:0 0 0 3px #869b88}.rewind-cue{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);z-index:5;display:flex;align-items:center;gap:12px;direction:rtl;background:#faf5ffef;border:2px solid #c9b5e2;border-radius:24px;padding:14px 22px;box-shadow:0 7px 0 #d5c8e066;pointer-events:none}.rewind-hand{font-size:43px}.rewind-cue b{font-size:37px;display:block;line-height:1}.rewind-cue div>span{display:block;font-size:11px;color:#9078a1;margin-top:5px;white-space:nowrap}.orientation-cue{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);border-radius:20px;padding:7px 12px;background:#e7f1fc;color:#6591b3;display:flex;align-items:center;gap:6px;direction:rtl;font-size:11px;z-index:5;white-space:nowrap}.orientation-cue>span:first-child{font-size:24px}.hold-hands{position:absolute;bottom:60px;left:50%;transform:translateX(-50%);font-size:65px;opacity:.75;pointer-events:none}.lock-cue{position:absolute;top:60px;right:17px;display:flex;flex-direction:column;align-items:center;font-size:9px;color:#9a7d4c;gap:3px;z-index:2}.lock-cue>span:first-child{font-size:22px}.choices{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:25px 0 0;padding-right:130px;min-height:0}.choice{border:2px solid #e4dfd6;border-radius:23px;background:var(--paper);box-shadow:0 5px 0 #ece5d8;padding:7px 9px 10px;min-width:115px;max-width:150px;flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:14px;line-height:1.3}.choice:hover{border-color:#b6a2dd;background:#fff;transform:translateY(-3px);box-shadow:0 7px 0 #e7dff1}.choice canvas{display:block;width:100%;height:88px;pointer-events:none}.choice strong{font-weight:500}.choice-icon{font-size:33px;height:80px;display:flex;align-items:center;justify-content:center}.action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 0;padding:0 18px}.small-round{border:1px solid #e5dfd3;background:#fffdf7;border-radius:50%;width:40px;height:40px;font-size:20px;color:#a5a197;flex-shrink:0}.main-actions{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap}.primary,.secondary,.answer{border:2px solid transparent;border-radius:20px;font-size:19px;min-height:58px;padding:12px 30px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:13px}.primary{background:#78bea1;color:#fff;box-shadow:0 5px 0 #4c947a;border-color:#78bea1}.primary:hover{background:#67b393}.primary:disabled{box-shadow:0 3px 0 #88ab99}.secondary{background:#fffdf6;color:#9b8a6c;border-color:#e9dfca;box-shadow:0 4px 0 #eee6d7;font-size:16px}.answer.yes{background:#78bea1;color:white;box-shadow:0 5px 0 #4c947a;min-width:150px}.answer.no{background:#fffdf6;border-color:#e3ddcf;color:#969185;box-shadow:0 4px 0 #ece5d8;min-width:130px}.primary .button-icon,.answer .button-icon{font-size:25px;line-height:1}.goal-button{background:#f3e4b7;border-color:#ead292;color:#9a7b41;box-shadow:0 5px 0 #d9c18b}.quiet-note{text-align:center;color:#a5a4a2;font-size:10px;min-height:17px;margin:16px 0 0}.tile-sample{display:inline-block;width:27px;height:27px;border:3px solid #b7c0c6;border-radius:6px;background:#f7f8f2}.tile-sample.empty{background:#cbd4de;border-style:dashed}.floating-spark{position:fixed;pointer-events:none;font-size:25px;animation:floatstar 1.4s ease-out forwards;z-index:30}dialog{border:2px solid #e8e1d5;border-radius:30px;color:var(--ink);background:#fffaf0;max-width:min(660px,calc(100vw - 30px));width:100%;max-height:calc(100dvh - 36px);overflow:auto;padding:32px;box-shadow:0 15px 80px #41554c30}dialog::backdrop{background:#455b5866;backdrop-filter:blur(5px)}dialog h2{font-size:29px;margin:0 0 18px;font-weight:600;letter-spacing:-.4px}dialog h3{font-size:18px;margin:25px 0 8px}dialog p{font-size:14px;line-height:1.8;color:#6f7a7e;margin:10px 0}.close-dialog{position:absolute;left:13px;top:12px;background:none;border:0;font-size:29px;color:#a7a39a;width:40px;height:40px}.parent-tools{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.parent-tools button,.stage-picker button{border:1px solid #d7ded2;border-radius:11px;padding:11px 14px;background:#eff3e9;font-size:13px}.parent-tools button:hover,.stage-picker button:hover{background:#e0e9d8}.parent-legend{display:grid;grid-template-columns:50px 1fr;gap:10px;align-items:center}.parent-legend>span{font-size:30px;text-align:center}.parent-legend>p{font-size:13px;margin:0}.stage-picker{display:flex;gap:7px;flex-wrap:wrap}.stage-picker button.active{background:#e5dbf8;border-color:#b8a8d8}.settings{display:flex;flex-wrap:wrap;gap:20px;margin:25px 0;align-items:center}.settings label{display:flex;gap:8px;font-size:13px;align-items:center}.settings select{padding:7px;border:1px solid #dfdccf;border-radius:8px;background:#fffdf6;color:var(--ink)}.settings input{accent-color:#7bab92;width:18px;height:18px}.subtle,.sources{font-size:12px!important}.sources{padding-top:18px;border-top:1px solid #e7e0d4}.sources a{color:#8e79b1}dialog>.primary,dialog>.secondary{margin-top:14px;font-size:16px;min-height:48px}#helpDialog,#doneDialog{text-align:center}.help-star{font-size:55px;color:#d1a46c;margin:0 0 12px}.help-visuals{display:flex;gap:20px;justify-content:center;margin:20px 0}.help-visuals>div{display:flex;flex-direction:column;gap:9px;align-items:center}.help-visuals span{font-size:36px}.help-visuals b{font-size:12px;font-weight:500}#helpDialog>.primary,#helpDialog>.secondary{width:100%}#entryDialog{max-width:min(780px,calc(100vw - 30px))}.entry-tabs{display:flex;gap:8px;margin-top:18px}.entry-tabs button{width:34px;height:34px;border:2px solid #ffffffc0;border-radius:50%;box-shadow:0 0 0 1px #d2d8cf}.entry-tabs button.active{box-shadow:0 0 0 3px #a391bf}.entry-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.entry-layout>canvas{width:100%;height:235px}.paint-grid{direction:ltr;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px;background:#455550;border-radius:16px;max-width:265px;margin:auto}.paint-grid button{aspect-ratio:1;border:0;border-radius:8px;font-size:20px;color:#3e5145;min-width:0}.paint-grid button:disabled{opacity:1}.palette{display:flex;justify-content:center;gap:8px;margin-top:17px;flex-wrap:wrap}.palette button{height:35px;width:35px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #cfd8cd}.palette button.active{box-shadow:0 0 0 3px #8c80a8}#colorCounts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;font-size:11px;margin-top:15px;direction:ltr}#colorCounts span{display:flex;gap:4px;align-items:center}#colorCounts i{height:11px;width:11px;border:1px solid #b9c5b6;border-radius:3px}#colorCounts .over{color:#bd695f}#entryError{color:#b9675e;min-height:25px;font-size:13px}.dialog-actions{display:flex;gap:12px;margin-top:18px;justify-content:space-between}.dialog-actions>button{flex:1;font-size:16px;padding:10px}.big-star{color:#e3b753;font-size:72px;line-height:1.4}.celebrate-stars{font-size:30px;color:#dfbd61;letter-spacing:20px;margin-bottom:15px}#doneCanvas{width:100%;height:250px;display:block}#doneDialog>.primary,#doneDialog>.secondary{width:100%}.mini-lock{font-size:16px;margin-left:5px}
@keyframes breathe{50%{transform:rotate(2deg) translateY(-3px)}}@keyframes look{0%,40%,100%{transform:translate(0,0)}50%,80%{transform:translate(3px,-2px)}}@keyframes hop{50%{transform:translateY(-12px) rotate(-5deg)}}@keyframes floatstar{to{transform:translate(var(--dx),-100px) rotate(100deg);opacity:0}}
@media(max-width:1000px){header{padding:0 23px;height:76px}.path{gap:8px}.path-step{width:29px;height:29px;font-size:17px}.path-step:not(:last-child):after{width:4px;right:calc(100% + 2px)}main{padding:0 20px 20px}.playground{grid-template-columns:210px minmax(0,1fr);gap:14px;min-height:410px}.thought-bubble{width:190px;min-height:170px}.thought-bubble canvas{height:114px}.thought-dot.one{top:188px;right:43px}.thought-dot.two{top:211px;right:63px}.mascot{transform:scale(.9) rotate(5deg);margin-top:34px}.coach-line{font-size:15px;margin-top:-10px}#cubeCanvas{height:410px}.zoom{width:110px;height:122px;left:13px;bottom:18px}#faceCanvas{height:100px}.choices{padding-right:110px;gap:9px}.choice{min-width:91px;max-width:132px;padding:5px 4px 9px;font-size:12px}.choice canvas{height:77px}.front-palette{right:13px}.front-palette button{width:20px;height:20px}.gray-key{right:14px}.phase-badge{font-size:12px;padding:5px 11px}.sequence-dots{top:24px;left:15px;gap:4px;max-width:80px}.sequence-dots i{width:5px;height:5px}}
@media(max-width:740px){header{padding:0 16px;height:67px;flex-wrap:wrap;gap:12px}.brand strong{font-size:24px}.mini-mascot{height:29px;width:29px;border-radius:8px}.brand-spark{display:none}.path{gap:5px}.path-step{height:23px;width:23px;font-size:13px}.path-step:not(:last-child):after{display:none}.parent-btn{font-size:10px;padding:6px 9px;min-height:34px}.playground{grid-template-columns:155px minmax(0,1fr);gap:8px;min-height:360px}.thought-bubble{width:150px;min-height:146px;padding:12px 8px 6px}.bubble-caption{font-size:14px}.thought-bubble canvas{height:95px}.bubble-bottom{font-size:10px;min-height:13px}.thought-dot.one{top:161px;right:35px;width:18px;height:15px}.thought-dot.two{top:180px;right:52px}.mascot{transform:scale(.72) rotate(5deg);margin-top:12px;margin-bottom:-30px}.coach-line{font-size:13px;max-width:150px;margin-top:0}.arena{border-radius:28px}#cubeCanvas{height:360px}.choices{padding-right:0}.mission-bar{padding:8px 4px 15px}.mission-bar h1{font-size:25px}.mode-badge{font-size:10px;padding:5px 9px}.round-btn{width:34px;height:34px;font-size:16px}.header-controls{gap:5px}.zoom{width:85px;height:97px;left:9px;bottom:14px;border-radius:17px}#faceCanvas{height:80px}.zoom-label{font-size:8px}.front-palette>span{font-size:8px}.front-palette>div{gap:5px}.front-palette button{width:17px;height:17px}.gray-key{font-size:8px;bottom:15px}.gray-key i{height:10px;width:10px}.front-palette{bottom:40px}.lock-cue{font-size:8px;top:50px;right:9px}.lock-cue span:first-child{font-size:17px}.sequence-dots{top:51px;left:14px}.action-bar{margin-top:20px;padding:0;gap:8px}.primary,.secondary,.answer{padding:10px 24px;font-size:17px;min-height:54px;border-radius:18px}.main-actions{gap:10px}.thought-bubble{box-shadow:0 4px 0 #f1eadc}.rewind-cue{padding:12px 15px;gap:8px}.rewind-hand{font-size:31px}.rewind-cue b{font-size:27px}.rewind-cue div>span{font-size:9px}}
@media(max-width:520px){header{height:106px;align-content:center;justify-content:space-between;gap:15px;padding:11px 16px}.path{order:3;width:100%;justify-content:center;gap:12px}.path-step{height:23px;width:23px}.parent-btn{min-height:30px}.brand strong{font-size:23px}main{padding:0 11px 16px;margin:0}.mission-bar{gap:8px;padding:7px 4px 12px}.mission-bar h1{font-size:23px}.mode-badge{font-size:9px;padding:5px 8px}.round-btn{width:32px;height:32px}.playground{position:relative;display:block;min-height:0}.coach{position:absolute;z-index:5;top:9px;right:4px;width:105px;padding:0;pointer-events:none}.thought-bubble{width:103px;min-height:102px;border-radius:34px;padding:7px 3px 4px;border-width:1.5px;box-shadow:0 3px 0 #e8e2d7}.bubble-caption{font-size:11px}.thought-bubble canvas{height:67px}.bubble-bottom{font-size:9px;min-height:10px}.look-eyes{font-size:9px}.thought-dot.one{top:111px;right:23px;width:12px;height:10px}.thought-dot.two{top:124px;right:32px;width:8px;height:7px}.mascot{transform:scale(.43) rotate(5deg)!important;transform-origin:50% 0;margin:24px 0 -101px;height:190px;animation:none}.coach-line{font-size:10px;max-width:100px;margin-top:1px;background:#fffdf7a8;border-radius:9px;padding:4px}.arena{border-radius:27px;overflow:visible;min-height:364px;background:radial-gradient(ellipse at 63% 45%,#f6fbf8,#edf4f1)}.arena:before,.arena:after{display:none}#cubeCanvas{height:360px;width:calc(100% - 57px);margin-left:0;margin-right:57px;border-radius:25px}.phase-badge{left:63%;top:12px;font-size:10px;padding:4px 9px;gap:5px}#phaseIcon{font-size:15px}.zoom{bottom:12px;left:12px;width:88px;height:92px;box-shadow:0 2px 0 #dce5dd}#faceCanvas{height:76px}.zoom-label{font-size:8px;margin:0}.front-palette{bottom:39px;right:13px}.front-palette>span{font-size:8px}.front-palette button{width:20px;height:20px}.gray-key{right:16px;bottom:14px;font-size:9px}.sequence-dots{top:47px;left:43%;max-width:140px;gap:5px}.lock-cue{top:auto;bottom:50px;left:50%;right:auto;transform:translateX(-50%);font-size:8px;max-width:100px;text-align:center}.lock-cue span:first-child{font-size:18px}.choices{gap:7px;margin:18px 0 0;flex-wrap:wrap}.choice{min-width:0;flex:0 1 calc(20% - 6px);border-radius:16px;box-shadow:0 4px 0 #ece5d8;padding:3px 2px 8px;font-size:11px}.choice canvas{height:65px}.choices.few .choice{flex-basis:calc(30% - 8px);max-width:125px}.choice-icon{height:65px;font-size:30px}.action-bar{margin-top:18px;padding:0 3px}.small-round{height:33px;width:33px;font-size:18px}.primary,.secondary,.answer{font-size:16px;min-height:51px;padding:10px 22px;gap:9px;border-radius:16px}.answer.yes{min-width:110px}.answer.no{min-width:100px}.primary .button-icon,.answer .button-icon{font-size:23px}.quiet-note{margin:12px 0 0;font-size:9px;min-height:14px}.orientation-cue{left:62%;bottom:32px;font-size:9px;padding:4px 8px;gap:4px}.orientation-cue>span:first-child{font-size:19px}.rewind-cue{left:62%;top:41%;padding:9px 12px;border-radius:17px;gap:6px}.rewind-hand{font-size:26px}.rewind-cue b{font-size:23px}.rewind-cue div>span{font-size:8px}.hold-hands{left:62%;bottom:78px;font-size:47px}dialog{padding:29px 20px;border-radius:25px}dialog h2{font-size:25px}dialog p{font-size:13px}.entry-layout{grid-template-columns:1fr;gap:0}.entry-layout>canvas{height:120px}.paint-grid{max-width:235px}#entryDialog h3{font-size:17px;margin:15px 0 7px}.entry-tabs button{width:30px;height:30px}.parent-legend{grid-template-columns:35px 1fr}.parent-legend>span{font-size:23px}.parent-legend p{font-size:12px}.help-visuals{gap:17px}.help-visuals span{font-size:31px}.help-visuals b{font-size:10px}#doneCanvas{height:220px}}
@media(max-width:360px){.path{gap:10px}.mode-badge{display:none}.choice canvas{height:57px}.choice{font-size:10px}.main-actions{gap:7px}.answer.yes,.answer.no{min-width:92px;padding:10px 18px}.primary{padding:10px 18px}.coach{width:94px}.thought-bubble{width:94px}#cubeCanvas{width:calc(100% - 45px);margin-right:45px}.quiet-note{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(min-width:741px) and (max-height:820px){header{height:64px}main{margin-top:0;padding-bottom:9px}.mission-bar{padding-top:4px;padding-bottom:13px}h1{font-size:27px}.playground{min-height:330px}.coach{padding-top:0}.thought-bubble{width:185px;min-height:147px;padding-top:10px}.bubble-caption{font-size:15px}.thought-bubble canvas{height:99px}.bubble-bottom{min-height:15px}.thought-dot.one{top:158px;right:62px;height:14px;width:18px}.thought-dot.two{top:180px;right:77px;height:8px;width:9px}.mascot{transform:scale(.75) rotate(5deg)!important;transform-origin:50% 0;margin-top:28px;height:190px;margin-bottom:-45px}.coach-line{font-size:14px;margin-top:0}#cubeCanvas{height:330px}.arena{border-radius:31px}.choices{margin-top:18px}.choice{padding-top:4px;padding-bottom:8px;border-radius:18px}.choice canvas{height:66px}.choice strong{font-size:12px}.action-bar{margin-top:16px}.primary,.answer,.secondary{min-height:50px;padding-top:9px;padding-bottom:9px;font-size:17px}.quiet-note{margin-top:12px}.zoom{width:98px;height:107px}#faceCanvas{height:88px}.front-palette{bottom:41px}.gray-key{bottom:14px}}

@media(max-width:520px){.choices:not(.few) .choice{flex-basis:calc(33.333% - 7px);max-width:118px}.choices:not(.few) .choice canvas{height:79px}.choices[data-count="4"] .choice{flex-basis:calc(50% - 9px);max-width:145px}}

#goalButtonCanvas{display:block;width:54px;height:41px}.goal-button{padding-top:5px!important;padding-bottom:5px!important;gap:7px!important}

/* Translate the interface, never mirror cube geometry or move directions. */
.header-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
.language-select{font-size:12px;color:var(--ink);background:var(--paper);border:1px solid #ded8ce;border-radius:20px;padding:8px 10px;min-height:38px;cursor:pointer;direction:ltr}
html[dir="ltr"] .header-controls{margin-right:0;margin-left:auto}
html[dir="ltr"] .path{direction:ltr}
html[dir="ltr"] .path-step:not(:last-child):after{right:auto;left:calc(100% + 3px)}
html[dir="ltr"] .phase-badge,html[dir="ltr"] .gray-key,html[dir="ltr"] .front-palette,html[dir="ltr"] .rewind-cue,html[dir="ltr"] .orientation-cue{direction:ltr}
html[dir="ltr"] .choices{padding-right:0;padding-left:130px}
html[dir="ltr"] .close-dialog{left:auto;right:13px}
html[dir="ltr"] .parent-btn span{margin-left:0;margin-right:4px}
@media(max-width:1000px){html[dir="ltr"] .choices{padding-left:110px}.header-tools{gap:6px}}
@media(max-width:740px){html[dir="ltr"] .choices{padding-left:0}.language-select{font-size:11px;padding:6px 8px;min-height:34px}header{gap:10px}}
@media(max-width:520px){.header-tools{gap:6px}.language-select{min-height:32px}.mission-bar h1{font-size:21px}.mode-badge{max-width:100px}.header-controls{flex-shrink:0}}
