.privacy-notice {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #16242e;
  background: #fff;
  border: 1px solid #dce7ec;
  border-radius: 16px;
  box-shadow: 0 12px 42px rgba(16, 42, 54, .2);
  opacity: 0;
  transform: translateY(calc(100% + 32px));
  transition: opacity .3s ease, transform .3s ease;
}

.privacy-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-notice__text {
  flex: 1 1 420px;
  margin: 0;
  color: #526570;
  font-size: 14px;
  line-height: 1.55;
}

.privacy-notice__text strong {
  color: #16242e;
}

.privacy-notice__button {
  flex: none;
  min-width: 120px;
  padding: 11px 24px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  background: #0e7c86;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.privacy-notice__button:hover {
  background: #0a626a;
}

.privacy-notice__button:focus-visible {
  outline: 3px solid rgba(14, 124, 134, .3);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .privacy-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .privacy-notice__text {
    flex-basis: auto;
  }

  .privacy-notice__button {
    width: 100%;
  }
}

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