.rwb-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 52px;
    height: 52px;
    padding: 0 16px;
    border: 0;
    border-radius: 16px;
    background: #111;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.rwb-install-button:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(0,0,0,.22);
}

.rwb-install-button:active {
    transform: translateY(0);
}

.rwb-install-button:focus-visible {
    outline: 3px solid rgba(0,0,0,.28);
    outline-offset: 3px;
}

.rwb-install-icon {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rwb-install-label {
    margin-left: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.rwb-install-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

.rwb-install-icon {
    font-size: 18px;
}

@media (min-width: 769px) {
    .rwb-install-button {
        display: none !important;
    }
}


/* =========================================================
   POPUP AUTOMATIQUE D’INSTALLATION — 3s / 8s
   ========================================================= */
.rwb-install-popup {
    position: fixed;
    top: 14px;
    left: 50%;
    width: min(92vw, 430px);
    z-index: 2147483647;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -14px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.rwb-install-popup--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.rwb-install-popup__content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 10px 11px 10px 12px;
    background: #111;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.rwb-install-popup__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 11px;
    background: #fff;
}

.rwb-install-popup__text {
    min-width: 0;
    flex: 1 1 auto;
}

.rwb-install-popup__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.1px;
}

.rwb-install-popup__name {
    margin-top: 2px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rwb-install-popup__button {
    flex: 0 0 auto;
    min-width: 78px;
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.rwb-install-popup__button:hover {
    opacity: .92;
    transform: none;
    box-shadow: none;
}

.rwb-install-popup__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (min-width: 769px) {
    .rwb-install-popup {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .rwb-install-popup {
        width: calc(100vw - 20px);
        top: 10px;
    }
    .rwb-install-popup__content {
        gap: 9px;
        padding: 9px;
    }
    .rwb-install-popup__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
    .rwb-install-popup__button {
        min-width: 70px;
        padding: 0 11px;
    }
}
