.privacy-consent {
  position: fixed;
  z-index: 10050;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: min(760px, calc(100vw - 32px));
  margin-inline: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity .22s ease, transform .22s ease;
}

.privacy-consent--visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.privacy-consent__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-top-color: rgba(255, 140, 43, .58);
  border-radius: 16px;
  background: #0b0e14;
  color: #f4f7fb;
  box-shadow: 0 16px 54px rgba(0, 0, 0, .58);
  font-family: Inter, Rubik, system-ui, sans-serif;
}

.privacy-consent__text {
  flex: 1 1 auto;
  min-width: 0;
}

.privacy-consent__text strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.privacy-consent__text p {
  margin: 0;
  color: #b9c3d2;
  font-size: 13px;
  line-height: 1.55;
}

.privacy-consent__text a {
  color: #53ddff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  max-width: 230px;
  gap: 8px;
}

.privacy-consent__choices { display: grid; gap: 8px; margin-top: 12px; }
.privacy-consent__choices label { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; cursor: pointer; }
.privacy-consent__choices input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #ff8c2b; }

.privacy-consent__button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #f4f7fb;
  font: 700 13px/1.2 Inter, Rubik, system-ui, sans-serif;
  cursor: pointer;
}

.privacy-consent__button--primary {
  border-color: #ff8c2b;
  background: #ff8c2b;
  color: #14100c;
}

.privacy-consent__button:hover { filter: brightness(1.08); }

.privacy-consent__button:focus-visible {
  outline: 3px solid #53ddff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .privacy-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100vw - 20px);
  }

  .privacy-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .privacy-consent__actions { width: 100%; max-width: none; }

  .privacy-consent__button {
    flex: 1 1 0;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent { transition: none; }
}
