/* First paint without waiting for JavaScript: page colour and the turning W tile. A file instead of
   an inline <style>, so the Content-Security-Policy (nginx) only has to allow same-origin styles. */
html { background: #f4f2ec; }
html[data-theme='dark'] { background: #111210; }
#root:empty { min-height: 100vh; display: grid; place-items: center; }
#root:empty::before {
  content: 'W'; width: 40px; height: 40px; border-radius: 12px; background: #fc5200; color: #170a03;
  display: grid; place-items: center; font: 800 20px/1 system-ui, sans-serif;
  animation: boot 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes boot { 50% { transform: perspective(200px) rotateY(180deg) scale(0.86); } 100% { transform: perspective(200px) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { #root:empty::before { animation: none; } }
