.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(680px, calc(100% - 36px));
  padding: 17px 18px;
  border: 1px solid var(--line, #d8d3e0);
  border-radius: 16px;
  color: var(--ink, #201a2b);
  background: var(--card, #fff);
  box-shadow: 0 18px 55px rgba(26, 18, 35, .2);
}

.analytics-consent strong { display: block; margin-bottom: 4px; }
.analytics-consent p { margin: 0 0 4px; color: var(--muted, #71697c); font-size: 13px; line-height: 1.45; }
.analytics-consent a { color: var(--purple, #7552a8); font-size: 12px; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-consent button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line, #d8d3e0);
  border-radius: 9px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.analytics-consent button[data-analytics-choice="granted"] { border-color: var(--purple, #7552a8); color: #fff; background: var(--purple, #7552a8); }
.analytics-consent button:focus-visible { outline: 3px solid color-mix(in srgb, var(--purple, #7552a8) 30%, transparent); outline-offset: 2px; }

@media (max-width: 620px) {
  .analytics-consent { left: 12px; right: 12px; bottom: 12px; display: block; width: auto; }
  .analytics-consent-actions { justify-content: flex-end; margin-top: 12px; }
}
