
#loading-overlay{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background: rgba(10,12,20,0.94);
  color:#cfe8ff; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  transition: opacity .35s ease, visibility .35s ease;
}
#loading-overlay .box{
  width:min(680px,92vw);
  padding:28px 24px; border-radius:16px;
  background: rgba(20,24,36,0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
#loading-overlay .title{
  font-size:18px; letter-spacing:.4px; margin-bottom:8px; color:#e9f5ff;
}
#loading-overlay .subtitle{
  font-size:13px; opacity:.82; margin-bottom:16px;
}
#loading-overlay .bar{
  height:10px; background: rgba(255,255,255,0.08); border-radius:999px; overflow:hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}
#loading-overlay .fill{
  width:0%; height:100%; border-radius:999px;
  background: linear-gradient(90deg, #67b7ff, #15f1ff);
  transition: width .18s ease;
}
#loading-overlay .foot{
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; margin-top:10px; color:#bcd1ff; opacity:.9;
}
#loading-overlay .spin{
  width:14px; height:14px; border-radius:50%;
  border:2px solid rgba(255,255,255,0.25);
  border-top-color:#9ddcff; animation:spin 1s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }
#loading-overlay.done{ opacity:0; visibility:hidden; }
