.consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 100010;
  max-width: 46rem;
  margin-inline: auto;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 1rem;
  background: rgba(8, 11, 20, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  color: #e8eef6;
}

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

.consent-banner__inner {
  display: grid;
  gap: 1rem;
}

.consent-banner__kicker {
  margin-bottom: 0.45rem;
  color: #00e5ff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-banner p,
.consent-banner a {
  color: #d5deea;
  font-size: 0.95rem;
  line-height: 1.55;
}

.consent-banner__status {
  margin-top: 0.65rem;
  color: #f2f6fb;
  font-weight: 500;
}

.consent-banner__policy {
  display: inline-block;
  margin-top: 0.45rem;
  color: #00e5ff;
  text-underline-offset: 0.18em;
}

.consent-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.consent-banner__button {
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0, 229, 255, 0.55);
  border-radius: 0.7rem;
  background: transparent;
  color: #f4f8fd;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.consent-banner__button:hover,
.consent-banner__button:focus-visible {
  background: rgba(0, 229, 255, 0.12);
}

.consent-banner__button:focus-visible,
.consent-banner__policy:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .consent-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 1rem;
  }

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

@media print {
  .consent-banner {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-banner__button {
    transition: none;
  }
}
