#pwa-install-button {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: #ffa45c;
    color: #140000;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

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

#pwa-install-help {
    width: min(420px, calc(100% - 32px));
    border: 1px solid #444;
    border-radius: 18px;
    background: #151515;
    color: #fff;
    padding: 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

#pwa-install-help::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.pwa-install-help-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 28px;
}

.pwa-install-help-card h2,
.pwa-install-help-card p {
    margin: 0;
}

.pwa-install-help-card p {
    color: #ddd;
    line-height: 1.55;
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1.8rem;
}

.pwa-install-ok {
    justify-self: end;
    border: 0;
    border-radius: 999px;
    background: #ffa45c;
    color: #140000;
    cursor: pointer;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
}

.pwa-shortcut-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
    padding: 0.78rem 1rem;
    border: 1px solid #c88a30;
    border-radius: 10px;
    background: #fff8eb;
    color: #4a2800;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.pwa-shortcut-install-button:hover,
.pwa-shortcut-install-button.pwa-install-ready {
    background: #ffa45c;
    color: #140000;
}

.pwa-shortcut-install-button img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

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

.pwa-shortcut-install-button--admin {
    width: auto;
    margin: 0 12px 0 0;
    padding: 0.45rem 0.7rem;
    border-color: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: #ffa45c;
    font-size: 0.82rem;
    white-space: nowrap;
}

.pwa-shortcut-dialog {
    width: min(420px, calc(100% - 32px));
    border: 1px solid #444;
    border-radius: 18px;
    background: #151515;
    color: #fff;
    padding: 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.pwa-shortcut-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.pwa-shortcut-dialog-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px;
    text-align: center;
}

.pwa-shortcut-dialog-card h2,
.pwa-shortcut-dialog-card p {
    margin: 0;
}

.pwa-shortcut-dialog-card img {
    border-radius: 18px;
}

.pwa-shortcut-dialog-card p {
    color: #ddd;
    line-height: 1.5;
}

.pwa-shortcut-dialog-note {
    font-size: 0.88rem;
}

.pwa-shortcut-dialog-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1.8rem;
}

.pwa-shortcut-dialog-ok {
    border: 0;
    border-radius: 999px;
    background: #ffa45c;
    color: #140000;
    cursor: pointer;
    font-weight: 800;
    padding: 0.7rem 1.2rem;
}

@media (max-width: 620px) {
    .pwa-shortcut-install-button--admin span {
        display: none;
    }

    .pwa-shortcut-install-button--admin {
        padding: 0.4rem;
    }
}
