.privacy-notice {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 82px;
  padding: 0 max(5vw, calc((100vw - 1380px) / 2 + 20px));
  color: #dbe7e3;
  background: rgba(8, 31, 25, .82);
  border: 0;
  border-top: 1px solid rgba(196, 224, 215, .18);
  border-radius: 0;
  box-shadow: 0 -14px 48px rgba(4, 22, 18, .18);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  animation: privacy-arrive .55s cubic-bezier(.2, .8, .2, 1) both;
}

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

.privacy-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7d94a;
  box-shadow: 0 0 0 5px rgba(183, 217, 74, .1), 0 0 18px rgba(183, 217, 74, .45);
  animation: privacy-pulse 2.5s ease-in-out infinite;
}

.privacy-notice p {
  margin: 0;
  color: rgba(219, 231, 227, .72);
  font: 400 13px/1.5 "DM Sans", sans-serif;
  letter-spacing: .01em;
}

.privacy-notice p strong {
  color: #fff;
  font-weight: 500;
}

.privacy-notice > a {
  color: #92d0c2;
  font: 500 12px "DM Sans", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.privacy-notice > a::after {
  content: " ↗";
}

.privacy-notice > button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0 0 2px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  font: 300 18px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .2s, background .2s, transform .2s;
}

.privacy-notice > button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  transform: rotate(8deg);
}

.privacy-settings {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

@keyframes privacy-arrive {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes privacy-pulse {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 680px) {
  .privacy-notice {
    bottom: 0;
    grid-template-columns: auto 1fr auto;
    gap: 11px;
    width: 100%;
    min-height: 94px;
    padding: 14px 16px;
    border-radius: 0;
  }

  .privacy-notice p { font-size: 12px; }
  .privacy-notice p strong { display: block; margin-bottom: 2px; }
  .privacy-notice > a { grid-column: 2; justify-self: start; }
  .privacy-notice > button { grid-column: 3; grid-row: 1 / span 2; }
  .privacy-signal { align-self: start; margin-top: 5px; }
}

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