:root { color-scheme: light dark; font-family: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, sans-serif; }
* { box-sizing: border-box; }
html, body, #out { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #f3f3f3; color: #323130; overscroll-behavior: none; }
#out { position: fixed; inset: 0; height: 100dvh; touch-action: none; }
.ferroui-splash { position: absolute; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #f3f3f3; }
.ferroui-splash h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.5px; }
.ferroui-splash p { margin: 0; font-size: 14px; color: #605e5c; max-width: 420px; text-align: center; padding: 0 20px; line-height: 1.5; }
.ferroui-splash.splash-close { display: none; }
.loading-line { width: 100px; height: 3px; overflow: hidden; border-radius: 4px; background: #dbe5f6; }
.loading-line::after { content: ""; display: block; width: 45%; height: 100%; border-radius: inherit; background: #2564cf; animation: loading 1.3s ease-in-out infinite alternate; }
@keyframes loading { from { transform: translateX(-50%); } to { transform: translateX(180%); } }
@media (prefers-reduced-motion: reduce) { .loading-line::after { animation: none; width: 100%; } }
@media (prefers-color-scheme: dark) { body, .ferroui-splash { background: #202020; color: #f3f3f3; } .ferroui-splash p { color: #b7b7b7; } }
body[data-theme="light"], body[data-theme="light"] .ferroui-splash { background: #f3f3f3; color: #323130; }
body[data-theme="dark"], body[data-theme="dark"] .ferroui-splash { background: #202020; color: #f3f3f3; }
