.rest-player { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:center; min-width:0; text-align:left; }
.rest-player-heading { min-width:0; }
.rest-player-heading strong,.rest-player-heading small { display:block; overflow-wrap:anywhere; }
.rest-player-heading strong { font-size:1rem; line-height:1.45; }
.rest-player-heading small { margin-top:2px; font-size:.86rem; line-height:1.45; }
.rest-player video { display:block; width:100%; aspect-ratio:16/9; height:auto; grid-column:1/-1; grid-row:2; border-radius:12px; background:#475d78; object-fit:contain; }
.rest-player-toggle,#focusRoom .rest-player-toggle { grid-column:2; grid-row:1; min-height:44px; padding:7px 13px; border:1px solid currentColor; border-radius:12px; color:inherit; background:transparent; font-family:inherit; font-size:.9rem; font-weight:600; line-height:1.35; }
.rest-player .rest-player-status { grid-column:1/-1; margin:0; font-size:.9rem; line-height:1.5; }
.rest-player .rest-player-status:empty { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .rest-player-toggle { transition:transform 120ms var(--camp-soft-ease); }
  .rest-player-toggle:active { transform:translateY(1px); }
}

.rest-song-shelf { min-width:0; width:100%; color:var(--rest-ink,inherit); text-align:left; }
.rest-song-menu[hidden] { display:none; }
.rest-song-shelf h4 { margin:0 0 .65rem; font-size:1rem; font-weight:700; line-height:1.5; }
.rest-song-list { display:grid; gap:.45rem; }
.rest-song-choice,#focusRoom .rest-song-choice {
  width:100%; min-height:50px; display:flex; align-items:center; justify-content:flex-start; gap:.65rem;
  padding:.52rem .72rem; font:inherit; text-align:left; color:inherit; background:var(--rest-soft,#eff3e9);
  border:1px solid var(--rest-edge,#cbd7c7); border-radius:12px; cursor:pointer; touch-action:manipulation;
}
.rest-song-play { display:grid; place-items:center; flex:none; width:1.75rem; height:1.75rem; color:var(--rest-accent,#286849); font-size:.85rem; }
.rest-song-name { display:block; min-width:0; }
.rest-song-name strong,.rest-song-name small { display:block; overflow-wrap:anywhere; }
.rest-song-name small { margin-top:2px; font-size:.86rem; line-height:1.4; font-weight:450; }
.rest-song-stage { min-width:0; }
.rest-song-back,#focusRoom .rest-song-back {
  min-height:44px; margin:0 0 .5rem; padding:.4rem .8rem; border:1px solid var(--rest-edge,#cbd7c7); border-radius:10px;
  background:var(--rest-soft,#eff3e9); color:var(--rest-accent,#286849); font:inherit; font-weight:650; cursor:pointer; touch-action:manipulation;
}
.rest-song-words { margin:.7rem 0; padding:.72rem .8rem; border-radius:12px; background:var(--rest-soft,#eff3e9); overflow-wrap:anywhere; }
.rest-song-words p,#focusRoom .rest-song-words p { margin:0; font-size:1rem; line-height:1.68; color:inherit; }
.rest-song-meaning,.rest-song-credit p { margin:.35rem 0; color:inherit; font-size:.94rem; line-height:1.6; }
.rest-song-credit summary,.rest-song-credit a { display:inline-flex; align-items:center; min-height:44px; color:var(--rest-accent,#286849); cursor:pointer; }
.rest-song-credit summary { display:list-item; padding:.6rem 0; box-sizing:border-box; }
.rest-song-credit a { margin-right:.9rem; }
.rest-song-shelf :is(button,summary,a):focus-visible { outline:3px solid var(--rest-accent,#286849); outline-offset:2px; }
