#orca-consent-modal,
.orca-consent-modal {
  display: none !important;
}

/* ==========================================================================
   ISX falcon-x consent modal — centered, dark, sleek
   Brand: purple #7B3FE4 / yellow #facc15 / red #dc2626 on #0A0A0F / #15172B
   ========================================================================== */

.eksneks-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 10, 15, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, backdrop-filter 0.15s ease;
}

.orca-consent-decision-required,
.eksneks-consent-gate-active {
  overflow: hidden;
}

body.orca-consent-decision-required > :not(#eksneks-consent-modal):not(script):not(style),
body.eksneks-consent-gate-active > :not(#eksneks-consent-modal):not(script):not(style) {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.eksneks-consent-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Full dim backdrop when consent is mandatory (no escape) */
.eksneks-consent-modal.is-mandatory {
  background: rgba(5, 5, 9, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.eksneks-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.eksneks-consent-modal__dialog {
  position: relative;
  width: min(100%, 30rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(123, 63, 228, 0.35);
  border-radius: 1.5rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(123, 63, 228, 0.18), transparent 60%),
    linear-gradient(180deg, #15172B 0%, #0A0A0F 100%);
  color: #e5e7f0;
  box-shadow:
    0 0 0 1px rgba(123, 63, 228, 0.18),
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(123, 63, 228, 0.12);
  font-family: Manrope, Arial, sans-serif;
  transform-origin: center;
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.eksneks-consent-modal.is-visible .eksneks-consent-modal__dialog {
  transform: scale(1);
  opacity: 1;
  transition:
    transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.22s cubic-bezier(0.23, 1, 0.32, 1);
}

.eksneks-consent-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(229, 231, 240, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #9aa0b5;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.eksneks-consent-modal__close[hidden] {
  display: none;
}

@media (hover: hover) {
  .eksneks-consent-modal__close:hover {
    color: #fff;
    border-color: rgba(220, 38, 38, 0.6);
    background: rgba(220, 38, 38, 0.16);
  }
}

.eksneks-consent-modal__close:focus-visible {
  color: #fff;
  border-color: rgba(220, 38, 38, 0.6);
  background: rgba(220, 38, 38, 0.16);
  outline: 2px solid rgba(220, 38, 38, 0.5);
  outline-offset: 2px;
}

.eksneks-consent-modal__close:active {
  transform: scale(0.97);
}

.eksneks-consent-modal__eyebrow {
  margin: 0 0 0.75rem;
  color: #facc15;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eksneks-consent-modal__title {
  margin: 0;
  color: #ffffff;
  font-family: Syne, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eksneks-consent-modal__description {
  max-width: 100%;
  margin: 0.9rem 0 0;
  color: #b4b9cc;
  font-size: 0.95rem;
  line-height: 1.65;
}

.eksneks-consent-modal__link {
  display: inline-flex;
  margin-top: 1rem;
  color: #a78bfa;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

@media (hover: hover) {
  .eksneks-consent-modal__link:hover {
    color: #c4b5fd;
    border-color: #c4b5fd;
  }
}

.eksneks-consent-modal__link:focus-visible {
  color: #c4b5fd;
  outline: 2px solid rgba(123, 63, 228, 0.5);
  outline-offset: 3px;
  border-radius: 2px;
}

.eksneks-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.eksneks-consent-modal__button {
  flex: 1 1 12rem;
  min-width: 10rem;
  padding: 0.95rem 1.4rem;
  border-radius: 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.eksneks-consent-modal__button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.eksneks-consent-modal__button:focus-visible {
  outline: 2px solid rgba(123, 63, 228, 0.6);
  outline-offset: 2px;
}

.eksneks-consent-modal__button:active {
  transform: scale(0.97);
}

.eksneks-consent-modal__button--primary {
  border: 1px solid #7B3FE4;
  background: #7B3FE4;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(123, 63, 228, 0.35);
}

@media (hover: hover) {
  .eksneks-consent-modal__button--primary:hover {
    border-color: #8b54f0;
    background: #8b54f0;
    box-shadow: 0 10px 30px rgba(123, 63, 228, 0.5);
  }
}

.eksneks-consent-modal__button--primary:focus-visible {
  border-color: #8b54f0;
  background: #8b54f0;
}

.eksneks-consent-modal__button--secondary {
  border: 1px solid rgba(229, 231, 240, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #d6d9e6;
}

@media (hover: hover) {
  .eksneks-consent-modal__button--secondary:hover {
    border-color: rgba(229, 231, 240, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
}

.eksneks-consent-modal__button--secondary:focus-visible {
  border-color: rgba(229, 231, 240, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.eksneks-privacy-settings {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(123, 63, 228, 0.5);
  border-radius: 10px;
  background: #0A0A0F;
  color: #c4b5fd;
  box-shadow: 0 0 0 1px rgba(123, 63, 228, 0.18), 0 10px 24px rgba(0, 0, 0, 0.5);
  font: 700 0.76rem/1.2 Manrope, Arial, sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

@media (hover: hover) {
  .eksneks-privacy-settings:hover {
    background: #15172B;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(123, 63, 228, 0.6), 0 12px 28px rgba(123, 63, 228, 0.3);
  }
}

.eksneks-privacy-settings:focus-visible {
  background: #15172B;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(123, 63, 228, 0.6), 0 12px 28px rgba(123, 63, 228, 0.3);
  outline: none;
}

.eksneks-privacy-settings:active {
  transform: scale(0.97);
}

.eksneks-consent-required {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(250, 204, 21, 0.5);
  border-left: 4px solid #facc15;
  border-radius: 0.75rem;
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

.eksneks-consent-required strong {
  color: #facc15;
}

.eksneks-consent-required p {
  margin: 0.4rem 0 0.85rem;
  color: #e7ddb4;
}

.eksneks-consent-required button {
  padding: 0.65rem 1rem;
  border: 1px solid #7B3FE4;
  border-radius: 0.7rem;
  background: #7B3FE4;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

@media (hover: hover) {
  .eksneks-consent-required button:hover {
    border-color: #8b54f0;
    background: #8b54f0;
  }
}

.eksneks-consent-required button:focus-visible {
  border-color: #8b54f0;
  background: #8b54f0;
  outline: 2px solid rgba(123, 63, 228, 0.5);
  outline-offset: 2px;
}

.eksneks-consent-required button:active {
  transform: scale(0.97);
}

@media (max-width: 640px) {
  .eksneks-consent-modal {
    padding: 0.85rem;
  }

  .eksneks-consent-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 1.7rem);
    overflow-y: auto;
    border-radius: 1.25rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .eksneks-consent-modal__actions {
    flex-direction: column-reverse;
  }

  .eksneks-consent-modal__button {
    width: 100%;
    flex: 1 1 auto;
  }

  .eksneks-privacy-settings {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eksneks-consent-modal,
  .eksneks-consent-modal__dialog,
  .eksneks-consent-modal.is-visible .eksneks-consent-modal__dialog {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .eksneks-consent-modal__dialog {
    transform: none;
  }

  .eksneks-consent-modal.is-visible .eksneks-consent-modal__dialog {
    transform: none;
  }

  .eksneks-consent-modal__button:active,
  .eksneks-consent-modal__close:active,
  .eksneks-privacy-settings:active,
  .eksneks-consent-required button:active {
    transform: none;
  }
}
