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

.pwa-install-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #1265d5 0%, #063f82 100%);
    box-shadow: 0 12px 28px rgba(6, 63, 130, 0.24);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pwa-install-button:hover {
    background: linear-gradient(135deg, #1974ec 0%, #084d9c 100%);
}

.pwa-install-button:focus-visible {
    outline: 3px solid rgba(30, 215, 255, 0.52);
    outline-offset: 3px;
}

.pwa-install-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.pwa-install-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.sge-sidebar-footer .pwa-install-button.is-sidebar-control {
    position: static;
    width: 100%;
    margin: 0 0 12px;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.sge-sidebar-footer .pwa-install-button.is-sidebar-control:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
    .pwa-install-button:not(.is-sidebar-control) {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }
}
