@charset "UTF-8";

.pwa-install-button,
.pwa-install-dismiss {
    left: var(--floating-edge);
    right: auto;
}

.pwa-install-button {
    background: transparent;
}

.pwa-install-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-dismiss {
    width: 24px;
    height: 24px;
    margin-left: 32px;
    margin-bottom: 32px;
    font-size: 18px;
}

.pwa-install-guide {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.pwa-install-guide[open] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pwa-install-guide::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.pwa-install-sheet {
    position: relative;
    width: 100%;
    max-width: 384px;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px 16px 0 0;
    background: #273043;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

.pwa-install-sheet h2 {
    margin: 0 28px 12px 0;
    color: #fff;
    font-size: 16px;
    text-align: left;
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.pwa-install-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: install-step;
    color: rgba(255, 255, 255, 0.8);
}

.pwa-install-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.pwa-install-steps li::before {
    content: counter(install-step);
    counter-increment: install-step;
    display: grid;
    flex: 0 0 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(44, 162, 95, 0.2);
    color: var(--color-green);
    font-size: 12px;
    font-weight: bold;
}

.pwa-install-steps strong {
    color: #fff;
}

.pwa-install-share {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    color: var(--color-green);
}
