/* The cookie and storage notice (assets/js/consent.js), on every page. */
.ck {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 24px);
  width: min(560px, calc(100vw - 24px));
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(18, 16, 28, 0.86);
  border: 1px solid rgba(170, 160, 255, 0.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #f4f3ff;
  font:
    400 14.5px/1.5 "Inter Tight",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  opacity: 0;
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.8, 0.24, 1),
    transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.ck.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.ck h2 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}
.ck p {
  margin: 0;
  color: #b3afcf;
}
.ck a {
  color: #cfc8ff;
  text-underline-offset: 3px;
}
.ck .row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.ck button {
  font:
    500 14px "Inter Tight",
    system-ui,
    sans-serif;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(170, 160, 255, 0.28);
  background: transparent;
  color: #f4f3ff;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.ck button:hover {
  background: rgba(255, 255, 255, 0.07);
}
.ck button.yes {
  background: #fff;
  color: #0b0b10;
  border-color: #fff;
}
.ck button.yes:hover {
  background: #dcd5ff;
}
.ck button:focus-visible {
  outline: 2px solid #8b74ff;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .ck .row button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck {
    transition: none;
  }
}
