.site-cookie-consent {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1120;
  width:min(368px,calc(100% - 48px));
  max-height:calc(100vh - 48px);
  max-height:calc(100dvh - 48px);
  padding:20px;
  overflow-y:auto;
  border:1px solid var(--line,#e1e6ef);
  border-radius:12px;
  background:#fff;
  color:var(--ink,#172653);
  box-shadow:0 10px 32px #10244f26;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .3s ease,transform .3s ease;
}
.site-cookie-consent[hidden] { display:none; }
.site-cookie-consent.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.site-cookie-consent__title { margin:0 0 8px; color:var(--blue,#2b3787); font-size:18px; line-height:1.3; font-weight:700; }
.site-cookie-consent__text { margin:0; color:#566077; font-size:14px; line-height:1.55; }
.site-cookie-consent__text a { color:var(--blue,#2b3787); text-decoration:underline; text-underline-offset:3px; }
.site-cookie-consent__button { display:block; width:100%; min-height:44px; margin-top:16px; padding:10px 18px; border:0; border-radius:8px; background:var(--blue,#2b3787); color:#fff; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.site-cookie-consent__button:hover { background:var(--blue-deep,#10244f); }
.site-cookie-consent :is(a,button):focus-visible { outline:2px solid var(--orange,#ef7d00); outline-offset:3px; }
body.menu-open .site-cookie-consent { visibility:hidden; pointer-events:none; }
#cookies { scroll-margin-top:160px; }
@media (max-width:760px) {
  .site-cookie-consent { left:12px; right:12px; bottom:calc(80px + env(safe-area-inset-bottom)); width:auto; max-height:calc(100vh - 116px); max-height:calc(100dvh - 116px - env(safe-area-inset-bottom)); padding:18px; }
  #cookies { scroll-margin-top:100px; }
}
@media (prefers-reduced-motion:reduce) {
  .site-cookie-consent { transition:none; }
}
