.stage-jam{min-height:31px;display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border:1px solid #ad8d97a6;border-radius:5px;background:#1b1423e6;color:#fff0dc;font-size:.81rem;font-weight:650}
.stage-jam::before{content:'♫';color:#ffbe83;font:1rem/1 serif}
.stage-jam:hover,.stage-jam[aria-pressed=true]{background:#452d32;border-color:#ffb17c}
.pet.is-performing .tag{border-color:#f3ae77}
.pet.is-performing.hop img{animation:none}
@media(max-width:520px){.stage-jam{min-height:24px;font-size:.72rem;padding:2px 7px}.stage-jam::before{font-size:.83rem}}
#stage-caption{min-width:0}
.jam-controls{position:absolute;right:15px;bottom:12px;z-index:2;display:flex;gap:5px;align-items:stretch}
.jam-picker{position:relative;display:flex}
.jam-picker::after{content:"";position:absolute;right:10px;top:42%;width:5px;height:5px;border:solid #ffbe83;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);pointer-events:none}
.jam-picker select{appearance:none;min-height:31px;padding:3px 23px 3px 9px;border:1px solid #ad8d97a6;border-radius:5px;background:#1b1423ed;color:#fff0dc;font:600 .81rem/1.3 system-ui;cursor:pointer}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:520px){.jam-controls{right:8px;bottom:4px;gap:4px}.jam-picker select{min-height:26px;font-size:.75rem}}
/* Make room at stage left for the guest piano on this arrangement. */
.scene.with-piano .pet[data-pet=joe]{left:25%;bottom:19%}
.scene.with-piano .pet[data-pet=timothy]{left:37%;bottom:10%}
#stage-piano{position:absolute;left:1%;bottom:10%;width:20%;height:32%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;pointer-events:none}
#stage-piano[hidden]{display:none}
#stage-piano img{width:100%;min-height:0;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 1px #25152888)}
#stage-piano .tag{white-space:nowrap}
