/* PWA: nápoveda „Pridať na plochu“ / inštalačná výzva (pásik dole). Vzor: Účtujem si. */
.am-pwa-hint {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(560px, calc(100vw - 32px));
    padding: 12px 14px;
    border: 1px solid rgba(21, 71, 144, 0.16);
    border-radius: 16px;
    background: #ffffff;
    color: #1e314f;
    box-shadow: 0 12px 32px rgba(15, 30, 60, 0.22);
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 220ms ease, transform 220ms ease;
}
.am-pwa-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
.am-pwa-hint__icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
}
.am-pwa-hint__body {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
}
.am-pwa-hint__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #154790;
}
.am-pwa-hint__share {
    display: inline-block;
    vertical-align: -4px;
    margin: 0 2px;
}
.am-pwa-hint__install {
    flex: none;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: #154790;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.am-pwa-hint__install:hover,
.am-pwa-hint__install:focus-visible {
    background: #0f376e;
    outline: none;
}
.am-pwa-hint__close {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5a6b86;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.am-pwa-hint__close:hover,
.am-pwa-hint__close:focus-visible {
    background: rgba(21, 71, 144, 0.1);
    color: #154790;
    outline: none;
}
@media (max-width: 480px) {
    .am-pwa-hint {
        flex-wrap: wrap;
    }
    .am-pwa-hint__install {
        flex: 1 1 100%;
    }
}
@media (prefers-color-scheme: dark) {
    .am-pwa-hint {
        background: #272c33;
        color: #e6e9e4;
        border-color: rgba(255, 255, 255, 0.12);
    }
    .am-pwa-hint__title {
        color: #ffffff;
    }
    .am-pwa-hint__close {
        color: #a3ada6;
    }
}
@media (prefers-reduced-motion: reduce) {
    .am-pwa-hint {
        transition: none;
    }
}
