/* Shown until the app has started (Avalonia adds splash-close to .avalonia-splash once it renders). */
html, body { margin: 0; height: 100%; overflow: hidden; }
#out { height: 100%; }
.avalonia-splash {
    position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px;
    justify-content: center; align-items: center; pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    background: #FAFAFA; color: #3F3F46; /* 10.0:1 */
}
.avalonia-splash p { margin: 0; font-size: 15px; }
@media (prefers-color-scheme: dark) {
    .avalonia-splash { background: #0B0B0D; color: #D4D4D8; /* 13.3:1 */ }
}
.avalonia-splash.splash-close { transition: opacity 200ms; opacity: 0; }

/* In-browser QR scanner (main.js scanQr). White on black: 21:1. */
.qr-overlay {
    position: fixed; inset: 0; z-index: 10000; background: #000; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
.qr-overlay video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qr-overlay p { position: relative; margin: max(24px, env(safe-area-inset-top)) 16px 0; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.72); font-size: 17px; font-weight: 600; }
.qr-overlay button {
    position: relative; margin: 0 0 max(28px, env(safe-area-inset-bottom)); padding: 12px 36px; border-radius: 999px;
    border: 0; background: #fff; color: #18181B; font-size: 17px; font-weight: 600;
}
