/* Cookie banner (consent.js). Self-contained: the landing and the app share it, and neither
   one's stylesheet applies to the other. */
.ely-consent {
  position: fixed;
  z-index: 2147483000;
  left: 16px;
  bottom: 16px;
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  padding: 18px 20px;
  border-radius: 14px;
  background: #062b49;
  color: #eef3fa;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.ely-consent p { margin: 0; }
.ely-consent-title { margin-bottom: 4px !important; font-size: 16px; font-weight: 700; }
.ely-consent-current { margin-top: 8px !important; font-weight: 600; }
.ely-consent a { color: #62d5e3; text-decoration: underline; }

.ely-consent-actions { display: flex; gap: 10px; margin-top: 14px; }

/* Both buttons look the same: refusing is as prominent as accepting. */
.ely-consent button {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid #eef3fa;
  border-radius: 999px;
  background: transparent;
  color: #eef3fa;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ely-consent button:hover { background: #eef3fa; color: #062b49; }
.ely-consent button:focus-visible,
.ely-consent a:focus-visible { outline: 3px solid #4fe3b0; outline-offset: 2px; }

@media (max-width: 520px) {
  /* Most landing visitors arrive by QR code on a phone, so on a first visit this banner sits over
     the first screen. Compact, but the same text and the same equal-weight 44px choices. */
  .ely-consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 12px 14px; font-size: 13px; line-height: 1.45; }
  .ely-consent-title { display: inline; margin: 0 6px 0 0 !important; font-size: 14px; }
  .ely-consent-title + .ely-consent-text { display: inline; }
  .ely-consent-actions { margin-top: 10px; gap: 8px; }
}
