html.gate-locked body{visibility:hidden}
html.gate-locked body.gate-ready{visibility:visible}
#gate{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 20%,#fdf8ef,#f0e6d6);font-family:var(--font,system-ui);direction:rtl}
#gate .gate-card{width:min(420px,100%);background:#fffdf8;border:1px solid rgba(146,96,44,.22);border-radius:20px;padding:26px 22px;box-shadow:0 18px 50px rgba(80,52,24,.14);text-align:center}
#gate h1{margin:0 0 6px;font-size:1.25rem;color:#3b2a1c}
#gate p{margin:0 0 16px;font-size:.9rem;color:#6b5647;line-height:1.7}
#gate input{width:100%;box-sizing:border-box;padding:12px 14px;margin-bottom:10px;border:1px solid rgba(146,96,44,.3);border-radius:12px;font:inherit;font-size:1rem;background:#fff;color:#3b2a1c;text-align:center}
#gate button{width:100%;padding:12px;border:0;border-radius:12px;background:#3f7d6e;color:#fff;font:inherit;font-size:1rem;font-weight:600;cursor:pointer}
#gate button:disabled{opacity:.6;cursor:default}
#gate .gate-msg{margin-top:12px;font-size:.85rem;min-height:1.2em}
#gate .gate-msg.err{color:#b02a2a}
#gate .gate-msg.ok{color:#2f7d63}
