.analytics-choice { position: fixed; z-index: 80; bottom: max(84px, calc(env(safe-area-inset-bottom) + 74px)); left: max(20px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 22px; width: min(720px, calc(100% - 40px)); max-height: calc(100dvh - 125px); overflow-y: auto; padding: 23px 25px; border: 1px solid var(--line, #dedede); border-radius: 26px; background: #fff; color: var(--ink, #181818); box-shadow: 0 6px 30px #260c1726; }
.analytics-choice[hidden] { display: none; }
.analytics-choice__copy { min-width: 0; }
.analytics-choice h2 { margin: 0 0 8px; font-family: inherit; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; font-weight: 600; }
.analytics-choice p { margin: 0; font-size: 14px; line-height: 1.6; }
.analytics-choice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.analytics-choice__actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.analytics-choice__actions button { min-height: 48px; min-width: 130px; padding: 10px 17px; border: 1px solid var(--ink, #181818); border-radius: 999px; font: inherit; font-size: 15px; font-weight: 550; background: #fff; color: var(--ink, #181818); cursor: pointer; }
.analytics-choice__actions button:first-child { background: var(--ink, #181818); color: #fff; }
.analytics-choice__actions button:hover { border-color: var(--red, #f20727); }
.analytics-choice button:focus-visible, .analytics-choice a:focus-visible, .analytics-settings:focus-visible { outline: 3px solid var(--red, #f20727); outline-offset: 4px; }
.analytics-settings { grid-column: 1 / -1; justify-self: start; min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: var(--ink, #181818); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 600px) {
  .analytics-choice { left: max(14px, env(safe-area-inset-left)); width: calc(100% - 28px); flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; border-radius: 22px; }
  .analytics-choice__actions { flex-direction: row; gap: 10px; }
  .analytics-choice__actions button { flex: 1; min-width: 0; }
}
