/* EXUPERY DISCOVERY: centered, opt-in privacy dialogue. Layout scoped to this UI. */
.exd-consent-panel, .exd-consent-panel *, .exd-consent-reopen { box-sizing: border-box; }
.exd-consent-panel[hidden], .exd-consent-backdrop[hidden],
.exd-consent-options[hidden], .exd-consent-tools button[hidden] { display: none !important; }
html.exd-consent-open { overflow: hidden !important; scrollbar-gutter: stable; }
.exd-consent-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(1, 8, 23, .53);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: exd-consent-shade-in .22s ease-out both;
}
.exd-consent-panel {
  position: fixed; z-index: 10001;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto; overscroll-behavior: contain;
  margin: 0; padding: 24px 27px 21px;
  border: 1px solid rgba(244, 208, 141, .75);
  border-radius: 24px;
  background: linear-gradient(152deg, #0d284a 0%, #091d36 65%, #08162b 100%);
  color: #f9f8f4;
  box-shadow: 0 24px 90px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.5; text-align: left;
  animation: exd-consent-panel-in .24s cubic-bezier(.18,.7,.28,1) both;
}
.exd-consent-topline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 17px;
}
.exd-consent-brand { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #f4d18e; white-space: nowrap; }
.exd-consent-brand span { font-size: 19px; line-height: 1; vertical-align: -2px; margin-right: 5px; }
.exd-consent-close {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(248,212,149,.55);
  background: rgba(255,255,255,.04); color: #ffdf9f;
  font: 30px/1 Georgia, serif; cursor: pointer;
}
.exd-consent-heading {
  margin: 0 0 11px; color: #f7d493;
  font: 400 clamp(23px, 5vw, 30px)/1.17 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em; outline: none;
}
.exd-consent-lead { margin: 0 0 10px; color: #f6f7fc; font-weight: 660; font-size: 14px; }
.exd-consent-description { color: #d6e3f4; font-size: 13px; line-height: 1.65; margin: 0 0 20px; }
.exd-consent-options { display: grid; gap: 9px; margin: 0 0 16px; }
.exd-consent-option {
  display: flex; align-items: flex-start; min-width: 0; gap: 10px;
  padding: 11px 12px; border: 1px solid rgba(190,215,242,.25);
  border-radius: 12px; background: rgba(255,255,255,.045);
  color: #fdfdfd; font-size: 13px; font-weight: 650; cursor: pointer;
}
.exd-consent-option input { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: #eecb83; }
.exd-consent-option span { display: block; }
.exd-consent-option small { display: block; margin-top: 2px; font-size: 11px; font-weight: 450; line-height: 1.4; color: #c0d3eb; }
.exd-consent-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.exd-consent-buttons button {
  appearance: none; -webkit-appearance: none;
  min-width: 0; min-height: 49px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid #f0d39b;
  background: rgba(36, 67, 105, .40); color: #fff9e9;
  font-family: inherit; font-size: 14px; font-weight: 760;
  line-height: 1.25; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.exd-consent-buttons button[data-exd-choice="accept"] { background: #f1d191; color: #10223b; border-color: #f1d191; }
.exd-consent-tools { display: flex; justify-content: center; margin-top: 10px; }
.exd-consent-tools button {
  appearance: none; -webkit-appearance: none;
  min-height: 39px; padding: 6px 12px; border: 0; border-radius: 8px;
  background: transparent; color: #f1d393;
  font-family: inherit; font-size: 13px; font-weight: 650; line-height: 1.4; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.exd-consent-footnote { color: #aebfd5; margin: 8px 0 0; text-align: center; font-size: 11px; line-height: 1.45; }
.exd-consent-buttons button:hover, .exd-consent-close:hover, .exd-consent-tools button:hover { filter: brightness(1.12); }
.exd-consent-close:focus-visible, .exd-consent-buttons button:focus-visible,
.exd-consent-tools button:focus-visible, .exd-consent-option input:focus-visible,
.exd-consent-reopen:focus-visible { outline: 3px solid #ffdf86; outline-offset: 3px; }
.exd-consent-reopen {
  appearance: none; -webkit-appearance: none;
  display: inline-block; margin: 4px 8px; padding: 4px 6px;
  color: inherit; background: transparent; border: 0;
  font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.3;
  text-transform: none; letter-spacing: normal; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.exd-consent-panel.exd-consent-hiding { animation: exd-consent-panel-out .19s ease-in both; pointer-events: none; }
.exd-consent-backdrop.exd-consent-hiding { animation: exd-consent-shade-out .19s ease-in both; }
@keyframes exd-consent-shade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes exd-consent-shade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes exd-consent-panel-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 9px)) scale(.985); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes exd-consent-panel-out {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); }
}
@media (max-width: 480px) {
  .exd-consent-panel { width: calc(100vw - 26px); max-height: calc(100dvh - 24px); padding: 18px 19px 16px; border-radius: 19px; }
  .exd-consent-topline { margin-bottom: 12px; }
  .exd-consent-heading { font-size: clamp(22px, 6.2vw, 27px); }
  .exd-consent-description { font-size: 12px; margin-bottom: 15px; }
  .exd-consent-lead { font-size: 13px; }
  .exd-consent-buttons button { min-height: 48px; font-size: 13px; padding: 8px; }
}
@media (max-width: 350px) {
  .exd-consent-panel { padding: 15px 14px 13px; }
  .exd-consent-brand { font-size: 10px; letter-spacing: .08em; }
  .exd-consent-buttons { gap: 7px; }
  .exd-consent-buttons button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .exd-consent-backdrop, .exd-consent-panel,
  .exd-consent-panel.exd-consent-hiding, .exd-consent-backdrop.exd-consent-hiding {
    animation: none !important; transition: none !important;
  }
}
