[hidden] {
  display: none !important;
}

.ai-disclosure-badge {
  position: fixed;
  z-index: 9000;
  top: 92px;
  right: 18px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  max-width: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 20, 17, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font: 700 0.72rem/1.35 "Manrope Local", "Manrope", sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ai-disclosure-badge strong {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  color: #102019;
  background: #f0aa2d;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.ai-disclosure-badge span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ai-disclosure-badge:hover,
.ai-disclosure-badge:focus-visible {
  color: #fff;
  border-color: #f0aa2d;
  outline: none;
}

.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(980px, calc(100vw - 36px));
  margin-inline: auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(19, 32, 25, 0.2);
  border-radius: 18px;
  color: #132019;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: "Manrope Local", "Manrope", sans-serif;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.consent-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.consent-eyebrow {
  margin: 0 0 8px;
  color: #2f6f4f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.consent-banner h2,
.consent-dialog h2 {
  margin: 0 0 10px;
  color: #132019;
  font: 800 clamp(1.4rem, 3vw, 2rem)/1.08 "Barlow Condensed Local", "Barlow Condensed", sans-serif;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.consent-banner p,
.consent-dialog p {
  margin: 0;
  color: #4d5b53;
  font-size: 0.88rem;
  line-height: 1.65;
}

.consent-banner a,
.consent-dialog a {
  color: #245f43;
  font-weight: 800;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.consent-button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #245f43;
  border-radius: 8px;
  color: #fff;
  background: #245f43;
  font: 800 0.78rem/1.2 "Manrope Local", "Manrope", sans-serif;
  cursor: pointer;
}

.consent-button:hover,
.consent-button:focus-visible {
  outline: 3px solid rgba(47, 111, 79, 0.25);
  outline-offset: 2px;
}

.consent-button-secondary {
  color: #173c2c;
  background: #fff;
}

.consent-button-quiet {
  border-color: transparent;
  color: #445249;
  background: #edf1ee;
}

.consent-dialog {
  width: min(660px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: #132019;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  font-family: "Manrope Local", "Manrope", sans-serif;
}

.consent-dialog::backdrop {
  background: rgba(0, 12, 10, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.consent-dialog-inner {
  padding: clamp(22px, 5vw, 36px);
}

.consent-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(19, 32, 25, 0.16);
  border-radius: 50%;
  color: #132019;
  background: #fff;
  font: 800 1.2rem/1 sans-serif;
  cursor: pointer;
}

.consent-options {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(19, 32, 25, 0.14);
  border-radius: 12px;
  background: #f7f8f5;
}

.consent-option strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.consent-option small {
  display: block;
  color: #5c675f;
  font-size: 0.76rem;
  line-height: 1.5;
}

.consent-switch {
  width: 48px;
  height: 26px;
  accent-color: #2f6f4f;
  cursor: pointer;
}

.consent-switch:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.consent-map-placeholder {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 24px;
  color: #eff5f1;
  background:
    linear-gradient(135deg, rgba(5, 24, 20, 0.92), rgba(19, 58, 45, 0.88)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px);
  filter: none !important;
}

.consent-map-placeholder-content {
  max-width: 560px;
  text-align: center;
}

.consent-map-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: "Barlow Condensed Local", "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.consent-map-placeholder p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.6;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-footer-links a,
.legal-footer-links button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: 700 0.75rem/1.4 "Manrope Local", "Manrope", sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.legal-footer-links a:hover,
.legal-footer-links button:hover,
.legal-footer-links a:focus-visible,
.legal-footer-links button:focus-visible {
  color: #fff;
  outline: none;
}

.weather-source {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-size: 0.66rem;
  opacity: 0.72;
}

.weather-source a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .ai-disclosure-badge {
    top: 78px;
    right: 12px;
    width: 40px;
    height: 40px;
    max-width: none;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0.64rem;
  }

  .ai-disclosure-badge strong {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100vw - 20px);
  }

  .consent-banner-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-dialog,
  .ai-disclosure-badge {
    scroll-behavior: auto;
  }
}
