@import url('fonts.css');
:root{font-family:'Nunito','Trebuchet MS',sans-serif;color:#39334b;font-synthesis:none;--purple:#6c4bb1;--dark:#4d3384;--muted:#81778f;--line:#e9e2ee;--cream:#f6f1e8;--pink:#ef7683}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%}body{background:#fcfaff;overflow:hidden}button,input{font:inherit}button{border:0;cursor:pointer;color:inherit;touch-action:manipulation;transition:transform .15s,background .15s}button:active{transform:scale(.96)}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #e9af35;outline-offset:4px}.hidden{display:none!important}.header{height:82px;padding:0 35px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #eae3f0;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-align:left;line-height:1.25;background:none;font-size:14px;color:#7e6c97}.brand b{display:block;color:#503970;font-size:21px;font-weight:900;letter-spacing:-.5px}.brand-icon{font-size:41px;display:grid;place-items:center;width:48px;height:48px;border-radius:17px;background:#eee5fa;color:var(--purple);transform:rotate(-8deg)}.journey{display:flex;align-items:center;gap:15px}.journey>span{height:1px;width:33px;background:#e9e1f0}.journey button{display:flex;gap:9px;align-items:center;padding:10px 12px;font-size:14px;background:none;color:#a096ad;font-weight:800;border-radius:10px}.journey i{font-style:normal;display:grid;place-items:center;width:25px;height:25px;border:1px solid #dcd2e7;border-radius:50%;font-size:12px}.journey button.active{color:var(--purple);background:#f5f0fc}.journey button.active i{color:white;background:var(--purple);border-color:var(--purple)}.header-actions{display:flex;align-items:center;gap:9px}.circle{background:#faf7fd;border:1px solid #e8e0ef;border-radius:50%;width:36px;height:36px;font-size:18px;color:#9179a5}.avatar{display:grid;place-items:center;font-size:16px;font-weight:900;background:#f9e0e6;color:#b66686;border:3px solid white;box-shadow:0 0 0 1px #f1d8e3;border-radius:50%;width:38px;height:38px;margin-left:9px}.screen{height:calc(100dvh - 82px)}.choose-screen,.gallery-screen{max-width:1180px;margin:auto;padding:40px 40px 28px;overflow-y:auto}.choose-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#b298bf}.choose-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:9px 0;color:#58406e}.choose-heading p{font-size:15px;color:#a38caf;margin:0;line-height:1.5}.resume,.soft-button{background:#eee5f8;color:#8e6ba8;padding:13px 18px;border:1px solid #e4d5f0;border-radius:14px;font-size:13px;font-weight:900;white-space:nowrap}.category-row{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 9px;margin-bottom:19px;scrollbar-width:thin}.category{padding:10px 16px;background:white;border:1px solid #e7deed;border-radius:24px;font-size:13px;color:#9b7fae;font-weight:800;white-space:nowrap}.category.active{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 4px 10px #6c4bb126}.catalog-status{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#b39cc2;margin:0 3px 15px}.catalog-status b{color:#90729f;font-weight:800}.object-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.object-card{border-radius:20px;min-height:150px;border:1px solid #f0e7ec;background:#fcf0ed;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:18px 8px;gap:12px;color:#94728c;font-size:15px;font-weight:900;box-shadow:0 3px 0 #ddc9d810}.object-card:nth-child(4n+2){background:#edf6f1;border-color:#deeee5;color:#72937e}.object-card:nth-child(4n+3){background:#f0eefb;border-color:#e6e0f4;color:#8e7aaa}.object-card:nth-child(4n+4){background:#fff6e6;border-color:#f4e8d1;color:#b19869}.object-card .object-icon{font-size:49px;line-height:1.2;filter:drop-shadow(0 4px 4px #7950710e)}.object-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #78548113}.draft-label{position:absolute;top:10px;right:10px;font-size:10px;background:#fff9;border-radius:8px;padding:4px 6px;color:#a487b2}.catalog-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 5px}.pagination{display:flex;gap:13px;align-items:center;color:#ad98bc;font-size:13px}.pagination button{height:36px;width:36px;background:white;border:1px solid #e6dcee;color:#ac8fbf;border-radius:11px;font-size:22px}.primary{background:var(--purple);color:#fff;font-size:14px;font-weight:900;border-radius:14px;padding:14px 23px;box-shadow:0 4px 0 #4b3183;min-height:48px;white-space:nowrap}.paint-screen{position:relative;background:var(--cream);overflow:hidden}#canvas-host{position:absolute;inset:102px 0 170px}#canvas-host canvas{display:block;width:100%;height:100%;touch-action:none}.paint-heading{position:absolute;top:25px;left:35px;right:35px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;z-index:2;pointer-events:none}.paint-heading>*{pointer-events:auto}.object-heading{text-align:center}.object-heading h1{font-size:29px;color:#65516c;margin:0 0 6px;line-height:1.2;font-weight:900;letter-spacing:-.7px}.object-heading p{font-size:14px;color:#a7959c;margin:0}.back-button{color:#947a9a;background:#fffaf2b0;border:1px solid #e8ded0;border-radius:12px;padding:12px 17px;font-size:14px;font-weight:800;min-height:45px}.canvas-labels{position:absolute;bottom:184px;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none}.learning-button{pointer-events:auto;border:1px solid #e7dac8;background:#fffaf1e6;border-radius:30px;color:#a78d70;padding:11px 17px;font-size:13px;font-weight:800}.learning-button span{margin-left:6px}.save-status{font-size:11px;color:#b1a28f}.canvas-side{position:absolute;top:45%;right:29px;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px}.canvas-side button{background:#fffbf3da;border:1px solid #e8ddcd;border-radius:50%;width:42px;height:42px;font-size:22px;color:#ab9475}.paint-dock{position:absolute;bottom:23px;left:50%;transform:translateX(-50%);width:min(750px,calc(100% - 50px));background:#fffdf8;border:1px solid #ede2d4;border-radius:24px;box-shadow:0 9px 35px #83705a10;padding:15px 19px}.dock-tools{display:flex;align-items:center;gap:8px;margin-bottom:13px}.mode-switch{display:flex;background:#f3edf8;padding:4px;border-radius:13px;gap:4px}.mode-switch button{padding:10px 17px;font-size:15px;font-weight:900;border-radius:10px;background:none;color:#ab97bb;display:flex;align-items:center;gap:6px}.mode-switch button.active{color:#745297;background:#fff;box-shadow:0 2px 5px #5c377418}.dock-spacer{flex:1}.dock-icon{width:40px;height:40px;font-size:23px;border-radius:11px;background:#f7f1e8;color:#b59a77}.tools-button{padding:12px 17px;border-radius:12px;background:#ede5f7;color:#9774b3;font-size:14px;font-weight:900;margin-left:5px}.dock-colors{display:flex;align-items:center;gap:15px;border-top:1px solid #f0e8dd;padding-top:13px}.dock-colors>span{font-size:11px;color:#b6a389;font-weight:800;white-space:nowrap}.quick-colors{display:flex;gap:12px;flex:1;justify-content:center}.swatch{position:relative;width:34px;height:34px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #eee5ed;flex-shrink:0}.swatch.active{box-shadow:0 0 0 2px #b28ec3}.swatch.active:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:15px;text-shadow:0 1px 2px #58406280;font-weight:900}.more-colors{border:1px dashed #d6bddf;color:#b799c5;border-radius:50%;width:34px;height:34px;font-size:21px;background:#f8f2fc;flex-shrink:0}.brush-cursor{position:fixed;pointer-events:none;border:1.5px solid #51405f80;border-radius:50%;box-shadow:0 0 0 1px #ffffff90;transform:translate(-50%,-50%);z-index:6;background:#ffffff12}.reference-bar{position:absolute;top:110px;left:50%;transform:translateX(-50%);z-index:4;background:#fff7e7f2;border:1px solid #ead8af;border-radius:18px;padding:13px 18px;color:#a58759;text-align:center;box-shadow:0 4px 20px #8b713414}.reference-bar b{display:block;font-size:14px}.reference-bar span{display:block;font-size:12px;margin:4px 0 9px}.reference-bar button{background:#eac984;color:#80643a;border-radius:10px;padding:9px 15px;font-size:12px;font-weight:900}.challenge-card{position:absolute;left:30px;top:120px;max-width:245px;border-radius:18px;padding:17px;background:#fffaf1eF;border:1px solid #e9dbc4;box-shadow:0 5px 20px #70563212;color:#9f815b}.challenge-card>span{font-size:9px;font-weight:900;letter-spacing:1px}.challenge-card p{font-size:14px;line-height:1.6;margin:8px 0 11px}.challenge-card button{background:#eee1c9;border-radius:8px;color:#a0804f;padding:7px 10px;font-size:11px}.challenge-card button:last-child{position:absolute;right:8px;top:7px;background:none;font-size:18px;padding:0 5px}.light-switch{position:absolute;right:30px;bottom:228px;background:#fff3c9;border:1px solid #e9d496;border-radius:22px;padding:10px 16px;color:#a58a4c;font-size:12px;font-weight:800}.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f6f1e8ee;z-index:8;color:#a88ba9}.loading>span{font-size:70px;animation:spin 3s linear infinite}.loading p{font-size:15px}@keyframes spin{to{transform:rotate(360deg)}}dialog{color:#65496f;border:1px solid #e7dced;background:#fffcff;box-shadow:0 25px 90px #36244235}dialog::backdrop{background:#3e2d504d;backdrop-filter:blur(4px)}.tools-dialog{margin:0 0 0 auto;width:405px;max-width:96vw;height:100dvh;max-height:100dvh;border-radius:25px 0 0 25px;padding:28px 25px;overflow-y:auto}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.drawer-heading h2{font-size:27px;letter-spacing:-.7px;margin:7px 0 0}.drawer-heading .eyebrow{font-size:9px;letter-spacing:1px}.close-button{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#f1e8f8;color:#ad8ec0;border-radius:50%;font-size:27px}.drawer-tabs{display:flex;gap:6px;padding:5px;background:#f2ebf7;border-radius:13px;margin-bottom:24px}.drawer-tabs button{flex:1;background:none;color:#b09ac2;border-radius:9px;padding:10px 5px;font-size:13px;font-weight:900}.drawer-tabs button.active{background:#fff;color:#8a65a6;box-shadow:0 2px 5px #75518d10}.drawer-done{width:100%;margin-top:25px;position:sticky;bottom:0}.section-title{font-size:14px;font-weight:900;color:#9876ab;margin:23px 0 13px}.section-title:first-child{margin-top:0}.brush-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.brush-card{padding:13px 4px;background:#faf5fd;border:1.5px solid #eadff1;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:79px;color:#ab91bc;font-size:12px;font-weight:900}.brush-card>span{font-size:26px}.brush-card.active{background:#eee2f8;border-color:#be9bd3;color:#8c60aa}.brush-hint{font-size:12px;color:#b39ac3;line-height:1.6;margin:12px 0}.slider-label{display:flex;align-items:center;justify-content:space-between;margin:23px 0 11px;font-size:13px;font-weight:900;color:#9a79b0}.slider-label output{font-size:12px;color:#b397c4;font-weight:700}.range{width:100%;accent-color:#ac86c6}.brush-preview{margin:15px 0;height:58px;display:flex;align-items:center;justify-content:center;background:#f7f0fb;border-radius:14px;overflow:hidden}.preview-dot{border-radius:50%;background:#ef7683}.two-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.option-button{border:1px solid #e6d7ef;border-radius:11px;background:#f8f2fc;padding:12px;font-size:13px;color:#a083b5;font-weight:800}.option-button.active{border-color:#b68aca;background:#efe1f8;color:#8c60a9}.switch-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #eee4f4;gap:15px;font-size:13px;color:#9d7eb2;font-weight:800}.switch-row small{display:block;font-size:11px;color:#b9a1c8;font-weight:600;margin-top:5px;line-height:1.5}.switch-row input{accent-color:#ac87c7;width:22px;height:22px}.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 13px;margin:20px 0}.color-option{display:flex;align-items:center;flex-direction:column;gap:7px;background:none;color:#a589b6;font-size:10px;padding:0}.color-option .swatch{width:39px;height:39px}.custom-color-row{display:flex;align-items:center;justify-content:space-between;background:#f5edf9;border-radius:13px;padding:13px;color:#a17ab3;font-size:13px;font-weight:900}.custom-color-row input{width:48px;height:35px;border:0;padding:0;background:none;cursor:pointer}.palette-themes{display:flex;gap:7px;flex-wrap:wrap}.palette-themes button{background:#f6eefb;border:1px solid #e8d9f1;color:#aa88ba;padding:9px 11px;border-radius:18px;font-size:11px;font-weight:800}.recent-colors{display:flex;gap:12px;flex-wrap:wrap}.layer-row{display:flex;align-items:center;gap:9px;border:1px solid #e8daef;border-radius:13px;padding:11px;margin-bottom:9px;background:#faf6fd}.layer-row.active{background:#eee2f7;border-color:#c5a1d7}.layer-select{background:none;flex:1;text-align:left;font-size:13px;font-weight:900;color:#9d78b0;padding:5px}.layer-eye{background:#fff9;border-radius:8px;color:#ac8dbc;width:35px;height:32px;font-size:17px}.layer-note{font-size:11px;color:#b297c2;line-height:1.6}.view-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.view-grid button{padding:10px;background:#f4edf9;border:1px solid #e6d8ef;border-radius:10px;font-size:12px;color:#a180b2}.background-row{display:flex;gap:12px}.background-option{width:35px;height:35px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #e7d9ed}.finish-row{display:flex;gap:6px}.finish-row button{flex:1;padding:10px 4px;font-size:11px;color:#a483b5;background:#f8f2fc;border:1px solid #e5d5ee;border-radius:10px}.finish-row button.active{border-color:#b797ca;background:#ede0f7}.extra-action{display:flex;align-items:center;gap:11px;width:100%;background:#f6eefb;border:1px solid #e6d6ef;border-radius:13px;padding:14px;margin:10px 0;text-align:left;font-size:13px;color:#a17ab4;font-weight:900}.extra-action>span{font-size:23px}.extra-action small{display:block;font-size:11px;color:#bba1c9;font-weight:600;margin-top:4px}.danger-button{background:none;color:#b39aaa;font-size:12px;text-decoration:underline;padding:10px;display:block;margin:20px auto 0}.modal{width:min(600px,94vw);max-height:90dvh;overflow:auto;border-radius:25px;padding:32px}.modal>.close-button{position:absolute;top:14px;right:14px}.modal h2{font-size:27px;line-height:1.3;margin:8px 30px 12px 0;letter-spacing:-.7px}.subtitle{font-size:14px;color:#a489b5;line-height:1.75;margin:0 0 20px}.modal-actions{display:flex;gap:11px;margin-top:23px;flex-wrap:wrap}.modal-actions>*{flex:1}.secondary{border:1px solid #e2d1ec;border-radius:12px;background:#f2e8f9;color:#a17bb7;padding:13px 18px;font-size:13px;font-weight:900}.fact-icon{font-size:64px;text-align:center;margin:20px}.fact-text{font-size:18px;color:#9b7baa;line-height:1.85}.part-list{display:flex;gap:7px;flex-wrap:wrap}.part-list button{font-size:12px;color:#a889b7;padding:9px 12px;border:1px solid #e7d8ef;background:#f7effc;border-radius:18px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}.art-card{background:white;border:1px solid #eee2ef;border-radius:20px;overflow:hidden;text-align:left;padding:0;box-shadow:0 6px 20px #75527709}.art-card img{display:block;width:100%;aspect-ratio:1.14;object-fit:cover;background:#f6f1e8}.art-card>div{padding:15px}.art-card b{font-size:15px;color:#a081b0;display:block}.art-card small{font-size:11px;color:#bca3c9;display:block;margin-top:5px}.empty-gallery{text-align:center;padding:55px 20px;grid-column:1/-1}.empty-gallery>span{font-size:65px}.empty-gallery h2{font-size:24px;color:#9875aa}.empty-gallery p{font-size:15px;color:#b197c1}.art-preview{width:100%;border-radius:15px;max-height:360px;object-fit:contain;background:#f6f1e8}.mix-paints{display:flex;gap:17px;justify-content:center;margin:25px 0}.mix-paint{width:57px;height:57px;border:4px solid white;border-radius:50%;box-shadow:0 0 0 1px #e5d5ed}.mix-paint.active{box-shadow:0 0 0 3px #af8fc4}.mix-result{width:95px;height:95px;border-radius:26px;margin:20px auto;display:grid;place-items:center;font-size:33px;background:#eee4f5}.mix-caption{text-align:center;font-size:14px;color:#a081b1;font-weight:900}.help-steps{display:grid;gap:13px;margin:25px 0}.help-step{display:flex;gap:15px;padding:17px;background:#f5ecfa;border-radius:15px}.help-step>span{font-size:29px}.help-step b{font-size:15px;color:#9870ad;display:block}.help-step p{font-size:13px;line-height:1.6;color:#b092c0;margin:5px 0 0}.fine-print{font-size:11px;color:#b397c4;line-height:1.8}#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#5b4174ed;color:white;border-radius:24px;padding:12px 22px;box-shadow:0 5px 20px #3a25472a;font-size:13px;max-width:90vw;transition:.2s;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.scene-error{position:absolute;inset:0;display:grid;place-items:center;background:#f6f1e8;padding:45px;z-index:9;text-align:center;color:#a083a9;line-height:1.8}.brush-badge{font-size:11px;color:#a58baf}
@media(min-width:1600px){.choose-screen,.gallery-screen{max-width:1360px;padding-top:50px}.object-card{min-height:180px;font-size:17px}.object-card .object-icon{font-size:58px}.choose-heading h1{font-size:37px}.paint-dock{width:820px}.swatch{width:39px;height:39px}.quick-colors{gap:16px}.paint-heading{top:32px;left:45px;right:45px}.object-heading h1{font-size:34px}}
@media(max-width:1000px){.header{padding:0 23px;gap:14px}.journey{gap:6px}.journey>span{width:15px}.journey button{font-size:12px;padding:9px}.brand b{font-size:18px}.brand{font-size:12px;gap:9px}.brand-icon{width:41px;height:41px;font-size:35px}.avatar{display:none}.choose-screen,.gallery-screen{padding:30px}.choose-heading h1{font-size:28px}.object-grid{grid-template-columns:repeat(4,1fr)}.object-card{min-height:143px}.gallery-grid{grid-template-columns:repeat(3,1fr)}.paint-dock{width:650px;max-width:calc(100% - 40px)}.quick-colors{gap:10px}.dock-colors>span{display:none}.canvas-labels{left:25px;right:25px}.challenge-card{max-width:210px;left:20px}}
@media(max-width:700px){.header{height:66px;padding:0 16px;gap:10px}.brand{font-size:10px;gap:8px}.brand b{font-size:16px}.brand-icon{font-size:31px;width:36px;height:38px;border-radius:13px}.journey{display:none}.header-actions{gap:8px}.circle{width:33px;height:33px;font-size:17px}.screen{height:calc(100dvh - 66px)}.choose-screen,.gallery-screen{padding:27px 20px 24px}.choose-heading{display:block;margin-bottom:21px}.eyebrow{font-size:9px;letter-spacing:1.1px}.choose-heading h1{font-size:27px;max-width:350px;margin-top:10px}.choose-heading p{font-size:14px;line-height:1.6}.resume{margin-top:17px;font-size:12px;padding:12px 15px}.category-row{margin:0 -20px 17px;padding:2px 20px 9px;gap:7px}.category{font-size:12px;padding:10px 14px}.catalog-status{font-size:12px;margin-bottom:13px}.object-grid{grid-template-columns:repeat(3,1fr);gap:10px}.object-card{min-height:121px;padding:14px 5px;gap:9px;font-size:12px;border-radius:17px}.object-card .object-icon{font-size:40px}.draft-label{font-size:8px;top:6px;right:6px;padding:3px 4px}.catalog-footer{gap:12px;margin-top:22px}.soft-button{font-size:11px;padding:12px}.pagination{gap:8px;font-size:12px}.pagination button{width:32px;height:32px}.paint-heading{left:16px;right:16px;top:21px;gap:9px;align-items:flex-start}.object-heading{position:absolute;left:50%;top:4px;transform:translateX(-50%);width:40%;pointer-events:none}.object-heading h1{font-size:23px;margin-bottom:5px}.object-heading p{font-size:11px;line-height:1.5;max-width:160px;margin:auto}.back-button{font-size:12px;padding:10px 13px;border-radius:11px;min-height:40px}.paint-heading>.primary{font-size:12px;padding:10px 16px;min-height:40px;margin-left:auto;box-shadow:0 3px 0 #4b3183}.paint-dock{bottom:18px;width:calc(100% - 26px);max-width:none;padding:12px 12px 13px;border-radius:21px}.dock-tools{gap:6px;margin-bottom:11px}.mode-switch{gap:2px;padding:3px;border-radius:11px}.mode-switch button{font-size:13px;padding:9px 10px;gap:4px}.dock-icon{width:32px;height:36px;font-size:21px;border-radius:9px}.tools-button{font-size:12px;padding:11px 12px;margin-left:2px;border-radius:10px}.dock-colors{gap:9px;padding-top:12px}.quick-colors{gap:7px;justify-content:space-between}.swatch{width:28px;height:28px;border-width:2px}.more-colors{width:29px;height:29px;font-size:19px}.canvas-labels{bottom:165px;left:19px;right:19px;display:block}.learning-button{font-size:11px;padding:9px 13px}.save-status{position:absolute;right:0;bottom:10px;font-size:9px;max-width:135px;text-align:right}.canvas-side{right:14px;top:43%;gap:6px}.canvas-side button{width:35px;height:35px;font-size:20px}#canvas-host{inset:101px 0 157px}.brush-cursor{display:none}.reference-bar{top:110px;width:240px;padding:12px;font-size:12px}.reference-bar b{font-size:13px}.reference-bar span{font-size:11px}.reference-bar button{font-size:11px}.challenge-card{left:16px;top:113px;max-width:225px;padding:13px 15px;border-radius:14px}.challenge-card p{font-size:12px;margin:5px 0 8px}.challenge-card>span{font-size:8px}.challenge-card button{font-size:10px;padding:6px 8px}.light-switch{bottom:208px;right:17px;font-size:11px;padding:9px 13px}.tools-dialog{width:100%;max-width:100%;height:86dvh;max-height:86dvh;margin:auto 0 0;border-radius:25px 25px 0 0;padding:25px 23px;top:auto;bottom:0}.drawer-heading{margin-bottom:17px}.drawer-heading h2{font-size:25px}.drawer-tabs{margin-bottom:20px}.drawer-tabs button{font-size:13px;padding:10px}.brush-grid{grid-template-columns:repeat(3,1fr)}.brush-card{min-height:72px;padding:11px 5px;font-size:12px}.drawer-done{margin-top:23px;bottom:0}.color-grid{grid-template-columns:repeat(4,1fr);gap:18px}.color-option{font-size:11px}.color-option .swatch{width:40px;height:40px}.modal{padding:28px 23px;width:94vw}.modal h2{font-size:25px}.fact-text{font-size:17px}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:12px}.art-card{border-radius:15px}.art-card>div{padding:12px}.art-card b{font-size:13px}.art-card small{font-size:10px}.gallery-screen .choose-heading>.primary{margin-top:19px;font-size:13px}.modal-actions{gap:9px}.modal-actions>*{min-width:40%;font-size:12px;padding:12px 10px}#toast{bottom:169px;font-size:12px;min-width:220px}.fine-print{font-size:11px}}
@media(max-width:380px){.choose-screen,.gallery-screen{padding:24px 15px}.object-grid{gap:8px}.object-card{min-height:109px;font-size:11px}.object-card .object-icon{font-size:36px}.mode-switch button{padding:9px 8px;font-size:12px}.tools-button{font-size:11px;padding:11px 9px}.quick-colors{gap:5px}.swatch{width:26px;height:26px}.dock-icon{width:28px}.paint-heading{left:12px;right:12px}.object-heading h1{font-size:21px}.back-button{font-size:11px;padding:10px}.save-status{max-width:110px;font-size:8px}}
@media(max-height:600px) and (orientation:landscape){.header{height:57px}.screen{height:calc(100dvh - 57px)}.paint-heading{top:12px}.object-heading h1{font-size:22px}.object-heading p{font-size:11px}.paint-dock{bottom:12px;padding:8px 13px;width:620px;max-width:calc(100% - 140px)}.dock-tools{margin-bottom:7px}.mode-switch button{padding:6px 12px;font-size:12px}.tools-button{padding:8px 13px}.dock-colors{padding-top:8px}.swatch{width:28px;height:28px}.dock-icon{height:30px;font-size:20px}#canvas-host{inset:50px 0 118px}.canvas-labels{bottom:130px}.save-status{display:none}.learning-button{font-size:10px;padding:8px 12px}.canvas-side{right:15px}.choose-screen{padding-top:20px}.object-card{min-height:118px}.tools-dialog{height:100dvh;max-height:100dvh;width:370px;margin:0 0 0 auto;border-radius:20px 0 0 20px}.challenge-card{top:85px;max-width:195px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Readable labels and generous touch targets, while keeping the canvas quiet. */
.journey button,.choose-heading p,.category,.catalog-status,.catalog-status b,.pagination{color:#6f5c81}
.category.active{color:#fff}.object-card,.object-card:nth-child(4n+2),.object-card:nth-child(4n+3),.object-card:nth-child(4n+4){color:#57455d}
.eyebrow,.draft-label,.resume,.soft-button{color:#775587}.object-heading p,.save-status,.dock-colors>span{color:#746579}
.back-button,.learning-button,.canvas-side button,.light-switch{color:#725d46}.mode-switch button,.tools-button,.dock-icon,.more-colors{color:#715080}
.brush-card,.drawer-tabs button,.section-title,.option-button,.slider-label,.switch-row,.color-option,.secondary,.subtitle,.fact-text,.part-list button,.fine-print,.help-step p,.art-card small{color:#715c81}
.circle{color:#725386}.gallery-shortcut{display:none}.brush-hint{color:#725f80}.art-card b{color:#614674}
@media(max-width:700px){.gallery-shortcut{display:block}.circle{width:36px;height:36px}.object-card{font-size:14px}.save-status{font-size:10px}.swatch:before{content:'';position:absolute;inset:-6px;border-radius:50%}.quick-colors{gap:8px}.object-heading p{font-size:12px}.canvas-side button{width:40px;height:40px}}
@media(max-width:360px){.header{padding:0 10px}.header-actions{gap:5px}.brand-icon{display:none}.quick-colors{gap:4px}.swatch{width:25px;height:25px}}

#canvas-host canvas{user-select:none;-webkit-user-select:none;cursor:crosshair}#canvas-host canvas[data-tool="rotate"]{cursor:grab}#canvas-host canvas[data-tool="rotate"]:active{cursor:grabbing}#canvas-host canvas[data-tool="picker"]{cursor:copy}
