.pet-hero{padding:20px 16px 40px}.pet-hero-heading{text-align:center;max-width:1000px;margin:0 auto}.pet-hero-heading h1{color:#ff4c93;text-wrap:balance;font-size:clamp(28px,3vw,38px);font-weight:900;line-height:1.16}.pet-hero-heading>p{color:#64748b;text-wrap:balance;max-width:860px;margin:10px auto 0;font-size:15px;line-height:1.6}.pet-hero-intro{color:#64748b;max-width:1040px;margin:26px auto 0;font-size:14px;line-height:1.9}.pet-hero-intro p+p{margin-top:12px}.pet-hero-intro>summary{cursor:pointer;color:#64748b;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:600;list-style:none;display:flex}.pet-hero-intro>summary::-webkit-details-marker{display:none}.pet-example-details>summary::-webkit-details-marker{display:none}.pet-hero-intro>summary svg,.pet-example-details>summary svg{width:14px;height:14px;transition:transform .15s}.pet-hero-intro[open]>summary svg,.pet-example-details[open]>summary svg{transform:rotate(180deg)}.pet-hero-intro>div{padding-top:12px}.pet-hero-intro>summary:focus-visible{outline-offset:3px;border-radius:8px;outline:2px solid #ec4899}.pet-workbench{min-width:0;max-width:1180px;margin:24px auto 0;scroll-margin-top:80px;position:relative}.pet-workbench button,.pet-workbench summary,.pet-workbench label{-webkit-tap-highlight-color:transparent}.pet-workbench button{cursor:pointer}.pet-workbench button:disabled{cursor:default;opacity:.55}.pet-workbench button:focus-visible,.pet-workbench input:focus-visible+span,.pet-workbench summary:focus-visible,.pet-workbench [role=slider]:focus-visible{outline-offset:3px;outline:2px solid #ec4899}.pet-start-workbench{grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);align-items:center;gap:28px;display:grid}.pet-example-card{min-width:0}.pet-demo-canvas{background:#fff8fb;border:1px solid #f1e9ed;border-radius:24px;width:100%;height:clamp(290px,100svh - 350px,440px)}.pet-demo-canvas img{object-fit:contain}.pet-example-choices{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.pet-example-choices button{color:#64748b;background:#fff;border:2px solid #0000;border-radius:12px;min-width:0;font-size:11px;font-weight:700;line-height:1.35;overflow:hidden}.pet-example-choices button[aria-pressed=true]{color:#be185d;background:#fff1f7;border-color:#ff4c93}.pet-example-choices img{aspect-ratio:4/3;object-fit:contain;background:#fff7fb;width:100%}.pet-example-choices button>span:last-child{align-items:center;min-height:32px;padding:3px;display:grid}.pet-example-caption{color:#7b879a;margin-top:10px;font-size:11px;line-height:1.7}.pet-example-details{color:#7b879a;margin-top:10px;font-size:11px;line-height:1.6}.pet-example-details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:36px;list-style:none;display:flex}.pet-example-details>summary>span:last-child{color:#64748b;flex-shrink:0;align-items:center;gap:5px;font-weight:600;display:inline-flex}.pet-example-details .pet-example-caption{background:#fff8fb;border:1px solid #f1e9ed;border-radius:12px;margin-top:0;padding:8px 12px}.pet-start-panel{background:#fff;border:1px dashed #ffb6d2;border-radius:26px;padding:24px;box-shadow:0 22px 70px -35px #ff4c9360}.pet-dropzone{text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:16px;padding:22px 0;display:flex}.pet-dropzone.is-dragging,.pet-canvas.is-dragging{background:#ffe4f0;outline:2px dashed #ec4899}.pet-upload-icon{color:#ff4c93;background:#fff0f6;border-radius:22px;place-items:center;width:68px;height:68px;display:grid}.pet-upload-icon svg{width:30px;height:30px}.pet-upload-title{color:#172033;font-size:22px;font-weight:900;line-height:1.3}.pet-upload-hint{color:#94a3b8;margin-top:-8px;font-size:13px}.pet-primary{color:#fff;background:#ff4c93;border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;width:100%;min-height:48px;padding:12px 18px;font-size:13px;font-weight:800;line-height:1.4;display:inline-flex;box-shadow:0 10px 24px -14px #ff4c93}.pet-primary:hover{background:#e83880}.pet-primary>svg,.pet-secondary>svg{flex-shrink:0;width:17px;height:17px}.pet-primary>span{background:#ffffff26;border-radius:99px;padding:3px 7px;font-size:10px;font-weight:600}.pet-secondary{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:99px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 14px;font-size:12px;font-weight:700;line-height:1.4;display:inline-flex}.pet-secondary:hover{color:#be185d;border-color:#f9a8d4}.pet-file-limits{color:#94a3b8;font-size:11px;line-height:1.5}.pet-start-price{color:#64748b;text-align:center;border-top:1px solid #f1f5f9;padding:12px 0;font-size:11px}.pet-privacy{color:#7b879a;font-size:11px;line-height:1.6}.pet-privacy a{color:#be185d;text-underline-offset:2px;font-weight:600;text-decoration:underline}.pet-editor-workbench{grid-template-columns:minmax(0,1.4fr) minmax(360px,.85fr);align-items:stretch;gap:24px;height:clamp(500px,100svh - 232px,680px);display:grid}.pet-preview-panel,.pet-settings-panel{background:#fff;border:1px solid #e7eaf0;border-radius:24px;min-width:0;min-height:0;box-shadow:0 16px 55px -36px #a25c7c55}.pet-preview-panel{flex-direction:column;padding:16px;display:flex;overflow:hidden}.pet-canvas-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.pet-photo-title{align-items:center;gap:10px;min-width:0;display:flex}.pet-file-icon{color:#ec4899;background:#fff0f6;border-radius:12px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.pet-file-icon svg{width:18px;height:18px}.pet-photo-title>div{min-width:0}.pet-photo-title p{text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:13px;font-weight:800;overflow:hidden}.pet-photo-title span:not(.pet-file-icon){color:#94a3b8;font-size:11px}.pet-photo-actions{flex-shrink:0;gap:4px;display:flex}.pet-photo-actions button{color:#64748b;border:1px solid #e2e8f0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.pet-photo-actions svg{width:17px;height:17px}.pet-canvas{background-color:#faf8fa;background-image:linear-gradient(45deg,#f0edf1 25%,#0000 25%),linear-gradient(-45deg,#f0edf1 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#f0edf1 75%),linear-gradient(-45deg,#0000 75%,#f0edf1 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;border-radius:14px;flex:auto;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.pet-result-image{object-fit:contain;width:100%;height:100%;min-height:0;display:block}.pet-side-by-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;height:100%;display:grid}.pet-side-by-side img{object-fit:contain;width:100%;min-width:0;height:100%}.pet-live-comparison{max-width:100%;height:100%;max-height:100%;position:relative}.pet-original-layer{position:absolute;inset:0}.pet-original-layer img{object-fit:contain;width:100%;height:100%}.pet-comparison-handle{z-index:2;touch-action:none;cursor:ew-resize;justify-content:center;align-items:center;width:44px;display:flex;position:absolute;top:0;bottom:0;transform:translate(-50%)}.pet-comparison-line{background:#fff;width:2px;position:absolute;top:0;bottom:0;box-shadow:0 0 8px #0005}.pet-comparison-knob{color:#fff;background:#ff4c93;border:3px solid #fff;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:relative;box-shadow:0 3px 10px #0002}.pet-comparison-knob svg{width:18px;height:18px}.pet-canvas-status{color:#64748b;text-align:center;padding:24px;font-size:13px}.pet-processing-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);color:#64748b;text-align:center;background:#ffffffe6;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px;font-size:13px;display:flex;position:absolute;inset:0}.pet-processing-overlay>svg{color:#ec4899;width:32px;height:32px}.pet-canvas-bottom{flex-shrink:0;padding-top:10px}.pet-canvas-bottom:empty{display:none}.pet-result-caption,.pet-result-note{color:#7b879a;font-size:11px;line-height:1.6}.pet-downloads{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.pet-downloads button{color:#fff;background:#172033;border-color:#172033;flex:1}.pet-view-tabs{flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:-4px 0 8px;display:flex}.pet-view-tabs button{color:#64748b;border-radius:99px;min-height:44px;padding:6px 12px;font-size:11px;font-weight:700}.pet-view-tabs button[aria-pressed=true]{color:#be185d;background:#fff0f6}.pet-settings-panel{flex-direction:column;display:flex;overflow:hidden}.pet-settings-heading{color:#172033;flex-shrink:0;align-items:center;gap:10px;padding:18px 20px 12px;font-size:14px;font-weight:800;display:flex}.pet-settings-heading>svg{color:#ec4899;width:20px;height:20px}.pet-settings-toggle{display:none}.pet-settings-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#f9a8d4 transparent;flex:auto;min-height:0;padding:6px 20px 12px;overflow-y:auto}.pet-style-fields{border:0;min-width:0;margin:0;padding:0}.pet-mode-tabs{background:#f1f5f9;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.pet-mode-tabs label{cursor:pointer;min-width:0}.pet-mode-tabs input,.pet-style-grid input{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.pet-mode-tabs label>span{text-align:center;color:#64748b;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:6px;font-size:11px;font-weight:700;display:flex}.pet-mode-tabs input:checked+span{color:#be185d;background:#fff;box-shadow:0 1px 4px #17203315}.pet-style-section,.pet-custom-direction{margin-top:16px}.pet-field-label{color:#475569;margin:0 0 8px;font-size:11px;font-weight:700;display:block}.pet-style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pet-style-grid label{cursor:pointer;min-width:0}.pet-style-card{color:#64748b;background:#fff;border:2px solid #e7eaf0;border-radius:11px;height:100%;display:block;position:relative;overflow:hidden}.pet-style-card>img{aspect-ratio:4/3;object-fit:contain;background:#fff8fb;width:100%}.pet-style-card>span{text-align:center;align-items:center;min-height:30px;padding:4px 2px;font-size:10px;font-weight:700;line-height:1.3;display:grid}.pet-style-check{color:#fff;background:#ff4c93;border-radius:50%;width:18px;height:18px;padding:2px;display:none;position:absolute;top:3px;right:3px}.pet-style-grid input:checked+.pet-style-card{color:#be185d;background:#fff1f7;border-color:#ff4c93}.pet-style-grid input:checked+.pet-style-card>.pet-style-check{display:block}.pet-textarea{resize:vertical;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;width:100%;padding:10px 12px;font-size:13px;line-height:1.65;display:block}.pet-textarea::placeholder{color:#94a3b8}.pet-textarea:focus-visible{outline-offset:1px;outline:2px solid #f9a8d4}.pet-character-count{color:#94a3b8;text-align:right;padding-top:4px;font-size:10px}.pet-advanced{border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;margin-top:16px}.pet-advanced summary{cursor:pointer;color:#64748b;justify-content:space-between;align-items:center;gap:8px;min-height:44px;font-size:11px;font-weight:700;list-style:none;display:flex}.pet-advanced summary::-webkit-details-marker{display:none}.pet-advanced summary svg{width:14px;height:14px}.pet-advanced[open] summary svg{transform:rotate(180deg)}.pet-advanced>div{padding:4px 0 12px}.pet-settings-footer{background:#fff;border-top:1px solid #f1f5f9;flex:none;padding:12px 20px 16px}.pet-model-options{border:0;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:8px;min-width:0;margin:0;padding:0;display:grid}.pet-model-control{min-width:0}.pet-model-control>button{border-radius:12px;gap:6px;height:44px;padding:0 10px}.pet-model-control>button>span{gap:6px}.pet-model-control>button>span:first-child>span:first-child{width:24px;height:24px}.pet-model-control>button .truncate{font-size:11px}.pet-model-control>button>span:last-child>span{display:none}.pet-ratio-trigger{color:#334155;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:5px;width:100%;min-width:0;height:44px;padding:0 10px;font-size:11px;font-weight:700;display:flex}.pet-ratio-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pet-ratio-trigger>svg{flex-shrink:0;width:14px;height:14px}.pet-ratio-options{gap:4px;display:grid}.pet-ratio-options button{text-align:left;color:#475569;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 12px;font-size:12px;display:flex}.pet-ratio-options button[aria-pressed=true]{color:#be185d;background:#fff0f6}.pet-ratio-options svg{width:15px;height:15px}.pet-ratio-note{color:#94a3b8;grid-column:1/-1;font-size:10px;line-height:1.5}.pet-balance-line{color:#94a3b8;text-align:center;justify-content:center;align-items:center;gap:4px;min-height:44px;font-size:10px;display:flex}.pet-balance-line button{border-radius:50%;place-items:center;min-width:44px;min-height:44px;display:grid}.pet-balance-line svg{width:12px;height:12px}.pet-settings-footer>.pet-privacy{margin-top:10px;font-size:10px;line-height:1.5}.pet-live-feedback{color:#64748b;max-height:110px;padding:0 0 8px;font-size:11px;line-height:1.6;overflow-y:auto}.pet-live-feedback button{color:#be185d;min-height:44px;text-decoration:underline}.pet-error{color:#9f1239;background:#fff1f2;border-radius:10px;padding:9px 12px;font-size:12px;line-height:1.6}.pet-spin{animation:1s linear infinite pet-portrait-spin}@keyframes pet-portrait-spin{to{transform:rotate(360deg)}}@media (width<=1023px){.pet-hero{padding-top:18px}.pet-workbench{max-width:760px}.pet-start-workbench{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:20px}.pet-start-panel{padding:18px}.pet-dropzone{padding:16px 0}.pet-upload-title{font-size:18px}.pet-demo-canvas{height:330px}.pet-editor-workbench{height:auto;padding-bottom:196px;display:block}.pet-preview-panel{height:clamp(380px,100svh - 250px,600px)}.pet-settings-panel{z-index:40;border-radius:22px 22px 0 0;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -12px 45px -28px #17203380}.pet-settings-panel[data-docked=true]{position:fixed}.pet-settings-heading{display:none}.pet-settings-toggle{text-align:left;color:#334155;align-items:center;gap:10px;min-height:56px;padding:10px 18px;display:flex}.pet-settings-toggle>svg:first-child{color:#ec4899;width:20px;height:20px}.pet-settings-toggle>svg:last-child{width:16px;height:16px;margin-left:auto}.pet-settings-toggle .is-open{transform:rotate(180deg)}.pet-settings-toggle strong{font-size:12px;line-height:1.5;display:block}.pet-settings-toggle small{color:#94a3b8;font-size:10px;line-height:1.5;display:block}.pet-settings-scroll{flex:none;max-height:45svh;padding:6px 18px 10px;display:none}.pet-settings-panel[data-open=true] .pet-settings-scroll{display:block}.pet-settings-footer{padding:4px 18px calc(10px + env(safe-area-inset-bottom))}.pet-model-options{display:none}.pet-settings-panel[data-open=true] .pet-model-options{padding-top:6px;display:grid}.pet-settings-footer>.pet-privacy{margin-top:6px}.pet-style-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.pet-style-card>span{font-size:10px}.pet-settings-panel[data-open=true]{max-height:calc(100dvh - 76px)}.pet-settings-panel[data-open=true] .pet-settings-scroll{flex:auto}}@media (width<=639px){.pet-hero-heading h1{font-size:28px}.pet-hero-heading>p{font-size:13px;line-height:1.6}.pet-workbench{margin-top:18px}.pet-start-workbench{flex-direction:column;gap:22px;display:flex}.pet-start-panel{border-radius:22px;order:-1;width:100%;padding:18px 20px}.pet-dropzone{gap:12px;padding:4px 0 14px}.pet-upload-icon{border-radius:16px;width:48px;height:48px}.pet-upload-icon svg{width:24px;height:24px}.pet-upload-title{font-size:19px}.pet-upload-hint{margin-top:-4px;font-size:12px}.pet-start-price{padding:9px 0}.pet-example-card{width:100%}.pet-demo-canvas{aspect-ratio:4/3;height:auto}.pet-example-choices{gap:4px}.pet-example-choices button{border-radius:9px;font-size:9px}.pet-example-choices button>span:last-child{min-height:32px;padding:2px}.pet-example-caption{font-size:10px}.pet-hero-intro{margin-top:24px;font-size:13px}.pet-preview-panel{border-radius:20px;padding:12px}.pet-canvas-toolbar{gap:6px;padding-bottom:8px}.pet-photo-actions button{width:44px;height:44px}.pet-photo-title p{font-size:12px}.pet-view-tabs{justify-content:center}.pet-view-tabs button{padding:5px 10px;font-size:10px}.pet-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pet-style-card>span{min-height:28px}.pet-textarea{font-size:16px;line-height:1.55}.pet-primary{font-size:12px}.pet-primary>span{font-size:9px}.pet-downloads{gap:5px}.pet-downloads button{padding:7px 9px;font-size:10px}}@media (prefers-reduced-motion:reduce){.pet-workbench *,.pet-workbench :before,.pet-workbench :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
