.cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  pointer-events: none;
}

.cookies[hidden] {
  display: none !important;
}

.cookies__box {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 3px solid #111;
  background: #fff;
  box-shadow: 6px 6px 0 #111;
  color: #111;
  font-family: "Outfit", system-ui, sans-serif;
}

.cookies__kicker {
  margin: 0 0 8px;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.cookies__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  text-wrap: pretty;
}

.cookies__more {
  margin-top: 8px !important;
  font-size: 13px !important;
  color: #2a2a2a;
}

.cookies__more a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookies .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 3px solid #111;
  background: #7dff5a;
  color: #111;
  font-family: "Pixelify Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 4px 4px 0 #111;
  cursor: pointer;
  white-space: nowrap;
}

.cookies .btn--ghost {
  background: #fff;
}

.cookies .btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111;
}

.cookies .btn:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .cookies {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .cookies__box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .cookies__actions {
    justify-content: stretch;
  }

  .cookies .btn {
    flex: 1;
  }
}

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

  .cookies .btn:hover {
    transform: none;
  }
}
