.ltby-startup { display:none; }
.ltby-starting { background:#f4ebdd; }
.ltby-starting body > :not(.ltby-startup) { visibility:hidden; pointer-events:none; }
.ltby-starting .ltby-startup {
  display:flex; position:fixed; inset:0; z-index:2147483000;
  box-sizing:border-box; min-height:100svh; background:#f4ebdd; color:#432f2e;
  align-items:center; justify-content:center; flex-direction:column; text-align:center;
  padding:calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  font-family:'Instrument Sans',system-ui,sans-serif; line-height:1.5;
}
.ltby-startup img { width:80px; height:80px; border-radius:20px; }
.ltby-startup p { max-width:28rem; margin:20px 0 0; font-size:1rem; }
.ltby-startup strong { font-family:'Fraunces',Georgia,serif; font-size:1.7rem; margin-top:20px; font-weight:500; }
.ltby-startup-actions { margin-top:24px; display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap; }
.ltby-startup-actions[hidden] { display:none; }
.ltby-startup button { border:1px solid #432f2e; border-radius:999px; background:#432f2e; color:#feefb8; padding:12px 22px; min-height:44px; font:inherit; cursor:pointer; }
.ltby-startup a { color:#432f2e; padding:12px; min-height:44px; box-sizing:border-box; }
.ltby-startup :focus-visible { outline:3px solid #432f2e; outline-offset:5px; }

/* Keep restoration quiet; actionable failures retain visible explanatory text. */
.ltby-starting:not(.ltby-startup-failed) #ltby-startup-message {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.ltby-loading-dots { display:flex; align-items:center; gap:10px; margin-top:24px; height:18px; }
.ltby-loading-dots i { display:block; width:9px; height:9px; border-radius:50%; background:#432f2e;
  animation:ltby-loading-breathe 1.4s ease-in-out infinite; }
.ltby-loading-dots i:nth-child(2) { background:#c5dce8; animation-delay:.16s; }
.ltby-loading-dots i:nth-child(3) { background:#feefb8; border:1px solid #432f2e; box-sizing:border-box; animation-delay:.32s; }
@keyframes ltby-loading-breathe { 0%,80%,100% { transform:translateY(0); opacity:.5; } 40% { transform:translateY(-4px); opacity:1; } }
.ltby-startup-failed .ltby-loading-dots { display:none; }
@media (prefers-reduced-motion:reduce) { .ltby-loading-dots i { animation:none; opacity:1; } }
