.consent-banner[hidden] {
  display: none;
}

.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px;
  color: #f7f1e6;
  background: #082424;
  border: 1px solid rgba(157, 236, 198, 0.28);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family: Figtree, Arial, sans-serif;
}

.consent-kicker {
  display: block;
  margin-bottom: 7px;
  color: #9decc6;
  font: 600 0.7rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
}

.consent-banner h2 {
  margin: 0 0 7px;
  color: #fffaf1;
  font: 700 clamp(1.2rem, 2vw, 1.55rem)/1.1 Figtree, Arial, sans-serif;
}

.consent-banner p {
  max-width: 640px;
  margin: 0 0 9px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.92rem;
  line-height: 1.48;
}

.consent-policy {
  color: #fffaf1;
  font-size: 0.83rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  min-width: 330px;
}

.consent-button,
.consent-settings {
  min-height: 44px;
  border: 1px solid #9decc6;
  border-radius: 999px;
  font: 700 0.82rem/1 Figtree, Arial, sans-serif;
  cursor: pointer;
}

.consent-button {
  padding: 0 18px;
  color: #082424;
  background: #9decc6;
}

.consent-button:first-child {
  color: #fffaf1;
  background: transparent;
}

.consent-button:hover,
.consent-button:focus-visible,
.consent-settings:hover,
.consent-settings:focus-visible {
  outline: 3px solid rgba(255, 111, 82, 0.55);
  outline-offset: 2px;
}

.consent-settings {
  position: fixed;
  z-index: 9999;
  left: 14px;
  bottom: 12px;
  min-height: 38px;
  padding: 0 14px;
  color: #f7f1e6;
  background: #082424;
  border-color: rgba(157, 236, 198, 0.5);
  font-size: 0.74rem;
}

.cookie-policy-page {
  min-height: 100vh;
  padding: 72px 20px 110px;
  color: #e9f3ee;
  background: #061d1d;
}

.cookie-policy-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: #0a2928;
  border: 1px solid rgba(157, 236, 198, 0.22);
  border-radius: 28px;
}

.cookie-policy-card h1,
.cookie-policy-card h2 {
  color: #fffaf1;
}

.cookie-policy-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 0.95;
}

.cookie-policy-card h2 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
}

.cookie-policy-card p,
.cookie-policy-card li {
  color: rgba(233, 243, 238, 0.78);
  line-height: 1.7;
}

.cookie-policy-card a {
  color: #9decc6;
}

@media (max-width: 760px) {
  .consent-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 19px;
    border-radius: 18px;
  }

  .consent-actions {
    min-width: 0;
  }
}

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

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