.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed; z-index: 200; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  width: min(440px, calc(100vw - 36px)); max-height: 65vh; overflow: auto;
  padding: 20px; border: 1px solid #c8d1ce; border-radius: 12px;
  background: #fffcf5; color: #213d38; box-shadow: 0 8px 30px #213d3826;
  font-family: sans-serif; font-size: 13px; line-height: 1.8;
}
.analytics-consent h2 { font-size: 16px; margin: 0 0 8px; }
.analytics-consent p { margin: 0 0 14px; }
.analytics-consent a { text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 10px; }
.analytics-consent-actions button {
  flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid #213d38;
  border-radius: 7px; background: #fffcf5; color: #213d38; font: inherit; cursor: pointer;
}
.analytics-consent-actions button:last-child { background: #213d38; color: #fff; }
.analytics-settings { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent :focus-visible, .analytics-settings:focus-visible { outline: 3px solid #347c98; outline-offset: 3px; }
.privacy-content { max-width: 800px; padding-bottom: 70px; line-height: 1.9; }
.privacy-content h2 { margin-top: 36px; font-size: 22px; }
.privacy-content a { text-decoration: underline; }
@media (max-width: 760px) {
  .analytics-consent { right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 16px; }
}
