body.is-pwa-app {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.king-pwa-launch-screen::before,
.king-pwa-launch-screen::after {
    content: "";
    position: absolute;
    inset: 0;
}

.king-pwa-launch-screen {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.king-pwa-launch-screen::before {
    width: 62px;
    height: 62px;
    margin: auto;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.king-pwa-launch-screen::after {
    width: 22px;
    height: 22px;
    margin: auto;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.18);
    border-top-color: #111827;
    animation: king-pwa-spin 0.9s linear infinite;
}

.king-pwa-launch-screen.is-visible {
    display: block;
}

.king-pwa-launch-screen.is-hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.king-pwa-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1;
}

.king-pwa-button--primary {
    background: #f59e0b;
    color: #111827;
    font-weight: 600;
}

.king-pwa-button--ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.king-pwa-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.king-pwa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
}

.king-pwa-modal__panel {
    position: relative;
    width: min(100%, 420px);
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 20px 20px;
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.24);
}

.king-pwa-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.king-pwa-modal__header strong {
    font-size: 20px;
    color: #111827;
}

.king-pwa-modal__close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.king-pwa-modal__desc {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.7;
}

.king-pwa-modal__steps {
    margin: 0 0 18px;
    padding-left: 20px;
    color: #111827;
    line-height: 1.8;
}

.king-pwa-modal__done {
    width: 100%;
}

@keyframes king-pwa-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
}
