html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; background: #f3f3f3; }
#out { height: 100%; width: 100%; }
.po-splash {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: #1f1f1f; background: #f3f3f3;
}
.po-mark {
    width: 64px; height: 64px; border-radius: 12px; background: #22863a; color: #fff; font-weight: 700; font-size: 26px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(34, 134, 58, .3);
}
.po-splash h1 { font-size: 22px; font-weight: 600; margin: 18px 0 6px; }
.po-splash p { color: #616161; margin: 0 0 18px; font-size: 14px; }
.po-bar { width: 220px; height: 4px; background: #dcdcdc; border-radius: 2px; overflow: hidden; }
.po-bar div { width: 40%; height: 100%; background: #22863a; animation: po-slide 1.2s ease-in-out infinite; }
@keyframes po-slide { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.po-splash { pointer-events: none; z-index: 10; }
/* Avalonia.Browser adds splash-close once the app's first frame is drawn. */
.avalonia-splash.splash-close { display: none; }
