#container.svelte-1d1mcks{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;font-family:Inter,sans-serif}@media (max-width: 768px){#container.svelte-1d1mcks{flex-direction:column}}#content.svelte-1d1mcks{padding:4px}.viewer.svelte-1d1mcks{background:#f5f5f5;position:relative;width:clamp(400px,min(80vh,100vw - 800px),800px);height:clamp(400px,min(80vh,100vw - 800px),800px);aspect-ratio:1!important}.loading.svelte-1d1mcks{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.loading.svelte-1d1mcks .progress-bar:where(.svelte-1d1mcks){width:100%;height:8px;background:#eee;border-radius:4px;margin-bottom:10px;overflow:hidden}.loading.svelte-1d1mcks .progress-bar:where(.svelte-1d1mcks) .progress:where(.svelte-1d1mcks){height:100%;background:#007aff;transition:width .3s ease}.upload-container.svelte-1d1mcks{display:flex;flex-direction:column;justify-content:flex-start;width:100%;border-radius:20px 20px 24px 24px;box-sizing:border-box;box-shadow:2px 4px 8px #00000008,inset -4px -8px 12px #0300250d,inset 2px 2px 4px #fff3;background:#f8f5ff;padding:16px 18px}.upload-container.svelte-1d1mcks input[type=file]:where(.svelte-1d1mcks){display:none}.upload-button.svelte-1d1mcks{margin-top:24px;width:100%}.upload-button.svelte-1d1mcks h2:where(.svelte-1d1mcks){width:100%;text-align:center}.model-switcher.svelte-1d1mcks{display:none;margin-bottom:20px}.model-switcher.svelte-1d1mcks h3:where(.svelte-1d1mcks){margin-top:0;margin-bottom:10px;font-size:18px;font-weight:500}.model-buttons.svelte-1d1mcks{display:flex;gap:10px}.camera-controls.svelte-1d1mcks{width:100%}.camera-controls.svelte-1d1mcks h3:where(.svelte-1d1mcks){margin-bottom:1rem}.control-row.svelte-1d1mcks{display:flex;align-items:center;gap:12px;margin-bottom:.75rem;width:100%}.control-row.svelte-1d1mcks label:where(.svelte-1d1mcks){flex-shrink:0;width:12px;font-size:14px;font-weight:700;color:#555;border-radius:8px}.control-row.svelte-1d1mcks:nth-child(2) input[type=range]:where(.svelte-1d1mcks){background:#0074ff4d}.control-row.svelte-1d1mcks:nth-child(3) input[type=range]:where(.svelte-1d1mcks){background:#0080004d}.control-row.svelte-1d1mcks:nth-child(4) input[type=range]:where(.svelte-1d1mcks){background:#ff00004d}.control-row.svelte-1d1mcks input[type=range]:where(.svelte-1d1mcks){box-shadow:none;box-shadow:inset 4px 4px 6px #0300251f}.control-row.svelte-1d1mcks input[type=number]:where(.svelte-1d1mcks){width:44px;text-align:left;padding:6px}.download-button.svelte-1d1mcks{width:100%;margin-top:4px}.download-button.svelte-1d1mcks h2:where(.svelte-1d1mcks){text-align:center}.reset-button.svelte-1d1mcks{width:100%;margin-top:8px;padding:10px}.reset-button.svelte-1d1mcks h2:where(.svelte-1d1mcks){text-align:center;color:#03002599}@media (max-width: 768px){.control-row.svelte-1d1mcks input[type=range]:where(.svelte-1d1mcks){height:10px}.control-row.svelte-1d1mcks input[type=range]:where(.svelte-1d1mcks)::-webkit-slider-thumb{width:20px;height:20px}.control-row.svelte-1d1mcks input[type=range]:where(.svelte-1d1mcks)::-moz-range-thumb{width:20px;height:20px}.control-row.svelte-1d1mcks input[type=number]:where(.svelte-1d1mcks){width:55px;padding:8px 5px;font-size:1rem}.reset-button.svelte-1d1mcks{padding:10px 15px;font-size:1rem}}.axes-toggle.svelte-1d1mcks h3:where(.svelte-1d1mcks){margin-bottom:1rem;color:#333}.toggle-switch.svelte-1d1mcks{position:relative;display:inline-flex;align-items:center;cursor:pointer}.toggle-switch.svelte-1d1mcks input:where(.svelte-1d1mcks){opacity:0;width:0;height:0}.toggle-slider.svelte-1d1mcks{position:relative;display:inline-block;width:40px;height:24px;background-color:#ccc;border-radius:24px;transition:.4s;margin-right:10px;box-shadow:inset -1px 2px 4px #0300251a}.toggle-slider.svelte-1d1mcks:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:.4s;box-shadow:2px 4px 8px #03002566,inset -1px -2px 3px #03002540}input.svelte-1d1mcks:checked+.toggle-slider:where(.svelte-1d1mcks){background-color:#6355ff}input.svelte-1d1mcks:checked+.toggle-slider:where(.svelte-1d1mcks):before{transform:translate(16px);box-shadow:2px 4px 8px #030025cc,inset -1px -2px 3px #03002540}.toggle-label.svelte-1d1mcks{font-size:13px;font-weight:500;letter-spacing:-.32px;color:#555}.color-switcher.svelte-1d1mcks{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:12px}.color-options.svelte-1d1mcks{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px;justify-content:flex-start}.color-options.svelte-1d1mcks .color-option:where(.svelte-1d1mcks){width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;border-radius:50%;cursor:pointer;transition:all .2s ease;position:relative;display:flex;align-items:center;justify-content:center;box-shadow:none;flex:0 0 auto;padding:0;margin:0}.color-options.svelte-1d1mcks .color-option:where(.svelte-1d1mcks):hover{transform:scale(1.1);box-shadow:0 4px 8px #0003}.color-options.svelte-1d1mcks .color-option.active:where(.svelte-1d1mcks){border:2px solid #6355FF;transform:scale(1.15);box-shadow:0 4px 12px #0000001a}.color-options.svelte-1d1mcks .color-option.active:where(.svelte-1d1mcks):after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background-color:#fff;box-shadow:0 1px 2px #0003;transition:.2s ease}.selected-color-name.svelte-1d1mcks{margin-top:8px;margin-bottom:15px;font-size:14px;color:#333;text-align:center;font-weight:500;display:none}.wallpaper-picker.svelte-1d1mcks{width:200px}.wallpaper-picker.svelte-1d1mcks h3:where(.svelte-1d1mcks){margin:0 0 16px}.wallpaper-picker.svelte-1d1mcks :where(.svelte-1d1mcks)::-webkit-scrollbar{width:6px}.wallpaper-picker.svelte-1d1mcks :where(.svelte-1d1mcks)::-webkit-scrollbar-track{background:#0000}.wallpaper-picker.svelte-1d1mcks :where(.svelte-1d1mcks)::-webkit-scrollbar-thumb{background:#0003;border-radius:10px}.wallpaper-picker.svelte-1d1mcks .wallpaper-grid:where(.svelte-1d1mcks){display:grid;grid-template-columns:repeat(3,1fr);gap:10px;height:140px;overflow-y:scroll;position:relative}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks){grid-column:span 1;width:50px;position:relative;cursor:pointer;transition:transform .2s}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks):hover{transform:scale(1.02)}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks) .wallpaper-preview:where(.svelte-1d1mcks){position:relative;overflow:hidden;width:100%;height:0;padding-bottom:177%;border-radius:8px;flex-grow:0;box-shadow:0 2px 5px #0000001a}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks) .wallpaper-preview:where(.svelte-1d1mcks) img:where(.svelte-1d1mcks){position:absolute;top:0;left:0;width:90%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border:2px solid transparent;border-radius:8px;transition:.1s ease}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks) .wallpaper-preview:where(.svelte-1d1mcks) .remove-wallpaper:where(.svelte-1d1mcks){position:absolute;top:5px;right:5px;opacity:0;background:#ffffffe6;border:none;border-radius:50%;width:20px;height:20px;font-size:12px;line-height:1;color:#ff3b30;cursor:pointer;transition:all .2s;z-index:10;padding:0;display:flex;align-items:center;justify-content:center}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks) .wallpaper-preview:where(.svelte-1d1mcks) .remove-wallpaper:where(.svelte-1d1mcks):hover{background:#ff3b30;color:#fff;transform:scale(1.1)}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks):hover .remove-wallpaper:where(.svelte-1d1mcks){opacity:1}.wallpaper-picker.svelte-1d1mcks .wallpaper-item:where(.svelte-1d1mcks) .wallpaper-name:where(.svelte-1d1mcks){font-family:Inter,sans-serif;margin-top:5px;font-size:12px;color:#666;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.wallpaper-picker.svelte-1d1mcks .wallpaper-item.active:where(.svelte-1d1mcks) .wallpaper-preview:where(.svelte-1d1mcks) img:where(.svelte-1d1mcks){border:1px solid red}.wallpaper-picker.svelte-1d1mcks .wallpaper-item.active:where(.svelte-1d1mcks) .wallpaper-name:where(.svelte-1d1mcks){font-weight:600;color:#007aff}.fit-buttons.svelte-1d1mcks{display:flex;gap:10px;margin-top:10px}.fit-buttons.svelte-1d1mcks .fit-button.active:where(.svelte-1d1mcks){background:#03002533}
