/* Static initial-load spinner — shown inside #root before the app bundle
   has downloaded/parsed and React has mounted. createRoot().render() wipes
   #root's contents on first render, so this markup removes itself. */
#initial-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

[data-theme="dark"] #initial-loader {
  background: #14141c;
}

#initial-loader .spin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.1);
  border-top-color: #e5483f;
  animation: initial-loader-spin 0.72s linear infinite;
}

[data-theme="dark"] #initial-loader .spin {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #e5483f;
}

@keyframes initial-loader-spin {
  to { transform: rotate(360deg); }
}
