@font-face { font-family: Inter; src: url('assets/assets/fonts/Inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light dark; font-family: Inter, Arial, sans-serif; color: #202422; background: #fff; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-height: 100vh; }
/* Keep Flutter's invisible measurement/accessibility layers within the app viewport. */
flutter-view { overflow: clip; }
body > p[style*="bottom: 100%"][style*="visibility: hidden"] { right: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.boot { display: grid; min-height: 100vh; place-content: center; text-align: center; gap: 12px; padding: 24px; }
.boot img { display: block; margin: auto; }
.boot h1 { margin: 8px 0 0; font-size: 26px; font-weight: 600; }
.boot p { font-size: 14px; color: #666; margin: 0; }
.boot button { font: inherit; margin: 12px auto 0; border: 1px solid #ddd; background: transparent; color: inherit; padding: 10px 20px; border-radius: 6px; cursor: pointer; }
.boot[hidden], [hidden] { display: none !important; }
.loading { margin: 10px auto; width: 24px; height: 24px; border: 2px solid #e5e5e5; border-top-color: #111; border-radius: 50%; animation: spin 1s linear infinite; }
.legal { max-width: 780px; margin: 0 auto; padding: 44px 24px 80px; line-height: 1.7; font-size: 15px; }
.legal nav { display: flex; gap: 12px; align-items: center; margin-bottom: 52px; }
.legal nav a { font-weight: 600; text-decoration: none; font-size: 20px; }
.legal nav img { display: block; }
.legal h1 { font-size: 34px; line-height: 1.2; font-weight: 650; margin-bottom: 12px; }
.legal h2 { margin: 32px 0 8px; font-size: 19px; font-weight: 650; }
.legal p { margin: 10px 0; overflow-wrap: anywhere; }
.legal .muted { color: #666; font-size: 13px; }
.legal footer { border-top: 1px solid #ddd; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 24px; }
.legal .preview { padding: 12px 16px; border-left: 3px solid #444; background: #f5f5f5; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading { animation: none; } }
@media (prefers-color-scheme: dark) {
  :root { background: #101312; color: #fff; }
  .boot p, .legal .muted { color: #aaa; }
  .legal .preview { background: #242424; }
  .loading { border-color: #444; border-top-color: #eee; }
}
