/* The app's page: its canvas fills the window (a file, not an inline style,
   so the policy needs no 'unsafe-inline'). */
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #0f0f1a; }
#story-creator { display: block; width: 100%; height: 100%; }
#loading { position: absolute; top: 45%; width: 100%; text-align: center;
           font: 14px system-ui, sans-serif; color: #a0a0b0; }
/* What the app says when it stopped on an error (egui-kit's crash note, over
   the canvas; its text is the panic's, to read and copy). */
#crash { position: absolute; inset: 10% 10% auto 10%; max-height: 80%; overflow: auto;
         padding: 16px 20px; white-space: pre-wrap; border-radius: 8px;
         font: 13px/1.5 ui-monospace, monospace; color: #e8e8f0;
         background: #1a1a2e; border: 1px solid #f87171; user-select: text; }
