/* Keep the original figure styling isolated from the blog's prose/Tailwind. */
@font-face { font-family: Inter; src: url('./assets/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
html, body { margin: 0 !important; padding: 0 !important; min-width: 0; background: transparent !important; }
html { scrollbar-width: none; }
body { font-family: Arial, "Apple SD Gothic Neo", sans-serif; }
astro-island, astro-slot, astro-static-slot { display: contents; }
#demo-root { display: flow-root; width: 100%; padding: 4px; box-sizing: border-box; }
#demo-root > astro-island > figure { margin: 0 !important; width: 100% !important; max-width: none !important; }
#demo-root figcaption { display: none; }
body[data-demo="tree"] #demo-root figcaption { display: block; font-size: 14px; }
.font-inter { font-family: Inter, system-ui, -apple-system, sans-serif; }
/* Keyboard users can identify each choice even when the source uses subtle rings. */
button:focus-visible { outline: 2px solid #0d9488; outline-offset: 3px; }
