.page-module__E0kJGG__page{box-sizing:border-box;flex-direction:column;align-items:center;gap:1.5rem;width:100dvw;max-width:500px;min-height:100dvh;margin:0 auto;padding:1.5rem 1rem;display:flex}.page-module__E0kJGG__header{text-align:center}.page-module__E0kJGG__mediaFrame{aspect-ratio:1;width:100%;max-height:65dvh;position:relative}.page-module__E0kJGG__uploadedImage{object-fit:contain}.page-module__E0kJGG__actions{gap:.75rem;width:100%;margin-top:auto;display:flex}.page-module__E0kJGG__actions>*{flex:1}
.DitheredImage-module__Hkl_Ja__ditheredImage{flex-direction:column;gap:.75rem;width:100%;display:flex}.DitheredImage-module__Hkl_Ja__workspace{width:100%}.DitheredImage-module__Hkl_Ja__preview{flex-direction:column;gap:.75rem;min-width:0;display:flex}.DitheredImage-module__Hkl_Ja__canvasStage{aspect-ratio:1;border-radius:.5rem;justify-content:center;align-items:center;width:100%;max-height:65dvh;display:flex;position:relative;overflow:hidden}.DitheredImage-module__Hkl_Ja__cardStage{aspect-ratio:3/4}.DitheredImage-module__Hkl_Ja__canvas{object-fit:contain;width:100%;height:100%;image-rendering:pixelated;display:block}.DitheredImage-module__Hkl_Ja__canvas.DitheredImage-module__Hkl_Ja__canvasHidden{display:none}.DitheredImage-module__Hkl_Ja__canvasStatus,.DitheredImage-module__Hkl_Ja__canvasError{color:#fff;text-align:center;background:#111111e0;border-radius:.375rem;width:fit-content;max-width:calc(100% - 2rem);margin:0 auto;padding:.5rem .75rem;font-size:.75rem;line-height:1.35;position:absolute;inset:auto 0 1rem}.DitheredImage-module__Hkl_Ja__canvasError{background:#7f1d1df0}.DitheredImage-module__Hkl_Ja__pixelSize{color:#666;text-align:center;font-size:.75rem;line-height:1.4}.DitheredImage-module__Hkl_Ja__controls{z-index:100;box-sizing:border-box;background:#fff;border:1px solid #d4d4d4;border-radius:.5rem;width:min(400px,100dvw - 2rem);height:fit-content;max-height:calc(100dvh - 2rem);position:fixed;bottom:1rem;right:1rem;overflow-y:auto;box-shadow:0 .75rem 2rem #0000002e}.DitheredImage-module__Hkl_Ja__controls summary{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem;font-weight:600}.DitheredImage-module__Hkl_Ja__controls[open] summary{border-bottom:1px solid #e5e5e5}.DitheredImage-module__Hkl_Ja__controlGroups{gap:1rem;padding:1rem;display:grid}.DitheredImage-module__Hkl_Ja__fieldset{border:0;gap:.75rem;min-width:0;padding:0;display:grid}.DitheredImage-module__Hkl_Ja__fieldset+.DitheredImage-module__Hkl_Ja__fieldset{border-top:1px solid #e5e5e5;padding-top:1rem}.DitheredImage-module__Hkl_Ja__fieldset legend{margin-bottom:.75rem;font-weight:700}.DitheredImage-module__Hkl_Ja__rangeControl,.DitheredImage-module__Hkl_Ja__selectControl,.DitheredImage-module__Hkl_Ja__textControl,.DitheredImage-module__Hkl_Ja__colorControl{color:#262626;gap:.375rem;font-size:.8rem;line-height:1.35;display:grid}.DitheredImage-module__Hkl_Ja__controlLabel,.DitheredImage-module__Hkl_Ja__colorControl{justify-content:space-between;align-items:center;gap:1rem;display:flex}.DitheredImage-module__Hkl_Ja__controlLabel output{color:#666;font-variant-numeric:tabular-nums}.DitheredImage-module__Hkl_Ja__rangeControl input{accent-color:#111;width:100%}.DitheredImage-module__Hkl_Ja__selectControl select,.DitheredImage-module__Hkl_Ja__textControl input{color:#111;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #bfbfbf;border-radius:.375rem;padding:.5rem .625rem}.DitheredImage-module__Hkl_Ja__textControl small{color:#737373;font-size:.7rem}.DitheredImage-module__Hkl_Ja__colorControl input{background:#fff;border:1px solid #bfbfbf;border-radius:.375rem;width:3rem;height:2rem;padding:.125rem}.DitheredImage-module__Hkl_Ja__checkboxControl{color:#262626;align-items:center;gap:.5rem;font-size:.8rem;line-height:1.35;display:flex}.DitheredImage-module__Hkl_Ja__checkboxControl input{accent-color:#111;width:1rem;height:1rem;margin:0}.DitheredImage-module__Hkl_Ja__actionRow{align-items:stretch;gap:.75rem;display:flex}.DitheredImage-module__Hkl_Ja__actionRow>*{flex:1}.DitheredImage-module__Hkl_Ja__resetButton,.DitheredImage-module__Hkl_Ja__downloadButton{width:100%;font:inherit;cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;padding:.625rem 1rem;font-size:.9rem;font-weight:600;display:inline-flex}.DitheredImage-module__Hkl_Ja__resetButton{color:#111;background:#fff;border:1px solid #bfbfbf}.DitheredImage-module__Hkl_Ja__downloadButton{color:#fff;background:#111;border:0}.DitheredImage-module__Hkl_Ja__resetButton:hover,.DitheredImage-module__Hkl_Ja__downloadButton:hover:not(:disabled){opacity:.82}.DitheredImage-module__Hkl_Ja__downloadButton:disabled{opacity:.5;cursor:not-allowed}@media (min-width:46rem){.DitheredImage-module__Hkl_Ja__controlGroups{grid-template-columns:repeat(2,minmax(0,1fr))}.DitheredImage-module__Hkl_Ja__fieldset+.DitheredImage-module__Hkl_Ja__fieldset{border-top:0;padding-top:0}.DitheredImage-module__Hkl_Ja__resetButton{grid-column:1/-1}}
.ErrorStatus-module__raJSLa__error{color:#e11d48;background:#e11d4814;border:1px solid #e11d48;border-radius:.5rem;margin-top:1rem;padding:.75rem 1rem;font-size:.9rem}.ErrorStatus-module__raJSLa__error p{margin:0 0 .5rem}.ErrorStatus-module__raJSLa__error button{cursor:pointer}
.ImageUploader-module__ZB7Ica__wrapper{flex-direction:column;flex:1;align-items:center;gap:.75rem;width:100%;display:flex}.ImageUploader-module__ZB7Ica__dropzone{aspect-ratio:1;cursor:pointer;text-align:center;background:#e5e7eb;border:2px dashed #c4c8cf;border-radius:.5rem;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;max-height:65dvh;transition:background .2s,border-color .2s;display:flex}.ImageUploader-module__ZB7Ica__dropzone:hover,.ImageUploader-module__ZB7Ica__dragging{background:#dadde2;border-color:#9ca3af}.ImageUploader-module__ZB7Ica__content{flex-direction:column;gap:.25rem;display:flex}.ImageUploader-module__ZB7Ica__primary{margin:0;font-weight:600}.ImageUploader-module__ZB7Ica__actions{gap:.5rem;width:100%;margin-top:auto;display:flex}.ImageUploader-module__ZB7Ica__actionButton{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:.5rem;flex:1;padding:.625rem 1rem;font-size:.95rem;font-weight:600;transition:background .2s}.ImageUploader-module__ZB7Ica__actionButton:hover:not(:disabled){background:#374151}.ImageUploader-module__ZB7Ica__actionButton:disabled{cursor:not-allowed;background:#9ca3af}
.Button-module__8cr-Ka__button{cursor:pointer;color:#fff;background:#111;border:none;border-radius:.5rem;justify-content:center;align-items:center;padding:.5rem 1rem;font-size:1rem;font-weight:600;transition:opacity .2s;display:inline-flex}.Button-module__8cr-Ka__button:hover{opacity:.85}.Button-module__8cr-Ka__button:disabled{opacity:.5;cursor:not-allowed}
