#rv-analytics-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(388px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid var(--grid-line, var(--hairline, #d8d5cf));
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg, #faf9f6) 96%, transparent);
  color: var(--text, #211e1b);
  box-shadow: 0 24px 64px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
  font: 14px/1.5 'Messina Sans', system-ui, sans-serif;
  letter-spacing: -.01em;
}
#rv-analytics-consent[hidden] { display: none; }
.rv-analytics-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--text-secondary, #6f6b65);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}
#rv-analytics-consent strong {
  display: block;
  max-width: 18ch;
  color: var(--text, #211e1b);
  font-size: 20px;
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: -.035em;
}
#rv-analytics-consent p {
  margin: 11px 0 10px;
  color: var(--text-secondary, #6f6b65);
  font-size: 13px;
  line-height: 1.5;
}
#rv-analytics-consent a {
  color: var(--text, #211e1b);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.rv-analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#rv-analytics-consent .rv-analytics-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}
.rv-analytics-actions button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--text, #211e1b);
  border-radius: 2px;
  background: transparent;
  color: var(--text, #211e1b);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
}
#rv-analytics-consent .rv-analytics-actions button:first-child {
  background: var(--text, #211e1b);
  color: var(--bg, #faf9f6);
}
.rv-analytics-actions button:hover { opacity: .72; }
.rv-analytics-actions button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px currentColor; }
.rv-analytics-actions button:focus-visible,
#rv-analytics-consent a:focus-visible {
  outline: 2px solid var(--text, #211e1b);
  outline-offset: 3px;
}
@media (max-width: 480px) {
  #rv-analytics-consent {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    padding: 18px;
  }
  #rv-analytics-consent strong { font-size: 19px; }
}
@media (prefers-reduced-motion: no-preference) {
  #rv-analytics-consent:not([hidden]) { animation: rv-consent-in .28s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rv-consent-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}
