.analytics-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1000;
  width: min(560px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(16, 19, 22, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #101316;
  box-shadow: 0 20px 60px rgba(16, 19, 22, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.analytics-consent p {
  margin: 0 0 14px;
  font-size: 0.94rem;
}

.analytics-consent a {
  color: #16588E;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.analytics-consent button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(16, 19, 22, 0.16);
  border-radius: 10px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.analytics-consent__accept {
  background: #16588E;
  color: #FFFFFF;
}

.analytics-consent__decline {
  background: #FFFFFF;
  color: #101316;
}

@media (max-width: 520px) {
  .analytics-consent {
    inset: auto 10px 10px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .analytics-consent button {
    flex: 1 1 100%;
  }
}
