  /* ── Sección principal ── */
.emo-lobby {
  position: relative;
  width: 100%;
  max-width: 1820px;
  margin: 0 auto;
  padding: 24px 0 32px;
  box-sizing: border-box;
  overflow: hidden;
}

  /* ── Header ── */
  .emo-lobby__header {
    position:relative;
  }

  .emo-lobby__title {
    display: flex;
    align-items: flex-end;
    gap: 10px;
  }

  .emo-lobby__icon {
    width:30px;
    height:auto;
  }

  .emo-lobby__heading {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
  }

 .emo-lobby__more {
  font-size: .85rem;
  transition: opacity .2s ease-out;
  position: absolute;
  font-weight: bold;
  right: 40px;
  border: 2px solid;
  padding: .5em .4em .3em;
  border-radius: 7px;
  color: #ffffff;
  text-decoration: none;
  margin-left: 0;
}

.emo-lobby__more:hover {
  background-color: red;
}

  /* ── Fila: botón + swiper + botón ── */
  .emo-lobby__row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  /* ── Swiper ── */
  .emo-lobby__swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 28px 0 20px !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
   .emo-lobby__swiper.swiper-initialized {
    opacity: 1;
    }
  /* ── Cada slide ── */
  .emo-lobby__slide {
    width: 220px !important;
    height: 220px !important;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    background-size: contain;
    background-color:black;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
    pointer-events: all;
  }
 .emo-lobby__slide {
  background-image: var(--image), var(--fallback-image);
}
  /* Slide activo */
  .emo-lobby__slide.swiper-slide-active {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.22),
      0 20px 52px rgba(0, 0, 0, 0.75);
    z-index: 10 !important;
  }
  
 /* Overlay */
 .emo-lobby__overlay {
      display: flex;
      align-items: center;
      backdrop-filter: blur(3px);
      background-color: #000000c9;
      flex-direction: column;
      gap: 3px;
      justify-content: center;
      opacity: 0;
      position: absolute;
      text-align: center;
      inset: -1px;
      transition: opacity .2s ease-out;
      border-radius: 14px;
}

.emo-lobby__overlay > * {
  opacity: 0;
  transform: translateX(-48px);
  transition: transform .2s ease-out, opacity .2s ease-out;
}

.emo-lobby__play {
  background-image: url('/img/tests/play.gif');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-bottom: 16px;
  height: 64px;
  width: 64px;
  border: none;
  border-radius: 0;
  background-color: transparent;
}
.emo-lobby__slide:hover .emo-lobby__overlay {
  opacity: 1;
}

.emo-lobby__slide:hover .emo-lobby__overlay > * {
  opacity: 1;
  transform: translateX(0);
}



  /* ── Nombre del juego ── */
.emo-lobby__name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  display: block;
  word-break: break-word;
  padding: 0 8px;
}

  /* ── Botones prev / next ── */
 .emo-lobby__btn {
  appearance: none;
  background: url(/img/lobbies/arrow.svg) no-repeat center;
  background-size: 75%;
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 3rem;
  font-weight: bold;
  height: 168px;
  width: 48px;
  opacity: .6;
  outline: 0;
  pointer-events: auto;
  text-shadow: 2px 0 black;
  transition: opacity .2s ease-out, color .2s ease-out;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}

.emo-lobby__btn:hover {
  filter: brightness(0) saturate(100%) invert(59%) sepia(99%) saturate(7499%) hue-rotate(2deg) brightness(104%) contrast(102%);
  opacity: 1;
}

.emo-lobby__btn--next {
  transform: scaleX(-1);
}

.emo-lobby__btn::after {
  display: none;
}

  /* ── Responsive ── */
  @media (max-width: 768px) {
    .emo-lobby__slide {
      width: 130px !important;
      height: 130px !important;
    }
    .emo-lobby__name {
      font-size:11px;
    }
    .emo-lobby__btn {
      width: 32px;
      height: 32px;
    }
  }