:root {
  --background: #fafafa;
  --foreground: #0a0a0a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

.modal-panel {
  position: relative;
  opacity: 1;
  background-color: #ffffff;
  border: 1.5px solid #d1d5db;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.10);
}

.modal-panel--stacked-close {
  padding-top: 4.25rem !important;
}

.modal-header-safe {
  padding-right: 3.5rem;
}

.modal-close-corner {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  margin-left: 0 !important;
}

@media (max-width: 640px) {
  .modal-panel--stacked-close {
    padding-top: 4rem !important;
  }

  .modal-header-safe {
    padding-right: 3.25rem;
  }

  .modal-close-corner {
    top: 1rem;
    right: 1rem;
  }
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.15) 55%,
      transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

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

@keyframes card-enter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-card-enter {
  animation: card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up-once {
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.motion-ready .motion-fade-up {
  opacity: 0;
  transform: translateY(8px);
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.motion-ready [data-observe-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

body.motion-ready [data-observe-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interactive-btn {
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.interactive-btn:active {
  transform: scale(0.97);
}

.interactive-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.interactive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -16px rgba(17, 17, 17, 0.35);
}

.faq-item summary+p {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-item[open] summary+p {
  max-height: 240px;
}

.unqx-toast {
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 8px 12px;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.unqx-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.unqx-toast.is-success {
  border-color: #a7f3d0;
  color: #065f46;
}

.unqx-toast.is-error {
  border-color: #fecaca;
  color: #991b1b;
}

#order-modal-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#order-modal-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

#order-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
}

#order-modal-wrap {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#order-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 42rem;
  max-height: 88vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#order-modal-root.is-open #order-modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.order-modal-flash-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 229, 229, 0.9);
  background:
    radial-gradient(circle at top right, rgba(212, 212, 212, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.96));
  padding: 20px 24px;
}

.order-modal-flash-hero.hidden {
  display: none;
}

.order-modal-flash-story {
  display: grid;
  gap: 14px;
  padding: 18px 24px 22px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 249, 249, 0.96));
}

.order-modal-flash-story.hidden {
  display: none;
}

.order-modal-flash-story-copy {
  display: grid;
  gap: 8px;
}

.order-modal-flash-section-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 9999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #404040;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.order-modal-flash-story-text {
  margin: 0;
  color: #262626;
  font-size: 0.95rem;
  line-height: 1.65;
}

.order-modal-flash-inline-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.04);
  color: #404040;
  font-size: 0.85rem;
  line-height: 1.55;
}

.order-modal-flash-rule-card,
.order-modal-flash-purchase-card {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 34px -32px rgba(17, 17, 17, 0.35);
}

.order-modal-flash-rule-card {
  padding: 16px;
}

.order-modal-flash-rule-title {
  margin: 0;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-modal-flash-rule-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.order-modal-flash-rule-item {
  position: relative;
  padding-left: 18px;
  color: #404040;
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-modal-flash-rule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #111111;
}

.order-modal-flash-example-wrap {
  display: grid;
  gap: 12px;
}

.order-modal-flash-example-head {
  display: grid;
  gap: 6px;
}

.order-modal-flash-example-copy {
  margin: 0;
  color: #525252;
  font-size: 0.85rem;
  line-height: 1.55;
}

.order-modal-flash-example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-modal-flash-example-button {
  min-height: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  padding: 0 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-modal-flash-purchase-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(229, 229, 229, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.96));
}

.order-modal-flash-purchase-copy {
  display: grid;
  gap: 8px;
}

.order-modal-flash-purchase-hint,
.order-modal-flash-eligibility-text,
.order-modal-flash-price-line {
  margin: 0;
  color: #525252;
  font-size: 0.9rem;
  line-height: 1.6;
}

.order-modal-flash-purchase-state {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.04);
}

.order-modal-flash-eligibility-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #e5e5e5;
  color: #262626;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-modal-flash-eligibility-badge.is-active {
  background: #111111;
  color: #ffffff;
}

.order-modal-flash-eligibility-badge.is-idle {
  background: #f5f5f5;
  color: #404040;
}

.order-modal-flash-eligibility-badge.is-muted {
  background: #efefef;
  color: #525252;
}

.order-modal-flash-price-line strong {
  color: #111111;
}

.order-modal-flash-hero::before {
  content: "";
  position: absolute;
  right: -56px;
  top: -64px;
  width: 188px;
  height: 188px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(229, 229, 229, 0));
  pointer-events: none;
}

.order-modal-flash-hero-copy,
.order-modal-flash-meta {
  position: relative;
  z-index: 1;
}

.order-modal-flash-hero-copy {
  max-width: 30rem;
}

.order-modal-flash-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.order-modal-flash-title {
  margin: 14px 0 0;
  color: #111111;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.order-modal-flash-copy {
  margin: 10px 0 0;
  color: #525252;
  font-size: 0.95rem;
  line-height: 1.6;
}

.order-modal-flash-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 15rem;
}

.order-modal-flash-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px -24px rgba(17, 17, 17, 0.42);
  color: #171717;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(16px);
}

#order-modal-flash-discount {
  background: #111111;
  border-color: #111111;
  box-shadow: 0 22px 36px -24px rgba(17, 17, 17, 0.8);
  color: #ffffff;
}

#order-modal-flash-countdown {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.order-modal-surface-card,
.order-modal-plan-card,
#order-modal-summary-card {
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#order-modal-root[data-modal-tone="flash"] #order-modal-backdrop {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.1), transparent 36%),
    rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-dialog {
  border-color: rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(circle at top right, rgba(229, 229, 229, 0.3), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow:
    0 40px 80px -36px rgba(17, 17, 17, 0.5),
    0 10px 24px -16px rgba(17, 17, 17, 0.18);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-progress-bar-inner {
  background: linear-gradient(90deg, #111111, #3f3f46);
  box-shadow: 0 12px 24px -18px rgba(17, 17, 17, 0.9);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-progress-label,
#order-modal-root[data-modal-tone="flash"] #order-modal-progress-auth,
#order-modal-root[data-modal-tone="flash"] #order-modal-progress-no-auth {
  color: #404040;
}

#order-modal-root[data-modal-tone="flash"] #order-modal-close-top {
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 30px -26px rgba(17, 17, 17, 0.55);
  color: #111111;
  backdrop-filter: blur(10px);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-step-auth,
#order-modal-root[data-modal-tone="flash"] #order-modal-step-form,
#order-modal-root[data-modal-tone="flash"] #order-modal-step-success {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.95));
}

#order-modal-root[data-modal-tone="flash"] .order-modal-flash-story {
  background:
    radial-gradient(circle at top left, rgba(229, 229, 229, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.96));
}

#order-modal-root[data-modal-tone="flash"] .order-modal-flash-rule-card,
#order-modal-root[data-modal-tone="flash"] .order-modal-flash-purchase-card {
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 24px 38px -32px rgba(17, 17, 17, 0.4);
}

#order-modal-root[data-modal-tone="flash"] .order-modal-flash-example-button:hover,
#order-modal-root[data-modal-tone="flash"] .order-modal-flash-example-button:focus-visible {
  border-color: rgba(17, 17, 17, 0.16);
  background: #ffffff;
  transform: translateY(-1px);
}

#order-modal-root[data-modal-tone="flash"] .order-modal-surface-card,
#order-modal-root[data-modal-tone="flash"] #order-modal-summary-card {
  border-color: rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.95));
  box-shadow: 0 20px 40px -34px rgba(17, 17, 17, 0.45);
}

#order-modal-root[data-modal-tone="flash"] .order-modal-plan-card {
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 20px 40px -34px rgba(17, 17, 17, 0.34);
}

#order-modal-root[data-modal-tone="flash"] .order-modal-plan-card:hover,
#order-modal-root[data-modal-tone="flash"] .order-modal-surface-card:hover {
  border-color: rgba(17, 17, 17, 0.14);
  transform: translateY(-1px);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-rarity {
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #404040;
}

#order-modal-root[data-modal-tone="flash"] #order-modal-auth-login,
#order-modal-root[data-modal-tone="flash"] #order-modal-promo-check {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 28px -24px rgba(17, 17, 17, 0.36);
  color: #171717;
}

#order-modal-root[data-modal-tone="flash"] #order-modal-auth-register,
#order-modal-root[data-modal-tone="flash"] #order-modal-submit,
#order-modal-root[data-modal-tone="flash"] #order-modal-go-profile {
  background: linear-gradient(135deg, #111111, #2b2b2b);
  box-shadow: 0 26px 40px -28px rgba(17, 17, 17, 0.85);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-auth-register:hover,
#order-modal-root[data-modal-tone="flash"] #order-modal-submit:hover,
#order-modal-root[data-modal-tone="flash"] #order-modal-go-profile:hover {
  background: linear-gradient(135deg, #171717, #3a3a3a);
}

#order-modal-root[data-modal-tone="flash"] #order-modal-submit:disabled {
  box-shadow: none;
}

#order-modal-root[data-modal-tone="flash"] #order-modal-countdown {
  border-color: rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 36px -28px rgba(17, 17, 17, 0.3);
}

@media (max-width: 640px) {
  #order-modal-wrap {
    padding: 0.75rem;
  }

  .order-modal-flash-hero {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .order-modal-flash-story {
    padding: 16px 18px 18px;
  }

  .order-modal-flash-title {
    font-size: 1.35rem;
  }

  .order-modal-flash-meta {
    justify-content: flex-start;
    max-width: none;
  }

  .order-modal-flash-chip {
    min-height: 38px;
    padding: 0 12px;
  }

  .order-modal-flash-purchase-card {
    padding: 16px;
  }
}

#order-modal-telegram-widget {
  position: relative;
  width: 260px;
  height: 46px;
  cursor: pointer;
}

.order-modal-tg-fake {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  background: #111111;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
  cursor: default;
  z-index: 3;
}

.order-modal-tg-iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.001 !important;
  z-index: 2 !important;
}

.unqx-dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.unqx-dialog-layer.is-hidden {
  display: none;
}

.unqx-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(2px);
}

.unqx-dialog {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 40px -24px rgba(17, 17, 17, 0.55);
  padding: 20px;
}

.unqx-dialog-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unqx-dialog-mark {
  width: 22px;
  height: 22px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 2px;
  background: #ffffff;
}

.unqx-dialog-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #111111;
}

.unqx-dialog-message {
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #404040;
  font-size: 14px;
  line-height: 1.5;
}

.unqx-dialog-input-wrap {
  margin-top: 12px;
}

.unqx-dialog-input-wrap.is-hidden {
  display: none;
}

.unqx-dialog-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  background: #ffffff;
  color: #171717;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.unqx-dialog-input:focus {
  border-color: #737373;
}

.unqx-dialog-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.unqx-dialog-btn {
  min-height: 44px;
  border: 1px solid #111111;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.unqx-dialog-btn.is-secondary {
  border-color: #d4d4d4;
  background: #ffffff;
  color: #404040;
}

.unqx-dialog-btn.is-hidden {
  display: none;
}

/* Fallbacks for peer-based switches when utility CSS is stale/missing variants. */
.w-11 {
  width: 2.75rem;
}

.left-0\.5 {
  left: 0.125rem;
}

.top-0\.5 {
  top: 0.125rem;
}

.bg-neutral-300 {
  background-color: rgb(212 212 212 / 1);
}

.peer:checked~.peer-checked\:bg-neutral-900 {
  background-color: rgb(23 23 23 / 1);
}

.peer:checked~.peer-checked\:translate-x-5 {
  transform: translateX(1.25rem);
}

.peer:disabled~.peer-disabled\:opacity-50 {
  opacity: 0.5;
}

.peer:disabled~.peer-disabled\:opacity-80 {
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .motion-fade-up,
  [data-observe-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}