.analytics-consent[hidden], .analytics-consent-note[hidden] { display: none; }
.analytics-consent {
  position: fixed; z-index: 110; bottom: 16px; left: 16px;
  width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  overflow: auto; padding: 24px; background: #15130f; color: #ece6da;
  border: 1px solid #c0a06a; box-shadow: 0 8px 32px #0008;
}
.analytics-consent h2 { margin: 0 0 10px; font-size: 1.5rem; }
.analytics-consent p { margin: 0 0 10px; font-size: .95rem; line-height: 1.6; }
.analytics-consent a { text-decoration: underline; font-size: .9rem; }
.analytics-consent .analytics-consent-note { margin-top: 12px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.analytics-consent-actions button {
  flex: 1 1 160px; min-height: 44px; padding: 10px 18px; cursor: pointer;
  color: #ece6da; border: 1px solid #c0a06a; background: #15130f; font: inherit;
}
.analytics-consent-actions button:hover { background: #2c281f; }
.analytics-consent-option { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; }
.analytics-consent-option input { flex: 0 0 22px; width: 22px; height: 22px; margin: 3px 0 0; accent-color: #c0a06a; }
.analytics-consent-option strong, .analytics-consent-option span span { display: block; }
.analytics-consent-option span span { font-size: .9rem; line-height: 1.5; margin-top: 4px; }
.analytics-consent-policies { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }
.analytics-consent :focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #ece6da; outline-offset: 3px; }
.analytics-preferences {
  border: 0; background: transparent; color: inherit; font: inherit;
  min-height: 44px; padding: 8px 0; text-decoration: underline; cursor: pointer;
}
