html[data-access="locked"] body > :not([data-public]):not(#accessGate):not(#authModal):not(script):not(noscript) { display: none !important; }
#accessGate { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; background: #091426; color: #f3f7fc; font-family: system-ui, sans-serif; }
#accessGate[hidden] { display: none; }
.access-card { width: min(100%, 460px); padding: 36px; box-sizing: border-box; background: #12223b; border: 1px solid #29405c; border-radius: 20px; }
.access-card h1 { font-size: 32px; line-height: 1.2; }
.access-card p { color: #c6d2e1; line-height: 1.6; }
.access-card button { background: #63e5a4; color: #071b14; padding: 14px 20px; border: 0; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; }
.access-card button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.access-card button:disabled { opacity: .6; cursor: wait; }

.public-home #accessGate { min-height: auto; padding: 40px 24px; }
.public-home .access-card { width: min(100%, 1100px); }
.public-overview { max-width: 1100px; margin: 32px auto; padding: 0 24px; color: #e5edf7; line-height: 1.7; }
.public-overview h2 { margin-top: 32px; }
.public-overview a { color: #63e5a4; }
.public-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.public-grid article { padding: 24px; border: 1px solid #29405c; border-radius: 16px; background: #12223b; }
html[data-access="open"] .public-overview { display: none; }
@media (max-width: 650px) { .public-grid { grid-template-columns: 1fr; } }
