/* The host's Requests tab in the party's side column
   (`components/party/requests_panel.rs`): the Twitch channel form, its
   status line, and "Clear all". The request rows are queue rows
   (`.queue-item`, party-queue.css), so they share its size, hover reveal and
   touch layout. */

/* One column that may shrink below its content: the rows' titles do not
   wrap, so an auto column would grow to the longest one. */
.requests-panel,
.requests-panel .queue {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

.requests-panel .queue {
  gap: 0;
}

.requests-channel {
  display: grid;
  gap: var(--space-1);
}

.requests-channel__row {
  display: flex;
  gap: var(--space-2);
  min-width: 0;
}

.requests-channel__row .button {
  flex: none;
}

.requests-channel__row .party-input[readonly] {
  color: var(--color-muted);
}

.requests-channel__status {
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.requests-channel__status--error {
  color: var(--color-danger);
}

.requests-clear {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
}

.requests-clear__question {
  flex: 1 1 100%;
  font-size: var(--text-sm);
}

.requests-note {
  font-size: var(--text-sm);
}

.requests-note .button {
  flex: none;
  margin-left: auto;
}
