/* social scene: one idea becomes three native posts */
.social { position: relative; width: 100%; padding: 14px; display: grid; gap: 12px; font-family: var(--sans); color: var(--ink);
  --gx0: -34px; --gy0: 118px; --gx1: -34px; --gy1: 262px; --gx2: 262px; --gy2: 230px; }
.social-rs, .social-rs * { transition: none !important; animation: none !important; }
.social svg { display: block; }

/* idea bar, the bot stays here */
.social-idea { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-2); transition: border-color .5s; }
.social-idea.busy { border-color: rgba(240,80,60,.4); } .social-idea.done { border-color: rgba(61,214,140,.35); }
.social-it { flex: 1; min-width: 0; }
.social-it small { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.social-st { font-style: normal; letter-spacing: 0; text-transform: none; color: var(--mute); transition: color .4s; }
.social-idea.busy .social-st { color: var(--ink); } .social-idea.busy .social-st::after { content: '...'; } .social-idea.done .social-st { color: var(--ok); }
.social-it p { margin-top: 5px; min-height: 22px; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -.01em; white-space: nowrap; }
.social-it u { display: inline-block; width: 2px; height: 16px; margin-left: 2px; vertical-align: -2px; background: var(--ink); text-decoration: none; animation: social-blink .9s steps(2) infinite; }
.social-idea.done .social-it u { opacity: 0; animation: none; }
@keyframes social-blink { 50% { opacity: 0; } }

/* the sentence that travels into each post */
.social-ghost { position: absolute; z-index: 5; left: 76px; top: 41px; padding: 0; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -.01em; white-space: nowrap; color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.55); opacity: 0; pointer-events: none; transform-origin: left center; }
.social-ghost.to0 { animation: social-fly .85s var(--ease) both; --gx: var(--gx0); --gy: var(--gy0); }
.social-ghost.to1 { animation: social-fly .85s var(--ease) both; --gx: var(--gx1); --gy: var(--gy1); }
.social-ghost.to2 { animation: social-fly .85s var(--ease) both; --gx: var(--gx2); --gy: var(--gy2); }
@keyframes social-fly { 0% { opacity: 0; transform: none; filter: blur(0); } 18% { opacity: .95; } 70% { opacity: .7; filter: blur(1px); } 100% { opacity: 0; transform: translate(var(--gx), var(--gy)) scale(.72); filter: blur(5px); } }

/* post slots */
.social-grid { display: grid; grid-template-columns: minmax(0, 1fr) 212px; grid-template-areas: "x ig" "li ig"; gap: 12px; }
.social-x { grid-area: x; } .social-li { grid-area: li; } .social-ig { grid-area: ig; }
.social-slot { position: relative; display: grid; min-width: 0; border-radius: 14px; }
.social-slot::before { content: ''; position: absolute; inset: 0; border-radius: 14px; border: 1px dashed rgba(255,255,255,.14); transition: opacity .4s; }
.social-slot > .social-lg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: .35; filter: grayscale(1) brightness(1.6); transition: opacity .3s; }
.social-slot.social-x > .social-lg path { fill: #fff; }
.social-slot.on::before, .social-slot.on > .social-lg { opacity: 0; }
.social-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: #fff; color: #0F1419; box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Geist', sans-serif; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s, transform .6s var(--ease); }
.social-slot.on .social-card { opacity: 1; transform: none; }
.social-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.social-hd > div { flex: 1; min-width: 0; line-height: 1.2; }
.social-hd b { display: block; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-hd small { display: block; font-size: 10.5px; color: #66717C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-hd .social-lg { flex: none; width: 16px; height: 16px; }
.social-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #FF8A5B, #E0457B); color: #fff; font: 700 12px var(--sans); font-style: normal; }
.social-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.social-ring { width: 26px; height: 26px; font-size: 10.5px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #E1306C; margin: 2px 3px 2px 3px; }
.social-tx { font-size: 13px; line-height: 1.42; letter-spacing: -.003em; }
.social-ln { display: block; } .social-ln + .social-ln { margin-top: 6px; }
.social-w { display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(5px); transition: opacity .35s, filter .45s, transform .45s var(--ease), background-color .6s; transition-delay: calc(var(--k) * 42ms); }
.social-slot.w .social-w { opacity: 1; filter: none; transform: none; }
.social-mk { margin: 0 -2px; padding: 0 2px; border-radius: 3px; font-weight: 600; }
.social-slot.w .social-mk { background-color: #FFE27A; } .social-slot.is-live .social-mk { background-color: rgba(255,226,122,0); transition-delay: 0s; }
.social-act { display: flex; align-items: center; gap: 4px; margin-top: 9px; color: #66717C; font-size: 10.5px; }
.social-act svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-act span { margin-right: 12px; }

/* LinkedIn */
.social-li .social-tx { margin-bottom: 10px; } .social-li .social-tx { font-size: 12px; line-height: 1.45; color: #1D2226; }
.social-li .social-av { border-radius: 50%; background: linear-gradient(140deg, #3B7BD8, #1D4E9E); }
.social-doc { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto -12px -12px; padding: 10px 12px; border-radius: 0 0 14px 14px; background: #12325C; color: #fff; opacity: 0; transition: opacity .5s 1.6s; }
.social-slot.w .social-doc { opacity: 1; }
.social-doc b { display: block; font: 400 17px/1.1 var(--serif); letter-spacing: .005em; } .social-doc small { display: block; margin-top: 3px; font-size: 9.5px; opacity: .7; }
.social-doc span { flex: none; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 9.5px; white-space: nowrap; }

/* Instagram */
.social-ig .social-card { padding: 0; overflow: hidden; }
.social-ig .social-hd { padding: 8px 10px; margin: 0; }
.social-im { position: relative; aspect-ratio: 1; background: #E9E4DC; overflow: hidden; }
.social-im > div { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #FFB36B 0%, rgba(255,179,107,0) 55%), linear-gradient(160deg, #F2643D 0%, #C92B5A 100%); opacity: 0; filter: blur(14px) saturate(.3); transform: scale(1.08); transition: opacity .6s, filter 1.3s, transform 1.4s var(--ease); }
.social-slot.w .social-im > div { opacity: 1; filter: none; transform: none; }
.social-im small { font: 600 8.5px var(--sans); letter-spacing: .16em; opacity: .85; }
.social-im b { margin-top: auto; font: 400 34px/.98 var(--serif); letter-spacing: -.01em; } .social-im b i { font-style: italic; opacity: .78; }
.social-im span { margin-top: 10px; font-size: 9.5px; font-weight: 500; opacity: .85; }
.social-iga { margin: 0; padding: 8px 10px 0; gap: 10px; color: #0F1419; } .social-iga svg { width: 17px; height: 17px; } .social-iga s { flex: 1; }
.social-cp { padding: 6px 10px 10px; font-size: 11px; line-height: 1.35; } .social-cp > b { font-weight: 700; } .social-cp .social-ln { display: inline; }

.social-posted { position: absolute; z-index: 3; right: 38px; top: -11px; display: flex; align-items: center; gap: 3px; height: 22px; padding: 0 9px 0 5px; border-radius: 999px; background: var(--ok); color: #06140D; font: 600 10.5px var(--sans); box-shadow: 0 6px 14px -4px rgba(0,0,0,.6); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
.social-posted svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.social-slot.is-live .social-posted { opacity: 1; transform: none; }
.social-ig .social-card { overflow: visible; } .social-ig .social-im { border-radius: 0; } .social-ig .social-cp { border-radius: 0 0 14px 14px; }

.social-out { justify-self: center; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px 6px 10px; border-radius: 999px; background: var(--ok-bg); border: 1px solid rgba(61,214,140,.3); font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.social-out.on { opacity: 1; transform: none; } .social-out b { font-weight: 600; color: var(--ok); }
.social-out svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok); fill: none; stroke: #06140D; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
  .social { padding: 10px; gap: 10px; --gx0: -40px; --gy0: 104px; --gx1: -46px; --gy1: 250px; --gx2: 120px; --gy2: 290px; }
  .social-idea { padding: 8px 10px 8px 8px; gap: 9px; border-radius: 14px; } .social-idea .aria { --s: 34px !important; }
  .social-it small { font-size: 9px; letter-spacing: .05em; } .social-it p, .social-ghost { font-size: 13.5px; }
  .social-ghost { left: 61px; top: 33px; }
  .social-grid { grid-template-columns: minmax(0, 1fr) 138px; grid-template-areas: "x x" "li ig"; gap: 9px; }
  .social-card { padding: 10px; } .social-tx { font-size: 12.5px; }
  .social-li .social-hd .social-lg { display: none; } .social-li .social-av { width: 26px; height: 26px; font-size: 11px; }
  .social-li .social-tx { font-size: 10.5px; line-height: 1.4; } .social-ln + .social-ln { margin-top: 5px; }
  .social-posted { right: 12px; top: -13px; }
  .social-li .social-tx { margin-bottom: 8px; }
  .social-doc { margin: auto -10px -10px; padding: 8px 10px; } .social-doc b { font-size: 13.5px; } .social-doc span { display: none; }
  .social-ig .social-hd { padding: 6px 8px; } .social-ig .social-hd b { font-size: 11px; } .social-ig .social-hd .social-lg { display: none; }
  .social-ring { width: 20px; height: 20px; font-size: 9px; }
  .social-im > div { padding: 11px; } .social-im b { font-size: 23px; } .social-im small { font-size: 7px; } .social-im span { font-size: 8px; margin-top: 6px; }
  .social-iga { padding: 6px 8px 0; gap: 8px; } .social-iga svg { width: 15px; height: 15px; }
  .social-cp { padding: 5px 8px 8px; font-size: 9.5px; }
  .social-out { font-size: 12.5px; }
}
