/* =========================================
   PWA CONTINUE PROMPT
========================================= */

.pwa-continue-modal {
    position: fixed;
    inset: 0;
    z-index: 1000005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(7px);
}

.pwa-continue-box {
    width: min(480px, 100%);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    background: #ffffff;
    color: #1f2937;
    padding: 30px 24px 28px;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.32);
    text-align: center;
}

.pwa-continue-illustration {
    position: relative;
    width: 118px;
    height: 112px;
    margin: 0 auto 10px;
}

.pwa-book-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.pwa-spark {
    position: absolute;
    color: #f08b2f;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.pwa-spark-one {
    left: -10px;
    top: 34px;
}

.pwa-spark-two {
    right: -6px;
    top: 30px;
}

.pwa-spark-three {
    left: 10px;
    bottom: 24px;
    color: #f6c49a;
    font-size: 12px;
}

.pwa-continue-box h2 {
    margin: 0;
    color: #1f2937;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.34;
}

.pwa-title-divider {
    position: relative;
    width: 130px;
    height: 1px;
    margin: 18px auto 20px;
    background: linear-gradient(90deg, transparent, #f3b26f, transparent);
}

.pwa-title-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f08b2f;
    transform: translate(-50%, -50%);
}

.pwa-continue-label {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.pwa-continue-page {
    margin: 0 0 24px;
    border: 1px solid #f0d9c8;
    border-radius: 8px;
    background: #fff5ef;
    color: #6f3b25;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.55;
}

.pwa-continue-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pwa-continue-btn {
    min-height: 58px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    white-space: normal;
}

.pwa-continue-btn span {
    font-size: 22px;
    line-height: 1;
}

.pwa-continue-primary {
    border: 1px solid #f97316;
    background: #ff7f1f;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.24);
}

.pwa-continue-secondary {
    border: 1px solid #d7dde6;
    background: #f8fafc;
    color: #4b5563;
}

@media (max-width: 520px) {
    .pwa-continue-modal {
        padding: 18px 28px;
    }

    .pwa-continue-box {
        width: min(100%, 330px);
        padding: 24px 14px 16px;
        border-radius: 13px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.34);
    }

    .pwa-continue-illustration {
        width: 82px;
        height: 76px;
        margin-bottom: 8px;
    }

    .pwa-spark {
        font-size: 13px;
    }

    .pwa-spark-one {
        left: -4px;
        top: 23px;
    }

    .pwa-spark-two {
        right: -4px;
        top: 22px;
    }

    .pwa-spark-three {
        left: 8px;
        bottom: 18px;
        font-size: 9px;
    }

    .pwa-continue-box h2 {
        font-size: 20px;
        line-height: 1.38;
    }

    .pwa-title-divider {
        width: 104px;
        margin: 14px auto 16px;
    }

    .pwa-continue-label {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .pwa-continue-page {
        margin-bottom: 14px;
        padding: 12px 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .pwa-continue-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pwa-continue-btn {
        width: 100%;
        min-height: 44px;
        font-size: 14px;
        gap: 8px;
    }

    .pwa-continue-btn span {
        font-size: 20px;
    }
}

@media (max-width: 340px) {
    .pwa-continue-modal {
        padding: 14px 18px;
    }

    .pwa-continue-box {
        padding: 22px 12px 14px;
    }

    .pwa-continue-box h2 {
        font-size: 18px;
    }
}