html,
body {
  background: #050505 !important;
  scrollbar-gutter: stable;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
}

html {
  overflow: hidden !important;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

#root {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden !important;
}

html.stitch-allow-scroll,
body.stitch-allow-scroll {
  height: auto !important;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: auto;
  -webkit-overflow-scrolling: touch;
}

body.stitch-allow-scroll #root {
  height: auto !important;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.025), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
  pointer-events: none;
  z-index: 0;
}

body.stitch-loading #root {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  filter: blur(6px);
}

body.stitch-unveiling #root {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  filter: blur(6px);
}

body.stitch-ready #root {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 480ms ease,
    transform 480ms ease,
    filter 480ms ease;
}

body.stitch-loading #root main > *,
body.stitch-unveiling #root main > * {
  opacity: 0;
  transform: translateY(18px);
}

body.stitch-ready #root main > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

body.stitch-ready #root main > *:nth-child(1) {
  transition-delay: 70ms;
}

body.stitch-ready #root main > *:nth-child(2) {
  transition-delay: 120ms;
}

body.stitch-ready #root main > *:nth-child(3) {
  transition-delay: 165ms;
}

body.stitch-ready #root main > *:nth-child(4) {
  transition-delay: 210ms;
}

body.stitch-ready #root main > *:nth-child(5) {
  transition-delay: 250ms;
}

.stitch-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.02), transparent 34%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.78), rgba(0, 0, 0, 0.86));
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

body.stitch-unveiling .stitch-preloader,
body.stitch-ready .stitch-preloader {
  opacity: 0;
  visibility: hidden;
}

.stitch-preloader__inner {
  width: min(100%, 320px);
  padding: 24px;
  text-align: center;
}

.stitch-preloader__logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(255, 255, 255, 0.06));
}

.stitch-preloader__title {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stitch-preloader__subtitle {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.stitch-preloader__bar {
  margin-top: 18px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stitch-preloader__bar > span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.82));
  animation: stitch-loader 1.15s ease-in-out infinite;
}

.stitch-hide {
  display: none !important;
}

.stitch-buy-button,
a.stitch-buy-button,
button.stitch-buy-button,
[data-slot="button"].stitch-buy-button {
  background: #232323 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  transition:
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease !important;
}

.stitch-buy-button:hover,
a.stitch-buy-button:hover,
button.stitch-buy-button:hover,
[data-slot="button"].stitch-buy-button:hover {
  background: #535d5e !important;
  background-image: none !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 0 0 1px rgba(83, 93, 94, 0.26),
    0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

.stitch-buy-button:focus,
.stitch-buy-button:focus-visible,
.stitch-buy-button:active,
a.stitch-buy-button:focus,
a.stitch-buy-button:focus-visible,
a.stitch-buy-button:active,
button.stitch-buy-button:focus,
button.stitch-buy-button:focus-visible,
button.stitch-buy-button:active,
[data-slot="button"].stitch-buy-button:focus,
[data-slot="button"].stitch-buy-button:focus-visible,
[data-slot="button"].stitch-buy-button:active,
[data-slot="button"].stitch-buy-button[data-state="open"],
[data-slot="button"].stitch-buy-button[aria-expanded="true"] {
  background: #232323 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

.stitch-main-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 44px rgba(0, 0, 0, 0.32) !important;
}

.stitch-active-badge {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding-left: 12px !important;
  background: rgba(0, 230, 118, 0.14) !important;
  color: #00e676 !important;
  border-color: rgba(0, 230, 118, 0.22) !important;
  box-shadow: none !important;
}

.stitch-active-badge:hover,
.stitch-active-badge:focus,
.stitch-active-badge:focus-visible,
.stitch-active-badge:active,
.stitch-active-badge[aria-expanded="true"],
.stitch-active-badge[data-state="open"] {
  background: rgba(0, 230, 118, 0.22) !important;
  color: #2eff8e !important;
  border-color: rgba(0, 230, 118, 0.32) !important;
  box-shadow: none !important;
}

.stitch-active-badge::before {
  content: "" !important;
  position: relative !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #00e676 !important;
  box-shadow: 0 0 0 6px rgba(0, 230, 118, 0.16) !important;
  animation: stitch-status-pulse-green 1.2s ease-out infinite !important;
  flex: 0 0 8px !important;
}

@keyframes stitch-status-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.stitch-proxy-box {
  background: linear-gradient(180deg, rgba(48, 48, 48, 0.96), rgba(40, 40, 40, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14) !important;
}

.stitch-proxy-row {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 10px 0 !important;
}

.stitch-proxy-row + .stitch-proxy-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.stitch-proxy-row > span:first-child {
  color: rgba(255, 255, 255, 0.62) !important;
  letter-spacing: 0.01em;
}

.stitch-proxy-row > span:last-child {
  display: block !important;
  text-align: right !important;
  color: #fff !important;
  font-weight: 600 !important;
  justify-self: end !important;
  max-width: 272px;
  padding-left: 10px;
  overflow-wrap: anywhere;
}

.stitch-logo-dark {
  filter: grayscale(1) brightness(0.72) !important;
  opacity: 0.12 !important;
}

.stitch-footer-note {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.48) !important;
}

[data-sonner-toaster],
[data-toaster],
.toaster,
[class*="toaster"] {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  inset: auto 16px 16px auto !important;
  margin: 0 !important;
  max-width: calc(100vw - 32px) !important;
  z-index: 10000 !important;
}

[data-sonner-toast],
[data-toast],
[class*="toast"] {
  margin: 0 !important;
  max-width: min(360px, calc(100vw - 32px)) !important;
}

@keyframes stitch-loader {
  0% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(360%);
  }
}

@keyframes stitch-status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.34);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 77, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}
