/**
 * Feed de publicaciones — Facebook Ad Preview (Figma 28:11226 Single / 28:11229 Carousel)
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600&display=swap');

.home-page.home-coastal-pulse .post-fb,
.feed-list-app .post-fb {
  --post-fb-bg: #ffffff;
  --post-fb-text: #000000;
  --post-fb-muted: #65676b;
  --post-fb-border: #ced0d4;
  --post-fb-bar: #f0f2f5;
  --post-fb-btn: #ced0d4;
  --post-fb-like: #1877f2;
  --post-fb-love: #f33e58;
  --post-fb-care: #f7b928;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background: var(--post-fb-bg) !important;
  border: 1px solid var(--post-fb-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--post-fb-text) !important;
  overflow: hidden;
  width: 100%;
}

/* Bloque intro: cabecera + texto (Figma 28:11226 — padding 12px, gap 16px) */
.home-page.home-coastal-pulse .post-fb__intro,
.feed-list-app .post-fb__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
}

/* Cabecera: avatar 36px | nombre+meta | acciones (Figma FB Ad Preview) */
.home-page.home-coastal-pulse .post-fb__head,
.feed-list-app .post-fb__head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

.home-page.home-coastal-pulse .post-fb__avatar,
.feed-list-app .post-fb__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  line-height: 0;
}

.home-page.home-coastal-pulse .post-fb__avatar-link,
.feed-list-app .post-fb__avatar-link {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.home-page.home-coastal-pulse .post-fb .post-avatar,
.feed-list-app .post-fb .post-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  position: relative;
  z-index: 1;
}

.home-page.home-coastal-pulse .post-fb .post-avatar-wrap,
.feed-list-app .post-fb .post-avatar-wrap {
  position: absolute;
  inset: 0;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  background: var(--post-fb-bar) !important;
  color: var(--post-fb-muted) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 0;
}

.home-page.home-coastal-pulse .post-fb .post-avatar-wrap:not(.hide),
.feed-list-app .post-fb .post-avatar-wrap:not(.hide) {
  display: flex !important;
  z-index: 2;
}

.home-page.home-coastal-pulse .post-fb .post-avatar-wrap.hide,
.feed-list-app .post-fb .post-avatar-wrap.hide {
  display: none !important;
}

.home-page.home-coastal-pulse .post-fb__head-main,
.feed-list-app .post-fb__head-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}

.home-page.home-coastal-pulse .post-fb .post-header-name,
.feed-list-app .post-fb .post-header-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--post-fb-text) !important;
  line-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: normal !important;
}

.home-page.home-coastal-pulse .post-fb .post-header-name a,
.feed-list-app .post-fb .post-header-name a {
  color: inherit !important;
  text-decoration: none !important;
}

.home-page.home-coastal-pulse .post-fb__head-actions,
.feed-list-app .post-fb__head-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  margin: -4px -6px 0 0;
}

.home-page.home-coastal-pulse .post-fb__menu,
.home-page.home-coastal-pulse .post-fb__fav.btn-fav,
.feed-list-app .post-fb__menu,
.feed-list-app .post-fb__fav.btn-fav {
  border: none !important;
  background: transparent !important;
  color: var(--post-fb-muted) !important;
  padding: 6px !important;
  cursor: pointer;
  line-height: 1;
  font-size: 16px !important;
  box-shadow: none !important;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-page.home-coastal-pulse .post-fb__fav.fav-active,
.feed-list-app .post-fb__fav.fav-active {
  color: #f59e0b !important;
}

.home-page.home-coastal-pulse .post-fb__meta,
.feed-list-app .post-fb__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--post-fb-muted) !important;
  line-height: 16px !important;
}

.home-page.home-coastal-pulse .post-fb__meta-globe-wrap,
.feed-list-app .post-fb__meta-globe-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  line-height: 1;
}

.home-page.home-coastal-pulse .post-fb__meta-globe,
.feed-list-app .post-fb__meta-globe {
  font-size: 12px;
  line-height: 1;
  color: var(--post-fb-muted);
}

.home-page.home-coastal-pulse .post-fb .post-header-time,
.feed-list-app .post-fb .post-header-time {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--post-fb-muted) !important;
  line-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-page.home-coastal-pulse .post-fb__body,
.feed-list-app .post-fb__body {
  padding: 0 !important;
  margin: 0 !important;
}

.home-page.home-coastal-pulse .post-fb__caption,
.feed-list-app .post-fb__caption,
.home-page.home-coastal-pulse .post-fb .post-caption-body,
.feed-list-app .post-fb .post-caption-body {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  color: var(--post-fb-text) !important;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Compatibilidad caption legacy si queda en caché */
.home-page.home-coastal-pulse .post-fb .post-caption,
.feed-list-app .post-fb .post-caption {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Ocultar fila legacy si existe */
.home-page.home-coastal-pulse .post-fb__head-row,
.feed-list-app .post-fb__head-row {
  display: contents;
}

/* Medios */
.home-page.home-coastal-pulse .post-fb .post-image-wrap,
.feed-list-app .post-fb .post-image-wrap {
  background: var(--post-fb-bg) !important;
  line-height: 0;
  border: none !important;
  padding: 0 !important;
}

.home-page.home-coastal-pulse .post-fb--gallery .post-photo-grid,
.feed-list-app .post-fb--gallery .post-photo-grid {
  border-radius: 0;
}

.home-page.home-coastal-pulse .post-fb--gallery .post-image-wrap,
.feed-list-app .post-fb--gallery .post-image-wrap {
  background: #e4e6eb !important;
}

/* Grid de fotos estilo Facebook (2 / 3 / 4+) */
.home-page.home-coastal-pulse .post-photo-grid,
.feed-list-app .post-photo-grid {
  display: grid;
  gap: 3px;
  width: 100%;
  background: #e4e6eb;
  overflow: hidden;
}

.feed-list-app .post-photo-grid--2,
.home-page.home-coastal-pulse .post-photo-grid--2 {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 2 / 1;
}

.feed-list-app .post-photo-grid--3,
.home-page.home-coastal-pulse .post-photo-grid--3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1;
}

.feed-list-app .post-photo-grid--3 .post-photo-grid-item:first-child,
.home-page.home-coastal-pulse .post-photo-grid--3 .post-photo-grid-item:first-child {
  grid-row: 1 / 3;
}

.feed-list-app .post-photo-grid--4plus,
.home-page.home-coastal-pulse .post-photo-grid--4plus {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1;
}

.feed-list-app .post-photo-grid-item,
.home-page.home-coastal-pulse .post-photo-grid-item {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #ffffff;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.feed-list-app .post-photo-grid-item img,
.home-page.home-coastal-pulse .post-photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.feed-list-app .post-photo-grid-item--more::after,
.home-page.home-coastal-pulse .post-photo-grid-item--more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.feed-list-app .post-photo-grid-more,
.home-page.home-coastal-pulse .post-photo-grid-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 700;
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.home-page.home-coastal-pulse .post-fb__media-single,
.feed-list-app .post-fb__media-single {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.home-page.home-coastal-pulse .post-fb__media-single img,
.feed-list-app .post-fb__media-single img {
  width: 100% !important;
  height: auto !important;
  max-height: min(90vh, 720px) !important;
  object-fit: cover !important;
  display: block !important;
}

/* CTA bar — single */
.home-page.home-coastal-pulse .post-fb__cta-bar,
.feed-list-app .post-fb__cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  background: var(--post-fb-bar);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-page.home-coastal-pulse .post-fb__cta-headline,
.feed-list-app .post-fb__cta-headline {
  font-size: 13px;
  font-weight: 600;
  color: var(--post-fb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.home-page.home-coastal-pulse .post-fb__inline-link,
.feed-list-app .post-fb__inline-link {
  color: #0866ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.home-page.home-coastal-pulse .post-fb__inline-link:hover,
.feed-list-app .post-fb__inline-link:hover {
  color: #054ec4;
}

/* Carrusel productos (solo catálogo) */
.home-page.home-coastal-pulse .post-fb__carousel,
.feed-list-app .post-fb__carousel {
  position: relative;
  padding: 0 10px 8px;
  min-height: 241px;
}

.home-page.home-coastal-pulse .post-fb__carousel-viewport,
.feed-list-app .post-fb__carousel-viewport {
  overflow: hidden;
}

.home-page.home-coastal-pulse .post-fb__carousel-track,
.feed-list-app .post-fb__carousel-track {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.home-page.home-coastal-pulse .post-fb__carousel-track::-webkit-scrollbar,
.feed-list-app .post-fb__carousel-track::-webkit-scrollbar {
  display: none;
}

.home-page.home-coastal-pulse .post-fb__product-card,
.feed-list-app .post-fb__product-card {
  flex: 0 0 190px;
  width: 190px;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
  background: var(--post-fb-bg);
  border: 1px solid var(--post-fb-border);
}

/* 1 producto: ocupa todo el ancho del post */
.home-page.home-coastal-pulse .post-fb__carousel--products-1,
.feed-list-app .post-fb__carousel--products-1 {
  padding: 0;
  min-height: 0;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-1 .post-fb__carousel-track,
.feed-list-app .post-fb__carousel--products-1 .post-fb__carousel-track {
  overflow-x: visible;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-1 .post-fb__product-card,
.feed-list-app .post-fb__carousel--products-1 .post-fb__product-card {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-1 .post-fb__product-image,
.feed-list-app .post-fb__carousel--products-1 .post-fb__product-image {
  height: auto;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-1 .post-fb__product-image img,
.feed-list-app .post-fb__carousel--products-1 .post-fb__product-image img {
  width: 100% !important;
  height: auto !important;
  max-height: min(90vh, 720px) !important;
  object-fit: cover !important;
}

/* 2 productos: mitad del ancho cada uno */
.home-page.home-coastal-pulse .post-fb__carousel--products-2 .post-fb__carousel-track,
.feed-list-app .post-fb__carousel--products-2 .post-fb__carousel-track {
  overflow-x: visible;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-2 .post-fb__product-card,
.feed-list-app .post-fb__carousel--products-2 .post-fb__product-card {
  flex: 1 1 calc((100% - 13px) / 2);
  width: calc((100% - 13px) / 2);
  max-width: calc((100% - 13px) / 2);
  min-width: 0;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-2 .post-fb__product-image,
.feed-list-app .post-fb__carousel--products-2 .post-fb__product-image {
  height: auto;
  aspect-ratio: 1 / 1;
}

.home-page.home-coastal-pulse .post-fb__carousel--products-2 .post-fb__product-image img,
.feed-list-app .post-fb__carousel--products-2 .post-fb__product-image img {
  height: 100% !important;
}

.home-page.home-coastal-pulse .post-fb__product-image,
.feed-list-app .post-fb__product-image {
  display: block;
  width: 100%;
  height: 193px;
  border: none;
  padding: 0;
  margin: 0;
  background: #e4e6eb;
  cursor: pointer;
  overflow: hidden;
}

.home-page.home-coastal-pulse .post-fb__product-image img,
.feed-list-app .post-fb__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-height: none !important;
}

.home-page.home-coastal-pulse .post-fb__product-cta,
.feed-list-app .post-fb__product-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 8px;
  background: var(--post-fb-bar);
}

.home-page.home-coastal-pulse .post-fb__product-copy,
.feed-list-app .post-fb__product-copy {
  flex: 1;
  min-width: 0;
}

.home-page.home-coastal-pulse .post-fb__product-headline,
.feed-list-app .post-fb__product-headline {
  font-size: 13px;
  font-weight: 600;
  color: var(--post-fb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page.home-coastal-pulse .post-fb__product-desc,
.feed-list-app .post-fb__product-desc {
  font-size: 12px;
  color: var(--post-fb-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.home-page.home-coastal-pulse .post-fb__shop-btn,
.feed-list-app .post-fb__shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 32px;
  min-width: 72px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--post-fb-btn) !important;
  color: var(--post-fb-text) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.home-page.home-coastal-pulse .post-fb__shop-btn--disabled,
.feed-list-app .post-fb__shop-btn--disabled {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.home-page.home-coastal-pulse .post-fb__carousel-arrow,
.feed-list-app .post-fb__carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 24px));
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  color: #050505;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0;
}

.home-page.home-coastal-pulse .post-fb__carousel-arrow--prev,
.feed-list-app .post-fb__carousel-arrow--prev { left: 14px; }

.home-page.home-coastal-pulse .post-fb__carousel-arrow--next,
.feed-list-app .post-fb__carousel-arrow--next { right: 14px; }

.home-page.home-coastal-pulse .post-fb__carousel-arrow:disabled,
.feed-list-app .post-fb__carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Stats — una fila, Figma */
.home-page.home-coastal-pulse .post-fb__stats,
.feed-list-app .post-fb__stats {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  padding: 6px 12px 4px !important;
  background: var(--post-fb-bg) !important;
  border: none !important;
  border-top: none !important;
  margin: 0 !important;
}

.home-page.home-coastal-pulse .post-fb__stats-left,
.feed-list-app .post-fb__stats-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-page.home-coastal-pulse .post-fb__stats-left--clickable,
.feed-list-app .post-fb__stats-left--clickable {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: background 0.15s ease;
}

.home-page.home-coastal-pulse .post-fb__stats-left--clickable:hover:not(.is-disabled),
.feed-list-app .post-fb__stats-left--clickable:hover:not(.is-disabled) {
  background: rgba(0, 0, 0, 0.05);
}

.home-page.home-coastal-pulse .post-fb__stats-left--clickable.is-disabled,
.feed-list-app .post-fb__stats-left--clickable.is-disabled {
  cursor: default;
  pointer-events: none;
}

.home-page.home-coastal-pulse .post-fb__reactions,
.feed-list-app .post-fb__reactions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.home-page.home-coastal-pulse .post-fb__reaction,
.feed-list-app .post-fb__reaction {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--post-fb-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  margin-left: -6px;
}

.home-page.home-coastal-pulse .post-fb__reaction:first-child,
.feed-list-app .post-fb__reaction:first-child { margin-left: 0; }

.home-page.home-coastal-pulse .post-fb__reaction--like,
.feed-list-app .post-fb__reaction--like { background: var(--post-fb-like); z-index: 3; }

.home-page.home-coastal-pulse .post-fb__reaction--love,
.feed-list-app .post-fb__reaction--love { background: var(--post-fb-love); z-index: 2; }

.home-page.home-coastal-pulse .post-fb__reaction--care,
.feed-list-app .post-fb__reaction--care { background: var(--post-fb-care); z-index: 1; }

.post-fb__reaction-glyph {
  width: 62%;
  height: 62%;
  display: block;
  flex-shrink: 0;
}

.post-fb__reaction-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.post-fb__reaction--asset {
  background: transparent !important;
  padding: 0;
  overflow: visible;
  border: 2px solid var(--post-fb-bg);
}

.post-fb__reaction--asset.post-fb__reaction--like,
.post-fb__reaction--asset.post-fb__reaction--love,
.post-fb__reaction--asset.post-fb__reaction--care {
  background: transparent !important;
}

.reactions-modal .post-fb__reaction--asset,
.post-fb__reaction-picker .post-fb__reaction--asset {
  background: transparent !important;
  border-color: #242526;
}

.post-fb__reaction-picker .post-fb__reaction--picker.post-fb__reaction--asset {
  border: none;
  width: 48px;
  height: 48px;
}

.post-fb__reaction-picker .post-fb__reaction--picker.post-fb__reaction--asset .post-fb__reaction-img {
  width: 100%;
  height: 100%;
}

.reactions-modal-tab .post-fb__reaction--asset .post-fb__reaction-img,
.reactions-modal-badge.post-fb__reaction--asset .post-fb__reaction-img {
  width: 100%;
  height: 100%;
}

/* Colores FB en modal y selector — solo si no hay imagen PNG */
.reactions-modal .post-fb__reaction:not(.post-fb__reaction--asset),
.post-fb__reaction-picker .post-fb__reaction:not(.post-fb__reaction--asset) {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.reactions-modal .post-fb__reaction--like:not(.post-fb__reaction--asset),
.post-fb__reaction-picker .post-fb__reaction--like:not(.post-fb__reaction--asset) {
  background: #1877f2;
}

.reactions-modal .post-fb__reaction--love:not(.post-fb__reaction--asset),
.post-fb__reaction-picker .post-fb__reaction--love:not(.post-fb__reaction--asset) {
  background: #f33e58;
}

.reactions-modal .post-fb__reaction--care:not(.post-fb__reaction--asset),
.post-fb__reaction-picker .post-fb__reaction--care:not(.post-fb__reaction--asset) {
  background: #f7b928;
}

.home-page.home-coastal-pulse .post-fb__stats-likes,
.feed-list-app .post-fb__stats-likes {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--post-fb-muted) !important;
}

.home-page.home-coastal-pulse .post-fb__stats-right,
.feed-list-app .post-fb__stats-right {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--post-fb-muted) !important;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-page.home-coastal-pulse .post-fb__stats-comments,
.feed-list-app .post-fb__stats-comments {
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: background 0.15s ease;
}

.home-page.home-coastal-pulse .post-fb__stats-comments:hover,
.feed-list-app .post-fb__stats-comments:hover {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: underline;
}

/* Acciones — Like / Comment / Share */
.home-page.home-coastal-pulse .post-fb__actions,
.feed-list-app .post-fb__actions {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 20px 10px 18px !important;
  border-top: 1px solid var(--post-fb-border) !important;
  background: var(--post-fb-bg) !important;
  width: 100% !important;
  gap: 0 !important;
  position: relative;
}

.home-page.home-coastal-pulse .post-fb__action-btn,
.feed-list-app .post-fb__action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  background: transparent !important;
  color: var(--post-fb-text) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  cursor: pointer;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn:hover,
.feed-list-app .post-fb__action-btn:hover {
  background: transparent !important;
  color: var(--post-fb-text) !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn i,
.feed-list-app .post-fb__action-btn i {
  font-size: 16px !important;
  width: 18px;
  text-align: center;
  color: inherit !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn.like-active,
.feed-list-app .post-fb__action-btn.like-active {
  color: var(--post-fb-like) !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn.like-active i,
.feed-list-app .post-fb__action-btn.like-active i {
  color: var(--post-fb-like) !important;
}

/* Anular estilos legacy/coastal dentro del post FB */
.home-page.home-coastal-pulse .post-fb .post-actions,
.home-page.home-coastal-pulse .post-fb.post-actions,
.feed-list-app .post-fb .post-actions {
  all: unset;
  display: flex !important;
}

.home-page.home-coastal-pulse .post-fb .post-comments-box,
.feed-list-app .post-fb .post-comments-box {
  padding: 0 12px 12px;
  background: var(--post-fb-bg);
}

.home-page.home-coastal-pulse .post-fb .post-media-video,
.home-page.home-coastal-pulse .post-fb .post-media-embedded,
.feed-list-app .post-fb .post-media-video,
.feed-list-app .post-fb .post-media-embedded {
  width: 100%;
}

/* Carrusel de fotos (publicación Fotos, varias imágenes) */
.home-page.home-coastal-pulse .post-fb__photos-carousel,
.feed-list-app .post-fb__photos-carousel {
  position: relative;
  width: 100%;
  background: #000;
}

.home-page.home-coastal-pulse .post-fb__photos-track,
.feed-list-app .post-fb__photos-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.home-page.home-coastal-pulse .post-fb__photos-track::-webkit-scrollbar,
.feed-list-app .post-fb__photos-track::-webkit-scrollbar {
  display: none;
}

.home-page.home-coastal-pulse .post-fb__photos-slide,
.feed-list-app .post-fb__photos-slide {
  flex: 0 0 100%;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
  scroll-snap-align: center;
  line-height: 0;
}

.home-page.home-coastal-pulse .post-fb__photos-slide img,
.feed-list-app .post-fb__photos-slide img {
  width: 100% !important;
  height: auto !important;
  max-height: min(90vh, 720px) !important;
  object-fit: contain !important;
  display: block !important;
}

.home-page.home-coastal-pulse .post-fb__photos-dots,
.feed-list-app .post-fb__photos-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 12px;
  background: var(--post-fb-bg);
}

.home-page.home-coastal-pulse .post-fb__photos-dot,
.feed-list-app .post-fb__photos-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--post-fb-border);
}

.home-page.home-coastal-pulse .post-fb__photos-dot.is-active,
.feed-list-app .post-fb__photos-dot.is-active {
  background: var(--post-fb-like);
}

/* Selector de reacciones (mantener pulsado Me gusta — estilo Facebook) */
.post-fb__reaction-picker {
  position: fixed;
  z-index: 10050;
  display: none;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 12px 8px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  overflow: visible;
}

.post-fb__reaction-picker.is-open {
  display: flex;
  animation: postFbReactionBarIn 0.28s cubic-bezier(0.22, 1.12, 0.42, 1) both;
}

@keyframes postFbReactionBarIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.post-fb__reaction-picker-btn {
  position: relative;
  width: 52px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  flex-shrink: 0;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn {
  animation: postFbReactionEmojiIn 0.52s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

.post-fb__reaction-picker.is-open .post-fb__reaction-picker-btn {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn:nth-child(1) {
  animation-delay: 0ms;
}

.post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn:nth-child(2) {
  animation-delay: 60ms;
}

.post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn:nth-child(3) {
  animation-delay: 120ms;
}

@keyframes postFbReactionEmojiIn {
  0% {
    opacity: 0;
    transform: scale(0.15) translateY(28px);
  }
  55% {
    opacity: 1;
    transform: scale(1.18) translateY(-10px);
  }
  78% {
    transform: scale(0.94) translateY(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.post-fb__reaction-picker-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%) translateY(6px) scale(0.85);
  padding: 4px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.22s cubic-bezier(0.34, 1.45, 0.64, 1);
  z-index: 2;
}

.post-fb__reaction-picker-btn .post-fb__reaction--picker {
  width: 48px;
  height: 48px;
  margin-left: 0;
  border: none;
  transform: scale(1) translateY(0);
  transform-origin: center bottom;
  transition: transform 0.22s cubic-bezier(0.34, 1.45, 0.64, 1);
  will-change: transform;
}

.post-fb__reaction-picker-btn .post-fb__reaction--picker .post-fb__reaction-glyph {
  width: 58%;
  height: 58%;
}

.post-fb__reaction-picker-btn.is-hover .post-fb__reaction--picker,
.post-fb__reaction-picker-btn:hover .post-fb__reaction--picker {
  transform: scale(1.72) translateY(-14px);
}

.post-fb__reaction-picker-btn.is-hover .post-fb__reaction-picker-tooltip,
.post-fb__reaction-picker-btn:hover .post-fb__reaction-picker-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.post-fb__reaction-picker-btn[data-reaction="like"],
.post-fb__reaction-picker-btn[data-reaction="love"],
.post-fb__reaction-picker-btn[data-reaction="haha"] {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .post-fb__reaction-picker.is-open,
  .post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn,
  .post-fb__reaction-picker-btn.is-hover .post-fb__reaction--picker,
  .post-fb__reaction-picker-btn:hover .post-fb__reaction--picker {
    animation: none !important;
    transition: none !important;
  }

  .post-fb__reaction-picker.is-open.is-entering .post-fb__reaction-picker-btn {
    opacity: 1;
    transform: none;
  }
}

.home-page.home-coastal-pulse .post-fb__action-btn.reaction-love,
.feed-list-app .post-fb__action-btn.reaction-love {
  color: var(--post-fb-love) !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn.reaction-haha,
.feed-list-app .post-fb__action-btn.reaction-haha {
  color: var(--post-fb-care) !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn.reaction-love i,
.feed-list-app .post-fb__action-btn.reaction-love i {
  color: var(--post-fb-love) !important;
}

.home-page.home-coastal-pulse .post-fb__action-btn.reaction-haha i,
.feed-list-app .post-fb__action-btn.reaction-haha i {
  color: var(--post-fb-care) !important;
}

.home-page.home-coastal-pulse .post-fb__reactions.is-empty,
.feed-list-app .post-fb__reactions.is-empty {
  display: none;
}

/* Modal flotante — quién reaccionó (estilo Facebook) */
.reactions-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.reactions-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.reactions-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.reactions-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(78vh, 560px);
  background: #242526;
  color: #e4e6eb;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reactions-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reactions-modal-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.reactions-modal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #b0b3b8;
  cursor: pointer;
  padding: 10px 12px 12px;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-family: inherit;
}

.reactions-modal-tab.is-active {
  border-bottom-color: #2d88ff;
  color: #e4e6eb;
}

.reactions-modal-tab .post-fb__reaction {
  width: 24px;
  height: 24px;
  font-size: 11px;
  margin-left: 0;
  border: 2px solid #242526;
}

.reactions-modal-tab .post-fb__reaction .post-fb__reaction-glyph {
  width: 62%;
  height: 62%;
}

.reactions-modal-tab-count {
  font-size: 14px;
  font-weight: 600;
}

.reactions-modal-close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e6eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reactions-modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.reactions-modal-list {
  padding: 8px 0;
}

.reactions-modal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

.reactions-modal-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.reactions-modal-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.reactions-modal-avatar img,
.reactions-modal-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a3b3c;
  color: #b0b3b8;
}

.reactions-modal-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px !important;
  height: 18px !important;
  font-size: 9px !important;
  border: 2px solid #242526 !important;
  margin-left: 0 !important;
}

.reactions-modal-badge .post-fb__reaction-glyph {
  width: 62%;
  height: 62%;
}

.reactions-modal-name {
  font-size: 15px;
  font-weight: 600;
  color: #e4e6eb;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reactions-modal-empty {
  padding: 24px 16px;
  text-align: center;
  color: #b0b3b8;
  font-size: 14px;
  margin: 0;
}

body.reactions-modal-open {
  overflow: hidden;
}
