.design-canvas-overlay{position:fixed;inset:0;z-index:1500;display:flex;align-items:center;justify-content:center;padding:24px;background:#31251dd1;backdrop-filter:blur(8px);color:#49372d;font-family:inherit}.dc-dialog{width:min(1050px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ead7c2;border-radius:28px;background:#fffaf3;box-shadow:0 28px 100px #20160d42}.dc-dialog button,.dc-dialog input{font:inherit}.dc-dialog button{cursor:pointer;touch-action:manipulation}.dc-dialog button:focus-visible,.dc-dialog input:focus-visible,.dc-preview:focus-visible{outline:3px solid #ad6039;outline-offset:3px}.dc-dialog button:disabled{cursor:default;opacity:.45}.dc-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid #ecdfd0;flex-shrink:0}.dc-header p{margin:0 0 5px;font-size:12px;letter-spacing:.07em;color:#95745c}.dc-header h2{margin:0;font-size:25px;line-height:1.3}.dc-close{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e7d6c2;border-radius:50%;background:#fffdf9;color:#79583e;font-size:29px!important;line-height:1}.dc-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);min-height:0;overflow:hidden}.dc-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;padding:24px;background:linear-gradient(145deg,#f1e6d6,#f9f2e7)}.dc-canvas-caption{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:16px;font-size:13px;color:#92765f}.dc-canvas-caption strong{color:#65442f;font-size:16px;font-variant-numeric:tabular-nums}.dc-stage{display:flex;align-items:center;justify-content:center;min-height:120px;flex:1;overflow:hidden}.dc-artboard{position:relative;width:min(100%,440px);max-height:100%;aspect-ratio:1;box-shadow:0 9px 26px #76543723;background-color:#fffdf9;background-image:linear-gradient(45deg,#e9e4db 25%,transparent 25%),linear-gradient(-45deg,#e9e4db 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9e4db 75%),linear-gradient(-45deg,transparent 75%,#e9e4db 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.dc-preview{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.dc-preview:active{cursor:grabbing}.dc-guides{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dc-hint{margin:16px 0 13px;text-align:center;font-size:12px;line-height:1.6;color:#8b705c}.dc-history{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center}.dc-history button{border:1px solid #ddcbb6;border-radius:10px;background:#fffbf5;padding:8px 13px;color:#725037;font-size:13px}.dc-history span{width:100%;font-size:11px;color:#a08a76;text-align:center;margin-top:2px}.dc-panel{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 24px 20px;scrollbar-width:thin;scrollbar-color:#d9c2aa transparent}.dc-section{padding:19px 0 18px;border-bottom:1px solid #ecdfd0}.dc-section:last-child{border-bottom:0}.dc-section h3{font-size:15px;margin:0 0 11px;font-weight:700}.dc-section h3 small{font-size:11px;font-weight:400;color:#a08670;margin-left:5px}.dc-note{font-size:11px;color:#9c826c;line-height:1.7;margin:8px 0 0}.dc-presets,.dc-segments{display:flex;gap:7px}.dc-presets button,.dc-segments button,.dc-layer-actions button,.dc-layer-list button{border:1px solid #e3d1ba;background:#fffdf9;border-radius:10px;padding:9px 11px;color:#79583e;font-size:13px}.dc-presets button{flex:1}.dc-dialog button[aria-pressed=true]{border-color:#e78d5a;background:#fff0df;color:#8a4a25;box-shadow:inset 0 0 0 1px #e78d5a}.dc-size-fields{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:12px;color:#94765c}.dc-size-fields label{display:flex;align-items:center;gap:7px;min-width:0}.dc-size-fields input{width:68px;border:1px solid #decab2;background:#fffdf9;border-radius:8px;padding:8px;color:#49372d;font-size:14px;text-align:center}.dc-segments button{flex:1}.dc-backgrounds{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.dc-backgrounds button{min-width:0;border:1px solid transparent;border-radius:11px;padding:5px 3px 7px;background:transparent;font-size:10px;color:#8e7158;text-align:center;line-height:1.4}.dc-swatch{display:block;width:100%;height:38px;border:1px solid #ead9c6;border-radius:7px;margin-bottom:6px}.dc-swatch-none{background:repeating-conic-gradient(#e5e0d8 0% 25%,#fff 0% 50%) 50%/14px 14px}.dc-swatch-cream{background:linear-gradient(140deg,#fffaf2,#dfc9aa)}.dc-swatch-pink{background:linear-gradient(140deg,#f5c7c2,#f8e9dc)}.dc-swatch-garden{background:linear-gradient(140deg,#e4ead8,#a6bf91)}.dc-swatch-custom{background:#f5e9db;position:relative}.dc-swatch-custom:after{content:'＋';font-size:23px;display:grid;place-items:center;height:100%;color:#98765b}.dc-replace-background{border:0;border-bottom:1px solid #cfa78a;border-radius:0;background:transparent;padding:3px 0;color:#9d6746;font-size:12px!important;margin-top:9px}.dc-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.dc-section-title h3{margin:0}.dc-toggle{display:flex;gap:5px;align-items:center;font-size:11px;color:#92755f}.dc-toggle input{accent-color:#e88b56;width:15px;height:15px}.dc-sticker-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.dc-sticker-palette button{display:flex;flex-direction:column;align-items:center;border:1px solid #ead9c5;border-radius:12px;background:#fffdf9;padding:5px 3px 8px;color:#8c6c52;font-size:11px}.dc-sticker-palette canvas{width:44px;height:44px}.dc-selection-name{color:#a16e4b;font-weight:400}.dc-layer-list{display:flex;gap:6px;flex-wrap:wrap;max-height:100px;overflow:auto;padding:2px 2px 5px;margin-bottom:10px}.dc-layer-list button{font-size:11px;padding:6px 9px;white-space:nowrap}.dc-slider-label{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:12px;color:#886b54;margin:13px 0}.dc-slider-label output{font-variant-numeric:tabular-nums;color:#6d4d34}.dc-slider-label input{grid-column:1/-1;width:100%;accent-color:#e78b56;cursor:pointer;min-height:20px;margin:0}.dc-layer-actions{display:flex;gap:7px}.dc-layer-actions button{flex:1;font-size:12px;padding:8px}.dc-error{color:#a7482e;font-size:13px;margin:0;padding:10px 24px;background:#fff0e6;line-height:1.5;border-top:1px solid #efd3c2;flex-shrink:0}.dc-footer{display:flex;gap:10px;justify-content:flex-end;padding:15px 24px;border-top:1px solid #ecdfd0;background:#fffaf3;flex-shrink:0}.dc-footer button{border:1px solid #dfcab2;border-radius:13px;padding:12px 24px;background:#fffdf9;color:#775336;font-weight:600;font-size:14px}.dc-footer .dc-save{border-color:#f18b53;background:#f18b53;color:#49372d;min-width:140px}.dc-dialog [hidden]{display:none!important}
@media(min-width:721px){.dc-dialog{height:min(820px,calc(100dvh - 48px))}.dc-body{flex:1 1 0%;height:0;min-height:0;max-height:100%;grid-template-rows:minmax(0,1fr);overflow:hidden}.dc-workspace,.dc-panel{height:100%;min-height:0;box-sizing:border-box}.dc-workspace{overflow:hidden}.dc-panel{overflow-y:auto;overflow-x:hidden}.dc-stage{flex:1 1 0%;height:0;min-height:0;max-height:none}.dc-artboard{max-width:100%;max-height:100%;flex:none}.dc-canvas-caption,.dc-hint,.dc-history{flex-shrink:0}}
@media(max-width:720px){.design-canvas-overlay{padding:0}.dc-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.dc-header{padding:14px 18px}.dc-header h2{font-size:21px}.dc-header p{font-size:10px}.dc-close{height:35px;width:35px}.dc-body{display:flex;flex-direction:column;flex:1 1 0%;height:0;min-height:0;overflow:hidden}.dc-workspace{box-sizing:border-box;height:41dvh;min-height:220px;max-height:350px;flex:none;padding:12px 18px 10px;overflow:hidden}.dc-stage{height:0;min-height:0;max-height:none;flex:1 1 0%}.dc-artboard{max-width:100%;max-height:100%;flex:none}.dc-canvas-caption{margin-bottom:8px;flex-shrink:0;font-size:11px}.dc-canvas-caption strong{font-size:14px}.dc-hint{font-size:10px;line-height:1.4;margin:8px 0;flex-shrink:0}.dc-history{gap:7px;flex-shrink:0;flex-wrap:nowrap}.dc-history button{padding:6px 10px;font-size:11px}.dc-history span{width:auto;margin:0 0 0 3px;font-size:9px;white-space:nowrap}.dc-panel{flex:1 1 0%;height:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 22px 12px}.dc-section{padding:18px 0}.dc-backgrounds button{font-size:11px}.dc-swatch{height:44px}.dc-sticker-palette canvas{height:48px;width:48px}.dc-footer{padding:12px 18px max(12px,env(safe-area-inset-bottom));justify-content:stretch}.dc-footer button{flex:1;padding:14px 18px}.dc-footer .dc-save{flex:2}.dc-error{padding:9px 18px;font-size:12px}}
@media(max-width:370px){.dc-workspace{padding-left:14px;padding-right:14px}.dc-panel{padding-left:18px;padding-right:18px}.dc-history{gap:5px}.dc-history button{padding:6px 8px}.dc-history span{font-size:8px}}
@media(max-width:720px) and (max-height:650px){.dc-header{padding:9px 16px}.dc-header p{display:none}.dc-header h2{font-size:19px}.dc-workspace{height:40dvh;min-height:170px;max-height:260px;padding-top:8px;padding-bottom:8px}.dc-canvas-caption{margin-bottom:5px}.dc-hint{margin:5px 0;font-size:9px}.dc-history button{padding:4px 9px}.dc-footer{padding-top:9px;padding-bottom:max(9px,env(safe-area-inset-bottom))}.dc-footer button{padding-top:11px;padding-bottom:11px}.dc-section{padding:14px 0}}
.dc-artboard{overflow:hidden}.dc-shapes{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:7px}.dc-shapes button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:47px;padding:8px 6px;border:1px solid #e3d1ba;border-radius:11px;background:#fffdf9;color:#79583e;font-size:12px}.dc-shape-icon{display:block;width:20px;height:20px;box-sizing:border-box;border:1.5px solid currentColor;background:#ead4ba66;flex-shrink:0}.dc-shape-rect{width:23px;height:19px}.dc-shape-rounded{border-radius:5px}.dc-shape-circle{border-radius:50%}.dc-section h3.dc-size-title{margin-top:18px}.dc-pet-count{font-size:12px;color:#92755f;font-variant-numeric:tabular-nums}.dc-duplicate-pet{width:100%;border:1px solid #e59b6f;border-radius:12px;padding:11px 15px;background:#fff0df;color:#8a4a25;font-size:14px;font-weight:600}.dc-duplicate-pet:hover:not(:disabled){background:#ffe7cc}
