/* Cookie choices follow the existing Vibe palette and typography. */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  border-top: 1px solid var(--neon);
  box-shadow: 0 -12px 40px #0006;
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.cookie-banner-copy { max-width: 740px; }
.cookie-banner h2 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.025em; }
.cookie-banner p { font-size: 13px; line-height: 1.7; }
.cookie-banner .cookie-banner-links { margin-top: 9px; }
.cookie-banner-links a { text-decoration: underline; text-underline-offset: 3px; color: var(--paper); }
.cookie-banner-links span { padding-inline: 8px; }
.cookie-banner .cookie-choice-status { margin-top: 8px; font-size: 12px; }
.cookie-choice-status:empty { display: none; }
.cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex-shrink: 0; }
.cookie-choice {
  border: 1px solid var(--neon);
  border-radius: 5px;
  padding: 13px 20px;
  min-height: 48px;
  background: var(--neon);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.cookie-choice:hover { background: var(--paper); border-color: var(--paper); }
.cookie-keep-choice, .cookie-settings {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  min-height: 44px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-keep-choice { grid-column: 1 / -1; font-size: 12px; }
.cookie-settings:hover { color: var(--neon); }
.footer-bottom nav .cookie-settings { font-size: 12px; }
.cookie-banner-open { scroll-padding-bottom: calc(var(--cookie-banner-height, 0px) + 20px); }
.cookie-banner-open body { padding-bottom: var(--cookie-banner-height, 0px); }
.cookie-banner-open .mobile-contact { visibility: hidden; }
@media (max-width: 999px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cookie-banner-actions { align-self: start; }
}
@media (max-width: 599px) {
  .cookie-banner { padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .cookie-banner h2 { font-size: 21px; }
  .cookie-banner-actions { align-self: stretch; gap: 10px; }
  .cookie-choice { padding-inline: 10px; font-size: 12px; }
}
@media print {
  .cookie-banner, .cookie-settings { display: none !important; }
  .cookie-banner-open body { padding-bottom: 0; }
}
