.lpv-wrap{width:min(1180px,calc(100% - 28px));margin:32px auto 48px;color:inherit}
.lpv-desktop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.lpv-card{min-width:0;border-radius:16px;overflow:hidden;background:transparent;box-shadow:0 5px 18px rgba(44,42,95,.08);border:1px solid rgba(44,42,95,.07)}
.lpv-video-shell{position:relative;aspect-ratio:9/13;background:#080808;overflow:hidden}
.lpv-video{display:block;width:100%;height:100%;object-fit:cover;background:#080808}
.lpv-video::-webkit-media-controls-enclosure{overflow:hidden}
.lpv-load{position:absolute;inset:0;border:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.23));cursor:pointer;display:grid;place-items:center;padding:0}
.lpv-card.is-loaded .lpv-load{display:none}
.lpv-play{width:62px;height:62px;border-radius:999px;background:rgba(44,42,95,.90);backdrop-filter:blur(8px);box-shadow:0 6px 24px rgba(44,42,95,.28);position:relative}
.lpv-play:after{content:"";position:absolute;left:25px;top:18px;border-left:20px solid #fef6ff;border-top:13px solid transparent;border-bottom:13px solid transparent}
.lpv-owner{display:flex;align-items:center;gap:10px;padding:12px 13px;background:#fef6ff;color:#2c2a5f}
.lpv-owner-main{min-width:0;display:flex;align-items:center;gap:10px;flex:1;color:#2c2a5f;text-decoration:none}
.lpv-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px;background:#2c2a5f;border:2px solid #d9125e}
.lpv-avatar-fallback{display:block}
.lpv-name{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2c2a5f}
.lpv-profile-btn{flex:0 0 auto;text-decoration:none;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800;background:#2c2a5f;color:#fef6ff;line-height:1;border:1px solid #d9125e}
.lpv-desktop-card{position:relative}
.lpv-desktop-card .lpv-video{cursor:pointer}
.lpv-desktop-card .lpv-video::-webkit-media-controls{display:none!important}
.lpv-desktop-avatar-link{position:absolute;z-index:5;left:12px;bottom:12px;display:inline-flex;width:38px;height:38px;border-radius:50%;text-decoration:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.36));transition:transform .16s ease,opacity .16s ease}
.lpv-desktop-avatar-link .lpv-avatar{width:38px;height:38px;flex-basis:38px;border-width:1px}
.lpv-desktop-avatar-link:hover{transform:scale(1.04)}
.lpv-desktop-avatar-link:focus-visible{outline:2px solid #d9125e;outline-offset:3px}
.lpv-empty{text-align:center;padding:70px 20px;color:#2c2a5f;opacity:.78}
.lpv-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:32px 0 0;flex-wrap:wrap}
.lpv-page{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:10px 15px;background:#2c2a5f;color:#fef6ff;font-weight:800;border:1px solid #d9125e}
.lpv-page-info{font-size:14px;color:#d9125e;font-weight:700}
.lpv-mobile-shell{display:none}
@media(max-width:900px) and (min-width:561px){.lpv-desktop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:560px){
  .lpv-wrap{width:100vw;max-width:100vw;margin:18px calc(50% - 50vw) 34px;overflow:visible}
  .lpv-desktop-zone{display:none!important}

  .lpv-mobile-shell{display:block;position:relative;width:100%;overflow:visible;padding:0;isolation:isolate}

  .lpv-mobile-track{position:relative;z-index:2;display:flex;width:100%;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;background:transparent}
  .lpv-mobile-track::-webkit-scrollbar{display:none}
  .lpv-mobile-card{position:relative;flex:0 0 100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;border:0!important;border-radius:0;box-shadow:none;background:transparent;display:flex;justify-content:center;overflow:visible}
  .lpv-mobile-card .lpv-video-shell{position:relative;aspect-ratio:9/16;width:min(76vw,320px);max-height:62svh;background:#080808;cursor:pointer;overflow:hidden;border-radius:16px}
  .lpv-mobile-card .lpv-video{width:100%;height:100%;object-fit:contain;touch-action:auto;cursor:pointer;background:#080808}

  /* Solo avatar + nombre: toda la ficha es el enlace al perfil. */
  .lpv-mobile-card .lpv-owner-overlay{position:absolute;z-index:4;left:0;right:0;bottom:0;display:flex;align-items:center;padding:12px 14px 15px;background:transparent;color:#fef6ff;pointer-events:none}
  .lpv-mobile-card .lpv-owner-main{display:inline-flex;flex:0 1 auto;max-width:82%;color:#fef6ff;pointer-events:auto;text-decoration:none;filter:drop-shadow(0 2px 5px rgba(0,0,0,.78))}
  .lpv-mobile-card .lpv-name{color:#fef6ff;font-size:15px;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.82)}
  .lpv-mobile-card .lpv-avatar{width:42px;height:42px;flex-basis:42px;border:2px solid #d9125e;box-shadow:0 2px 10px rgba(0,0,0,.48)}

  .lpv-mobile-card.is-paused.is-loaded .lpv-video-shell:after{content:"";position:absolute;z-index:3;left:50%;top:50%;transform:translate(-42%,-50%);border-left:25px solid #fef6ff;border-top:16px solid transparent;border-bottom:16px solid transparent;filter:drop-shadow(0 2px 8px rgba(44,42,95,.55));pointer-events:none}

  /* Contador deliberadamente mínimo: sin pastilla, borde ni fondo. */
  .lpv-carousel-status{position:absolute;z-index:4;right:12px;top:10px;padding:0;background:transparent;border:0;color:#d9125e;font-size:11px;font-weight:600;line-height:1;letter-spacing:.04em;pointer-events:none;text-shadow:0 1px 5px rgba(0,0,0,.72)}

  .lpv-fullscreen-open{display:flex!important;align-items:center;justify-content:center;margin:12px auto 0;min-height:42px;padding:0 18px;border:1px solid rgba(217,18,94,.55);border-radius:999px;background:#2c2a5f;color:#fef6ff;font-size:13px;font-weight:800;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .lpv-fullscreen-open:focus-visible{outline:2px solid #d9125e;outline-offset:3px}

  .lpv-loop-clone{pointer-events:none}
}

  .lpv-fullscreen-close,.lpv-fullscreen-open{display:none}


/* Fullscreen real del carrusel móvil. El navegador solo permite activarlo
   después de una interacción del usuario. */
@media(max-width:560px){
  .lpv-mobile-shell:fullscreen,
  .lpv-mobile-shell:-webkit-full-screen{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    background:#000;
    overflow:hidden;
  }
  .lpv-mobile-shell:fullscreen .lpv-mobile-track,
  .lpv-mobile-shell:-webkit-full-screen .lpv-mobile-track{
    height:100%;
    align-items:center;
    background:#000;
  }
  .lpv-mobile-shell:fullscreen .lpv-mobile-card,
  .lpv-mobile-shell:-webkit-full-screen .lpv-mobile-card{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
  }
  .lpv-mobile-shell:fullscreen .lpv-mobile-card .lpv-video-shell,
  .lpv-mobile-shell:-webkit-full-screen .lpv-mobile-card .lpv-video-shell{
    width:100%;
    height:min(calc(100% - 118px),177.78vw);
    aspect-ratio:9/16;
    max-height:calc(100% - 118px);
    border-radius:0;
    background:#000;
  }
  .lpv-mobile-shell:fullscreen .lpv-mobile-card .lpv-video,
  .lpv-mobile-shell:-webkit-full-screen .lpv-mobile-card .lpv-video{
    width:100%;
    height:100%;
    object-fit:contain;
    background:#000;
    touch-action:pan-x;
  }
  .lpv-mobile-shell:fullscreen .lpv-mobile-card .lpv-owner-overlay,
  .lpv-mobile-shell:-webkit-full-screen .lpv-mobile-card .lpv-owner-overlay{
    bottom:10px;
    padding:10px 14px;
  }
  .lpv-mobile-shell:fullscreen .lpv-carousel-status,
  .lpv-mobile-shell:-webkit-full-screen .lpv-carousel-status{
    top:max(12px,env(safe-area-inset-top));
    right:max(12px,env(safe-area-inset-right));
  }
  .lpv-mobile-shell:fullscreen .lpv-fullscreen-open,
  .lpv-mobile-shell:-webkit-full-screen .lpv-fullscreen-open{display:none!important}
  .lpv-mobile-shell:fullscreen .lpv-fullscreen-close,
  .lpv-mobile-shell:-webkit-full-screen .lpv-fullscreen-close{
    display:flex;
    position:absolute;
    z-index:20;
    top:max(10px,env(safe-area-inset-top));
    left:max(10px,env(safe-area-inset-left));
    right:auto;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid rgba(254,246,255,.38);
    border-radius:999px;
    background:rgba(0,0,0,.38);
    color:#fef6ff;
    font-size:30px;
    font-weight:300;
    line-height:1;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    backdrop-filter:blur(6px);
  }
  .lpv-mobile-shell:fullscreen .lpv-fullscreen-close:focus-visible,
  .lpv-mobile-shell:-webkit-full-screen .lpv-fullscreen-close:focus-visible{
    outline:2px solid #d9125e;
    outline-offset:2px;
  }
}
