#ui-version-guard[hidden] { display: none !important; }
#ui-version-guard {
    position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center;
    padding: 24px; overflow-y: auto; background: #f3f5f9; color: #172033;
    font-family: system-ui, sans-serif;
}
.ui-version-card { box-sizing: border-box; width: min(100%, 440px); padding: 32px; border: 1px solid #e2e7ef; border-radius: 24px; background: #fff; box-shadow: 0 16px 60px #1720330c; overflow-wrap: anywhere; }
.ui-version-brand { color: #2563eb; font-size: 14px; font-weight: 750; }
.ui-version-card h1 { font-size: 24px; line-height: 1.25; margin: 20px 0 12px; }
.ui-version-card p { font-size: 15px; line-height: 1.6; color: #536078; }
.ui-version-card button { padding: 12px 20px; border: 0; border-radius: 12px; color: #fff; background: #2563eb; font: inherit; cursor: pointer; transition: transform .15s, opacity .15s; }
.ui-version-card button:hover { transform: translateY(-1px); }
.ui-version-card button:disabled { opacity: .6; cursor: wait; }
.ui-version-card .ui-version-note { font-size: 12px; margin-bottom: 0; }
body.ui-version-blocked { overflow: hidden !important; }
body.ui-version-blocked > :not(#ui-version-guard) { pointer-events: none !important; }
@media (max-width: 480px) { .ui-version-card { padding: 24px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .ui-version-card button { transition: none; } }
