.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #edf4ff;
  background: #0b1322;
  border: 1px solid #2a3a51;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  font-family: Inter, system-ui, sans-serif;
}

.analytics-consent__copy {
  min-width: 0;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.analytics-consent__copy p {
  margin: 0 0 6px;
  color: #a9b7ca;
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent__copy a {
  color: #b8f238;
  font-size: 12px;
  font-weight: 700;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.analytics-consent__actions button {
  min-height: 42px;
  padding: 0 15px;
  color: #d6e0ef;
  background: #121d2d;
  border: 1px solid #34445a;
  border-radius: 6px;
  font: 700 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.analytics-consent__actions button:hover,
.analytics-consent__actions button:focus-visible {
  border-color: #7e95b3;
  outline: none;
}

.analytics-consent__actions .analytics-consent__accept {
  color: #071009;
  background: #b8f238;
  border-color: #b8f238;
}

.analytics-consent__actions .analytics-consent__accept:hover,
.analytics-consent__actions .analytics-consent__accept:focus-visible {
  background: #c9ff4f;
  border-color: #c9ff4f;
}

@media (max-width: 680px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 16px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .analytics-consent {
    animation: analytics-consent-enter 180ms ease-out both;
  }

  @keyframes analytics-consent-enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }
}
