.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(7, 9, 11, .72);
  backdrop-filter: blur(8px);
}

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

.cookie-consent__dialog {
  width: min(720px, 100%);
  padding: 30px;
  color: #f3f5ef;
  background: #11161a;
  border: 1px solid rgba(168, 233, 255, .2);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.cookie-consent__label {
  margin: 0 0 13px;
  color: #c8ff3d;
  font: 11px/1.4 monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cookie-consent__title {
  margin: 0 0 14px;
  color: #f3f5ef;
  font: 600 25px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: -.025em;
}

.cookie-consent__text {
  margin: 0;
  color: #a9b3b5;
  font: 15px/1.6 Arial, Helvetica, sans-serif;
}

.cookie-consent__text a {
  color: #c8ff3d;
  border-bottom: 1px solid rgba(200, 255, 61, .45);
}

.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(200, 255, 61, .55);
  border-radius: 7px;
  color: #c8ff3d;
  background: transparent;
  font: 600 14px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  color: #07090b;
  background: #c8ff3d;
  border-color: #c8ff3d;
  outline: none;
}

.cookie-consent__button--secondary {
  color: #c3cbcd;
  border-color: rgba(168, 233, 255, .24);
}

body.cookie-consent-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent__dialog {
    padding: 24px 20px 20px;
  }

  .cookie-consent__title {
    font-size: 22px;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .cookie-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button {
    transition: none;
  }
}