/* Loaded before JavaScript; shared by the static shell and the React loader.
   Explicit WebKit prefixes keep the first screen centered on NetCast too. */
/* Browsers/WebViews can focus the document or the main-content fallback
   during startup and navigation. Those containers are not interactive
   controls; suppress their native page-sized ring before the app CSS loads.
   Deliberately use :focus, not :focus-within, to retain child focus rings. */
html:focus,
body:focus,
#root:focus,
#content:focus,
.cineclub-loader:focus {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}
.cineclub-loader {
  box-sizing: border-box; min-height: 100vh; padding: 24px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  background: #0b0b0d; color: #b8b8c0; font: 14px/1.5 'Segoe UI', Arial, sans-serif;
}
#cineclub-startup { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; }
.cineclub-loader-content { text-align: center; }
.cineclub-loader-content > img { display: block; width: 64px; height: 64px; margin: 0 auto 28px; }
.cineclub-loader-content > p { margin: 20px 0 0; font: inherit; color: #b8b8c0; }
.cineclub-loader-content > pre:empty { display: none; }
.cineclub-loader-spinner {
  box-sizing: border-box; display: block; width: 30px; height: 30px; margin: 0 auto;
  border: 3px solid rgba(255,255,255,.1); border-top-color: #38bdf8; border-radius: 50%;
  -webkit-animation: cineclub-loader-spin .85s linear infinite; animation: cineclub-loader-spin .85s linear infinite;
}
@-webkit-keyframes cineclub-loader-spin { to { -webkit-transform: rotate(360deg); } }
@keyframes cineclub-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cineclub-loader-spinner { -webkit-animation: none; animation: none; } }
