.ml-cookie-notice {
  --cookie-surface: #1b1f25;
  --cookie-border: #3a424b;
  --cookie-text: #f4f6f8;
  --cookie-muted: #b8c1ca;
  --cookie-link: #a4c9ee;
  --cookie-button: #a4c9ee;
  --cookie-button-text: #10273b;
  position: fixed;
  z-index: 155;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(346px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--cookie-border);
  border-radius: 10px;
  background: var(--cookie-surface);
  color: var(--cookie-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  font-family: inherit;
  text-align: left;
}
.ml-cookie-notice[data-theme="light"] {
  --cookie-surface: #fff;
  --cookie-border: #d9e0e7;
  --cookie-text: #1c2732;
  --cookie-muted: #566474;
  --cookie-link: #285d8f;
  --cookie-button: #31689f;
  --cookie-button-text: #fff;
  box-shadow: 0 7px 22px rgba(24, 45, 65, .11);
}
.ml-cookie-notice__content { min-width: 0; }
.ml-cookie-notice h2 { margin: 0; color: var(--cookie-text); font-size: 13px; font-weight: 650; line-height: 1.3; }
.ml-cookie-notice p { margin: 4px 0 10px; color: var(--cookie-muted); font-size: 12px; line-height: 1.4; }
.ml-cookie-notice__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ml-cookie-notice a { color: var(--cookie-link); font-size: 12px; font-weight: 600; text-underline-offset: 3px; }
.ml-cookie-notice button { min-height: 34px; min-width: 78px; padding: 6px 12px; border: 0; border-radius: 7px; background: var(--cookie-button); color: var(--cookie-button-text); cursor: pointer; font: inherit; font-size: 12px; font-weight: 650; }
.ml-cookie-notice button:hover { filter: brightness(1.08); }
.ml-cookie-notice :is(a, button):focus-visible { outline: 2px solid var(--cookie-link); outline-offset: 3px; }
body.sn-bw-open .ml-cookie-notice { display: none; }
body.has-cookie-notice .sn-pwa-install { visibility: hidden; pointer-events: none; }
body.manalog-home.has-cookie-notice .home-hero-in { padding-bottom: calc(var(--cookie-notice-height, 0px) + 24px); }
body.has-cookie-notice .toast-stack { bottom: calc(var(--cookie-notice-height, 0px) + 24px + env(safe-area-inset-bottom, 0px)); }
body.has-cookie-notice .sn-pwa-install:not(.sn-pwa-install--top) { bottom: calc(var(--cookie-notice-height, 0px) + 24px + env(safe-area-inset-bottom, 0px)) !important; }
@media (max-width: 900px) {
  body.app-page .ml-cookie-notice { bottom: calc(var(--bottnav-h, 56px) + 10px + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - var(--bottnav-h, 56px) - 20px - env(safe-area-inset-bottom, 0px)); }
  body.app-page.has-cookie-notice .toast-stack { bottom: calc(var(--bottnav-h, 56px) + var(--cookie-notice-height, 0px) + 20px + env(safe-area-inset-bottom, 0px)); }
  body.app-page.has-cookie-notice .sn-pwa-install:not(.sn-pwa-install--top) { bottom: calc(var(--bottnav-h, 56px) + var(--cookie-notice-height, 0px) + 20px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 640px) {
  .ml-cookie-notice { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; max-height: calc(100dvh - 20px - env(safe-area-inset-bottom, 0px)); padding: 12px 14px; }
  .ml-cookie-notice button { min-height: 40px; }
}
