* { box-sizing: border-box; } body { margin: 0; color: #171717; background: #f3f3f0; font: 16px/1.5 system-ui, sans-serif; } main { max-width: 800px; margin: auto; padding: 24px; } h1 { font: italic 32px Georgia, serif; } a { color: inherit; } #controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; } button { background: white; border: 1px solid #777; border-radius: 5px; padding: 10px 14px; cursor: pointer; font: inherit; } button:disabled { opacity: .45; cursor: default; } canvas { display: block; width: min(100%, 540px); height: auto; margin: auto; background: white; border: 1px solid #ccc; } #note { font-size: 14px; color: #555; } [hidden] { display: none !important; }
