/* Página 2: perfil (columna de fotos y tarjetas), el aviso de mayores de edad en la tarjeta, la
   pantalla de aviso +18, el aviso de los pasos para salir de la app y la burbuja de los tres puntos.
   En el móvil las medidas van en vw a partir de las medidas a 390 px (1vw = 3,9 px); en el
   ordenador, columna fija de 566 px. Código y medidas nuestros. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/InterVariable.woff2) format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, p { margin: 0; }
button { font: inherit; color: inherit; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[role=button] { cursor: pointer; }
a, button, [role=button] { outline: none; }
html, body { background: #000; margin: 0; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body.lm { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-optical-sizing: none; -webkit-font-smoothing: antialiased; }
.lm a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.lm img { display: block; max-width: 100%; }
.lm-fondo { display: none; }

.lm-caja { position: relative; width: 100%; background: #000; padding-bottom: 1px; display: flex; flex-direction: column; min-height: 100vh; }
.lm-hero { position: relative; width: 100vw; height: 100vw; margin-bottom: 6.9333vw; overflow: hidden; }
.lm-hero img { width: 100%; height: 100%; object-fit: cover; }
.lm-cuerpo { position: relative; top: -44vw; margin-bottom: -44vw; display: flex; flex-direction: column; }

.lm-datos { position: relative; display: flex; flex-direction: column; align-items: center; }
.lm-datos::after { content: ""; position: absolute; left: 0; right: 0; top: -21.6026vw; bottom: -1px;
  background: linear-gradient(rgba(5, 0, 0, 0) 12%, rgba(0, 0, 0, 0.38) 46%, rgba(0, 0, 0, 0.88) 76%, rgb(0, 0, 0) 100%); }
.lm-nombre { position: relative; z-index: 2; display: flex; justify-content: center; width: 100%; margin-bottom: 0.4103vw; }
.lm-nombre-w { position: relative; display: flex; align-items: center; }
.lm-nombre h2 { margin: 0; font-size: 32px; font-weight: 750; line-height: 40px; letter-spacing: 0.25px; color: #fff; text-align: center; white-space: nowrap; }
.lm-verif { position: absolute; left: 100%; top: 9.5px; width: 21px; height: 21px; margin-left: 3px; }
.lm-usuario { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; width: 100%; padding-bottom: 8px;
  font-size: 14px; font-weight: 500; line-height: 15px; color: rgba(255, 255, 255, 0.5); }
.lm-redes { position: relative; z-index: 2; display: flex; justify-content: center; width: 100%; }
.lm-redes-in { display: flex; padding: 2px 0 3.7330vw 2px; }
.lm-redes span { display: flex; padding: 0.25vw; }
.lm-redes a { display: flex; align-items: center; justify-content: center; width: 10.0513vw; height: 10.1795vw; border-radius: 6.6670vw; overflow: hidden; }
.lm-redes img { width: 100%; height: 100%; object-fit: cover; }

.lm-zona { position: relative; z-index: 2; background: #000; display: flex; flex-direction: column; }
.lm-lista { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; padding: 0 16px; }
.lm-tarjeta { position: relative; display: block; overflow: hidden; background: #000; margin-bottom: 2.6670vw; }
.lm-tarjeta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-tarjeta::after, .lm-sombra { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(35, 6, 35, 0) 0%, rgba(6, 13, 18, 0.6) 128.76%); }
.lm-tarjeta::after { z-index: 1; }
.lm-sombra { z-index: 3; }
.lm-grande { width: 100%; border-radius: 3.2vw; }
.lm-grande .lm-hueco { height: 53.3333vw; margin-bottom: 2.6670vw; }
.lm-peq { width: calc(50% - 6px); height: 28.2821vw; border-radius: 4vw; }
.lm-insignia { position: absolute; z-index: 9; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; }
.lm-insignia img { border-radius: 50%; object-fit: cover; }
.lm-grande .lm-insignia { top: 2.4vw; left: 7px; width: 10vw; height: 10vw; }
.lm-grande .lm-insignia img { width: 8vw; height: 8vw; }
.lm-peq .lm-insignia { top: 1.86vw; left: 7px; width: 5.8vw; height: 5.8vw; }
.lm-peq .lm-insignia img { width: 4.8vw; height: 4.8vw; }
.lm-etiqueta { position: absolute; left: 0; right: 0; bottom: 1.35vw; z-index: 4; }
.lm-etiqueta div { display: flex; align-items: flex-end; justify-content: center; min-height: 23px; height: 100%; color: #fff; text-align: center; font-weight: 600; }
.lm-etiqueta span { display: flex; align-items: flex-end; overflow: hidden; min-height: 23px; }
.lm-grande .lm-etiqueta { top: 48.6497vw; }
.lm-grande .lm-etiqueta div { margin: 0 2.2956vw; font-size: 18px; line-height: 23.4px; }
.lm-peq .lm-etiqueta { top: 21.0256vw; }
.lm-peq .lm-etiqueta div { margin: 0 1.1098vw; font-size: 3.7330vw; line-height: 4.8529vw; }
.lm-peq.lm-ancha { width: 100%; height: 53.3333vw; border-radius: 3.2vw; }
.lm-peq.lm-ancha .lm-etiqueta { top: 46.5vw; }
.lm-peq.lm-ancha .lm-etiqueta div { font-size: 18px; line-height: 23.4px; }

.lm-galeria { margin-bottom: 4px; overflow: hidden; }
.lm-galeria-in { position: relative; padding: 16px; border-radius: 16px; overflow: hidden; }
.lm-galeria-scroll { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lm-galeria-scroll::-webkit-scrollbar { display: none; }
.lm-galeria-fila { display: flex; gap: 12px; align-items: flex-start; }
.lm-galeria-fila img { flex: 0 0 auto; width: 23.0769vw; height: 23.0769vw; border-radius: 16px; object-fit: cover; }
.lm-galeria-borde { position: absolute; top: 0; bottom: 0; right: 0; width: 40px; z-index: 10; pointer-events: none;
  background: linear-gradient(to left, rgb(0, 0, 0), rgba(0, 0, 0, 0)); }
.lm-pie { height: 70px; background: #000; }

.lm-cabecera { position: fixed; top: 0; left: 0; right: 0; z-index: 9; height: 52px; display: flex; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.lm-cabecera.lm-visible { opacity: 1; }
.lm-cabecera-fondo { position: absolute; inset: 0; z-index: -1; background: rgb(18, 18, 18); box-shadow: rgba(13, 14, 54, 0.1) 0 3.12px 7.2813px 0; }
.lm-cabecera-perfil { display: flex; align-items: center; padding-left: 4vw; }
.lm-cabecera-perfil img.lm-cabecera-foto { width: 8vw; height: 8vw; border-radius: 50%; object-fit: cover; margin-right: 2.6670vw; }
.lm-cabecera-perfil span { font-size: 16.6413px; font-weight: 600; line-height: 24.962px; color: #fff; }
.lm-cabecera-perfil img.lm-cabecera-verif { width: 16.6px; height: 16.6px; margin-left: 3.9px; margin-bottom: 2px; }

@media (min-width: 768px) {
  html, body { background: #fff; }
    body { background: transparent; }
  html.lm-negro, html.lm-negro body { background: #000 !important; }
  .lm-fondo { display: block; position: fixed; inset: 0; z-index: -2; filter: blur(50px); pointer-events: none; }
  .lm-fondo img { width: 100%; height: 100%; max-width: none; object-fit: fill; }
  .lm-caja { width: 566px; margin: 34px auto 0; border-radius: 30px; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.5) 0 1px 10px 2px; min-height: 0; padding-bottom: 0; }
  .lm-hero { width: 566px; height: 546px; margin-bottom: 0; }
  .lm-cuerpo { top: -139px; margin-bottom: -139px; }
  .lm-datos::after { top: -144px; bottom: 0; }
  .lm-nombre { margin-bottom: 0; }
  .lm-redes-in { padding: 2px 0 11px 2px; }
  .lm-redes span { padding: 1px; }
  .lm-redes a { width: 37.5px; height: 38px; border-radius: 25px; }
  .lm-lista { padding: 0; margin: 0 14px; }
  .lm-tarjeta { margin-bottom: 10px; border-radius: 12px; }
  .lm-grande .lm-hueco { height: 316px; margin-bottom: 10px; }
  .lm-peq { width: 262px; height: 151px; }
  .lm-grande .lm-insignia { top: 14px; left: 12px; width: 40px; height: 40px; }
  .lm-grande .lm-insignia img { width: 40px; height: 40px; }
  .lm-peq .lm-insignia { top: 10px; left: 10px; width: 28px; height: 28px; }
  .lm-peq .lm-insignia img { width: 28px; height: 28px; }
  .lm-etiqueta { bottom: 6px; top: auto !important; }
  .lm-grande .lm-etiqueta div { margin: 0 10px; font-size: 20px; line-height: 26px; }
  .lm-peq .lm-etiqueta div { margin: 0 5px; font-size: 16px; line-height: 20.8px; }
  .lm-peq.lm-ancha { width: 100%; height: 316px; }
  .lm-peq.lm-ancha .lm-etiqueta div { font-size: 20px; line-height: 26px; }
  .lm-galeria-fila img { width: 136px; height: 136px; }
  .lm-pie { height: 71px; }
  .lm-cabecera { left: 50%; right: auto; width: 566px; transform: translateX(-50%); height: 50px; padding-top: 0; }
  .lm-cabecera-perfil { padding-left: 15px; }
  .lm-cabecera-perfil img.lm-cabecera-foto { width: 30px; height: 30px; margin-right: 10px; }
  .lm-cabecera-perfil img.lm-cabecera-verif { width: 13px; height: 13px; margin-left: 5px; }
}

/* Tarjeta grande: es un botón (sin enlace), como en la referencia. */
.lm-grande { text-align: left; -webkit-user-select: none; user-select: none; }
.lm-grande > img { transition: filter 0.25s ease, transform 0.25s ease; }
.lm-grande.p2-abierto > img { filter: blur(22px) brightness(0.55); transform: scale(1.2); }
.lm-grande.p2-abierto .lm-etiqueta, .lm-grande.p2-abierto .lm-sombra { opacity: 0; }
.lm-grande .lm-etiqueta { transition: opacity 0.2s ease; }
/* El aviso de mayores de edad dentro de la tarjeta. */
.p2-aviso { position: absolute; inset: 0; z-index: 8; display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 4.2vw; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 30%, rgba(70, 45, 35, 0.45) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.75) 100%); }
.lm-grande.p2-abierto .p2-aviso { display: flex; animation: p2-entra 0.2s ease both; }
@keyframes p2-entra { from { opacity: 0; } to { opacity: 1; } }
.p2-aviso-ojo { width: 7.2vw; height: 7.2vw; margin-bottom: 2.4vw; }
.p2-aviso-ojo svg, .p2-pantalla-ojo svg, .p2-capa-ojo svg { display: block; width: 100%; height: 100%; }
.p2-aviso-titulo { font-size: 4.1vw; line-height: 5.4vw; font-weight: 500; letter-spacing: 0.3px; margin-bottom: 2.4vw; }
.p2-aviso-texto { font-size: 3.85vw; line-height: 5.5vw; font-weight: 400; letter-spacing: 0.3px; margin-bottom: 4.6vw; max-width: 74vw; }
.p2-continuar { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 10.7vw; border-radius: 999px;
  background: #fff; color: #000; font-size: 4.2vw; font-weight: 700; letter-spacing: 0.1px; }
.p2-continuar.p2-esperando span { visibility: hidden; }
.p2-giro { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.15); border-top-color: #000; animation: p2-gira 0.7s linear infinite; display: none; }
.p2-esperando .p2-giro { display: block; }
@keyframes p2-gira { to { transform: rotate(360deg); } }

/* Pantalla de aviso +18 (al llegar al navegador desde la app). */
.p2-pantalla { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 0 6.2vw; background: #000; }
.p2-pantalla-caja { width: 100%; max-width: 420px; padding: 7.7vw 6.2vw 6.2vw; border: 1px solid rgb(31, 41, 55); border-radius: 8.2vw; background: #000; text-align: center; color: #fff; }
.p2-pantalla-ojo { width: 9.6vw; height: 9.6vw; margin: 0 auto 3.6vw; }
.p2-pantalla-titulo { font-size: 5.6vw; line-height: 7.4vw; font-weight: 600; letter-spacing: 0.2px; }
.p2-pantalla-texto { margin-top: 0.4vw; font-size: 4.1vw; line-height: 5.6vw; color: rgba(255, 255, 255, 0.8); }
.p2-abrir { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 11.3vw; margin-top: 7.2vw; border-radius: 999px;
  background: #fff; color: #000; font-size: 4.3vw; font-weight: 500; }
.p2-abrir.p2-esperando span { visibility: hidden; }

/* Aviso que tapa la página dentro de la app, con los pasos para salir a mano. */
.p2-capa { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 0 8vw;
  background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); color: #fff; text-align: center; }
.p2-capa-x { position: absolute; top: 4.4vw; left: 4.4vw; width: 9vw; height: 9vw; display: flex; align-items: center; justify-content: center; color: #fff; }
.p2-capa-x svg { width: 100%; height: 100%; }
.p2-capa-caja { max-width: 340px; }
.p2-capa-ojo { width: 11vw; height: 11vw; margin: 0 auto 3.8vw; }
.p2-capa-titulo { font-size: 4.9vw; line-height: 6.6vw; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 2.4vw; }
.p2-capa-texto { font-size: 4.1vw; line-height: 5.7vw; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.92); margin-bottom: 8.6vw; }
.p2-capa-pasos { font-size: 4.3vw; line-height: 6.4vw; font-weight: 600; margin-bottom: 4.6vw; }
.p2-capa-opcion { display: inline-flex; align-items: center; gap: 2.2vw; font-size: 4.3vw; line-height: 6vw; font-weight: 600; }
.p2-capa-opcion svg { width: 5.2vw; height: 5.2vw; flex: 0 0 auto; }

/* Burbuja de los tres puntos (solo dentro de Instagram, arriba del todo). */
.p2-burbuja { position: fixed; top: 3.1vw; right: 2vw; z-index: 40; width: 19.2vw; padding: 2.2vw 1.5vw 2.4vw; border: 1.5px solid #000; border-radius: 4.6vw;
  background: #fff; color: #111; text-align: center; font-size: 3.1vw; line-height: 3.5vw; font-weight: 500; letter-spacing: 0.1px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.p2-burbuja.p2-visible { opacity: 1; pointer-events: auto; }
.p2-burbuja::before { content: ""; position: absolute; top: -2.4vw; right: 3.6vw; width: 3.6vw; height: 3.6vw; background: #fff;
  border-left: 1.5px solid #000; border-top: 1.5px solid #000; transform: rotate(45deg); border-top-left-radius: 2px; }
.p2-puntos { display: inline-flex; gap: 0.7vw; vertical-align: middle; margin-left: 0.6vw; }
.p2-puntos i { display: block; width: 1.5vw; height: 1.5vw; border-radius: 50%; background: #111; }

@media (min-width: 768px) {
  .p2-aviso { padding: 0 34px; }
  .p2-aviso-ojo { width: 34px; height: 34px; margin-bottom: 12px; }
  .p2-aviso-titulo { font-size: 17px; line-height: 22px; margin-bottom: 10px; }
  .p2-aviso-texto { font-size: 16px; line-height: 23px; margin-bottom: 20px; max-width: 360px; }
  .p2-continuar { height: 46px; font-size: 17px; max-width: 470px; }
  .p2-pantalla { padding: 0 24px; }
  .p2-pantalla-caja { padding: 32px 26px 26px; border-radius: 32px; }
  .p2-pantalla-ojo { width: 40px; height: 40px; margin-bottom: 14px; }
  .p2-pantalla-titulo { font-size: 22px; line-height: 29px; }
  .p2-pantalla-texto { font-size: 16px; line-height: 22px; }
  .p2-abrir { height: 46px; margin-top: 28px; font-size: 17px; }
}
