/* Outil · Minuteur de scène (Stage timer) : seulement ce qui lui est propre (le reste vient de app/kit.css).
   Préfixe des classes : sc-
   À gauche (en haut sur téléphone) : l'aperçu (l'écran de scène lui-même, en 16:9), les deux boutons, une note ;
   à droite : les commandes. Emplacements fixes. */
.sc .outil-fixe { align-items: stretch; }
.sc-apercu { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0d0c0b; box-shadow: inset 0 0 0 1px var(--filet); }
.sc-apercu iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.sc-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sc-boutons .pastille:hover, .sc-petits .pastille:hover { translate: none; }
.sc-note { margin: -8px 0 0; height: 3lh; text-align: center; text-wrap: balance; font: 400 12.5px/1.5 var(--corps); color: var(--texte2); }

/* Les commandes : le grand bouton Démarrer / Pause, puis −1 / +1 min et Remettre */
.sc-commandes { display: flex; flex-direction: column; gap: 12px; }
.sc-ligne1 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.sc-suivant { height: 64px; padding: 0 18px; border: 0; border-radius: 18px; background: transparent; box-shadow: inset 0 0 0 1px var(--filet); color: var(--papier); cursor: pointer;
  display: flex; align-items: center; gap: 6px; font: 600 14px/1 var(--display); }
.sc-suivant svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-suivant:disabled { opacity: .3; cursor: default; }
.sc-jouer { height: 64px; border: 0; border-radius: 18px; background: var(--papier); color: var(--noir); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 600 17px/1 var(--display); letter-spacing: -.01em; transition: background .3s var(--courbe), color .3s var(--courbe); }
.sc-jouer.marche { background: transparent; color: var(--papier); box-shadow: inset 0 0 0 1.5px var(--papier); }
.sc-jouer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-jouer:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sc-petits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-petits .pastille { justify-content: center; }
.sc-message { display: flex; gap: 8px; align-items: center; }
.sc-message .saisie { flex: 1; min-width: 0; }
.sc-message .pastille { flex: none; }

/* Messages rapides et flash, sous le message libre */
.sc-rapides { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sc-rapides .puce { padding: 7px 11px; }
.sc-flash { display: inline-flex; align-items: center; gap: 5px; color: var(--peche); box-shadow: inset 0 0 0 1px rgba(255, 138, 92, .45); }
.sc-flash svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
/* Finir à une heure */
.sc-fin { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.sc-fin span { font: var(--repere); letter-spacing: .1em; color: var(--texte2); }
.sc-heure { width: 120px; min-height: 40px; padding: 8px 14px; color-scheme: dark; }
/* Le programme : en dernier (une liste qui grandit ne déplace rien) */
.sc-programme { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--filet-doux); }
.sc-partie { padding: 0; align-items: center; cursor: default; }
.sc-choisir { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border: 0; background: none; text-align: left; color: var(--papier); cursor: pointer; }
.sc-choisir .nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-partie.faite .nom { opacity: .4; text-decoration: line-through; }
.sc-partie.actuelle .nom::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin: 0 8px 1px 0; }
.sc-retirer { flex: none; width: 28px; height: 28px; border: 0; background: none; color: var(--texte2); cursor: pointer; display: grid; place-items: center; opacity: .6; }
.sc-retirer:hover { opacity: 1; color: var(--peche); }
.sc-retirer svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sc-vide { margin: 0; padding: 6px 0; font: 400 13px/1.5 var(--corps); color: var(--texte2); }
.sc-ajout { display: grid; grid-template-columns: 1fr 64px auto; gap: 8px; align-items: center; margin-top: 4px; }
.sc-min { text-align: center; padding-inline: 8px; }
