/* The ring of worlds — the «How it investigates» page (its replay dial, result card and numbers) and the empty chat (its composer in the centre). Tokens come from site.css. */

:root {
  --faint: #6f6c65;
  --glow: color-mix(in srgb, var(--accent) 55%, transparent);
  --hot: color-mix(in srgb, var(--accent) 45%, #fff);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --socket: 56px;
}

/* The page: the site's header and footer around a full-bleed stage with a soft light behind the ring. */
.how-page {
  background:
    radial-gradient(110% 75% at 50% 36%, color-mix(in srgb, var(--bg-raised) 80%, var(--bg)) 0%, var(--bg) 64%) fixed,
    var(--bg);
  overflow-x: hidden;
}
.how-page .page-frame { max-width: calc(1180px + 2rem); padding: 0 12px; }
.how-page .page-header { padding-bottom: 0.5rem; }
.how-page .page-main { display: flex; flex-direction: column; align-items: center; padding: 20px 0 28px; line-height: 1.45; }
.how-page .site-footer { margin-top: 2rem; }
.how-page :focus-visible { outline-offset: 3px; border-radius: 6px; }

/* ---------- The stage: mobile first, a vertical flow ---------- */

.how-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* A faint dot field, fading out at the edges. */
.how-stage::before {
  content: "";
  position: absolute;
  inset: -20px -12px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 80%);
}
.edges { display: none; }

/* ---------- The core: the question ---------- */

.core {
  position: relative;
  width: min(56vw, 220px);
  aspect-ratio: 1;
  container-type: inline-size;
}
.core > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.core .disc { fill: var(--bg-raised); stroke: var(--line); }
.core .ticks { stroke: var(--line); stroke-width: 1; transform-origin: 100px 100px; animation: spin 120s linear infinite; }
.core .ticks .major { stroke: var(--faint); }
.core .track { fill: none; stroke: var(--line); stroke-width: 1.5; }
.core .arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.45s cubic-bezier(.3, .7, .3, 1);
}
.core.answered .arc { filter: url(#glow-core); }
.core-text {
  position: absolute;
  inset: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4cqi;
  text-align: center;
}
.core-step { font: 500 5.4cqi/1 var(--mono); color: var(--faint); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.core-step b { color: var(--accent); font-weight: 600; }
.how-question { margin: 0; font-size: 8.4cqi; font-weight: 560; line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- The caption: the step's own words ---------- */

.caption {
  margin: 0;
  min-height: 3.1em;
  max-width: 34ch;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}
.caption .via { display: block; font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.caption .via:empty { visibility: hidden; }
.caption .text { display: block; }

.replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--bg-raised) 85%, transparent);
  color: var(--muted);
  font: 500 0.78rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.replay:hover { color: var(--text); border-color: var(--faint); }
.replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- The ending: the dial opens into the result ---------- */

/* Phone: the dial block and the result share one cell, so the card replaces the dial without a jump. */
.focus { width: 100%; display: grid; place-items: center; }
.dialblock { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.result {
  grid-area: 1 / 1;
  display: none;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), 0 24px 70px -30px var(--glow);
}
.result h2 { margin: 0 0 12px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.result ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.result li { font-size: 0.92rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.result li b { color: var(--accent); font-weight: 600; }
.result-foot { margin: 14px 0 0; font-size: 0.8rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
/* The site's primary button (site.css .connect-primary), as is. */
.result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.result-cta:hover { filter: brightness(1.08); }
.result-cta:focus-visible { border-radius: 999px; }

.how-stage.found .result { display: block; }
.how-stage.found .dialblock { visibility: hidden; }
.how-stage.found .core-text { opacity: 0; }

/* Motion: the arc closes (0–0.45 s), the question rises out, the dial opens, the lines arrive one by one. */
.how-stage.found .core-text { animation: rise-out 0.35s 0.4s ease-in both; }
.how-stage.found .dialblock { animation: dial-out 0.5s 0.65s ease-in both; }
.how-stage.found .result { animation: open 0.55s 0.65s cubic-bezier(.3, .7, .3, 1) both; }
.how-stage.found .result h2,
.how-stage.found .result li,
.how-stage.found .result-foot,
.how-stage.found .result-cta { animation: fade-in 0.4s var(--d) ease-out both; }
.how-stage.found .result h2 { --d: 0.95s; }
.how-stage.found .result li:nth-child(1) { --d: 1.15s; }
.how-stage.found .result li:nth-child(2) { --d: 1.4s; }
.how-stage.found .result li:nth-child(3) { --d: 1.65s; }
.how-stage.found .result li:nth-child(4) { --d: 1.9s; }
.how-stage.found .result-foot { --d: 2.2s; }
.how-stage.found .result-cta { --d: 2.45s; }
@keyframes rise-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-10px); } }
@keyframes dial-out { from { visibility: visible; opacity: 1; scale: 1; } to { visibility: hidden; opacity: 0; scale: 1.08; } }
@keyframes open {
  from { opacity: 0.4; clip-path: circle(80px at 50% 50%); }
  to { opacity: 1; clip-path: circle(75% at 50% 50%); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ---------- The worlds ---------- */

.nodes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 6px;
}
@media (min-width: 600px) { .nodes { grid-template-columns: repeat(4, 1fr); } }
.node {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--faint);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.socket {
  position: relative;
  width: var(--socket);
  height: var(--socket);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-raised);
  color: var(--muted);
  transition: color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.glyph { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.glyph .fill { fill: currentColor; stroke: none; }
.glyph .soft { fill: currentColor; fill-opacity: 0.16; stroke: none; }
.label { max-width: 9em; font-size: 0.78rem; line-height: 1.2; text-align: center; transition: color 0.35s; }
.badge {
  position: absolute;
  top: -5px;
  right: -9px;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
  font: 600 11px/18px var(--mono);
  text-align: center;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s, transform 0.25s;
}
.pulse { position: absolute; inset: -1px; border: 1px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }

.node:hover .socket, .node[aria-expanded="true"] .socket { border-color: var(--faint); color: var(--text); }
.node:hover .label, .node[aria-expanded="true"] .label { color: var(--text); }
.node.used .label { color: var(--text); }
.node.used .socket { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.node.used .badge { opacity: 1; transform: none; }
.node.active .socket {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent), 0 0 28px 2px var(--glow);
}

/* ---------- The tools panel ---------- */

.panel {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 10;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-raised) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--tx, 0), var(--ty, 0)) translateY(var(--lift, 8px));
  transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
}
.panel.open { opacity: 1; visibility: visible; --lift: 0px; transition: opacity 0.18s, transform 0.18s; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.panel-head .glyph { width: 20px; height: 20px; color: var(--accent); }
.panel h2 { margin: 0; font-size: 0.92rem; font-weight: 600; }
.panel-meta { margin-left: auto; font: 500 0.75rem/1 var(--mono); color: var(--faint); white-space: nowrap; }
.panel-meta b { color: var(--accent); font-weight: 600; }
.panel-close { display: grid; place-items: center; width: 28px; height: 28px; margin: -4px -6px -4px 2px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.panel-close svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.panel-purpose { margin: 0 0 8px; font-size: 0.88rem; font-weight: 400; line-height: 1.4; color: var(--text); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.82rem; line-height: 1.4; color: var(--muted); }
.panel li { position: relative; padding-left: 13px; }
.panel li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* ---------- The three numbers ---------- */

.figures { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.figures dl { display: flex; align-items: flex-start; justify-content: center; gap: clamp(18px, 6vw, 64px); margin: 0; }
.figures dl > div { display: flex; flex-direction: column-reverse; align-items: center; }
.figures dd { margin: 0; font-size: clamp(2.4rem, 11vw, 4.2rem); font-weight: 200; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.figures dt { margin-top: 6px; font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.note { margin: 0; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- ≥ 1000 px: the full ring ---------- */

@media (min-width: 1000px) {
  .how-page .page-frame { padding: 0 16px; }
  .how-page .page-main { justify-content: center; padding: 0 0 22px; }
  .how-stage {
    display: block;
    max-width: none;
    width: clamp(860px, min(96vw, calc((100svh - 200px) * 4 / 3)), 1180px);
    aspect-ratio: 4 / 3;
    container-type: inline-size;
  }
  .how-stage::before {
    inset: 0;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 85%);
  }
  .edges { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .focus, .dialblock { display: contents; }
  .how-stage.found .core, .how-stage.found .caption { visibility: hidden; animation: dial-out 0.5s 0.65s ease-in both; }
  .result {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: min(46cqw, 480px);
    padding: 22px 26px 24px;
    translate: -50% -50%;
  }
  .result li { font-size: 0.98rem; }
  .core { position: absolute; left: 50%; top: 50%; width: 21cqw; transform: translate(-50%, -50%); }
  .caption {
    position: absolute;
    left: 50%;
    top: calc(50% + 10.5cqw + 14px);
    width: 40cqw;
    max-width: none;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 10px;
    background: radial-gradient(farthest-side, color-mix(in srgb, var(--bg-raised) 55%, var(--bg)) 72%, transparent);
    font-size: 0.95rem;
  }
  .replay { position: absolute; right: 1%; bottom: 1%; }
  .nodes { display: block; margin: 0; position: absolute; inset: 0; pointer-events: none; --socket: clamp(54px, 5.6cqw, 68px); }
  .nodes li {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 140px;
    transform: translate(-50%, calc(var(--socket) / -2 - 4px));
    pointer-events: auto;
  }
  .label { font-size: 0.82rem; }
  .panel {
    position: absolute;
    left: var(--px);
    top: var(--py);
    right: auto;
    bottom: auto;
    width: 320px;
  }
  .figures { margin-top: 6px; }
  .figures dd { font-size: clamp(2.6rem, 4.4vw, 4rem); }
}

/* ---------- Edges ---------- */

.orbit { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit.inner { stroke-dasharray: 2 7; opacity: 0.7; }
.edge path { fill: none; vector-effect: non-scaling-stroke; }
.edge .base { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; transition: stroke 0.25s; }
.edge.hover .base { stroke: var(--faint); }
.edge .trace { stroke: var(--accent); opacity: 0; transition: opacity 0.5s, stroke-width 0.5s; }
.edge .flow { stroke: var(--hot); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 13; opacity: 0; transition: opacity 0.8s; }
.how-stage.rest .edge.used .flow { opacity: 0.8; animation: flow 1.6s linear infinite; }
.edge .beam { stroke: var(--hot); stroke-width: 2; opacity: 0; transition: opacity 0.45s; }
.edge .beam.on { opacity: 1; transition: none; }
.photon { opacity: 0; }
.photon.on { opacity: 1; }
.photon .halo { fill: var(--accent); opacity: 0.35; }
.photon .head { fill: var(--hot); }
@keyframes flow { to { stroke-dashoffset: -14; } }

/* Entry: the ring assembles, then the replay starts. */
.how-stage.intro .nodes li, .how-stage.intro .edge, .how-stage.intro .orbit { opacity: 0; }
.nodes li, .edge, .orbit { transition: opacity 0.6s calc(var(--i, 0) * 45ms); }

/* ---------- The chat's ring: the empty chat, its first question live, then a strip ---------- */

/* Idle: the composer in the centre. Live (.live): the question and its step in the centre, the worlds
   lighting as its steps read them. Settled (.strip): the worlds in one row above the answer. */
.stage.ringed .dock { display: none; }
.stage.ringed .column { max-width: none; justify-content: center; align-items: center; }
.stage.ringed .column > :not(#empty) { display: none; }

.chat-ring { margin: auto 0; }
.chat-ring .centre {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.centre-lead { margin: 0 auto; max-width: 34ch; color: var(--muted); font-size: 0.9rem; line-height: 1.45; text-align: center; text-wrap: balance; }
.centre .composer { background: var(--bg); }
.chat-ring .examples { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chat-ring .examples button {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: var(--fs-1);
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.chat-ring .examples button:hover { color: var(--text); border-color: var(--faint); }

.centre-question, .chat-ring .caption { display: none; }
.centre-question {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-1);
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  display: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.chat-ring .caption { min-height: 4.6em; max-width: none; color: var(--text); }
.chat-ring.live .centre-question { display: -webkit-box; }
.chat-ring.live .caption { display: block; }

/* Live: the time taken beside a breathing dot, and what the run usually takes under the composer. */
.clock, .working-hint { display: none; }
.chat-ring.live .clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 -6px;
  color: var(--faint);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.clock .beat { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.25; transform: scale(0.7); } }
.chat-ring.live .working-hint { display: block; margin: -2px 0 0; color: var(--faint); font-size: var(--fs-1); line-height: 1.4; text-align: center; text-wrap: balance; }

/* Live: a faint beam laps the ring every 6 s (≥ 1000 px, where the ring is drawn); below that the
   worlds light one after another around the grid. The steps' own beams and glows stay on top. */
.lap { fill: none; opacity: 0; transition: opacity 0.6s; }
.lap.head { stroke: var(--hot); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1.2 98.8; }
.lap.tail { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 16 84; }
.chat-ring.live .lap { animation: lap 6s linear infinite; }
.chat-ring.live .lap.head { opacity: 0.75; }
.chat-ring.live .lap.tail { opacity: 0.22; animation-name: lap-tail; }
@keyframes lap { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes lap-tail { from { stroke-dashoffset: 14.8; } to { stroke-dashoffset: -85.2; } }
@media (max-width: 999.98px) {
  .chat-ring.live .node:not(.active) .socket { animation: scan 6s linear infinite; animation-delay: calc(var(--i, 0) * 0.5s - 6s); }
}
@keyframes scan {
  0% { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 14px -2px var(--glow); opacity: 1; }
  14%, 100% { box-shadow: 0 0 0 0 transparent; }
}
/* Reduced motion: nothing travels; the dot only breathes, which is what says the run is working. */
@media (prefers-reduced-motion: reduce) {
  .chat-ring.live .lap { display: none; }
  .clock .beat { animation: breathe 2.4s ease-in-out infinite !important; }
}
.chat-ring.live .centre-lead, .chat-ring.live .examples { display: none; }
.chat-ring.live .node:not(.used):not(.active) .socket { opacity: 0.55; }

/* ≥ 1000 px: the composer is the core of the ring, a rounded card the edges leave from. */
@media (min-width: 1000px) {
  .stage.ringed .thread { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .how-stage.chat-ring { width: min(100%, calc((100dvh - 2.5rem) * 4 / 3), 1120px); }
  .chat-ring .centre {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(42cqw, 470px);
    translate: -50% -50%;
    padding: 20px 20px 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: color-mix(in srgb, var(--bg-raised) 92%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent), 0 30px 80px -40px var(--glow);
    transition: border-color 0.4s, box-shadow 0.4s;
  }
  .chat-ring.live .centre {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 8%, transparent), 0 30px 90px -30px var(--glow);
  }
  .chat-ring .caption {
    position: static;
    width: auto;
    transform: none;
    padding: 0;
    background: none;
    font-size: 0.95rem;
  }
  .chat-ring .nodes li { width: min(140px, 13cqw); }
}

/* Settled: the ring folds into one row of the worlds (--n of them, set by ring.js), the ones this run read lit with their counts. */
.chat-ring.strip {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  margin: 0 0 0.5rem;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}
.chat-ring.strip::before, .chat-ring.strip .edges, .chat-ring.strip .centre { display: none; }
.chat-ring.strip .nodes {
  position: static;
  display: grid;
  grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr));
  gap: 0;
  margin: 0;
  pointer-events: auto;
  --socket: clamp(24px, 6.6vw, 34px);
}
.chat-ring.strip .nodes li { position: static; width: auto; transform: none; }
.chat-ring.strip .node { gap: 0; padding: 6px 0 0; }
.chat-ring.strip .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-ring.strip .socket .glyph { width: 56%; height: 56%; }
.chat-ring.strip .node:not(.used) .socket { opacity: 0.45; }
.chat-ring.strip .badge { top: -7px; right: -8px; min-width: 16px; height: 15px; padding: 0 4px; border-radius: 8px; font: 600 9.5px/13px var(--mono); }
@media (min-width: 1000px) {
  .chat-ring.strip .panel { left: 0; top: calc(100% + 6px); right: auto; bottom: auto; }
}
