/* Pantalla de carga de StarConexión: sobria, la misma en todo el panel */
.sc-load { position:fixed; inset:0; z-index:200; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:26px; background:#0a0a0a; transition:opacity .45s ease, visibility .45s; animation:sc-failsafe 0s 9s forwards; }
.sc-load.done { opacity:0; visibility:hidden; pointer-events:none; }
.sc-mark { position:relative; width:min(190px, 54vw); aspect-ratio:976 / 241; animation:sc-in .7s ease both; }
.sc-mark img { display:block; width:100%; height:100%; }
/* Un reflejo suave recorre solo la forma del logo */
.sc-mark i { position:absolute; inset:0; background:linear-gradient(100deg, transparent 35%, #ffffffcc 50%, transparent 65%) no-repeat; background-size:260% 100%; -webkit-mask:url(/logo.png) center / 100% 100% no-repeat; mask:url(/logo.png) center / 100% 100% no-repeat; animation:sc-shine 1.9s .2s ease-in-out infinite; }
.sc-line { position:relative; width:min(120px, 34vw); height:1px; overflow:hidden; background:#ffffff1a; }
.sc-line::after { content:""; position:absolute; top:0; bottom:0; width:45%; background:linear-gradient(90deg, transparent, #ccff00, transparent); animation:sc-slide 1.25s cubic-bezier(.55,.1,.45,.9) infinite; }
.sc-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@keyframes sc-in { from { opacity:0; translate:0 8px; } }
@keyframes sc-shine { from { background-position:160% 0; } to { background-position:-60% 0; } }
@keyframes sc-slide { from { left:-45%; } to { left:100%; } }
/* Si algo falla y el script no la quita, se quita sola */
@keyframes sc-failsafe { to { opacity:0; visibility:hidden; } }
@media (prefers-reduced-motion:reduce) {
  .sc-mark, .sc-mark i, .sc-line::after { animation:none; }
  .sc-mark i { display:none; }
  .sc-line::after { left:28%; }
}
