/* The first screen of the app, shown from the first paint until the app has started. Standalone: it must not wait for
   the app's own stylesheet. Colours follow the brand (--blue) and the light or dark setting of the device. */
.orsq-splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #ffffff;
  color: #161616;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.orsq-splash__mark {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000000;
}
.orsq-splash__bar {
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: #e0e0e0;
  overflow: hidden;
  position: relative;
}
.orsq-splash__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--blue, #0f62fe);
  border-radius: 3px;
  animation: orsq-splash-slide 1.1s ease-in-out infinite;
}
.orsq-splash__note {
  font-size: 14px;
  color: #525252;
  opacity: 0;
  animation: orsq-splash-note 0s 6s forwards;
}
@keyframes orsq-splash-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}
@keyframes orsq-splash-note {
  to { opacity: 1; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .orsq-splash { background: #161616; color: #f4f4f4; }
  :root:not([data-theme="light"]) .orsq-splash__bar { background: #393939; }
  :root:not([data-theme="light"]) .orsq-splash__mark { color: #ffffff; }
  :root:not([data-theme="light"]) .orsq-splash__bar::after { background: #78a9ff; }
  :root:not([data-theme="light"]) .orsq-splash__note { color: #c6c6c6; }
}
:root[data-theme="dark"] .orsq-splash { background: #161616; color: #f4f4f4; }
:root[data-theme="dark"] .orsq-splash__bar { background: #393939; }
:root[data-theme="dark"] .orsq-splash__mark { color: #ffffff; }
:root[data-theme="dark"] .orsq-splash__bar::after { background: #78a9ff; }
:root[data-theme="dark"] .orsq-splash__note { color: #c6c6c6; }
@media (prefers-reduced-motion: reduce) {
  .orsq-splash__bar::after { animation: none; width: 100%; opacity: 0.4; }
}
