/* Embeds jeux VOLTALIB — responsive, sans scroll interne */
.vlt-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--vlt-bg, #ffffff);
  border: 2px solid var(--vlt-blue, #000b36);
  -webkit-overflow-scrolling: auto;
}

.vlt-embed__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
  overflow: hidden;
}

/* Court-Circuit */
.vlt-embed--court {
  aspect-ratio: 10 / 9;
  min-height: 440px;
  max-height: min(620px, 80vh);
}

/* Le Réseau sous Tension */
.vlt-embed--reseau {
  aspect-ratio: 4 / 5;
  max-width: 560px;
  min-height: 540px;
  max-height: min(700px, 82vh);
  background: #0a0e1a;
}

/* Chasse au Gaspi */
.vlt-embed--chasse {
  aspect-ratio: 4 / 5;
  max-width: 720px;
  min-height: 500px;
  max-height: min(680px, 82vh);
}

@media (max-width: 600px) {
  .vlt-embed--court,
  .vlt-embed--chasse,
  .vlt-embed--reseau {
    aspect-ratio: auto;
    width: 100%;
    max-width: 100%;
    height: min(72vh, 620px);
    min-height: 480px;
    max-height: 640px;
  }

  .vlt-embed--reseau {
    background: #0a0e1a;
  }
}
