.analytics-consent,
.analytics-preferences {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.analytics-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: none;
  width: min(480px, calc(100vw - 32px));
  border: 2px solid var(--blue, #001eff);
  background: var(--paper, #fffdf8);
  color: var(--text, #080808);
  box-shadow: 10px 10px 0 rgba(0, 30, 255, 0.14);
}

.analytics-consent.is-visible {
  display: block;
}

.analytics-consent__inner {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.analytics-consent__kicker {
  margin: 0 0 10px;
  color: var(--blue, #001eff);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.analytics-consent__copy {
  margin: 0;
  color: var(--muted, #6b665f);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.analytics-consent__copy a {
  color: var(--blue, #001eff);
  font-weight: 900;
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.analytics-consent button,
.analytics-preferences {
  min-height: 44px;
  border: 2px solid var(--blue, #001eff);
  padding: 0 14px;
  background: transparent;
  color: var(--blue, #001eff);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.analytics-consent button[data-analytics-action="accept"] {
  background: var(--blue, #001eff);
  color: var(--paper, #fffdf8);
}

.analytics-preferences {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999;
  display: none;
  min-height: 38px;
  background: var(--paper, #fffdf8);
  font-size: 12px;
}

.analytics-preferences.is-visible {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 680px) {
  .analytics-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    box-shadow: 6px 6px 0 rgba(0, 30, 255, 0.14);
  }

  .analytics-consent__inner {
    gap: 16px;
    padding: 16px;
  }

  .analytics-consent__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .analytics-consent button {
    width: 100%;
  }
}
