/* Уведомление о cookie. Берёт токены из /style.css. Плашка снизу, не перекрывает safe area. */
.cookie-note {
  position: fixed; z-index: 50;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-inline: auto;
  display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--tile, #fff) 92%, transparent);
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 0 0 1px var(--sep, rgb(0 0 0 / .1)), 0 18px 40px -18px rgb(0 0 0 / .35);
  color: var(--ink, #1d1d1f); font: 400 14px/1.4 var(--font, system-ui, sans-serif);
  transition: opacity .2s, translate .2s;
}
.cookie-note p { margin: 0; flex: 1 1 180px; }
.cookie-note a { color: var(--tint, #0071e3); text-decoration: none; white-space: nowrap; }
.cookie-note a:hover { text-decoration: underline; }
.cookie-note button {
  flex: none; min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--tint-fill, #0071e3); color: var(--tint-ink, #fff); font: 600 15px/1 var(--font, system-ui, sans-serif);
}
.cookie-note.is-hiding { opacity: 0; translate: 0 8px; }
@media (prefers-reduced-motion: reduce) { .cookie-note { transition: none; } }
