/* All rules are confined to the new component. No score or existing UI selectors. */
#rhythm-key{box-sizing:border-box;width:100%;min-height:236px;padding:24px 16px 28px;color:#59391F;font-family:inherit}
#rhythm-key *{box-sizing:border-box}
#rhythm-key .rk-assembly{width:min(340px,100%);margin-left:clamp(0px,calc(75vw - 186px),calc(100% - 340px));display:grid;grid-template-columns:minmax(0,270px) 54px;column-gap:16px;align-items:start}
#rhythm-key .rk-expanded[hidden]{display:block;visibility:hidden;pointer-events:none}
#rhythm-key button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
#rhythm-key .rk-key{width:100%;max-width:290px;height:80px;min-height:72px;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;padding:0 14px;border:2.5px solid #E6A13F;border-radius:42px;background:#FFF9EF;color:#59391F;box-shadow:0 4px 10px rgba(166,105,37,.20);font-size:20px;font-weight:600;white-space:nowrap;touch-action:none;user-select:none;transition:box-shadow 70ms ease}
#rhythm-key .rk-key svg{width:27px;height:27px;flex:none;color:#D99135}
#rhythm-key svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#rhythm-key .rk-key.rk-pressed{background:#EAE6F7;border-color:#BFB4F8;box-shadow:inset 0 2px 5px rgba(134,111,208,.16)}
#rhythm-key .rk-key.rk-pressed svg{color:#866FD0}
#rhythm-key .rk-key:disabled{cursor:progress}
#rhythm-key button:focus-visible{outline:3px solid #866FD0;outline-offset:4px}
#rhythm-key .rk-launcher-area{position:relative;padding-top:13px}
#rhythm-key .rk-label{position:absolute;top:-10px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;font-weight:600}
#rhythm-key .rk-launcher{display:grid;place-items:center;width:54px;height:54px;padding:0;border:2px solid #E6A13F;border-radius:50%;background:#FFF9EF;color:#D99135;box-shadow:0 3px 8px rgba(166,105,37,.18);touch-action:manipulation}
#rhythm-key .rk-launcher svg{width:26px;height:26px}
#rhythm-key .rk-info-area{display:flex;flex-direction:column;align-items:center;padding-top:12px;width:100%}
#rhythm-key .rk-info{width:24px;height:24px;margin:0;padding:0;border:1px solid #E6A13F;border-radius:50%;background:#FFF9EF;color:#D99135;font-size:16px;font-weight:600;line-height:22px;touch-action:manipulation}
#rhythm-key #rk-tooltip{width:100%;max-width:270px;margin-top:8px;padding:8px 10px;border:1px solid #E6A13F;border-radius:10px;background:#FFF9EF;color:#59391F;font-size:13px;line-height:1.4;text-align:center;box-shadow:0 3px 8px rgba(166,105,37,.12)}
#rhythm-key #rk-tooltip[hidden]{display:none}
@media(max-width:380px){#rhythm-key .rk-key{font-size:18px;gap:8px;padding:0 10px;height:72px}#rhythm-key .rk-key svg{width:25px;height:25px}#rhythm-key .rk-launcher-area{padding-top:9px}}
