.AsciiDitherTool-module__fFtzBW__tool{--lab-paper:#f4f3ee;--lab-ink:#22231f;--lab-muted:#62645c;--lab-line:#c9cbc1;--lab-lilac:#e5dbf0;--lab-mono:"Courier New", courier, monospace;--lab-gutter:clamp(1.25rem, 3vw, 3.5rem);background:var(--lab-paper);min-block-size:100svh;color:var(--lab-ink)}.AsciiDitherTool-module__fFtzBW__main{padding-inline:var(--lab-gutter)}.AsciiDitherTool-module__fFtzBW__meta,.AsciiDitherTool-module__fFtzBW__introIndex{color:var(--lab-muted);font:.6875rem/1.4 var(--lab-mono);text-transform:uppercase}.AsciiDitherTool-module__fFtzBW__intro{grid-template-columns:minmax(11rem,25%) minmax(0,1fr);gap:1.5rem;padding-block:clamp(2rem,5vw,5rem) clamp(2.5rem,5vw,5rem);display:grid}.AsciiDitherTool-module__fFtzBW__intro h1{letter-spacing:-.055em;font-size:clamp(3.5rem,8.5vw,9rem);font-weight:430;line-height:.91}.AsciiDitherTool-module__fFtzBW__intro h1 span{color:#a998bb;font-weight:350}.AsciiDitherTool-module__fFtzBW__intro p{max-inline-size:39rem;margin-block-start:clamp(1.5rem,3vw,3rem);font-size:clamp(1rem,1.45vw,1.25rem);line-height:1.43}.AsciiDitherTool-module__fFtzBW__uploadBar{border-block:1px solid var(--lab-ink);grid-template-columns:minmax(11rem,25%) minmax(0,1fr);align-items:stretch;gap:1rem 1.5rem;padding-block:1.5rem;display:grid}.AsciiDitherTool-module__fFtzBW__uploadLead{flex-direction:column;justify-content:center;min-inline-size:0;display:flex}.AsciiDitherTool-module__fFtzBW__uploadLead p{text-overflow:ellipsis;white-space:nowrap;margin-block:.8rem .35rem;font-size:clamp(1.15rem,1.7vw,1.6rem);line-height:1.2;overflow:hidden}.AsciiDitherTool-module__fFtzBW__uploadLead small{color:var(--lab-muted);font:.6875rem/1.5 var(--lab-mono)}.AsciiDitherTool-module__fFtzBW__dropArea{border:1px dashed var(--lab-muted);justify-content:flex-end;align-items:center;gap:1.5rem;min-block-size:6.75rem;padding:1rem 1.5rem;display:flex}.AsciiDitherTool-module__fFtzBW__dropArea[data-dragging=true]{background:var(--lab-lilac);border-style:solid}.AsciiDitherTool-module__fFtzBW__dropArea>span{color:var(--lab-muted);font:.75rem/1.3 var(--lab-mono)}.AsciiDitherTool-module__fFtzBW__fileInput{clip-path:inset(50%);block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.AsciiDitherTool-module__fFtzBW__srOnly{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.AsciiDitherTool-module__fFtzBW__pickButton,.AsciiDitherTool-module__fFtzBW__exportButton{border:1px solid var(--lab-ink);background:var(--lab-ink);min-block-size:3.25rem;color:var(--lab-paper);cursor:pointer;white-space:nowrap;justify-content:space-between;align-items:center;gap:1.5rem;padding-inline:1.25rem;font-size:.875rem;display:inline-flex}.AsciiDitherTool-module__fFtzBW__pickButton:hover,.AsciiDitherTool-module__fFtzBW__exportButton:hover:not(:disabled){background:#373832}.AsciiDitherTool-module__fFtzBW__pickButton:disabled,.AsciiDitherTool-module__fFtzBW__exportButton:disabled{cursor:not-allowed;opacity:.5}.AsciiDitherTool-module__fFtzBW__pickButton span,.AsciiDitherTool-module__fFtzBW__exportButton span{font-size:1.2rem}.AsciiDitherTool-module__fFtzBW__uploadPrivacy{color:var(--lab-muted);font:.6875rem/1.5 var(--lab-mono);grid-column:2}.AsciiDitherTool-module__fFtzBW__error{color:#742620;background:#f5e6e4;border-inline-start:3px solid #9a342d;grid-column:2;padding:.75rem 1rem;font-size:.875rem}.AsciiDitherTool-module__fFtzBW__workspace{grid-template-columns:minmax(0,1fr) minmax(18rem,26rem);align-items:start;gap:clamp(1.5rem,3vw,3.5rem);padding-block:clamp(2.5rem,4vw,4.5rem) clamp(4rem,6vw,7rem);display:grid}.AsciiDitherTool-module__fFtzBW__previewPane{min-inline-size:0}.AsciiDitherTool-module__fFtzBW__previewHeader,.AsciiDitherTool-module__fFtzBW__controlHeading{justify-content:space-between;align-items:flex-end;gap:1rem;min-block-size:4rem;margin-block-end:1.25rem;display:flex}.AsciiDitherTool-module__fFtzBW__previewHeader h2,.AsciiDitherTool-module__fFtzBW__controlHeading h2{letter-spacing:-.045em;margin-block-start:.4rem;font-size:clamp(1.4rem,2.2vw,2rem);font-weight:450}.AsciiDitherTool-module__fFtzBW__previewActions{align-items:stretch;gap:.5rem;display:flex}.AsciiDitherTool-module__fFtzBW__viewSwitch,.AsciiDitherTool-module__fFtzBW__modeSwitch{border:1px solid var(--lab-ink);display:inline-flex}.AsciiDitherTool-module__fFtzBW__viewSwitch button,.AsciiDitherTool-module__fFtzBW__modeSwitch button{min-block-size:2.75rem;color:var(--lab-ink);cursor:pointer;font:.6875rem/1.2 var(--lab-mono);background:0 0;border:0;padding-inline:.875rem}.AsciiDitherTool-module__fFtzBW__viewSwitch button+button,.AsciiDitherTool-module__fFtzBW__modeSwitch button+button{border-inline-start:1px solid var(--lab-ink)}.AsciiDitherTool-module__fFtzBW__viewSwitch button[aria-pressed=true],.AsciiDitherTool-module__fFtzBW__modeSwitch button[aria-pressed=true]{background:var(--lab-ink);color:var(--lab-paper)}.AsciiDitherTool-module__fFtzBW__zoomButton{border:1px solid var(--lab-ink);min-block-size:2.75rem;color:var(--lab-ink);cursor:pointer;font:.6875rem/1.2 var(--lab-mono);white-space:nowrap;background:0 0;padding-inline:.75rem}.AsciiDitherTool-module__fFtzBW__zoomButton[aria-pressed=true]{background:var(--lab-lilac)}.AsciiDitherTool-module__fFtzBW__preview{border:1px solid var(--lab-ink);background-color:#e9e8e1;background-image:linear-gradient(45deg,#dddcd4 25%,#0000 25%),linear-gradient(-45deg,#dddcd4 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#dddcd4 75%),linear-gradient(-45deg,#0000 75%,#dddcd4 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;place-items:center;min-block-size:clamp(24rem,48vw,44rem);max-block-size:55rem;margin:0;padding:clamp(1rem,3vw,3rem);display:grid;position:relative;overflow:auto}.AsciiDitherTool-module__fFtzBW__preview[data-background=dark]{background-color:#44453f}.AsciiDitherTool-module__fFtzBW__preview canvas{object-fit:contain;block-size:auto;max-block-size:46rem;inline-size:auto;max-inline-size:100%;display:block;box-shadow:0 0 0 1px #22231f24}.AsciiDitherTool-module__fFtzBW__preview canvas[hidden]{display:none}.AsciiDitherTool-module__fFtzBW__preview[data-zoomed=true]{place-items:start;display:block;overflow:auto}.AsciiDitherTool-module__fFtzBW__preview[data-zoomed=true] canvas{max-block-size:none;max-inline-size:none}.AsciiDitherTool-module__fFtzBW__emptyPreview{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.AsciiDitherTool-module__fFtzBW__emptyPreview span{color:#a998bb;font:clamp(12rem, 26vw, 25rem)/.9 var(--lab-mono);letter-spacing:-.13em;transform:translate(-.07em)}.AsciiDitherTool-module__fFtzBW__emptyPreview p{max-inline-size:14rem;color:var(--lab-muted);font:.75rem/1.5 var(--lab-mono)}.AsciiDitherTool-module__fFtzBW__previewOverlay{background:#f4f3eed9;place-items:center;font-size:.875rem;display:grid;position:absolute;inset:0}.AsciiDitherTool-module__fFtzBW__previewFooter{border-block-end:1px solid var(--lab-line);color:var(--lab-muted);font:.6875rem/1.5 var(--lab-mono);justify-content:space-between;align-items:baseline;gap:1rem;padding-block:.75rem;display:flex}.AsciiDitherTool-module__fFtzBW__previewFooter span{white-space:nowrap}.AsciiDitherTool-module__fFtzBW__controlPane{border-block-start:1px solid var(--lab-ink);min-inline-size:0}.AsciiDitherTool-module__fFtzBW__controlHeading{margin-block-end:0}.AsciiDitherTool-module__fFtzBW__presetGroup{border:0;border-block-end:1px solid var(--lab-line);min-inline-size:0;margin:0;padding:1.5rem 0}.AsciiDitherTool-module__fFtzBW__presetLegend{margin-block-end:.75rem;padding:0;font-size:.875rem}.AsciiDitherTool-module__fFtzBW__presetGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.AsciiDitherTool-module__fFtzBW__presetButton{border:1px solid var(--lab-line);min-block-size:8.5rem;min-inline-size:0;color:var(--lab-ink);cursor:pointer;text-align:start;background:0 0;flex-direction:column;align-items:flex-start;padding:.875rem;transition:background-color .18s,border-color .18s;display:flex}.AsciiDitherTool-module__fFtzBW__presetButton:hover,.AsciiDitherTool-module__fFtzBW__presetButton[aria-pressed=true]{border-color:var(--lab-ink);background:var(--lab-lilac)}.AsciiDitherTool-module__fFtzBW__presetButton:focus-visible{outline:2px solid var(--lab-ink);outline-offset:2px}.AsciiDitherTool-module__fFtzBW__presetButton>span:first-child{color:var(--lab-muted);font:.6875rem/1.3 var(--lab-mono)}.AsciiDitherTool-module__fFtzBW__presetButton strong{letter-spacing:-.035em;margin-block-start:auto;font-size:1.125rem;font-weight:500;line-height:1.15}.AsciiDitherTool-module__fFtzBW__presetDescription{color:var(--lab-muted);margin-block-start:.5rem;font-size:.75rem;line-height:1.4;display:block}.AsciiDitherTool-module__fFtzBW__presetStatus{color:var(--lab-muted);margin-block-start:.75rem;font-size:.75rem;line-height:1.45}.AsciiDitherTool-module__fFtzBW__modeField{border:0;border-block-end:1px solid var(--lab-line);margin:0;padding:1.5rem 0}.AsciiDitherTool-module__fFtzBW__modeField legend{margin-block-end:.75rem;padding:0;font-size:.875rem}.AsciiDitherTool-module__fFtzBW__modeSwitch{inline-size:100%}.AsciiDitherTool-module__fFtzBW__modeSwitch button{flex:1;min-block-size:3rem}.AsciiDitherTool-module__fFtzBW__modeField p,.AsciiDitherTool-module__fFtzBW__field p{color:var(--lab-muted);margin-block-start:.75rem;font-size:.75rem;line-height:1.5}.AsciiDitherTool-module__fFtzBW__field{border-block-end:1px solid var(--lab-line);flex-direction:column;gap:.75rem;padding-block:1.25rem;display:flex}.AsciiDitherTool-module__fFtzBW__fieldTop{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.AsciiDitherTool-module__fFtzBW__field label{font-size:.875rem}.AsciiDitherTool-module__fFtzBW__field output{font:.75rem/1.3 var(--lab-mono);font-variant-numeric:tabular-nums}.AsciiDitherTool-module__fFtzBW__field input[type=range]{min-block-size:2.75rem;inline-size:100%;accent-color:var(--lab-ink);cursor:pointer;margin:0}.AsciiDitherTool-module__fFtzBW__field select,.AsciiDitherTool-module__fFtzBW__exportControls select{border:1px solid var(--lab-ink);background:var(--lab-paper);min-block-size:2.75rem;inline-size:100%;color:var(--lab-ink);cursor:pointer;border-radius:0;padding:.5rem .75rem;font-size:.875rem}.AsciiDitherTool-module__fFtzBW__checkbox{border-block-end:1px solid var(--lab-line);cursor:pointer;align-items:center;min-block-size:3.75rem;font-size:.875rem;display:flex}.AsciiDitherTool-module__fFtzBW__checkbox input{block-size:1.1rem;inline-size:1.1rem;accent-color:var(--lab-ink);margin-inline:0 .75rem}.AsciiDitherTool-module__fFtzBW__resetButton{min-block-size:3rem;inline-size:100%;color:var(--lab-muted);cursor:pointer;font:.75rem/1.3 var(--lab-mono);text-align:start;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;display:flex}.AsciiDitherTool-module__fFtzBW__resetButton:hover,.AsciiDitherTool-module__fFtzBW__textButton:hover{color:var(--lab-ink);text-underline-offset:4px;text-decoration:underline}.AsciiDitherTool-module__fFtzBW__resetButton span{font-size:1.25rem}.AsciiDitherTool-module__fFtzBW__exportSection{border-block-start:1px solid var(--lab-ink);grid-template-columns:minmax(0,1fr) minmax(18rem,26rem);gap:2rem;padding-block:clamp(2rem,4vw,4rem) clamp(4rem,7vw,7rem);display:grid}.AsciiDitherTool-module__fFtzBW__exportSection h2{letter-spacing:-.07em;max-inline-size:13ch;margin-block-start:1rem;font-size:clamp(2.5rem,5.5vw,6rem);font-weight:430;line-height:.98}.AsciiDitherTool-module__fFtzBW__exportSection>div>p{max-inline-size:31rem;color:var(--lab-muted);margin-block-start:1.5rem;font-size:.875rem;line-height:1.5}.AsciiDitherTool-module__fFtzBW__exportControls{flex-direction:column;align-items:stretch;gap:.75rem;display:flex}.AsciiDitherTool-module__fFtzBW__exportControls label{font-size:.875rem}.AsciiDitherTool-module__fFtzBW__exportControls select{margin-block-end:.75rem}.AsciiDitherTool-module__fFtzBW__exportButton{min-block-size:3.5rem}.AsciiDitherTool-module__fFtzBW__textButton{min-block-size:2.75rem;color:var(--lab-muted);cursor:pointer;font:.75rem/1.3 var(--lab-mono);text-align:start;background:0 0;border:0;padding:0}.AsciiDitherTool-module__fFtzBW__textButton:disabled{cursor:not-allowed;opacity:.5}.AsciiDitherTool-module__fFtzBW__exportControls p{min-block-size:2.5rem;color:var(--lab-muted);font:.6875rem/1.5 var(--lab-mono);margin:0}.AsciiDitherTool-module__fFtzBW__studioNote{border-block-start:1px solid var(--lab-line);grid-column:1/-1;grid-template-columns:minmax(11rem,25%) minmax(0,1fr) auto;align-items:baseline;gap:1rem 1.5rem;padding-block:1.5rem;display:grid}.AsciiDitherTool-module__fFtzBW__studioNote p{max-inline-size:38rem;font-size:.875rem;line-height:1.45}.AsciiDitherTool-module__fFtzBW__studioNote a{white-space:nowrap;align-items:center;gap:.375rem;min-block-size:2.75rem;font-size:.875rem;display:inline-flex}.AsciiDitherTool-module__fFtzBW__linkLabel{border-block-end:1px solid;padding-block-end:.11em}.AsciiDitherTool-module__fFtzBW__linkArrow{transition:transform .18s;display:inline-block}.AsciiDitherTool-module__fFtzBW__studioNote a:hover .AsciiDitherTool-module__fFtzBW__linkArrow{transform:translate(.125rem,-.125rem)}.AsciiDitherTool-module__fFtzBW__studioNote a:focus-visible{outline-offset:4px;outline:1px solid}@media (prefers-reduced-motion:reduce){.AsciiDitherTool-module__fFtzBW__linkArrow{transition:none}}@media (max-width:900px){.AsciiDitherTool-module__fFtzBW__intro,.AsciiDitherTool-module__fFtzBW__uploadBar{grid-template-columns:1fr}.AsciiDitherTool-module__fFtzBW__intro{gap:2rem}.AsciiDitherTool-module__fFtzBW__uploadPrivacy,.AsciiDitherTool-module__fFtzBW__error{grid-column:1}.AsciiDitherTool-module__fFtzBW__workspace{grid-template-columns:1fr}.AsciiDitherTool-module__fFtzBW__preview{min-block-size:34rem}.AsciiDitherTool-module__fFtzBW__controlPane{max-inline-size:42rem}.AsciiDitherTool-module__fFtzBW__studioNote{grid-template-columns:1fr;gap:.5rem}}@media (max-width:640px){.AsciiDitherTool-module__fFtzBW__presetGrid{grid-template-columns:1fr}.AsciiDitherTool-module__fFtzBW__presetButton{min-block-size:7rem}.AsciiDitherTool-module__fFtzBW__intro{padding-block:2rem 3rem}.AsciiDitherTool-module__fFtzBW__intro h1{font-size:clamp(3.2rem,13vw,5.8rem)}.AsciiDitherTool-module__fFtzBW__uploadBar{padding-block:1.25rem}.AsciiDitherTool-module__fFtzBW__dropArea{justify-content:stretch;align-items:stretch;min-block-size:5rem}.AsciiDitherTool-module__fFtzBW__dropArea>span{display:none}.AsciiDitherTool-module__fFtzBW__pickButton{inline-size:100%}.AsciiDitherTool-module__fFtzBW__workspace{padding-block-start:2rem}.AsciiDitherTool-module__fFtzBW__previewHeader{flex-direction:column;align-items:flex-start}.AsciiDitherTool-module__fFtzBW__viewSwitch{flex:1;min-inline-size:0}.AsciiDitherTool-module__fFtzBW__viewSwitch button{flex:1}.AsciiDitherTool-module__fFtzBW__previewActions{inline-size:100%}.AsciiDitherTool-module__fFtzBW__zoomButton{padding-inline:.65rem}.AsciiDitherTool-module__fFtzBW__preview{min-block-size:22rem;max-block-size:32rem;padding:1rem}.AsciiDitherTool-module__fFtzBW__preview canvas{max-block-size:29rem}.AsciiDitherTool-module__fFtzBW__emptyPreview span{font-size:13rem}.AsciiDitherTool-module__fFtzBW__previewFooter span{display:none}.AsciiDitherTool-module__fFtzBW__exportSection{grid-template-columns:1fr}}
