/* La page Caméras (#/cameras, 06/11/2026, ligne 2.5) : le direct, la rotation et les événements. */
.cam-choix { margin-bottom: 14px; }
.cam-direct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; max-width: 1180px; margin-bottom: 26px; }
.cam-ecran { position: relative; background: #000; border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 9; }
.cam-ecran video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.cam-ecran:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }
.cam-mode { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(6px); }
.cam-commandes { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / .65)); }
.cam-commandes .bouton { padding: 8px 14px; }
.cam-commandes .bouton .ico { width: 18px; height: 18px; }
.cam-commandes .filtres { margin-left: auto; }
.cam-commandes .filtre { background: rgb(0 0 0 / .35); }
.cam-pad { display: grid; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(3, 64px) auto; gap: 8px; justify-content: center;
  grid-template-areas: ". haut ." "gauche . droite" ". bas ." "note note note"; }
.cam-pad[hidden] { display: none; }
.cam-pad [data-sens=haut] { grid-area: haut; }
.cam-pad [data-sens=gauche] { grid-area: gauche; }
.cam-pad [data-sens=droite] { grid-area: droite; }
.cam-pad [data-sens=bas] { grid-area: bas; }
.cam-pad p { grid-area: note; text-align: center; margin: 4px 0 0; font-size: .85rem; }
.cam-fleche { border: 1px solid var(--trait); background: var(--surface-2); color: var(--encre); border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .1s, background .15s, border-color .15s; }
.cam-fleche:hover { border-color: var(--pale); }
.cam-fleche.tenu { transform: scale(.94); background: linear-gradient(180deg, var(--braise), var(--braise-sombre)); color: #1b0e06; border-color: transparent; }
.cam-note { grid-column: 1 / -1; margin: 0; }
.cam-evenements { margin-top: 14px; }
.cam-jour { margin-bottom: 18px; }
.cam-jour h3 { font-size: 1rem; margin-bottom: 10px; }
.cam-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cam-ev { display: grid; gap: 8px; text-align: left; padding: 0; border: 1px solid var(--trait); background: var(--surface); border-radius: var(--rayon); overflow: hidden;
  cursor: pointer; color: inherit; font: inherit; transition: transform .12s, border-color .15s; }
.cam-ev:hover { border-color: var(--pale); transform: translateY(-1px); }
.cam-vignette { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--surface-2); }
.cam-vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.cam-vignette img.charge { opacity: 1; }
.cam-vignette-ico .ico { width: 28px; height: 28px; color: var(--pale); }
.cam-en-cours { position: absolute; top: 8px; left: 8px; }
.cam-ev-texte { display: grid; gap: 2px; padding: 0 12px 12px; }
.cam-ev-texte .doux { font-size: .85rem; }
.cam-lecteur { width: min(960px, 94vw); padding: 0; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); color: var(--encre); }
.cam-lecteur::backdrop { background: rgb(0 0 0 / .7); }
.cam-lecteur-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.cam-lecteur video, .cam-lecteur img { display: block; width: 100%; max-height: 75vh; background: #000; object-fit: contain; }
.cam-lecteur p { padding: 0 14px 16px; }
@media (max-width: 860px) {
  .cam-direct { grid-template-columns: 1fr; }
  .cam-commandes .filtres { margin-left: 0; }
}
