.pwa-install {
    position: fixed;
    z-index: 10050;
    top: 50%;
    right: 0;
    display: none;
    align-items: center;
    transform: translateY(-50%);
    font-family: Arial, sans-serif;
}

.pwa-install__panel {
    width: 286px;
    max-width: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-width 220ms ease, visibility 0s linear 220ms;
}

.pwa-install.is-open .pwa-install__panel {
    max-width: min(286px, calc(100vw - 56px));
    visibility: visible;
    transition: max-width 220ms ease, visibility 0s;
}

.pwa-install__action {
    display: flex;
    width: 290px;
    max-width: calc(100vw - 56px);
    min-height: 50px;
    align-items: center;
    gap: 20px;
    padding: 10px 25px;
    border: 0;
    border-radius: 25px 0 0 25px;
    background: #d7c19c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    color: #111;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.pwa-install__action svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
}

.pwa-install__message {
    display: none;
    margin: 0;
    padding: 0 16px 13px;
    background: #d7c19c;
    color: #242424;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
}

.pwa-install__message:not(:empty) {
    display: block;
}

.pwa-install__toggle {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 45px;
    place-items: center;
    border: 2px solid #f2a900;
    border-right: 0;
    border-radius: 25px 0 0 25px;
    background: #050505;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
    color: #fff;
    cursor: pointer;
}

.pwa-install__toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 220ms ease;
}

@media (max-width: 767px) {
    .pwa-install { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .pwa-install__panel,
    .pwa-install__toggle svg { transition: none; }
}
