.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 180;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(920px, calc(100% - 36px));
  margin-inline: auto;
  border: 1px solid rgba(112, 215, 255, .32);
  border-radius: 18px;
  padding: 20px 22px;
  background: rgba(13, 17, 25, .97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  color: #f4f6f8;
  font-family: "Onest", "Segoe UI", system-ui, sans-serif;
}
.analytics-consent.has-error { border-color: #ff7d85; }
.analytics-consent-eyebrow {
  margin: 0 0 5px;
  color: #70d7ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.analytics-consent h2 { margin: 0; font: 700 17px/1.35 "Unbounded", sans-serif; }
.analytics-consent p:last-child { max-width: 640px; margin: 8px 0 0; color: #aeb8c7; font-size: 13px; line-height: 1.55; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; max-width: 360px; }
.analytics-consent-actions button {
  cursor: pointer;
  border: 1px solid #3b465b;
  border-radius: 11px;
  padding: 10px 14px;
  background: #171d29;
  color: #f4f6f8;
  font: 700 12px "Onest", sans-serif;
}
.analytics-consent-actions button:first-child { border-color: #b7f66d; background: #b7f66d; color: #0b0e07; }
.analytics-consent-actions button:disabled { cursor: wait; opacity: .55; }
.analytics-consent-actions a { color: #aeb8c7; font-size: 12px; text-underline-offset: 4px; }
.analytics-consent-error { grid-column: 1 / -1; margin: 0; color: #ffb6bb; font-size: 12px; }
.analytics-preferences {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(145, 156, 175, .45);
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .analytics-consent { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .analytics-consent-actions { justify-content: flex-start; max-width: none; }
}
