/* Плашка cookie: общая для главной, страниц входа и кабинетов. Над нижним меню кабинета и кнопкой чата. */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 1040px; margin: 0 auto; box-sizing: border-box;
  display: flex; align-items: center; gap: 12px 24px; padding: 14px 18px;
  background: #28282a; color: #f1f0f4; border-radius: 14px; box-shadow: 0 10px 32px #0f0d1a40;
  font-size: 14px; line-height: 1.45;
}
.cookie-notice-text { margin: 0; flex: 1 1 auto; min-width: 0; }
.cookie-notice-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.cookie-notice-actions form { margin: 0; }
.cookie-notice-more { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-notice-ok {
  min-height: 40px; padding: 8px 20px; border: 0; border-radius: 10px; background: #8359db; color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap;
}
.cookie-notice-ok:hover { background: #6942bc; }
.cookie-notice a:focus-visible, .cookie-notice-ok:focus-visible { outline: 3px solid #df9a00; outline-offset: 3px; }

@media (max-width: 720px) {
  .cookie-notice { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .cookie-notice-actions { justify-content: space-between; }
  .cookie-notice-ok { flex: 0 0 auto; }
}
@media print { .cookie-notice { display: none; } }
