html, body {
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
}

.mist-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;  
}

.mistvideo {
  width: 100%;
  max-height: 100vh;
  display: flex;
  justify-content: center;
}
.overlay {
  position:absolute;
  top:1.5vh;
  left:.5vw;
  display:flex;
  gap:1.5vw;
  align-items:center;
  padding:1vh 2vw;
  border-radius:1vw;
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-size:3vw;
  font-family: "Gill Sans", sans-serif;
  z-index:9999;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.overlay img.logo {
  width:5vw;
  height:auto;
  object-fit:contain;
  pointer-events: none;
  border-radius:50%;
}

.overlay .text {
  line-height:1;
  pointer-events: none;
  white-space:nowrap;
}

@media (max-width:420px) {
  .overlay { top:8px; left:8px; padding:5px 8px; font-size:12px; border-radius:6px; gap:6px; }
  .overlay img.logo { width:28px; height:28px; }
}

  

#controls-right {
  background: rgba(0,0,0,0.6);
  border-radius: 10%;
  position: fixed;
  bottom: 2vh;
  right: 2vw;
  z-index: 9999;
  border-radius: 1em;
}

#controls-right button {
  background: rgba(0,0,0,0.0);
  border: none;
  padding: 0;
  width: 6vw;
  height: 6vw;
  min-width: 40px;
  min-height: 40px;
  max-width: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#controls-left {
  position: fixed;
  bottom: 2vh;
  left: 2vw;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 2vw;
  background: rgba(0,0,0,0.6);
  padding: 0.2em 0.5em;
  border-radius: 1em;
}

.live-text {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gill Sans", sans-serif;
}

#controls-left button {
  background: rgba(0,0,0,0.0);
  border: none;
  padding: 0;
  width: 6vw;
  height: 6vw;
  min-width: 40px;
  min-height: 40px;
  max-width: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
}

.controls img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  display: none; /* masqué par défaut */
}

.center-play img {
  width: 90px;
  opacity: 0.9;
  transition: opacity .2s;
}

.center-play img:hover {
  opacity: 1;
}
