/* Shown until the first Flutter frame (flutter_bootstrap.js removes it). Lyvogo tokens:
   bg.canvas white / night.900, brand.primary navy.800 / dark-primary. */
html, body { margin: 0; height: 100%; background: #FFFFFF; }
#ly-loader { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px; background: #FFFFFF; }
#ly-loader[hidden] { display: none; }
#ly-loader img { border-radius: 14px; }
.ly-spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid #DCE6F5;
  border-top-color: #0E2C5C; animation: ly-spin 0.9s linear infinite; }
@keyframes ly-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ly-spinner { animation-duration: 3s; } }
@media (prefers-color-scheme: dark) {
  html, body, #ly-loader { background: #0B1018; }
  .ly-spinner { border-color: #2A3446; border-top-color: #8AA9EC; }
}

/* Role choice of the web demo (entry.js), before the app starts. Inter is bundled with the app. */
@font-face { font-family: 'Inter'; font-weight: 400; src: url('assets/packages/lyvogo_tokens/fonts/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; src: url('assets/packages/lyvogo_tokens/fonts/Inter-SemiBold.ttf') format('truetype'); }
.ly-entry { box-sizing: border-box; min-height: 100%; max-width: 440px; margin: 0 auto; padding: 16px 16px 24px;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif; color: #161A22; }
.ly-entry-langs { display: flex; justify-content: flex-end; gap: 4px; }
.ly-entry-lang { font: 600 12px/16px inherit; font-family: inherit; min-width: 44px; min-height: 32px; border-radius: 8px;
  border: 1px solid #D9DFE7; background: #FFFFFF; color: #4F5868; cursor: pointer; }
.ly-entry-lang[aria-pressed='true'] { background: #0E2C5C; border-color: #0E2C5C; color: #FFFFFF; }
.ly-entry-head { text-align: center; padding: 24px 0 16px; }
.ly-entry-head img { border-radius: 12px; }
.ly-entry-head h1 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 16px 0 6px; }
.ly-entry-head p { font-size: 14px; line-height: 20px; color: #4F5868; margin: 0; }
.ly-entry-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ly-entry-role { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; min-height: 44px; border-radius: 12px;
  border: 1px solid #D9DFE7; background: #FFFFFF; color: inherit; text-decoration: none; }
.ly-entry-role strong { font-size: 15px; line-height: 20px; font-weight: 600; color: #0E2C5C; }
.ly-entry-role span { font-size: 13px; line-height: 18px; color: #4F5868; }
.ly-entry-role:hover { border-color: #8EAADB; background: #EEF3FB; }
.ly-entry-role:focus-visible, .ly-entry-lang:focus-visible { outline: 2px solid #1F64C4; outline-offset: 2px; }
.ly-entry-demo { margin: 16px 0 0; text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; color: #174F9E; }
@media (prefers-color-scheme: dark) {
  .ly-entry { color: #E7EBF1; }
  .ly-entry-lang, .ly-entry-role { background: #121925; border-color: #2A3446; color: #AAB4C3; }
  .ly-entry-lang[aria-pressed='true'] { background: #8AA9EC; border-color: #8AA9EC; color: #0B1018; }
  .ly-entry-head p, .ly-entry-role span { color: #AAB4C3; }
  .ly-entry-role strong { color: #8AA9EC; }
  .ly-entry-role:hover { background: #1B2B4A; border-color: #3A4659; }
  .ly-entry-demo { color: #7FB2FF; }
}
