/* ---- A person's socials as one row of icons (2026-10-29; boards SO-Profile-Icons / -Tray / -Hold / -Dark;
   src-fragments/v2/parts/99zl-person-socials.js; docs/Person-Page.md "The row of icons") ----
   52 px round targets, 12 px apart, centred under Write · Log (14 px below it, 16 px above the tabs). The glyphs are 26 px
   one-colour line marks: forest on the light page, paper on the night page. Holding one grows it and dims the rest;
   the pill above it is ink with paper text and a mint "Open". Only transform and opacity animate. */
#page .v2-psocw{position:relative;max-width:324px;margin:14px auto 0;padding-bottom:6px}
#page .v2-psoc{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
@media (max-width:359px){#page .v2-psoc{gap:4px}}   /* five icons still fit one line on a 320 px phone */
#page .v2-psoci{appearance:none;flex:none;width:52px;height:52px;padding:0;border:0;border-radius:26px;background:transparent;
  display:flex;align-items:center;justify-content:center;text-decoration:none;color:var(--imp-forest,#154A36);cursor:pointer;
  -webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;
  transition:transform 160ms cubic-bezier(.23,1,.32,1),opacity 200ms cubic-bezier(.23,1,.32,1)}
#page .v2-psoci svg{width:26px;height:26px;pointer-events:none}
#page .v2-psoci:active{transform:scale(.94)}
#page .v2-psoci:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html[data-ui="imp"][data-theme="dark"] #page .v2-psoci{color:var(--imp-ink,#FFF8F0)}

/* the hold: the held one grows, the rest of its group dims (any [role=group] the helper is wired to) */
.v2-holding > :not(.v2-held){opacity:.55}
.v2-holding > .v2-held,#page .v2-psoci.v2-held:active{transform:scale(1.1)}

/* the pill (v2HoldShow): placed by script above the held icon; --tail is where the icon's centre falls */
.v2-holdpill{position:absolute;z-index:4;height:44px;box-sizing:border-box;padding:0 14px 0 16px;border:0;border-radius:22px;
  display:flex;align-items:center;gap:7px;max-width:calc(100vw - 16px);white-space:nowrap;
  background:#12201A;color:#FFF8F0;text-decoration:none;font:400 15px/20px var(--sans,'Figtree',-apple-system,system-ui,sans-serif);
  box-shadow:0 10px 26px rgba(18,32,26,.28);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;cursor:pointer;
  transform-origin:var(--tail,50%) 100%;animation:v2HoldIn 220ms cubic-bezier(.23,1,.32,1)}
.v2-holdpill .v2-hp-t{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis}
.v2-holdpill .v2-hp-d{color:rgba(255,248,240,.55)}
.v2-holdpill .v2-hp-o{font-weight:700;color:#A8DDBE}
.v2-holdpill svg{color:#A8DDBE}
.v2-holdpill .v2-hp-tail{position:absolute;left:calc(var(--tail,50%) - 7px);bottom:-6px;width:14px;height:14px;background:#12201A;transform:rotate(45deg);border-radius:0 0 3px 0;pointer-events:none}
.v2-holdpill.below{transform-origin:var(--tail,50%) 0}
.v2-holdpill.below .v2-hp-tail{top:-6px;bottom:auto;border-radius:3px 0 0 0}
.v2-holdpill:focus-visible{outline:2px solid #A8DDBE;outline-offset:2px}
html[data-theme="dark"] .v2-holdpill{box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 10px 26px rgba(0,0,0,.4)}
@keyframes v2HoldIn{from{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:none}}
.v2-holdpill.below{animation-name:v2HoldInB}
@keyframes v2HoldInB{from{opacity:0;transform:translateY(-4px) scale(.96)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  #page .v2-psoci{transition:opacity 200ms linear}
  .v2-holdpill,.v2-holdpill.below{animation:v2HoldFade 160ms linear}
}
@keyframes v2HoldFade{from{opacity:0}to{opacity:1}}
@media (prefers-contrast:more){
  .v2-holding > :not(.v2-held){opacity:.7}
  .v2-holdpill .v2-hp-d{color:#FFF8F0}
}
