/* marked.page/app — the page around the Flutter reader. The app fills the
   window at every size; on a computer it lays itself out for the screen
   (lib/core/layout/web_layout.dart). Tokens come from /styles.css. */

html, body { height: 100%; }
body.app-shell {
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--canvas);
}

#app { position: fixed; inset: 0; }

/* Until Flutter paints its first frame. */
.loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: opacity 0.4s var(--ease);
}
.loading .brackets { padding: 14px 18px; --arm: 10px; --gap: 0px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
body.ready .loading { opacity: 0; pointer-events: none; }

.noscript { position: fixed; inset: auto 0 24px; text-align: center; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  .loading .brackets { animation: none; }
}
