/* Cookie notice
   ----------------------------------------------------------------------------
   A one-time, non-blocking notice for a site with essential cookies only. It is
   deliberately not a consent gate: there is nothing optional to accept or refuse.
   The shared theme tokens keep it on the same paper/coral surface as the rest of
   the product, and the hard corners follow the site's no-radius rule. */

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

.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  width: min(680px, calc(100vw - 2rem));
  padding: 1rem 1.1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 0.75rem);
  transition: opacity var(--transition), transform var(--transition);
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-notice__eyebrow {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.cookie-notice__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.cookie-notice__text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.cookie-notice__text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.cookie-notice__actions .btn {
  min-width: 6.5rem;
}

@media (max-width: 640px) {
  .cookie-notice {
    padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
  }

  .cookie-notice__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice {
    transition: none;
    transform: translate(-50%, 0);
  }
}

@media print {
  .cookie-notice {
    display: none !important;
  }
}
