/* Serie65 v607 — Mobile-first feed, inspirado en convenciones sociales.
 * Solo estilo visual. Sin scripts ni cambios en la lógica de permisos, medios o navegación.
 * El tema oscuro presenta un fondo negro; el tema claro continúa disponible.
 */
@media (max-width:760px) {
  /* Feed edge-to-edge, sin alterar cabecera, Reels fullscreen ni otras pantallas. */
  .ssv2-member-shell #ssv2-feed { width:100%; min-width:0; }
  .ssv2-member-shell #ssv2-feed > .ssv2-post {
    border-radius:0!important;
    margin:0 0 9px!important;
    overflow:visible!important;
    box-shadow:none!important;
    border-left:0!important;
    border-right:0!important;
    border-top:0!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-head {
    min-height:55px!important;
    padding:8px 12px!important;
    gap:9px!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-head img {
    width:38px!important;height:38px!important;min-width:38px!important;
    box-shadow:none!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-head strong {font-size:13px!important;line-height:1.25!important}
  .ssv2-member-shell #ssv2-feed .ssv2-post-head small {font-size:10px!important}
  .ssv2-member-shell #ssv2-feed .ssv2-post-media {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:100%!important;margin:0!important;
    padding:0!important;overflow:hidden!important;
    position:relative!important;min-height:0!important;
    aspect-ratio:4/5!important;border:0!important;background:#000!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-media > img.ssv2-post-image,
  .ssv2-member-shell #ssv2-feed .ssv2-post-media > video {
    width:100%!important;height:100%!important;max-width:100%!important;
    max-height:none!important;object-fit:contain!important;position:static!important;
    transform:none!important;margin:0 auto!important;background:#000!important;
  }
  /* Carruseles uniformes; imagen entera visible sin recorte irreversible. */
  .ssv2-member-shell #ssv2-feed .s65-carousel {
    display:block!important;width:100%!important;max-width:none!important;
    border-radius:0!important;background:#000!important;margin:0!important;
  }
  .ssv2-member-shell #ssv2-feed .s65-carousel-slide {
    min-width:100%!important;max-height:none!important;aspect-ratio:4/5!important;
    background:#000!important;
  }
  .ssv2-member-shell #ssv2-feed .s65-carousel-slide img,
  .ssv2-member-shell #ssv2-feed .s65-carousel-slide video {
    width:100%!important;height:100%!important;max-height:none!important;
    object-fit:contain!important;background:#000!important;
  }
  .ssv2-member-shell #ssv2-feed .s65-carousel-count {
    top:11px!important;right:11px!important;padding:5px 9px!important;
    background:rgba(0,0,0,.68)!important;color:#fff!important;font-size:11px!important;
  }
  .ssv2-member-shell #ssv2-feed .s65-carousel-dots {bottom:8px!important}
  .ssv2-member-shell #ssv2-feed .s65-carousel-dots span {height:5px!important;width:5px!important}
  .ssv2-member-shell #ssv2-feed .s65-carousel-dots span.active{background:#36bced!important}
  .ssv2-member-shell #ssv2-feed .ssv2-reel-embed {
    margin:0!important;border:0!important;border-radius:0!important;
    max-width:100%!important;min-width:0!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-actions {
    margin:0 7px!important;border:0!important;gap:0!important;padding:2px 0!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-actions button {
    min-height:44px!important;padding:9px 3px!important;margin:0!important;
    text-overflow:ellipsis!important;border:0!important;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-text {
    padding:7px 12px 10px!important;line-height:1.4!important;font-size:13px!important;
    overflow-wrap:anywhere;
  }
  .ssv2-member-shell #ssv2-feed .ssv2-post-stats {padding:6px 12px!important;font-size:11px!important}
  .ssv2-member-shell #ssv2-feed .ssv2-comments {padding:7px 12px 12px!important}
  .ssv2-member-shell #ssv2-feed .ssv2-post-actions button:focus-visible,
  .ssv2-member-shell #ssv2-feed .s65-carousel button:focus-visible {
    outline:2px solid #32c3ef!important;outline-offset:-2px!important;
  }
  /* Black surfaces only when user elected dark mode. */
  .ssv2-member-shell.ssv2-theme-dark #ssv2-feed,
  .ssv2-theme-dark #ssv2-feed {background:#000!important;color:#f6f6f6!important}
  .ssv2-theme-dark #ssv2-feed > .ssv2-post,
  .ssv2-member-shell.ssv2-theme-dark #ssv2-feed > .ssv2-post {
    background:#000!important;color:#f6f6f6!important;border-bottom:1px solid #242424!important;
  }
  .ssv2-theme-dark #ssv2-feed .ssv2-post-head,
  .ssv2-theme-dark #ssv2-feed .ssv2-post-actions,
  .ssv2-theme-dark #ssv2-feed .ssv2-post-stats,
  .ssv2-theme-dark #ssv2-feed .ssv2-comments {background:#000!important;color:#eee!important;border-color:#242424!important}
  .ssv2-theme-dark #ssv2-feed .ssv2-post-head strong,
  .ssv2-theme-dark #ssv2-feed .ssv2-post-text,
  .ssv2-theme-dark #ssv2-feed .ssv2-post-actions button {
    color:#f5f5f5!important;
  }
  .ssv2-theme-dark #ssv2-feed .ssv2-post-head small,
  .ssv2-theme-dark #ssv2-feed .ssv2-post-stats{color:#a9a9a9!important}
  .ssv2-theme-dark #ssv2-feed .ssv2-post-actions button {background:transparent!important}
  .ssv2-theme-dark #ssv2-feed .ssv2-post-actions button.active{color:#36bced!important}
  .ssv2-theme-dark #ssv2-feed .ssv2-post-actions button:hover{background:#111!important}
  .ssv2-theme-dark #ssv2-feed .ssv2-reel-embed {background:#090909!important;border-color:transparent!important;color:#fff!important}
}
/* System-themed users receive black feed only when OS preference is dark. */
@media (max-width:760px) and (prefers-color-scheme:dark){
  .ssv2-theme-auto #ssv2-feed{background:#000!important;color:#f5f5f5!important}
  .ssv2-theme-auto #ssv2-feed > .ssv2-post{background:#000!important;border-bottom:1px solid #242424!important;color:#fff!important}
  .ssv2-theme-auto #ssv2-feed .ssv2-post-head,
  .ssv2-theme-auto #ssv2-feed .ssv2-post-actions,
  .ssv2-theme-auto #ssv2-feed .ssv2-post-stats,
  .ssv2-theme-auto #ssv2-feed .ssv2-comments{background:#000!important;color:#f5f5f5!important;border-color:#242424!important}
  .ssv2-theme-auto #ssv2-feed .ssv2-post-head strong,
  .ssv2-theme-auto #ssv2-feed .ssv2-post-text,
  .ssv2-theme-auto #ssv2-feed .ssv2-post-actions button{color:#f5f5f5!important}
  .ssv2-theme-auto #ssv2-feed .ssv2-post-actions button{background:transparent!important}
}
