.social-home { padding: clamp(56px, 7vw, 110px) 0; background: var(--color-bg); color: var(--color-text); }
.social-home__layout { display: grid; grid-template-columns: .9fr 2fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.social-home__eyebrow { font: 500 12px/1.5 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--color-text-muted); }
.social-home h2 { font: 500 clamp(32px, 3.4vw, 52px)/1.06 var(--font-heading); letter-spacing: -.04em; margin: 22px 0; }
.social-home__intro > p { max-width: 31ch; font: 400 15px/1.7 var(--font-body); color: var(--color-text-muted); }
.social-home__profile { display: inline-flex; align-items: center; gap: 24px; margin-top: 24px; padding: 6px 0; border-bottom: 1px solid currentColor; font: 500 14px/1.5 var(--font-body); }
.social-home__gallery { min-width: 0; }
.social-home__rail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--color-text-muted); font: 500 12px/1.5 var(--font-body); text-transform: uppercase; letter-spacing: .12em; }
.social-home__rail-actions { display: flex; gap: 8px; }
.social-home__rail-actions button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: var(--border-subtle); border-radius: 50%; background: var(--color-surface); color: var(--color-text); cursor: pointer; font: 500 18px/1 var(--font-body); transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease; }
.social-home__rail-actions button:hover { background: var(--color-bg-alt); }
.social-home__rail-actions button:active { transform: translateY(1px); }
.social-home__rail-actions button:disabled { cursor: default; opacity: .28; }
.social-home__reels { display: flex; gap: 18px; min-width: 0; padding: 2px 2px 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.24) transparent; }
.social-home__reels::-webkit-scrollbar { height: 6px; }
.social-home__reels::-webkit-scrollbar-track { background: transparent; }
.social-home__reels::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(0,0,0,.24); }
.social-reel { flex: 0 0 clamp(205px, 20vw, 248px); min-width: 0; scroll-snap-align: start; }
.social-reel__cover { position: relative; display: block; aspect-ratio: 9/16; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-text); color: var(--color-surface); isolation: isolate; }
.social-reel__cover::after { position: absolute; content: ''; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.52), transparent 68%); pointer-events: none; }
.social-reel__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease-out-expo); }
.social-reel__badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 20px; background: rgba(0,0,0,.65); font: 500 12px/1.5 var(--font-body); }
.social-reel__badge svg { width: 15px; height: 15px; }
.social-reel__watch { position: absolute; inset: auto 16px 18px; display: flex; justify-content: space-between; z-index: 1; font: 500 13px/1.5 var(--font-body); }
.social-reel__views { position: absolute; top: 14px; right: 14px; z-index: 1; margin: 0; padding: 6px 9px; border-radius: 20px; background: rgba(0,0,0,.65); color: var(--color-surface); font: 500 11px/1.5 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.social-reel__views[hidden] { display: none; }
.social-home__bottom { margin-top: 40px; padding-top: 24px; border-top: var(--border-subtle); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.social-home__copy > p { margin: 0; font: 400 14px/1.7 var(--font-body); color: var(--color-text-muted); }
.social-home__links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-home__links a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: var(--border-subtle); border-radius: 30px; font: 500 13px/1.5 var(--font-body); }
.social-home__network { white-space: nowrap; }
.social-home__count { padding-left: 9px; border-left: var(--border-subtle); color: var(--color-text-muted); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.social-home__count.is-stale { opacity: .68; }
.social-home__count[hidden] { display: none; }
.social-home__arrow { margin-left: 8px; }
.social-home a { transition: transform 180ms ease, opacity 180ms ease; }
.social-home a:hover { opacity: .8; }
.social-home a:active { transform: translateY(1px); }
.social-reel__cover:hover img { transform: scale(1.03); }
.social-home a:focus-visible, .social-home button:focus-visible, .social-home__reels:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 5px; }
@media (max-width: 1000px) {
  .social-home__layout { grid-template-columns: 1fr; }
  .social-home__intro > p { max-width: 52ch; }
  .social-home h2 br { display: none; }
  .social-home__profile { margin-top: 14px; }
}
@media (max-width: 600px) {
  .social-home__rail-actions { display: none; }
  .social-home__reels { gap: 16px; padding: 6px 6px 18px; margin: -6px; }
  .social-reel { flex: 0 0 78%; scroll-snap-align: start; }
  .social-home__bottom { align-items: flex-start; flex-direction: column; margin-top: 24px; }
  .social-home__links { gap: 8px; }
  .social-home__links a { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-home a, .social-home button, .social-reel__cover img { transition: none; }
  .social-home__reels { scroll-behavior: auto; }
}
.social-home .social-reel__cover:focus-visible { border-radius: var(--radius-lg); }
