.analytics-consent,
.analytics-consent * { box-sizing: border-box; }
.analytics-consent {
  position: fixed; z-index: 2147483647; left: 16px; right: 16px; bottom: 16px;
  max-width: 680px; margin: 0 auto; padding: 20px;
  color: #f7f7f7; background: #17191d; border: 1px solid #70757d;
  border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.45);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 8px; color: #fff; font-size: 1.25rem; }
.analytics-consent p { margin: 0 0 16px; color: #e2e3e5; }
.analytics-consent a { color: #8ecbff; text-decoration: underline; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.analytics-consent button,
.analytics-choices-button {
  min-height: 44px; padding: 10px 16px; border: 2px solid #fff; border-radius: 8px;
  color: #fff; background: transparent; font: 700 15px/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.analytics-consent button[data-consent="granted"] { color: #111; background: #fff; }
.analytics-consent button:focus-visible,
.analytics-choices-button:focus-visible { outline: 3px solid #ffd54a; outline-offset: 3px; }
.analytics-choices-button {
  position: fixed; z-index: 2147483646; left: 12px; bottom: 12px;
  min-height: 40px; padding: 8px 12px; border-color: #70757d;
  color: #fff; background: #17191d; font-size: 13px;
}
@media (max-width: 480px) {
  .analytics-consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .analytics-consent__actions { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .analytics-consent, .analytics-choices-button { scroll-behavior: auto; }
}
