.cookie-notice {
  position: fixed;
  z-index: 2147483000;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(760px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(225, 226, 238, .92);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: #292638;
  box-shadow: 0 20px 58px rgba(34, 38, 58, .18);
  backdrop-filter: blur(16px);
  font-family: Manrope, sans-serif;
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice p {
  margin: 0;
  color: #5f6573;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.cookie-notice a {
  color: #6756e8;
  font-weight: 850;
  text-decoration: none;
}

.cookie-notice a:hover {
  text-decoration: underline;
}

.cookie-notice button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: linear-gradient(135deg, #7564f0, #5744d8);
  color: #fff;
  font: 850 12px Manrope, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(103, 86, 232, .26);
}

.cookie-notice button:hover {
  transform: translateY(-1px);
}

.desktop-app .cookie-notice {
  display: none !important;
}

@media (max-width: 560px) {
  .cookie-notice {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 14px;
    border-radius: 16px;
  }

  .cookie-notice button {
    width: 100%;
  }
}
