/**
 * Business posts feed — Facebook-style wall for Recent Work.
 */
:root {
  --sf-feed-bg: #eef2f6;
  --sf-feed-card: #ffffff;
  --sf-feed-text: #0f172a;
  --sf-feed-muted: #64748b;
  --sf-feed-line: #e2e8f0;
  --sf-feed-navy: var(--sf-feed-primary, #0b2447);
  --sf-feed-teal: var(--sf-feed-accent, #0d9488);
  --sf-feed-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --sf-feed-font: var(--vs-font-sans, "DM Sans", ui-sans-serif, system-ui, sans-serif);
  --sf-feed-display: var(--vs-font-display, "Fraunces", Georgia, serif);
  --sf-feed-content-max: 980px;
  --sf-feed-stream-max: 600px;
  --sf-feed-shell-max: 1560px;
  --sf-feed-pad-x: clamp(1.75rem, 4.5vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }

.sf-feed-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sf-feed-font);
  color: var(--sf-feed-text);
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(13, 148, 136, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, var(--sf-feed-bg) 28%, #e8eef5 100%);
  -webkit-font-smoothing: antialiased;
}

.sf-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sf-feed-top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(11, 36, 71, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sf-feed-top__inner {
  max-width: var(--sf-feed-content-max, 1100px);
  margin: 0 auto;
  padding: 0.7rem var(--sf-feed-pad-x, 1.25rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sf-feed-top__back,
.sf-feed-top__brand,
.sf-feed-top__hello {
  color: #fff;
  text-decoration: none;
}
.sf-feed-top__back {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
}
.sf-feed-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-weight: 800;
}
.sf-feed-top__brand img,
.sf-feed-top__brand span {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  color: var(--sf-feed-navy);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.sf-feed-top__brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-feed-top__actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.sf-feed-top__hello {
  font-size: 0.8rem;
  opacity: 0.85;
}

.sf-feed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
.sf-feed-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.sf-feed-btn--solid {
  background: var(--sf-feed-teal);
  color: #fff;
}
.sf-feed-profile__cta .sf-feed-btn--ghost {
  background: #fff;
  border-color: var(--sf-feed-line);
  color: var(--sf-feed-navy);
}
.sf-feed-profile__cta .sf-feed-btn--solid.is-on {
  background: #0f766e;
}

.sf-feed-shell {
  max-width: var(--sf-feed-content-max, 1100px);
  margin: 0 auto;
  padding: 1rem var(--sf-feed-pad-x, 1.25rem) 3rem;
}

.sf-feed-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
  align-items: start;
}

.sf-feed-rail {
  display: none;
  gap: 0.85rem;
}

.sf-feed-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--sf-feed-card);
  box-shadow: var(--sf-feed-shadow);
}

.sf-feed-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.sf-feed-card__head a {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sf-feed-teal);
  text-decoration: none;
}

.sf-feed-card__title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sf-feed-muted);
}

.sf-feed-card__head .sf-feed-card__title {
  margin-bottom: 0;
}

.sf-feed-card__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #334155;
}

.sf-feed-card__meta {
  margin: 0.55rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--sf-feed-muted);
  line-height: 1.35;
}

.sf-feed-card__meta svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.sf-feed-card__meta a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.sf-feed-card__meta a:hover {
  color: var(--sf-feed-teal);
}

.sf-feed-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.sf-feed-card__links a {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sf-feed-teal);
  text-decoration: none;
}

.sf-feed-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.sf-feed-card--cta .sf-feed-btn--ghost {
  background: #fff;
  border-color: var(--sf-feed-line);
  color: var(--sf-feed-navy);
}

.sf-feed-shortcuts {
  display: grid;
  gap: 0.25rem;
}

.sf-feed-shortcuts a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.7rem;
  color: var(--sf-feed-navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.sf-feed-shortcuts a svg {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.8;
}

.sf-feed-shortcuts a:hover,
.sf-feed-shortcuts a.is-active {
  background: color-mix(in srgb, var(--sf-feed-teal) 12%, #fff);
  color: var(--sf-feed-teal);
}

.sf-feed-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.sf-feed-product-list a {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.2rem;
  border-radius: 0.65rem;
}

.sf-feed-product-list a:hover {
  background: #f8fafc;
}

.sf-feed-product-list img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #e2e8f0;
}

.sf-feed-product-list strong {
  display: block;
  font-size: 0.82rem;
  color: var(--sf-feed-navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sf-feed-product-list em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sf-feed-teal);
}

.sf-feed-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.sf-feed-photos a {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.45rem;
  background: #e2e8f0;
}

.sf-feed-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.sf-feed-photos a:hover img {
  transform: scale(1.05);
}

@media (min-width: 1560px) {
  .sf-feed-shell {
    max-width: var(--sf-feed-shell-max, 1680px);
  }
  .sf-feed-layout {
    grid-template-columns: 220px var(--sf-feed-stream-max, 640px) 260px;
    justify-content: center;
    gap: 1rem;
  }
  .sf-feed-stream {
    width: var(--sf-feed-stream-max, 640px);
    max-width: var(--sf-feed-stream-max, 640px);
    margin-top: 0;
  }
  .sf-feed-rail {
    display: grid;
    position: sticky;
    top: 4.25rem;
  }
}

@media (min-width: 1840px) {
  .sf-feed-layout {
    grid-template-columns: 240px var(--sf-feed-stream-max, 640px) 280px;
  }
}

.sf-feed-profile {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--sf-feed-card);
  box-shadow: var(--sf-feed-shadow);
}
.sf-feed-cover {
  height: 180px;
  background:
    linear-gradient(135deg, var(--sf-feed-navy), color-mix(in srgb, var(--sf-feed-teal) 55%, #0b2447)),
    #0b2447;
  background-size: cover;
  background-position: center;
}
.sf-feed-profile__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 0 1rem 1rem;
  margin-top: -2.4rem;
}
.sf-feed-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  border: 4px solid #fff;
  background: linear-gradient(135deg, var(--sf-feed-navy), var(--sf-feed-teal));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--sf-feed-display);
  font-size: 1.6rem;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}
.sf-feed-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sf-feed-profile__copy {
  padding-top: 2.6rem;
  min-width: 0;
}
.sf-feed-profile__copy h1 {
  margin: 0;
  font-family: var(--sf-feed-display);
  font-size: 1.55rem;
  color: var(--sf-feed-navy);
}
.sf-feed-profile__copy p {
  margin: 0.3rem 0 0;
  color: var(--sf-feed-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.sf-feed-profile__about {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-feed-profile__stats {
  margin-top: 0.55rem !important;
  color: var(--sf-feed-text) !important;
  font-size: 0.84rem !important;
}
.sf-feed-profile__cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sf-feed-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sf-feed-line);
}
.sf-feed-tabs a {
  padding: 0.85rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--sf-feed-muted);
  font-size: 0.86rem;
  font-weight: 800;
  border-bottom: 3px solid transparent;
}
.sf-feed-tabs a.is-active {
  color: var(--sf-feed-teal);
  border-bottom-color: var(--sf-feed-teal);
}

.sf-feed-stream {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}
.sf-feed-guest,
.sf-feed-empty {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--sf-feed-card);
  box-shadow: var(--sf-feed-shadow);
}
.sf-feed-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: #475569;
}
.sf-feed-guest a,
.sf-feed-comment-login a {
  color: var(--sf-feed-teal);
  font-weight: 800;
  text-decoration: none;
}
.sf-feed-empty {
  text-align: center;
  padding: 2rem 1.25rem;
}
.sf-feed-empty h2 {
  margin: 0;
  font-family: var(--sf-feed-display);
  color: var(--sf-feed-navy);
}
.sf-feed-empty p {
  margin: 0.55rem auto 1rem;
  max-width: 34ch;
  color: var(--sf-feed-muted);
  font-size: 0.9rem;
}

.sf-feed-post {
  position: relative;
  overflow: visible;
  border-radius: 1rem;
  background: var(--sf-feed-card);
  box-shadow: var(--sf-feed-shadow);
  scroll-margin-top: 5rem;
}
.sf-feed-post:has(.sf-react.is-picker-open) {
  z-index: 8;
}
.sf-feed-post__head,
.sf-feed-post__media {
  border-radius: 0;
}
.sf-feed-post > :first-child {
  border-radius: 1rem 1rem 0 0;
}
.sf-feed-post.is-focus {
  outline: 2px solid color-mix(in srgb, var(--sf-feed-teal) 45%, transparent);
}
.sf-feed-post__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.35rem;
}
.sf-feed-post__who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.sf-feed-post__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sf-feed-navy), var(--sf-feed-teal));
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.sf-feed-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sf-feed-post__name {
  margin: 0;
  font-weight: 800;
  color: var(--sf-feed-navy);
  font-size: 0.92rem;
}
.sf-feed-post__time {
  margin: 0.1rem 0 0;
  color: var(--sf-feed-muted);
  font-size: 0.74rem;
}
.sf-feed-post__permalink {
  color: var(--sf-feed-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.sf-feed-post__copy {
  padding: 0.35rem 1rem 0.7rem;
}
.sf-feed-post__copy h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--sf-feed-navy);
  line-height: 1.3;
}
.sf-feed-post__copy p {
  margin: 0.4rem 0 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.sf-feed-post__media {
  position: relative;
  background: #0f172a;
  overflow: hidden;
}
.sf-feed-post__media img,
.sf-feed-post__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Facebook-style collage */
.sf-collage {
  display: grid;
  gap: 2px;
  width: 100%;
  background: #fff;
  aspect-ratio: 1 / 1;
  max-height: 560px;
}
.sf-collage__tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
  min-width: 0;
  min-height: 0;
}
.sf-collage__tile:focus-visible {
  outline: 2px solid var(--sf-feed-teal, #0d9488);
  outline-offset: -2px;
  z-index: 2;
}
.sf-collage__tile img,
.sf-collage__tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sf-collage__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.28);
  pointer-events: none;
}
.sf-collage__play svg {
  width: 2.75rem;
  height: 2.75rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  padding: 0.55rem;
  box-sizing: content-box;
}
.sf-collage__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.sf-collage--1 {
  grid-template-columns: 1fr;
  aspect-ratio: 16 / 10;
}
.sf-collage--2 {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16 / 9;
}
.sf-collage--3 {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1;
}
.sf-collage--3 .sf-collage__tile:nth-child(1) {
  grid-row: 1 / span 2;
}
.sf-collage--4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

/* Match Facebook: 2 on top, 3 on bottom (+N on last when more remain) */
.sf-collage--5 {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1.2fr 0.9fr;
}
.sf-collage--5 .sf-collage__tile:nth-child(1) {
  grid-column: 1 / span 3;
  grid-row: 1;
}
.sf-collage--5 .sf-collage__tile:nth-child(2) {
  grid-column: 4 / span 3;
  grid-row: 1;
}
.sf-collage--5 .sf-collage__tile:nth-child(3) {
  grid-column: 1 / span 2;
  grid-row: 2;
}
.sf-collage--5 .sf-collage__tile:nth-child(4) {
  grid-column: 3 / span 2;
  grid-row: 2;
}
.sf-collage--5 .sf-collage__tile:nth-child(5) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.sf-feed-post__photo-count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.sf-feed-post__counts {
  display: flex;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  color: var(--sf-feed-muted);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--sf-feed-line);
}
.sf-feed-post__actions {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--sf-feed-line);
}
.sf-feed-post__actions > .sf-react,
.sf-feed-post__actions > button {
  min-width: 0;
}
.sf-feed-post__actions > button,
.sf-feed-post__actions > .sf-react > [data-rw-like] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}
.sf-feed-post__actions > button:hover,
.sf-feed-post__actions > .sf-react > [data-rw-like]:hover {
  background: #f8fafc;
  color: var(--sf-feed-teal);
}
.sf-feed-post__actions > button.is-on,
.sf-feed-post__actions > .sf-react > [data-rw-like].is-on {
  color: #e11d48;
}
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="like"] { color: #2078f4; }
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="love"] { color: #f33e58; }
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="care"],
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="haha"],
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="wow"],
.sf-feed-post__actions [data-rw-like].is-on[data-reaction="sad"] { color: #f7b125; }

/* Facebook-style reaction hover picker */
.sf-react {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.sf-react.is-picker-open {
  z-index: 30;
}
.sf-react__face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
}
.sf-react__face svg {
  width: 1.05rem;
  height: 1.05rem;
}
.sf-react__icon {
  width: 48px !important;
  height: 48px !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.sf-react__icon--btn {
  width: 1.35rem !important;
  height: 1.35rem !important;
}
.sf-react__picker {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.2), 0 2px 8px rgba(15, 23, 42, 0.1);
  transform: translateY(8px) scale(0.92);
  transform-origin: left bottom;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.16s cubic-bezier(0.2, 0.9, 0.3, 1.2), visibility 0.14s;
}
.sf-react.is-picker-open .sf-react__picker {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.sf-react__emoji {
  box-sizing: content-box;
  flex: 0 0 52px;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: none !important;
  min-height: 52px !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: inherit;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.18));
}
.sf-react__emoji:hover,
.sf-react__emoji:focus-visible {
  transform: translateY(-16px) scale(1.35);
  background: transparent !important;
  outline: none;
  z-index: 2;
}

.sf-feed-post__comments {
  padding: 0.85rem 1rem 1rem;
}
.sf-feed-comment-list {
  display: grid;
  gap: 0.75rem;
}
.sf-feed-comment-empty,
.sf-feed-comment-login {
  margin: 0;
  color: var(--sf-feed-muted);
  font-size: 0.82rem;
}
.sf-feed-comment {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
}
.sf-feed-comment__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sf-feed-navy), var(--sf-feed-teal));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}
.sf-feed-comment__head {
  margin: 0;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  font-size: 0.8rem;
}
.sf-feed-comment__head span {
  color: var(--sf-feed-muted);
  font-size: 0.7rem;
}
.sf-feed-comment__body {
  margin: 0.15rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.85rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.sf-feed-comment__delete {
  margin-top: 0.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: #e11d48;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.sf-feed-comment-form {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
}
.sf-feed-comment-form input {
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--sf-feed-line);
  border-radius: 999px;
  background: #f8fafc;
  font: inherit;
  font-size: 0.86rem;
}
.sf-feed-comment-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--sf-feed-teal) 25%, transparent);
  border-color: var(--sf-feed-teal);
}
.sf-feed-comment-form button {
  min-height: 2.4rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--sf-feed-teal);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}
.sf-feed-comment-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sf-feed-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.62);
}
.sf-feed-lightbox[hidden] { display: none !important; }
.sf-feed-lightbox__panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}
.sf-feed-lightbox__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--sf-feed-navy);
  cursor: pointer;
}
.sf-feed-lightbox__gallery { padding: 1rem 1rem 0; }
.sf-feed-lightbox__copy { padding: 1rem 1.2rem 1.3rem; }
.sf-feed-lightbox__copy h2 {
  margin: 0;
  font-family: var(--sf-feed-display);
  color: var(--sf-feed-navy);
}
.sf-feed-lightbox__copy p {
  margin: 0.4rem 0 0;
  color: var(--sf-feed-muted);
  font-size: 0.9rem;
}
.sf-feed-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}
.sf-feed-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .sf-feed-cover { height: 140px; }
  .sf-feed-profile__body { margin-top: -2rem; }
  .sf-feed-avatar { width: 4.5rem; height: 4.5rem; }
  .sf-feed-profile__copy { padding-top: 2.2rem; }
  .sf-feed-guest { flex-direction: column; align-items: flex-start; }
  .sf-feed-top__hello { display: none; }
  .sf-feed-post__actions > button,
  .sf-feed-post__actions > .sf-react > [data-rw-like] { font-size: 0.78rem; }
}
