/* ============================================================
   Cuckold — explorar.css  (/fotos, la vidriera de la comunidad)
   Depende de perfil.css: reusa .galeria-item / .galeria-lock / .galeria-play
   para que el lightbox global funcione sin JS nuevo.
   ============================================================ */

.exp-wrap { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 24px 16px 48px; }

.exp-head { margin-bottom: 18px; }
.exp-title { display: flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 700; color: var(--text); margin: 0; }
.exp-title .icon { color: var(--accent2); }
.exp-sub { font-size: 17px; color: var(--text2); margin: 6px 0 0; }

.exp-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 18px 0; overflow-x: auto; scrollbar-width: none; }
.exp-tabs::-webkit-scrollbar { display: none; }
.exp-tab { flex-shrink: 0; padding: 10px 18px; color: var(--text3); font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.exp-tab:hover { color: var(--text); text-decoration: none; }
.exp-tab.active { color: var(--accent2); border-bottom-color: var(--accent); }

/* Aviso de blur: al visitante lo invita a registrarse; al registrado sin cupo le
   muestra cuánto le falta. Es el mismo gate de siempre, pero acá se ve la pared entera. */
.exp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 16px; color: var(--text2); line-height: 1.5; }
.exp-cta strong { color: var(--text); font-weight: 600; }
.exp-cta .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 560px) { .exp-cta .btn { margin-left: 0; width: 100%; } }

/* La grilla se adapta sola: 2 columnas en celular, hasta 5 en desktop. */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.exp-item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.exp-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.exp-item:not(.locked) { cursor: pointer; }
.exp-item:not(.locked):hover img { transform: scale(1.05); }

/* Autor sobre la imagen, con degradado para que se lea sobre cualquier foto. */
.exp-autor { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 7px; padding: 20px 10px 8px; text-decoration: none; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }
.exp-autor:hover { text-decoration: none; }
.exp-autor:hover .exp-name { color: var(--accent3); }
/* ⚠️ position:relative NO es opcional: el anillo de rol y el punto de "en línea" que
   mete View::avatarInner son position:absolute + inset:0. Sin un ancestro posicionado
   acá, se anclaban a .exp-autor y se dibujaban como elipses de todo el ancho. */
.exp-av { position: relative; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; }
.exp-av .avatar-ring { border-width: 1.5px; }
.exp-av .online-dot { width: 8px; height: 8px; border-width: 1.5px; bottom: -1px; right: -1px; }
.exp-av .av-letter { font-size: 11px; font-weight: 600; color: #fff; }
.exp-av .av-generic, .exp-av img { width: 24px; height: 24px; border-radius: 50%; font-size: 11px; }
.exp-name { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-name .icon { color: var(--verificado); flex-shrink: 0; }

.exp-sentinel { height: 1px; }

@media (max-width: 560px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .exp-title { font-size: 23px; }
}
