/* FastFixCell — slim Follow bar above main nav + social feed cards */
/* Capture chips (Instagram: screen/post/reel) are not rendered in this bar. Empty ticker stays hidden. */

:root {
  --social-bar-height: 36px;
}

html {
  scroll-padding-top: calc(var(--nav-height, 64px) + var(--social-bar-height, 36px) + 16px);
}

.social-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: var(--social-bar-height, 36px);
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  overflow-x: clip;
  pointer-events: auto;
}

.social-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-height: 36px;
}

.social-bar-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
  white-space: nowrap;
}

.social-bar-links,
.social-bar-orb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: auto;
}

.social-bar-links a,
.social-bar-orb-chip {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto;
}

.social-bar-links a {
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: transparent;
}

.social-bar-orb-chip {
  color: #fde68a;
  background: transparent;
  border: 1px solid rgba(253, 230, 138, 0.4);
}

.social-bar-links a:hover,
.social-bar-links a:focus-visible {
  background: rgba(37, 99, 235, 0.35);
  color: #fff;
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.social-bar-orb-chip:hover,
.social-bar-orb-chip:focus-visible {
  background: rgba(245, 158, 11, 0.28);
  color: #fff;
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.social-bar-ticker {
  flex: 1 1 220px;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.social-bar-ticker[hidden] {
  display: none !important;
}

.social-bar-ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  align-items: center;
  animation: social-bar-scroll 55s linear infinite;
}

.social-bar-ticker:hover .social-bar-ticker-track,
.social-bar-ticker:focus-within .social-bar-ticker-track {
  animation-play-state: paused;
}

.social-bar-ticker a,
.social-bar-topic {
  color: #cbd5e1;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.social-bar-ticker a:hover,
.social-bar-ticker a:focus-visible,
.social-bar-topic:hover,
.social-bar-topic:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@keyframes social-bar-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .social-bar-ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

.ff-header {
  top: var(--social-bar-height, 36px) !important;
}

.hero {
  padding-top: calc(var(--nav-height, 64px) + var(--social-bar-height, 36px) + 24px) !important;
}

@media (max-width: 720px) {
  :root {
    --social-bar-height: 72px;
  }
  .social-bar-inner {
    justify-content: flex-start;
  }
  .social-bar-ticker {
    flex-basis: 100%;
  }
}

.social-feed {
  background: #f8fafc;
}

.social-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: start;
}

.social-feed-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.social-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.social-card-media {
  display: block;
  margin: -6px -6px 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.social-card-media img,
.social-card-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

.social-card-meta {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.social-card p {
  color: #334155;
  font-size: 15px;
  margin-bottom: 12px;
}

.social-card a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.social-card a:hover,
.social-card a:focus-visible {
  text-decoration: underline;
}

.social-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 24px;
}

.social-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-empty-actions a,
.social-ig-btn,
.social-orb-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.social-orb-chip {
  background: #0f172a;
}

.social-ig-btn {
  background: #111827;
  width: 100%;
  margin-top: 12px;
}

.social-orb-nudge {
  display: none;
}

.social-feed-fallback iframe {
  width: 100%;
  max-width: 340px;
  height: 420px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 860px) {
  .social-feed-layout {
    grid-template-columns: 1fr;
  }
  .social-feed-fallback iframe {
    max-width: 100%;
  }
}
