.analytics-consent {
  position: fixed;
  z-index: 500;
  inset: auto 18px 18px auto;
  width: min(320px, calc(100vw - 36px));
  box-sizing: border-box;
  padding: 16px;
  background: #171715;
  color: #f7f7f2;
  border: 1px solid #3d3d37;
  box-shadow: 0 8px 28px #00000026;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 6px; color: inherit; font: 500 14px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.analytics-consent p { margin: 0; color: #c8c8bf; font-size: 12px; line-height: 1.5; }
.analytics-consent-actions { display: flex; gap: 8px; margin-top: 12px; }
.analytics-consent button,
.analytics-settings {
  padding: 11px 18px;
  border: 1px solid #171715;
  border-radius: 0;
  background: #fff;
  color: #171715;
  font: 500 13px/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.analytics-consent button:hover,
.analytics-settings:hover { background: #f0f0eb; }
.analytics-consent button {
  flex: 1;
  padding: 8px 12px;
  border-color: #62625a;
  background: transparent;
  color: #f7f7f2;
  font-size: 12px;
}
.analytics-consent button:hover { background: #2b2b26; }
.analytics-consent button:focus-visible,
.analytics-settings:focus-visible { outline: 2px solid #f4000c; outline-offset: 4px; }
@media (max-width: 640px) {
  .analytics-consent { inset: auto 12px 12px auto; width: min(320px, calc(100vw - 24px)); }
}
.analytics-consent .analytics-privacy-link {
  display: block;
  padding: 0;
  margin-top: 6px;
  border: 0;
  background: none;
  color: #c8c8bf;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-consent .analytics-privacy-link:hover { background: none; color: #fff; }
