/* Studio Hasak: the cookie window. A floating material, so a real shadow and blur belong here. */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 55;
  width: min(420px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto;
  padding: 22px; border-radius: 22px; color: #1d1d1f; font: 400 0.9375rem/1.45 "Inter", -apple-system, system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 24px 60px -16px rgba(10, 8, 60, 0.5);
  opacity: 0; transform: translateY(12px) scale(0.98); transform-origin: 0 100%;
  transition: opacity 220ms ease, transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.consent[hidden] { display: none; }
.consent.is-in { opacity: 1; transform: none; }
.consent h2 { margin: 0 0 6px; font-size: 1.125rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.consent p { margin: 0; }
.consent a { color: #2f5bea; }
.consent-options { display: grid; gap: 10px; margin-top: 14px; }
.consent-options[hidden] { display: none; }
.consent-options label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent-options input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #2f5bea; }
.consent-options b { display: block; font-weight: 600; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.consent-actions button {
  min-height: 46px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: #2a1f85; color: #fff; font: 600 0.9375rem/1 "Inter", -apple-system, system-ui, sans-serif;
  transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.consent-actions button:active { transform: scale(0.97); }
.consent-actions .consent-more { grid-column: 1 / -1; min-height: 40px; background: transparent; color: #2a1f85; }
.consent :focus-visible { outline: 2px solid #2f5bea; outline-offset: 2px; }
.consent-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .consent { transform: none; transition: opacity 200ms ease; }
}
@media (prefers-reduced-transparency: reduce) {
  .consent { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
