:root,
.dark {
  --background: 197 100% 98%;
  --foreground: 204 57% 20%;
  --card: 195 73% 96%;
  --card-foreground: 204 57% 20%;
  --popover: 0 0% 100%;
  --popover-foreground: 204 57% 20%;
  --primary: 327 82% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 195 78% 92%;
  --secondary-foreground: 204 57% 22%;
  --muted: 196 48% 92%;
  --muted-foreground: 204 22% 43%;
  --accent: 194 78% 58%;
  --accent-foreground: 204 62% 16%;
  --border: 195 42% 83%;
  --input: 195 52% 91%;
  --ring: 327 82% 55%;
  --sidebar-background: 197 100% 98%;
  --sidebar-foreground: 204 42% 26%;
  --sidebar-primary: 327 82% 55%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 195 78% 92%;
  --sidebar-accent-foreground: 204 57% 22%;
  --sidebar-border: 195 42% 83%;
  --sidebar-ring: 327 82% 55%;
}

html {
  background: #f5fcff;
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgb(87 199 239 / 18%), transparent 30rem),
    radial-gradient(circle at 94% 9%, rgb(238 46 148 / 13%), transparent 28rem),
    #f5fcff;
}

::selection {
  color: #fff;
  background: #ed2f94;
}

.gradient-primary {
  background-image: linear-gradient(110deg, #ed2f94 0%, #f04aa5 50%, #54c8ee 145%);
}

.bg-\[\#2D0A1D\],
.bg-\[\#2d0a1d\]\/80 {
  background-color: #123b5a;
}

.from-\[\#2D0A1D\] {
  --tw-gradient-from: #123b5a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(18 59 90 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-\[\#2D0A1D\]\/80 {
  --tw-gradient-to: rgb(18 59 90 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops:
    var(--tw-gradient-from),
    rgb(18 59 90 / 80%) var(--tw-gradient-via-position),
    var(--tw-gradient-to);
}

nav img[alt="Tabby"] {
  width: auto;
  height: 3rem;
  max-width: min(11rem, 48vw);
  object-fit: contain;
  filter: drop-shadow(0 3px 9px rgb(27 146 195 / 24%))
    drop-shadow(0 2px 8px rgb(237 47 148 / 22%));
}

@media (max-width: 480px) {
  nav img[alt="Tabby"] {
    height: 2.7rem;
    max-width: 9.5rem;
  }
}

.tabby-desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
}

.tabby-desktop-nav button,
.tabby-desktop-nav__login {
  padding: 0;
  border: 0;
  color: hsl(var(--muted-foreground));
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease;
}

.tabby-desktop-nav button:hover,
.tabby-desktop-nav__login:hover {
  color: hsl(var(--primary));
}

.tabby-desktop-nav button:focus-visible,
.tabby-desktop-nav__login:focus-visible,
.tabby-desktop-nav__cta:focus-visible {
  outline: 3px solid rgb(83 200 238 / 52%);
  outline-offset: 4px;
}

.tabby-desktop-nav__assurance {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tabby-desktop-nav__assurance::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #22c58b;
  box-shadow: 0 0 0 3px rgb(34 197 139 / 12%);
}

.tabby-desktop-nav__cta {
  padding: 0.58rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #ed2f94 0%, #ef57aa 62%, #55c8ed 150%);
  box-shadow: 0 8px 22px -11px rgb(237 47 148 / 78%);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tabby-desktop-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -11px rgb(237 47 148 / 85%);
}

.tabby-mobile-login {
  margin-left: auto;
  padding: 0.52rem 0.9rem;
  border: 1px solid hsl(var(--primary) / 0.35);
  border-radius: 999px;
  color: hsl(var(--primary));
  background: hsl(var(--background) / 0.76);
  box-shadow: 0 7px 20px -14px rgb(237 47 148 / 70%);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.tabby-mobile-login:focus-visible {
  outline: 3px solid rgb(83 200 238 / 52%);
  outline-offset: 3px;
}

@media (min-width: 960px) {
  .tabby-mobile-login {
    display: none;
  }
}

#latest-reels,
#recent-clips,
#membership-includes {
  scroll-margin-top: 5rem;
}

.tabby-verified-badge .animate-ping {
  display: none;
}

.tabby-verified-badge .bg-red-500,
.tabby-verified-badge .bg-red-500\/60 {
  background-color: #31c48d;
}

.tabby-dynamic-copy {
  display: none !important;
}

.tabby-hero-subtitle {
  color: rgb(255 255 255 / 90%);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 350;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}

.tabby-synthetic-metrics {
  display: none !important;
}

.tabby-messenger-trust-copy {
  overflow: hidden;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabby-trust-messenger {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(calc(100% + 1rem)) !important;
  transition: opacity 180ms ease, transform 220ms ease;
}

.tabby-trust-messenger.is-visible {
  opacity: 1 !important;
  pointer-events: none !important;
  transform: translateY(0) !important;
}

.tabby-trust-messenger.is-visible > * {
  pointer-events: auto;
}

.tabby-trust-messenger__card {
  position: relative;
  padding-right: 2.75rem !important;
}

.tabby-messenger-dismiss {
  width: 1.75rem;
  height: 1.75rem;
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  display: grid;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--background) / 86%);
  font-size: 1rem;
  line-height: 1;
}

body:has(dialog[open]) .tabby-trust-messenger {
  display: none !important;
}

.tabby-trust-messenger a {
  min-width: 5.25rem;
  justify-content: center;
  text-align: center;
}

.tabby-inactive-filters,
.tabby-content-extra,
.tabby-unverified-module,
.tabby-unverified-activity {
  display: none !important;
}

.tabby-content-extra.is-visible {
  display: block !important;
}

.tabby-content-extra.is-visible.flex {
  display: flex !important;
}

.tabby-show-more {
  width: min(100%, 20rem);
  margin: 1rem auto 0;
  padding: 0.78rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(237 47 148 / 28%);
  border-radius: 999px;
  color: hsl(var(--primary));
  background: rgb(255 255 255 / 72%);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, transform 160ms ease;
}

.tabby-show-more:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
}

.tabby-spin-early {
  margin-top: 1.5rem !important;
  margin-bottom: 3rem;
}

.tabby-secondary-network {
  display: none !important;
}

.tabby-secondary-network.is-visible {
  display: block !important;
}

.tabby-network-toggle {
  width: min(calc(100% - 2rem), 32rem);
  margin: 2.5rem auto 0;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 78%);
  box-shadow: 0 14px 34px -26px rgb(18 59 90 / 55%);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.tabby-network-toggle:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

.tabby-spin {
  position: relative;
  width: min(calc(100% - 2rem), 86rem);
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(237 47 148 / 24%);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 88% 10%, rgb(83 200 238 / 19%), transparent 22rem),
    radial-gradient(circle at 8% 100%, rgb(237 47 148 / 14%), transparent 24rem),
    rgb(255 255 255 / 74%);
  box-shadow: 0 28px 70px -44px rgb(18 59 90 / 42%);
}

.tabby-spin__copy {
  position: relative;
  z-index: 2;
}

.tabby-spin__eyebrow {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgb(237 47 148 / 24%);
  border-radius: 999px;
  color: #d81b7d;
  background: rgb(237 47 148 / 7%);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tabby-spin h2 {
  max-width: 34rem;
  margin: 0.8rem 0 0;
  color: hsl(var(--foreground));
  font-size: clamp(2rem, 4.5vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tabby-spin__copy > p {
  max-width: 35rem;
  margin: 1rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  line-height: 1.65;
}

.tabby-spin__benefits {
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem 1rem;
  list-style: none;
}

.tabby-spin__benefits li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  font-weight: 750;
}

.tabby-spin__benefits li::before {
  content: "✓";
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #49bee7;
  font-size: 0.66rem;
  font-weight: 900;
}

.tabby-spin__button {
  margin-top: 1.35rem;
  padding: 0.86rem 1.3rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #ed2f94, #f05aab);
  box-shadow: 0 14px 32px -14px rgb(237 47 148 / 70%);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.tabby-spin__button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tabby-spin__button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.tabby-spin__status {
  margin-top: 0.65rem !important;
  font-size: 0.68rem !important;
}

.tabby-spin__wheel-wrap {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1;
  margin-inline: auto;
  padding: clamp(0.6rem, 1.5vw, 0.85rem);
  border-radius: 50%;
  background: linear-gradient(145deg, #ed2f94, #58c8ed);
  box-shadow:
    0 26px 55px -30px rgb(18 59 90 / 58%),
    inset 0 0 0 3px rgb(255 255 255 / 42%);
}

.tabby-spin__wheel-button {
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border: clamp(0.35rem, 1vw, 0.65rem) solid #fff;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: inset 0 0 36px rgb(18 59 90 / 16%);
}

.tabby-spin__wheel-button:focus-visible,
.tabby-spin__button:focus-visible,
.tabby-spin-modal__cta:focus-visible {
  outline: 3px solid rgb(83 200 238 / 68%);
  outline-offset: 4px;
}

.tabby-spin__wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  will-change: transform;
}

.tabby-spin__wheel::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 50%;
}

.tabby-spin__label {
  width: 46%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  transform-origin: left center;
  color: #fff;
  text-shadow: 0 1px 2px rgb(18 59 90 / 45%);
  pointer-events: none;
}

.tabby-spin__label b {
  width: 56%;
  display: block;
  font-size: clamp(0.46rem, 1.15vw, 0.66rem);
  line-height: 1.05;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
}

.tabby-spin__label.is-winner b {
  color: #123b5a;
  text-shadow: none;
}

.tabby-spin__hub {
  width: clamp(4.1rem, 10vw, 5.8rem);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  border: clamp(0.28rem, 0.8vw, 0.48rem) solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ed2f94, #bf1f76);
  box-shadow: 0 8px 25px rgb(18 59 90 / 32%);
  font-size: clamp(0.64rem, 1.5vw, 0.88rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
}

.tabby-spin__pointer {
  width: 0;
  height: 0;
  position: absolute;
  top: -0.2rem;
  left: 50%;
  z-index: 5;
  border-right: 1.05rem solid transparent;
  border-left: 1.05rem solid transparent;
  border-top: 2rem solid #123b5a;
  filter: drop-shadow(0 4px 4px rgb(18 59 90 / 24%));
  transform: translateX(-50%);
}

.tabby-spin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.tabby-spin-modal::backdrop {
  background: rgb(18 28 43 / 68%);
  backdrop-filter: blur(9px);
}

.tabby-spin-modal__card {
  width: min(100%, 27rem);
  padding: 2rem;
  position: relative;
  border: 1px solid rgb(237 47 148 / 28%);
  border-radius: 1.65rem;
  background:
    radial-gradient(circle at 100% 0%, rgb(83 200 238 / 18%), transparent 15rem),
    #fff;
  box-shadow: 0 32px 90px -30px rgb(0 0 0 / 62%);
  text-align: center;
}

.tabby-spin-modal__close {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  border-radius: 50%;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted));
  font-size: 1.25rem;
  cursor: pointer;
}

.tabby-spin-modal__icon {
  font-size: 2.6rem;
}

.tabby-spin-modal__eyebrow {
  margin: 0.35rem 0 0;
  color: #d81b7d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tabby-spin-modal h3 {
  margin: 0.42rem 0 0;
  color: hsl(var(--foreground));
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tabby-spin-modal__card > p:not(.tabby-spin-modal__eyebrow) {
  margin: 0.75rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  line-height: 1.55;
}

.tabby-spin-modal__cta {
  margin-top: 1.2rem;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #ed2f94, #f05aab);
  box-shadow: 0 14px 32px -14px rgb(237 47 148 / 72%);
  font-size: 0.88rem;
  font-weight: 900;
}

.tabby-spin-modal small {
  margin-top: 0.65rem;
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.65rem;
}

@media (max-width: 959px) {
  .tabby-desktop-nav {
    display: none;
  }
}

.tabby-bonus-model-label {
  max-width: 100%;
  font-size: 0.68rem !important;
  line-height: 1.15;
  letter-spacing: 0.025em !important;
  text-align: center;
  white-space: normal;
}

.tabby-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.tabby-exit-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tabby-exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(45 10 29 / 82%);
  backdrop-filter: blur(8px);
}

.tabby-exit-modal__card {
  width: min(100%, 29rem);
  max-height: calc(100vh - 2rem);
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 2rem;
  border: 1px solid rgb(237 47 148 / 34%);
  border-radius: 2rem;
  color: hsl(var(--foreground));
  background:
    radial-gradient(circle at 90% 5%, rgb(237 47 148 / 18%), transparent 35%),
    radial-gradient(circle at 5% 95%, rgb(59 185 224 / 16%), transparent 34%),
    hsl(var(--card));
  box-shadow: 0 30px 90px -22px rgb(237 47 148 / 72%);
  text-align: center;
  transform: translateY(18px) scale(0.96);
  transition: transform 220ms ease;
}

.tabby-exit-modal.is-visible .tabby-exit-modal__card {
  transform: translateY(0) scale(1);
}

.tabby-exit-modal__close {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--secondary) / 72%);
  font-size: 1.35rem;
  line-height: 1;
}

.tabby-exit-modal__avatar {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 0.8rem;
  border: 3px solid rgb(255 255 255 / 78%);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 12px 28px -12px rgb(45 10 29 / 62%);
}

.tabby-exit-modal__eyebrow {
  margin: 0;
  color: hsl(var(--primary));
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.tabby-exit-modal h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.7rem, 6vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.tabby-exit-modal__copy {
  margin: 0.75rem auto 0;
  max-width: 23rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.55;
}

.tabby-exit-modal__benefits {
  margin: 1.1rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.tabby-exit-modal__benefits span {
  padding: 0.55rem 0.65rem;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  color: hsl(var(--foreground) / 88%);
  background: hsl(var(--secondary) / 58%);
  font-size: 0.68rem;
  font-weight: 800;
}

.tabby-exit-modal__cta {
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #ed2f94, #f05aab 58%, #f6b94d);
  box-shadow: 0 16px 34px -15px rgb(237 47 148 / 75%);
  font-size: 0.9rem;
  font-weight: 900;
}

.tabby-exit-modal__continue {
  margin-top: 0.8rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.tabby-exit-modal small {
  margin-top: 0.8rem;
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 0.62rem;
}

body:has(.tabby-exit-modal.is-visible) .tabby-trust-messenger {
  display: none !important;
}

@media (max-width: 430px) {
  .tabby-exit-modal__card {
    padding: 1.5rem 1.1rem;
    border-radius: 1.5rem;
  }

  .tabby-exit-modal__benefits {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .tabby-show-more--mobile {
    display: none;
  }
}

@media (max-width: 1023px) {
  .tabby-spin {
    grid-template-columns: 1fr;
    border-radius: 1.5rem;
  }

  .tabby-spin__copy {
    order: 2;
    text-align: center;
  }

  .tabby-spin__wheel-wrap {
    order: 1;
    width: min(100%, 21rem);
  }

  .tabby-spin__benefits {
    width: min(100%, 25rem);
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .tabby-spin__benefits {
    grid-template-columns: 1fr;
  }

  .tabby-spin__label b {
    font-size: 0.41rem;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tabby-spin__wheel {
    transition-duration: 0.01ms !important;
  }
}
