/* Friends Donosti · Reacciones y conversaciones. Estilos aislados de Momentos. */
html body.bf-page-feeds {
  --fd-reaction-purple:#4b14a5;
  --fd-reaction-soft:#f2ecfa;
  --fd-reaction-dark:#351076;
  --fd-reaction-ink:#211d2b;
  --fd-reaction-muted:#716a7c;
  --fd-reaction-line:#eae5f0;
}
html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn) {
  display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;
  padding:0!important;margin:0!important;border-radius:50%!important;
  border:1px solid rgba(75,20,165,.065)!important;background:var(--fd-reaction-soft)!important;
  color:var(--fd-reaction-purple)!important;box-shadow:inset 0 1px 1px #fff!important;
  opacity:1!important;transform:none!important;cursor:pointer;touch-action:manipulation;
  transition:background-color .16s ease,color .16s ease!important;
}
html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn) > :is(.icon-heart,.icon-comment) {display:none!important;}
html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn) > .bf-moment-icon-mobile {
  display:block!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  flex:0 0 22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;color:inherit!important;opacity:1!important;transform:none!important;
}
html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn):active,
html body.bf-page-feeds .feed-posts > article.post .post-actions .like-btn:is(.liked,[aria-pressed="true"]) {
  color:white!important;background:var(--fd-reaction-purple)!important;box-shadow:none!important;opacity:1!important;
}
html body.bf-page-feeds .feed-posts > article.post .post-actions .like-btn:is(.liked,[aria-pressed="true"]) > .bf-moment-heart {fill:#fff!important;stroke:#fff!important;}
@media (hover:hover) {
  html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn):hover {color:#fff!important;background:var(--fd-reaction-purple)!important;box-shadow:none!important;}
}
html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn):focus-visible {outline:2px solid var(--fd-reaction-purple)!important;outline-offset:3px!important;border-radius:50%!important;}
html body.bf-page-feeds .feed-posts > article.post .post-actions .post-action-group {
  display:grid!important;grid-template-columns:44px max-content 44px max-content!important;column-gap:7px!important;align-items:center!important;row-gap:0!important;
}
html body.bf-page-feeds .feed-posts > article.post .post-actions .post-action-group :is(button.like-count.like-count-btn,.comment-count) {
  color:var(--fd-reaction-ink)!important;-webkit-text-fill-color:var(--fd-reaction-ink)!important;
  font-size:13px!important;font-weight:650!important;font-variant-numeric:tabular-nums!important;opacity:1!important;margin:0 7px 0 0!important;
}
/* Solo las variantes de Me gusta y Comentarios; no afecta a publicar, eliminar o historias. */
html body.bf-page-feeds :is(#uiModalOverlay[data-variant="likes"],#feedCommentsOverlay) {
  background:rgba(24,18,35,.42)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
.fd-reactions-likes-icon,.fd-reactions-likes-subtitle {display:none;}
html body.bf-page-feeds #uiModal[data-variant="likes"].ui-modal {
  position:fixed!important;inset:50% auto auto 50%!important;width:min(620px,calc(100vw - 40px))!important;
  max-width:none!important;margin:0!important;transform:translate(-50%,-48%) scale(.98)!important;opacity:0!important;
  transition:transform .18s ease,opacity .18s ease!important;
}
html body.bf-page-feeds #uiModal[data-variant="likes"].ui-modal.is-open {transform:translate(-50%,-50%) scale(1)!important;opacity:1!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-card {
  position:relative!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  width:100%!important;max-height:min(84dvh,740px)!important;min-height:0!important;padding:26px!important;
  border:1px solid var(--fd-reaction-line)!important;border-radius:24px!important;background:#fff!important;
  box-shadow:0 20px 70px rgba(22,13,38,.16)!important;overflow:hidden!important;
}
html body.bf-page-feeds #uiModal[data-variant="likes"] .fd-reactions-likes-icon {
  display:grid!important;position:absolute;top:26px;left:26px;place-items:center;width:46px;height:46px;
  border-radius:15px;background:var(--fd-reaction-soft);color:var(--fd-reaction-purple);
}
html body.bf-page-feeds #uiModal[data-variant="likes"] .fd-reactions-likes-icon svg,
html body.bf-page-feeds #feedCommentsSheet .comments-heading-icon svg {width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-title {
  display:block!important;font:750 24px/1.2 Inter,-apple-system,BlinkMacSystemFont,sans-serif!important;letter-spacing:-.04em!important;
  color:var(--fd-reaction-ink)!important;margin:0 52px 4px 60px!important;padding:0!important;max-width:none!important;min-height:0!important;text-align:left!important;
}
html body.bf-page-feeds #uiModal[data-variant="likes"] .fd-reactions-likes-subtitle {
  display:block!important;margin:0 48px 23px 60px;color:var(--fd-reaction-muted);font-size:13px;line-height:1.4;text-align:left;
}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-close,
html body.bf-page-feeds #feedCommentsSheet #feedCommentsClose.comments-close {
  display:grid!important;place-items:center!important;box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important;
  background:var(--fd-reaction-soft)!important;color:var(--fd-reaction-purple)!important;border:0!important;border-radius:50%!important;padding:0!important;box-shadow:none!important;
}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-close {position:absolute!important;top:26px!important;right:26px!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-close svg,
html body.bf-page-feeds #feedCommentsSheet #feedCommentsClose svg {width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-msg {display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-actions {display:none!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-list {display:flex!important;flex-direction:column!important;flex:1 1 auto!important;gap:8px!important;min-height:0!important;max-height:min(56dvh,550px)!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:0 2px 2px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-item {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important;flex:0 0 auto!important;width:100%!important;min-height:64px!important;margin:0!important;padding:9px 12px!important;background:#faf9fc!important;border:1px solid var(--fd-reaction-line)!important;border-radius:14px!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-item-btn {grid-column:1!important;display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;width:100%!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-avatar {width:42px!important;height:42px!important;flex:0 0 42px!important;object-fit:cover!important;border-radius:50%!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-name {min-width:0!important;color:var(--fd-reaction-ink)!important;font-size:14px!important;font-weight:650!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-name span {color:var(--fd-reaction-ink)!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-item-arrow {background:var(--fd-reaction-soft)!important;color:var(--fd-reaction-purple)!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-follow-button {border:1px solid var(--fd-reaction-purple)!important;background:var(--fd-reaction-purple)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;border-radius:10px!important;min-height:36px!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-follow-button.is-following {background:var(--fd-reaction-soft)!important;color:var(--fd-reaction-purple)!important;border-color:transparent!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-search {box-sizing:border-box!important;border:1px solid var(--fd-reaction-line)!important;border-radius:12px!important;background:#faf9fc!important;padding:0 12px!important;height:44px!important;margin-bottom:12px!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-search:focus-within {border-color:var(--fd-reaction-purple)!important;background:#fff!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-search-icon {color:var(--fd-reaction-purple)!important;}
html body.bf-page-feeds #uiModal[data-variant="likes"] .likes-empty {background:#faf9fc!important;border:1px solid var(--fd-reaction-line)!important;border-radius:14px!important;color:var(--fd-reaction-muted)!important;padding:26px 14px!important;}
/* Conversación */
html body.bf-page-feeds #feedCommentsSheet.comments-sheet {
  position:fixed!important;inset:50% auto auto 50%!important;display:flex!important;flex-direction:column!important;gap:0!important;
  box-sizing:border-box!important;width:min(620px,calc(100vw - 40px))!important;height:min(78dvh,700px)!important;max-height:84dvh!important;max-width:none!important;
  padding:0!important;margin:0!important;border:1px solid var(--fd-reaction-line)!important;border-radius:24px!important;
  background:#fff!important;overflow:hidden!important;box-shadow:0 20px 70px rgba(22,13,38,.16)!important;
  transform:translate(-50%,-48%) scale(.98)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:transform .22s ease,opacity .22s ease,visibility .22s!important;
}
html body.bf-page-feeds #feedCommentsSheet.comments-sheet.open {inset:50% auto auto 50%!important;transform:translate(-50%,-50%) scale(1)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-sheet-top {position:relative!important;display:flex!important;flex:0 0 auto!important;justify-content:space-between!important;align-items:flex-start!important;width:100%!important;box-sizing:border-box!important;min-height:0!important;padding:25px 26px 20px!important;margin:0!important;border-bottom:1px solid var(--fd-reaction-line)!important;background:#fff!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-heading {display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;padding:0!important;margin:0!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-heading-icon {display:grid!important;place-items:center!important;flex:0 0 46px!important;width:46px!important;height:46px!important;border-radius:15px!important;background:var(--fd-reaction-soft)!important;color:var(--fd-reaction-purple)!important;box-shadow:none!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-kicker {display:none!important;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentsTitle.sheet-title {color:var(--fd-reaction-ink)!important;font:750 24px/1.2 Inter,-apple-system,BlinkMacSystemFont,sans-serif!important;letter-spacing:-.04em!important;margin:0 0 4px!important;padding:0!important;text-align:left!important;}
html body.bf-page-feeds #feedCommentsSheet .fd-comments-subtitle {display:block;color:var(--fd-reaction-muted);font-size:13px;line-height:1.4;}
html body.bf-page-feeds #feedCommentsSheet .sheet-handle {display:none!important;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentsList.comments-list {display:flex!important;flex:1 1 0!important;flex-direction:column!important;gap:9px!important;min-height:0!important;max-height:none!important;margin:0!important;padding:16px 26px!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentsList .comment-item {display:flex!important;flex:0 0 auto!important;gap:11px!important;min-height:64px!important;margin:0!important;padding:12px!important;border:1px solid var(--fd-reaction-line)!important;border-radius:14px!important;background:#faf9fc!important;box-sizing:border-box!important;}
html body.bf-page-feeds #feedCommentsSheet .comment-avatar {width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:50%!important;box-shadow:none!important;object-fit:cover!important;}
html body.bf-page-feeds #feedCommentsSheet .comment-name {font-size:14px!important;color:var(--fd-reaction-ink)!important;}
html body.bf-page-feeds #feedCommentsSheet .comment-date {color:var(--fd-reaction-muted)!important;}
html body.bf-page-feeds #feedCommentsSheet .comment-text {color:var(--fd-reaction-ink)!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.5!important;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentInputWrap {flex:0 0 auto!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:14px 26px 20px!important;border-top:1px solid var(--fd-reaction-line)!important;background:#fff!important;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentInputBox {display:flex!important;align-items:flex-end!important;gap:10px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body.bf-page-feeds #feedCommentsSheet #feedNewComment {flex:1 1 auto!important;min-width:0!important;min-height:46px!important;max-height:118px!important;padding:12px 14px!important;border:1px solid var(--fd-reaction-line)!important;border-radius:14px!important;background:#faf9fc!important;color:var(--fd-reaction-ink)!important;box-shadow:none!important;box-sizing:border-box!important;font-size:16px!important;}
html body.bf-page-feeds #feedCommentsSheet #feedNewComment:focus {border-color:var(--fd-reaction-purple)!important;background:#fff!important;}
html body.bf-page-feeds #feedCommentsSheet #feedSendComment {display:grid!important;place-items:center!important;flex:0 0 46px!important;width:46px!important;height:46px!important;min-width:46px!important;border:0!important;border-radius:50%!important;background:var(--fd-reaction-purple)!important;color:#fff!important;box-shadow:none!important;padding:0!important;}
html body.bf-page-feeds #feedCommentsSheet #feedSendComment::before,html body.bf-page-feeds #feedCommentsSheet #feedSendComment::after {display:none!important;content:none!important;}
html body.bf-page-feeds #feedCommentsSheet #feedSendComment svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html body.bf-page-feeds #feedCommentsSheet :is(#feedCommentInputWrap,#feedCommentInputBox,#feedSendComment,#feedCommentsGate)[hidden] {display:none!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-state {flex:1 1 auto!important;background:transparent!important;color:var(--fd-reaction-muted)!important;min-height:130px!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-state-icon {display:grid!important;place-items:center!important;width:52px!important;height:52px!important;border-radius:16px!important;background:var(--fd-reaction-soft)!important;color:var(--fd-reaction-purple)!important;}
html body.bf-page-feeds #feedCommentsSheet .comments-state-icon svg {width:25px!important;height:25px!important;stroke:currentColor!important;fill:none!important;}
html body.bf-page-feeds #feedCommentsSheet #feedCommentsGate {margin:0 26px 12px!important;background:#faf9fc!important;border:1px solid var(--fd-reaction-line)!important;border-radius:14px!important;}
html body.bf-page-feeds #feedCommentsSheet .feed-inline-auth-btn {background:var(--fd-reaction-purple)!important;color:#fff!important;border-color:var(--fd-reaction-purple)!important;}
@media (hover:hover) {
  html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-close:hover,html body.bf-page-feeds #feedCommentsSheet #feedCommentsClose:hover {background:var(--fd-reaction-purple)!important;color:#fff!important;}
  html body.bf-page-feeds #feedCommentsSheet #feedSendComment:not(:disabled):hover {background:var(--fd-reaction-dark)!important;color:#fff!important;}
}
@media (max-width:899px) {
  html body.bf-page-feeds #uiModal[data-variant="likes"].ui-modal,html body.bf-page-feeds #feedCommentsSheet.comments-sheet {inset:auto 0 0!important;width:100%!important;transform:translate3d(0,103%,0)!important;opacity:1!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"].ui-modal.is-open,html body.bf-page-feeds #feedCommentsSheet.comments-sheet.open {inset:auto 0 0!important;transform:translate3d(0,0,0)!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-card {padding:32px 18px max(18px,env(safe-area-inset-bottom))!important;border:0!important;border-radius:24px 24px 0 0!important;max-height:88dvh!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-card::before {display:block!important;content:""!important;position:absolute!important;top:9px!important;left:50%!important;transform:translateX(-50%)!important;width:38px!important;height:4px!important;background:#d9d3e2!important;border-radius:99px!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .fd-reactions-likes-icon {left:18px;top:32px;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-close {top:32px!important;right:18px!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .ui-modal-title,html body.bf-page-feeds #feedCommentsSheet #feedCommentsTitle.sheet-title {font-size:22px!important;}
  html body.bf-page-feeds #uiModal[data-variant="likes"] .fd-reactions-likes-subtitle {margin-bottom:20px;}
  html body.bf-page-feeds #feedCommentsSheet.comments-sheet,html body.bf-page-feeds #feedCommentsSheet.comments-sheet.open {height:min(84dvh,740px)!important;max-height:90dvh!important;min-height:0!important;border:0!important;border-radius:24px 24px 0 0!important;padding:0!important;}
  html body.bf-page-feeds #feedCommentsSheet .comments-sheet-top {padding:30px 18px 17px!important;}
  html body.bf-page-feeds #feedCommentsSheet .sheet-handle {display:block!important;position:absolute!important;top:9px!important;left:50%!important;transform:translateX(-50%)!important;width:38px!important;height:4px!important;background:#d9d3e2!important;border-radius:99px!important;}
  html body.bf-page-feeds #feedCommentsSheet #feedCommentsList.comments-list {padding:12px 18px!important;}
  html body.bf-page-feeds #feedCommentsSheet #feedCommentInputWrap {padding:12px 18px max(14px,env(safe-area-inset-bottom))!important;}
  html body.bf-page-feeds #feedCommentsSheet #feedCommentsGate {margin:0 18px 10px!important;}
}
@media(max-width:360px) {
  html body.bf-page-feeds .feed-posts > article.post .post-actions :is(.like-btn,.comment-btn) {width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex-basis:40px!important;}
  html body.bf-page-feeds .feed-posts > article.post .post-actions .post-action-group {grid-template-columns:40px max-content 40px max-content!important;column-gap:5px!important;}
}
@media(prefers-reduced-motion:reduce) {html body.bf-page-feeds :is(#uiModal[data-variant="likes"],#feedCommentsSheet,.post-actions .like-btn,.post-actions .comment-btn){transition:none!important;}}
