/* ioann-karpovka floating «Поминовения» pill (task 8). Port of the design button (Site.dc.html: showFab).
   Breakpoint: see tokens.css (mobile = not all and (min-width: 768px); never max-width). */
.ik-fab {
    position: fixed; z-index: 100;
    right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right));
    bottom: max(clamp(16px, 3vw, 32px), env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 24px 0 18px; border-radius: 999px;
    background: var(--iskm-navy); color: var(--iskm-cream-50);
    font: 500 16px/1 var(--font-body); text-decoration: none; white-space: nowrap;
    box-shadow: 0 12px 32px rgba(22, 39, 92, .22);
    transition: background .25s cubic-bezier(.2, .7, .2, 1);
}
.ik-fab:hover { color: var(--iskm-cream-50); } /* neutralise the base a:hover colour */
.ik-fab__icon { width: 22px; height: 22px; flex: none; }
@media (hover: hover) { .ik-fab:hover { background: var(--iskm-navy-600); } }
.ik-fab:focus-visible { outline: 2px solid var(--iskm-teal); outline-offset: 3px; }

/* the open mobile menu covers the page (task 5) */
html.ik-menu-open .ik-fab { display: none; }
@media print { .ik-fab { display: none; } }

/* mobile: keep the last footer row (legal links, task 41) clear of the pill */
@media not all and (min-width: 768px) {
    .ik-site--fab .ik-footer__inner { padding-bottom: calc(32px + 56px + 16px); }
}
