/* services/social-content.css: the Social & content page (prefix soc-).
   Blue marketing side; the Inbox is Rufen's engineering offering, so it is orange. */

/* ---- Hero art: three calm cards drifting, no ribbons ---- */
.soc-hero-art { position: relative; height: 400px; pointer-events: none; }
.soc-h {
  position: absolute; width: 190px; padding: 12px; border-radius: 16px;
  background: var(--mkt-glass-strong); border: 1px solid var(--mkt-edge);
  box-shadow: var(--mkt-shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 8px;
}
.soc-h::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mkt-sheen); pointer-events: none; }
.soc-h--post { left: 4%; top: 6%; transform: rotate(-5deg); }
.soc-h--article { right: 4%; top: 30%; width: 210px; transform: rotate(4deg); }
.soc-h--video { left: 18%; bottom: 4%; width: 200px; transform: rotate(-2deg); }
.soc-h-media { height: 86px; border-radius: 10px; background: linear-gradient(135deg, var(--med-sea), var(--med)); }
.soc-h-media--v { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, var(--med), var(--med-deep)); }
.soc-h-play { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; }
.soc-h-play svg { width: 14px; height: 14px; fill: var(--med); margin-left: 2px; }
.soc-h-line { height: 7px; border-radius: 5px; background: var(--mkt-accent-soft); box-shadow: inset 0 0 0 1px var(--mkt-hairline); }
.soc-h-line--s { width: 60%; }
.soc-h-line--t { height: 10px; width: 80%; background: var(--mkt-accent-line); }
.soc-h-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mkt-accent); }
.soc-h-heart { width: 16px; height: 16px; fill: var(--med-sea); align-self: flex-end; }
.soc-h-bar { height: 4px; border-radius: 4px; background: var(--mkt-accent-soft); overflow: hidden; }
.soc-h-bar i { display: block; height: 100%; width: 45%; background: linear-gradient(90deg, var(--med), var(--med-sea)); border-radius: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .soc-h--post { animation: socDriftA 9s ease-in-out infinite; }
  .soc-h--article { animation: socDriftB 11s ease-in-out infinite; }
  .soc-h--video { animation: socDriftA 10s ease-in-out -4s infinite; }
  .soc-h-bar i { animation: socBar 6s linear infinite; }
  .soc-h-heart { animation: socBeat 3.2s ease-in-out infinite; }
}
@keyframes socDriftA { 50% { translate: 0 -12px; } }
@keyframes socDriftB { 50% { translate: 0 10px; } }
@keyframes socBar { from { width: 4%; } to { width: 96%; } }
@keyframes socBeat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
@media (max-width: 992px) { .soc-hero-art { display: none; } }

/* ---- The live feed ---- */
.soc-stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px; padding: 28px; align-items: stretch;
}
.soc-col { position: relative; min-width: 0; }
.soc-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.soc-pause {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--mkt-glass-strong); border: 1px solid var(--mkt-edge); box-shadow: 0 0 0 1px var(--mkt-hairline);
  color: var(--mkt-accent);
}
.soc-pause svg { width: 14px; height: 14px; fill: currentColor; }
.soc-pause:hover { border-color: var(--mkt-accent-line); }
.soc-pause:focus-visible, .soc-feed:focus-visible { outline: 2px solid var(--med-sea); outline-offset: 3px; }
.soc-pause[hidden] { display: none; }
.soc-feed {
  position: relative; height: 440px; overflow: hidden; border-radius: 16px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.soc-track { display: flex; flex-direction: column; gap: 16px; padding: 0 4px; will-change: transform; }
.soc-card {
  position: relative; padding: 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--mkt-glass-strong); border: 1px solid var(--mkt-edge);
  box-shadow: var(--mkt-shadow); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.soc-card:hover { transform: translateY(-2px); }
.soc-card header { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.soc-card header b { font-weight: 600; color: var(--mkt-text); }
.soc-card header em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mkt-accent); }
.soc-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--med), var(--med-sea)); flex: none; }
.soc-card p, .soc-card h4 { margin: 0; color: var(--mkt-text); font-size: 0.92rem; line-height: 1.45; }
.soc-card h4 { font-family: var(--font-display); font-size: 1.02rem; }
.soc-media { position: relative; height: 130px; border-radius: 10px; overflow: hidden; display: block; }
.soc-media--a { background: linear-gradient(135deg, #7cc6ee, #2a9fd6 60%, #0f5fa6); }
.soc-media--b { background: linear-gradient(135deg, #0f5fa6, #0a3d6b); }
.soc-media--c { background: linear-gradient(160deg, #cfe4f6, #2a9fd6 70%, #0f5fa6); }
.soc-media--d { background: linear-gradient(135deg, #2a9fd6, #0a3d6b); }
.soc-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; }
.soc-play svg { width: 16px; height: 16px; fill: var(--med); margin-left: 2px; }
.soc-vbar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); overflow: hidden; }
.soc-vbar i { display: block; height: 100%; width: 40%; background: #fff; }
.soc-lines { display: grid; gap: 6px; }
.soc-lines i { height: 7px; border-radius: 5px; background: var(--mkt-accent-soft); box-shadow: inset 0 0 0 1px var(--mkt-hairline); }
.soc-lines i.s { width: 55%; }
.soc-card footer { display: flex; align-items: center; gap: 12px; color: var(--mkt-text-2); font-size: 0.78rem; }
.soc-card footer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.soc-read { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; margin-right: auto; }
.soc-like { display: inline-flex; }
.soc-card.is-liked .soc-like svg { fill: var(--med-sea); stroke: var(--med-sea); }
.soc-card.is-liked { box-shadow: var(--mkt-shadow), 0 0 0 2px var(--mkt-accent-line); }
@media (prefers-reduced-motion: no-preference) {
  .soc-card.is-liked .soc-like svg { animation: socPop 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes socPop { 0% { transform: scale(0.6); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* ---- The Inbox: orange, because it is Rufen's engineering side ---- */
.soc-col--inbox { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.soc-inbox {
  border-radius: 18px; padding: 16px; background: linear-gradient(160deg, rgba(255,132,24,0.14), rgba(255,255,255,0.5) 60%);
  border: 1px solid rgba(255,107,0,0.38); box-shadow: 0 14px 34px -18px rgba(255,107,0,0.5);
}
.soc-inbox-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.soc-inbox-name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #ff6b00; }
.soc-inbox-name svg { width: 20px; height: 20px; }
.soc-ex { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mkt-text-2); }
.soc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.soc-row {
  display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; row-gap: 2px; padding: 10px 12px; border-radius: 12px;
  background: var(--mkt-glass-strong); border: 1px solid var(--mkt-edge); box-shadow: 0 0 0 1px var(--mkt-hairline);
}
.soc-row-dot { grid-row: 1 / 3; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #ff6b00; box-shadow: 0 0 8px rgba(255,107,0,0.7); }
.soc-row-src { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6b00; }
.soc-row-msg { font-size: 0.9rem; color: var(--mkt-text); line-height: 1.35; }
.soc-row.is-new { animation: socRowIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.soc-row.is-out { opacity: 0; transition: opacity 0.4s ease; }
@keyframes socRowIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: none; } }
.soc-note { margin: 0; font-size: 0.78rem; color: var(--mkt-text-2); text-align: center; }
.soc-fly {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; z-index: 5; pointer-events: none;
  background: #ff6b00; box-shadow: 0 0 14px rgba(255,107,0,0.9);
}

/* ---- Scope ---- */
.soc-scope { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.soc-scope-item { padding: 6px 4px; text-align: center; }
.soc-scope-item svg { width: 24px; height: 24px; color: var(--mkt-accent); }
.soc-scope-item h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.soc-scope-item p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--text-secondary); }

/* ---- Joined up ---- */
.soc-join { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; }
.soc-join-copy { max-width: 520px; }
.soc-join-copy .section-title { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); text-align: left; }
.soc-join-copy p { margin: 0 0 12px; color: var(--text-secondary); }
.soc-join-node {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(160deg, rgba(255,132,24,0.16), rgba(255,255,255,0.5)); border: 1px solid rgba(255,107,0,0.4);
  box-shadow: 0 14px 34px -18px rgba(255,107,0,0.5); color: #ff6b00; transition: transform 0.3s ease;
}
.soc-join-node:hover { transform: translateY(-3px); }
.soc-join-node svg { width: 26px; height: 26px; }
.soc-join-node span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.soc-join-node small { font-family: var(--font-body, inherit); font-weight: 400; font-size: 0.78rem; color: var(--mkt-text-2); }

@media (max-width: 900px) {
  .soc-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 18px; }
  .soc-feed { height: 360px; }
  .soc-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soc-join { flex-direction: column; align-items: flex-start; padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .soc-card, .soc-join-node { transition: none; }
}

/* ---- RFACE content (real articles, videos and project photos) ---- */
.soc-hero-art .soc-h--video { pointer-events: auto; }
.soc-h--post { width: 200px; }
.soc-h--article { width: 230px; }
.soc-h--video { width: 214px; }
.soc-h-acct { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--mkt-text); }
.soc-h-acct b { font-weight: 700; letter-spacing: 0.04em; }
.soc-h-acct em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mkt-accent); }
.soc-h-acct .soc-av, .soc-card .soc-av { width: 24px; height: 24px; border-radius: 7px; background: none; object-fit: cover; }
.soc-h-img { display: block; width: 100%; height: 96px; object-fit: cover; border-radius: 10px; }
.soc-h-cap { font-size: 0.74rem; line-height: 1.4; color: var(--mkt-text); }
.soc-h-read { position: relative; height: 172px; overflow: hidden; border-radius: 10px;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.soc-h-scroll { display: flex; flex-direction: column; gap: 7px; }
.soc-h-scroll .soc-h-img { height: 82px; }
.soc-h-title { font-family: var(--font-display); font-size: 0.86rem; line-height: 1.25; color: var(--mkt-text); }
.soc-h-scroll p { margin: 0; font-size: 0.72rem; line-height: 1.5; color: var(--mkt-text-2); }
.soc-h-media--v { position: relative; height: 112px; padding: 0; border: 0; overflow: hidden; cursor: pointer; display: grid; place-items: center; }
.soc-h-media--v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc-h-media--v .soc-h-play { position: relative; z-index: 1; transition: transform 0.2s ease; }
.soc-h-media--v:hover .soc-h-play { transform: scale(1.08); }
.soc-h-media--v:focus-visible, .soc-media--v:focus-visible { outline: 2px solid var(--med-sea); outline-offset: 2px; }
.soc-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .soc-h-scroll { animation: socRead 16s ease-in-out 1s infinite alternate; }
}
@keyframes socRead { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 172px)); } }

.soc-brand { display: block; height: 34px; width: auto; }
.soc-brand--light { display: none; }
html.mkt-dark .soc-brand--dark { display: none; }
html.mkt-dark .soc-brand--light { display: block; }
.soc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc-media--v { width: 100%; padding: 0; border: 0; cursor: pointer; background: #1f2428; }
.soc-media--v .soc-play { z-index: 1; }
/* The feed is a real scroll box now: wheel, touch and drag all work, and it
   carries on by itself when left alone. The scrollbar stays out of sight. */
.soc-feed { overflow-y: auto; scrollbar-width: none; touch-action: pan-y; cursor: grab; }
.soc-feed::-webkit-scrollbar { display: none; }
.soc-feed.is-dragging { cursor: grabbing; user-select: none; }
.soc-track { will-change: auto; }
/* Real content needs room: three cards fanned with only light overlap. */
.soc-hero-art { height: 470px; }
.soc-h--post { left: 0; top: 0; z-index: 1; }
.soc-h--article { left: auto; right: 0; top: 66px; z-index: 2; }
.soc-h--video { left: 36px; top: 262px; bottom: auto; z-index: 3; }
/* The site footer's styles leak onto any <footer>; the cards' like row is not one. */
.soc-card footer { padding: 0 !important; margin: 0; background: none !important; border: 0 !important; box-shadow: none; position: static; z-index: auto; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
/* Self-hosted clips fill their frame like the photos do. */
.soc-h-media--v video, .soc-media--v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.soc-h-media--v { cursor: default; }
.soc-media--v .soc-vbar { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .soc-media--v .soc-vbar i { animation: socBar 15s linear infinite; }
}
/* Show each image and clip whole, as a real post would, so the RFACE badge
   in its corner is never cropped away. */
.soc-media { height: auto; aspect-ratio: 3 / 2; }
.soc-media--v { aspect-ratio: 16 / 9; }
.soc-h-img, .soc-h-scroll .soc-h-img { height: auto; aspect-ratio: 3 / 2; }
.soc-h-media--v { height: auto; aspect-ratio: 16 / 9; }

/* ---- Manual scroll: a slim, visible scrollbar on the feed ---- */
.soc-feed { scrollbar-width: thin; scrollbar-color: var(--mkt-accent-line) transparent; padding-right: 6px; }
.soc-feed::-webkit-scrollbar { display: block; width: 8px; }
.soc-feed::-webkit-scrollbar-track { background: transparent; }
.soc-feed::-webkit-scrollbar-thumb { background: var(--mkt-accent-line); border-radius: 8px; }
.soc-feed::-webkit-scrollbar-thumb:hover { background: var(--med-sea); }

/* ---- Like, comment, ask ---- */
.soc-card footer { flex-wrap: wrap; }
.soc-act {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; margin: -4px 0;
  border: 0; border-radius: 999px; background: none; color: var(--mkt-text-2);
  font: 600 0.76rem var(--font-body, inherit); cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.soc-act:hover { background: var(--mkt-accent-soft); color: var(--mkt-accent); }
.soc-act:focus-visible { outline: 2px solid var(--med-sea); outline-offset: 2px; }
.soc-act svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.soc-like[aria-pressed="true"] { color: var(--med-sea); }
.soc-like[aria-pressed="true"] svg { fill: var(--med-sea); stroke: var(--med-sea); }
@media (prefers-reduced-motion: no-preference) {
  .soc-like[aria-pressed="true"] svg { animation: socPop 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
}
.soc-cmt[aria-expanded="true"], .soc-ask[aria-expanded="true"] { background: var(--mkt-accent-soft); color: var(--mkt-accent); }
.soc-card footer .soc-read + .soc-act { margin-left: auto; }

.soc-thread { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--mkt-hairline); }
.soc-thread[hidden], .soc-say[hidden] { display: none; }
.soc-comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.soc-comments:empty { display: none; }
.soc-c { display: grid; gap: 1px; padding: 7px 10px; border-radius: 12px; background: var(--mkt-accent-soft); font-size: 0.82rem; line-height: 1.4; color: var(--mkt-text); }
.soc-c b { font-size: 0.72rem; color: var(--mkt-accent); }
.soc-c.is-q b::after { content: " · question"; font-weight: 500; color: var(--mkt-text-2); }
.soc-c.is-biz { background: rgba(255, 107, 0, 0.08); }
.soc-c.is-biz b { color: #ff6b00; }
@media (prefers-reduced-motion: no-preference) { .soc-c { animation: socRowIn 0.45s cubic-bezier(0.16, 1, 0.3, 1); } }
.soc-say { display: flex; gap: 6px; }
.soc-say input {
  flex: 1; min-width: 0; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--mkt-edge); background: var(--mkt-glass-strong); color: var(--mkt-text); font: inherit; font-size: 0.84rem;
}
.soc-say input:focus { outline: 2px solid var(--med-sea); outline-offset: 1px; }
.soc-say button {
  height: 34px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--med), var(--med-sea)); color: #fff; font: 600 0.8rem var(--font-body, inherit);
}
.soc-row.is-you .soc-row-src::after { content: " · you"; }

/* Branded media: each image and clip carries the RFACE strip along its bottom
   edge, so show it whole at its own shape. */
.soc-media, .soc-h-img, .soc-h-scroll .soc-h-img { aspect-ratio: 640 / 475; }
.soc-media--v, .soc-h-media--v { aspect-ratio: 720 / 460; }

/* Scroll rail: drawn by us so it is always visible (Mac hides native scrollbars). */
.soc-feed { scrollbar-width: none; padding-right: 14px; }
.soc-feed::-webkit-scrollbar { display: none; }
.soc-rail { position: absolute; right: 0; width: 8px; border-radius: 8px; background: var(--mkt-accent-soft); cursor: pointer; touch-action: none; }
.soc-rail-thumb { position: absolute; left: 0; right: 0; top: 0; border-radius: 8px; background: var(--mkt-accent-line); transition: background 0.2s ease; }
.soc-rail:hover .soc-rail-thumb, .soc-rail.is-dragging .soc-rail-thumb { background: var(--med-sea); }
@media (prefers-reduced-motion: reduce) {
  .soc-feed { scrollbar-width: thin; }
  .soc-feed::-webkit-scrollbar { display: block; width: 8px; }
}

/* ---- Beacon: a comment or question travels to the Inbox ---- */
.soc-c.is-sent { box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.45), 0 0 18px rgba(255, 107, 0, 0.25); transition: box-shadow 0.6s ease; }
.soc-fly--you { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.22), 0 0 18px rgba(255, 107, 0, 0.95); }
.soc-ping {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid #ff6b00; z-index: 5; pointer-events: none; opacity: 0;
}
.soc-inbox.is-ping { box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.35), 0 18px 40px -18px rgba(255, 107, 0, 0.55); transition: box-shadow 0.3s ease; }
@media (prefers-reduced-motion: no-preference) {
  .soc-ping { animation: socPing 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .soc-inbox.is-ping .soc-inbox-name svg { animation: socPop 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes socPing { 0% { opacity: 0.9; scale: 0.6; } 100% { opacity: 0; scale: 3.2; } }

/* ===== Dark mode ===== */

/* ===== Dark mode (html[data-theme="dark"]) ===== */
:root[data-theme="dark"] .soc-h{ -webkit-backdrop-filter:none; backdrop-filter:none; }
:root[data-theme="dark"] .soc-pause{ box-shadow:none; }
:root[data-theme="dark"] .soc-card.is-liked{ box-shadow:0 0 0 1px var(--blue-text); }
/* the Inbox is Rufen's own product: an orange-edged plate inside the stage */
:root[data-theme="dark"] .soc-inbox{ background:var(--dk-s3); border-color:var(--dk-edge); box-shadow:none; }
:root[data-theme="dark"] .soc-inbox.is-ping{ border-color:#f39d5e; box-shadow:none; }
:root[data-theme="dark"] .soc-inbox-name,:root[data-theme="dark"] .soc-row-src,:root[data-theme="dark"] .soc-c.is-biz b{ color:var(--orange-text); }
:root[data-theme="dark"] .soc-row{ background:var(--dk-s4); border-color:var(--dk-line-3); box-shadow:none; }
:root[data-theme="dark"] .soc-row-dot{ background:#f39d5e; box-shadow:none; }
:root[data-theme="dark"] .soc-c.is-biz{ background:var(--dk-s4); }
:root[data-theme="dark"] .soc-c.is-sent{ box-shadow:0 0 0 1px #f39d5e; }
:root[data-theme="dark"] .soc-fly,:root[data-theme="dark"] .soc-fly--you{ background:#f39d5e; box-shadow:none; }
:root[data-theme="dark"] .soc-ping{ border-color:#f39d5e; }
:root[data-theme="dark"] .soc-say input{ background:var(--dk-s1); border-color:var(--dk-control); color:var(--text-primary); }
:root[data-theme="dark"] .soc-say button{ background:var(--btn-mkt); color:#fff; }
:root[data-theme="dark"] .soc-rail{ background:var(--dk-s1); }
:root[data-theme="dark"] .soc-rail-thumb{ background:var(--dk-edge); }
:root[data-theme="dark"] .soc-rail:hover .soc-rail-thumb,:root[data-theme="dark"] .soc-rail.is-dragging .soc-rail-thumb{ background:var(--dk-control); }
/* a video poster inside an s2+ card is a media frame, not a stage (design system c5) */
:root[data-theme="dark"] .soc-media--v{ background:var(--dk-deep); }
:root[data-theme="dark"] .soc-media--v:not(:focus-visible){ outline:1px solid var(--dk-line-3); outline-offset:-1px; }
:root[data-theme="dark"] .soc-media--v :is(video,img){ filter:brightness(.92) contrast(1.03); }
:root[data-theme="dark"] .soc-join-node{ background:var(--dk-s2); border-color:var(--dk-edge); box-shadow:none; color:var(--orange-text); }
:root[data-theme="dark"] .soc-join-node:hover{ background:var(--dk-s3); border-color:#f39d5e; box-shadow:none; }
/* the site-wide dark <footer> rule leaks onto the feed cards' like row: keep it flat (same !important weight, one class heavier) */
:root[data-theme="dark"] .soc-card footer{ background:none !important; border:0 !important; }
