@font-face{font-family:'Finger Paint';src:url('../memory/assets/fonts/finger-paint.ttf') format('truetype');font-display:swap}
:root{--ink:#35314a;--muted:#676276;--heading:'Finger Paint','Trebuchet MS',sans-serif;--green:#d5ed91;--pink:#f4bdd6;--orange:#ffbb76;--purple:#d9cef6;--paper:#fff9ec}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 'Trebuchet MS',Arial,sans-serif;background-image:radial-gradient(ellipse at 5% 13%,#f9cfe7a8,transparent 25%),radial-gradient(ellipse at 95% 30%,#e3f1a690,transparent 25%)}button,select{font:inherit;color:inherit}button,a,summary,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #6951b1;outline-offset:5px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--heading);font-weight:400}button{min-height:48px}main{width:min(1080px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-80px;background:white;padding:14px;z-index:20}.skip:focus{top:10px}.topbar{width:min(1180px,calc(100% - 48px));margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 0}.brand{font:26px var(--heading);text-decoration:none}.brand::first-letter{color:#dc6b2b}.back{font-size:14px;text-decoration:none;background:#e4efbb;padding:12px 21px;border-radius:50% 42% 46% 39%;transform:rotate(-2deg)}.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;min-height:320px;padding:15px 30px 26px}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:700;color:#696047;margin-bottom:15px}h1{font-size:clamp(36px,5.8vw,68px);line-height:1.22;margin-bottom:20px}h1 span{color:#57822f;text-decoration:underline;text-decoration-color:#c5e68b;text-decoration-thickness:9px;text-underline-offset:10px}.intro{font-size:18px;color:var(--muted);margin-bottom:0}.hero-art{position:relative;min-height:285px;display:grid;place-items:center}.hero-art::before{content:'';position:absolute;inset:10px 5px 28px;background:#efd8eb;border-radius:50% 43% 57% 44%;transform:rotate(-9deg)}.hero-art img{position:relative;width:230px;max-width:75%;height:auto;transform:rotate(6deg)}.float-symbol{position:absolute;z-index:1;font:42px var(--heading)}.one{top:4px;left:26px;color:#ab4f78;transform:rotate(-12deg)}.three{right:10px;top:80px;color:#aa611c;transform:rotate(12deg)}.plus{top:0;right:70px;color:#587e2b}.hero-flower{position:absolute;bottom:25px;left:15px;font-size:58px;color:#a879b9}.art-note{position:absolute;bottom:4px;right:15px;font:14px var(--heading);transform:rotate(-5deg);background:#ffe4a3;border-radius:40%;padding:8px 15px}.worlds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.worlds button{display:flex;align-items:center;gap:12px;text-align:left;background:#eee8db;padding:20px;border-radius:25px 33px 24px 29px;border:2px solid transparent;box-shadow:0 3px 0 #d4cdbe}.worlds strong{display:block;font:clamp(13px,1.6vw,18px)/1.5 var(--heading)}.worlds small{font-size:12px;display:block;margin-top:5px}.worlds button[aria-selected=true]{background:var(--green);border-color:#74954c;box-shadow:0 4px 0 #8fac62}.worlds button:nth-child(2)[aria-selected=true]{background:#ffd3a7;border-color:#c68a4b;box-shadow:0 4px 0 #c68a4b}.worlds button:nth-child(3)[aria-selected=true]{background:#ecd0ed;border-color:#ae79b1;box-shadow:0 4px 0 #ae79b1}.world-icon{font-size:34px;line-height:1;white-space:nowrap}.worlds button:last-child .world-icon{font-size:22px}.workshop{background:#fffefa;border:2px solid #e5ddcf;border-radius:34px 48px 35px 44px;padding:32px;box-shadow:0 12px 0 #e6ebd2,0 25px 50px #7261440c;scroll-margin-top:15px}.panel-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-top h2{font-size:clamp(19px,2.4vw,27px);line-height:1.5;margin-bottom:8px}.panel-top p:not(.eyebrow){font-size:15px;color:var(--muted);margin-bottom:15px}.panel-top .eyebrow{margin-bottom:8px;font-size:10px}.select-label{display:grid;font-size:12px;gap:6px;flex-shrink:0}select{font-size:13px;min-height:46px;border:1px solid #bcb59f;background:#fffdf8;border-radius:12px;padding:9px;max-width:100%}.quantity{display:flex;justify-content:center;align-items:center;gap:20px;margin:20px auto 26px}.quantity strong{font:26px var(--heading)}.quantity>span{font-size:15px}.round{width:48px;border-radius:50%;background:#ece4f5;font-size:26px;font-weight:bold}.garden-beds{display:grid;grid-template-columns:1fr 35px 1fr;align-items:center;gap:12px}.bed{padding:17px 18px 22px;min-height:205px;align-self:stretch;border-radius:26px 38px 23px 30px;border-bottom:7px solid #85a75f;background:#fae1eb}.bed-right{background:#ffead1}.bed h3{font:15px var(--heading);display:flex;justify-content:space-between;gap:5px}.bed h3 span{background:#fff9;padding:3px 9px;border-radius:50%}.flowers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:6px;min-height:120px}.flower{position:relative;background:none;font-size:clamp(30px,4vw,47px);line-height:1;min-width:0;min-height:54px;color:#b2487a;transition:transform .15s}.bed-right .flower{color:#bd641c}.flower::after{content:'';position:absolute;width:3px;height:11px;background:#597f3e;left:50%;bottom:0}.flower:hover{transform:translateY(-3px)}.empty-bed{grid-column:1/-1;align-self:center;text-align:center;font-size:13px;color:#70606a;padding-top:27px}.between{text-align:center;font-size:26px;color:#786e85}.feedback{padding:15px 20px;margin:23px 0 12px;background:#f0f4e5;border-radius:18px 23px 19px 25px;text-align:center;font-size:16px;min-height:56px}.feedback[data-success=true]{background:#e0efb5}.equation{margin:12px auto;text-align:center}.equation summary,.grownups summary,.offline-help summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;text-decoration:underline;text-underline-offset:4px}.equation p{font:clamp(23px,4vw,35px) var(--heading);margin:10px 0 20px}.actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.primary,.secondary,.text-button{padding:11px 18px;border-radius:17px 23px 19px 22px;font-size:14px}.primary{background:#d8eb9b;box-shadow:0 3px 0 #a5b96c;font-weight:bold}.secondary{background:#eee6f4;box-shadow:0 3px 0 #d6c8e1}.text-button{background:transparent;text-decoration:underline;text-underline-offset:4px}.task,.tip{padding:13px 18px;border-left:4px solid #dba268;background:#fff1d8;font-size:15px;border-radius:0 16px 16px 0}.tip{background:#f2e9fa;border-color:#b596cd}.findings{border-top:1px dashed #c8bea7;padding-top:21px;margin-top:22px}.findings h3{font-size:15px;margin:0 0 13px}.findings h3 span{font:12px 'Trebuchet MS',sans-serif;color:var(--muted);margin-left:8px}.chips{display:flex;flex-wrap:wrap;gap:10px}.chips p{color:var(--muted);font-size:13px;margin:0}.chip{background:#fff1cf;border:1px solid #e8d5a4;padding:8px 13px;border-radius:14px;font-size:15px}.scale{height:290px;position:relative;margin:15px auto 0;max-width:740px;--angle:0deg;--drop:0px}.scale-post{position:absolute;left:calc(50% - 7px);top:30px;bottom:12px;width:14px;background:#c9b4df;border-radius:15px}.scale-post::after{content:'';position:absolute;bottom:0;left:-52px;width:118px;height:20px;background:#9a81b9;border-radius:30px 30px 8px 8px}.scale-beam{position:absolute;top:40px;left:12%;width:76%;height:11px;background:#8b729e;border-radius:8px;transform:rotate(var(--angle));transition:transform .45s}.scale-pan{position:absolute;top:88px;width:44%;min-height:145px;padding:10px;background:#fff1d8;border-radius:18px 18px 55px 55px;border-bottom:6px solid #c9a471;transition:transform .45s}.left-pan{left:0;transform:translateY(var(--drop))}.right-pan{right:0;transform:translateY(calc(-1 * var(--drop)));background:#f2e3f5;border-color:#b697be}.pan-label{display:block;margin:-4px auto 8px;background:transparent;border:2px solid transparent;border-radius:12px;font-size:14px;min-height:44px;padding:6px 12px}.pan-label[aria-pressed=true]{border-color:#74618d;background:#fff9}.blocks{display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:center;gap:5px;min-height:58px;max-height:none;overflow:visible}.block,.weight{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:45px;min-height:46px;background:#fffdf7;border:1px solid #b8a38b;border-radius:11px;padding:4px 7px;font-weight:bold;font-size:19px}.dots{display:flex;justify-content:center;gap:2px;flex-wrap:wrap;max-width:45px}.dots i{width:5px;height:5px;background:#766184;border-radius:50%}.weights{display:flex;gap:13px;justify-content:center}.weight{min-width:68px;min-height:67px;font-size:24px;box-shadow:0 4px 0 #dfd0bd}.palette-label{text-align:center;font-size:14px;margin:0 0 12px}.mode-switch{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.mode-switch button{background:#eee8ef;padding:10px 20px;border-radius:16px;font-size:14px;border:2px solid transparent}.mode-switch button[aria-pressed=true]{background:#edd0eb;border-color:#ae79b1}.pattern-stage{background:#f8f1fb;padding:22px;border-radius:30px 20px 35px 24px;min-height:190px;margin-bottom:24px}.pattern-stage>p{text-align:center;font-size:14px;color:var(--muted)}.pattern-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;align-items:center;min-height:54px}.shape{display:inline-flex;width:47px;height:47px;align-items:center;justify-content:center;flex-shrink:0;font-size:40px;line-height:1}.shape.circle{color:#bd5e8c}.shape.triangle{color:#ad6b21}.shape.square{color:#437b9c}.shape.star{color:#64833a}.pattern-row .shape{background:#fffafc;border-radius:12px}.pattern-row .group-end{margin-right:14px;box-shadow:4px 0 #c9a4d9}.answer-row{border-top:1px dashed #d3bedb;margin-top:16px;padding-top:14px}.answer-slot{width:47px;height:47px;border:2px dashed #c6b0d0;border-radius:12px;display:inline-grid;place-items:center;color:#9978a6}.shape-palette{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.shape-palette button{background:#fffdf8;border:1px solid #dbccd9;border-radius:15px;min-width:62px;box-shadow:0 4px 0 #e8dbe9;padding:5px 9px}.shape-palette button .shape{width:42px;height:42px}.sana-note{display:flex;justify-content:center;align-items:center;gap:18px;margin:35px auto 15px}.sana-note img{width:85px;height:auto;mix-blend-mode:multiply}.sana-note p{font-size:14px;color:var(--muted);margin:0}.sana-note strong{color:#68567f;font-weight:normal}.grownups{margin:20px auto;max-width:850px;padding:0 15px}.grownups p{font-size:14px;color:var(--muted)}.offline-box{margin:25px auto;background:#ede8f4;border-radius:25px;padding:23px;display:grid;grid-template-columns:1fr auto;gap:10px 22px;align-items:center}.offline-copy h2{font-size:17px;margin-bottom:5px}.offline-copy p{font-size:14px;margin:0}#offline-status,.offline-help{grid-column:1/-1;font-size:13px;margin:0}.offline-help li{margin:7px 0}footer{display:flex;justify-content:center;gap:20px;font-size:13px;padding:20px 15px 30px}footer a{padding:10px 0}.sparkles{position:fixed;inset:0;pointer-events:none;z-index:10;overflow:hidden}.sparkle{position:absolute;top:-40px;font-size:25px;animation:fall 2.8s linear forwards;color:#b56b95}@keyframes fall{to{transform:translateY(105vh) rotate(220deg);opacity:0}}
@media(max-width:760px){main{width:calc(100% - 28px)}.topbar{width:calc(100% - 32px)}.hero{padding:12px 10px;grid-template-columns:1.25fr 1fr;min-height:250px}.hero-art{min-height:225px}.hero-art img{width:170px}.float-symbol{font-size:30px}.one{left:3px}.three{right:0;top:55px}.plus{right:40px}.hero-flower{font-size:40px;left:0}.art-note{font-size:11px;right:0}.intro{font-size:15px}.hero .eyebrow{font-size:9px}.worlds{gap:8px}.worlds button{padding:13px 9px;flex-direction:column;text-align:center;gap:9px}.worlds small{font-size:10px}.world-icon{font-size:28px}.workshop{padding:24px 18px}.panel-top{flex-direction:column;gap:8px}.select-label{width:100%;margin-bottom:10px}.garden-beds{gap:6px;grid-template-columns:1fr 22px 1fr}.bed{padding:13px 9px;min-height:200px}.bed h3{font-size:12px;flex-wrap:wrap}.flowers{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.flower{min-height:49px;font-size:34px}.between{font-size:20px}.scale{height:295px}.scale-pan{width:45%;padding:7px}.pan-label{font-size:12px;padding:4px;min-width:100%}.blocks{gap:3px}.block{min-width:39px;padding:3px 5px}.pattern-stage{padding:18px 12px}.shape,.answer-slot{width:40px;height:44px;font-size:34px}.pattern-row{gap:5px}.pattern-row .group-end{margin-right:8px}.offline-box{grid-template-columns:1fr}.offline-box button{justify-self:start}.quantity{gap:12px}.quantity>span{font-size:13px}}
@media(max-width:420px){.hero{grid-template-columns:1fr .7fr}.hero-art{min-height:190px}.hero-art img{max-width:100%;width:145px}.hero-art::before{inset:10px 0 20px}.hero-flower{display:none}.art-note{font-size:9px;padding:6px}.one{left:-8px;font-size:26px}.plus{right:25px;font-size:24px}.three{top:70px;font-size:28px}h1{font-size:34px}.intro{font-size:13px}.brand{font-size:21px}.back{font-size:12px;padding:10px 13px}.workshop{padding:20px 12px}.worlds strong{font-size:11px}.worlds small{display:none}.flowers{grid-template-columns:repeat(2,minmax(0,1fr))}.shape,.answer-slot{width:35px;height:42px;font-size:31px}.scale-pan{width:46%}.feedback{font-size:14px;padding:13px}.actions{gap:8px}.primary,.secondary,.text-button{font-size:13px;padding:10px 13px}.quantity{gap:10px}.findings h3 span{display:block;margin:7px 0 0}.scale-post::after{width:80px;left:-33px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.sparkles{display:none}}

.scale-pan::before{content:"";position:absolute;left:calc(50% - 2px);top:-40px;height:40px;width:4px;background:#b6a0c5;border-radius:3px}

/* Sanalino's star world, warm bright blobs and clear first actions. */
:root{color-scheme:dark;--ink:#fff5dd;--muted:#ded0e8;--paper:#160e2d}
body{background:radial-gradient(ellipse at 5% 14%,#35346599,transparent 42%),radial-gradient(ellipse at 93% 32%,#63345760,transparent 45%),#160e2d;color:var(--ink)}
body::before{content:'';position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(circle,#ffe7b599 1px,transparent 1.8px),radial-gradient(circle,#e4c9ff66 1px,transparent 1.8px);background-size:157px 211px,239px 179px;background-position:20px 39px,71px 90px;z-index:-1}
.topbar .brand{color:#ffe1a1}.back{color:#342244;background:linear-gradient(120deg,#f7a6d3,#c4ef8a);box-shadow:0 0 18px #c7ed8840;font-family:var(--heading)}
.hero{gap:30px;padding:35px 25px 38px;min-height:340px}.hero>div:first-child{text-align:center}.hero h1{font-size:clamp(30px,4.7vw,53px);line-height:1.3;color:#fff1cc;padding:22px 35px 26px;border:12px solid #ff941d;border-radius:44% 56% 46% 54% / 54% 43% 57% 46%;background:radial-gradient(ellipse,#443052,#221938);box-shadow:0 0 0 5px #d7f47b55,0 0 30px #bdff6b55;transform:rotate(-2deg);margin-bottom:26px}.hero h1 span{color:#fff1cc;text-decoration:none}.eyebrow{color:#f3d69c}.hero .intro{font-size:16px;color:#eadcef}.hero .intro strong{color:#dcf4ac;font-weight:normal}.hero-art::before{background:radial-gradient(ellipse,#d3f28666,#e783c34d 55%,transparent 72%)}.hero-art img{filter:drop-shadow(0 10px 25px #10051c99)}.float-symbol.one{color:#ffb2dc}.float-symbol.three{color:#ffc06e}.float-symbol.plus{color:#d6f58f}.hero-flower{color:#e6b9fb}.art-note{color:#442c42;background:#e2f3a2}
.worlds{gap:16px;margin:15px 0 28px}.worlds button{background:#322345;border:2px solid #9a7dae;color:#f5e6ff;box-shadow:0 5px 0 #120820;border-radius:28px 40px 25px 35px}.worlds button[aria-selected=true]{background:#dbf392;border-color:#b9e768;color:#34283f;box-shadow:0 5px 0 #8cac58,0 0 22px #c7f78230}.worlds button:nth-child(2)[aria-selected=true]{background:#ffb65f;color:#34283f}.worlds button:nth-child(3)[aria-selected=true]{background:#f7b1dc;color:#34283f}.worlds small{font-size:12px;line-height:1.5}
.workshop{background:linear-gradient(130deg,#29344a,#30203f 65%,#3d2847);border:3px solid #dbb581;border-radius:45px 70px 50px 65px;box-shadow:0 10px 0 #121020,0 0 35px #c7a0e514}.panel-top .eyebrow{color:#e9c999}.panel-top h2{color:#ffdfac}.panel-top p:not(.eyebrow){color:#eaddef}.select-label{color:#e4d5e9}select{background:#241b38;color:#fff0db;border-color:#a58db6}
.start-help{display:flex;gap:17px;align-items:flex-start;margin:18px 0 26px;padding:20px 24px;background:linear-gradient(125deg,#fbe6ad,#f8c8df);color:#392841;border-radius:28px 40px 27px 37px;box-shadow:0 4px 0 #e6aa6690}.start-help>img{width:75px;height:auto;flex-shrink:0}.start-help>div{flex:1;min-width:0}.start-help .step-label{font:16px/1.5 var(--heading);color:#5a356a;margin:0 0 9px}.guide-copy{font-size:18px;line-height:1.6;margin:0 0 9px;font-weight:bold}.learning-goal{font-size:14px;line-height:1.6;margin:9px 0 4px;color:#624a64}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.simple-steps{padding-left:21px;margin:0;font-size:16px;line-height:1.7}.simple-steps li{padding-left:4px;margin:5px 0}.start-help .text-button{color:#51325a}.start-help .secondary{background:#fff5d9;color:#51325a;box-shadow:0 3px 0 #cfa9bc}
.round{background:#c6e890;color:#302139}.quantity{margin-top:24px}.bed{color:#3f2942;background:#f7b3d5;border-bottom-color:#a9d171;border-radius:30px 43px 25px 38px}.bed-right{background:#ffce8c}.bed h3{color:#4b2e4c}.bed h3 span{background:#fff9}.flower{color:#9b2d67}.bed-right .flower{color:#a45112}.first-flower{outline:4px dashed #64518b;outline-offset:1px;border-radius:15px;background:#fff8b9;box-shadow:0 0 0 4px #fff3a866}.tap-label{font-size:13px;font-weight:bold;color:#512657;background:#fff8ca;border-radius:13px;padding:7px 9px;margin:0 0 12px;text-align:center}.between{color:#f2d4a8}.empty-bed{color:#6c4a50}.feedback{color:#e8f4ce;background:#374437}.feedback[data-success=true]{background:#d8f29b;color:#354029}.equation{color:#fbe7bc}.primary{background:#d9f18c;color:#35243e;box-shadow:0 4px 0 #89aa50}.secondary{background:#f0bbdb;color:#482947;box-shadow:0 4px 0 #a876a0}.text-button{color:#f8e0b9}.task{background:#4b3b27;color:#ffe7b6;border-color:#ffb45e}.tip{background:#443451;color:#f4e1ff;border-color:#d6a8ed}.findings{border-color:#b497bd66}.findings h3{color:#e7f6b4}.chip{color:#493247;background:#ffe3a5;border-color:#eec480}.chips p{color:#d6c2db}
.scale-pan{background:#ffdda3;color:#45304b;border-color:#c69857}.right-pan{background:#f3bedc;border-color:#b57b9f}.pan-label{color:#49314b}.pan-label[aria-pressed=true]{background:#fff3ca;border-color:#84568d}.pan-label:disabled{opacity:.8}.block,.weight{background:#fffaeb;color:#45314c;border-color:#cfb38b}.scale-beam{background:#d1b4e4}.scale-post{background:#b89acb}.scale-post::after{background:#9776ac}.scale-pan::before{background:#d1b4e4}
.mode-switch button{background:#4b3559;color:#fbe9ff;border-color:#896894}.mode-switch button[aria-pressed=true]{background:#f0bce1;color:#49254d;border-color:#d69bc7}.pattern-stage{background:#eee0f6;color:#4a3552;border:3px solid #bfa0d0}.pattern-stage>p{color:#614a6b}.answer-row{border-color:#b598bd}.shape-palette button{background:#fff2d1;box-shadow:0 4px 0 #b89969;border-color:#ebc98b}.answer-slot{color:#79558a;border-color:#b492c1}.sana-note p,.grownups p{color:#ddcbe5}.sana-note strong{color:#e1f4a8}.offline-box{background:#332644;border:1px solid #9673ab;color:#f6e4fd}.offline-copy h2{color:#e1f4a8}footer{color:#dfc9e9}
@media(max-width:760px){.hero{gap:8px;padding:20px 5px 22px;grid-template-columns:1.4fr .8fr;min-height:260px}.hero h1{padding:20px 12px;font-size:clamp(25px,5.3vw,39px);border-width:9px}.hero .intro{font-size:13px}.hero-art{min-height:210px}.worlds{gap:8px}.worlds small{font-size:10px}.workshop{padding:24px 17px;border-radius:30px 45px 32px 40px}.start-help{padding:17px 16px;gap:12px}.start-help>img{width:55px}.guide-copy{font-size:16px}.simple-steps{font-size:15px}.start-help .step-label{font-size:14px}.flowers{gap:9px}.tap-label{font-size:11px;padding:7px 5px}.bed{padding:15px 10px}.garden-beds{align-items:stretch}.between{align-self:center}}
@media(max-width:420px){.hero{grid-template-columns:1fr}.hero-art{display:none}.hero h1{max-width:310px;margin:0 auto 22px;font-size:32px;padding:22px 20px}.hero .eyebrow{margin-bottom:18px}.worlds strong{font-size:11px}.worlds small{display:none}.workshop{padding:21px 12px}.start-help{display:block;padding:16px}.start-help>img{float:right;width:50px;margin:0 0 8px 10px}.start-help .step-label{max-width:210px}.guide-copy{font-size:16px}.learning-goal{font-size:13px}.guide-actions{clear:both}.simple-steps{font-size:14px}.flowers{gap:8px}.bed h3{font-size:11px}.first-flower{outline-width:3px;outline-offset:0}}

/* Bright, tactile vector pieces: the same silhouettes in palette and pattern. */
.math-icon{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 1px #40234924);pointer-events:none}
.shape{padding:3px;--piece-light:#ffb6e5;--piece-dark:#ec50a8;--piece-edge:#b3307d}
.shape.triangle{--piece-light:#ffd56f;--piece-dark:#ff9237;--piece-edge:#c36a24}
.shape.square{--piece-light:#96e4ff;--piece-dark:#429ae8;--piece-edge:#306caf}
.shape.star{--piece-light:#ddf995;--piece-dark:#98d64c;--piece-edge:#649329}
.pattern-row .shape{background:transparent;border-radius:0}
.pattern-row .group-end{box-shadow:4px 0 #bc96cf;border-radius:4px}
.shape-palette button{border:2px solid #fff4e9;background:linear-gradient(145deg,#fffdf6,#e6dcef);border-radius:19px;box-shadow:0 5px 0 #9975aa,0 8px 15px #120b2824;transition:transform .16s,box-shadow .16s}
.shape-palette button:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px 0 #9975aa}
.flower{display:grid;place-items:center;padding:4px 5px 1px;--piece-light:#ffb1db;--piece-dark:#e8499f;--piece-edge:#aa326d}
.flower .math-icon{width:49px;max-width:100%;height:57px}.flower::after{display:none}
.bed-right .flower{--piece-light:#ffe298;--piece-dark:#ffa347;--piece-edge:#be6d26}
.block,.weight{background:linear-gradient(145deg,#faf5ff,#c8adf0);border:2px solid #f7eaff;border-bottom-color:#a17fc5;border-radius:14px;color:#432961;box-shadow:0 3px 0 #916daf}
.block[data-value="1"],.weight[data-value="1"]{background:linear-gradient(145deg,#fff3cb,#ffca7a);border-color:#fff0c5;border-bottom-color:#cf984b;color:#654016;box-shadow:0 3px 0 #ba873e}
.block[data-value="2"],.weight[data-value="2"]{background:linear-gradient(145deg,#efffd0,#b5e578);border-color:#eaffc4;border-bottom-color:#83ae4d;color:#3b552a;box-shadow:0 3px 0 #789d47}
.block[data-value="3"],.weight[data-value="3"]{background:linear-gradient(145deg,#edfaff,#8dd4f4);border-color:#e0f6ff;border-bottom-color:#5b9bc4;color:#284b6a;box-shadow:0 3px 0 #527fa4}
.dots{gap:3px;padding:2px 0}.dots i{width:6px;height:6px;background:currentColor;box-shadow:0 1px 0 #fff9}
@media(max-width:760px){.flower .math-icon{height:48px;width:42px}.shape{padding:2px}}
