/* EURUSD Journal v1.0 — pierwsza informacja o ryzyku przed panelem zgód */
html.myfx-risk-gate-pending,
html.myfx-risk-gate-pending body{overflow:hidden}
.myfx-risk-gate{position:fixed;inset:0;z-index:10020;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(1,7,14,.86);backdrop-filter:blur(12px)}
.myfx-risk-gate.is-visible{display:flex}
.myfx-risk-gate__box{width:min(820px,100%);max-height:calc(100vh - 36px);overflow:auto;background:linear-gradient(180deg,rgba(23,36,52,.99),rgba(7,13,22,.995));border:1px solid rgba(255,188,72,.38);box-shadow:0 30px 100px rgba(0,0,0,.72);border-radius:24px;padding:24px}
.myfx-risk-gate__eyebrow{margin:0 0 8px;color:#ffc76f;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.myfx-risk-gate__box h2{margin:0;color:#f5f9ff;font-size:clamp(24px,4vw,34px);line-height:1.12}
.myfx-risk-gate__content{margin-top:16px;color:#c4d3e2;line-height:1.65}
.myfx-risk-gate__content p{margin:10px 0}
.myfx-risk-gate__content strong{color:#fff}
.myfx-risk-gate__actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.myfx-risk-gate__actions .btn{min-height:44px}
.myfx-risk-gate__link{color:#cfe6ff;text-decoration:none;font-weight:700}
.myfx-risk-gate__link:hover{text-decoration:underline;color:#fff}
.myfx-risk-gate__small{margin:14px 0 0;color:#8fa4ba;font-size:12px;line-height:1.5}
html.myfx-risk-gate-pending .myfx-consent-fab,
html.myfx-risk-gate-pending .myfx-consent{display:none!important}
@media(max-width:640px){.myfx-risk-gate{padding:10px}.myfx-risk-gate__box{max-height:calc(100vh - 20px);padding:18px;border-radius:18px}.myfx-risk-gate__actions .btn{width:100%;justify-content:center}.myfx-risk-gate__link{width:100%;text-align:center}}
/* v1.1 MOBILE SAFE VIEWPORT 2026-08-07 */
@media(max-width:640px){
  .myfx-risk-gate{
    align-items:flex-start;
    padding-top:max(14px,env(safe-area-inset-top));
    padding-right:10px;
    padding-bottom:max(10px,env(safe-area-inset-bottom));
    padding-left:10px;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .myfx-risk-gate__box{
    max-height:calc(100vh - 30px);
    max-height:calc(100dvh - 30px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
}
