/* The demo's bar and splash, painted before the app's own styles and scripts arrive (the app replaces the splash). */
html,body{margin:0;height:100%;background:#f6f6fb}
:root[data-theme="dark"],:root[data-theme="dark"] body{background:#0f0e1a}
.demo-bar{display:flex;align-items:center;gap:14px;height:48px;padding:0 16px;box-sizing:border-box;border-bottom:1px solid #e5e4f0;background:#fff;color:#1c1a33;font:13px/1.4 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
:root[data-theme="dark"] .demo-bar{background:#171628;border-color:#2c2a48;color:#eeedf8}
.demo-splash{position:fixed;inset:48px 0 0;display:grid;place-items:center;align-content:center;gap:22px;background:#f6f6fb;color:#57546f;font:500 14px/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.demo-splash img{width:200px;height:auto;animation:demo-splash-breathe 1.8s ease-in-out infinite}
.demo-splash .splash-dark{display:none}
.demo-splash-track{width:200px;height:3px;border-radius:3px;background:#e5e4f0;overflow:hidden}
.demo-splash-track span{display:block;width:40%;height:100%;border-radius:3px;background:#4a3be0;animation:demo-splash-slide 1.15s ease-in-out infinite}
.demo-splash p{margin:0}
:root[data-theme="dark"] .demo-splash{background:#0f0e1a;color:#b6b3cf}
:root[data-theme="dark"] .demo-splash .splash-light{display:none}
:root[data-theme="dark"] .demo-splash .splash-dark{display:block}
:root[data-theme="dark"] .demo-splash-track{background:#2c2a48}
:root[data-theme="dark"] .demo-splash-track span{background:#a9a1ff}
@keyframes demo-splash-slide{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
@keyframes demo-splash-breathe{0%,100%{opacity:1}50%{opacity:.72}}
@media(prefers-reduced-motion:reduce){.demo-splash img,.demo-splash-track span{animation:none}.demo-splash-track span{width:100%}}
.demo-splash .splash-icon{width:64px}
