@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap";:root{--ink:#39483e;--muted:#788579;--paper:#fbf8f1;--cream:#f3ecdf;--sage:#78947c;--sage-dark:#55745e;--line:#e8e0d3;--rose:#c88f83;--lavender:#a89bbd}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:DM Sans,sans-serif}.topbar{border-bottom:1px solid var(--line);background:#fffdf8;justify-content:space-between;align-items:center;min-height:88px;padding:8px max(5vw,22px);display:flex}.brand{min-width:0;color:inherit;align-items:center;gap:20px;text-decoration:none;display:flex}.brand-logo{object-fit:contain;object-position:left center;width:170px;max-width:min(34vw,170px);height:66px;display:block}.brand-title{color:#71347e;letter-spacing:.01em;white-space:nowrap;text-shadow:0 1px #fff;border-left:1px solid #e6d8e9;padding-left:20px;font:600 clamp(24px,3vw,34px)/1.1 Playfair Display,Georgia,serif;display:block}.top-note{color:var(--muted);letter-spacing:.06em;font-size:12px}main{max-width:1050px;margin:0 auto;padding:46px 24px 30px}.intro{text-align:center;max-width:690px;margin:0 auto 35px}.eyebrow{letter-spacing:.16em;color:var(--sage-dark);margin:0 0 9px;font-size:10px;font-weight:700}.intro h1{margin:0;font:500 clamp(32px,5vw,49px)/1.15 Playfair Display,serif}.intro-copy{color:var(--muted);max-width:540px;margin:16px auto 0;font-size:14px;line-height:1.7}.world-card,.upload-panel{border:1px solid var(--line);background:#fffdf8;border-radius:20px;padding:22px;box-shadow:0 8px 28px #645b4510}.world-heading{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.world-heading h2,.section-title h2{margin:0;font:500 25px Playfair Display,serif}.count-pill{color:var(--sage-dark);background:#edf1e9;border-radius:30px;padding:7px 12px;font-size:11px}.world{isolation:isolate;background:linear-gradient(#dcecf0 0%,#eaf2e9 55%,#cbdcbd 56%,#b8d0ad 100%);border-radius:14px;height:350px;position:relative;overflow:hidden}.sun{background:#f6dfac;border-radius:50%;width:53px;height:53px;position:absolute;top:10%;right:12%;box-shadow:0 0 0 12px #f6dfac35}.cloud{color:#fff;opacity:.8;font-size:54px;position:absolute}.cloud-one{top:10%;left:15%}.cloud-two{font-size:42px;top:22%;left:57%}.distant-hill,.near-hill{z-index:-1;background:#b6cdb0;border-radius:50%;width:75%;height:210px;position:absolute;bottom:-100px}.distant-hill{left:-12%}.near-hill{background:#9dbd99;bottom:-120px;right:-20%}.storybook-house{filter:saturate(.7);font-size:55px;position:absolute;bottom:21%;right:13%}.storybook-tree{filter:saturate(.65);font-size:65px;position:absolute;bottom:17%}.tree-left{left:5%}.tree-right{font-size:55px;right:4%}.pond{opacity:.8;background:#a8cbd0;border-radius:50%;width:23%;height:90px;position:absolute;bottom:-27px;left:39%;transform:rotate(-8deg)}.flowers{color:#f3e0be;letter-spacing:7px;font-size:20px;position:absolute;bottom:9%;left:25%}.empty-state{text-align:center;color:#667d68;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex;position:absolute;inset:0}.empty-state span{font-size:36px}.empty-state strong{font:500 19px Playfair Display,serif}.empty-state small{color:#849386;font-size:11px}.creatures{position:absolute;inset:0}.creature{object-fit:contain;z-index:2;filter:drop-shadow(0 5px 4px #425b4020);width:112px;height:120px;position:absolute}.creature.float{animation:3s ease-in-out infinite float}.creature.hop{animation:1.4s ease-in-out infinite hop}.creature.fly{animation:5s ease-in-out infinite alternate fly}.creature.wiggle{animation:1.1s ease-in-out infinite wiggle}.creature.spin{animation:6s linear infinite spin}@keyframes float{50%{transform:translateY(-13px)rotate(3deg)}}@keyframes hop{50%{transform:translateY(-22px)rotate(-4deg)}}@keyframes fly{50%{transform:translate(25px,-17px)rotate(7deg)}}@keyframes wiggle{25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}@keyframes spin{to{transform:rotate(360deg)}}.world-caption{text-align:center;color:var(--muted);margin:13px 0 0;font:italic 13px Playfair Display,serif}.work-area,.gallery-section{margin-top:36px}.section-title{align-items:center;gap:12px;margin:0 0 15px;display:flex}.section-title .eyebrow{margin-bottom:4px}.step-number{width:34px;height:34px;color:var(--sage-dark);background:#e9eee5;border-radius:50%;place-items:center;font:600 14px DM Sans;display:grid}.upload-zone{cursor:pointer;text-align:center;background:#fafbf6;border:1.5px dashed #c9d3c5;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:130px;padding:20px;display:flex}.upload-icon{color:var(--sage-dark);font-size:26px}.upload-zone strong{font-size:14px}.upload-zone small{color:var(--muted);font-size:11px}.upload-zone input{max-width:230px;margin-top:5px;font-size:11px}.editor{grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:22px;margin-top:20px;display:grid}.hidden{display:none!important}.field-label{margin:0 0 8px;font-size:12px;font-weight:700;display:block}.checker{background-color:#fff;background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.preview-box{aspect-ratio:1;border:1px solid var(--line);border-radius:12px;justify-content:center;align-items:center;width:100%;min-width:0;height:auto;min-height:0;max-height:none;padding:10px;display:flex;overflow:hidden}.preview-box canvas{object-fit:contain;object-position:center center;touch-action:none;cursor:crosshair;flex:0 0 100%;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;display:block}.controls{flex-direction:column;gap:8px;display:flex}.controls input[type=range]{width:100%;accent-color:var(--sage)}.range-labels{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.hint,.status{color:var(--muted);margin:0 0 7px;font-size:11px;line-height:1.55}.controls select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fffdf8;border-radius:9px;padding:10px;font:12px DM Sans}.button{cursor:pointer;border:0;font:600 12px DM Sans;transition:transform .15s,opacity .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.4;cursor:not-allowed}.button-primary{background:var(--sage-dark);color:#fff;margin-top:6px;padding:12px 15px}.gallery{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;display:grid}.gallery-card{border:1px solid var(--line);background:#fffdf8;border-radius:12px;padding:9px}.gallery-card img{object-fit:contain;border-radius:8px;width:100%;height:100px}.gallery-card p{color:var(--muted);margin:7px 0;font-size:11px}.gallery-card button{color:#876b61;cursor:pointer;background:#f4eee8;border:0;border-radius:7px;padding:6px 8px;font-size:10px}.gallery-empty{color:var(--muted);margin:0;font-size:12px}.gallery-actions{justify-content:flex-end;margin-top:12px;display:flex}footer{text-align:center;color:var(--muted);padding:40px 0 10px;font:italic 13px Playfair Display,serif}footer span{color:#a6b79d;margin:0 7px}@media (width<=650px){main{padding:30px 14px}.top-note{display:none}.world-card,.upload-panel{padding:14px}.world{height:300px}.editor{grid-template-columns:1fr}.world-heading h2,.section-title h2{font-size:22px}}.brush-tools{border:1px solid var(--line);background:#fafbf6;border-radius:11px;margin:5px 0;padding:11px}.brush-tools input[type=range]{width:100%;accent-color:var(--rose)}.brush-buttons{flex-wrap:wrap;gap:7px;margin:8px 0;display:flex}.brush-buttons button{border-radius:8px;padding:8px 10px;font-size:10px}.preview-box{position:relative}.preview-box #editCanvas{z-index:1;position:relative}.creature.sway{animation:2.4s ease-in-out infinite sway}.creature.breathe{animation:2.8s ease-in-out infinite breathe}.creature.dance{animation:1.25s ease-in-out infinite dance}.creature.skip{animation:1.1s ease-in-out infinite skip}.creature.flutter{animation:.8s ease-in-out infinite flutter}@keyframes sway{0%,to{transform:rotate(-9deg)}50%{transform:rotate(9deg)}}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes dance{0%,to{transform:translateY(0)rotate(-8deg)}25%{transform:translateY(-9px)rotate(8deg)}50%{transform:translateY(0)rotate(8deg)}75%{transform:translateY(-9px)rotate(-8deg)}}@keyframes skip{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(9px,-13px)rotate(7deg)}50%{transform:translate(18px)rotate(0)}75%{transform:translate(9px,-13px)rotate(-7deg)}}@keyframes flutter{0%,to{transform:rotate(-5deg)translateY(0)}25%{transform:rotate(8deg)translateY(-5px)}50%{transform:rotate(-8deg)translateY(0)}75%{transform:rotate(5deg)translateY(-5px)}}@media (prefers-reduced-motion:reduce){.creature{animation-duration:8s!important}}.intro{position:relative}.teacher-sticker{filter:drop-shadow(0 5px 7px #39483e20);pointer-events:none;width:142px;height:auto;position:absolute;top:8px;right:-125px;transform:rotate(8deg)}@media (width<=900px){.teacher-sticker{opacity:.96;width:112px;top:-26px;right:-24px}}@media (width<=650px){.intro{padding-top:92px}.teacher-sticker{width:104px;top:-8px;right:calc(50% - 52px);transform:rotate(5deg)}}@media (width<=900px){.teacher-sticker{width:150px;top:-25px;right:-35px}}@media (width<=650px){.intro{padding-top:112px}.teacher-sticker{width:132px;top:-8px;right:calc(50% - 66px);transform:rotate(5deg)}}.creature{object-fit:contain;will-change:left,top,transform;width:88px;height:94px}.teacher-sticker{width:190px;top:-10px;right:-168px;transform:rotate(8deg)}@media (width<=900px){.teacher-sticker{width:150px;top:-25px;right:-35px}}@media (width<=650px){.intro{padding-top:112px}.teacher-sticker{width:132px;top:-8px;right:calc(50% - 66px);transform:rotate(5deg)}}.world-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.theme-picker{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.theme-picker select{border:1px solid var(--line);color:var(--ink);background:#fffdf8;border-radius:9px;max-width:160px;padding:8px 10px;font:11px DM Sans}.world{transition:height .25s,background .3s}.world[data-theme=garden]{background:linear-gradient(#dcecf0 0%,#edf3e7 55%,#cbdcbd 56%,#b8d0ad 100%)}.world[data-theme=forest]{background:radial-gradient(at 50% 15%,#9ebca0 0%,#587c69 52%,#294e43 100%)}.world[data-theme=forest] .sun{background:#f4e8b8;box-shadow:0 0 0 14px #f4e8b822}.world[data-theme=forest] .cloud{opacity:.22}.world[data-theme=forest] .distant-hill{background:#789b78}.world[data-theme=forest] .near-hill{background:#476e58}.world[data-theme=forest] .storybook-house{filter:drop-shadow(0 3px 5px #1d352b55)}.world[data-theme=underwater]{background:radial-gradient(at 50% 0,#8ed7dc 0%,#3c9eae 48%,#17627e 100%)}.world[data-theme=underwater] .sun{display:none}.world[data-theme=underwater] .cloud{color:#d9f7f3;opacity:.3}.world[data-theme=underwater] .distant-hill,.world[data-theme=underwater] .near-hill{opacity:.7;background:#237d91}.world[data-theme=underwater] .storybook-house{display:none}.world[data-theme=underwater] .storybook-tree{filter:grayscale(.2)saturate(1.4)}.world[data-theme=underwater] .pond{opacity:.32;background:#a8e7e1}.world[data-theme=underwater] .flowers{color:#d5f3b4}.world[data-theme=space]{background:radial-gradient(at 50% 110%,#51477e 0%,#25264e 48%,#10172f 100%)}.world[data-theme=space] .sun{background:#f7d68c;box-shadow:0 0 0 15px #f7d68c22,0 0 35px #f7d68c88}.world[data-theme=space] .cloud{color:#c9d4ef;opacity:.25}.world[data-theme=space] .distant-hill,.world[data-theme=space] .near-hill{opacity:.85;background:#45436f}.world[data-theme=space] .storybook-house{display:none}.world[data-theme=space] .storybook-tree{filter:grayscale(.6)brightness(.7)}.world[data-theme=space] .pond{opacity:.35;background:#7b91c9}.world[data-theme=space] .flowers{color:#f5d58e}body.world-mode{overflow:hidden}body.world-mode .topbar,body.world-mode .intro,body.world-mode .work-area,body.world-mode .gallery-section,body.world-mode footer{display:none!important}body.world-mode main{max-width:none;height:100vh;margin:0;padding:10px}body.world-mode .world-card{z-index:1000;background:#fffdf8;border-radius:18px;flex-direction:column;padding:18px;display:flex;position:fixed;inset:10px}body.world-mode .world-heading{flex-wrap:wrap;gap:10px}body.world-mode .world{flex:1;height:auto;min-height:0}body.world-mode .world-caption{margin-top:8px}@media (width<=650px){.world-actions{justify-content:flex-start}.world-heading{flex-direction:column;align-items:flex-start}.world-actions{width:100%}.theme-picker{flex:1}.theme-picker select{width:100%;max-width:none}body.world-mode .world-card{padding:12px;inset:5px}body.world-mode .world-heading h2{font-size:21px}}@media (width<=650px){body.world-mode .world-mode-sticker{width:88px;top:10px;left:10px}}.world-mode-sticker{display:none}body.world-mode .world-mode-sticker{z-index:30;filter:drop-shadow(0 2px 3px #263b3420);pointer-events:none;-webkit-user-select:none;user-select:none;width:48px;height:auto;display:block;position:absolute;top:12px;left:14px;transform:rotate(-5deg)}body.world-mode .world-heading{padding-left:58px}@media (width<=650px){body.world-mode .world-mode-sticker{width:40px;top:9px;left:9px}body.world-mode .world-heading{padding-left:48px}}:root{--paper:#f5f8f5;--line:#e2e9e2;--sage-dark:#547c72;--sage:#83a99b}body{background:linear-gradient(135deg,#f6faf8 0%,#f5f4fb 48%,#fff8f1 100%) fixed}body:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 8% 18%,#d8eee755 0,#0000 30%),radial-gradient(at 92% 30%,#e7def655 0,#0000 28%),radial-gradient(at 50% 100%,#f8e8d855 0,#0000 35%);position:fixed;inset:0}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffd9;border-bottom-color:#e2e9e2}.brand-mark{color:#648c7e;background:linear-gradient(145deg,#e0f0e8,#ece5f7)}.world-card,.upload-panel{background:#fffefa;border-color:#e3e9e1;box-shadow:0 12px 34px #647d7012}.upload-zone{background:linear-gradient(135deg,#f5faf6,#f8f6fc);border-color:#cbded3}.upload-zone:hover{background:linear-gradient(135deg,#edf7f0,#f2eef9)}.step-number{color:#547c72;background:linear-gradient(145deg,#e2f0e8,#eee8f7)}.button-primary{background:#547c72}.button-quiet{color:#547c72;background:#edf3ef}.theme-picker select{background:#fffefa;border-color:#dbe6de}.world{box-shadow:inset 0 0 0 1px #fff5}.world[data-theme=sinterklaas]:before{content:"✦     🎁     ✧       ✦";z-index:1;text-align:center;color:#fff4d9;letter-spacing:clamp(5px,2vw,20px);text-shadow:0 2px 8px #8b514455;pointer-events:none;font-size:clamp(19px,3vw,30px);position:absolute;top:12%;left:8%;right:8%}.world[data-theme=sinterklaas]:after{content:"🎁";z-index:1;filter:drop-shadow(0 4px 3px #593c3325);pointer-events:none;font-size:clamp(28px,5vw,48px);position:absolute;bottom:12%;right:12%}.world[data-theme=sinterklaas] .cloud{color:#fff4e7;opacity:.72}.world[data-theme=sinterklaas] .pond{opacity:.6;background:#d9b4a0}.world[data-theme=christmas]:before{content:"";z-index:1;pointer-events:none;opacity:.72;background-image:radial-gradient(2px 2px at 12% 22%,#fff 98%,#0000),radial-gradient(3px 3px at 34% 12%,#fff 98%,#0000),radial-gradient(2px 2px at 57% 30%,#fff 98%,#0000),radial-gradient(3px 3px at 78% 17%,#fff 98%,#0000),radial-gradient(2px 2px at 91% 39%,#fff 98%,#0000),radial-gradient(2px 2px at 22% 52%,#fff 98%,#0000),radial-gradient(3px 3px at 68% 56%,#fff 98%,#0000);background-size:230px 170px;position:absolute;inset:0}.world[data-theme=christmas]:after{content:"✨  ❄  ✨";z-index:1;letter-spacing:8px;opacity:.85;pointer-events:none;font-size:clamp(18px,3vw,28px);position:absolute;top:10%;right:7%}.world[data-theme=christmas] .cloud{color:#fff;opacity:.85}.world[data-theme=christmas] .storybook-tree{filter:saturate(.85)}.world[data-theme=christmas] .pond{opacity:.75;background:#d8eeee}.world[data-theme=christmas] .flowers{color:#fff8e9}@media (width<=650px){.world[data-theme=sinterklaas]:before{font-size:18px;top:9%}.world[data-theme=christmas]:after{font-size:17px;top:8%;right:4%}}.world .cloud{opacity:.72;filter:blur(.2px);background:#fff;border-radius:30px;width:82px;height:25px;font-size:0}.world .cloud:before,.world .cloud:after{content:"";background:inherit;border-radius:50%;position:absolute;bottom:5px}.world .cloud:before{width:35px;height:35px;left:13px}.world .cloud:after{width:27px;height:27px;right:12px}.world .storybook-house{filter:drop-shadow(0 3px 4px #354b3825);background:#f3d8b7;border:2px solid #c89d79;border-radius:3px 3px 5px 5px;width:62px;height:52px;font-size:0;bottom:21%;right:13%}.world .storybook-house:before{content:"";border-bottom:29px solid #bd8273;border-left:36px solid #0000;border-right:36px solid #0000;width:0;height:0;position:absolute;top:-25px;left:-7px}.world .storybook-house:after{content:"";background:#a87562;border-radius:7px 7px 0 0;width:13px;height:25px;position:absolute;bottom:0;left:24px;box-shadow:-21px -10px 0 -3px #f7e9bd,21px -10px 0 -3px #f7e9bd}.world .storybook-tree{clip-path:polygon(50% 0,82% 38%,70% 38%,100% 72%,70% 72%,89% 100%,11% 100%,30% 72%,0 72%,30% 38%,18% 38%);filter:drop-shadow(0 3px 4px #203c2a35);background:linear-gradient(135deg,#6e9b78,#3f755b);width:66px;height:100px;font-size:0;bottom:16%}.world .storybook-tree:after{content:"";background:#8a674f;width:12%;height:22%;position:absolute;bottom:0;left:44%}.world .tree-left{width:75px;height:112px;left:5%}.world .tree-right{width:61px;height:91px;right:4%}.world .flowers{letter-spacing:0;background-color:#0000;background-image:radial-gradient(at 10%,#f4dfb8 0 4px,#0000 5px),radial-gradient(at 32%,#f1c7c5 0 4px,#0000 5px),radial-gradient(at 54%,#f4dfb8 0 4px,#0000 5px),radial-gradient(at 76%,#f1c7c5 0 4px,#0000 5px),linear-gradient(#719b70,#719b70);background-position:50%;background-repeat:no-repeat;background-size:auto,auto,auto,auto,100% 2px;background-attachment:scroll,scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box,border-box;width:150px;height:12px;font-size:0;bottom:9%;left:25%}.world[data-theme=forest] .storybook-house{display:none}.world[data-theme=forest] .storybook-tree{width:clamp(68px,10%,112px);height:clamp(110px,25%,170px);bottom:12%}.world[data-theme=forest] .tree-left{left:3%}.world[data-theme=forest] .tree-right{height:clamp(125px,29%,190px);right:3%}.world[data-theme=forest]:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(90deg,#183f3230,#0000 22% 78%,#183f3230),radial-gradient(at 18% 80%,#315f4933,#0000 35%),radial-gradient(at 83% 72%,#315f4933,#0000 34%);position:absolute;inset:0}.world[data-theme=space] .sun{background:radial-gradient(circle at 35% 30%,#ffe7ad,#e6a86c 75%);width:62px;height:62px;top:12%;right:17%;box-shadow:0 0 0 9px #f7d68c18,0 0 30px #f7d68c55}.world[data-theme=space]:before{content:"";z-index:0;pointer-events:none;background:radial-gradient(circle at 20% 25%,#d9b4db 0 22px,#9a79b7 23px 25px,#0000 26px),radial-gradient(circle at 78% 43%,#9dcbd2 0 16px,#547f9e 17px 19px,#0000 20px),radial-gradient(circle at 47% 16%,#e7c38d 0 10px,#b77e83 11px 12px,#0000 13px),radial-gradient(at 20% 25%,#0000 27px,#d8c4e8 28px 31px,#0000 32px),radial-gradient(2px 2px at 12% 15%,#fff 98%,#0000),radial-gradient(2px 2px at 39% 34%,#fff 98%,#0000),radial-gradient(2px 2px at 64% 13%,#fff 98%,#0000),radial-gradient(2px 2px at 91% 25%,#fff 98%,#0000),radial-gradient(2px 2px at 55% 48%,#fff 98%,#0000);position:absolute;inset:0}.world[data-theme=space] .cloud,.world[data-theme=space] .storybook-tree,.world[data-theme=space] .flowers{display:none}.world[data-theme=sinterklaas]{background:linear-gradient(#e8e3f0 0%,#f4e5df 58%,#d9c9d4 100%)}.world[data-theme=sinterklaas] .sun{background:#f5e5c9;box-shadow:0 0 0 12px #f5e5c933}.world[data-theme=sinterklaas] .distant-hill{background:#d8c8d7}.world[data-theme=sinterklaas] .near-hill{background:#c7b3c8}.world[data-theme=sinterklaas] .storybook-house{display:none}.world[data-theme=sinterklaas] .storybook-tree{opacity:.32;filter:grayscale(.5)}.world[data-theme=sinterklaas]:before{content:"";z-index:1;pointer-events:none;background:linear-gradient(90deg,#0000 42%,#c58e85 43% 56%,#0000 57%),linear-gradient(#f3d0c7 0 100%);border-radius:4px;width:32px;height:29px;position:absolute;bottom:15%;left:12%;box-shadow:0 0 0 1px #c58e8570,45px 8px 0 -2px #e8d5b7,45px 8px 0 -1px #c9a982}.world[data-theme=sinterklaas]:after{content:"";z-index:1;filter:drop-shadow(-3px 3px 2px #6b596022);pointer-events:none;background:radial-gradient(at 55% 38%,#f3d0b7 0 22px,#0000 23px),radial-gradient(at 53% 8%,#bd5558 0 25px,#0000 26px),radial-gradient(at 56% 53%,#fff 0 18px,#0000 19px);border-radius:48% 0 0 48%;width:78px;height:112px;position:absolute;top:8px;right:-4px}.world[data-theme=sinterklaas] .cloud{opacity:.55;background:#fffaf7}.world[data-theme=winter]{background:radial-gradient(at 50% 8%,#e8f3f7 0%,#b9d4e0 52%,#8eafbd 100%)}.world[data-theme=winter] .sun{background:#fff4cf;box-shadow:0 0 0 13px #fff4cf33,0 0 30px #fff4cf66}.world[data-theme=winter] .cloud{opacity:.8;background:#fff}.world[data-theme=winter] .distant-hill{background:#e8f2f0}.world[data-theme=winter] .near-hill{background:#c9e0df}.world[data-theme=winter] .storybook-tree{filter:saturate(.65);opacity:.8}.world[data-theme=winter] .pond{opacity:.75;background:#d8eeee}.world[data-theme=winter]:before{content:"";z-index:1;pointer-events:none;opacity:.72;background-image:radial-gradient(2px 2px at 12% 22%,#fff 98%,#0000),radial-gradient(3px 3px at 34% 12%,#fff 98%,#0000),radial-gradient(2px 2px at 57% 30%,#fff 98%,#0000),radial-gradient(3px 3px at 78% 17%,#fff 98%,#0000),radial-gradient(2px 2px at 91% 39%,#fff 98%,#0000),radial-gradient(2px 2px at 22% 52%,#fff 98%,#0000);background-size:230px 170px;position:absolute;inset:0}.world[data-theme=christmas]{background:linear-gradient(#dce9e7 0%,#b9d1c6 57%,#8cae96 100%)}.world[data-theme=christmas] .sun{background:#f7e3a9;box-shadow:0 0 0 12px #f7e3a922,0 0 28px #f7e3a955}.world[data-theme=christmas] .distant-hill{background:#a9c6b3}.world[data-theme=christmas] .near-hill{background:#789b82}.world[data-theme=christmas] .storybook-tree{display:none}.world[data-theme=christmas]:before{content:"";z-index:1;pointer-events:none;clip-path:polygon(50% 0,69% 24%,61% 24%,82% 47%,70% 47%,100% 76%,0 76%,30% 47%,18% 47%,39% 24%,31% 24%);filter:drop-shadow(0 3px 4px #244a3544);background:linear-gradient(#0000 0 9%,#315f49 10% 100%);width:100px;height:165px;position:absolute;bottom:12%;left:5%}.world[data-theme=christmas]:after{content:"";z-index:1;pointer-events:none;filter:drop-shadow(0 0 4px #fff0bf);background:radial-gradient(circle at 25% 25%,#f4d58b 0 3px,#0000 4px),radial-gradient(circle at 68% 36%,#f2c4a7 0 3px,#0000 4px),radial-gradient(circle at 42% 57%,#f4d58b 0 3px,#0000 4px),radial-gradient(circle at 77% 72%,#f2c4a7 0 3px,#0000 4px),linear-gradient(35deg,#0000 45%,#e9d9a8 46% 49%,#0000 50%);width:84px;height:112px;position:absolute;bottom:19%;left:7%}@media (width<=650px){.world[data-theme=sinterklaas]:after{width:62px;height:90px}.world[data-theme=christmas]:before{width:75px;height:130px}}.world[data-theme=sinterklaas],.world[data-theme=christmas],.world[data-theme=underwater]{background-position:50%;background-repeat:no-repeat;background-size:cover}.world[data-theme=sinterklaas]{background-color:#c9aaa0;background-image:linear-gradient(#fffaf4ad,#fffaf4ad),url(/assets/sinterklaas-room-D7ONqax-.jpg)}.world[data-theme=christmas]{background-color:#c8b8a8;background-image:linear-gradient(#fffbf4ad,#fffbf4ad),url(/assets/christmas-room--ONVS8Ll.jpg)}.world[data-theme=underwater]{background-color:#b9dce4;background-image:linear-gradient(#deeff6b3,#deeff6b3),url(/assets/underwater-reef-CHUzNalt.jpg)}.world[data-theme=sinterklaas] .sun,.world[data-theme=sinterklaas] .cloud,.world[data-theme=sinterklaas] .distant-hill,.world[data-theme=sinterklaas] .near-hill,.world[data-theme=sinterklaas] .storybook-house,.world[data-theme=sinterklaas] .storybook-tree,.world[data-theme=sinterklaas] .pond,.world[data-theme=sinterklaas] .flowers,.world[data-theme=christmas] .sun,.world[data-theme=christmas] .cloud,.world[data-theme=christmas] .distant-hill,.world[data-theme=christmas] .near-hill,.world[data-theme=christmas] .storybook-house,.world[data-theme=christmas] .storybook-tree,.world[data-theme=christmas] .pond,.world[data-theme=christmas] .flowers,.world[data-theme=underwater] .sun,.world[data-theme=underwater] .cloud,.world[data-theme=underwater] .distant-hill,.world[data-theme=underwater] .near-hill,.world[data-theme=underwater] .storybook-house,.world[data-theme=underwater] .storybook-tree,.world[data-theme=underwater] .pond,.world[data-theme=underwater] .flowers{display:none!important}.world[data-theme=underwater]:after{content:"";z-index:1;pointer-events:none;background-image:radial-gradient(circle at 12% 90%,#d9fbffb8 0 4px,#0000 5px),radial-gradient(circle at 26% 105%,#d9fbff9c 0 7px,#0000 8px),radial-gradient(circle at 48% 92%,#d9fbffad 0 3px,#0000 4px),radial-gradient(circle at 70% 108%,#d9fbff9c 0 6px,#0000 7px),radial-gradient(circle at 88% 95%,#d9fbffad 0 4px,#0000 5px);background-size:100% 100%;animation:8s linear infinite bubbles-rise;position:absolute;inset:0}@keyframes bubbles-rise{0%{opacity:.35;transform:translateY(16px)}50%{opacity:.85}to{opacity:.3;transform:translateY(-28px)}}.world .flowers{background-image:none!important}.world[data-theme=underwater] .creature{filter:drop-shadow(0 3px 4px #647f8955)saturate(.78)}@media (width<=650px){.world[data-theme=sinterklaas],.world[data-theme=christmas],.world[data-theme=underwater]{background-position:50%}}.world[data-theme=sinterklaas]:before,.world[data-theme=sinterklaas]:after,.world[data-theme=christmas]:before,.world[data-theme=christmas]:after{display:none!important}.world[data-theme=sinterklaas],.world[data-theme=christmas]{background-blend-mode:normal}.world[data-theme=underwater]{background-color:#d5e9ee}.world[data-theme=underwater]:after{filter:saturate(.75)}.dragon-note{flex-direction:column;align-items:flex-start;gap:0;width:100%;max-width:none;margin:4px 0 30px;display:flex}.dragon-note-toggle{cursor:pointer;width:100%;min-height:162px;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:20px;justify-content:flex-start;align-items:center;gap:12px;padding:8px 0;display:flex;position:relative}.dragon-note-toggle:focus-visible{outline-offset:3px;outline:3px solid #a9bda4}.note-dragon{object-fit:contain;filter:drop-shadow(0 5px 5px #425b4020);width:155px;height:155px;transition:transform .25s}.dragon-note-toggle:hover .note-dragon{transform:translateY(-4px)rotate(-2deg)}.dragon-speech{text-align:left;color:#627d65;background:#fffdf8;border:1px solid #e8e0d3;border-radius:18px 18px 18px 5px;max-width:245px;padding:14px 18px;font:600 14px Playfair Display,serif;position:relative;box-shadow:0 5px 18px #645b4510}.dragon-speech:after{content:"";background:#fffdf8;border-bottom:1px solid #e8e0d3;border-left:1px solid #e8e0d3;width:14px;height:14px;position:absolute;bottom:18px;left:-8px;transform:rotate(45deg)}.dragon-speech small{color:#9a9d8f;margin-top:7px;font:500 10px DM Sans,sans-serif;display:block}.dragon-letter{text-align:center;transform-origin:top;background:linear-gradient(135deg,#fff9e9,#f7ebd1);border:1px solid #e4d1a8;border-radius:5px 5px 15px 15px;width:calc(100% - 28px);max-width:580px;margin:-5px auto 0;padding:23px 28px 20px;animation:.48s cubic-bezier(.2,.8,.2,1) both letter-unroll;position:relative;box-shadow:0 8px 22px #6c59301c}.dragon-letter[hidden]{display:none}.dragon-letter p{color:#66543a;margin:0;font:500 17px/1.55 Playfair Display,serif}.dragon-letter p strong{color:#718b68;font-size:21px}.letter-signoff{color:#8c7956;margin-top:12px;font:italic 12px DM Sans,sans-serif;display:block}.letter-sparkle{color:#d3ad61;font-size:22px;position:absolute;top:9px;right:16px}@keyframes letter-unroll{0%{opacity:0;transform:perspective(500px)rotateX(-75deg)scaleY(.18)}65%{opacity:1;transform:perspective(500px)rotateX(8deg)scaleY(1.04)}to{transform:perspective(500px)rotateX(0)scaleY(1)}}@media (width<=520px){.dragon-note-toggle{gap:8px;min-height:135px;padding:5px 8px}.note-dragon{width:125px;height:125px}.dragon-speech{max-width:190px;padding:11px 13px;font-size:12px}.dragon-letter{padding:19px 17px}.dragon-letter p{font-size:15px}}@media (prefers-reduced-motion:reduce){.dragon-note *{transition:none!important;animation:none!important}}@media (width<=650px){.topbar{min-height:74px;padding:7px 14px}.brand{gap:10px}.brand-logo{width:112px;max-width:34vw;height:52px}.brand-title{padding-left:11px;font-size:clamp(18px,4.5vw,23px)}.top-note{display:none}}:root{--ink:#3f493f;--muted:#7b8278;--paper:#f8f7f1;--cream:#f1eee3;--sage:#91a98a;--sage-dark:#607d62;--line:#e5e4d8;--rose:#c6a0ad;--lavender:#a58ab4;--valley-purple:#765486;--valley-purple-dark:#624371;--valley-purple-pale:#f0eaf3;--valley-green-pale:#edf2e9}body{color:var(--ink);background:linear-gradient(135deg,#f7f8f1 0%,#f3f0f6 52%,#fbf7ed 100%) fixed}body:before{background:radial-gradient(at 8% 18%,#dce9d655 0,#0000 31%),radial-gradient(at 92% 28%,#e9def055 0,#0000 30%),radial-gradient(at 50% 100%,#f5ead455 0,#0000 38%)}.topbar{background:#fffef9e6;border-bottom:1px solid #e7e2e9;box-shadow:0 4px 20px #55475d0a}.brand-title{color:var(--valley-purple);border-left-color:#e4d9e8}.top-note{color:#7b8877}.intro .eyebrow,.section-title .eyebrow{color:var(--sage-dark)}.intro h1 em{color:var(--valley-purple)}.world-card,.upload-panel{background:#fffef9f0;border:1px solid #e5e4d9;box-shadow:0 12px 34px #59644e12,0 2px 7px #745b8010}.world-heading h2,.section-title h2{color:#51445a}.count-pill{background:var(--valley-green-pale);color:#607b60;border:1px solid #dfe8d9}.step-number{color:var(--valley-purple);background:linear-gradient(145deg,#e5eee0,#eee6f2);border:1px solid #e4dce8}.upload-zone{color:#48564a;background:linear-gradient(135deg,#f3f7ef 0%,#f7f2f8 100%);border-color:#cbd9c4}.upload-zone:hover{background:linear-gradient(135deg,#eaf2e5 0%,#f0e8f4 100%);border-color:#b9cbb2}.upload-icon{color:var(--valley-purple)}.button-primary{color:#fff;background:linear-gradient(135deg,#718d6c,#607d62);box-shadow:0 3px 9px #607d6224}.button-primary:hover:not(:disabled){background:linear-gradient(135deg,#627f5e,#526f55)}.button-quiet{color:#71557e;background:#f0ebf3;border:1px solid #e5dce9}.button-quiet:hover:not(:disabled){background:#e8dfed}.theme-picker select,.controls select,.rig-tools select{color:#4c574b;background:#fffef9;border-color:#dfe2d7}.controls input[type=range],.arm-motion-controls input[type=range],.part-motion-control input[type=range],.brush-tools input[type=range]{accent-color:var(--valley-purple)}#markJoints[aria-pressed=true]{background:var(--valley-purple-dark);color:#fff}.world-card,.upload-panel,.gallery-card,.rig-tools,.part-tools,.arm-motion-controls,.brush-tools{border-color:#e4e3d8}.gallery-card{background:#fffef9}.gallery-card button{color:#71557e;background:#f1eaf3}.gallery-card button:hover{background:#e8deed}.gallery-card p,.gallery-empty,.hint,.status{color:#7b8278}.preview-box,.part-result{background-color:#fffef9;border-color:#e3e3d9}.rig-tools,.brush-tools{background:#f4f6ef}.part-tools,.arm-motion-controls{background:#f7f3f7}footer{color:#7c8377}footer span{color:#91a98a}.dragon-speech{color:#687f62;border-color:#e5e0d4}.dragon-letter p strong{color:#718b68}button:focus-visible,select:focus-visible,input:focus-visible,label.upload-zone:focus-within{outline-offset:2px;outline:3px solid #b9a3c6}@media (width<=650px){.topbar{background:#fffef9f5}.world-card,.upload-panel{background:#fffef9}}.drawing-size-controls{gap:7px;margin:0 0 6px;display:flex}.gallery-card .drawing-size-controls button{color:#536d58;background:#edf1e9;flex:1;padding:5px 8px;font-size:16px;font-weight:700}.gallery-card .drawing-size-controls button:disabled{opacity:.35;cursor:not-allowed}.gallery-card .drawing-size-label{color:#6f786d;margin:4px 0 6px;font-size:10px}.auth-gate{z-index:10000;background:#fbf8f1f7;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow:auto}.auth-gate[hidden]{display:none}.auth-card{border:1px solid var(--line);text-align:center;background:#fffdf8;border-radius:24px;width:min(100%,440px);padding:34px;box-shadow:0 18px 60px #39483e21}.auth-logo{object-fit:contain;width:min(220px,70%);height:90px}.auth-card h1{color:#71347e;margin:12px 0;font:600 30px/1.2 Playfair Display,Georgia,serif}.auth-card>p{color:var(--muted);line-height:1.55}.auth-card form{text-align:left;gap:9px;margin:22px 0 12px;display:grid}.auth-card label{font-size:14px;font-weight:600}.auth-card input{border:1px solid var(--line);width:100%;font:inherit;color:var(--ink);background:#fff;border-radius:12px;padding:13px 14px}.auth-actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.auth-actions button{flex:1;min-width:130px}.auth-message{min-height:22px;font-size:14px}.auth-card small{color:var(--muted);margin-top:10px;line-height:1.45;display:block}.account-tools{align-items:center;gap:12px;display:flex}@media (width<=600px){.auth-card{padding:24px 18px}.account-tools{flex-direction:column;align-items:flex-end;gap:6px}}.auth-card form[hidden]{display:none}.auth-link{color:#71347e;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;justify-self:center;margin-top:4px;padding:4px 8px;font-size:14px;text-decoration:underline}.auth-link:hover,.auth-link:focus-visible{color:#4f2259}.dragon-letter p+p{margin-top:10px}.dragon-letter .letter-title{margin-bottom:4px}.letter-steps{text-align:left;counter-reset:stap;margin:14px 0 12px;padding:0;list-style:none}.letter-steps li{color:#66543a;border-top:1px dashed #e4d1a8;align-items:flex-start;gap:12px;padding:8px 0;font:500 16px/1.5 Playfair Display,serif;display:flex}.letter-steps li:last-child{border-bottom:1px dashed #e4d1a8}.letter-steps li>span{flex:none;font-size:21px;line-height:1.2}@media (width<=520px){.letter-steps li{gap:9px;font-size:14px}}.world-card{position:relative}.ladybug-track{z-index:40;pointer-events:none;width:38px;position:absolute;top:90px;bottom:60px;right:-19px}.ladybug{width:38px;height:46px;animation:46s ease-in-out infinite ladybug-crawl;position:absolute;top:0;left:0}.ladybug-button{cursor:pointer;pointer-events:auto;filter:drop-shadow(0 3px 3px #3a33302e);background:0 0;border:0;border-radius:50%;width:38px;height:46px;padding:0;display:block}.ladybug-button:focus-visible{outline-offset:3px;outline:3px solid #a9bda4}.ladybug-button svg{width:100%;height:100%;animation:46s linear infinite ladybug-turn;display:block;transform:rotate(180deg)}.ladybug-legs{transform-origin:20px 28px;animation:.5s ease-in-out infinite alternate ladybug-legs}.ladybug-button:hover svg{scale:1.12}.ladybug:hover,.ladybug:focus-within,.ladybug.is-open,.ladybug:hover svg,.ladybug:focus-within svg,.ladybug.is-open svg,.ladybug:hover .ladybug-legs,.ladybug:focus-within .ladybug-legs,.ladybug.is-open .ladybug-legs{animation-play-state:paused}.ladybug-fact{pointer-events:auto;text-align:left;background:#fffdf8;border:1px solid #efc9bf;border-radius:16px;width:min(270px,100vw - 90px);padding:16px 18px 14px;animation:.25s cubic-bezier(.2,.8,.2,1) both ladybug-pop;position:absolute;top:50%;right:50px;transform:translateY(-50%);box-shadow:0 10px 26px #6c49301f}.ladybug-fact[hidden]{display:none}.ladybug-fact:after{content:"";background:#fffdf8;border-top:1px solid #efc9bf;border-right:1px solid #efc9bf;width:14px;height:14px;margin-top:-7px;position:absolute;top:50%;right:-8px;transform:rotate(45deg)}.ladybug-fact p{color:#66543a;margin:0;font:500 15px/1.5 Playfair Display,serif}.ladybug-fact strong{color:#c4594e;margin-bottom:4px;font-size:18px;display:block}.ladybug-signoff{color:#9a8670;margin-top:9px;font:italic 11px DM Sans,sans-serif;display:block}@keyframes ladybug-crawl{0%,4%{top:0}46%,54%{top:calc(100% - 46px)}96%,to{top:0}}@keyframes ladybug-turn{0%,47%{transform:rotate(180deg)}53%,94%{transform:rotate(360deg)}to{transform:rotate(540deg)}}@keyframes ladybug-legs{0%{transform:scaleY(1)}to{transform:scaleY(.86)}}@keyframes ladybug-pop{0%{opacity:0;transform:translateY(-50%)scale(.85)}to{opacity:1;transform:translateY(-50%)scale(1)}}body.world-mode .ladybug-track{top:110px;right:-6px}@media (width<=650px){.ladybug-track{width:32px;top:150px;right:-12px}.ladybug,.ladybug-button{width:32px;height:39px}@keyframes ladybug-crawl{0%,4%{top:0}46%,54%{top:calc(100% - 39px)}96%,to{top:0}}}@media (prefers-reduced-motion:reduce){.ladybug,.ladybug-button svg,.ladybug-legs,.ladybug-fact{animation:none!important}.ladybug{top:30%}}
