/* Cookie-Banner (Eigentümer 19.10.2026): unten links, damit Koda unten rechts frei bleibt; auf dem Handy volle Breite. */
.nx-consent-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147482000;
  display: grid;
  gap: 10px;
  width: min(440px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 18px 18px 16px;
  border-radius: 22px;
  color: var(--ink, #f6f6ff);
  background: rgba(20, 10, 48, 0.94);
  border: 1px solid rgba(196, 181, 255, 0.3);
  box-shadow: 0 18px 50px rgba(5, 2, 20, 0.55);
  font: 400 14px/1.5 var(--body, system-ui, sans-serif);
}
.nx-consent-title {
  font: 700 17px/1.25 var(--display, inherit);
}
.nx-consent-text {
  margin: 0;
  color: var(--mist, #c3c7e6);
}
.nx-consent-link {
  color: var(--violet-ink, #c4b5ff);
}
.nx-consent-options {
  display: grid;
  gap: 8px;
}
.nx-consent-options[hidden] {
  display: none;
}
.nx-consent-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--mist, #c3c7e6);
}
.nx-consent-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--violet, #7c5cff);
}
.nx-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nx-consent-actions .btn {
  justify-content: center;
  width: 100%;
}
.nx-consent-actions .btn[hidden] {
  display: none;
}
.nx-consent-footer {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.85;
}
.nx-consent-footer:hover,
.nx-consent-footer:focus-visible {
  opacity: 1;
  text-decoration: underline;
}
/* Handy: schmale Karte statt Halbbildschirm – erster Satz, zwei gleich große Knöpfe, „Einstellungen“ als flache Zeile. */
@media (max-width: 620px) {
  .nx-consent-banner {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 24px);
    gap: 8px;
    padding: 14px 14px 12px;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1.42;
  }
  .nx-consent-title {
    font-size: 15px;
  }
  .nx-consent-banner:not(.expanded) .nx-consent-rest {
    display: none;
  }
  .nx-consent-actions .btn {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 14px;
  }
  .nx-consent-actions .btn.ghost {
    grid-column: 1 / -1;
    min-height: 36px;
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .nx-consent-banner {
    max-width: 520px;
    max-height: calc(100dvh - 16px);
  }
}
