/* Harris Social: the live preview phone's own layer (studio.js): the violet panel, the app buttons, their caption bar,
   logo and colours over the sample video. Moved out of social.css on 21 Nov 2026 so the sales page (d.css) and
   /social/preview/ can show the same phone. Needs the .phone / .ov / .appbar rules of the page's own stylesheet. */
.hs-studio [hidden] { display: none !important; }
.hs-studio { position: relative; background: var(--violet); color: #fff; --st-second: #D62828; --st-on-second: #fff; }
.st-in { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px 24px 56px; }
.st-in::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(52% 44% at 50% 52%, rgba(185,166,255,.42), transparent 72%); }
.st-head { position: relative; text-align: center; width: 100%; }
.st-title { font: 700 clamp(26px, 2.2vw, 32px)/1.1 var(--display); letter-spacing: -.02em; }
.st-sub { margin-top: 4px; font-size: 17px; color: var(--on-violet); }
.st-x { position: absolute; right: 0; top: -4px; width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--violet); cursor: pointer; }
.st-x svg { width: 22px; height: 22px; }
.st-plats { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.st-plat { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--paper); color: var(--ink);
  opacity: .62; transition: opacity .2s, transform .2s var(--ease, cubic-bezier(.2, .7, .2, 1)), box-shadow .2s; }
.st-plat svg { width: 24px; height: 24px; fill: currentColor; }
.st-plat:hover { opacity: 1; transform: translateY(-2px); }
.st-plat[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--violet), 0 0 0 6px var(--mint); transform: scale(1.08); }
.st-stage { position: relative; }
.st-phone { position: relative; container-type: inline-size; width: clamp(210px, calc((100svh - 330px) / 2.12), 310px); }
@media (max-width: 959px) { .st-phone { width: min(64vw, 290px); } }
.st-stk { position: absolute; z-index: 12; left: -30px; top: 44%; padding: .2em .7em .26em; border-radius: 999px; background: var(--mint); color: var(--ink);
  font: 700 clamp(18px, 1.6vw, 22px)/1.1 var(--display); letter-spacing: -.01em; transform: rotate(-4deg) scale(.8); box-shadow: 0 14px 30px -14px rgba(10,6,30,.6); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .4s var(--ease, cubic-bezier(.2, .7, .2, 1)); }
.hs-studio.flash .st-stk { opacity: 1; transform: rotate(-4deg) scale(1); }
@media (max-width: 400px) { .st-stk { left: -12px; } }
.st-foot { position: relative; display: flex; align-items: center; gap: 14px; max-width: 360px; }
.st-pp { width: 52px; height: 52px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--violet); cursor: pointer; transition: background .18s, transform .12s; }
.st-pp:hover { background: var(--mint); color: var(--ink); }
.st-pp:active { transform: scale(.94); }
.st-pp svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.st-note { font-size: 16px; line-height: 1.4; color: var(--on-violet); }
.st-runes { position: absolute; left: 0; bottom: 14px; display: flex; width: max-content; font: 400 22px/1.2 "Runic", var(--body); color: rgba(233,228,251,.32); white-space: nowrap; pointer-events: none; }
.st-runes span { padding-right: 1ch; letter-spacing: .3em; }
.mo .st-runes { animation: runes 48s linear infinite; }
@keyframes runes { to { transform: translateX(-50%); } }

/* what sits on their video: the hook bar in their colours, their logo */
.st-vids { position: absolute; inset: 0; }
.st-vids video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; }
/* the top band: blurred and darkened, so the sample's own top text can't compete with their caption bar and logo */
.st-scrim { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 28%; pointer-events: none; background: rgba(12,10,24,.55);
  -webkit-backdrop-filter: blur(calc(var(--u) * 16)) saturate(.7); backdrop-filter: blur(calc(var(--u) * 16)) saturate(.7);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.st-hook { position: absolute; z-index: 2; left: calc(var(--u) * 16); right: calc(var(--u) * 92); top: calc(var(--u) * 54); }
.st-bar { position: relative; display: inline-block; overflow: hidden; padding: calc(var(--u) * 9) calc(var(--u) * 16) calc(var(--u) * 11); border-radius: calc(var(--u) * 20);
  background: #16151F; color: #fff; font: 700 calc(var(--u) * 26)/1.14 var(--body); letter-spacing: -.01em; box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) rgba(0,0,0,.35); }
.st-sweep { position: absolute; inset: 0; background: transparent; clip-path: inset(0 100% 0 0); }
.st-hooktxt { position: relative; }
.st-hooktxt mark { background: var(--st-second); color: var(--st-on-second); padding: 0 calc(var(--u) * 6); border-radius: calc(var(--u) * 8); box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .4s, color .4s; }
.st-logo { position: absolute; z-index: 2; right: calc(var(--u) * 16); top: calc(var(--u) * 52); width: calc(var(--u) * 68); height: calc(var(--u) * 68); border-radius: 50%; overflow: hidden;
  background: #fff; display: grid; place-items: center; box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) rgba(0,0,0,.35); }
.st-logo img { width: 78%; height: 78%; object-fit: contain; }
.st-logo span { width: 100%; height: 100%; display: grid; place-items: center; font: 700 calc(var(--u) * 30)/1 var(--display); }
.st-ov { position: absolute; inset: 0; z-index: 3; }
.st-ov .av img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; padding: 12%; }
.st-plat.instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); color: #fff; }
.st-plat.facebook { background: #0866FF; color: #fff; }
.st-plat.tiktok { background: #000; color: #fff; }
.st-plat.youtube { background: #FF0000; color: #fff; }
.st-plat.linkedin { background: #0A66C2; color: #fff; }
@media (prefers-reduced-motion: reduce) { .hs-studio *, .hs-studio *::before, .hs-studio *::after { animation: none !important; transition: none !important; } }
