#bonya-app-shell { display: contents; }
html[data-account-state=loading] #bonya-app-shell,
html[data-account-state=error] #bonya-app-shell { visibility: hidden; }
.account-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0, 5, 12, .25); }
.account-gate[hidden], #account-controls[hidden] { display: none; }
#account-login-link[hidden] { display: none; }
.account-gate-card { width: min(440px, 100%); padding: 28px; border-radius: 24px; text-align: center; }
.account-gate-card img { display: block; margin: 0 auto 18px; }
.account-gate-card h2 { font-size: 27px; font-weight: 500; }
.account-gate-card p { color: #9db8cc; font-size: 14px; line-height: 1.7; margin: 14px 0 18px; }
.account-gate-card a { display: block; min-height: 44px; padding-top: 12px; color: #add6f1; font-size: 14px; }
.account-gate-card button { font-size: 14px; }
.account-email { font-size: 14px; color: #b9d4e7; overflow-wrap: anywhere; margin-top: 10px; }
.account-sync-status { color: #8eacc1; font-size: 13px; line-height: 1.65; margin: 10px 0; }
.account-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.account-buttons button { flex: 1 1 160px; min-height: 44px; font-size: 14px; }
.account-buttons button[hidden] { display: none; }
.account-conflict-summary { font-size: 15px; color: #bad4e7; line-height: 1.7; margin: 16px 0; }
