/**
 * Şans çarkı — site teması (navy + magenta)
 */
.spin-wheel-page {
  --sw-gold: #3D5F8A;
  --sw-gold-light: #5B7FA8;
  --sw-gold-dark: #1A3558;
  --sw-gold-rgb: 61, 95, 138;
  --sw-bg: 5, 8, 16;
  --sw-bg-deep: 0, 0, 24;
  --sw-slice-a: #0E1A2E;
  --sw-slice-b: #0E1A2E;
  --sw-btn-grad: linear-gradient(
    180deg,
    rgba(91, 127, 168, 0.98) 0%,
    rgba(61, 95, 138, 1) 45%,
    rgba(136, 1, 75, 1) 100%
  );
  box-sizing: border-box;
}

.spin-wheel-page *,
.spin-wheel-page *::before,
.spin-wheel-page *::after {
  box-sizing: border-box;
}

.spin-wheel-page.luxury-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: min(82vh, 880px);
  margin: 0 auto;
  padding: 28px 16px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  overflow: hidden;
}

.spin-wheel-page.luxury-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 70% at 50% 35%,
    rgba(var(--sw-bg), 0.72) 0%,
    rgba(var(--sw-bg-deep), 0.92) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.spin-wheel-page .ambient-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.spin-wheel-page .glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}

.spin-wheel-page .orb-1 {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  background: rgba(var(--sw-gold-rgb), 0.45);
  top: -12%;
  left: -8%;
}

.spin-wheel-page .orb-2 {
  width: min(420px, 75vw);
  height: min(420px, 75vw);
  background: rgba(var(--sw-bg-deep), 0.9);
  bottom: -15%;
  right: -10%;
}

.spin-wheel-page .main-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1;
  max-height: min(500px, 78vw);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.spin-wheel-page .outer-rim {
  position: absolute;
  width: 114%;
  height: 114%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(255, 196, 222, 0.72);
  background:
    radial-gradient(circle, transparent 78%, rgba(8, 4, 12, 0.92) 79%, rgba(8, 4, 12, 0.92) 100%);
  box-shadow:
    0 0 0 7px #0b0610,
    0 0 0 9px rgba(61, 95, 138, 0.85),
    0 22px 48px rgba(0, 0, 0, 0.55),
    inset 0 0 28px rgba(61, 95, 138, 0.22);
  box-sizing: border-box;
}

.spin-wheel-page .outer-rim::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -2deg,
    rgba(255, 214, 232, 0.95) 0deg 5deg,
    rgba(70, 8, 40, 0.95) 5deg 10deg
  );
  -webkit-mask: radial-gradient(circle, transparent 91%, #000 92.5%);
  mask: radial-gradient(circle, transparent 91%, #000 92.5%);
  pointer-events: none;
  opacity: 0.72;
}

.spin-wheel-page .led-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spin-wheel-page .led-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #E8EEF5 38%, var(--sw-gold) 72%, var(--sw-gold-dark) 100%);
  border-radius: 50%;
  transform-origin: center center;
  opacity: 0.42;
  box-shadow: 0 0 8px rgba(var(--sw-gold-rgb), 0.55);
}

.spin-wheel-page .led-dot.is-on {
  opacity: 1;
  box-shadow: 0 0 14px rgba(var(--sw-gold-rgb), 1), 0 0 4px #fff;
}

.spin-wheel-page .wheel-chassis {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 16px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    linear-gradient(145deg, #1a0c18 0%, #07040c 100%);
  border: 2px solid rgba(255, 186, 218, 0.55);
  box-shadow:
    0 0 0 5px rgba(8, 5, 14, 0.95),
    0 18px 44px rgba(0, 0, 0, 0.5),
    inset 0 0 28px rgba(var(--sw-gold-rgb), 0.16);
}

.spin-wheel-page #wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  transform: translateZ(0);
}

.spin-wheel-page .glass-overlay {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 28% 22%,
    rgba(255, 255, 255, 0.11) 0%,
    transparent 52%
  );
  pointer-events: none;
}

.spin-wheel-page .indicator-system {
  position: absolute;
  top: -18px;
  z-index: 100;
  width: 46px;
  height: 64px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55));
}

.spin-wheel-page .indicator-needle {
  width: 100%;
  height: 100%;
  transform-origin: 50% 18%;
  transition: transform 0.08s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.spin-wheel-page .interaction-hub {
  position: absolute;
  width: 112px;
  height: 112px;
  z-index: 200;
  cursor: pointer;
}

.spin-wheel-page .hub-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #3a1630 0%, rgb(var(--sw-bg-deep)) 100%);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 186, 218, 0.7);
}

.spin-wheel-page .hub-core {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 34% 30%, #3d1632 0%, #120814 62%, #05040a 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid #f3a8d0;
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spin-wheel-page .interaction-hub:hover .hub-core {
  box-shadow: 0 0 24px rgba(var(--sw-gold-rgb), 0.45);
  transform: scale(1.04);
}

.spin-wheel-page .interaction-hub:active .hub-core {
  transform: scale(0.96);
}

.spin-wheel-page .spin-text {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
  text-align: center;
  line-height: 1.15;
  padding: 0 6px;
}

.spin-wheel-page .spin-text.is-cd {
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  font-weight: 700;
}

.spin-wheel-page .energy-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(var(--sw-gold-rgb), 0.55);
  border-radius: 50%;
  opacity: 0.35;
  animation: spin-wheel-pulse 2s infinite;
}

@keyframes spin-wheel-pulse {
  0% {
    transform: scale(0.82);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.spin-wheel-page .interaction-hub.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.spin-wheel-page .interaction-hub.is-disabled .energy-ring {
  animation: none;
  opacity: 0.2;
}

.spin-wheel-page .main-stage.is-live .led-dot {
  animation: sw-led-chase 0.7s linear infinite;
}

.spin-wheel-page .main-stage.is-live .led-dot:nth-child(odd) {
  animation-delay: 0.35s;
}

@keyframes sw-led-chase {
  0%,
  40% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(var(--sw-gold-rgb), 0.95), 0 0 4px #fff;
  }
  50%,
  100% {
    opacity: 0.28;
    box-shadow: 0 0 4px rgba(var(--sw-gold-rgb), 0.3);
  }
}

.spin-wheel-page .sw-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 10px;
  z-index: 10;
  position: relative;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.spin-wheel-page .sw-legend span:last-child {
  color: #5eead4;
}

.spin-wheel-page #particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

.spin-wheel-page #particleCanvas.is-on {
  display: block;
}

/* SweetAlert — site popup stili */
.swal2-popup-luxury-enhanced {
  background: rgb(var(--sw-bg, 5, 8, 16)) !important;
  border: 1px solid rgba(var(--sw-gold-rgb, 61, 95, 138), 0.45) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  color: #fff !important;
}

.swal2-title-luxury {
  font-family: "Outfit", sans-serif !important;
  color: var(--sw-gold-light, #5B7FA8) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}

.swal2-content-luxury {
  font-family: "Outfit", sans-serif !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.swal2-confirm-luxury {
  background: linear-gradient(
    180deg,
    rgba(91, 127, 168, 0.98) 0%,
    rgba(61, 95, 138, 1) 45%,
    rgba(136, 1, 75, 1) 100%
  ) !important;
  border: none !important;
  color: #ffffff !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 700 !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
}

.swal2-icon.swal2-success {
  border-color: var(--sw-gold, #3D5F8A) !important;
  color: var(--sw-gold, #3D5F8A) !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: var(--sw-gold, #3D5F8A) !important;
}

/* Mobil */
html[class*="is-mobile"] .spin-wheel-page.luxury-wrapper {
  min-height: min(75vh, 720px);
  padding: 16px 12px 32px;
}

html[class*="is-mobile"] .spin-wheel-page .main-stage {
  max-width: min(420px, 92vw);
  max-height: min(420px, 92vw);
  margin-bottom: 24px;
}

html[class*="is-mobile"] .spin-wheel-page .interaction-hub {
  width: 88px;
  height: 88px;
}

html[class*="is-mobile"] .spin-wheel-page .spin-text {
  font-size: 0.85rem;
}

html[class*="is-mobile"] .spin-wheel-page .indicator-system {
  top: -14px;
  width: 38px;
  height: 54px;
}

html[class*="is-mobile"] .spin-wheel-page .led-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
}

/* Layout içinde taşmayı önle */
.layout-content-holder-bc .spin-wheel-page.luxury-wrapper {
  width: 100%;
  max-width: 100%;
}

.spin-wheel-page .sw-hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 18px;
  padding: 0 12px;
  max-width: 420px;
}

.spin-wheel-page .sw-hero-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(var(--sw-gold-rgb), 0.45));
}

.spin-wheel-page .sw-hero-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.spin-wheel-page .sw-hero-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.spin-wheel-page .sw-hero-sub {
  margin: 8px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.spin-wheel-page .sw-float-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.spin-wheel-page .sw-float {
  position: absolute;
  color: rgba(var(--sw-gold-rgb), 0.55);
  opacity: 0.55;
  filter: drop-shadow(0 0 10px rgba(var(--sw-gold-rgb), 0.25));
  will-change: transform;
  animation: sw-float-bob 5.5s ease-in-out infinite;
}

.spin-wheel-page .sw-float svg {
  width: 100%;
  height: 100%;
  display: block;
}

.spin-wheel-page .sw-float--gift-a {
  width: 34px;
  height: 34px;
  top: 12%;
  left: 6%;
  animation-delay: 0s;
}

.spin-wheel-page .sw-float--coin {
  width: 30px;
  height: 30px;
  top: 22%;
  right: 7%;
  animation-delay: -1.2s;
}

.spin-wheel-page .sw-float--star {
  width: 26px;
  height: 26px;
  bottom: 28%;
  left: 8%;
  animation-delay: -2.1s;
}

.spin-wheel-page .sw-float--diamond {
  width: 28px;
  height: 28px;
  top: 48%;
  right: 5%;
  animation-delay: -0.7s;
}

.spin-wheel-page .sw-float--gift-b {
  width: 32px;
  height: 32px;
  bottom: 14%;
  right: 12%;
  animation-delay: -3s;
}

.spin-wheel-page .sw-float--ticket {
  width: 30px;
  height: 30px;
  bottom: 18%;
  left: 12%;
  animation-delay: -1.8s;
}

@keyframes sw-float-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

@media (max-width: 720px) {
  .spin-wheel-page .sw-float--gift-a,
  .spin-wheel-page .sw-float--gift-b,
  .spin-wheel-page .sw-float--ticket {
    opacity: 0.4;
  }

  .spin-wheel-page .sw-float--diamond,
  .spin-wheel-page .sw-float--star {
    display: none;
  }

  .spin-wheel-page .sw-hero {
    margin-bottom: 12px;
  }

  .spin-wheel-page .sw-hero-icon {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-wheel-page .sw-float {
    animation: none;
  }

  .spin-wheel-page .main-stage.is-live .led-dot {
    animation: none;
  }
}

.spin-wheel-page--embedded {
  --sw-gold: #42C95E;
  --sw-gold-light: #8BE59A;
  --sw-gold-dark: #1F6A32;
  --sw-gold-rgb: 66, 201, 94;
  --sw-bg: 18, 23, 34;
  --sw-bg-deep: 7, 10, 16;
  --sw-slice-a: #17211c;
  --sw-slice-b: #0e1712;
  --sw-fs-a: #102b1f;
  --sw-fs-b: #07140d;
  --sw-fs-line: #c8f6d0;
  --sw-btn-grad: linear-gradient(
    180deg,
    rgba(139, 229, 154, 0.98) 0%,
    rgba(66, 201, 94, 1) 45%,
    rgba(31, 106, 50, 1) 100%
  );
}

.spin-wheel-page--embedded.luxury-wrapper::before {
  background: radial-gradient(
    ellipse 90% 70% at 50% 35%,
    rgba(18, 23, 34, 0.72) 0%,
    rgba(7, 10, 16, 0.92) 100%
  );
}

.spin-wheel-page--embedded .orb-1 {
  background: rgba(var(--sw-gold-rgb), 0.34);
}

.spin-wheel-page--embedded .orb-2 {
  background: rgba(var(--sw-bg-deep), 0.96);
}

.spin-wheel-page--embedded .outer-rim {
  border-color: rgba(var(--sw-gold-rgb), 0.58);
  background:
    radial-gradient(circle, transparent 78%, rgba(7, 10, 16, 0.94) 79%, rgba(7, 10, 16, 0.94) 100%);
  box-shadow:
    0 0 0 7px #0b1016,
    0 0 0 9px rgba(var(--sw-gold-rgb), 0.52),
    0 22px 48px rgba(0, 0, 0, 0.55),
    inset 0 0 28px rgba(var(--sw-gold-rgb), 0.18);
}

.spin-wheel-page--embedded .outer-rim::before {
  background: repeating-conic-gradient(
    from -2deg,
    rgba(232, 247, 234, 0.95) 0deg 5deg,
    rgba(21, 56, 29, 0.95) 5deg 10deg
  );
}

.spin-wheel-page--embedded .led-dot {
  background: radial-gradient(circle at 35% 30%, #fff 0%, #ecf8ed 38%, var(--sw-gold) 72%, var(--sw-gold-dark) 100%);
  box-shadow: 0 0 8px rgba(var(--sw-gold-rgb), 0.55);
}

.spin-wheel-page--embedded .led-dot.is-on {
  box-shadow: 0 0 14px rgba(var(--sw-gold-rgb), 1), 0 0 4px #fff;
}

.spin-wheel-page--embedded .wheel-chassis {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    linear-gradient(145deg, #18211b 0%, #070b10 100%);
  border: 2px solid rgba(var(--sw-gold-rgb), 0.52);
  box-shadow:
    0 0 0 5px rgba(8, 5, 14, 0.95),
    0 18px 44px rgba(0, 0, 0, 0.5),
    inset 0 0 28px rgba(var(--sw-gold-rgb), 0.16);
}

.spin-wheel-page--embedded .glass-overlay {
  background: radial-gradient(
    circle at 28% 22%,
    rgba(255, 255, 255, 0.11) 0%,
    transparent 52%
  );
}

.spin-wheel-page--embedded .hub-inner {
  background: linear-gradient(160deg, #163523 0%, rgb(var(--sw-bg-deep)) 100%);
  border-color: rgba(var(--sw-gold-rgb), 0.7);
}

.spin-wheel-page--embedded .hub-core {
  background: radial-gradient(circle at 34% 30%, #173c27 0%, #0c1216 62%, #05070a 100%);
  border-color: var(--sw-gold);
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.12);
}

.spin-wheel-page--embedded .interaction-hub:hover .hub-core {
  box-shadow: 0 0 24px rgba(var(--sw-gold-rgb), 0.45);
}

.spin-wheel-page--embedded .energy-ring {
  border-color: rgba(var(--sw-gold-rgb), 0.55);
}

.spin-wheel-page--embedded .sw-legend span:last-child {
  color: var(--sw-gold);
}

.spin-wheel-page--embedded .sw-float {
  color: rgba(var(--sw-gold-rgb), 0.55);
  filter: drop-shadow(0 0 10px rgba(var(--sw-gold-rgb), 0.25));
}

.spin-wheel-page--embedded .sw-hero-icon {
  filter: drop-shadow(0 0 14px rgba(var(--sw-gold-rgb), 0.45));
}

.spin-wheel-page--embedded .swal2-popup-luxury-enhanced {
  background: rgb(var(--sw-bg, 18, 23, 34)) !important;
  border-color: rgba(var(--sw-gold-rgb), 0.45) !important;
}

.spin-wheel-page--embedded .swal2-title-luxury {
  color: var(--sw-gold-light, #8BE59A) !important;
}

.spin-wheel-page--embedded .swal2-confirm-luxury {
  background: linear-gradient(
    180deg,
    rgba(139, 229, 154, 0.98) 0%,
    rgba(66, 201, 94, 1) 45%,
    rgba(31, 106, 50, 1) 100%
  ) !important;
}

.spin-wheel-page--embedded .swal2-icon.swal2-success {
  border-color: var(--sw-gold, #42C95E) !important;
  color: var(--sw-gold, #42C95E) !important;
}

.spin-wheel-page--embedded .swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: var(--sw-gold, #42C95E) !important;
}

.spin-wheel-page--embedded .sw-toast {
  background: linear-gradient(180deg, #111824 0%, #0b1016 100%);
  border-color: rgba(var(--sw-gold-rgb), 0.5);
}

.spin-wheel-page--embedded .sw-toast--fs {
  border-color: rgba(94, 234, 212, 0.55);
}

.spin-wheel-page--embedded .sw-toast-kicker {
  color: #b8c6d4;
}

.spin-wheel-page--embedded .sw-toast--fs .sw-toast-kicker {
  color: #7ee7a0;
}

.spin-wheel-page--embedded .sw-toast--error {
  border-color: rgba(255, 120, 120, 0.55);
}

.spin-wheel-page--embedded .sw-toast--error .sw-toast-kicker {
  color: #ff9a9a;
}

.spin-wheel-page.spin-wheel-page--compact.luxury-wrapper {
  min-height: 0;
  padding: 4px 4px 12px;
  justify-content: flex-start;
  overflow: visible;
}

.spin-wheel-page.spin-wheel-page--compact.luxury-wrapper::before {
  display: none;
}

.spin-wheel-page--compact .main-stage {
  max-width: min(300px, 86vw);
  max-height: min(300px, 86vw);
  margin-bottom: 14px;
}

.spin-wheel-page--compact .wheel-chassis {
  padding: 10px;
  box-shadow:
    0 0 0 4px rgba(var(--sw-bg), 0.9),
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(var(--sw-gold-rgb), 0.1);
}

.spin-wheel-page--compact .glass-overlay {
  inset: 10px;
}

.spin-wheel-page--compact .interaction-hub {
  width: 72px;
  height: 72px;
}

.spin-wheel-page--compact .spin-text {
  font-size: 0.72rem;
}

.spin-wheel-page--compact .spin-text.is-cd {
  font-size: 0.58rem;
}

.spin-wheel-page--compact .indicator-system {
  top: -12px;
  width: 34px;
  height: 48px;
}

.spin-wheel-page--compact .led-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
}

.spin-wheel-page--compact .sw-legend {
  margin-top: 0;
}

.spin-wheel-page--compact #particleCanvas {
  pointer-events: none;
}

html[class*="is-mobile"] .spin-wheel-page.spin-wheel-page--compact.luxury-wrapper {
  min-height: 0;
  padding: 2px 2px 10px;
}

html[class*="is-mobile"] .spin-wheel-page--compact .main-stage {
  max-width: min(280px, 84vw);
  max-height: min(280px, 84vw);
  margin-bottom: 12px;
}

html[class*="is-mobile"] .spin-wheel-page--compact .interaction-hub {
  width: 68px;
  height: 68px;
}

.sw-toast-host {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 14050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(520px, calc(100% - 24px));
  pointer-events: none;
}
html.is-web .sw-toast-host {
  top: calc(68px + env(safe-area-inset-top, 0px));
}
html.is-mobile .sw-toast-host {
  top: calc(58px + env(safe-area-inset-top, 0px));
}

.sw-toast {
  pointer-events: auto;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a0818 0%, #0E1A2E 100%);
  border: 1px solid rgba(61, 95, 138, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: "Outfit", sans-serif;
  animation: sw-toast-in 0.28s ease;
}

.sw-toast--fs {
  border-color: rgba(94, 234, 212, 0.55);
}

.sw-toast--error {
  border-color: rgba(255, 120, 120, 0.55);
}

.sw-toast-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8BDD4;
  margin-bottom: 4px;
  font-weight: 700;
}

.sw-toast--fs .sw-toast-kicker {
  color: #5eead4;
}

.sw-toast--error .sw-toast-kicker {
  color: #ff9a9a;
}

.sw-toast-msg {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

@keyframes sw-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
