.install-open[hidden] { display: none !important; }

.install-open {
    position: fixed;
    left: calc(12px + env(safe-area-inset-left, 0px));
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 9997;
    box-sizing: border-box;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    padding: 10px 14px;
    background: #07506f;
    color: #fff;
    font: 700 13px/1.3 system-ui, -apple-system, sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.install-open:focus-visible {
    outline: 3px solid #d54a4a;
    outline-offset: 3px;
}

/* Include the library's horizontal padding in its intended 90% mobile width. */
.adhs-container.adhs-mobile .adhs-modal {
    box-sizing: border-box;
}

@media (max-width: 360px) {
    .adhs-container.adhs-mobile .adhs-modal {
        top: 50%;
        padding: 40px 15px 20px;
    }

    .adhs-container.adhs-mobile .adhs-modal .adhs-title {
        font-size: 24px;
        padding-bottom: 10px;
    }

    .adhs-container.adhs-mobile .adhs-modal .adhs-app-name {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .adhs-container.adhs-mobile .adhs-modal .adhs-list .adhs-list-item .adhs-instruction {
        font-size: 17px;
        line-height: 23px;
    }

    .adhs-container.adhs-mobile .adhs-modal .adhs-blurb {
        font-size: 14px;
        margin-top: 5px;
    }
}

/* iOS 26 can show Share in the middle of Safari's bottom toolbar. */
.adhs-container.adhs-ios.adhs-safari.adhs-ios26
    .adhs-ios-safari-bouncing-arrow-container img {
    left: calc(50% - 30px);
    right: auto;
}
