*{box-sizing:border-box}body{margin:0;background:#143748;color:#f2f6f8;font:16px/1.3 system-ui,sans-serif;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}header,nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(4vw,12px)}header b{font:24px Georgia,serif;letter-spacing:.12em}a{color:inherit}main{display:flex;justify-content:center;align-items:center;flex:1;align-self:center;max-width:100%;padding:8px}canvas{display:block;max-width:100%;height:auto;box-shadow:0 2px 8px #0005}nav{justify-content:center;flex-wrap:wrap;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#102f40}button,input{font:inherit;padding:7px;border:1px solid #bcccd1;border-radius:4px}button{cursor:pointer}button:disabled{opacity:.5}input{width:4.4em;text-align:center}#message{text-align:center;margin:0}#message:empty{display:none}
