.analytics-choice {
  position: fixed; z-index: 100000; right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom)); width: min(440px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto;
  box-sizing: border-box; padding: 24px; border: 1px solid #a68a52; border-radius: 16px;
  background: linear-gradient(145deg, #242016, #100e0b 75%); color: #eee4ce;
  box-shadow: 0 16px 60px #0009; font: 15px/1.5 system-ui, sans-serif;
  text-align: left; overscroll-behavior: contain;
}
.analytics-choice * { box-sizing: border-box; }
.analytics-choice-eyebrow { color: #d9b66b; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.analytics-choice h2 { margin: 7px 0 10px; color: #fff5dc; font: 700 27px/1.15 Georgia, serif; }
.analytics-choice p { margin: 0 0 14px; color: #ded2ba; line-height: 1.5; }
.analytics-choice .analytics-choice-status { color: #b8ac95; font-size: 12px; }
.analytics-choice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analytics-choice button { min-height: 46px; padding: 10px 12px; border: 1px solid #b29b68; border-radius: 8px; background: #30291c; color: #fff0cb; font: 600 14px/1.25 system-ui, sans-serif; cursor: pointer; }
.analytics-choice button:hover { background: #463a24; }
.analytics-choice button:focus-visible, .analytics-choice a:focus-visible, [data-analytics-settings]:focus-visible { outline: 3px solid #f2d48c; outline-offset: 3px; }
.analytics-choice-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.analytics-choice-footer a { color: #e8c679; font-size: 13px; text-underline-offset: 3px; }
.analytics-choice-footer button { min-height: 44px; border-color: transparent; background: transparent; font-size: 12px; }
.analytics-choice [hidden] { display: none !important; }
.legal-links [data-analytics-settings], .privacy-analytics-settings { color: #efbd62; text-decoration: underline; text-underline-offset: .2em; font: inherit; cursor: pointer; border: 0; background: transparent; padding: 10px 0; min-height: 44px; }
@media (max-width: 480px) {
  .analytics-choice { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 18px; border-radius: 14px; }
  .analytics-choice h2 { font-size: 25px; }
}
