@media (pointer:coarse){.atelier .at-part-colors button{min-width:44px;min-height:44px}.atelier .at-part-colors{gap:7px}.atelier .at-part-colors>span{flex-basis:100%}.atelier .at-colors{grid-template-columns:repeat(5,minmax(44px,1fr))}.atelier .at-colors button,.atelier .at-custom-color{min-width:44px;min-height:44px}.atelier .at-range input[type=range],.atelier .at-part-tabs button{min-height:48px}.atelier .at-close{min-width:44px;min-height:44px}}.atelier .at-brand{margin-right:0}.atelier .at-modes{margin-inline:auto}.atelier .at-presets{border-bottom:1px solid #f1ebf2;padding-bottom:.4em}.atelier .at-preset-row img{height:clamp(60px,4.2vw,145px)}.modal-backdrop:has(.atelier){-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff8e8;padding:0}.drawing-modal:has(.atelier){width:100vw;max-width:none;height:100svh;box-shadow:none;border-radius:0;overflow:hidden}.drawing-stage.atelier{--at-ink:#423353;--at-muted:#776c83;--at-purple:#7861d5;--at-orange:#f77a51;--at-line:#eee9f0;width:100%;height:100%;color:var(--at-ink);background:radial-gradient(at 98% 100%,#e3dcfc 0,#0000 24%),radial-gradient(at 0 100%,#e6f0ce 0,#0000 20%),#fff8e9;gap:clamp(12px,1.1vw,32px);padding:clamp(12px,1.25vw,40px);font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:clamp(14px,.95vw,27px);display:flex;position:relative}.atelier button{color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:700;transition:background .14s,border-color .14s,box-shadow .14s}.atelier button:disabled{opacity:.38;cursor:default}.atelier button:focus-visible{outline-offset:3px;outline:3px solid #453895}.atelier .atelier-icon{flex-shrink:0;width:1.6em;height:1.6em;display:block}.atelier h2{margin:.2em 0;font-size:1.45em}.atelier h3{margin:0 0 .65em;font-size:1em}.atelier input{accent-color:var(--at-purple)}.at-header{flex:none;align-items:center;gap:1.2vw;min-height:clamp(65px,5vw,150px);display:flex}.at-brand{white-space:nowrap;align-items:center;gap:.25em;margin-right:auto;display:flex}.at-brand>svg{flex:none;width:clamp(48px,4.5vw,150px);height:auto}.at-brand strong{letter-spacing:.035em;color:#362560;font-size:clamp(23px,2.1vw,72px);font-weight:900;display:block}.at-brand small{letter-spacing:.15em;color:#8a7e98;margin-top:.25em;font-size:.72em;display:block}.at-modes{gap:.7em;display:flex}.at-modes button{white-space:nowrap;background:#f5f4f9;border:3px solid #fff;border-radius:1em;justify-content:center;align-items:center;gap:.45em;min-height:clamp(52px,4.3vw,145px);padding:.6em 1em;font-size:1.28em;display:flex;box-shadow:0 3px #e9e4df}.at-modes button.active{color:#e96237;background:#fff;border-color:#fb845a;box-shadow:0 0 0 3px #fff,0 5px 12px #f0c6a970}.at-modes button.active .atelier-icon{fill:#ff946033}.at-orientation{background:#f0eff4;border:2px solid #fff;border-radius:2em;gap:.1em;padding:.3em;display:flex}.at-orientation button{white-space:nowrap;color:#7d778a;border:0;border-radius:1.5em;align-items:center;gap:.3em;min-height:44px;padding:.55em .7em;display:flex}.at-orientation button.active{color:#fff;background:#fa865f;box-shadow:inset 0 2px #ffbe96}.at-close{background:#fff9;border:0;border-radius:50%;flex:none;place-items:center;width:44px;min-width:44px;height:44px;display:grid}.at-body{flex:1;grid-template-columns:clamp(74px,7vw,235px) minmax(0,1fr) minmax(330px,34%);gap:clamp(12px,1vw,32px);min-height:0;display:grid}.at-tools{background:#fff;border-radius:1.7em;flex-direction:column;gap:.55em;min-height:0;padding:.7em;display:flex;overflow:auto;box-shadow:0 4px 16px #ddc9b21c}.at-tools button{background:#f6f5f9;border:2px solid #0000;border-radius:1em;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.1em;min-height:62px;padding:.2em;display:flex}.at-tools button.active{background:#f2edff;border-color:#8872ec;box-shadow:inset 0 0 0 2px #fff}.tool-art{width:clamp(42px,4vw,132px);max-height:9vh;display:block}.at-tools .atelier-icon{width:2em;height:2em}.at-tool-divider{background:#f1edf2;flex:none;height:2px;margin:.05em .4em}.at-center{flex-direction:column;gap:.45em;min-width:0;min-height:0;display:flex}.at-canvas-area{background:#fff4df66;border-radius:1.6em;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:visible;container-type:size}.at-sheet{isolation:isolate;border-radius:1.4em;flex:none;position:relative;overflow:hidden;box-shadow:0 5px 26px #c5a97d1c}.at-sheet.landscape{width:min(100cqw,150cqh);height:min(100cqh,66.6667cqw)}.at-sheet.portrait{width:min(100cqw,66.6667cqh);height:min(100cqh,150cqw)}.at-art-layer{pointer-events:none;position:absolute;inset:0}.at-art-layer img{-webkit-user-select:none;user-select:none;max-width:none;display:block}.at-sheet canvas{touch-action:none;cursor:crosshair;z-index:1;width:100%;height:100%;display:block;position:absolute;inset:0}.at-piece-target{z-index:2;background:0 0;border:2px solid #0000;padding:0;touch-action:none!important}.at-piece-target.selected{border:2px dashed #9785db;border-radius:.4em}.at-piece-target.selected>span{white-space:nowrap;color:#fff;background:#7963c8;border-radius:.5em;padding:.2em .6em;font-size:.75em;position:absolute;top:-1.8em;left:50%;transform:translate(-50%)}.at-piece-target i{background:#fff;border:2px solid #8e79d4;border-radius:50%;width:10px;height:10px;position:absolute}.at-piece-target i:first-child{top:-6px;left:-6px}.at-piece-target i:nth-child(2){top:-6px;right:-6px}.at-piece-target i:nth-child(3){bottom:-6px;left:-6px}.at-piece-target i:nth-child(4){bottom:-6px;right:-6px}.at-empty{pointer-events:none;color:#a292a6;justify-items:center;gap:.7em;font-size:.9em;display:grid;position:absolute}.at-empty>.atelier-icon{color:#d0b56b;width:3em;height:3em}.at-canvas-caption{color:#8b7b82;white-space:nowrap;justify-content:space-between;gap:12px;padding:.3em .5em;font-size:.72em;display:flex}.at-actions{flex:none;align-items:stretch;gap:.6em;padding:.25em .4em;display:flex}.at-actions button{color:#66509e;background:#e4d9ff;border:3px solid #fff8;border-radius:2em;justify-content:center;align-items:center;gap:.3em;min-height:clamp(52px,4.8vw,146px);padding:.6em .9em;font-size:1.1em;display:flex;box-shadow:inset 0 2px #fff9}.at-actions button:nth-child(2){color:#347c67;background:#cfefdc}.at-actions button:nth-child(3){color:#68768d;background:#edf0f4}.at-actions .at-done{color:#fff;white-space:nowrap;background:#fa8259;border:3px solid #ffc6a6;flex:1;margin-left:auto;padding-inline:.9em;font-size:1.4em;box-shadow:inset 0 3px #ffa581,0 3px #fff}.at-library{background:#fff;border-radius:1.7em;flex-direction:column;min-height:0;padding:.85em;display:flex;overflow:hidden;box-shadow:0 4px 16px #ddc9b21c}.at-library-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5cede transparent;flex:1;min-height:0;padding-right:.3em;overflow:auto}.at-groups{z-index:3;background:#fff;grid-template-columns:repeat(4,1fr);gap:.4em;padding-bottom:.7em;display:grid;position:sticky;top:0}.at-groups button{background:#f5f4f8;border:0;border-radius:.9em;justify-content:center;align-items:center;gap:.25em;min-height:48px;padding:.65em .3em;display:flex}.at-groups button.active{color:#fff;background:#8166e5;box-shadow:inset 0 2px #ad98ff}.at-groups .atelier-icon{width:1.45em;height:1.45em}.at-section-heading{justify-content:space-between;align-items:center;gap:1em;margin:.7em 0;display:flex}.at-section-heading>span{color:#8b8194;font-size:.68em}.at-kicker{color:#998a9d;letter-spacing:.08em;font-size:.72em}.at-preset-row{grid-template-columns:repeat(4,1fr);gap:.45em;display:grid}.at-preset-row button{background:#fffaf0;border:1px solid #eee8ef;border-radius:.8em;padding:.2em}.at-preset-row img{object-fit:contain;width:100%;height:clamp(76px,7vw,230px);display:block}.at-preset-row span{white-space:nowrap;color:#756679;margin:.3em 0;font-size:.65em;display:block}.at-part-tabs{z-index:2;background:#fff;gap:.2em;margin-top:.5em;padding:.65em 0;display:flex;position:sticky;top:3.7em;overflow:auto}.at-part-tabs button{white-space:nowrap;color:#7b6f86;background:#f5f3f8;border:0;border-radius:1.4em;flex:1;min-height:44px;padding:.3em .45em;font-size:.77em}.at-part-tabs button.active{color:#fff;background:#8c75e6}.at-part-section{padding:.4em 0 .7em;scroll-margin-top:8em}.at-part-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:.4em;display:grid}.at-part-options button{aspect-ratio:1.12;background:#f8f7fa;border:2px solid #efedf3;border-radius:.7em;min-width:0;min-height:58px;padding:.4em;position:relative}.at-part-options button.chosen{background:#f6f0ff;border-color:#9076ed;box-shadow:inset 0 0 0 2px #fff}.at-part-options img{object-fit:contain;width:100%;height:100%;display:block}.at-tick{color:#fff;background:#8971db;border-radius:.45em 0;width:1em;height:1em;position:absolute;bottom:0;right:0}.at-tick .atelier-icon{width:100%;height:100%}.at-part-colors{flex-wrap:wrap;align-items:center;gap:.55em;margin-top:.5em;padding:.2em;display:flex}.at-part-colors>span{color:#998b9a;font-size:.68em}.at-part-colors button{border:2px solid #fff;border-radius:50%;outline:1px solid #eae4ed;width:clamp(26px,2vw,58px);min-width:26px;height:clamp(26px,2vw,58px)}.at-part-colors button:hover{outline:2px solid #8971db}.at-scene-grid,.at-trace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7em;margin:1em 0;display:grid}.at-scene-grid button,.at-trace-grid button{background:#fffaf1;border:2px solid #eee9ef;border-radius:1em;justify-items:center;gap:.3em;padding:.45em;display:grid}.at-scene-grid img,.at-trace-grid img{object-fit:contain;width:100%;height:clamp(90px,8vw,260px)}.at-scene-grid span,.at-trace-grid span{font-size:.9em}.at-trace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-trace-grid img{height:clamp(120px,11vw,340px)}.at-trace-grid small{color:#9a8c9d;font-size:.65em}.at-trace-grid .chosen{background:#f6f0ff;border-color:#9981e7}.at-scene-presets{gap:.7em;display:grid}.at-scene-presets button{background:#f8f7fa;border:1px solid #eee7ef;border-radius:1em;gap:.3em;padding:.6em;display:grid}.at-scene-presets button>span{justify-content:center;display:flex}.at-scene-presets img{object-fit:contain;width:30%;height:7em}.at-scene-presets small{color:#9a859f}.at-guide-controls{background:#f6f2fc;border-radius:1em;gap:.5em;padding:.8em;display:grid}.at-guide-controls label{align-items:center;gap:.5em;display:flex}.at-guide-controls input[type=checkbox]{width:22px;height:22px}.at-selection{background:#fff;border-top:1px solid #eee5f1;flex:none;padding:.7em .2em 0}.at-selection>div:first-child{justify-content:space-between;align-items:center;gap:1em;display:flex}.at-selection>div:first-child>span{color:#9b8b9e;font-size:.65em}.at-object-actions{grid-template-columns:repeat(4,1fr);gap:.3em;margin-top:.4em;display:grid}.at-object-actions button{background:#f4f0f8;border:0;border-radius:.6em;justify-content:center;align-items:center;gap:.2em;min-height:44px;padding:.5em .3em;font-size:.8em;display:flex}.at-object-actions .atelier-icon{width:1.25em;height:1.25em}.at-brush-popover{z-index:10;background:#fffefa;border:1px solid #e5dcec;border-radius:1.3em;width:clamp(300px,23vw,700px);max-width:96%;max-height:96%;padding:1.1em;position:absolute;top:1em;left:0;overflow:auto;box-shadow:0 14px 46px #53406733}.at-brush-popover:before{content:"";background:#fffefa;border-bottom:1px solid #e5dcec;border-left:1px solid #e5dcec;width:16px;height:16px;position:absolute;top:28px;left:-9px;transform:rotate(45deg)}.at-setting-title{justify-content:space-between;align-items:center;gap:1em;font-size:1.05em;display:flex}.at-setting-title button{background:#f1edf7;border:0;border-radius:.6em;place-items:center;width:44px;height:44px;display:grid}.at-stroke-preview{background:#f7f3ee;border-radius:.8em;width:100%;height:4.5em;margin:.6em 0;display:block}.at-range{flex-wrap:wrap;align-items:center;gap:.3em;margin:.65em 0;font-size:.82em;display:flex}.at-range output{color:#9281b5;margin-left:auto}.at-range input[type=range]{cursor:pointer;touch-action:pan-x;width:100%;min-height:32px}.at-size-presets{grid-template-columns:repeat(4,1fr);gap:.45em;margin:.5em 0 1em;display:grid}.at-size-presets button{background:#faf8fd;border:2px solid #eee7f3;border-radius:.8em;place-items:center;height:52px;display:grid}.at-size-presets button.chosen{background:#eee7ff;border-color:#9b85e3}.at-size-presets i{background:#695080;border-radius:50%;display:block}.at-field-label{margin:.7em 0;font-size:.85em;display:block}.at-colors{grid-template-columns:repeat(6,1fr);gap:.55em;padding:.2em;display:grid}.at-colors button,.at-custom-color{aspect-ratio:1;border:3px solid #fff;border-radius:50%;outline:1px solid #e6deeb;width:100%;max-width:60px;min-height:32px}.at-colors button.chosen{outline:3px solid #8c74cb}.at-custom-color{background:conic-gradient(#e88d99,#eed66a,#78b997,#8ca8da,#e88d99);place-items:center;display:grid;position:relative}.at-custom-color input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.at-help{color:#95869a;margin:.7em 0;font-size:.78em;line-height:1.8}.at-free-art{background:#faf6ee;border-radius:1em;justify-items:center;margin:1em 0;padding:1.4em .4em;display:grid}.at-free-art .tool-art{width:8em;max-height:none}.at-free-art p{color:#95869a;text-align:center;font-size:.8em;line-height:1.7}.at-paper{margin-top:1.3em}.at-switch-library{background:#f3eaff;border:0;border-radius:.8em;justify-content:space-between;align-items:center;gap:.4em;width:100%;margin-top:1.3em;padding:.9em;display:flex;font-size:.85em!important}.at-confirm{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#44314d66;place-items:center;display:grid;position:absolute;inset:0}.at-confirm>div{text-align:center;background:#fffaf0;border-radius:1.5em;max-width:90%;padding:2em;box-shadow:0 20px 50px #44314d33}.at-confirm>div>.atelier-icon{color:#ab82b9;width:3em;height:3em;margin:auto}.at-confirm p{color:#8b7b91;font-size:.85em;line-height:1.8}.at-confirm button{background:#ece6f5;border:0;border-radius:1em;min-height:48px;margin:.5em;padding:.7em 1.2em}.at-confirm button:last-child{color:#fff;background:#fb8d69}@media (min-width:2200px){.at-close{width:72px;height:72px}.at-orientation button{min-height:72px}.at-tools{gap:.7em}.at-size-presets button{height:88px}.at-part-options{gap:.6em}.at-part-colors button{min-width:44px;min-height:44px}.at-setting-title button{width:64px;height:64px}.at-range input[type=range]{min-height:48px}}@media (max-width:1100px){.at-brand small{display:none}.at-brand strong{font-size:22px}.at-brand>svg{width:44px}.at-modes button{padding:.6em .7em;font-size:1.1em}.at-orientation button{padding:.5em;font-size:.8em}.at-body{grid-template-columns:68px minmax(0,1fr) 310px;gap:10px}.at-tools{padding:6px}.at-actions{gap:5px;padding:0}.at-actions button{padding:.5em .65em;font-size:.9em}.at-actions .at-done{font-size:1em}.at-actions button:nth-child(3){padding:10px;font-size:0}.at-actions button:nth-child(3) .atelier-icon{width:22px;height:22px}.at-canvas-caption{white-space:normal}.at-library{padding:10px}.at-groups button{font-size:12px}.at-part-tabs button{min-width:40px;padding:4px;font-size:12px}.at-part-colors{gap:7px}.at-part-options{gap:4px}.at-part-options button{min-height:46px}.at-preset-row span{font-size:9px}.at-section-heading>span{font-size:10px}}@media (max-width:900px){.drawing-stage.atelier{gap:8px;padding:8px;font-size:14px}.at-header{flex-wrap:wrap;gap:7px;min-height:0}.at-brand{margin-right:auto}.at-brand strong{font-size:21px}.at-brand>svg{width:38px}.at-orientation{order:0;margin-left:auto}.at-close{order:0;width:36px;min-width:36px;height:36px}.at-modes{order:1;gap:8px;width:100%}.at-modes button{flex:1;min-height:44px;padding:.45em}.at-body{grid-template-rows:minmax(200px,1fr) minmax(180px,.8fr);grid-template-columns:54px minmax(0,1fr);gap:8px}.at-tools{border-radius:16px;grid-area:1/1/3;justify-content:flex-start;gap:6px}.at-tools button{flex:0 0 68px;min-height:60px}.tool-art{width:39px;max-height:none}.at-tools span{font-size:10px}.at-center{grid-area:1/2}.at-library{border-radius:18px;grid-area:2/2;padding:10px}.at-canvas-caption{font-size:10px}.at-canvas-caption span:first-child{display:none}.at-actions button{min-height:44px;padding:8px;font-size:0}.at-actions button .atelier-icon{width:20px;height:20px}.at-actions .at-done{padding:7px;font-size:12px}.at-done>.atelier-icon:first-child{display:none}.at-preset-row img{height:80px}.at-part-tabs{top:3.8em}.at-part-options button{aspect-ratio:1.4}.at-selection{font-size:12px}.at-brush-popover{width:290px;max-height:100%;padding:12px;top:0}.at-brush-popover .at-stroke-preview{height:34px}.at-brush-popover .at-size-presets{margin:4px 0}.at-brush-popover .at-size-presets button{height:40px}.at-brush-popover .at-help{display:none}.at-colors{grid-template-columns:repeat(7,1fr)}.at-trace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.at-trace-grid img{height:90px}.at-trace-grid small{display:none}}.at-sheet{touch-action:none;-webkit-user-select:none;user-select:none}.atelier .at-range input[type=range]{touch-action:none;accent-color:#8c74cb;-webkit-appearance:none;appearance:none;background:0 0;min-height:48px}.atelier .at-range input[type=range]::-webkit-slider-runnable-track{background:#e5dcef;border-radius:8px;height:10px}.atelier .at-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#8c74cb;border:3px solid #fff;border-radius:50%;width:32px;height:32px;margin-top:-11px;box-shadow:0 1px 5px #59403944}.atelier .at-range input[type=range]::-moz-range-track{background:#e5dcef;border-radius:8px;height:10px}.atelier .at-range input[type=range]::-moz-range-thumb{background:#8c74cb;border:3px solid #fff;border-radius:50%;width:26px;height:26px}.at-style-tabs{gap:.4em;margin-bottom:.7em;display:flex}.at-style-tabs button{background:#faf7ff;border:2px solid #eee7f6;border-radius:.8em;flex:1;min-height:48px;padding:.6em .2em}.at-style-tabs button[aria-pressed=true]{color:#fff;background:#8670d7;border-color:#8670d7}.child-materials{color:#4e4366;padding:3px 2px 16px}.child-library-title{justify-content:space-between;align-items:center;margin:0 0 14px;display:flex}.child-library-title h2{margin:4px 0;font-size:23px;font-weight:800;line-height:1.25}.child-library-title>span{color:#f4b952;font-size:36px}.child-library-title div>span{color:#8b80a0;font-size:12px}.child-style-buttons{scrollbar-width:thin;gap:6px;padding:2px 0 10px;display:flex;overflow-x:auto}.child-style-buttons button{color:#6c6088;touch-action:manipulation;background:#fff;border:1px solid #e4def1;border-radius:13px;flex:none;min-width:52px;min-height:43px;padding:8px 10px;font-size:14px;font-weight:700}.child-style-buttons button[aria-pressed=true]{color:#fff;background:#8470dc;border-color:#8470dc;box-shadow:0 3px #6552b7}.child-category-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:5px 0 10px;display:grid}.child-category-buttons button{color:#786b91;touch-action:manipulation;background:#faf8fd;border:1px solid #ece6f4;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:57px;font-size:13px;font-weight:700;display:flex}.child-category-buttons button>span{font-size:20px;line-height:23px}.child-category-buttons button[aria-pressed=true]{color:#7a561e;background:#fff0d9;border:2px solid #efb953}.child-material-hint{color:#8a7b9e;margin:10px 0;font-size:12px;line-height:1.5}.child-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.child-asset-grid>button{color:#645579;touch-action:manipulation;background:#fff;border:1px solid #ede7f4;border-radius:16px;flex-direction:column;gap:5px;min-width:0;padding:7px;transition:transform .12s,border-color .12s;display:flex}.child-asset-grid>button:active{border-color:#a391e0;transform:scale(.96)}.child-asset-grid>button>span:last-child{font-size:12px;font-weight:700;line-height:20px}.child-asset-picture{background:#f6f3fb;border-radius:11px;justify-content:center;align-items:center;width:100%;height:106px;display:flex;overflow:hidden}.child-asset-picture img{object-fit:contain;max-width:95%;max-height:95%;display:block}.child-asset-picture.is-scene img{object-fit:cover;width:100%;max-width:100%;height:100%;max-height:100%}.child-more{color:#746394;background:#f7f3ff;border:1px solid #e6dff2;border-radius:13px;width:100%;min-height:46px;margin-top:12px;font-weight:700}@media (max-width:900px){.child-library-title h2{font-size:20px}.child-category-buttons{gap:5px}.child-category-buttons button{font-size:12px}.child-asset-picture{height:90px}}.drawing-stage.atelier{overscroll-behavior:none;gap:8px;height:100dvh;padding:8px}.at-header .at-brand>svg{width:44px}.at-header .at-brand strong{font-size:22px}.at-header .at-brand small{font-size:10px}.at-library-toggle{color:#746191;white-space:nowrap;background:#fff;border:1px solid #dcd3ee;border-radius:12px;min-height:44px;margin-left:auto;padding:8px 12px;font-weight:700}.at-body{grid-template-columns:68px minmax(0,1fr) 300px;gap:12px;position:relative}.library-closed .at-body{grid-template-columns:68px minmax(0,1fr)}.at-library[hidden]{display:none!important}.at-library-dismiss{color:#77628f;background:#f7f3fd;border:1px solid #e8e0f4;border-radius:12px;flex:none;min-height:43px;margin:0 0 10px;font-weight:700}.at-canvas-area{box-sizing:border-box;border-radius:8px;padding:8px}.at-sheet{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:2px}.at-sheet canvas{touch-action:none}.at-tools{border-radius:16px;padding:6px}.at-tools button{min-height:56px}.tool-art{width:45px;max-height:64px}.at-actions button{min-height:46px;padding:7px 12px;font-size:15px}.at-actions .at-done{flex:none;min-width:200px;font-size:17px}.at-canvas-caption{min-height:15px;padding:0 8px;font-size:11px}.at-library{border-radius:16px;padding:10px}@media (max-width:1100px){.at-brand small{display:none}.at-brand strong{font-size:18px!important}.at-brand>svg{width:34px!important}.at-header{gap:6px}.at-modes button{padding:7px 9px;font-size:15px}.at-library-toggle{padding:6px 8px;font-size:12px}.at-body{grid-template-columns:60px minmax(0,1fr) 270px}.library-closed .at-body{grid-template-columns:60px minmax(0,1fr)}.at-orientation button{font-size:11px}.at-actions .at-done{min-width:0;font-size:15px}.at-library{padding:8px}}@media (max-width:900px){.at-header{flex-wrap:wrap}.at-brand{margin-right:0}.at-modes{order:2}.at-library-toggle{order:0}.at-body,.library-closed .at-body{grid-template-rows:minmax(0,1fr);grid-template-columns:54px minmax(0,1fr);gap:10px}.at-tools{grid-area:1/1}.at-center{grid-area:1/2}.at-library{z-index:10;border:1px solid #ebe3f6;grid-area:auto;width:min(320px,76vw);position:absolute;top:0;bottom:0;right:0;box-shadow:-10px 0 30px #41336625}.at-canvas-area{padding:6px}.at-actions button{min-height:44px;padding:7px;font-size:0}.at-actions .at-done{font-size:13px}.at-canvas-caption span:first-child{font-size:9px;display:block}.at-tools button{flex:1;min-height:52px}.tool-art{width:36px;max-height:50px}}.drawing-stage.atelier{gap:4px;padding:4px}.at-header{gap:6px;min-height:44px}.at-header .at-brand{display:none}.at-modes button{min-height:44px;padding:5px 10px;font-size:15px}.at-header .at-modes{margin-inline:0 auto}.at-orientation{border:0;padding:0}.at-orientation button{min-height:44px;padding:5px 9px}.at-body,.library-closed .at-body{grid-template-rows:minmax(0,1fr);grid-template-columns:56px minmax(0,1fr);gap:4px}.at-center{grid-area:1/2;gap:0}.at-canvas-area{background:#fff;border-radius:0;padding:0}.at-sheet{box-shadow:none;border-radius:0}.at-canvas-caption{display:none}.at-tools{border-radius:10px;grid-area:1/1;gap:4px;padding:3px}.at-tools .tool-art{width:38px;max-height:50px}.at-tools span{font-size:11px}.at-actions{gap:4px;padding:2px 0 0}.at-actions button,.at-actions .at-done{min-height:44px;padding:4px 10px;font-size:14px}.at-library{z-index:10;border:1px solid #ebe3f6;grid-area:auto;width:min(320px,76vw);position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 24px #41336625}@media (max-width:900px){.at-header .at-modes{flex:1;order:0;gap:4px;width:auto}.at-modes button{padding:4px 7px;font-size:13px}.at-modes .atelier-icon{display:none}.at-header{flex-wrap:nowrap}.at-orientation button,.at-library-toggle{padding:4px 6px;font-size:11px}.at-actions button{font-size:12px}.at-actions .at-done{font-size:13px}}@media (max-width:600px){.at-header{flex-wrap:wrap}.at-header .at-modes{flex-basis:55%}.at-orientation{order:2}.at-library-toggle{order:2;margin-left:auto}.at-close{margin-left:auto}.at-body,.library-closed .at-body{grid-template-columns:48px minmax(0,1fr)}}.child-character-preview{flex:none;width:100px;height:100px;display:block;position:relative}.child-fit-toggle{background:#f8f5fd;border:1px solid #e7dff3;border-radius:10px;min-height:40px;margin-bottom:8px;padding:6px 10px;font-size:12px!important}.at-library-scroll{scroll-padding-top:8px}.at-library .at-object-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.child-assembly-modes{gap:6px;margin:0 0 10px;display:flex}.child-assembly-modes button{background:#faf8fd;border:1px solid #e1d8f1;border-radius:11px;flex:1;min-height:44px;font-size:14px}.child-assembly-modes button[aria-pressed=true]{color:#fff;background:#8470dc;border-color:#8470dc}.at-library{bottom:48px}.at-preset-row img{object-fit:contain;min-height:130px}.at-part-options{grid-template-columns:repeat(3,minmax(0,1fr))}.at-part-options img{object-fit:contain;padding:12px}.at-material-error{color:#822e26;background:#fff0e6;border-radius:12px;padding:14px;line-height:1.7}.at-material-error button{min-height:48px;margin-top:8px;display:block}.at-scene-bundle{color:#493b61;background:#fff;border:1px solid #e2dbee;border-radius:16px;width:100%;min-height:130px;padding:12px;font-size:16px}.at-scene-bundle>span{justify-content:center;display:flex}.at-scene-bundle img{object-fit:contain;width:30%;height:94px}.at-lesson-list{grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0;display:grid}.at-lesson-list button,.at-lesson-steps button{color:#493b61;background:#f7f4fa;border:2px solid #0000;border-radius:14px;min-height:48px;padding:8px;font-size:16px;position:relative}.at-lesson-list img,.at-lesson-steps img{aspect-ratio:1;object-fit:contain;border-radius:8px;width:100%;display:block}.at-lesson-list button[aria-pressed=true],.at-lesson-steps button[aria-pressed=true]{background:#eee7ff;border-color:#8c73d9}.at-lesson-steps{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.at-lesson-steps span{color:#fff;background:#7761ba;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;bottom:8px;left:8px}.at-lesson-instruction{margin:16px 0;font-size:18px;line-height:1.7;display:block}.at-lesson-navigation{justify-content:space-between;align-items:center;gap:12px;display:flex}.at-lesson-navigation button{color:#fff;background:#7761ba;border:0;border-radius:14px;min-height:48px;padding:12px 20px;font-size:16px}.at-lesson-navigation button:disabled{opacity:.4}.at-part-options button{touch-action:manipulation}.at-lesson-current{z-index:4;background:#fff;border-bottom:1px solid #eee7f6;margin-bottom:10px;padding:8px 0 16px;position:sticky;top:0}.at-lesson-current .at-lesson-instruction{margin:4px 0 10px}.at-preset-row{grid-template-columns:repeat(3,minmax(0,1fr))}.drawing-stage.atelier{box-sizing:border-box;flex-direction:column;max-height:100dvh;overflow:hidden}.atelier *{box-sizing:border-box}.at-header,.at-body,.at-library{min-width:0}.atelier .at-part-options{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier .at-part-options button{place-items:center;display:grid;overflow:hidden}.atelier .at-part-options img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0}.atelier .at-preset-row{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier .at-preset-row img{object-fit:contain;height:clamp(85px,10vh,170px);min-height:0}.atelier .at-lesson-steps img{aspect-ratio:auto;object-fit:contain;height:clamp(80px,16vh,220px)}.at-art-layer img{object-fit:contain;height:auto}.at-library-scroll{overflow-x:hidden}.atelier .at-lesson-navigation button{flex-shrink:0}.atelier .at-canvas-caption{white-space:normal}.drawing-modal:has(.atelier){height:100dvh}.at-editable-characters{background:#fff;border:1px solid #e4dcee;border-radius:16px;margin-bottom:12px;padding:12px}.at-editable-characters summary{cursor:pointer;padding:12px;font-weight:700}.at-editable-characters label{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.at-editable-characters select,.at-editable-characters input:not([type=color]){flex:1;max-width:100%;min-height:44px}.at-editable-characters button,.at-project-controls button{color:#463758;background:#f8f4ff;border:1px solid #ded5eb;border-radius:12px;min-height:44px;margin:3px;padding:8px 12px}.at-character-preview{object-fit:contain;background:#faf8fc;border-radius:16px;width:100%;height:210px}.at-palette-versions{gap:8px;display:flex;overflow-x:auto}.at-palette-versions>div{text-align:center;flex:0 0 110px;min-width:110px}.at-palette-versions img{object-fit:contain;width:100%;height:125px}.at-project-controls{border-bottom:1px solid #e4dcee;padding:8px}.at-project-controls span{padding:5px;font-size:13px;display:block}
