:root{font:100%/1.55 system-ui,sans-serif;color:#182331;background:#fffaf0;--edge:#c6ad6b;--ink:#142432}*{box-sizing:border-box}main{max-width:48rem;margin:auto;padding:clamp(1rem,5vw,3rem)}header{display:flex;gap:1rem;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:2rem}a{color:#223f61;text-underline-offset:.18em}section{border:1px solid var(--edge);padding:clamp(1rem,4vw,1.6rem);border-radius:1rem;background:#fffdf7;margin-block:1rem}h1,h2{line-height:1.2;margin:.35em 0}h1{font-size:clamp(2rem,5vw,3.5rem);max-width:17ch}p{margin:.65em 0}label,input[type=file]{display:block;max-width:100%}header label{display:flex;gap:.5rem;align-items:center}select,button,input[type=file]::file-selector-button{font:inherit;color:var(--ink);border:1px solid #615626;border-radius:.5rem;background:#fffdf7;padding:.55rem .65rem;min-height:2.75rem;max-width:100%}button{background:#f4d77e;margin-block:.6rem;cursor:pointer}#type{margin:.45rem .15rem .45rem 0}canvas{display:block;max-width:100%;height:auto;background:#fff;border:1px solid var(--edge);border-radius:.4rem}#result{border:2px solid #806422}#linkNote{font-size:.86rem}.kicker{font-size:.78rem;font-weight:800;letter-spacing:.08em}[hidden]{display:none!important}:focus-visible{outline:3px solid #315b8f;outline-offset:3px}[dir=rtl] .kicker{letter-spacing:0}
