{"id":69,"date":"2026-08-30T05:40:23","date_gmt":"2026-08-30T05:40:23","guid":{"rendered":"https:\/\/fxathena.online\/?page_id=69"},"modified":"2026-08-30T06:26:21","modified_gmt":"2026-08-30T06:26:21","slug":"the-1-dynamic-risk-calculator-remastered-edition","status":"publish","type":"page","link":"https:\/\/fxathena.online\/?page_id=69","title":{"rendered":"The 1% Dynamic Risk Calculator (Remastered Edition)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"69\" class=\"elementor elementor-69\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b0d7a31 e-flex e-con-boxed e-con e-parent\" data-id=\"b0d7a31\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cb34e29 elementor-widget elementor-widget-html\" data-id=\"cb34e29\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <meta name=\"theme-color\" content=\"#0f172a\">\r\n    <title>The 1% Dynamic Risk Calculator (Ultra-Remastered Edition) | FXAthena<\/title>\r\n    \r\n    <!-- PWA Manifest & iOS Touch Icon Hooks -->\r\n    <link rel=\"manifest\" id=\"manifest-link\">\r\n    <link rel=\"apple-touch-icon\" href=\"https:\/\/fxathena.online\/wp-content\/uploads\/2026\/08\/001-2.jpeg\">\r\n    \r\n    <!-- Tailwind CSS for rapid, responsive, premium styling -->\r\n    <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\r\n    \r\n    <!-- Google Fonts: Inter for UI clarity, Playfair Display for authoritative headers -->\r\n    <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap\" rel=\"stylesheet\">\r\n    \r\n    <script>\r\n        tailwind.config = {\r\n            theme: {\r\n                extend: {\r\n                    colors: {\r\n                        'fx-light-blue': '#5DADE2',\r\n                        'fx-normal-blue': '#3498DB',\r\n                        'fx-gold': '#D4AF37',\r\n                        'fx-gold-dark': '#B5952F',\r\n                        'fx-dark': '#111827',\r\n                        'fx-card': '#ffffff',\r\n                    },\r\n                    fontFamily: {\r\n                        sans: ['Inter', 'sans-serif'],\r\n                        serif: ['Playfair Display', 'serif'],\r\n                    },\r\n                    boxShadow: {\r\n                        'gold-glow': '0 0 20px rgba(212, 175, 55, 0.3)',\r\n                        'blue-glow': '0 0 25px rgba(93, 173, 226, 0.2)',\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    <\/script>\r\n    \r\n    <style>\r\n        body {\r\n            background-color: #0f172a; \r\n            background-image: radial-gradient(circle at top right, rgba(52, 152, 219, 0.1), transparent 40%),\r\n                              radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.05), transparent 40%);\r\n            -webkit-font-smoothing: antialiased;\r\n            min-height: 100vh;\r\n            display: flex;\r\n            flex-direction: column;\r\n        }\r\n\r\n        ::-webkit-scrollbar { width: 6px; }\r\n        ::-webkit-scrollbar-track { background: transparent; }\r\n        ::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 3px; }\r\n\r\n        input[type=\"number\"]::-webkit-inner-spin-button,\r\n        input[type=\"number\"]::-webkit-outer-spin-button {\r\n            -webkit-appearance: none;\r\n            margin: 0;\r\n        }\r\n        \r\n        input[type=\"number\"] {\r\n            -moz-appearance: textfield;\r\n            transition: all 0.3s ease;\r\n        }\r\n        \r\n        \/* Removing default browser outlines since we use explicit wrappers for focus states *\/\r\n        input:focus {\r\n            outline: none !important;\r\n            box-shadow: none !important;\r\n        }\r\n\r\n        .fade-in {\r\n            animation: fadeIn 0.4s ease-in-out;\r\n        }\r\n        \r\n        @keyframes fadeIn {\r\n            from { opacity: 0; transform: translateY(5px); }\r\n            to { opacity: 1; transform: translateY(0); }\r\n        }\r\n    <\/style>\r\n<\/head>\r\n<body class=\"text-gray-200 py-10 px-4 sm:px-6 lg:px-8 flex items-center justify-center\">\r\n\r\n    <main class=\"w-full max-w-2xl mx-auto\">\r\n        \r\n        <!-- Elementor Canvas Fix: Normal DOM flow Install Button with margin (Prevents text overlap completely) -->\r\n        <div id=\"installBtnContainer\" class=\"w-full mb-10 fade-in flex justify-center\">\r\n            <button id=\"topInstallBtn\" class=\"w-full max-w-xs flex items-center justify-center gap-2 bg-[#1a2235]\/90 hover:bg-[#232d42] border border-fx-gold text-fx-gold px-5 py-3 rounded-full text-sm font-bold tracking-wide transition-all shadow-gold-glow backdrop-blur-md\">\r\n                <svg class=\"w-5 h-5\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4\"><\/path><\/svg>\r\n                Install Protocol App\r\n            <\/button>\r\n        <\/div>\r\n\r\n        <!-- Header Section -->\r\n        <div class=\"text-center mb-8 fade-in\">\r\n            <span class=\"inline-block text-xs font-bold tracking-widest text-fx-gold uppercase border-b border-fx-gold pb-1 mb-4\">\r\n                FXAthena Institutional Defense Tool\r\n            <\/span>\r\n            <h1 class=\"font-serif text-3xl sm:text-4xl text-white font-bold tracking-tight mb-2\">\r\n                The 1% Dynamic <span class=\"text-fx-light-blue\">Risk Sizing<\/span> Matrix\r\n            <\/h1>\r\n            <p class=\"text-gray-400 text-sm sm:text-base max-w-lg mx-auto\">\r\n                Input your parameters below. Decouple your lot size from your emotional confidence. Execute the unfeeling math.\r\n            <\/p>\r\n        <\/div>\r\n\r\n        <!-- Calculator Card -->\r\n        <div class=\"bg-gray-900 border border-gray-800 rounded-2xl shadow-blue-glow overflow-hidden fade-in relative\" style=\"animation-delay: 0.1s;\">\r\n            \r\n            <!-- Top Gold Accent Bar -->\r\n            <div class=\"h-1.5 w-full bg-fx-gold\"><\/div>\r\n\r\n            <div class=\"p-6 sm:p-10\">\r\n                \r\n                <div class=\"grid grid-cols-1 gap-6 sm:grid-cols-2 mb-8\">\r\n                    \r\n                    <!-- Account Balance Input (Elementor Canvas Fix: Absolute Positioning prevents input breaking) -->\r\n                    <div class=\"col-span-1 sm:col-span-2\">\r\n                        <label for=\"accountBalance\" class=\"block text-sm font-semibold text-gray-300 mb-1.5 uppercase tracking-wide\">\r\n                            Account Balance ($)\r\n                        <\/label>\r\n                        <div class=\"relative bg-gray-800 border border-gray-700 rounded-lg overflow-hidden transition-all focus-within:border-fx-gold focus-within:ring-1 focus-within:ring-fx-gold\">\r\n                            <div class=\"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none\">\r\n                                <span class=\"text-gray-500 font-bold\">$<\/span>\r\n                            <\/div>\r\n                            <!-- Added pl-10 (padding-left) to force the cursor and text away from the absolute dollar sign -->\r\n                            <input type=\"number\" id=\"accountBalance\" value=\"10000\" min=\"0\" step=\"100\" class=\"block w-full pl-10 pr-4 py-3 bg-transparent text-white font-bold text-lg outline-none border-none placeholder-gray-600 focus:ring-0\" placeholder=\"e.g. 10000\">\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                    <!-- Risk Percentage Input (Elementor Canvas Fix: Absolute Positioning) -->\r\n                    <div>\r\n                        <label for=\"riskPercentage\" class=\"block text-sm font-semibold text-gray-300 mb-1.5 uppercase tracking-wide\">\r\n                            Risk % Per Trade\r\n                        <\/label>\r\n                        <div class=\"relative bg-gray-800 border border-gray-700 rounded-lg overflow-hidden transition-all focus-within:border-fx-gold focus-within:ring-1 focus-within:ring-fx-gold\" id=\"riskInputWrapper\">\r\n                            <!-- Added pr-10 (padding-right) to force the cursor and text away from the absolute percent sign -->\r\n                            <input type=\"number\" id=\"riskPercentage\" value=\"1.0\" min=\"0.1\" max=\"5.0\" step=\"0.1\" class=\"block w-full pr-10 pl-4 py-3 bg-transparent text-white font-bold text-lg outline-none border-none text-center focus:ring-0\" placeholder=\"1.0\">\r\n                            <div class=\"absolute inset-y-0 right-0 pr-4 flex items-center pointer-events-none\">\r\n                                <span class=\"text-fx-gold font-bold\">%<\/span>\r\n                            <\/div>\r\n                        <\/div>\r\n                        <p id=\"riskWarning\" class=\"text-xs text-red-400 mt-2 hidden\">\r\n                            \u26a0\ufe0f Exceeding 1.5% violates institutional preservation protocols.\r\n                        <\/p>\r\n                    <\/div>\r\n\r\n                    <!-- Stop Loss Input -->\r\n                    <div>\r\n                        <label for=\"stopLossPips\" class=\"block text-sm font-semibold text-gray-300 mb-1.5 uppercase tracking-wide\">\r\n                            Stop Loss (Pips)\r\n                        <\/label>\r\n                        <div class=\"relative bg-gray-800 border border-gray-700 rounded-lg overflow-hidden transition-all focus-within:border-fx-gold focus-within:ring-1 focus-within:ring-fx-gold\">\r\n                            <input type=\"number\" id=\"stopLossPips\" value=\"20\" min=\"1\" step=\"0.5\" class=\"block w-full px-4 py-3 bg-transparent text-white font-bold text-lg outline-none border-none text-center focus:ring-0\" placeholder=\"e.g. 20\">\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                    <!-- Pip Value per Standard Lot (Elementor Canvas Fix: Absolute Positioning) -->\r\n                    <div class=\"col-span-1 sm:col-span-2 bg-gray-800\/50 p-4 rounded-lg border border-gray-800\">\r\n                        <label for=\"pipValue\" class=\"flex justify-between items-center text-sm font-semibold text-gray-400 mb-1.5\">\r\n                            <span class=\"uppercase tracking-wide\">Pip Value per Standard Lot ($)<\/span>\r\n                            <span class=\"text-xs font-normal opacity-70\">Default: $10 (Standard for most USD pairs)<\/span>\r\n                        <\/label>\r\n                        <div class=\"relative bg-gray-900 border border-gray-700 rounded overflow-hidden transition-all focus-within:border-fx-gold focus-within:ring-1 focus-within:ring-fx-gold\">\r\n                            <div class=\"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none\">\r\n                                <span class=\"text-gray-500 font-bold\">$<\/span>\r\n                            <\/div>\r\n                            <!-- Added pl-10 (padding-left) to force the cursor and text away from the absolute dollar sign -->\r\n                            <input type=\"number\" id=\"pipValue\" value=\"10\" min=\"0.1\" step=\"0.1\" class=\"block w-full pl-10 pr-4 py-2 bg-transparent text-gray-300 font-medium outline-none border-none focus:ring-0\" placeholder=\"10\">\r\n                        <\/div>\r\n                    <\/div>\r\n\r\n                <\/div>\r\n\r\n                <div class=\"mt-8 pt-8 border-t border-gray-800\">\r\n                    <h3 class=\"text-center text-sm font-bold text-fx-gold uppercase tracking-widest mb-6\">\r\n                        Institutional Execution Parameters\r\n                    <\/h3>\r\n                    \r\n                    <div class=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\r\n                        \r\n                        <!-- Maximum Capital at Risk -->\r\n                        <div class=\"bg-gray-800 rounded-xl p-5 border border-gray-700 flex flex-col items-center justify-center\">\r\n                            <span class=\"text-xs text-gray-400 uppercase tracking-wider mb-1\">Max Capital at Risk<\/span>\r\n                            <div class=\"text-3xl font-bold text-red-400 font-serif\" id=\"outputRiskAmount\">\r\n                                $100.00\r\n                            <\/div>\r\n                        <\/div>\r\n\r\n                        <!-- Exact Lot Size -->\r\n                        <div class=\"bg-fx-light-blue\/10 rounded-xl p-5 border border-fx-light-blue shadow-[inset_0_0_20px_rgba(93,173,226,0.1)] flex flex-col items-center justify-center relative overflow-hidden\">\r\n                            <div class=\"absolute top-0 w-full h-1 bg-fx-light-blue\"><\/div>\r\n                            <span class=\"text-xs text-fx-light-blue uppercase font-bold tracking-wider mb-1\">Mandatory Lot Size<\/span>\r\n                            <div class=\"text-4xl font-bold text-white font-serif\" id=\"outputLotSize\">\r\n                                0.50\r\n                            <\/div>\r\n                            <span class=\"text-xs text-gray-400 mt-1\">Standard Lots<\/span>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n\r\n            <\/div>\r\n            \r\n            <!-- Terminal Lock Visual Footer -->\r\n            <div class=\"bg-gray-950 px-6 py-4 border-t border-gray-800 flex items-center justify-between\">\r\n                <div class=\"flex items-center text-xs font-mono text-gray-500\">\r\n                    <span class=\"w-2 h-2 rounded-full bg-green-500 mr-2 animate-pulse\"><\/span>\r\n                    SYSTEM ACTIVE\r\n                <\/div>\r\n                <div class=\"text-xs font-mono text-gray-500\">\r\n                    PROTOCOL 72-HOUR\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <p class=\"text-center text-xs text-gray-600 mt-6 font-medium uppercase tracking-widest\">\r\n            &copy; 2026 FXAthena | Strictly Confidential Tool\r\n        <\/p>\r\n    <\/main>\r\n\r\n    <script>\r\n        document.addEventListener('DOMContentLoaded', () => {\r\n            \r\n            \/\/ ==========================================\r\n            \/\/ 1. CALCULATOR LOGIC\r\n            \/\/ ==========================================\r\n            const elBalance = document.getElementById('accountBalance');\r\n            const elRisk = document.getElementById('riskPercentage');\r\n            const elStopLoss = document.getElementById('stopLossPips');\r\n            const elPipValue = document.getElementById('pipValue');\r\n            const elRiskWrapper = document.getElementById('riskInputWrapper');\r\n            \r\n            const elOutputRisk = document.getElementById('outputRiskAmount');\r\n            const elOutputLot = document.getElementById('outputLotSize');\r\n            const elWarning = document.getElementById('riskWarning');\r\n\r\n            function calculateRisk() {\r\n                const balance = parseFloat(elBalance.value) || 0;\r\n                const riskPct = parseFloat(elRisk.value) || 0;\r\n                const stopLoss = parseFloat(elStopLoss.value) || 0;\r\n                const pipValue = parseFloat(elPipValue.value) || 0;\r\n\r\n                \/\/ Institutional Check\r\n                if (riskPct > 1.5) {\r\n                    elWarning.classList.remove('hidden');\r\n                    elRiskWrapper.classList.add('border-red-500');\r\n                    elRiskWrapper.classList.remove('border-gray-700', 'focus-within:border-fx-gold');\r\n                    elRisk.classList.add('text-red-400');\r\n                    elRisk.classList.remove('text-white');\r\n                } else {\r\n                    elWarning.classList.add('hidden');\r\n                    elRiskWrapper.classList.remove('border-red-500');\r\n                    elRiskWrapper.classList.add('border-gray-700', 'focus-within:border-fx-gold');\r\n                    elRisk.classList.remove('text-red-400');\r\n                    elRisk.classList.add('text-white');\r\n                }\r\n\r\n                \/\/ Execution\r\n                if (balance > 0 && riskPct > 0 && stopLoss > 0 && pipValue > 0) {\r\n                    const riskAmount = balance * (riskPct \/ 100);\r\n                    const totalPipValueAtRisk = riskAmount \/ stopLoss;\r\n                    let lotSize = totalPipValueAtRisk \/ pipValue;\r\n\r\n                    lotSize = Math.floor(lotSize * 100) \/ 100;\r\n\r\n                    elOutputRisk.innerText = '$' + riskAmount.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});\r\n                    elOutputLot.innerText = lotSize > 0 ? lotSize.toFixed(2) : '0.00';\r\n                } else {\r\n                    elOutputRisk.innerText = '$0.00';\r\n                    elOutputLot.innerText = '0.00';\r\n                }\r\n            }\r\n\r\n            [elBalance, elRisk, elStopLoss, elPipValue].forEach(input => {\r\n                input.addEventListener('input', calculateRisk);\r\n                input.addEventListener('keyup', calculateRisk);\r\n            });\r\n\r\n            calculateRisk();\r\n\r\n            \/\/ ==========================================\r\n            \/\/ 2. PWA INSTALLATION ARCHITECTURE (SINGLE-FILE)\r\n            \/\/ ==========================================\r\n            \r\n            \/\/ Generate Manifest Blob Dynamically\r\n            const manifestData = {\r\n                \"name\": \"The 1% Dynamic Risk Calculator\",\r\n                \"short_name\": \"1% Matrix\",\r\n                \"description\": \"The unfeeling, clinical defense sizing system by FXAthena.\",\r\n                \"start_url\": window.location.href,\r\n                \"display\": \"standalone\",\r\n                \"background_color\": \"#0f172a\",\r\n                \"theme_color\": \"#0f172a\",\r\n                \"icons\": [\r\n                    {\r\n                        \"src\": \"https:\/\/fxathena.online\/wp-content\/uploads\/2026\/08\/001-2.jpeg\",\r\n                        \"sizes\": \"192x192\",\r\n                        \"type\": \"image\/jpeg\"\r\n                    },\r\n                    {\r\n                        \"src\": \"https:\/\/fxathena.online\/wp-content\/uploads\/2026\/08\/001-2.jpeg\",\r\n                        \"sizes\": \"512x512\",\r\n                        \"type\": \"image\/jpeg\"\r\n                    }\r\n                ]\r\n            };\r\n            \r\n            const manifestBlob = new Blob([JSON.stringify(manifestData)], { type: 'application\/json' });\r\n            const manifestURL = URL.createObjectURL(manifestBlob);\r\n            document.getElementById('manifest-link').setAttribute('href', manifestURL);\r\n\r\n            \/\/ Dynamic Service Worker Registration (Blob)\r\n            const swCode = `\r\n                const CACHE_NAME = 'fxathena-pwa-v2';\r\n                self.addEventListener('install', event => {\r\n                    self.skipWaiting();\r\n                });\r\n                self.addEventListener('activate', event => {\r\n                    event.waitUntil(self.clients.claim());\r\n                });\r\n                self.addEventListener('fetch', event => {\r\n                    \/\/ Network-first approach for single-file operation\r\n                    event.respondWith(\r\n                        fetch(event.request).catch(() => {\r\n                            return new Response('FXAthena Protocol Offline. Connect to network to refresh tools.', {\r\n                                headers: { 'Content-Type': 'text\/plain' }\r\n                            });\r\n                        })\r\n                    );\r\n                });\r\n            `;\r\n            \r\n            const swBlob = new Blob([swCode], { type: 'application\/javascript' });\r\n            const swURL = URL.createObjectURL(swBlob);\r\n\r\n            if ('serviceWorker' in navigator) {\r\n                navigator.serviceWorker.register(swURL)\r\n                    .then(reg => console.log('PWA Service Worker connected.'))\r\n                    .catch(err => console.log('SW Note: External hosting may restrict blob workers. Application will still function normally.'));\r\n            }\r\n\r\n            \/\/ ==========================================\r\n            \/\/ 3. INSTALLATION MODAL LOGIC\r\n            \/\/ ==========================================\r\n            let deferredPrompt;\r\n            const installBtnContainer = document.getElementById('installBtnContainer');\r\n            const installBtn = document.getElementById('topInstallBtn');\r\n\r\n            \/\/ Capture native install prompt\r\n            window.addEventListener('beforeinstallprompt', (e) => {\r\n                e.preventDefault();\r\n                deferredPrompt = e;\r\n            });\r\n\r\n            \/\/ Trigger Modal on Button Click\r\n            installBtn.addEventListener('click', () => {\r\n                \/\/ Create overlay modal\r\n                const modal = document.createElement('div');\r\n                modal.className = \"fixed inset-0 z-[60] flex items-center justify-center bg-black\/80 px-4 backdrop-blur-sm fade-in\";\r\n                modal.innerHTML = `\r\n                    <div class=\"bg-gray-900 border border-fx-gold p-6 rounded-xl max-w-sm w-full shadow-gold-glow relative\">\r\n                        <h3 class=\"text-fx-gold font-bold text-xl mb-4 text-center tracking-tight\">Install Protocol App<\/h3>\r\n                        \r\n                        <div class=\"space-y-4 text-gray-300 text-sm mb-6 leading-relaxed\">\r\n                            <div class=\"bg-gray-800 p-4 rounded-lg border border-gray-700\">\r\n                                <strong class=\"text-white flex items-center gap-2 mb-2\">\r\n                                    <svg class=\"w-4 h-4 text-fx-light-blue\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z\"><\/path><\/svg>\r\n                                    iOS Safari\r\n                                <\/strong>\r\n                                Tap the <strong>Share<\/strong> icon at the bottom of your screen, scroll down, and select <span class=\"text-fx-gold\">Add to Home Screen<\/span>.\r\n                            <\/div>\r\n                            \r\n                            <div class=\"bg-gray-800 p-4 rounded-lg border border-gray-700\">\r\n                                <strong class=\"text-white flex items-center gap-2 mb-2\">\r\n                                    <svg class=\"w-4 h-4 text-green-400\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9\"><\/path><\/svg>\r\n                                    Chrome \/ Android\r\n                                <\/strong>\r\n                                Tap the <strong>Menu<\/strong> (3 dots) top right, and select <span class=\"text-fx-gold\">Install App<\/span> or Add to Home Screen.\r\n                            <\/div>\r\n                        <\/div>\r\n                        \r\n                        <button id=\"acknowledgeBtn\" class=\"w-full bg-fx-gold hover:bg-fx-gold-dark text-gray-900 font-extrabold py-3 rounded-lg transition-colors text-base shadow-md\">\r\n                            Acknowledge\r\n                        <\/button>\r\n                    <\/div>\r\n                `;\r\n                \r\n                document.body.appendChild(modal);\r\n\r\n                \/\/ Handle Acknowledge Action\r\n                document.getElementById('acknowledgeBtn').addEventListener('click', async () => {\r\n                    modal.remove(); \/\/ Remove instruction modal\r\n                    \r\n                    \/\/ If native prompt is available (Chrome\/Android), trigger it immediately after they acknowledge\r\n                    if (deferredPrompt) {\r\n                        deferredPrompt.prompt();\r\n                        const { outcome } = await deferredPrompt.userChoice;\r\n                        console.log('User install choice:', outcome);\r\n                        deferredPrompt = null;\r\n                        \r\n                        \/\/ Hide the top button if they successfully installed it\r\n                        if(outcome === 'accepted') {\r\n                            installBtnContainer.classList.add('hidden');\r\n                        }\r\n                    }\r\n                });\r\n            });\r\n\r\n            \/\/ Cleanup if installed natively\r\n            window.addEventListener('appinstalled', () => {\r\n                installBtnContainer.classList.add('hidden');\r\n                deferredPrompt = null;\r\n                console.log('FXAthena Calculator App successfully installed to device.');\r\n            });\r\n        });\r\n    <\/script>\r\n<\/body>\r\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-656ce46 e-flex e-con-boxed e-con e-parent\" data-id=\"656ce46\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The 1% Dynamic Risk Calculator (Ultra-Remastered Edition) | FXAthena Install Protocol App FXAthena Institutional Defense Tool The 1% Dynamic Risk Sizing Matrix Input your parameters below. Decouple your lot size from your emotional confidence. Execute the unfeeling math. Account Balance ($) $ Risk % Per Trade % \u26a0\ufe0f Exceeding 1.5% violates institutional preservation protocols. Stop [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-69","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/pages\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fxathena.online\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=69"}],"version-history":[{"count":5,"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/pages\/69\/revisions"}],"predecessor-version":[{"id":92,"href":"https:\/\/fxathena.online\/index.php?rest_route=\/wp\/v2\/pages\/69\/revisions\/92"}],"wp:attachment":[{"href":"https:\/\/fxathena.online\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}