.analytics-consent {
  position: fixed;
  z-index: 10000;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 26px;
  color: #f7f4ec;
  background: #171613;
  border: 1px solid #8e743b;
  border-radius: 12px;
  box-shadow: 0 12px 50px #0007;
  font-family: inherit;
  text-align: left;
}
.analytics-consent[hidden] { display: none !important; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent h2 {
  margin: 0 0 7px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #f5d67d;
}
.analytics-consent h2:focus-visible { outline: 2px solid #f5d67d; outline-offset: 4px; }
.analytics-consent p { margin: 0 0 7px; font-size: 14px; line-height: 1.5; color: #e5e1d8; }
.analytics-consent p:last-child { margin-bottom: 0; }
.analytics-consent .analytics-consent-note { font-size: 12px; color: #c9c4b9; }
.analytics-consent a { color: #f5d67d; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: grid; gap: 10px; min-width: 172px; }
.analytics-consent-button {
  appearance: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #e4c76e;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
}
.analytics-consent-allow { color: #17130b; background: #e4c76e; }
.analytics-consent-decline { color: #f7f4ec; background: transparent; }
.analytics-consent-button:hover { filter: brightness(1.08); }
.analytics-consent-button:focus-visible,
.analytics-manage:focus-visible { outline: 3px solid #f5d67d; outline-offset: 3px; }
.analytics-consent-button:disabled { opacity: .5; cursor: not-allowed; }
.analytics-manage {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .analytics-consent {
    left: 12px;
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    display: block;
    padding: 16px;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
  }
  .analytics-consent h2 { font-size: 17px; }
  .analytics-consent p { font-size: 13px; line-height: 1.4; }
  .analytics-consent .analytics-consent-note { font-size: 11px; }
  .analytics-consent-actions { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; min-width: 0; }
  .analytics-consent-button { padding: 10px 8px; }
}
