/* {space} · кто внутри v1.1: кружок = участник, круги – темы профилей (сплошные – в профиле, кольца – по анкете условно), фото – открытые карточки, серые круги – профили без текста о себе */
.efirs-wrap:has(> .who) { padding-top: 0 !important; }
.who { position: relative; container-type: inline-size; }
.who__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.who__head .kicker { color: #69429a; }
.who__h { margin: 12px 0 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; font-weight: 500; letter-spacing: -.03em; color: #111; }
.who__lede { margin: 0; max-width: 60ch; color: #44433f; font-size: 15px; line-height: 1.6; }
.who__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 26px 0 0; padding: 0; list-style: none; font: 400 11px/1.4 var(--mono, "IBM Plex Mono", monospace); color: #66655f; }
.who__legend li { display: inline-flex; align-items: center; gap: 7px; }
.who__legend i { width: 9px; height: 9px; border-radius: 50%; background: #8b6cb8; }
.who__legend i.is-u { background: #fff; box-shadow: inset 0 0 0 1.5px #a58bcb; }
.who__legend i.is-ph { width: 13px; height: 13px; border-radius: 50%; background: #cbbfdd; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #69429a; }
.who__legend i.is-in { background: #d4d2cb; }

/* поле: круги тем, размер – √ числа профилей */
.who__field { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.4cqi 2.2cqi; margin: 22px 0 0; padding: 12px 0 6px; }
.who-cl { --d: calc(8cqi + 15cqi * var(--s, .5)); position: relative; flex: 0 0 auto; width: var(--d); aspect-ratio: 1; padding: 0; background: none; border: 0; border-radius: 50%;
  cursor: pointer; font: inherit; color: inherit; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.who-cl::before { content: ""; position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed rgba(105, 66, 154, .22); transition: border-color .25s, background .25s; }
.who-cl__dots { position: absolute; inset: 0; }
.who-cl__dots i { position: absolute; width: calc(var(--g) * .58); aspect-ratio: 1; min-width: 4px; max-width: 11px; transform: translate(-50%, -50%) scale(0); background: #8b6cb8; border-radius: 50%;
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.3), background .25s, box-shadow .25s; transition-delay: calc(var(--i) * 70ms + var(--k) * 7ms); }
.who-cl__dots i.is-u { background: #fff; box-shadow: inset 0 0 0 1.5px #a58bcb; }
.who-ph { position: absolute; width: calc(var(--g) * 1.25); min-width: 18px; max-width: 34px; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0); border-radius: 50%;
  object-fit: cover; filter: grayscale(1) contrast(1.05); background: #efe9f7; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #69429a; z-index: 1; cursor: zoom-in;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.3), filter .2s; transition-delay: calc(var(--i) * 70ms + var(--k) * 9ms + 120ms); }
.who.is-in .who-cl__dots i, .who.is-in .who-ph { transform: translate(-50%, -50%) scale(1); }
.who-ph:hover, .who-ph.is-on { filter: none; transform: translate(-50%, -50%) scale(1.5) !important; z-index: 3; transition-delay: 0s; }
.who-cl__c { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); display: grid; justify-items: center; gap: 1px; white-space: nowrap; pointer-events: none; }
.who-cl__c b { font-size: calc(15px + 10px * var(--s, .5)); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #111; transition: color .2s; }
.who-cl__c small { font: 400 10.5px/1.25 var(--mono, "IBM Plex Mono", monospace); color: #44433f; }
.who-cl__c em { font: 400 9.5px/1.3 var(--mono, "IBM Plex Mono", monospace); font-style: normal; color: #8a887f; }
.who-cl { margin-bottom: 50px; }
.who-cl--inside .who-cl__dots i { background: #d4d2cb; }
.who-cl--inside::before { border-color: rgba(17, 17, 17, .12); }
.who-cl:hover::before, .who-cl:focus-visible::before { border-color: #69429a; background: rgba(239, 233, 247, .55); }
.who-cl:focus-visible { outline: 2px solid #69429a; outline-offset: 6px; }
.who-cl[aria-pressed="true"]::before { border: 1px solid #111; background: #fff; box-shadow: 4px 4px 0 #69429a; }
.who-cl[aria-pressed="true"] .who-cl__c b { color: #69429a; }
.who.has-pick .who-cl[aria-pressed="false"] { opacity: .32; }
.who-cl__you { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); display: none; padding: 2px 6px; background: #69429a; color: #fff;
  font: 500 10px/1.3 var(--mono, "IBM Plex Mono", monospace); font-style: normal; white-space: nowrap; z-index: 4; }
.who-cl.is-you::before { border: 1.5px solid #69429a; }
.who-cl.is-you .who-cl__you { display: block; }
.who-cl.is-you .who-cl__dots i:not(.is-u) { background: #69429a; }
.who-cl.is-you .who-cl__dots i.is-u { box-shadow: inset 0 0 0 1.5px #69429a; }
.who.has-you:not(.has-pick) .who-cl:not(.is-you) { opacity: .55; }

.who__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(17, 17, 17, .12);
  font: 400 11px/1.4 var(--mono, "IBM Plex Mono", monospace); color: #66655f; }
.who-pop { position: absolute; z-index: 6; width: 300px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; background: #fff;
  border: 1px solid #111; box-shadow: 6px 6px 0 #69429a; animation: who-pop .16s ease both; }
.who-pop[hidden] { display: none; }
.who-pop.is-below::after { top: -7px; bottom: auto; transform: rotate(225deg); }
.who-pop::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: #fff; border-right: 1px solid #111; border-bottom: 1px solid #111; transform: rotate(45deg); }
.who-pop img { width: 84px; height: 84px; object-fit: cover; display: block; background: #efe9f7; }
.who-pop b { display: block; font-size: 15px; line-height: 1.2; font-weight: 600; color: #111; }
.who-pop span { display: block; margin-top: 4px; font: 400 11px/1.45 var(--mono, "IBM Plex Mono", monospace); color: #44433f; }
.who-pop small { display: block; margin-top: 8px; font: 400 10.5px/1.4 var(--mono, "IBM Plex Mono", monospace); color: #69429a; }
.who__src { margin: 16px 0 0; font: 400 10.5px/1.5 var(--mono, "IBM Plex Mono", monospace); color: #66655f; }
.who.is-in .who-cl__dots i:nth-child(7n+3) { animation: who-blink 5.2s ease-in-out calc(var(--i) * .4s + var(--k) * 37ms) infinite; }
.who.is-in .who-cl--inside .who-cl__dots i:nth-child(7n+3) { animation-duration: 7s; }
@keyframes who-blink { 0%, 86%, 100% { filter: none; } 92% { filter: brightness(.55); } }
@keyframes who-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@container (max-width: 640px) {
  .who__field { gap: 4cqi 5cqi; }
  .who-cl { --d: calc(21cqi + 22cqi * var(--s, .5)); margin-bottom: 34px; }
  .who-cl__c b { font-size: calc(14px + 7px * var(--s, .5)); }
  .who-cl__c small { font-size: 9.5px; }
  .who-pop { width: min(300px, 100%); grid-template-columns: 64px minmax(0, 1fr); }
  .who-pop img { width: 64px; height: 64px; }
}
@media (max-width: 760px) { .who__head { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .who-cl__dots i, .who-ph { transition: none; transform: translate(-50%, -50%) scale(1); animation: none !important; }
}
