.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed; z-index: 1000; bottom: 20px; left: 20px;
  width: min(540px, calc(100vw - 40px)); box-sizing: border-box;
  max-height: calc(100dvh - 40px); overflow: auto;
  padding: 22px; border: 1px solid #777; border-radius: 14px;
  background: #151719; color: #f4f4f4; box-shadow: 0 8px 30px #0009;
  font: 15px/1.5 system-ui, sans-serif;
}
.analytics-consent h2 { font-size: 19px; margin: 0 0 10px; }
.analytics-consent p { margin: 10px 0; }
.analytics-consent a { color: #c4e0ff; text-decoration: underline; }
.analytics-consent summary { cursor: pointer; text-decoration: underline; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.analytics-actions button {
  flex: 1 1 180px; padding: 12px 16px; border: 1px solid #bbb;
  border-radius: 7px; background: #25282c; color: #fff;
  font: inherit; cursor: pointer;
}
.analytics-actions button:hover { background: #383d43; }
.analytics-settings { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-actions button:focus-visible, .analytics-settings:focus-visible,
.analytics-consent summary:focus-visible { outline: 3px solid #b5d9ff; outline-offset: 3px; }
