@import url("/image-converter/styles.css?v=1");
/* Stereogram generator */
.st-gate { color: var(--warn); }
.st-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.st-controls { display: grid; gap: 12px; }
.st-controls h2 { margin: 6px 0 0; }
.st-controls h2:first-child { margin-top: 0; }
.st-box, .st-field { display: grid; gap: 6px; min-width: 0; }
.st-field .lbl { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 0; }
.st-field output { color: var(--accent); font-weight: 600; }
.st-field .range { max-width: none; }
.st-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.st-word { font: 700 18px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .04em; }
#reseed { justify-self: start; }
.st-save { margin-top: 6px; }
.st-preview { position: sticky; top: 16px; }
.st-preview .row.between { gap: 10px; }
.st-preview h2 { margin: 0; }
.st-stage { margin-top: 12px; background: #000; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.st-canvas { display: block; max-width: 100%; height: auto; }
.st-stage:fullscreen { border: 0; border-radius: 0; }
.st-stage:fullscreen .st-canvas { max-height: 100vh; width: auto; max-width: 100vw; }
.st-under { margin-top: 10px; align-items: flex-start; }
.st-under p { margin: 0; flex: 1 1 220px; }
.st-steps { margin: 0 0 10px; padding-left: 20px; font-size: 13px; color: var(--muted); }
.st-steps li { margin-bottom: 6px; }
.drop.over { border-color: var(--accent); }
.drop:focus-visible, .seg button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg button { white-space: nowrap; }
@media (max-width: 900px) { .st-grid { grid-template-columns: minmax(0, 1fr); } .st-preview { position: static; order: -1; } }
@media (max-width: 420px) { .st-preview .seg button { padding: 6px 8px; } }
