/* instiv2 social.css: reviews (wall, marquee, strip), YouTube facades, the walkthrough player (modal and inline).
   Pairs with social.js. Light is the default; dark follows html[data-theme="dark"] or data-tone="dark" on the host. */

.soc {
  --s-text: var(--page-text, #0B1220); --s-muted: var(--page-muted, rgba(11,18,32,.66)); --s-faint: var(--page-faint, rgba(11,18,32,.45));
  --s-line: var(--page-line, rgba(11,18,32,.1)); --s-card: var(--page-2, #fff); --s-glass: rgba(255,255,255,.72);
  --s-star: #E3A21A; --s-google: #2F6FEB; --s-whatsapp: #17955A; --s-apple: #8A4FE0;
  --s-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -36px rgba(5,8,15,.28);
  --s-ease: var(--ease, cubic-bezier(.2,.7,.1,1));
  color: var(--s-text);
}
html[data-theme="dark"] .soc, .soc[data-tone="dark"] {
  --s-text: #F2F5FB; --s-muted: rgba(226,233,246,.68); --s-faint: rgba(226,233,246,.42);
  --s-line: rgba(214,226,255,.14); --s-card: rgba(13,21,40,.78); --s-glass: rgba(10,18,34,.55);
  --s-star: #F5C451; --s-google: #7FB2FF; --s-whatsapp: #3DDC97; --s-apple: #C39BFF;
  --s-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 80px -40px rgba(0,0,0,.7);
}
.soc *, .soc-wt * { box-sizing: border-box; }

/* ---------- stars, glyphs, avatars ---------- */
.soc-stars { display: inline-flex; gap: 2px; color: var(--s-star); line-height: 0; }
.soc-stars svg { width: 14px; height: 14px; fill: currentColor; }
.soc-stars.lg svg { width: 22px; height: 22px; }
.soc-src { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; color: var(--s-muted); }
.soc-src svg, .soc-chip svg { width: 15px; height: 15px; flex: none; }
[data-src="google"] .soc-src svg, .soc-chip[data-f="google"] svg { color: var(--s-google); }
[data-src="whatsapp"] .soc-src svg, .soc-chip[data-f="whatsapp"] svg { color: var(--s-whatsapp); }
[data-src="apple"] .soc-src svg, .soc-chip[data-f="apple"] svg { color: var(--s-apple); }
.soc-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 600 13px/1 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: .02em; color: #fff;
  /* P1: the white initials need a deeper ground: the top highlight is softer and the greens and violets darker */
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.16), rgba(255,255,255,0) 50%), var(--av, #4A6CAA); box-shadow: 0 0 0 3px var(--s-card), 0 6px 16px -6px rgba(5,8,15,.5); }
[data-src="google"] .soc-av { --av: linear-gradient(135deg, #3A72E0, #2149B8); }
[data-src="whatsapp"] .soc-av { --av: linear-gradient(135deg, #17955A, #0E6B3C); }
[data-src="apple"] .soc-av { --av: linear-gradient(135deg, #8C52E6, #5A22BD); }

/* ---------- a review card ---------- */
.soc-card { position: relative; margin: 0; padding: 22px 22px 20px; border-radius: 22px; background: var(--s-card); box-shadow: 0 0 0 1px var(--s-line), var(--s-shadow);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden; isolation: isolate; transition: transform .6s var(--s-ease), box-shadow .4s; }
.soc-card::before { content: "\201C"; position: absolute; right: 16px; top: -8px; z-index: -1; font: 700 110px/1 Georgia, "Times New Roman", serif; color: var(--s-text); opacity: .05; }
.soc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(127,178,255,.16), transparent 70%); }
.soc-card:hover { transform: translateY(-4px); }
.soc-card:hover::after { opacity: 1; }
.soc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.soc-card blockquote { margin: 0; }
.soc-card blockquote p { margin: 0; font-size: 15.5px; line-height: 1.6; letter-spacing: -0.005em; color: var(--s-text); }
.soc-card figcaption { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; margin-top: auto; padding-top: 4px; }
.soc-card figcaption .soc-av { grid-row: span 2; }
.soc-card figcaption b { font-size: 14.5px; font-weight: 650; }
.soc-card figcaption span { font-size: 12.5px; color: var(--s-muted); }
.soc-card-lead blockquote p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; }
/* cascade */
.soc-card { opacity: 0; transform: translate3d(0, 34px, 0) scale(.98); transition: opacity .7s var(--s-ease) var(--d, 0s), transform .9s var(--s-ease) var(--d, 0s), box-shadow .4s; }
.soc-card.is-in { opacity: 1; transform: none; }
.soc-card.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
.soc-mq .soc-card { opacity: 1; transform: none; }

/* ---------- ratings summary ---------- */
.soc-sum { position: relative; padding: 30px 28px 26px; border-radius: 28px; background: var(--s-card); box-shadow: 0 0 0 1px var(--s-line), var(--s-shadow); overflow: hidden; isolation: isolate; }
.soc-sum::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 120%; height: 90%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,196,81,.20), rgba(245,196,81,0)), radial-gradient(closest-side at 30% 70%, rgba(127,178,255,.18), rgba(127,178,255,0)); filter: blur(10px); }
.soc-score { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; }
.soc-big { font: 700 clamp(80px, 7.6vw, 120px)/.82 Inter, system-ui, sans-serif; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.soc-score span { padding-bottom: 6px; font-size: 15px; line-height: 1.3; color: var(--s-muted); }
.soc-bars { display: grid; gap: 10px; margin: 22px 0 0; }
.soc-bar { display: grid; grid-template-columns: 96px 1fr 30px; gap: 12px; align-items: center; font-size: 13px; color: var(--s-muted); }
.soc-bar i { position: relative; height: 8px; border-radius: 99px; background: var(--s-line); overflow: hidden; }
.soc-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #F5C451, #E3A21A); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--s-ease); }
.soc-bar + .soc-bar i::after { background: linear-gradient(90deg, rgba(127,178,255,.7), #7FB2FF); transition-delay: .2s; }
.soc-bars.is-in .soc-bar i::after { transform: none; }
.soc-bar b { font: 600 13px/1 "JetBrains Mono", monospace; color: var(--s-text); text-align: right; }
.soc-facts { list-style: none; margin: 22px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--s-line); }
.soc-facts b { display: block; font: 650 24px/1.1 Inter, system-ui, sans-serif; letter-spacing: -0.03em; }
.soc-facts span { display: block; line-height: 1.35; font-size: 12.5px; color: var(--s-muted); }
.soc-note { margin: 18px 0 0; font: 400 11.5px/1.5 "JetBrains Mono", monospace; color: var(--s-faint); }

/* ---------- the wall ---------- */
.soc-wall { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 52px); align-items: start; }
.soc-wall > .soc-sum { position: sticky; top: calc(var(--hdr, 68px) + 24px); }
.soc-main { min-width: 0; }
.soc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.soc-chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-glass); color: var(--s-text);
  font: 600 13.5px/1 Inter, system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .3s, border-color .3s, color .3s; }
.soc-chip b { font: 500 11.5px/1 "JetBrains Mono", monospace; padding: 4px 7px; border-radius: 99px; background: var(--s-line); }
.soc-chip:hover { border-color: var(--s-faint); }
.soc-chip[aria-pressed="true"] { background: var(--s-text); color: var(--s-card); border-color: var(--s-text); }
html[data-theme="dark"] .soc-chip[aria-pressed="true"], .soc[data-tone="dark"] .soc-chip[aria-pressed="true"] { color: #05080F; }
.soc-chip[aria-pressed="true"] b { background: rgba(127,140,160,.28); }
.soc-chip[aria-pressed="true"] svg { color: inherit !important; }
.soc-grid { columns: 3 260px; column-gap: 16px; }
.soc-grid > .soc-card { break-inside: avoid; margin: 0 0 16px; display: flex; }
.soc-grid > .soc-card[hidden] { display: none; }

/* ---------- marquee ---------- */
.soc-mq-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin: 0 auto 26px; padding: 0 20px; font-size: 14px; color: var(--s-muted); }
.soc-mq-head b { color: var(--s-text); font-weight: 650; }
.soc-mq { position: relative; display: grid; gap: 16px; overflow: hidden; outline-offset: -4px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.soc-mq-track { overflow: hidden; }
.soc-mq-row { display: flex; width: max-content; gap: 16px; padding: 4px 0 6px; animation: socMq var(--dur, 60s) linear infinite; will-change: transform; }
.soc-mq-row.rev { animation-direction: reverse; }
.soc-mq-row > .soc-card { width: 360px; flex: none; }
.soc-mq:hover .soc-mq-row, .soc-mq:focus-within .soc-mq-row, .soc-mq:focus .soc-mq-row, .soc-mq.is-held .soc-mq-row, .soc-mq.is-off .soc-mq-row { animation-play-state: paused; }
@keyframes socMq { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- strip ---------- */
.soc-strip { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: stretch; }
.soc-sum-c { display: flex; flex-direction: column; justify-content: center; padding: 26px 24px; }
.soc-sum-l { margin: 14px 0 0; font-size: 15px; line-height: 1.35; color: var(--s-muted); }
.soc-sum-l b { display: block; margin-bottom: 4px; font: 700 64px/.9 Inter, system-ui, sans-serif; letter-spacing: -0.05em; color: var(--s-text); }
.soc-sum-c .soc-facts { margin-top: 18px; padding-top: 14px; }
.soc-sum-c .soc-facts b { font-size: 20px; }
.soc-sc-wrap { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.soc-sc { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: 4px; }
.soc-sc::-webkit-scrollbar { display: none; }
.soc-sc > .soc-card { scroll-snap-align: start; }
.soc-sc-nav { display: flex; justify-content: flex-end; gap: 8px; }
.soc-sc-nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-text); cursor: pointer; }
.soc-sc-nav svg { width: 18px; height: 18px; }
.soc-strip.is-spot .soc-sc { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
.soc-card-xl { padding: clamp(26px, 3vw, 44px); justify-content: center; }
.soc-card-xl blockquote p { font-size: clamp(20px, 2vw, 30px); line-height: 1.38; letter-spacing: -0.02em; font-weight: 500; }
.soc-card-xl::before { font-size: 220px; right: 28px; top: -24px; opacity: .06; }

/* ---------- YouTube facade ---------- */
.soc-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; isolation: isolate; color: #F2F5FB; background: #05080F; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(214,226,255,.10), 0 40px 80px -40px rgba(5,8,15,.6); transform: translateZ(0); }
.soc-yt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--s-ease, cubic-bezier(.2,.7,.1,1)), filter .6s; filter: saturate(.92); }
.soc-yt:hover > img, .soc-yt:focus-visible > img { transform: scale(1.05); filter: saturate(1.05); }
.soc-yt-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,15,.96) 0%, rgba(5,8,15,.72) 30%, rgba(5,8,15,.2) 58%, rgba(5,8,15,0) 75%), radial-gradient(60% 60% at 50% 50%, rgba(5,8,15,0), rgba(5,8,15,.25)); }
.soc-yt::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 70%); }
.soc-yt:hover::after { opacity: 1; }
.soc-play { position: absolute; left: 50%; top: 46%; width: clamp(58px, 6vw, 84px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 1px 0 rgba(255,255,255,.5), 0 18px 40px -10px rgba(0,0,0,.55); transition: transform .5s var(--s-ease, ease), background .3s; }
.soc-play svg { width: 34%; margin-left: 8%; fill: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.soc-yt:hover .soc-play, .soc-yt:focus-visible .soc-play { transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,.26); }
.soc-yt.is-out .soc-play svg { width: 30%; margin-left: 0; }
.soc-yt-cap { position: absolute; left: clamp(14px, 1.8vw, 26px); right: clamp(14px, 1.8vw, 26px); bottom: clamp(12px, 1.6vw, 22px); display: grid; gap: 6px; text-align: left; }
.soc-yt-cap small { font: 500 11px/1.3 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(226,233,246,.72); }
.soc-yt-cap b { font: 650 clamp(15px, 1.25vw, 19px)/1.2 Inter, system-ui, sans-serif; letter-spacing: -0.02em; text-wrap: balance; }
.soc-yt-cap em { justify-self: start; font: 500 11px/1 "JetBrains Mono", monospace; font-style: normal; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.soc-yt.is-playing { cursor: default; }
.soc-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* small tiles: the play button moves to the corner so the title reads clean */
.soc-vgrid > .soc-vcell:not(:first-child) .soc-play, .soc-vmore .soc-play { left: auto; right: 14px; top: 14px; width: 48px; transform: none; }
.soc-vgrid > .soc-vcell:not(:first-child) .soc-yt:hover .soc-play, .soc-vmore .soc-yt:hover .soc-play { transform: scale(1.08); }
.soc-vgrid > .soc-vcell:not(:first-child) .soc-yt-cap small, .soc-vmore .soc-yt-cap small { display: none; }
/* cinematic grid: one large, two beside, three below */
.soc-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.soc-vgrid > .soc-vcell:first-child { grid-column: span 2; grid-row: span 2; }
.soc-vgrid > .soc-vcell:first-child .soc-yt { height: 100%; aspect-ratio: auto; min-height: 100%; }
.soc-vgrid > .soc-vcell:first-child .soc-yt-cap b { font-size: clamp(20px, 2.2vw, 34px); }
.soc-vgrid > .soc-vcell:first-child .soc-play { width: clamp(70px, 7.4vw, 108px); top: 44%; }
.soc-vcell { min-width: 0; display: flex; }
.soc-vmore { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.soc-vmore::-webkit-scrollbar { display: none; }
.soc-vmore > .soc-vcell { scroll-snap-align: start; }
.soc-vmore .soc-yt { border-radius: 18px; }
.soc-vmore .soc-yt-cap b { font-size: 14.5px; }

/* ---------- walkthrough: the modal ---------- */
body.soc-lock { overflow: hidden; }
.soc-wt { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: clamp(10px, 2.4vw, 32px); color: #F2F5FB; font-family: Inter, system-ui, sans-serif; }
.soc-wt[hidden] { display: none; }
.soc-wt-back { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 30%, rgba(16,33,63,.82), rgba(3,5,10,.94)); backdrop-filter: blur(22px) saturate(120%); -webkit-backdrop-filter: blur(22px) saturate(120%); opacity: 0; transition: opacity .35s ease; }
.soc-wt-box { position: relative; width: min(1480px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 16px; padding: clamp(16px, 2vw, 26px); border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,22,40,.92), rgba(6,10,20,.96)); box-shadow: 0 0 0 1px rgba(214,226,255,.12), 0 80px 160px -40px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s ease, transform .55s cubic-bezier(.2,.7,.1,1); }
.soc-wt.is-open .soc-wt-back, .soc-wt.is-open .soc-wt-box { opacity: 1; transform: none; }
.soc-wt-head { display: flex; align-items: flex-start; gap: 16px; }
.soc-wt-hd { flex: 1; min-width: 0; }
.soc-wt-k { margin: 0 0 8px; font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(226,233,246,.5); }
.soc-wt-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.soc-wt-sub { margin: 6px 0 0; max-width: 60ch; font-size: 14px; color: rgba(226,233,246,.66); }
.soc-wt-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(214,226,255,.06); border: 1px solid rgba(214,226,255,.1); }
.soc-wt-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(226,233,246,.7); font: 600 13px/1 Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.soc-wt-tabs button small { font: 500 11px/1 "JetBrains Mono", monospace; opacity: .7; }
.soc-wt-tabs button[aria-selected="true"] { background: #F2F5FB; color: #05080F; }
.soc-wt-x { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: background .25s; }
.soc-wt-x:hover { background: rgba(255,255,255,.14); }
.soc-wt-x svg { width: 20px; height: 20px; }
.soc-wt button:focus-visible { outline: 2px solid #7FB2FF; outline-offset: 2px; }
.soc-wt-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(14px, 1.8vw, 24px); min-height: 0; }
.soc-wt-stage { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.soc-wt-frame { position: relative; width: min(100%, calc((100svh - 260px) * 1.6)); aspect-ratio: 16 / 10; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #05080F;
  box-shadow: 0 0 0 1px rgba(214,226,255,.14), 0 40px 100px -30px rgba(0,0,0,.8); }
.soc-wt-frame video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.soc-wt-frame:fullscreen { width: 100%; border-radius: 0; }
.soc-wt-frame:fullscreen video { object-fit: contain; }
.soc-wt-big { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; display: grid; place-items: center; border: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(.9); opacity: 0; pointer-events: none; color: #fff;
  background: rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 20px 40px rgba(0,0,0,.4); transition: opacity .3s, transform .4s; cursor: pointer; }
.soc-wt-big svg { width: 34px; height: 34px; margin-left: 5px; }
.soc-wt.is-paused .soc-wt-big { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.soc-wt-cap { position: absolute; left: 14px; top: 14px; display: flex; gap: 10px; align-items: center; margin: 0; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #F2F5FB;
  background: rgba(5,8,15,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.soc-wt-cap b { font: 500 11px/1 "JetBrains Mono", monospace; color: rgba(226,233,246,.6); }
.soc-wt-ctl { display: flex; align-items: center; gap: 6px; width: min(100%, calc((100svh - 260px) * 1.6)); margin: 0 auto; }
.soc-wt-b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: rgba(242,245,251,.85); cursor: pointer; transition: background .2s; }
.soc-wt-b:hover { background: rgba(255,255,255,.08); }
.soc-wt-b svg { width: 20px; height: 20px; }
.soc-wt-pp { background: rgba(255,255,255,.1); }
.soc-wt-seg { flex: 1; display: flex; gap: 3px; height: 22px; align-items: center; margin: 0 8px; cursor: pointer; }
.soc-wt-seg i { position: relative; height: 4px; border-radius: 99px; background: rgba(214,226,255,.16); overflow: hidden; transition: height .2s; }
.soc-wt-seg:hover i { height: 6px; }
.soc-wt-seg i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #7FB2FF, #3DDC97); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.soc-wt-time { flex: none; min-width: 80px; text-align: right; font: 500 12px/1 "JetBrains Mono", monospace; color: rgba(226,233,246,.6); }
.soc-wt-rail { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 2px; align-content: start; max-height: calc(100svh - 190px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(214,226,255,.2) transparent; }
.soc-wt-rail li { position: relative; --p: 0; }
.soc-wt-rail button { position: relative; width: 100%; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 8px 12px; border: 0; border-radius: 14px; background: transparent; color: rgba(226,233,246,.5); text-align: left; cursor: pointer; overflow: hidden; transition: background .3s, color .3s; font: inherit; }
.soc-wt-rail button::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #7FB2FF, #3DDC97); transform-origin: 0 50%; transform: scaleX(0); }
.soc-wt-rail li.is-on button::before { transform: scaleX(var(--p)); }
.soc-wt-rail button:hover { background: rgba(255,255,255,.04); color: rgba(242,245,251,.85); }
.soc-wt-rail li.is-done button { color: rgba(226,233,246,.72); }
.soc-wt-rail li.is-on button { background: rgba(127,178,255,.10); color: #F2F5FB; box-shadow: inset 0 0 0 1px rgba(127,178,255,.25); }
.soc-wt-rail b { font: 500 11.5px/1.6 "JetBrains Mono", monospace; }
.soc-wt-rail span { font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.soc-wt-rail small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: rgba(226,233,246,.55); }
.soc-wt-rail time { font: 500 11px/1.8 "JetBrains Mono", monospace; opacity: .7; }
.soc-wt.is-single .soc-wt-rail, .soc-wt.is-single [data-act="prev"], .soc-wt.is-single [data-act="next"] { display: none; }
.soc-wt.is-single .soc-wt-body { grid-template-columns: 1fr; }
.soc-wt.is-single .soc-wt-cap { display: none; }

/* ---------- walkthrough: inline in a device frame ---------- */
.soc-wi { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.soc-wi.is-single { grid-template-columns: minmax(0, 1.65fr) minmax(220px, .8fr); }
.soc-dev { margin: 0; min-width: 0; filter: drop-shadow(0 50px 70px rgba(5,8,15,.28)); }
.soc-dev-lid { position: relative; padding: 1.4% 1.4% 2.4%; border-radius: 22px 22px 8px 8px; background: linear-gradient(180deg, #1c2230, #0a0d14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1.5px #3a4252; }
.soc-dev-lid::before { content: ""; position: absolute; top: .55%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1e2636; box-shadow: 0 0 0 1px #2b3446; }
.soc-dev-scr { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #05080F; }
.soc-dev-scr video { display: block; width: 100%; height: 100%; object-fit: cover; }
.soc-dev-scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.08), rgba(255,255,255,0) 32%); }
.soc-dev-base { position: relative; width: 112%; margin-left: -6%; height: clamp(12px, 1.5vw, 20px); border-radius: 0 0 22px 22px / 0 0 14px 14px; background: linear-gradient(180deg, #dfe4ec 0%, #aab2bf 45%, #7d8696 100%); }
html[data-theme="dark"] .soc-dev-base { background: linear-gradient(180deg, #4a5262 0%, #2a303c 50%, #161a22 100%); }
.soc-dev-base i { position: absolute; left: 50%; top: 0; width: 14%; height: 45%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: rgba(5,8,15,.22); }
.soc-dev-pp { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
  background: rgba(5,8,15,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); opacity: .0; transition: opacity .3s, transform .3s; }
.soc-dev-pp svg { width: 18px; height: 18px; }
.soc-wi:hover .soc-dev-pp, .soc-dev-pp:focus-visible, .soc-wi:not(.is-playing) .soc-dev-pp { opacity: 1; }
.soc-wi:not(.is-playing) .soc-dev-pp { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 84px; height: 84px; background: rgba(255,255,255,.18); }
.soc-wi:not(.is-playing) .soc-dev-pp svg { width: 30px; height: 30px; margin-left: 4px; }
.soc-dev-cap { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 8px; align-items: center; margin: 0; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #F2F5FB;
  background: rgba(5,8,15,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.soc-dev-cap b { font: 500 11px/1 "JetBrains Mono", monospace; color: rgba(226,233,246,.6); }
.soc-wi.is-single .soc-dev-cap { display: none; }
.soc-wi-side { min-width: 0; }
.soc-wi-k { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--s-muted); }
.soc-live { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.soc-wi-sub { margin: 12px 0 0; font-size: 15px; color: var(--s-muted); max-width: 40ch; }
.soc-wi-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.soc-wi-list li { --p: 0; }
.soc-wi-list button { position: relative; width: 100%; display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; padding: 9px 11px; border: 0; border-radius: 12px; background: transparent; color: var(--s-faint); font: 600 13.5px/1.2 Inter, system-ui, sans-serif; text-align: left; cursor: pointer; overflow: hidden; transition: background .3s, color .3s; }
.soc-wi-list button b { font: 500 11px/1 "JetBrains Mono", monospace; }
.soc-wi-list button time { font: 500 11px/1 "JetBrains Mono", monospace; opacity: .7; }
.soc-wi-list button i { position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #7FB2FF, #3DDC97); transform-origin: 0 50%; transform: scaleX(var(--p)); opacity: 0; }
.soc-wi-list li.is-on button { background: var(--s-card); color: var(--s-text); box-shadow: 0 0 0 1px var(--s-line), 0 10px 24px -16px rgba(5,8,15,.35); }
.soc-wi-list li.is-on button i { opacity: 1; }
.soc-wi-list li.is-done button { color: var(--s-muted); }
.soc-wi-list button:hover { color: var(--s-text); }
.soc-wi-open { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 18px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-text); color: var(--s-card); font: 600 14.5px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: transform .3s; }
html[data-theme="dark"] .soc-wi-open { color: #05080F; }
.soc-wi-open:hover { transform: translateY(-1px); }
.soc-wi-open svg { width: 17px; height: 17px; }

/* ---------- a host band for the strip on any page ---------- */
.soc-band:not(.lay) { position: relative; }
.soc-band { padding: clamp(60px, 10vh, 120px) var(--pad, 24px); background: var(--frame-glow, var(--page)); color: var(--page-text); overflow: hidden; }
.soc-band-in { width: 100%; max-width: 1400px; margin: 0 auto; }
/* as a layer it fills the screen like the other layers, so the next sheet does not dim it while it is read */
.soc-band.lay { min-height: 100svh; display: flex; align-items: center; }
.soc-band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(22px, 4vh, 40px); }
.soc-band-head .kicker { color: var(--page-muted); margin-bottom: 14px; }
.soc-band-head .kicker .num { color: var(--page-text); border-color: var(--page-line); }
.soc-band-head h2 { margin: 0; }
.soc-band-head p { margin: 0; max-width: 44ch; color: var(--page-muted); }

/* ---------- phone ---------- */
@media (max-width: 960px) {
  .soc-wall { grid-template-columns: 1fr; }
  .soc-wall > .soc-sum { position: relative; top: 0; }
  .soc-strip { grid-template-columns: 1fr; }
  .soc-wi, .soc-wi.is-single { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .soc-wt { padding: 0; place-items: stretch; }
  .soc-wt-box { border-radius: 0; height: 100%; padding: calc(12px + env(safe-area-inset-top)) 14px calc(12px + env(safe-area-inset-bottom)); gap: 12px; overflow-y: auto; }
  .soc-wt-head { flex-wrap: wrap; gap: 10px; }
  .soc-wt-hd { flex-basis: calc(100% - 60px); }
  .soc-wt-tabs { order: 3; width: 100%; }
  .soc-wt-tabs button { flex: 1; justify-content: center; padding: 0 8px; }
  .soc-wt-sub { font-size: 13px; }
  .soc-wt-body { grid-template-columns: 1fr; }
  .soc-wt-frame, .soc-wt-ctl { width: 100%; }
  .soc-wt-time { min-width: 0; font-size: 11px; }
  .soc-wt-fs { display: none; }
  .soc-wt-rail { display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .soc-wt-rail::-webkit-scrollbar { display: none; }
  .soc-wt-rail li { flex: none; width: 62%; scroll-snap-align: start; }
  .soc-wt-rail button { background: rgba(255,255,255,.04); }
  .soc-wt-rail time { display: none; }
  .soc-wt-rail button { grid-template-columns: 26px 1fr; }
  .soc-wi-list { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .soc-wi-list::-webkit-scrollbar { display: none; }
  .soc-wi-list li { flex: none; }
  .soc-wi-list button { grid-template-columns: auto auto; gap: 8px; background: var(--s-glass); box-shadow: 0 0 0 1px var(--s-line); white-space: nowrap; }
  .soc-wi-list button time { display: none; }
  .soc-dev-pp { opacity: 1; }
}
@media (max-width: 700px) {
  .soc-grid { columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .soc-grid::-webkit-scrollbar { display: none; }
  .soc-grid > .soc-card { margin: 0; scroll-snap-align: start; }
  .soc-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--pad, 20px) * -1); padding-right: var(--pad, 20px); }
  .soc-filter::-webkit-scrollbar { display: none; }
  .soc-chip { flex: none; }
  .soc-sc { grid-auto-columns: 84%; }
  .soc-sum-c { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; }
  .soc-sum-c .soc-stars { grid-column: 1 / -1; }
  .soc-sum-c .soc-stars svg { width: 16px; height: 16px; }
  .soc-sum-l { margin-top: 8px; font-size: 13px; } .soc-sum-l b { font-size: 46px; }
  .soc-sum-c .soc-facts { margin: 8px 0 0; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid var(--s-line); grid-template-columns: 1fr; gap: 6px; }
  .soc-sum-c .soc-facts b { font-size: 17px; }
  .soc-sc-nav { display: none; }
  .soc-mq-row > .soc-card { width: 300px; }
  .soc-card blockquote p { font-size: 15px; }
  .soc-card-lead blockquote p { font-size: 17px; }
  .soc-sum { padding: 24px 22px; border-radius: 24px; }
  .soc-big { font-size: 84px; }
  .soc-vgrid { grid-template-columns: 1fr; gap: 12px; }
  .soc-vgrid > .soc-vcell:first-child { grid-column: auto; grid-row: auto; }
  .soc-vgrid > .soc-vcell:first-child .soc-yt { height: auto; aspect-ratio: 16 / 10; }
  .soc-vgrid > .soc-vcell:first-child .soc-yt-cap b { font-size: 20px; }
  .soc-vmore { grid-auto-columns: 78%; }
  .soc-yt { border-radius: 18px; }
  .soc-dev-lid { border-radius: 14px 14px 6px 6px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .soc-card { opacity: 1; transform: none; transition: none; }
  .soc-card:hover, .soc-card.is-in:hover { transform: none; }
  .soc-bar i::after { transform: none; transition: none; }
  .soc-mq { mask-image: none; -webkit-mask-image: none; }
  .soc-mq-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .soc-mq-row { animation: none; padding: 4px 20px 8px; }
  .soc-mq-row > .soc-card { scroll-snap-align: start; }
  .soc-mq-row > .soc-card[aria-hidden="true"] { display: none; }
  .soc-yt > img, .soc-play, .soc-wt-back, .soc-wt-box { transition: none; }
  .soc-yt:hover > img { transform: none; }
  .soc-wt-box { transform: none; }
}
