.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(760px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(18, 61, 56, .2);
  border-radius: 20px;
  background: #fffdf8;
  color: #123d38;
  box-shadow: 0 18px 60px rgba(9, 43, 39, .22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.analytics-consent[hidden] { display: none; }
.analytics-consent-copy { min-width: 0; display: grid; gap: 4px; }
.analytics-consent-copy > span { color: #f06450; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.analytics-consent-copy > strong { font-family: Georgia, serif; font-size: 22px; font-weight: 600; }
.analytics-consent-copy > p { max-width: 520px; margin: 0; color: #61736f; font-size: 12px; line-height: 1.55; }
.analytics-consent-actions { display: flex; align-items: center; gap: 8px; }
.analytics-consent-actions button, .privacy-settings {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d6d9cf;
  border-radius: 999px;
  background: transparent;
  color: #123d38;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.analytics-consent-actions button:hover, .analytics-consent-actions button:focus-visible, .privacy-settings:hover, .privacy-settings:focus-visible { border-color: #2f7a68; outline: none; }
.analytics-consent-actions .accept { border-color: #123d38; background: #123d38; color: white; }
.analytics-consent-actions .accept:hover, .analytics-consent-actions .accept:focus-visible { border-color: #2f7a68; background: #2f7a68; }
.privacy-settings { min-height: 0; padding: 0; border: 0; border-radius: 0; color: inherit; font-size: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .analytics-consent { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; width: calc(100% - 20px); grid-template-columns: 1fr; gap: 15px; padding: 17px; border-radius: 17px; }
  .analytics-consent-copy > strong { font-size: 20px; }
  .analytics-consent-copy > p { font-size: 11px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent-actions button { min-height: 46px; padding-inline: 10px; font-size: 10px; }
}

@media (max-width: 390px) {
  .analytics-consent-actions { grid-template-columns: 1fr; }
}
