*{box-sizing:border-box}body{margin:0;background:#f2efe6;color:#282b29;font:16px/1.5 system-ui,sans-serif}header,main,footer{max-width:1120px;margin:auto;padding:18px clamp(16px,4vw,48px)}header{border-bottom:1px solid #6a7366;display:flex;align-items:center;justify-content:space-between;gap:16px}header strong{font-size:23px}a{color:#354b2a}h1{font-size:clamp(42px,7vw,80px);letter-spacing:-.055em;line-height:1.03;margin:26px 0 8px}.intro{max-width:640px;font-size:20px}.instrument{background:#242e2a;color:#f9f8e7;border-radius:16px;padding:clamp(14px,3vw,28px)}label{display:grid;font-weight:600;gap:3px;margin:10px 0}input,button,textarea{border:1px solid #777f70;border-radius:5px;padding:8px;font:inherit}button{cursor:pointer;color:inherit;background:#405049}button:focus-visible{outline:3px solid #d99938}.controls,.bars{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.controls input{width:110px}.controls label{display:block}.controls input{display:block}.bars{margin:12px 0}.bars [aria-pressed=true],#play{background:#e2bd74;color:#1c2824}#roll{overflow:auto}#roll table{border-spacing:3px;min-width:660px;width:100%;table-layout:fixed}#roll th:first-child{width:75px;position:sticky;left:0;background:#242e2a;text-align:left}#roll th{font-size:13px}#roll td{padding:0}#roll button{width:100%;height:38px;padding:0;background:#35413b;color:#fff}#roll .hit{background:#56816c}#roll .accent{background:#d4a157;color:#272e25}#roll td:nth-child(4n+2){border-left:2px solid #c8caad}.handoff{background:#fffdf6;padding:24px;border:1px solid #bbbdb0;border-radius:12px;margin:20px 0}.handoff button,form button{color:white}button:disabled{opacity:.5}input,textarea{max-width:100%}.handoff input,form{max-width:420px}#downloads button{margin:8px 5px 0 0}summary{cursor:pointer}footer{margin-top:24px}

#roll th.now{background:#f2cf81;color:#252c24;border-radius:4px}
