/* Cookie panel: a small note at the foot, never a wall. Both choices share one look (no dark pattern). */
/* centred at the foot: the right corner belongs to the Telegram button */
.consent { position: fixed; z-index: 40; left: 0; right: 0; bottom: var(--margin); margin-inline: auto; width: min(820px, calc(100vw - 2 * var(--margin)));
  display: flex; align-items: center; gap: 16px 28px; padding: 16px 20px; background: #18161e; border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); font-size: 0.8125rem; line-height: 1.45;
  animation: consent-in 360ms var(--ease-out); }
.consent-text { color: var(--muted); }
.consent-more { color: var(--ink); text-underline-offset: 3px; }
.consent-more:hover { color: #fff; }
.consent-text { flex: 1; min-width: 0; }
.consent-actions { display: flex; flex-direction: column; flex: none; width: 220px; gap: 8px; }
.consent-btn { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 0 16px; white-space: nowrap; background: none; border: 0; border-radius: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34); color: var(--ink); font-weight: 600; font-size: 0.8125rem;
  transition: background-color 160ms, box-shadow 160ms; }
.consent-btn:hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.consent-open { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.consent-open:hover { color: #fff; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
/* phones: a low bar across the foot; the two buttons stay side by side */
@media (max-width: 760px) { .consent { flex-direction: column; align-items: stretch; gap: 12px; } .consent-actions { width: auto; } }
@media (max-width: 560px) { .consent { bottom: 0; width: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } .consent-btn { transition: none; } }
