/* Cookie consent banner — spec § 3.3 (P0.3) */
#am-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9990;
  background: var(--card-bg, #0d1117);
  color: var(--text-primary, #e6edf3);
  border: 1px solid var(--border-color, #1a2029);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 1rem 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  animation: am-cookie-in 220ms ease-out both;
}
@keyframes am-cookie-in {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.am-cookie-banner--leaving {
  transition: opacity 220ms ease, transform 220ms ease;
  opacity: 0;
  transform: translateY(20px);
}
.am-cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.am-cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary, #94a3b8);
}
.am-cookie-banner__link {
  color: var(--brand-cyan, #22d3ee);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.am-cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}
.am-cookie-banner__btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.am-cookie-banner__btn--ghost {
  background: transparent;
  color: var(--text-primary, #e6edf3);
  border-color: var(--border-color, #1a2029);
}
.am-cookie-banner__btn--ghost:hover {
  background: var(--bg-secondary, #161b22);
}
.am-cookie-banner__btn--primary {
  background: linear-gradient(135deg, var(--brand-cyan, #22d3ee), var(--brand-blue, #2563eb));
  color: #fff;
}
.am-cookie-banner__btn--primary:hover {
  filter: brightness(1.08);
}

/* RTL: button order is naturally reversed via flex direction; nothing else needed. */
