#nf-consent,
#nf-consent-settings {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  color: #1c302b;
  box-sizing: border-box;
}
#nf-consent[hidden] {
  display: none;
}
#nf-consent {
  position: fixed;
  z-index: 10000;
  bottom: 58px;
  right: 20px;
  width: 440px;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 90px);
  overflow: auto;
  padding: 22px;
  background: #f8f8f3;
  border: 1px solid #9da99c;
  border-radius: 4px;
  box-shadow: 0 8px 30px #1c302b20;
  line-height: 1.6;
}
#nf-consent h2 {
  font:
    600 19px/1.3 "Segoe UI",
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
#nf-consent p {
  font-size: 13px;
  margin: 0 0 16px;
}
#nf-consent button,
#nf-consent-settings {
  font: inherit;
  cursor: pointer;
  background: #f8f8f3;
  border: 1px solid #9da99c;
  border-radius: 4px;
  padding: 10px 13px;
  line-height: 1.4;
}
#nf-consent-settings {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 14px;
  font-size: 11px;
  padding: 8px 10px;
}
#nf-consent button:hover,
#nf-consent-settings:hover {
  background: #e6ebdf;
}
#nf-consent button:focus-visible,
#nf-consent a:focus-visible,
#nf-consent-settings:focus-visible {
  outline: 3px solid #a33e24;
  outline-offset: 3px;
}
.nf-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#nf-consent .nf-consent-links {
  display: flex;
  gap: 18px;
  margin: 16px 0 0;
  font-size: 12px;
}
#nf-consent a {
  color: inherit;
  text-underline-offset: 4px;
}
@media (max-width: 480px) {
  #nf-consent {
    right: 12px;
    max-width: calc(100vw - 24px);
    padding: 18px;
  }
  #nf-consent-settings {
    right: 12px;
  }
  .nf-consent-actions {
    flex-direction: column;
  }
}
