.analytics-consent {
  position: fixed;
  right: clamp(14px, 3vw, 36px);
  bottom: max(14px, env(safe-area-inset-bottom));
  left: clamp(14px, 3vw, 36px);
  z-index: 10000;
  width: min(1040px, calc(100% - 28px));
  margin-left: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(203, 167, 125, .32);
  background: rgba(23, 23, 20, .97);
  color: #f4f0e8;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.analytics-consent-copy { min-width: 0; }
.analytics-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}
.analytics-consent-copy p {
  max-width: 690px;
  margin: 0;
  color: #c7c0b7;
  font-size: 13px;
  line-height: 1.6;
}
.analytics-consent-copy a {
  color: #d7b994;
  border-bottom: 1px solid rgba(215, 185, 148, .55);
}
.analytics-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.analytics-consent-actions button,
.analytics-reset-button {
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(244, 240, 232, .28);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}
.analytics-consent-actions button:hover { border-color: #cba77d; }
.analytics-consent-actions .analytics-consent-primary {
  border-color: #cba77d;
  background: #cba77d;
  color: #171714;
}
.analytics-consent-actions button:focus-visible,
.analytics-reset-button:focus-visible {
  outline: 2px solid #cba77d;
  outline-offset: 3px;
}
.analytics-reset-button {
  color: #171714;
  border-color: rgba(23, 23, 20, .3);
}

@media (max-width: 760px) {
  .analytics-consent {
    width: calc(100% - 24px);
    right: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .analytics-consent-copy p { font-size: 13px; }
  .analytics-consent-actions { align-items: stretch; flex-direction: column-reverse; }
  .analytics-consent-actions button { width: 100%; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent *, .analytics-consent *::before, .analytics-consent *::after { transition: none !important; }
}
