.stl-consent-banner,
.stl-consent-modal {
  --stl-consent-navy: #08243a;
  --stl-consent-deep: #0e3f5c;
  --stl-consent-blue: #2d8fcd;
  --stl-consent-blue-dark: #1669b8;
  --stl-consent-cyan: #39c4df;
  --stl-consent-text: #27445c;
  --stl-consent-muted: #647e91;
  --stl-consent-line: #d8e9f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.stl-consent-banner[hidden],
.stl-consent-modal[hidden] {
  display: none !important;
}

.stl-consent-banner {
  position: fixed;
  z-index: 100000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.stl-consent-banner__panel {
  position: relative;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(190, 219, 235, .96);
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 80px rgba(8, 36, 58, .24);
  padding: 22px 24px;
  pointer-events: auto;
  backdrop-filter: blur(18px);
}

.stl-consent-banner__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--stl-consent-blue), var(--stl-consent-cyan));
}

.stl-consent-copy {
  min-width: 0;
  padding-left: 6px;
}

.stl-consent-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--stl-consent-blue-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.stl-consent-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stl-consent-cyan);
  box-shadow: 0 0 0 4px rgba(57, 196, 223, .14);
}

.stl-consent-copy h2,
.stl-consent-modal h2 {
  max-width: none;
  margin: 0;
  color: var(--stl-consent-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.stl-consent-copy p,
.stl-consent-modal p {
  margin: 8px 0 0;
  color: var(--stl-consent-text);
  font-size: 14px;
  line-height: 1.55;
}

.stl-consent-copy a,
.stl-consent-modal a {
  color: var(--stl-consent-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.stl-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.stl-consent-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--stl-consent-navy);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.stl-consent-button:hover {
  transform: translateY(-1px);
}

.stl-consent-button:focus-visible,
.stl-consent-close:focus-visible,
.stl-cookie-footer-link:focus-visible {
  outline: 3px solid rgba(45, 143, 205, .38);
  outline-offset: 3px;
}

.stl-consent-button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--stl-consent-blue), var(--stl-consent-blue-dark));
  box-shadow: 0 12px 26px rgba(45, 143, 205, .24);
}

.stl-consent-button--secondary {
  border-color: rgba(8, 36, 58, .13);
  background: #f7fbfe;
}

.stl-consent-button--quiet {
  border-color: transparent;
  color: var(--stl-consent-blue-dark);
  background: transparent;
}

.stl-consent-modal {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.stl-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 24, 40, .66);
  backdrop-filter: blur(8px);
}

.stl-consent-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(190, 219, 235, .92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .3);
}

.stl-consent-modal__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--stl-consent-line);
  background: rgba(255, 255, 255, .98);
  padding: 24px 24px 20px;
}

.stl-consent-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--stl-consent-line);
  border-radius: 8px;
  color: var(--stl-consent-navy);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.stl-consent-modal__body {
  padding: 10px 24px 8px;
}

.stl-consent-intro {
  margin-bottom: 4px !important;
}

.stl-consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--stl-consent-line);
  padding: 18px 0;
}

.stl-consent-option:last-of-type {
  border-bottom: 0;
}

.stl-consent-option strong {
  display: block;
  color: var(--stl-consent-navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.stl-consent-option span {
  display: block;
  margin-top: 5px;
  color: var(--stl-consent-muted);
  font-size: 13px;
  line-height: 1.45;
}

.stl-consent-always-on {
  min-width: 62px;
  border-radius: 999px;
  background: #e9f7f1;
  padding: 7px 10px;
  color: #147a58;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.stl-consent-switch {
  position: relative;
  width: 50px;
  height: 28px;
  display: inline-flex;
  flex: 0 0 auto;
}

.stl-consent-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.stl-consent-switch span {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 1px solid #b8ccda;
  border-radius: 999px;
  background: #dce8ef;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.stl-consent-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(8, 36, 58, .2);
  transition: transform .18s ease;
}

.stl-consent-switch input:checked + span {
  border-color: var(--stl-consent-blue);
  background: var(--stl-consent-blue);
}

.stl-consent-switch input:checked + span::after {
  transform: translateX(22px);
}

.stl-consent-switch input:focus-visible + span {
  outline: 3px solid rgba(45, 143, 205, .38);
  outline-offset: 3px;
}

.stl-consent-gpc {
  border-left: 3px solid var(--stl-consent-cyan);
  background: #f3fbff;
  padding: 12px 14px;
  color: var(--stl-consent-text);
  font-size: 12px;
  line-height: 1.5;
}

.stl-consent-modal__actions {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--stl-consent-line);
  background: rgba(255, 255, 255, .98);
  padding: 18px 24px;
}

body.stl-consent-modal-open {
  overflow: hidden !important;
}

.stl-cookie-footer-link {
  display: block;
  margin-top: 12px;
  border: 0;
  padding: 0;
  color: #c6dce9;
  background: transparent;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.stl-cookie-footer-link:hover {
  color: #fff;
}

.stl-consent-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #071928;
}

.stl-consent-media iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.stl-consent-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.stl-consent-media__placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 40, .08), rgba(7, 25, 40, .86));
}

.stl-consent-media__placeholder img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stl-consent-media__content {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: #fff;
}

.stl-consent-media__content strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.stl-consent-media__content span {
  max-width: 540px;
  color: #d5e7f2;
  font-size: 13px;
  line-height: 1.45;
}

.stl-consent-media__content .stl-consent-button {
  width: fit-content;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .stl-consent-banner__panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stl-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .stl-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .stl-consent-banner__panel {
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 20px 18px;
  }

  .stl-consent-copy h2,
  .stl-consent-modal h2 {
    font-size: 20px;
  }

  .stl-consent-actions,
  .stl-consent-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stl-consent-button {
    width: 100%;
  }

  .stl-consent-modal {
    padding: 10px;
  }

  .stl-consent-modal__dialog {
    max-height: calc(100vh - 20px);
  }

  .stl-consent-modal__header,
  .stl-consent-modal__body,
  .stl-consent-modal__actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .stl-consent-option {
    gap: 12px;
  }

  .stl-consent-media__content {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stl-consent-button,
  .stl-consent-switch span,
  .stl-consent-switch span::after {
    transition: none;
  }
}
