/* Shared by every page of the web history. */
html, body { margin: 0; padding: 0; background: #000; overflow: hidden; }
/* No zooming by touch, anywhere on the page: a pinch and a double tap do nothing, while what scrolls still scrolls
   (the rule counts for everything inside, whatever touch-action of its own it has). Safari before iOS 13 knows only
   the first value, which stops the double tap; its pinch is stopped in js/timeline.js (gesturestart). */
html { touch-action: manipulation; touch-action: pan-x pan-y; }
/* Text stays the size it's given. On a screen wider than a phone held upright (a phone on its side, one that
   unfolds) Safari on iOS makes the text of wide blocks bigger a moment after the page is laid out, for a page it
   takes to be meant for a desk; here every line's place is worked out from its size, so it would no longer fit. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { -webkit-font-smoothing: subpixel-antialiased; /* (as the app draws text: measured, it halves the difference from the app) */ font-synthesis: none; text-rendering: optimizeLegibility; }
body { font: 13px -apple-system, system-ui, sans-serif; color: rgba(255, 255, 255, 0.85); cursor: default; -webkit-user-select: none; user-select: none; }
html[data-scheme="light"] body { color: rgba(0, 0, 0, 0.85); }
*, *::before, *::after { box-sizing: border-box; }
/* A SwiftUI child keeps its ideal size unless told otherwise. */
.v > *, .h > * { flex-shrink: 0; }
.v > .t, .h > .t { flex-shrink: 1; min-width: 0; }
.z > * { min-width: 0; min-height: 0; }
canvas { display: block; }
