.analytics-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10100;
}

.analytics-consent[hidden],
.analytics-settings[hidden] {
  display: none;
}

.analytics-consent-card {
  box-sizing: border-box;
  width: min(390px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, .14);
  background: #101010;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .46);
  padding: 14px 15px 13px;
  color: #ececec;
  font-family: Barlow, Arial, sans-serif;
}

.analytics-consent-kicker {
  color: #eff923;
  font: 700 9px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.analytics-consent-card h2 {
  margin: 5px 0 6px;
  color: #fff;
  font: 700 20px/1.08 "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
}

.analytics-consent-card p {
  margin: 0;
  color: #b7b7b7;
  font-size: 12px;
  line-height: 1.42;
}

.analytics-consent-card a {
  color: #eff923;
}

.analytics-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 11px;
}

.analytics-button,
.analytics-settings {
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  font: 700 10px/1 "Barlow", Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.analytics-button {
  min-height: 34px;
  padding: 0 13px;
}

.analytics-button-secondary {
  background: transparent;
  color: #ddd;
}

.analytics-button-primary {
  border-color: #eff923;
  background: #eff923;
  color: #080808;
}

.analytics-settings {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 10020;
  padding: 7px 9px;
  background: #101010;
  color: #c7c7c7;
}

.analytics-button:focus-visible,
.analytics-settings:focus-visible {
  outline: 2px solid #eff923;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
  }

  .analytics-consent-card {
    width: calc(100vw - 20px);
    padding: 13px 13px 12px;
  }
}
