/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f6f3f7;
  --panel: #ffffff;
  --panel-soft: #fbf9fc;
  --ink: #211f26;
  --muted: #6f6877;
  --line: #ded8e4;
  --accent: #d8477d;
  --accent-dark: #a82e5a;
  --blue: #2f6fb3;
  --green: #29845a;
  --warn: #a7681f;
  --danger: #b83939;
  --shadow: 0 12px 30px rgba(58, 45, 69, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.sidebar {
  background: #27212b;
  color: #f7eef8;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

.brand strong {
  font-size: 18px;
}

.brand span {
  color: #cfc1d3;
  font-size: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav a,
.nav button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f7eef8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  text-align: left;
}

.nav a:hover,
.nav button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.main {
  min-width: 0;
  padding: 24px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.page-head h1 {
  margin: 0;
  font-size: 24px;
}

.page-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.grid.two {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.create-form,
.result-flow {
  min-width: 0;
}

.result-flow {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.panel h2 {
  font-size: 16px;
  margin: 0 0 12px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.section-toggle {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  text-align: left;
}

.section-toggle span {
  font-size: 16px;
  font-weight: 750;
}

.section-toggle small {
  color: var(--muted);
  font-size: 12px;
}

.field {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  color: #433b49;
  font-weight: 650;
}

.field small {
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

.textarea {
  resize: vertical;
  min-height: 110px;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 71, 125, 0.14);
}

.segmented,
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-grid.compact .chip {
  flex: 1 1 auto;
  justify-content: center;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  min-height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip.active {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: #fff1f6;
}

.button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.button.secondary {
  background: #ece6ef;
  color: #2f2933;
}

.button.ghost {
  background: transparent;
  color: var(--accent-dark);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.button.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.button.danger-action {
  color: var(--danger);
}

.icon-button {
  width: 36px;
  min-height: 36px;
  padding: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.stat {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.stat strong {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

.settings-group {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.settings-group summary,
.prompt-panel summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  list-style-position: outside;
}

.settings-group[open] summary,
.prompt-panel[open] summary {
  margin-bottom: 12px;
}

.lora-picker {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.lora-option strong,
.lora-option label {
  font-weight: 700;
}

.lora-option.selected {
  border-color: rgba(216, 71, 125, 0.45);
  background: #fff7fa;
}

.lora-select-row {
  display: grid;
  grid-template-columns: auto 24px minmax(0, 1fr);
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
}

.lora-select-row input {
  margin: 0;
}

.lora-option-name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.order-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.order-badge.muted-badge {
  background: var(--muted);
}

.order-badge.badge-placeholder {
  visibility: hidden;
}

.upload-page-panel {
  max-width: 720px;
}

.compact-range-field {
  gap: 5px;
}

/* ── NSFW scale widget ── */
.nsfw-scale {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 4px;
  scrollbar-width: none;
}
.nsfw-scale::-webkit-scrollbar {
  display: none;
}

.nsfw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1 0 auto;
  min-width: 36px;
  padding: 6px 4px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
  font-family: inherit;
  color: var(--muted);
}
.nsfw-step:hover {
  background: var(--panel-soft);
}
.nsfw-step.active {
  background: var(--panel);
}

/* Dot above the number */
.nsfw-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.nsfw-step.active .nsfw-step-dot {
  transform: scale(1.5);
}

/* Tier colors for dots */
.nsfw-step--sfw .nsfw-step-dot   { background: #4caf50; }           /* green */
.nsfw-step--sexy .nsfw-step-dot  { background: #f4a236; }           /* amber */
.nsfw-step--nsfw .nsfw-step-dot  { background: #e53935; }           /* red */

.nsfw-step--sfw.active  { background: #e8f5e9; }
.nsfw-step--sexy.active { background: #fff8e1; }
.nsfw-step--nsfw.active { background: #ffebee; }

.nsfw-step-num {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.nsfw-step.active .nsfw-step-num {
  color: var(--text);
}

.nsfw-step-label {
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.nsfw-step.active .nsfw-step-label {
  color: var(--text);
}

/* Tier divider lines between step 0-1 and 5-6 */
.nsfw-step[title="1 — 微露"]::before,
.nsfw-step[title="6 — 全裸"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
/* Hide the first divider when it's the first visible element */
.nsfw-step:first-child::before {
  display: none;
}

@media (max-width: 900px) {
  .nsfw-scale {
    gap: 0;
    padding: 6px 0 2px;
  }
  .nsfw-step {
    min-width: 30px;
    padding: 4px 2px 6px;
  }
  .nsfw-step-label {
    font-size: 9px;
  }
  .nsfw-step-num {
    font-size: 12px;
  }
}

.upload-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.upload-preview img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.upload-preview .icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.mobile-truncate {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-action-bar {
  display: none;
}

.result-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.result-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.result-card img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-actions .button {
  flex: 1 1 120px;
}

.compact-empty {
  min-height: 150px;
}

.filter-pill {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.history-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  overflow: hidden;
}

.history-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  background: #eee8f1;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-image.is-blurred img {
  filter: blur(18px);
  transform: scale(1.05);
}

.nsfw-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  background: rgba(33, 31, 38, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 7px;
  letter-spacing: 0;
}

.history-card-body {
  padding: 12px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.history-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.history-card-title strong {
  font-size: 15px;
  line-height: 1.35;
}

.history-card-title span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.tag-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
}

.history-actions .button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.history-details {
  border-top: 1px solid var(--line);
  padding: 12px;
}

.param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-gap: 6px 12px;
  gap: 6px 12px;
}

.param-grid span {
  font-size: 12px;
  color: var(--muted);
}

.lottery-layout {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.lottery-form {
  min-width: 0;
}

.lottery-results {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  min-width: 0;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}

.reference-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
}

.reference-tile.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(216, 71, 125, 0.16);
}

.reference-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.reference-tile span {
  display: block;
  padding: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  min-height: 28px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ref-sentinel {
  grid-column: 1 / -1;
  height: 1px;
}

.ref-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
}

.lottery-lora-picker button {
  text-align: left;
}

.compact-settings {
  gap: 10px;
}

.compact-settings .field {
  margin-bottom: 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #433b49;
  font-size: 13px;
  font-weight: 650;
}

.lottery-card {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  box-shadow: none;
}

.lottery-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lottery-card-head strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.lottery-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.lottery-output {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #eee8f1;
  color: var(--muted);
}

.lottery-output img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lottery-output small {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  background: rgba(33, 31, 38, 0.72);
  color: #fff;
  font-size: 10px;
  padding: 4px 6px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e1ee;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* Queue Status (compact) */
.queue-task-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.queue-task-item {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.queue-task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.queue-task-name {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.queue-task-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}

.queue-task-status.running {
  background: var(--accent);
  color: #fff;
}

.queue-task-status.pending {
  background: #e9e1ee;
  color: var(--muted);
}

.queue-task-progress {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}

.queue-task-stats {
  font-size: 11px;
  color: var(--muted);
}

.empty {
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--panel-soft);
  text-align: center;
  padding: 24px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.login-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.notice {
  border: 1px solid #e2b4c5;
  background: #fff4f8;
  color: #8e244f;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* ---- Mask Editor ---- */

.mask-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mask-editor-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  gap: 12px;
  flex-shrink: 0;
}

.mask-editor-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.mask-editor-canvas-area {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.mask-editor-bg,
.mask-editor-fg {
  position: absolute;
  touch-action: none;
  border-radius: 4px;
}

.mask-editor-bg {
  z-index: 1;
  pointer-events: none;
}

.mask-editor-fg {
  z-index: 2;
  cursor: crosshair;
}

.mask-editor-toolbar {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  justify-content: center;
  flex-wrap: wrap;
}

.mask-editor-toolbar .chip {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  min-height: 38px;
  min-width: 52px;
}

.mask-editor-toolbar .chip:active,
.mask-editor-toolbar .chip.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.mask-editor-toolbar .chip:disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 78px;
  }

  .app-shell {
    display: block;
    min-height: 100vh;
  }

  .sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 0;
    padding: 8px 10px;
    gap: 0;
  }

  .brand {
    display: none;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: 4px;
  }

  .nav form {
    flex: 0 0 auto;
  }

  .nav a,
  .nav button {
    min-height: 34px;
    white-space: nowrap;
    font-size: 12px;
    padding: 0 9px;
  }

  .grid.two,
  .stat-row,
  .create-layout,
  .lottery-layout {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 14px;
  }

  .page-head {
    margin-bottom: 12px;
    align-items: stretch;
  }

  .page-head h1 {
    font-size: 21px;
  }

  .page-head p {
    display: none;
  }

  .page-head > .button,
  .page-head > a.button {
    min-height: 40px;
    align-self: flex-start;
  }

  .panel {
    padding: 14px;
    box-shadow: none;
  }

  .create-form {
    order: 1;
  }

  .result-flow {
    order: 2;
  }

  .compact-workspace p {
    display: none;
  }

  .textarea {
    min-height: 128px;
  }

  .chip-grid.compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 6px;
    gap: 6px;
  }

  .chip-grid.compact .chip {
    min-width: 0;
    min-height: 32px;
    padding: 0 6px;
    font-size: 12px;
  }

  .segmented {
    gap: 6px;
  }

  .segmented .chip {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .settings-group .field {
    margin-bottom: 10px;
  }

  .desktop-actions {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 8px;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(246, 243, 247, 0.94);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
  }

  .mobile-action-bar .button {
    min-height: 46px;
    padding: 0 8px;
    font-size: 13px;
  }

  .mobile-progress-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat strong {
    font-size: 16px;
  }

  .empty {
    min-height: 180px;
    padding: 18px;
  }

  .compact-empty {
    min-height: 118px;
  }

  .image-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .image-actions .button {
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-image {
    aspect-ratio: 1 / 1;
  }

  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 55vh;
  }

  .lora-picker {
    max-height: 55vh;
  }
}

/* Loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

