.analytics-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 1000;
  width: min(620px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(200, 168, 107, .5);
  background: #07111f;
  color: #f1ede4;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.analytics-consent p {
  margin: 0 0 .9rem;
  color: rgba(241, 237, 228, .82);
  font-size: .92rem;
  line-height: 1.5;
}

.analytics-consent strong { color: #f1ede4; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.analytics-consent button,
.analytics-settings {
  min-height: 42px;
  padding: .65rem .95rem;
  border: 1px solid #c8a86b;
  background: #c8a86b;
  color: #07111f;
  font: 750 .76rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.analytics-consent .analytics-refuse {
  background: transparent;
  color: #f1ede4;
}

.analytics-settings {
  position: fixed;
  left: .75rem;
  bottom: .75rem;
  z-index: 900;
  min-height: 34px;
  padding: .5rem .7rem;
  border-color: rgba(200, 168, 107, .5);
  background: rgba(7, 17, 31, .88);
  color: rgba(241, 237, 228, .78);
  font-size: .66rem;
  backdrop-filter: blur(8px);
}

.analytics-consent button:focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid #e0c68f;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .analytics-consent { inset: auto .65rem .65rem; width: calc(100% - 1.3rem); }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
