html.pmdl-access-pending body > :not(#pmdl-access-gate) { visibility:hidden !important; pointer-events:none !important; }
/* Main panel staging candidate: scoped by JS strictly to /start.php. */
html.pmdl-access-blocked body > :not(#pmdl-access-gate) { visibility: hidden !important; pointer-events:none !important; }
html.pmdl-access-blocked #pmdl-access-gate { visibility: visible !important; pointer-events:auto !important; }
#pmdl-access-gate, #pmdl-access-gate * { box-sizing: border-box; }
#pmdl-access-gate {
 position: fixed; inset: 0; z-index: 2147483000; overflow-y: auto; overscroll-behavior: contain;
 display: grid; place-items: center; padding: 20px; min-height: 100dvh;
 color: #eef5ff; background: radial-gradient(circle at 50% 0%, #123240 0%, #0b1120 60%);
 font: 15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.pmdl-gate-card { width: min(100%, 510px); padding: clamp(20px,5vw,36px); background: #131e31;
 border: 1px solid #2e425c; border-radius: 20px; box-shadow: 0 20px 80px rgba(0,0,0,.4); text-align:center; }
.pmdl-gate-icon { display:grid; place-items:center; margin:0 auto 16px; border-radius:99px;
 width:62px; height:62px; font-size:34px; font-weight:800; background:#48212b; color:#ff697c; }
.pmdl-gate-eyebrow { font-size:11px; font-weight:800; letter-spacing:.15em; color:#61ddd4; }
.pmdl-gate-card h1 { color:#fff; font-size:clamp(24px,4.5vw,30px); margin:8px 0 12px; line-height:1.15; }
.pmdl-gate-card p { color:#c6d4e7; margin: 0 0 14px; }
.pmdl-gate-message { background:#1b2b42; text-align:left; padding:16px; border-radius:12px; margin:20px 0; border:1px solid #334a69; }
.pmdl-gate-message strong { color:#fff; }
.pmdl-gate-message p { margin:8px 0; }
.pmdl-gate-message small { color:#91a7c6; font-size:11px; }
.pmdl-gate-status { min-height:24px; font-size:13px; }
.pmdl-gate-recheck { width:100%; border:0; border-radius:12px; padding:14px 22px; background:#2dc4bb;
 color:#071c28; font:inherit; font-weight:800; cursor:pointer; }
.pmdl-gate-recheck:disabled { opacity:.55; cursor:wait; }
.pmdl-gate-recheck:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.pmdl-gate-footer { margin:16px 0 0!important; font-size:12px; color:#91a7c6!important; }

/* SUPER FINAL: prevent inherited heading line-height/overlap in notice */
#pmdl-access-gate .pmdl-gate-card h1 { position:static!important; transform:none!important; clear:both; display:block!important; white-space:normal!important; letter-spacing:normal!important; line-height:1.18!important; overflow-wrap:break-word!important; max-width:100%!important; }
#pmdl-access-gate { isolation:isolate; }
