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

/* ============================================================
   IOG — Bull GOLD bottom-bar consent (unique look)
   Surface #111827 · Accent #facc15 (black text on gold)
   ============================================================ */

.eksneks-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Bottom bar is NON-BLOCKING: clicks pass through the empty area. */
  background: transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

/* Mandatory gate: dim the page behind the bar. */
.eksneks-consent-modal.is-mandatory {
  background: rgba(2, 6, 23, 0.78);
  pointer-events: auto;
}

.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) {
  /* Only fully hide siblings during a mandatory gate via inert (set in JS);
     keep them visible for the non-blocking bottom bar. */
  pointer-events: none;
}

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

/* Legacy backdrop element (none rendered) — kept inert. */
.eksneks-consent-modal__backdrop {
  display: none;
}

/* ---- The bottom bar ------------------------------------------------ */
.eksneks-consent-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  padding: clamp(1.15rem, 2vw, 1.6rem) clamp(1.15rem, 4vw, 3rem);
  padding-bottom: calc(clamp(1.15rem, 2vw, 1.6rem) + env(safe-area-inset-bottom, 0px));
  background: #111827;
  color: #f9fafb;
  border-top: 3px solid #facc15;
  box-shadow: 0 -18px 50px rgba(2, 6, 23, 0.55);
  font-family: Manrope, Arial, sans-serif;

  /* Enter: slide up from below + fade. transform/opacity only. */
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}

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

/* ---- Text block ---------------------------------------------------- */
.eksneks-consent-modal__eyebrow {
  margin: 0 0 0.3rem;
  color: #facc15;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eksneks-consent-modal__title {
  margin: 0;
  color: #ffffff;
  font-family: Syne, Manrope, Arial, sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eksneks-consent-modal__description {
  max-width: 60rem;
  margin: 0.4rem 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.eksneks-consent-modal__link {
  display: inline-flex;
  margin-top: 0.55rem;
  color: #facc15;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Actions ------------------------------------------------------- */
.eksneks-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.eksneks-consent-modal__button {
  min-width: 9rem;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

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

.eksneks-consent-modal__button:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 2px;
}

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

/* Gold primary: bg #facc15 / black text */
.eksneks-consent-modal__button--primary {
  border: 2px solid #facc15;
  background: #facc15;
  color: #111827;
}

/* Secondary: ghost on the dark bar */
.eksneks-consent-modal__button--secondary {
  border: 2px solid rgba(250, 250, 250, 0.28);
  background: transparent;
  color: #f9fafb;
}

/* Hover gated to devices that actually hover. */
@media (hover: hover) {
  .eksneks-consent-modal__button--primary:hover {
    background: #fde047;
    border-color: #fde047;
  }

  .eksneks-consent-modal__button--secondary:hover {
    border-color: #facc15;
    color: #facc15;
  }

  .eksneks-consent-modal__close:hover {
    background: rgba(250, 204, 21, 0.18);
    border-color: #facc15;
    color: #facc15;
  }
}

/* ---- Close --------------------------------------------------------- */
.eksneks-consent-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(250, 250, 250, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

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

.eksneks-consent-modal__close:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 2px;
}

/* ---- Sticky re-open trigger (gold) --------------------------------- */
.eksneks-privacy-settings {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 99990;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.2rem; border: 0; border-radius: 999px;
  background: #facc15; color: #111827;
  box-shadow: 0 10px 26px rgba(250, 204, 21, .35);
  font: 800 .8rem/1.2 Manrope, Arial, sans-serif; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.eksneks-privacy-settings::before { content: "🍪"; font-size: 1rem; line-height: 1; }
@media (hover: hover) {
  .eksneks-privacy-settings:hover {
    transform: translateY(-2px); background: #fde047;
  }
}
.eksneks-privacy-settings:focus-visible {
  outline: 3px solid rgba(250, 204, 21, .55); outline-offset: 2px;
}

/* ---- Form gate notice (gold-on-dark) ------------------------------- */
.eksneks-consent-required {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(250, 204, 21, 0.5);
  border-left: 4px solid #facc15;
  border-radius: 0.75rem;
  background: #111827;
  color: #f9fafb;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.eksneks-consent-required button {
  padding: 0.7rem 1.1rem;
  border: 2px solid #facc15;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

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

@media (hover: hover) {
  .eksneks-consent-required button:hover {
    background: #fde047;
  }
}

.eksneks-consent-required button:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 2px;
}

/* ---- Responsive: stack on small screens ---------------------------- */
@media (max-width: 860px) {
  .eksneks-consent-modal__dialog {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

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

/* ---- Reduced motion: fade only ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .eksneks-consent-modal,
  .eksneks-consent-modal__dialog,
  .eksneks-consent-modal.is-visible .eksneks-consent-modal__dialog {
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

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

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

  .eksneks-consent-modal__button:active {
    transform: none;
  }

  .eksneks-consent-required button:active {
    transform: none;
  }
}
