:root {
  --bg-0: #0b0d12;
  --bg-1: #121720;
  --ink: #ecf0f8;
  --muted: #a8b0c1;
  --line: rgba(194, 204, 224, 0.18);
  --line-strong: rgba(194, 204, 224, 0.36);
  --surface: rgba(17, 22, 33, 0.72);
  --surface-strong: rgba(20, 26, 38, 0.9);
  --button: #f4f7ff;
  --button-text: #0f1522;
  --danger: #bb4e5f;
  --accent: #9ec4ff;
  --accent-strong: #7db2ff;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-mid: 360ms;
  --dur-slow: 620ms;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(102, 133, 181, 0.24) 0%, transparent 60%),
    radial-gradient(900px 620px at 92% 10%, rgba(93, 110, 159, 0.24) 0%, transparent 62%),
    linear-gradient(155deg, var(--bg-0) 0%, var(--bg-1) 100%);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(42px);
  opacity: 0.62;
  animation: drift 18s ease-in-out infinite;
}

.orb-one {
  width: 380px;
  height: 380px;
  left: -120px;
  top: 15%;
  background: rgba(140, 170, 225, 0.42);
}

.orb-two {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 58%;
  background: rgba(166, 138, 205, 0.34);
  animation-delay: -8s;
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px 16px 8px;
}

.card {
  width: min(920px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(175deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005)),
    var(--surface);
  box-shadow:
    0 36px 88px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  padding: 22px 22px 16px;
  animation: rise var(--dur-mid) var(--ease-smooth);
  transition: transform var(--dur-mid) var(--ease-smooth), opacity var(--dur-mid) var(--ease-smooth), filter var(--dur-mid) var(--ease-smooth);
}

.view-panel {
  animation: rise var(--dur-mid) var(--ease-smooth);
}

.hidden {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-family: "Fraunces", "Cormorant Garamond", Georgia, serif;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #f7f9ff;
}

h1 {
  font-size: clamp(36px, 5.6vw, 50px);
}

h2 {
  font-size: clamp(29px, 4vw, 38px);
}

h3 {
  font-size: clamp(22px, 3.2vw, 30px);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.subtitle {
  margin: 0 0 12px;
  color: var(--muted);
}

.subtitle.tight {
  margin: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #d9e8ff;
  transition: transform var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid) var(--ease-smooth), border-color var(--dur-mid) var(--ease-smooth), background-color var(--dur-mid) var(--ease-smooth);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
}

.brand-title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #f0f5ff;
  transition: letter-spacing var(--dur-mid) var(--ease-smooth), transform var(--dur-mid) var(--ease-smooth), opacity var(--dur-mid) var(--ease-smooth);
}

#app-card[data-view="designs"] .brand-mark {
  transform: scale(1);
}

#app-card[data-view="generation"] .brand-mark {
  transform: scale(0.96) rotate(-3deg);
}

#app-card[data-view="tryon"] .brand-mark {
  transform: scale(0.94) rotate(3deg);
}

#app-card[data-view="final"] .brand-mark {
  transform: scale(1.08);
  color: #e7f1ff;
}

#app-card[data-view="final"] .brand-title {
  letter-spacing: 0.2em;
  transform: translateY(-1px);
}

.error {
  min-height: 1.2em;
  color: #ff9cab;
}

#app-error:empty {
  display: none;
}

.status {
  color: var(--muted);
  margin-top: 8px;
}

.status:empty {
  display: none;
}

label {
  font-size: 13px;
  color: #cfd9ef;
  font-weight: 600;
}

input,
button,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth), background-color var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth);
}

input,
textarea {
  margin: 8px 0 12px;
  background: rgba(10, 14, 22, 0.54);
  color: #edf2ff;
}

input::placeholder,
textarea::placeholder {
  color: rgba(205, 215, 235, 0.46);
}

input:focus,
textarea:focus,
button:focus-visible {
  outline: none;
  border-color: rgba(157, 193, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(125, 171, 253, 0.22);
}

textarea {
  resize: vertical;
  min-height: 108px;
}

button {
  cursor: pointer;
  border: none;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
  touch-action: manipulation;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

button.ghost {
  width: auto;
  background: rgba(20, 28, 42, 0.82);
  color: #e8efff;
  border: 1px solid var(--line);
}

#mode-photo-btn,
#tryon-source-upload-btn {
  width: 100%;
  display: block;
}

#tryon-source-upload-btn {
  margin-bottom: 10px;
}

button.accent {
  background: linear-gradient(150deg, var(--accent), var(--accent-strong));
  color: #06101f;
  border: 1px solid rgba(165, 198, 255, 0.8);
}

button.icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button.danger {
  width: auto;
  background: linear-gradient(160deg, #8f2e43, #bb4e5f);
  color: #fff;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.header-row,
.create-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-row {
  justify-content: space-between;
  margin-bottom: 10px;
}

.create-row input {
  margin: 0;
  height: 50px;
  min-height: 50px;
}

.create-row button {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  aspect-ratio: 1 / 1;
  position: relative;
  font-size: 0;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(167, 200, 255, 0.94), rgba(124, 164, 238, 0.9));
  color: #081426;
  overflow: hidden;
}

.create-row button::before,
.create-row button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.create-row button::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

#project-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(170deg, rgba(31, 40, 58, 0.9), rgba(20, 27, 40, 0.84));
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  animation: cardIn var(--dur-mid) var(--ease-smooth) forwards;
}

.project-item .muted {
  color: var(--muted);
  font-size: 12px;
}

.project-open-hit {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  box-shadow: none !important;
}

.project-open-hit .meta {
  display: block;
  min-width: 0;
}

.project-open-hit .meta strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-open-hit:hover {
  transform: none;
  box-shadow: none;
}

.proj-icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 33, 49, 0.86);
  color: #e8efff;
  border: 1px solid rgba(194, 204, 224, 0.26);
}

.proj-icon-btn:hover {
  background: rgba(31, 43, 64, 0.95);
}

.proj-icon-btn .icon {
  width: 18px;
  height: 18px;
}

.proj-icon-btn .icon rect,
.proj-icon-btn .icon path,
.proj-icon-btn .icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dup-btn .duplicate-icon {
  width: 20px;
  height: 20px;
}

.dup-btn .duplicate-icon rect,
.dup-btn .duplicate-icon path,
.dup-btn .duplicate-icon line {
  stroke-width: 2.1;
}

.danger-icon {
  color: #ffadbb;
  border-color: rgba(220, 92, 118, 0.48);
  background: rgba(72, 24, 35, 0.66);
}

.danger-icon:hover {
  background: rgba(97, 32, 48, 0.82);
}

.inspo-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(28, 35, 50, 0.86), rgba(18, 24, 36, 0.86));
  margin: 10px 0 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.choice-grid.two {
  grid-template-columns: 1fr 1fr;
}

.choice-btn {
  background: rgba(24, 31, 47, 0.84);
  color: #dce7ff;
  border: 1px solid var(--line);
}

.choice-btn.active {
  background: linear-gradient(145deg, rgba(150, 191, 255, 0.84), rgba(111, 160, 241, 0.9));
  color: #091528;
}

.catalog-sheet {
  height: min(92dvh, 92vh);
  max-height: min(92dvh, 92vh);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.catalog-board-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  align-content: start;
}

.catalog-board-item {
  position: relative;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 14, 22, 0.65);
}

.catalog-board-item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.catalog-board-select {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: auto;
  min-width: 52px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(16, 22, 34, 0.92);
  color: #e7efff;
  border: 1px solid rgba(196, 206, 226, 0.35);
  font-size: 20px;
  line-height: 1;
  padding: 4px 10px 7px;
}

.catalog-board-select.active {
  background: linear-gradient(145deg, rgba(153, 193, 255, 0.94), rgba(119, 166, 242, 0.9));
  color: #081426;
  border-color: rgba(170, 205, 255, 0.9);
}

.photo-preview,
.photo-preview-grid {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(13, 20, 31, 0.76);
}

.photo-preview img,
#generated-design-image,
#tryon-result-image {
  width: 100%;
  max-height: min(56dvh, 440px);
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: rgba(7, 11, 18, 0.72);
}

.image-refresh {
  animation: imageReveal var(--dur-mid) var(--ease-smooth);
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.photo-preview-grid img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 10px;
  background: #0b1018;
  cursor: zoom-in;
}

.reference-tile {
  position: relative;
}

.remove-ref-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(11, 17, 28, 0.8);
  border-color: rgba(194, 204, 224, 0.24);
  color: #e8eefc;
  z-index: 2;
  padding: 0;
}

.remove-ref-btn:hover {
  background: rgba(24, 33, 49, 0.9);
}

.editor-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.pro-toggle-row {
  margin-top: 10px;
}

.pro-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.pro-toggle-inline input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid rgba(185, 199, 228, 0.74);
  border-radius: 6px;
  background: rgba(13, 19, 31, 0.95);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.pro-toggle-inline input::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #0a1526;
  border-bottom: 2px solid #0a1526;
  margin-top: -1px;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 140ms ease;
}

.pro-toggle-inline input:checked {
  background: linear-gradient(145deg, rgba(153, 193, 255, 0.94), rgba(119, 166, 242, 0.9));
  border-color: rgba(170, 205, 255, 0.9);
}

.pro-toggle-inline input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.download-actions button {
  width: auto;
}

.tryon-result-actions,
.generation-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.tryon-result-actions button,
.generation-result-actions button {
  min-height: 52px;
  height: 52px;
}

#tryon-regenerate-btn,
#regenerate-btn,
#save-next-btn,
#final-next-btn {
  width: 100%;
}

#save-next-btn,
#final-next-btn {
  min-height: 52px;
}

.hint {
  margin: 4px 0 0;
  color: rgba(173, 184, 208, 0.92);
  font-size: 12px;
  text-align: center;
}

.gallery-preview-more {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-preview-more .gallery-preview-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 14, 0.66);
  color: #f2f6ff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.sheet-modal,
.camera-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 10, 18, 0.78);
  display: grid;
  place-items: center;
  padding: 16px;
  animation: fadein 240ms var(--ease-smooth);
  pointer-events: auto;
}

.sheet-panel,
.camera-sheet {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(21, 28, 41, 0.96), rgba(12, 17, 27, 0.96));
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.45);
  padding: 14px;
}

#camera-video {
  width: 100%;
  max-height: 62vh;
  border-radius: 12px;
  background: #05080f;
  object-fit: cover;
}

.camera-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.camera-actions button {
  width: auto;
  min-width: 150px;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(8, 13, 22, 0.9);
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default;
  pointer-events: auto;
  transition: opacity var(--dur-fast) var(--ease-smooth), transform var(--dur-fast) var(--ease-smooth);
}

#lightbox-modal .camera-sheet {
  width: min(900px, 100%);
  max-height: min(92dvh, 92vh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
}

#lightbox-modal .camera-sheet .header-row {
  margin: 0;
}

.lightbox-image-wrap {
  position: relative;
  min-height: 0;
}

.lightbox-add-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: auto;
  min-width: 52px;
  min-height: 34px;
  border-radius: 12px;
  padding: 4px 10px 7px;
  font-size: 20px;
  line-height: 1;
}

.lightbox-add-overlay.active {
  background: linear-gradient(145deg, rgba(153, 193, 255, 0.94), rgba(119, 166, 242, 0.9));
  color: #081426;
  border-color: rgba(170, 205, 255, 0.9);
}

.lightbox-image.entering {
  opacity: 0.02;
  transform: scale(0.99);
}

.lightbox-ghost {
  position: fixed;
  z-index: 10001;
  border-radius: 10px;
  pointer-events: none;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition:
    left var(--dur-mid) var(--ease-smooth),
    top var(--dur-mid) var(--ease-smooth),
    width var(--dur-mid) var(--ease-smooth),
    height var(--dur-mid) var(--ease-smooth),
    opacity var(--dur-mid) var(--ease-smooth),
    transform var(--dur-mid) var(--ease-smooth);
}

.loading-sheet {
  text-align: center;
  padding: 28px 18px;
}

.loading-progress {
  width: min(340px, 84%);
  height: 6px;
  margin: 8px auto 10px;
  border-radius: 999px;
  background: rgba(152, 184, 239, 0.16);
  overflow: hidden;
}

.loading-progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(138, 178, 247, 0.28), rgba(132, 183, 255, 0.9));
  animation: loadingSweep 1.6s var(--ease-smooth) infinite;
}

#loading-message.loading-message-swap {
  animation: loadingTextSwap var(--dur-fast) var(--ease-smooth);
}

body.auth-unlocking #auth-card {
  transform: translateY(-8px) scale(0.985);
  opacity: 0.08;
  filter: blur(2px);
}

.auth-title-reveal {
  animation: titleReveal 760ms var(--ease-smooth);
}

#app-card[data-view="final"] #happy-result-wrap {
  animation: finalReveal var(--dur-slow) var(--ease-smooth);
}

#app-card[data-view="final"] #happy-result-grid img,
#app-card[data-view="final"] #happy-result-grid .gallery-preview-more {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  animation: finalTileIn var(--dur-mid) var(--ease-smooth) forwards;
}

#app-card[data-view="final"] #happy-result-grid > *:nth-child(1) { animation-delay: 90ms; }
#app-card[data-view="final"] #happy-result-grid > *:nth-child(2) { animation-delay: 170ms; }
#app-card[data-view="final"] #happy-result-grid > *:nth-child(3) { animation-delay: 250ms; }
#app-card[data-view="final"] #happy-result-grid > *:nth-child(4) { animation-delay: 330ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes imageReveal {
  from {
    opacity: 0.55;
    transform: scale(0.985);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes loadingSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(360%);
  }
}

@keyframes loadingTextSwap {
  from {
    opacity: 0.45;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes finalReveal {
  from {
    opacity: 0.82;
    transform: translateY(4px);
    filter: saturate(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
  }
}

@keyframes finalTileIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleReveal {
  0% {
    letter-spacing: 0.22em;
    opacity: 0.5;
    filter: blur(3px);
  }
  50% {
    opacity: 1;
  }
  100% {
    letter-spacing: 0.01em;
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 760px) {
  .project-item {
    grid-template-columns: 1fr auto auto;
  }

  .choice-grid,
  .choice-grid.two {
    grid-template-columns: 1fr;
  }

  .photo-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-board-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .catalog-board-item {
    height: 190px;
  }

  .header-row h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
