.privacy-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(680px, calc(100vw - 44px));
  padding: 16px;
  color: #f7f3ff;
  border: 1px solid rgba(157, 84, 255, 0.38);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(21, 18, 42, 0.97), rgba(8, 11, 24, 0.98));
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(126, 39, 223, 0.15);
  backdrop-filter: blur(18px);
}

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

.privacy-consent-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #d8b6ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c22db, #49118f);
  box-shadow: 0 0 22px rgba(157, 84, 255, 0.25);
}

.privacy-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.privacy-consent-copy p {
  margin: 0;
  color: #b9b3ca;
  font-size: 0.78rem;
  line-height: 1.55;
}

.privacy-consent-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-consent-actions a {
  color: #c99cff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.privacy-consent-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(190, 130, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(135deg, #842bea, #5511a8);
  box-shadow: 0 8px 22px rgba(92, 20, 173, 0.3);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.privacy-consent-actions button:hover,
.privacy-consent-actions button:focus-visible {
  filter: brightness(1.13);
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .privacy-consent {
    right: 12px;
    bottom: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 16px;
  }

  .privacy-consent-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .privacy-consent-actions button {
    min-width: 108px;
  }
}
