#tdc-real-instruments{margin:18px 0 26px;border:1px solid #aa8e64;border-radius:12px;background:linear-gradient(140deg,#fff8e8,#e7dfc9);padding:clamp(14px,2.5vw,25px);box-shadow:4px 6px 0 #b6a68c44;color:#22382f}
#tdc-real-instruments h3{font:500 clamp(25px,3.5vw,40px)/1.15 Georgia,serif;margin:4px 0}
#tdc-real-instruments p{font-size:13px;line-height:1.6;margin:8px 0}
.tdc-real-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:9px 0}
.tdc-real-toolbar label{font-size:12px;font-weight:700}
.tdc-real-toolbar select,#tdc-real-instruments button{font:600 12px Arial,sans-serif;border:1px solid #9a8b6f;border-radius:6px;background:#fffbee;color:#264137;min-height:37px;padding:8px 11px;cursor:pointer}
#tdc-real-instruments button:hover{background:#e5eedf}#tdc-real-instruments button:focus-visible{outline:3px solid #aa6947;outline-offset:2px}
.tdc-real-piano{display:flex;height:170px;margin:14px auto 12px;max-width:690px;position:relative;user-select:none;touch-action:manipulation;border:4px solid #433d34;border-radius:7px 7px 12px 12px;overflow:hidden;box-shadow:0 6px 13px #3d302330}
.tdc-real-key{flex:1;position:relative;border:1px solid #97968e!important;background:#fffdf4!important;border-radius:0 0 6px 6px!important;padding:0!important;min-width:0;min-height:100%!important;display:flex;justify-content:center;align-items:end;color:#4d5148!important;font-size:11px!important;touch-action:none}
.tdc-real-key.black{background:#212926!important;color:#fff!important;height:58%;min-height:0!important;position:absolute;top:0;z-index:2;width:7.1%;border:1px solid #111!important;border-radius:0 0 5px 5px!important;transform:translateX(-50%)}
.tdc-real-key.is-held{background:#bfd2be!important}.tdc-real-key.black.is-held{background:#506f64!important}
.tdc-real-key span{padding:0 0 10px;pointer-events:none}
.tdc-real-status{font-size:12px;min-height:1.3em;color:#4b6258}
.tdc-real-credits{font:10px/1.4 Arial,sans-serif;opacity:.8}
@media(max-width:540px){.tdc-real-piano{height:125px}.tdc-real-key span{font-size:9px;padding-bottom:6px}.tdc-real-toolbar select,#tdc-real-instruments button{font-size:11px}}
/* Old electronic beat sequencer stays installed for compatibility but stops masquerading as recorded music. */
#beat-lab{display:none}
