/* The cookie bar. Deliberately small and quiet - it sits at the bottom
   and gets out of the way as soon as someone answers. */
.nx-cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: rgba(8, 8, 13, .93);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.nx-cookie.is-open { opacity: 1; transform: translateY(0); }

.nx-cookie-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #a1a1aa;
  font-size: 13px;
  line-height: 1.55;
}
.nx-cookie-text a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 2px; }
.nx-cookie-text a:hover { color: #fff; }

.nx-cookie-buttons { display: flex; flex: none; gap: 8px; }
.nx-cookie-btn {
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  color: #d4d4d8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease;
}
.nx-cookie-btn:hover { border-color: rgba(255, 255, 255, .28); color: #fff; }
.nx-cookie-btn:active { transform: scale(.97); }
.nx-cookie-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(145deg, #a855f7, #6366f1 55%, #3b82f6);
  color: #fff;
  font-weight: 700;
}
.nx-cookie-btn.is-primary:hover { filter: brightness(1.08); }

@media (max-width: 620px) {
  .nx-cookie { flex-direction: column; align-items: stretch; gap: 13px; padding: 16px; border-radius: 16px; }
  .nx-cookie-buttons { width: 100%; }
  .nx-cookie-btn { flex: 1 1 0; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-cookie { transition-duration: .01ms; }
}
