.cookie-consent {
  position: fixed;
  z-index: 2147483000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px;
  color: #f7f9ff;
  background: rgba(8, 13, 24, .97);
  border: 1px solid rgba(139, 174, 255, .3);
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .06);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
  backdrop-filter: blur(18px);
}

.cookie-consent__copy { min-width: 0; }
.cookie-consent__title { display: block; margin-bottom: 3px; font-size: 15px; }
.cookie-consent p { margin: 0; color: #cbd3e4; font-size: 13px; }
.cookie-consent a { color: #9dbbff; text-underline-offset: 3px; }
.cookie-consent a:hover { color: #c9d8ff; }

.cookie-consent__accept {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 22px;
  color: #07101f;
  background: #9dbbff;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.cookie-consent__accept:hover { background: #bdd0ff; }
.cookie-consent a:focus-visible,
.cookie-consent__accept:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 640px) {
  .cookie-consent {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 15px;
    border-radius: 16px;
  }

  .cookie-consent__accept { width: 100%; }
}

@media print {
  .cookie-consent { display: none !important; }
}
