@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:100 1000;src:url("./dm-sans-latin-ext-wght-normal-7P2MDJRX.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:100 1000;src:url("./dm-sans-latin-wght-normal-X7UMQEPN.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:200 800;src:url("./manrope-latin-ext-wght-normal-6XGHMEDV.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:200 800;src:url("./manrope-latin-wght-normal-73PUZEUA.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:DM Sans,system-ui,sans-serif;color:#302b46;background:#f5f4f9;font-synthesis:none;--purple: #7755d9;--muted: #8b879c;--border: #eeecf4}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ad8cf0;outline-offset:4px}button:disabled{opacity:.38;cursor:default}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #e6e3ee;background:#fff9}.brand{text-decoration:none;color:#342c49;font-family:Manrope,system-ui,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center}.brand>span:not(.brand-icon){color:var(--purple)}.brand-icon{display:block;object-fit:contain;width:48px;height:44px;flex:0 0 auto;margin-right:8px}.brand sup{font-size:9px;letter-spacing:1.8px;margin:0 0 16px 9px;color:#9690a5}.header-note{font-size:14px;color:var(--muted)}.quiet{font-size:14px;display:flex;gap:9px;align-items:center}.quiet:first-letter{font-weight:700}main{max-width:1440px;margin:auto;padding:42px 5% 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.2px;color:#9690aa}h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(28px,3vw,40px);line-height:1.3;letter-spacing:-1.6px;margin:12px 0}h1 em{font-style:normal;color:var(--purple)}.intro p{font-size:15px;color:#878196;margin:0}.doodle{color:#ad94e4;font-size:42px;display:flex;gap:16px;transform:rotate(-7deg);margin-right:32px}.doodle i{font-size:13px;line-height:1.5;align-self:center}.workspace{display:grid;grid-template-columns:190px minmax(300px,1fr) 248px;gap:20px;align-items:stretch}.panel{border:1px solid #e9e6ef;background:#fff;border-radius:20px;padding:22px 18px;box-shadow:0 5px 18px #33254b03}.section-title{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}h2{font-size:15px;margin:0;font-weight:700}.section-title>span{font-size:11px;color:#a09aad}.template-list{display:flex;flex-direction:column;gap:12px}.template{border:1.5px solid #eeecf2;border-radius:13px;padding:12px 8px 10px;position:relative;transition:.2s;background:#fcfbfe}.template:hover{border-color:#b29ae9;transform:translateY(-2px)}.template.active{border-color:#9172da;background:#f5f0ff;box-shadow:0 0 0 2px #9172da0a}.template :is(svg,img){display:block;width:90px;height:82px;margin:auto}.template span{display:block;font-size:13px;margin-top:7px}.template .check{position:absolute;top:8px;right:9px;background:#8b66da;color:#fff;border-radius:50%;width:17px;height:17px;font-size:11px;line-height:17px}.little-note{display:flex;gap:10px;margin-top:26px;align-items:center;color:#a99bc7}.little-note>span{font-size:29px}.little-note p{font-size:11px;line-height:1.7;color:#9b94aa}.studio{background:#eeebf4;border:1px solid #e3dfea;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.studio-bar{display:flex;justify-content:space-between;align-items:center;padding:17px 21px}.steps{display:flex;align-items:center;gap:12px}.step{display:flex;gap:7px;align-items:center;font-size:13px;color:#a39aaf;padding:0}.step b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:11px;background:#e4dfed}.step.active{color:#7652c7;font-weight:700}.step.active b{background:#8c66dd;color:#fff}.step-line{width:25px;height:1px;background:#d6cee3}.canvas-actions{display:flex;gap:5px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ded8e8;border-radius:9px;font-size:21px;color:#8c819f;background:#ffffff50}.paper-wrap{padding:8px 30px 14px;display:flex;flex-direction:column;align-items:center;flex:1;justify-content:center}.paper{touch-action:none;user-select:none;width:100%;max-width:510px;aspect-ratio:1;background:#fff;border-radius:5px;box-shadow:0 6px 18px #44325d13,0 1px 2px #44325d0a;position:relative;overflow:hidden}.paper:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 50px #63537304}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.touch-hint{position:absolute;bottom:18px;text-align:center;left:0;right:0;font-size:12px;color:#b5aebf;pointer-events:none;transition:opacity .3s}.paper-caption{font-size:9px;letter-spacing:2px;color:#b2a7bd;margin-top:18px}.studio-bottom{display:flex;align-items:center;justify-content:space-between;background:#f8f6fc88;border-top:1px solid #e3deec;padding:13px 20px;font-size:12px;color:#9386a8;gap:5px}.status-icon{font-size:17px;color:#9577cb;margin-right:5px}#progressLabel{font-size:10px;color:#a69ab5;white-space:nowrap}.tools{display:flex;flex-direction:column}.palette{display:grid;grid-template-columns:repeat(5,1fr);gap:12px 9px}.swatch{width:30px;height:30px;border-radius:50%;background:var(--swatch);position:relative;margin:auto;transition:.15s;box-shadow:inset 0 -2px #0000000b}.swatch[aria-pressed=true]{outline:2px solid var(--swatch);outline-offset:4px}.swatch[aria-pressed=true]:after{content:"\2713";color:#fff;font-size:15px;position:absolute;inset:0;display:grid;place-items:center;text-shadow:0 1px 3px #0005}.swatch:hover{transform:scale(1.12)}.selected-color{display:flex;align-items:center;gap:8px;margin-top:22px;font-size:12px;color:#8e859f}#colorDot{width:9px;height:9px;border-radius:50%;background:#ff9545}.custom-color{margin-left:auto;position:relative;width:24px;height:24px;border:1px solid #e6e0ee;border-radius:7px;text-align:center;font-size:18px;cursor:pointer}.custom-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.divider{height:1px;background:var(--border);margin:21px 0}h3{font-size:12px;font-weight:600;margin:0 0 12px}.segmented{display:flex;background:#f5f2f9;padding:4px;border-radius:10px;gap:3px}.segmented button{border-radius:7px;font-size:13px;padding:9px 5px;flex:1}.segmented button span{font-size:10px}.segmented .selected{background:#fff;box-shadow:0 2px 5px #49395d0c;color:#8159ca}.range-label{display:flex;justify-content:space-between;font-size:11px;color:#998da7;margin:23px 0 10px}.range-label span{color:#8061b0}input[type=range]{width:100%;accent-color:#9772db;height:5px;margin:0;cursor:pointer}.tool-note{font-size:12px;color:#a095ac;line-height:1.7;margin:13px 0 0}.tool-footer{margin-top:auto;padding-top:30px}.primary{width:100%;border-radius:11px;background:#8057d6;color:#fff;font-weight:600;padding:14px 12px;font-size:14px;box-shadow:0 4px #6c45bd;transition:.15s}.primary:hover{background:#7046c7;transform:translateY(-1px)}.secondary{display:block;border:1px solid #eae4f1;border-radius:10px;width:100%;padding:11px 8px;font-size:12px;margin-top:13px;color:#8b7b9f}.secondary:hover{background:#f6f1ff}.secondary span{margin-left:8px}.tool-footer>p{text-align:center;font-size:10px;color:#b5aabd;margin:16px 0 0}.puff-preview{height:90px;display:grid;place-items:center;position:relative}.puff-preview div{height:53px;width:78px;background:#b195ed;border-radius:44%;box-shadow:inset -8px -8px 12px #8060bf,inset 6px 7px 9px #d9c9ff,3px 7px 8px #4e2c6a26;transform:rotate(-12deg)}.puff-preview>span{position:absolute;right:40px;top:0;color:#a98bd9}footer{display:flex;justify-content:space-between;font-size:11px;color:#a79caf;padding:23px 2px 25px}.tiny-spark{color:#a58dcd;margin-left:8px}dialog{border:1px solid #e5dcef;border-radius:22px;max-width:420px;width:calc(100% - 36px);padding:32px;color:#473954;box-shadow:0 20px 90px #38204b33}dialog::backdrop{background:#30233a55;backdrop-filter:blur(5px)}dialog h2{font-size:22px;margin:15px 0}dialog p{font-size:14px;line-height:1.8;color:#8b7c98}dialog .close{position:absolute;right:12px;top:12px}.close{font-size:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#443454;color:#fff;padding:13px 22px;border-radius:12px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:3;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}[hidden]{display:none!important}@media(min-width:1400px){.workspace{grid-template-columns:210px minmax(300px,1fr) 270px;gap:24px}.panel{padding:25px 22px}.paper{max-width:540px}.paper-wrap{padding:10px 35px 18px}}@media(max-width:1050px){main{padding:28px 3% 0}header{padding:0 3%}.workspace{grid-template-columns:145px minmax(280px,1fr) 210px;gap:12px}.panel{padding:18px 13px}.paper-wrap{padding:7px 15px 12px}.doodle{display:none}.swatch{width:26px;height:26px}.palette{gap:13px 6px}.studio-bar{padding:14px}.studio-bottom{padding:12px}#progressLabel{display:none}}@media(max-width:760px){header{height:67px;padding:0 20px}.brand{font-size:21px}.brand-icon{width:32px;height:32px;font-size:26px}.brand sup,.header-note{display:none}.quiet span{font-size:12px}main{padding:25px 16px 0}.intro{margin-bottom:22px}.eyebrow{font-size:9px;letter-spacing:1.8px}h1{font-size:29px;letter-spacing:-1.2px;margin:10px 0}.intro p{font-size:13px;line-height:1.6;max-width:310px}.workspace{grid-template-columns:1fr;gap:14px}.drawings{padding:13px 14px;border-radius:15px}.drawings .section-title{margin-bottom:11px}.section-title h2{font-size:13px}.template-list{flex-direction:row;gap:9px}.template{flex:1;padding:6px 4px}.template :is(svg,img){height:48px;width:60px}.template span{font-size:11px;margin-top:2px}.template .check{width:14px;height:14px;font-size:9px;line-height:14px;top:5px;right:5px}.little-note{display:none}.studio{border-radius:16px}.studio-bar{padding:12px 16px}.paper-wrap{padding:0 16px 10px}.paper{max-width:500px}.paper-caption{margin-top:11px;font-size:8px}.studio-bottom{padding:9px 14px;font-size:11px}.touch-hint{font-size:11px;bottom:12px}.tools{padding:18px;border-radius:16px}.tools .section-title{margin-bottom:16px}.palette{display:flex;justify-content:space-between;gap:7px}.swatch{width:25px;height:25px}.selected-color{margin-top:15px}.divider{margin:16px 0}.segmented button{padding:10px}.segmented button span{font-size:12px}.range-label{margin-top:17px}.tool-footer{padding-top:18px;display:grid;grid-template-columns:1.3fr 1fr;gap:12px;align-items:start}.tool-footer .secondary{margin:0;height:46px}.tool-footer p{grid-column:1/-1;margin:0}.primary{font-size:13px;padding:13px 10px}.tool-note{font-size:12px}.puff-preview{float:right;width:110px;height:90px}.tools #inflateTools h3{margin-top:7px}footer{font-size:10px;gap:20px;line-height:1.6;padding:18px 0}footer>span{flex:1}footer>span:last-child{text-align:right}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.section-title>span,.selected-color,.range-label,.tool-note,.secondary,.segmented button span{font-size:14px}.tool-footer>p{font-size:12px}.template span,h3{font-size:14px}.swatch{width:32px;height:32px}.icon-button{width:36px;height:36px}@media(max-width:760px){.palette{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.swatch{width:40px;height:40px}.segmented button{min-height:44px}.icon-button{width:40px;height:40px}.template{min-height:78px}.tools .primary,.tools .secondary{min-height:46px}.tools h3{margin-bottom:10px}.tool-footer{gap:10px}.tool-footer>p{font-size:11px}.section-title>span{font-size:12px}.range-label{margin-top:16px}.intro p{font-size:14px}}.quick-palette,.mobile-only{display:none}#art{transform:translate(var(--pan-x, 0px),var(--pan-y, 0px)) scale(var(--zoom, 1));transform-origin:center}.zoom-controls{position:static;flex-shrink:0;display:flex;gap:3px;z-index:2;background:#ffffffeb;border:1px solid #e7dfef;border-radius:10px;padding:3px;box-shadow:0 2px 8px #30233a0a}.zoom-controls button{min-width:34px;min-height:34px;font-size:14px;border-radius:6px;padding:3px 6px}.zoom-controls button:hover,.zoom-controls button[aria-pressed=true]{background:#ede2fa;color:#7650bd}.zoom-controls #zoomReset{font-size:11px;min-width:46px}.touch-hint{bottom:61px}.setting-label{display:block;margin:18px 0 7px;font-size:14px;color:#796687}.setting-select,.setting-input{width:100%;min-height:46px;padding:10px 14px;border:1px solid #ded2eb;border-radius:10px;background:#faf8fd;color:#554565;font:inherit;font-size:16px}#exportDialog{max-width:460px}#exportPreview,#videoPreview{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid #eee7f4;border-radius:12px;margin-top:18px;display:block}#exportStatus{font-size:13px;min-height:35px}.video-rendering-preview{display:grid;place-items:center;padding-top:12px}.video-rendering-preview canvas{width:auto;height:auto;max-width:100%;max-height:240px;cursor:default;pointer-events:none}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.export-actions button{margin:0;min-height:44px}#exportDialog .secondary{color:#62418b}.export-actions #videoCreate{box-shadow:none;font-size:13px}.export-note{font-size:12px!important;line-height:1.6!important}#videoProgress{width:100%;height:8px;accent-color:#8057d6;margin:0 0 12px}#collectionDialog{max-width:760px}#collectionGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.collection-card{min-width:0;border:1px solid #e5daef;border-radius:12px;overflow:hidden;padding:8px;background:#fbf9fe}.collection-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:8px}.collection-card span{display:block;font-size:14px;margin:8px 0;overflow-wrap:anywhere}.collection-card small{font-size:11px;color:#aa96bb}@media(max-width:760px){.zoom-controls button{min-width:40px;min-height:40px}#collectionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{max-height:calc(100dvh - 24px);padding:26px 20px;overflow:auto}.mobile-editor .touch-hint{bottom:64px}.mobile-editor .studio-bar{gap:5px;padding-left:8px;padding-right:8px}.mobile-editor .canvas-actions{gap:2px}.mobile-editor .studio-bar .icon-button{width:38px;height:42px}.mobile-editor .steps{gap:8px}.mobile-editor .back-library{padding:0 4px;font-size:12px}}.auto-control{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:7px;margin-bottom:10px;align-items:stretch}.auto-playback{position:relative;min-width:0;display:flex;gap:6px}.auto-playback #autoInflate{height:100%;font-size:13px;flex:1;min-width:0;padding-left:5px;padding-right:5px}.auto-restart{flex:0 0 50px;width:50px;min-height:44px;border:1px solid #dfcff4;border-radius:10px;background:#f8f4fc;color:#8054c5;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:22px;line-height:1}.auto-restart span{font-size:11px;line-height:1.5}.auto-restart:hover{background:#eee5fc}#autoSpeed{appearance:none;width:100%;min-height:44px;border:1px solid #dfcff4;border-radius:10px;padding:8px 24px 8px 10px;background:#f8f4fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238b729f' stroke-width='1.7'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;color:#8054c5;font:inherit;font-size:13px;cursor:pointer}@media(max-width:760px){#autoSpeed{font-size:16px}}#autoInflate{min-height:44px;margin:0;background:#f3edff;color:#8054c5;border-color:#dfcff4;font-weight:600}#autoInflate.running{background:#8057d6;color:#fff;border-color:#8057d6}#autoProgress{position:absolute;left:9px;right:65px;bottom:1px;height:3px;background:#e3d8f2;overflow:hidden;border-radius:3px;pointer-events:none}#autoProgressFill{display:block;width:100%;height:100%;background:#b39ae9;transform:scaleX(0);transform-origin:left center}@media(max-width:760px){.auto-control{margin-bottom:0}}@media(max-width:760px){.quick-palette{display:flex;overflow-x:auto;gap:13px;padding:8px 8px 12px;margin:0 16px 12px;scrollbar-width:thin;scrollbar-color:#d6c5eb transparent}.quick-palette .swatch{flex:0 0 36px;height:36px;margin:0}.studio{scroll-margin-top:12px}}.workspace{grid-template-columns:240px minmax(300px,1fr) 248px}.drawings{padding:20px 14px;min-width:0}.drawings .section-title{margin-bottom:16px}.drawings .section-title>span{font-size:12px;white-space:nowrap}.drawings h2{font-size:14px}.search-box{display:flex;gap:7px;align-items:center;background:#f7f5fa;border:1px solid #e9e3f1;border-radius:10px;padding:0 10px}.search-box>span{font-size:24px;color:#a28abf}.search-box input{border:0;background:none;width:100%;min-width:0;padding:11px 0;font:inherit;font-size:14px;color:#473954;outline:none}.search-box:focus-within{outline:2px solid #af92df;outline-offset:2px}.category-label{display:block;font-size:12px;color:#92869e;margin:16px 0 7px}#category{width:100%;min-height:42px;border:1px solid #e9e3f1;border-radius:10px;padding:9px 32px 9px 10px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238b729f' stroke-width='1.7'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;appearance:none;font:inherit;font-size:14px;color:#73637f}.library-tabs{display:flex;gap:3px;border-bottom:1px solid #eee8f5;padding:12px 0 0}.library-tabs button{font-size:11px;padding:10px 3px;border-bottom:2px solid transparent;flex:1;white-space:nowrap;color:#a293b1}.library-tabs .selected{color:#7d54c9;border-bottom-color:#956bda;font-weight:700}#resultCount{font-size:11px;color:#a194af;margin:13px 2px}.template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:420px;overflow:auto;overscroll-behavior:contain;padding:3px 4px 5px;scrollbar-width:thin;scrollbar-color:#d6c5eb transparent;align-content:start}.template{min-width:0;padding:10px 4px;min-height:120px}.template :is(svg,img){width:86px;max-width:100%;height:76px}.template span{font-size:12px;line-height:1.4;min-height:34px;display:grid;place-items:center;margin-top:5px}.template small{display:block;font-size:10px;color:#b09ec1;margin-top:3px}.template.active small{color:#9874c9}.template .check{width:15px;height:15px;font-size:10px;line-height:15px;top:5px;right:5px}.library-note{font-size:11px;color:#ad9cbd;text-align:center;margin:15px 0 0}.empty-library{text-align:center;padding:25px 8px}.empty-library>span{font-size:35px;color:#b598dc}.empty-library p{color:#9e8aad;font-size:13px;line-height:1.6}.drawing-heading{display:flex;align-items:center;justify-content:space-between;margin:0 30px 15px}.drawing-heading>div>span{font-size:11px;color:#a69ab6}.drawing-heading h2{font-size:17px;margin-top:4px}.favorite-button{border-radius:50%;background:#fff9;border:1px solid #e2d9ee;width:38px;height:38px;font-size:25px;color:#ac93cd}.favorite-button[aria-pressed=true]{color:#ce6b9b;background:#fff0f8;border-color:#efcee1}.studio-bar{padding-bottom:11px}.studio-bottom{flex-wrap:wrap;row-gap:9px}#saveStatus{font-size:10px;color:#9271b1}#saveStatus.save-warning{color:#aa613a}.paper-wrap{flex:0}.studio{justify-content:flex-start}.paper-wrap{padding-bottom:20px}.paper{max-width:510px}main{max-width:1520px}.header-note{font-size:14px}.studio-bottom{margin-top:auto}.tools .tool-footer{padding-top:25px}#art[aria-busy=true]{opacity:.45;pointer-events:none}@media(min-width:1400px){.workspace{grid-template-columns:255px minmax(300px,1fr) 260px}.template-list{max-height:465px}.drawing-heading{margin:0 35px 18px}}@media(min-width:761px)and (max-width:1100px){main{padding-left:2%;padding-right:2%}.workspace{grid-template-columns:200px minmax(270px,1fr) 205px;gap:12px}.drawings{padding:16px 9px}.template-list{gap:7px}.template :is(svg,img){height:66px}.template{min-height:115px}.tools{padding:18px 12px}.section-title h2{font-size:14px}.drawing-heading{margin-left:16px;margin-right:16px}.swatch{width:28px;height:28px}.range-label,.secondary,.selected-color{font-size:12px}}@media(max-width:760px){.workspace{grid-template-columns:1fr}.drawings{padding:16px}.drawings .section-title{margin-bottom:12px}.search-box{width:100%}.category-label{display:none}#category{margin-top:9px}.library-tabs{padding-top:5px}.library-tabs button{font-size:13px;min-height:44px}#resultCount{margin:10px 0}.template-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:244px;gap:8px;padding:2px}.template{padding:7px 3px;min-height:112px}.template :is(svg,img){height:61px;width:78px}.template span{font-size:12px;margin-top:4px;min-height:30px}.template small{font-size:10px;margin-top:0}.library-note{display:none}.drawing-heading{margin:0 17px 14px}.drawing-heading h2{font-size:16px}.favorite-button{width:42px;height:42px}.paper-wrap{padding-bottom:12px}.studio-bottom{padding:12px 14px}#saveStatus{font-size:11px}.studio-bar{padding-bottom:10px}.intro{margin-bottom:18px}.tools{padding:18px}.template-list::-webkit-scrollbar{width:4px}.paper-caption{font-size:9px}.section-title>span{font-size:12px}}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.workspace{grid-template-columns:minmax(0,1fr)}.mobile-only{display:block}.resume-studio{min-height:44px;margin-top:14px}body:not(.mobile-editor) .studio,body:not(.mobile-editor) .tools{display:none}.mobile-editor{overflow:hidden;overscroll-behavior:none}.mobile-editor>header,.mobile-editor .intro,.mobile-editor footer,.mobile-editor .drawings{display:none}.mobile-editor main{padding:0;margin:0;max-width:none}.mobile-editor .workspace{position:fixed;inset:0;height:100vh;height:100dvh;display:flex;flex-direction:column;gap:0;background:#eeebf4;padding-top:env(safe-area-inset-top,0px);overflow:hidden}.mobile-editor .studio{display:flex;flex:1 1 0;min-height:0;min-width:0;border:0;border-radius:0;overflow:hidden}.mobile-editor .studio-bar{padding:3px 12px;gap:8px;flex-shrink:0;min-height:50px}.back-library{font-size:13px;color:#7855ae;min-height:44px;padding:0 7px;border:1px solid #ded5e9;border-radius:10px;background:#ffffff60}.mobile-editor .steps{gap:12px}.mobile-editor .step{font-size:13px;min-height:44px}.mobile-editor .step b,.mobile-editor .step-line{display:none}.mobile-editor .canvas-actions{gap:4px}.mobile-editor .icon-button{width:44px;height:44px}.mobile-editor .drawing-heading{margin:0 14px 4px;flex-shrink:0;min-height:45px}.mobile-editor .drawing-heading h2{font-size:16px;margin:2px 0 0}.mobile-editor .drawing-heading>div>span{font-size:10px}.mobile-editor .favorite-button{width:44px;height:44px}.mobile-editor .quick-palette,.mobile-editor .paper-caption{display:none}.mobile-editor .paper-wrap{flex:1 1 0;min-height:0;padding:6px 12px;display:grid;place-items:center;container-type:size;overflow:hidden}.mobile-editor .paper{width:min(100%,calc(100dvh - 350px));height:auto;max-width:510px;aspect-ratio:1;flex-shrink:0}.mobile-editor #art{position:absolute;left:50%;top:50%;width:118%;height:118%;transform:translate(calc(-50% + var(--pan-x, 0px)),calc(-50% + var(--pan-y, 0px))) scale(var(--zoom, 1))}.mobile-editor .touch-hint{font-size:11px;bottom:10px}.mobile-editor .studio-bottom{flex-shrink:0;min-height:30px;padding:5px 14px;flex-wrap:nowrap;gap:8px;margin:0;background:none;border:0}.mobile-editor #status{font-size:11px;line-height:1.3}.mobile-editor #saveStatus{font-size:10px;text-align:right;line-height:1.3}.mobile-editor .tools{flex:0 0 auto;min-height:0;border:0;border-top:1px solid #e2d8ef;border-radius:18px 18px 0 0;padding:9px 12px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -5px 22px #4a31680b}.mobile-editor .tools .section-title,.mobile-editor .tools .divider,.mobile-editor .tools h3,.mobile-editor .tool-note,.mobile-editor .tool-footer>p,.mobile-editor .puff-preview{display:none}.mobile-editor #paintTools{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:7px;align-items:center}.mobile-editor .palette{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:12px;padding:6px;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;min-width:0}.mobile-editor .palette::-webkit-scrollbar{display:none}.mobile-editor .palette .swatch{flex:0 0 44px;width:44px;height:44px;margin:0}.mobile-editor .selected-color{margin:0;display:block}.mobile-editor #colorDot,.mobile-editor #colorName{display:none}.mobile-editor .custom-color{display:block;width:44px;height:44px;line-height:42px;font-size:24px;margin:0;background:#f8f5fc}.mobile-editor .segmented{grid-column:1/-1;padding:3px}.mobile-editor .segmented button{font-size:15px;min-height:44px;padding:7px}.mobile-editor .segmented button span{font-size:13px}.mobile-editor .size-control{grid-column:1/-1;display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;align-items:center;min-height:34px;padding:0 7px}.mobile-editor .range-label{font-size:12px;margin:0;gap:5px}.mobile-editor input[type=range]{height:26px}.mobile-editor #inflateTools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;min-height:60px}.mobile-editor #inflateTools .size-control{grid-column:1;grid-template-columns:1fr;gap:0;padding-right:12px}.mobile-editor #deflate{margin:0;font-size:11px;min-height:44px;padding:8px}.mobile-editor .tools .tool-footer{display:grid;grid-template-columns:1.2fr 1fr;gap:9px;margin:0;padding-top:9px;align-items:stretch}.mobile-editor .tool-footer .primary,.mobile-editor .tool-footer .secondary{min-height:44px;height:auto;margin:0;padding:10px 7px;font-size:13px;box-shadow:none}.mobile-editor #toast{bottom:calc(210px + env(safe-area-inset-bottom,0px));font-size:12px;padding:10px 15px}}@supports (width: 1cqh){@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .paper{width:min(100cqw,100cqh,510px)}}}@media(max-height:500px)and (orientation:landscape){body:not(.mobile-editor) .template-list{grid-template-columns:repeat(6,minmax(0,1fr));max-height:none}.mobile-editor .workspace{flex-direction:row;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.mobile-editor .tools{width:265px;flex-basis:265px;border-radius:0;border-left:1px solid #e2d8ef;padding:12px;display:flex;justify-content:center}.mobile-editor .studio-bar{min-height:46px;padding-top:0;padding-bottom:0}.mobile-editor .drawing-heading{min-height:35px}.mobile-editor .drawing-heading>div>span{display:none}.mobile-editor .drawing-heading h2{font-size:14px}.mobile-editor .paper{width:min(100%,calc(100dvh - 130px))}@supports (width: 1cqh){.mobile-editor .paper{width:min(100cqw,100cqh,510px)}}.mobile-editor .tools .tool-footer{grid-template-columns:1fr}.mobile-editor .palette .swatch{flex-basis:40px;width:40px;height:40px}.mobile-editor #inflateTools{grid-template-columns:1fr}.mobile-editor #toast{bottom:20px;max-width:50%;left:30%}}.video-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-options .setting-label{margin-top:8px}.video-options .setting-select{padding-left:9px;padding-right:3px;font-size:14px}#paintingNote{margin:12px 0 0;line-height:1.5!important}#videoPreview{aspect-ratio:auto;max-height:48dvh;min-height:200px}#exportPreview{max-height:42dvh}#exportDialog{max-height:calc(100dvh - 32px);overflow:auto}#videoProgress{flex-shrink:0}@media(max-width:380px){.video-options{grid-template-columns:1fr;gap:0}}.segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.segmented button{min-width:0;min-height:40px}.segmented button span{font-size:12px}.paint-effects{display:flex;gap:8px;align-items:center;margin-top:12px;min-height:42px}.paint-effects>label{font-size:12px;color:#8b7b9f}.paint-effects select{min-width:0;flex:1;min-height:40px;max-width:100%;border:1px solid #e6ddef;border-radius:8px;background:#faf8fd;color:#6d567f;font:inherit;font-size:14px;padding:5px 7px}.accent-control{display:flex;align-items:center;gap:6px}.accent-control span{font-size:10px;max-width:32px;line-height:1.2}.accent-control input{width:36px;height:36px;border:1px solid #dfd4eb;border-radius:7px;padding:3px;background:#fff;cursor:pointer}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .segmented{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-editor .segmented button{padding:5px 1px;font-size:13px}.mobile-editor .segmented button span{font-size:12px}.mobile-editor .paint-effects{grid-column:1/-1;margin:0;min-height:38px;padding:0 5px}.mobile-editor .paint-effects select{min-height:38px;font-size:14px}.mobile-editor .accent-control{gap:8px}.mobile-editor .accent-control span{font-size:11px;max-width:none}.mobile-editor .studio-bar{gap:5px;padding-left:8px;padding-right:8px}.mobile-editor .steps{gap:8px}.mobile-editor .step{font-size:12px}.mobile-editor .back-library{font-size:11px;padding:0 4px}.mobile-editor .canvas-actions{gap:2px}.mobile-editor .canvas-actions .icon-button{width:38px;height:44px}}.difficulty-label{display:block;font-size:12px;color:#92869e;margin:12px 0 7px}#difficulty{width:100%;min-height:44px;border:1px solid #e9e3f1;border-radius:10px;padding:9px 10px;background:#fff;font:inherit;font-size:14px;color:#73637f}.random-drawing{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:12px;border:1px solid #dbc9f3;border-radius:10px;background:#f5efff;color:#7851b7;font-size:13px}.random-drawing:hover:not(:disabled){background:#ece1fc}.random-drawing>span{font-size:23px;line-height:1}.template .difficulty-badge{display:inline-block;margin-top:6px;font-style:normal;font-size:10px;font-weight:500;line-height:1.4;padding:2px 7px;border-radius:6px}.difficulty-badge[data-level=easy]{background:#eaf5ed;color:#42765b}.difficulty-badge[data-level=medium]{background:#fff2dd;color:#8d642c}.difficulty-badge[data-level=hard]{background:#f3eafa;color:#865499}@media(max-width:760px){#difficulty{font-size:16px}.difficulty-label{font-size:12px;margin-top:10px}.random-drawing{font-size:14px;margin-top:10px}.template .difficulty-badge{font-size:10px}}.template-list{overflow-anchor:none}.offline-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:-8px 0 18px;font-size:12px;color:#8b7b9f}.offline-bar button{padding:7px 10px;border:1px solid #dcd0f0;border-radius:10px}.collection-item .collection-card{width:100%}.collection-actions{display:flex;gap:8px;margin:8px 0}.collection-actions button,.collection-item form button{padding:8px;border:1px solid #ded0f4;border-radius:8px;font-size:12px}.collection-item form{display:flex;gap:4px}.collection-item input{min-width:0;width:100%;padding:8px;border:1px solid #d9c6ee;border-radius:8px}.intro{gap:32px}.intro-copy{flex:1;min-width:0}.welcome-mascot{float:right;width:clamp(110px,11vw,160px);height:auto;margin:-8px 12px 0 18px;filter:drop-shadow(0 12px 14px #7755d91a)}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.welcome-mascot{width:68px;margin:-4px 0 0 12px}.intro-copy{display:flow-root}}.magic-demo{position:relative;isolation:isolate;display:grid;width:400px;flex:0 0 400px;padding:18px 24px 20px;overflow:hidden;text-align:left;border:1px solid #e6dbf5;border-radius:26px;color:#58446f;background:radial-gradient(ellipse at 75% 28%,#fff0d5 0%,transparent 55%),linear-gradient(125deg,#fff 15%,#f1e9fc);box-shadow:0 12px 32px #66428b09,inset 0 1px #fff;transition:border-color .25s,box-shadow .25s}.magic-demo:hover{border-color:#cbb4ec;box-shadow:0 14px 32px #66428b13}.magic-demo:focus-visible,.demo-toggle:focus-visible{outline:3px solid #9b76d8;outline-offset:4px}.demo-heading{display:flex;justify-content:space-between;align-items:center}.demo-kicker{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#9680ae}.demo-spark{font-size:22px;color:#b49bd7}.demo-scene{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;min-height:146px;gap:6px}.demo-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:140px}.demo-stage:before{content:"";position:absolute;width:90px;height:12px;bottom:26px;border-radius:50%;background:#78476d17;filter:blur(5px)}.demo-stage-label{position:relative;padding-top:10px;font-size:11px;font-weight:600;color:#8a7a99}.demo-flat,.demo-puff{display:block;width:112px;height:108px;position:relative;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 2px 5px #7755d918}.demo-flat{transform:none}.demo-flat svg,.demo-puff svg{display:block;width:100%;height:100%;overflow:visible}.demo-puff{transform:none;transition:none}.magic-demo.expanded .demo-puff{transform:none}.demo-puff canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;cursor:inherit}.demo-arrow{font-size:24px;color:#b29bcf;padding-bottom:15px;text-align:center}.demo-caption{display:block;min-height:44px;margin-top:7px;max-width:310px;font-family:Manrope,system-ui,sans-serif;font-size:18px;line-height:1.4;font-weight:700;letter-spacing:-.5px}.demo-action{display:flex;align-items:center;gap:12px;margin-top:9px;font-size:12px;font-weight:600;color:#8962ba}.demo-action>span[aria-hidden]{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e9def7}.demo-toggle{min-height:40px;padding:0;color:#8962ba;font-size:12px;font-weight:600}@media(min-width:761px)and (max-width:1100px){.intro{gap:24px}.magic-demo{flex-basis:340px;width:340px;padding:16px 20px}.intro h1{max-width:360px}}@media(prefers-reduced-motion:reduce){.demo-puff,.magic-demo{transition:none}}.tour-strip{display:flex;align-items:center;gap:8px;margin:0 15px 12px;padding:10px 12px;background:#fff6dd;border-radius:12px;font-size:12px;flex-shrink:0}.tour-strip p{margin:0;flex:1}.tour-strip button{padding:8px;border-radius:8px;background:#fff9;min-height:40px}.setting-check{display:flex;align-items:center;gap:10px;font-size:13px;margin:14px 0}.setting-check input{width:20px;height:20px;accent-color:#8057d6}@media(prefers-reduced-motion:reduce){.demo-puff{animation:none}}#uploadPreview{display:block;width:100%;height:auto;background:#fff;border-radius:12px;margin-top:16px;border:1px solid #e5dcef}#drawingFile{max-width:100%;font-size:13px}#contentPack{width:100%;padding:10px;border:1px solid #e9e3f1;border-radius:10px;background:#fff;font:inherit;font-size:13px;color:#73637f}body[data-skill=simple] #paintEffects,body[data-skill=simple] #pickerTool,body[data-skill=simple] .zoom-controls>button:not(#tourToggle){display:none}body[data-skill=simple] .swatch{min-width:38px;min-height:38px}#magicFill{margin:0 0 15px;background:#f6edff;color:#7755c8}body[data-skill=advanced] #toolNote{font-size:13px}header{gap:12px;flex-wrap:wrap;height:auto;min-height:88px;padding-top:12px;padding-bottom:12px}.lesson-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e4f3eb;color:#46725c;padding:12px 18px;border-radius:12px;font-size:13px;margin-bottom:18px}#classPrintSheet{display:none}@media print{body>*{display:none!important}#classPrintSheet{display:block!important;color:#000;background:#fff}#classPrintSheet>img{display:block;width:17cm;height:17cm;object-fit:contain}#classPrintSheet p{white-space:pre-line}#classPrintSheet .print-visit{display:flex;align-items:center;gap:12px;break-inside:avoid}#classPrintSheet .print-qr{display:block;width:2.5cm;height:2.5cm}#classPrintSheet a{color:#000;font-weight:700}}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .magic-demo,.mobile-editor .offline-bar,.mobile-editor .lesson-bar{display:none}.tour-strip{font-size:11px;padding:7px;margin:0 8px 6px}.tour-strip p{line-height:1.3}header #openClassroom{font-size:12px}}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor #magicFill{grid-column:1/-1;margin:0;min-height:36px;padding:7px;font-size:12px}}#libraryFilters .category-label,#libraryFilters .difficulty-label{display:block;font-size:12px;margin:12px 0 7px;color:#73637f}#libraryFilters select{font:inherit;font-size:14px;min-height:44px;width:100%}.weekly-card{display:flex;align-items:center;gap:12px;width:100%;padding:8px;margin-bottom:12px;text-align:left;border:1px solid #e2d5f4;border-radius:14px;background:#f6f0ff;color:#7851b7}.weekly-card svg{width:64px;height:64px;flex-shrink:0}.weekly-card span{font-size:11px}.weekly-card strong{display:block;margin-top:5px;font-size:14px}#settingsDialog .offline-bar{margin:18px 0 12px}.install-help{font-size:13px}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){body:not(.mobile-editor) header{height:auto;padding:10px 4%;min-height:60px;gap:10px;flex-wrap:wrap}body:not(.mobile-editor) .brand{font-size:20px;margin-right:auto}body:not(.mobile-editor) .brand sup,body:not(.mobile-editor) .header-note{display:none}body:not(.mobile-editor) #openClassroom{font-size:11px}body:not(.mobile-editor) main{padding:12px 4% 0}body:not(.mobile-editor) .intro{margin-bottom:12px}body:not(.mobile-editor) .intro h1{margin:0;font-size:24px;letter-spacing:-.8px}body:not(.mobile-editor) .intro p,body:not(.mobile-editor) .eyebrow,body:not(.mobile-editor) .doodle,body:not(.mobile-editor) .magic-demo{display:none}#libraryFilters:not(.filters-open){display:none}#libraryFilters select,#libraryFilters input{font-size:16px}#toggleFilters{margin:0;min-height:44px}.drawings{padding:12px}.template-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(520px,62dvh);gap:10px}.template{min-height:152px;padding:8px 4px}.template :is(svg,img){width:106px;height:86px}.template span{min-height:auto;font-size:13px}.weekly-card{margin-bottom:8px}.weekly-card svg{height:52px;width:60px}#help span{display:none}}.sound-prompt{padding:8px;border:1px solid #dbc9f3;border-radius:10px;margin-bottom:8px;background:#f6f0ff;font-size:12px}.sound-prompt .quiet{display:inline-flex;min-height:36px;margin-right:12px}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){body:not(.mobile-editor) .intro{display:flex;flex-direction:column;align-items:stretch;gap:8px}body:not(.mobile-editor) .magic-demo.preview-open{display:grid;width:100%;flex:none;max-width:440px;align-self:center;padding:16px 20px}.demo-caption{min-height:44px;font-size:18px}}@media(min-width:761px)and (max-width:1400px){body:not(.mobile-editor) .template-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:62dvh}.mobile-editor .workspace{display:grid;grid-template-columns:minmax(0,1fr) 208px;align-items:stretch}.mobile-editor .studio{width:100%;min-height:0}.mobile-editor .tools{border-top:0;border-left:1px solid #e2d8ef;border-radius:0;padding:14px 12px;min-width:0;overflow-y:auto}.mobile-editor .studio-bar{padding:8px 10px;flex-wrap:wrap;gap:8px;justify-content:space-between}.mobile-editor .steps{gap:12px}.mobile-editor .canvas-actions{gap:4px;flex-shrink:0}.mobile-editor .drawing-heading{margin:0 12px 8px}.mobile-editor .paper-wrap{padding:8px 12px}.mobile-editor .paper{max-width:600px;max-height:600px}.mobile-editor .tools .section-title{display:flex;margin-bottom:12px}.mobile-editor .tools #paintTools{display:block}.mobile-editor .tools .palette{display:grid;grid-template-columns:repeat(3,44px);justify-content:space-around;overflow:visible;gap:10px;padding:6px 0}.mobile-editor .selected-color{display:flex;margin:12px 0;align-items:center}.mobile-editor #colorDot,.mobile-editor #colorName{display:inline-block}.mobile-editor .selected-color .custom-color{margin-left:auto}.mobile-editor .segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.mobile-editor .segmented button{padding:6px 2px;font-size:12px}.mobile-editor .size-control{display:block;margin:12px 0;padding:0}.mobile-editor .tools #inflateTools{display:block}.mobile-editor .tool-footer{margin-top:auto;padding-top:14px}.mobile-editor .auto-control{display:grid;grid-template-columns:minmax(0,1fr)}.mobile-editor .auto-playback{display:grid;grid-template-columns:minmax(0,1fr) 44px}.mobile-editor .auto-restart{width:44px;min-width:0}.mobile-editor #autoSpeed{grid-column:1/-1;width:100%;min-height:44px}.mobile-editor #next,.mobile-editor #openExport{min-height:44px}.mobile-editor #paintEffects{margin-top:12px}}@media(min-width:761px)and (max-width:1400px){.mobile-editor .canvas-actions .icon-button{width:44px;height:44px}.mobile-editor .paper{width:min(100%,calc(100dvh - 150px))}@supports (width: 1cqh){.mobile-editor .paper{width:min(100cqw,100cqh,600px)}}}.paper-wrap{gap:8px}.zoom-controls button{min-width:44px;min-height:44px}.touch-hint{bottom:14px}.auto-playback #autoInflate{white-space:normal;overflow-wrap:anywhere}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .paper-wrap{grid-template-rows:max-content max-content;align-content:start;justify-items:center;gap:4px}.mobile-editor .paper{width:min(100%,calc(100dvh - 410px))}@supports (width: 1cqh){.mobile-editor .paper{width:min(100cqw,calc(100cqh - 58px),600px)}}.mobile-editor .zoom-controls{position:static;margin:0}}@media(min-width:761px)and (max-width:1400px){.mobile-editor .paper{width:min(100%,calc(100dvh - 208px))}@supports (width: 1cqh){.mobile-editor .paper{width:min(100cqw,calc(100cqh - 58px),600px)}}.mobile-editor .tools .tool-footer{grid-template-columns:minmax(0,1fr)}}@media(max-height:500px)and (orientation:landscape){.mobile-editor .workspace{display:grid;grid-template-columns:minmax(0,1fr) 232px;padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-editor .tools{width:auto;min-width:0;min-height:0;padding:8px;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden;border-radius:0;border-top:0;border-left:1px solid #e2d8ef}.mobile-editor .tools .section-title{display:none}.mobile-editor .tools #paintTools,.mobile-editor .tools #inflateTools{display:block;flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;padding:4px 6px 10px;scrollbar-width:thin;scroll-padding-block:6px}.mobile-editor .tools .palette{display:grid;grid-template-columns:repeat(4,44px);gap:10px 6px;justify-content:space-between;overflow:visible;touch-action:pan-y;padding:6px 0}.mobile-editor .tools .palette .swatch{width:44px;height:44px}.mobile-editor .tools .selected-color{display:flex;margin:8px 0}.mobile-editor .tools .segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}.mobile-editor .tools .segmented button{padding:5px 2px;font-size:13px}.mobile-editor .tools .paint-effects{display:flex;flex-wrap:wrap;margin:8px 0}.mobile-editor .tools .paint-effects select{min-width:0;flex:1}.mobile-editor .tools .size-control{display:block;margin:8px 0;padding:0}.mobile-editor .tools .tool-footer{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin:0;padding-top:8px;border-top:1px solid #e2d8ef}.mobile-editor .auto-control{grid-template-columns:minmax(0,1fr) 76px;margin:0;gap:6px}.mobile-editor .auto-playback{grid-template-columns:minmax(0,1fr) 44px;gap:4px}.mobile-editor .auto-restart{width:44px}.mobile-editor .auto-restart span{display:none}.mobile-editor #autoSpeed{grid-column:auto;font-size:13px;padding-left:6px}.mobile-editor .tool-footer .primary,.mobile-editor .tool-footer .secondary{font-size:12px;padding:6px}.mobile-editor .studio-bar{flex-wrap:nowrap;min-height:48px;padding:2px 8px}.mobile-editor .drawing-heading{min-height:44px;margin:0 10px 2px}.mobile-editor .drawing-heading h2{margin:0}.mobile-editor .favorite-button{width:44px;height:44px;min-height:44px}.mobile-editor .paper-wrap{grid-template-columns:minmax(0,1fr) 54px;grid-template-rows:minmax(0,1fr);align-content:stretch;align-items:start;padding:4px 8px;gap:6px}.mobile-editor .paper{width:min(calc(100% - 60px),calc(100dvh - 120px))}@supports (width: 1cqh){.mobile-editor .paper{width:min(calc(100cqw - 60px),100cqh)}}.mobile-editor .zoom-controls{flex-direction:column;width:54px;padding:3px}.mobile-editor .zoom-controls button{width:46px}.mobile-editor .studio-bottom{min-height:24px;padding:3px 10px}.mobile-editor #saveStatus{display:none}.mobile-editor .tour-strip{min-height:0;max-height:40px;margin:0 8px;padding:4px 8px;gap:6px;flex-shrink:0;overflow-y:auto}.mobile-editor .tour-strip p{font-size:12px;line-height:1.2;margin:0}.mobile-editor .tour-strip button{min-height:32px;padding:4px 6px}}:root :is(.brand sup,.header-note,.eyebrow,.intro-copy>p,#drawingCount,[data-library-view],#resultCount,.template small,.library-note,.little-note p,.paper-caption,.tool-footer>p,#activeCategory,#colorCount,#colorName,.tool-note,#status,#saveStatus,.range-label,.paint-effects label,.export-note,#paintingNote,#exportStatus,#offlineStatus,.install-help,.privacy-note,dialog>p,footer>span){color:#665273}:root :is(#openUpload,#openCollection,#openExport,#openBackup,#showTour,#deflate){color:#62418b}:root .step{color:#665273}:root .step.active{color:#6235ac}:root :is(#mobileDemoToggle,#toggleFilters,#openStudio){color:#62418b}.weekly-card{min-height:82px}#templates:empty:not([data-ready]){min-height:420px}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.weekly-card{min-height:70px}#templates:empty:not([data-ready]){min-height:min(520px,62dvh)}}:root :is(button,a,input,select):focus-visible{outline:3px solid #6535a2;outline-offset:3px}.language-toggle{min-width:44px;min-height:44px;font-weight:700;color:#62418b;flex-shrink:0}.puff-tool-picker{border:0;padding:0;margin:0 0 12px;min-width:0}.puff-tool-picker legend{font-size:13px;font-weight:700;color:#62418b;margin-bottom:7px}.puff-tool-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.puff-tool-buttons button{min-height:44px;border:1px solid #d8c9ec;background:#faf7ff;border-radius:10px;color:#62418b;font-size:13px;padding:5px}.puff-tool-buttons button[aria-pressed=true]{background:#7755d9;color:#fff;border-color:#7755d9}#puffToolHint,#micStatus{color:#665273;font-size:12px;line-height:1.5;margin:7px 0}.microphone-controls{margin-bottom:12px}.microphone-controls .secondary{min-height:44px;margin:4px 0}#micLevel{width:100%;height:20px}#dryerCursor{position:absolute;width:64px;height:52px;transform:translate(12px,-16px) rotate(-20deg);z-index:3;pointer-events:none}#dryerCursor .heat-cone{position:absolute;left:-55px;top:-12px;width:80px;height:80px;border-radius:50%;background:radial-gradient(ellipse,#ffb84b66,transparent 65%);opacity:.3}#dryerCursor.running .heat-cone{opacity:1}body[data-puff-active=dryer] #art{cursor:none!important}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .tools #inflateTools{grid-template-columns:minmax(0,1fr)}.mobile-editor .puff-tool-picker,.mobile-editor .microphone-controls{grid-column:1/-1}}@media(max-width:760px)and (min-height:501px){.mobile-editor .tools #inflateTools{max-height:32dvh;overflow-y:auto;overscroll-behavior:contain}}.popablo-drawing-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;margin:0 0 10px;border:1px solid #d6c4ef;border-radius:999px;background:#fff9;color:#61389d;font-size:14px;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.demo-puff img{display:block;width:100%;height:100%;object-fit:contain}.drawing-heading>div:first-child{flex:1;min-width:0}.studio-mascot{position:relative;width:48px;height:44px;flex:0 0 48px;margin:0 12px;border-radius:50%;pointer-events:none}.studio-mascot img{width:48px;height:44px;object-fit:contain;display:block}.studio-mascot .mascot-confetti{display:block;position:absolute;inset:0}.mascot-confetti i{display:none;position:absolute;left:22px;top:15px;width:6px;height:9px;border-radius:2px;background:#a575db}.mascot-confetti i:nth-child(1){--dx: -36px;--dy: -24px}.mascot-confetti i:nth-child(2){--dx: 0px;--dy: -34px;background:#dfaa25}.mascot-confetti i:nth-child(3){--dx: 36px;--dy: -20px;background:#4eaaa1}.mascot-confetti i:nth-child(4){--dx: -32px;--dy: 18px;background:#e47c9c}.mascot-confetti i:nth-child(5){--dx: 12px;--dy: 30px;background:#4eaaa1}.mascot-confetti i:nth-child(6){--dx: 34px;--dy: 16px;background:#dfaa25}body[data-popablo=painting] :is(.brand-icon,.welcome-mascot,.studio-mascot img){animation:popablo-paint .42s ease-in-out 2;transform-origin:50% 90%}body[data-popablo=inflating] :is(.brand-icon,.welcome-mascot,.studio-mascot img){animation:popablo-puff .65s ease-in-out infinite;transform-origin:50% 80%}body[data-popablo=celebrating] :is(.brand-icon,.welcome-mascot,.studio-mascot img){animation:popablo-celebrate .55s ease-in-out 3;transform-origin:center bottom}body[data-popablo=celebrating] .studio-mascot{background:#eee0fc}body[data-popablo=celebrating] .mascot-confetti i{display:block;animation:popablo-confetti 1.3s ease-out both}@keyframes popablo-paint{0%,to{transform:rotate(0)}35%{transform:rotate(-9deg) translateY(-2px)}70%{transform:rotate(7deg)}}@keyframes popablo-puff{0%,to{transform:scale(1)}50%{transform:scale(1.13,1.08) translateY(-2px)}}@keyframes popablo-celebrate{0%,to{transform:translateY(0) rotate(0)}35%{transform:translateY(-9px) rotate(-9deg) scale(1.08)}65%{transform:translateY(-3px) rotate(8deg)}}@keyframes popablo-confetti{0%{opacity:0;transform:translate(0) rotate(0)}15%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(180deg)}}@media(prefers-reduced-motion:reduce){body[data-popablo] :is(.brand-icon,.welcome-mascot,.studio-mascot img,.mascot-confetti i){animation:none}body[data-popablo] .mascot-confetti i{display:none}}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.popablo-drawing-link{margin:0;padding:4px 12px}.studio-mascot{margin:0 8px}}.mascot-footer{display:none}@media(min-width:1401px)and (min-height:501px){.drawing-heading .studio-mascot{display:none}.mascot-footer{display:block;width:38px;height:34px;flex-basis:38px;margin:0 4px 0 0}.mascot-footer img{width:38px;height:34px}.studio-bottom #status{flex:1}}.domain-migration{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 5% 0;padding:16px;border:1px solid #d7c9ef;border-radius:16px;background:#f4efff;color:#443364}.domain-migration p{flex:1 1 300px;margin:0}.domain-migration button{width:auto}.domain-migration a{color:#5b3697;font-weight:700}.mobile-editor .domain-migration{display:none}@media(max-width:760px)and (orientation:portrait){.mobile-editor .tools{display:flex;flex-direction:column;flex:0 0 calc(clamp(212px,35dvh,360px) + env(safe-area-inset-bottom,0px));min-height:0;padding:6px 10px calc(8px + env(safe-area-inset-bottom,0px));overflow:hidden}.mobile-editor .tools #paintTools,.mobile-editor .tools #inflateTools{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#baa5d9 #f8f5fc;scroll-padding-block:58px 6px}.mobile-editor .tools #paintTools{align-content:start;grid-auto-rows:max-content;gap:6px;padding-bottom:6px}.mobile-editor .tools .palette,.mobile-editor .tools .selected-color{position:sticky;top:0;z-index:3;background:#fff}.mobile-editor .tools .palette{order:0;padding:2px;min-height:48px}.mobile-editor .tools .selected-color{order:0;align-self:stretch;padding-top:2px}.mobile-editor .tools .segmented,.mobile-editor .tools .paint-effects,.mobile-editor .tools .size-control{margin:0}.mobile-editor .tools .segmented{order:1;grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.mobile-editor .tools .segmented button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:44px;padding:3px 1px;font-size:12px;line-height:14px}.mobile-editor .tools .segmented button span{font-size:11px;line-height:14px}.mobile-editor .tools #magicFill{order:2}.mobile-editor .tools .paint-effects{order:3}.mobile-editor .tools .size-control{order:4}.mobile-editor .tools #inflateTools{scroll-padding-top:6px;padding:0 4px 6px}.mobile-editor .tools .tool-footer{flex:0 0 auto;padding-top:6px;gap:6px}.mobile-editor .auto-control{margin:0}.mobile-editor .auto-playback,.mobile-editor #autoSpeed{min-height:44px;height:44px}.mobile-editor .auto-restart span{display:none}}.app-update-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px auto;padding:12px 16px;width:calc(100% - 24px);max-width:1296px;border:1px solid #cbb9ed;border-radius:16px;background:#f0e9fc;color:#49316c}.app-update-banner[hidden],.mobile-editor .app-update-banner{display:none}.app-update-banner p{margin:0;line-height:1.4;font-size:14px}.app-update-banner .primary{margin:0;min-height:44px;flex-shrink:0;padding:10px 16px;width:auto}@media(max-width:420px){.app-update-banner{align-items:stretch;flex-direction:column}}.install-app-header{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:14px;background:#7755d9;color:#fff;font-size:14px;font-weight:700;flex-shrink:0}.install-app-header[hidden],.install-label-short{display:none}.install-app-header:hover{background:#6442bf}.install-dialog{max-width:480px}.install-dialog p{color:#61536f}.install-dialog>img{border-radius:16px}.install-dialog .install-steps{padding-left:22px}.install-dialog .install-steps li{margin:14px 0;padding-left:4px}.install-dialog .install-steps p{margin:5px 0;font-size:14px}.install-dialog #installNative{width:100%;min-height:44px}@media(max-width:760px){.install-label-full{display:none}.install-label-short{display:inline}.install-app-header{padding:10px 12px}}.install-invite{position:fixed;z-index:30;bottom:max(16px,env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right));width:min(420px,calc(100% - 32px));display:grid;grid-template-columns:52px minmax(0,1fr) 32px;gap:12px;padding:20px;background:#fff;border:1px solid #d8cef0;border-radius:22px;box-shadow:0 12px 40px #30233a26;animation:install-arrive .24s ease-out}.install-invite[hidden]{display:none}.install-invite img{border-radius:14px}.install-invite h2{margin:0 0 6px;font-size:17px;line-height:1.35}.install-invite p{margin:0;font-size:14px;line-height:1.5;color:#61536f}.install-invite-close{min-width:44px;min-height:44px;margin:-8px -8px 0 0;font-size:24px;align-self:start}.install-invite .primary{grid-column:1 / -1;min-height:44px}@keyframes install-arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.install-invite{animation:none}}@media(max-width:360px){.install-invite{padding:16px;grid-template-columns:44px minmax(0,1fr) 28px;gap:10px}.install-invite img{width:44px;height:44px}}.install-dialog .install-steps li.illustrated-install-step{padding:4px 0 12px 4px;margin-bottom:20px;line-height:1.6;font-size:14px}.illustrated-install-step::marker{color:#6442bf;font-weight:800}.ios-install-visual{margin:12px 0 0;padding:12px;border:1px solid #ded6ec;border-radius:16px;background:#f5f2fa;color:#302b46;font-size:12px;line-height:1.4;overflow:hidden;user-select:none}.ios-install-visual svg{display:block;width:23px;height:23px;flex-shrink:0}.ios-highlight{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:2px solid #7755d9;background:#f2ecff;color:#5535ac;border-radius:10px;padding:6px 8px;font-weight:700}.ios-browser-top{display:flex;gap:10px;align-items:center;padding:6px 8px;border-radius:9px;background:#fff}.ios-browser-top>span:first-child{flex:1;text-align:center}.ios-browser-page{min-height:84px;display:flex;gap:6px;justify-content:center;align-items:center;color:#5535ac;font-weight:800;font-size:18px}.ios-browser-page img{object-fit:contain}.ios-iphone-toolbar{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:6px}.ios-iphone-toolbar>span:first-child{font-size:26px}.ios-address{flex:1;min-width:0;text-align:center}.ios-share-callout{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}.ios-flow-arrow{font-size:24px;color:#6442bf}.ios-install-visual[data-device=iphone] .ios-browser-top,.ios-install-visual[data-device=ipad] .ios-iphone-toolbar,.ios-install-visual[data-device=ipad] .ios-share-callout{display:none}.ios-sheet-handle{display:block;width:32px;height:4px;margin:0 auto 12px;border-radius:8px;background:#c3b8d2}.ios-sheet-site,.ios-app-preview{display:flex;align-items:center;gap:10px;margin:0 0 12px}.ios-sheet-site img,.ios-app-preview img{border-radius:8px}.ios-install-visual small{display:block;font-size:11px;color:#61536f;margin-top:2px}.ios-muted-action,.ios-home-action{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;margin-top:6px;border-radius:8px}.ios-muted-action{background:#fff}.ios-home-action{text-align:left}.ios-scroll-cue{display:block;margin-top:10px;color:#61536f;font-size:11px;text-align:center}.ios-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:16px;font-size:11px;font-weight:700}.ios-confirm-heading .ios-highlight{flex-shrink:0;font-size:12px}.ios-webapp-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;background:#fff;border-radius:8px;font-size:11px}.ios-fake-switch{flex:0 0 32px;height:20px;padding:2px;border-radius:20px;background:#268345}.ios-fake-switch>span{display:block;width:16px;height:16px;margin-left:12px;background:#fff;border-radius:50%}.ios-install-troubleshooting{margin:16px 0;font-size:13px;color:#61536f}.ios-install-troubleshooting summary{min-height:44px;cursor:pointer;padding:10px 0;font-weight:700}@media(max-width:400px){.install-dialog:has(.ios-install-visual){padding:24px 18px}}.studio-bar{position:relative}.studio .tour-strip{position:absolute;top:calc(100% + 4px);right:8px;left:auto;z-index:12;width:min(360px,calc(100% - 16px));display:flex;align-items:center;gap:4px;padding:8px;margin:0;min-height:0;max-height:none;overflow:visible;box-shadow:0 5px 20px #30233a20;border-radius:14px}.studio .tour-strip[hidden]{display:none}.mobile-editor .studio .tour-strip{max-height:none;margin:0;padding:8px}.studio .tour-strip p{flex:1;margin:0;font-size:12px;line-height:1.35}.studio .tour-strip button{min-width:44px;min-height:44px;padding:4px 6px;font-size:12px}:root .step{min-width:44px;min-height:44px}:root :is(#enablePuffSound,#skipPuffSound){min-width:44px;min-height:44px}.paper-wrap{position:relative}.paper-wrap>.touch-hint{position:static;transform:none;width:auto;max-width:100%;margin:0;padding:0;background:none;color:#61536f;text-align:center;line-height:1.3;pointer-events:none}.paper-wrap>#toast{position:absolute;top:4px;bottom:auto;left:50%;width:max-content;max-width:calc(100% - 16px);transform:translate(-50%,-6px);font-size:12px;padding:8px 12px;z-index:14}.paper-wrap>#toast.show{transform:translate(-50%)}#settingsDialog .offline-bar button{color:#61536f;min-height:44px}#settingsDialog #favorite{color:#62418b;min-width:44px;min-height:44px}#settingsDialog>:is(#openClassroom,#help){display:inline-flex;min-height:44px;padding:8px;margin:6px 6px 6px 0}@media(max-width:1400px),(max-height:500px)and (pointer:coarse){.mobile-editor .paper-wrap{grid-template-rows:max-content 44px 28px;gap:4px}.mobile-editor .paper-wrap>.touch-hint{grid-row:3;font-size:11px;line-height:14px;align-self:start}@supports (width: 1cqh){.mobile-editor .paper{width:min(100cqw,calc(100cqh - 80px),600px)}}.mobile-editor .back-library{min-width:44px;width:44px;padding:0;font-size:0}.mobile-editor .back-library:before{content:"\2039";font-size:28px}.mobile-editor .steps{gap:4px}.mobile-editor .step{min-width:44px;padding:0}}@media(max-width:760px),(max-width:1400px)and (max-height:700px){.mobile-editor .studio-bar{display:grid;grid-template-columns:44px max-content minmax(0,1fr);gap:0 4px;padding:2px 6px;min-height:0}.mobile-editor .canvas-actions{justify-self:end;gap:2px}.mobile-editor .studio-bar .drawing-heading{grid-column:1 / -1;min-height:22px;height:22px;margin:0;padding:0 2px;align-items:center}.mobile-editor .drawing-heading>div:first-child{display:flex;align-items:baseline;min-width:0;gap:8px}.mobile-editor .drawing-heading>div:first-child>span{display:inline;font-size:9px;white-space:nowrap}.mobile-editor .drawing-heading h2{font-size:13px;line-height:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-editor .drawing-heading :is(.favorite-button,.studio-mascot){display:none}}@media(max-width:340px){.mobile-editor .studio-bar{grid-template-columns:44px 88px minmax(0,1fr);column-gap:0}.mobile-editor .steps,.mobile-editor .canvas-actions{gap:0}.mobile-editor .studio-bar .drawing-heading{grid-row:2}}@media(max-height:500px)and (orientation:landscape){.mobile-editor .paper-wrap{grid-template-columns:minmax(0,1fr) 54px;grid-template-rows:minmax(0,1fr) 18px;gap:4px 6px}.mobile-editor .paper-wrap>.paper{grid-row:1;grid-column:1}.mobile-editor .paper-wrap>.zoom-controls{grid-row:1;grid-column:2}.mobile-editor .paper-wrap>.touch-hint{grid-row:2;grid-column:1 / -1;font-size:10px;line-height:12px}@supports (width: 1cqh){.mobile-editor .paper{width:min(calc(100cqw - 60px),calc(100cqh - 22px))}}}@media(max-width:760px){body:not(.mobile-editor) header{flex-wrap:nowrap;gap:6px;padding:8px 3%;min-height:60px}body:not(.mobile-editor) .brand{font-size:18px;white-space:nowrap}.install-app-header{gap:4px;padding:8px 9px}header #openSettings{flex-shrink:0;width:44px;min-height:44px;justify-content:center;padding:0}header #languageToggle{width:44px;padding:0}}@media(max-width:360px){body:not(.mobile-editor) .brand{font-size:17px}body:not(.mobile-editor) .brand-icon{width:28px;height:28px;margin-right:5px}}.tour-toggle{position:static;z-index:12;min-width:44px;min-height:44px;padding:4px 6px;border:1px solid #cbbadf;border-radius:14px;background:#fff6dd;color:#503567;font-size:12px;font-weight:700;box-shadow:0 3px 12px #30233a14}.tour-toggle[hidden]{display:none}@media(max-height:500px)and (orientation:landscape){.mobile-editor .tools{display:grid;grid-template-rows:minmax(0,1fr) auto;height:100%;max-height:100dvh;box-sizing:border-box;overflow:hidden}.mobile-editor .tools :is(#paintTools,#inflateTools){grid-row:1;grid-column:1}.mobile-editor .tools .tool-footer{grid-row:2;grid-column:1;position:relative;z-index:4;background:#fff}.mobile-editor .studio-bar .drawing-heading{display:none}}@media(max-width:760px)and (orientation:portrait){.mobile-editor .tools #magicFill{order:-1;min-height:44px}.mobile-editor .tools .tool-footer{position:relative;box-shadow:0 -8px 8px -8px #674b8a70}}
