/**
 * Interstitial gợi ý mở app native từ in-app browser MXH.
 */
.native-app-prompt {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    font-family: var(--font-family, 'Inter', 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

.native-app-prompt[hidden] {
    display: none !important;
}

.native-app-prompt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(3px);
}

.native-app-prompt-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px 20px 16px 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    animation: nativeAppPromptIn 0.28s ease-out;
}

@keyframes nativeAppPromptIn {
    from {
        transform: translateY(24px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.native-app-prompt-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.native-app-prompt-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.native-app-prompt-text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.native-app-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.native-app-prompt-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.native-app-prompt-btn-primary {
    background: #111827;
    color: #fff;
}

.native-app-prompt-btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.native-app-prompt-btn-link {
    background: transparent;
    color: #6b7280;
    font-weight: 500;
    padding: 8px;
}

@media (min-width: 640px) {
    .native-app-prompt {
        align-items: center;
    }

    .native-app-prompt-card {
        border-radius: 20px;
    }
}
