/* Inline this critical gate in the host head BEFORE any legacy content can paint. */
html:is(.lc-v3-booting,.lc-v3-boot-error){background:#050b18!important}
html:is(.lc-v3-booting,.lc-v3-boot-error) body>:not(#lc-v3-boot-screen):not(#lc-v3-load-error):not(#lc-load-status){opacity:0!important;pointer-events:none!important}
html:is(.lc-v3-booting,.lc-v3-boot-error) body::before{content:'LINECLUB.RU\A Подключаем вселенную';white-space:pre;position:fixed;inset:0;z-index:2147483645;display:flex;align-items:center;justify-content:center;padding-top:145px;box-sizing:border-box;text-align:center;font:12px/2.3 ui-monospace,monospace;letter-spacing:3px;color:#c2dcea;background:radial-gradient(ellipse at 45% 45%,#15364b55,transparent 48%),radial-gradient(ellipse at 80% 20%,#44345f38,transparent 45%),#050b18}
html:is(.lc-v3-booting,.lc-v3-boot-error) body::after{content:'';position:fixed;left:calc(50% - 42px);top:calc(50% - 60px);width:84px;height:84px;box-sizing:border-box;border:1px solid #87bac144;border-top-color:#b8e5df;border-bottom-color:#9c94ce;border-radius:50%;background:radial-gradient(circle,#e6fff2 0 2%,#95d5cf55 4%,transparent 35%);box-shadow:0 0 35px #7faebd22,inset 0 0 22px #8dcbd51c;z-index:2147483646;animation:lc-boot-orbit 4s linear infinite;pointer-events:none}
html.lc-v3-boot-error body::before{content:'LINECLUB.RU\A Связь со вселенной прервана'}
#lc-v3-load-error,#lc-load-status{z-index:2147483647!important}
#lc-login-accordion:not(.is-open) .login-form_main{visibility:hidden!important;pointer-events:none!important}
#lc-login-accordion.is-open .login-form_main{visibility:visible;pointer-events:auto}
@keyframes lc-boot-orbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html:is(.lc-v3-booting,.lc-v3-boot-error) body::after{animation:none}}

/* A compositor-only luminous core: no bitmap download, filters or layout animation. */
html:is(.lc-v3-booting,.lc-v3-boot-error) body::before{animation:lc-boot-breathe 3.6s ease-in-out infinite}
@keyframes lc-boot-breathe{0%,100%{opacity:1}50%{opacity:.82}}
@media(prefers-reduced-motion:reduce){html:is(.lc-v3-booting,.lc-v3-boot-error) body::before{animation:none}}
