/* Pages webcam dediees /webcams/<slug>/ et hub /webcams/.
   Memes tokens que public/guides.css (--panel, --fg, --muted, --dim,
   --border, --accent). Chargee uniquement sur ces 6 pages, en complement de
   webcams-embed.css (reutilisee pour les etats du lecteur). */

.webcam-player {
  position: relative;
  margin: 20px 0 24px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.webcam-player-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webcam-player-noscript,
.webcam-player-stale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--fg);
  background: rgba(0, 0, 0, 0.72);
}

.webcam-page-lead {
  font-size: 17px;
  line-height: 1.6;
}

.webcam-page-know {
  margin: 28px 0;
}

.webcam-page-ovpf-grid,
.webcam-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.webcam-page-ovpf-item a,
.webcam-hub-card a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--fg);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.webcam-page-ovpf-item a:hover,
.webcam-hub-card a:hover {
  border-color: var(--accent);
}

.webcam-page-ovpf-item img,
.webcam-hub-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.webcam-page-ovpf-name,
.webcam-hub-name {
  padding: 0 8px 8px;
  font-size: 14px;
}

.webcam-page-attribution {
  font-size: 13px;
  color: var(--muted, var(--dim));
}

.webcam-page-links ul {
  padding-left: 18px;
}
