:root{color-scheme:dark;font:16px/1.55 system-ui;background:#0c151a;color:#e9f5ee}*{box-sizing:border-box}body{margin:0}main{max-width:970px;margin:auto;padding:clamp(16px,4vw,44px)}header{padding:24px 0 12px}.stamp{letter-spacing:.18em;font-size:.72rem;font-weight:800;color:#7be5be}h1{font-size:clamp(2.4rem,6vw,4.5rem);line-height:1.07;letter-spacing:-.05em;margin:10px 0}h2{margin:0;font-size:1.4rem}section{background:#142028;border:1px solid #2a4244;border-radius:16px;padding:clamp(14px,3vw,26px);margin:16px 0}.privacy,.hint,#quality{color:#aac8c0}.actions,fieldset{display:flex;flex-wrap:wrap;gap:8px;align-items:center}fieldset{border:1px solid #38565c;border-radius:10px;padding:10px;gap:12px}fieldset label{display:grid}.actions{margin:12px 0}button,select,input[type=number]{font:inherit;padding:7px 10px;border-radius:8px;border:1px solid #527776;background:#152c35;color:inherit}button:not(:disabled){cursor:pointer}button:disabled{opacity:.5}.primary{background:#7be5be;border-color:#7be5be;color:#10221e;font-weight:750}.file input{display:block;max-width:100%}#duration{width:5.5em}canvas{display:block;width:100%;touch-action:none;border:1px solid #527776;cursor:crosshair}#viewport{overflow:auto;max-height:68vh}#loupeWrap{position:fixed;right:11px;bottom:11px;width:min(42vw,384px);z-index:3;pointer-events:none}#loupe{image-rendering:pixelated}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}article{border-radius:12px;padding:12px;background:#102025;border:1px solid #345359}article span,article strong{display:block}article strong{color:#90efce}[hidden]{display:none!important}:focus-visible{outline:2px solid #90efce;outline-offset:3px}
