.analytics-settings-bar {
  padding: 0 24px 28px;
  text-align: center;
}
.analytics-settings {
  background: transparent;
  border: 0;
  padding: 10px;
  color: #d5bf96;
  font: 13px/1.5 var(--sans, system-ui);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(480px, calc(100vw - 40px));
  box-sizing: border-box;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #a78a57;
  border-radius: 4px;
  background: #1b1e18;
  color: #eee7d7;
  box-shadow: 0 8px 32px #0008;
  font: 14px/1.55 var(--sans, system-ui);
}
.analytics-consent h2 {
  margin: 0 0 8px;
  font: 26px/1.2 var(--serif, Georgia);
  letter-spacing: normal;
  color: #eee7d7;
}
.analytics-consent p {
  margin: 0 0 14px;
}
.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.analytics-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid #a78a57;
  border-radius: 3px;
  background: #292d22;
  color: #eee7d7;
  padding: 10px 14px;
  font: 13px/1.4 var(--sans, system-ui);
  cursor: pointer;
}
.analytics-actions button:hover {
  background: #363c2e;
}
.analytics-consent .analytics-service-note {
  color: #c0c3b9;
  font-size: 11px;
  margin: 14px 0 0;
}
.analytics-status {
  color: #d5bf96;
}
.analytics-settings:focus-visible,
.analytics-consent :focus-visible {
  outline: 2px solid #e8c17b;
  outline-offset: 4px;
}
.analytics-settings-bar[hidden],
.analytics-consent[hidden],
.analytics-consent [hidden] {
  display: none;
}
@media (max-width: 480px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }
}
