/* The ring: pot in the middle, members around it. Size comes from --ring (default 280px). */
.ring { position: relative; width: var(--ring, 280px); aspect-ratio: 1; flex: 0 0 auto; }
.ring-orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-orbit circle { fill: none; stroke: rgba(140, 110, 90, 0.28); stroke-width: 0.6; stroke-dasharray: 1.4 2.2; }
.ring-pot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 50%),
    linear-gradient(140deg, #f6e2cf, #e8c3a2 45%, #c99474);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -8px 18px rgba(120, 70, 40, 0.2), 0 14px 28px -12px rgba(120, 70, 40, 0.45);
  transition: box-shadow 0.4s ease;
}
.ring-pot.glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -8px 18px rgba(120, 70, 40, 0.2), 0 0 0 8px rgba(232, 195, 162, 0.35), 0 14px 28px -12px rgba(120, 70, 40, 0.45); }
.ring-amount { font-size: calc(var(--ring, 280px) * 0.085); font-weight: 600; color: #3c2a20; }
.ring-label { font-size: calc(var(--ring, 280px) * 0.042); color: rgba(60, 42, 32, 0.75); margin-top: 2px; }
.ring-m { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; transition: transform 0.3s var(--spring, ease); }
.ring-av {
  width: calc(var(--ring, 280px) * 0.19);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: calc(var(--ring, 280px) * 0.055);
  color: #fff;
  background: linear-gradient(140deg, #c99474, #8f6448);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 5px rgba(0, 0, 0, 0.06), 0 6px 14px -6px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
.ring-m.me .ring-av { background: linear-gradient(140deg, #3a3a3e, #0b0b0c); }
.ring-m.paid .ring-av { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px var(--green, #22c55e), 0 6px 14px -6px rgba(0, 0, 0, 0.3); }
.ring-m.winner .ring-av { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px #e0a54b, 0 0 22px 4px rgba(224, 165, 75, 0.45); }
.ring-m.winner { transform: translate(-50%, -50%) scale(1.08); }
.ring-name { font-size: 12px; font-weight: 600; color: #3a3a3e; background: rgba(255, 255, 255, 0.8); padding: 2px 8px; border-radius: 99px; }
.ring-badge { position: absolute; top: -6px; right: -10px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; font-size: 12px; font-weight: 700; display: none; place-items: center; color: #fff; }
.ring-badge.star { display: grid; background: #e0a54b; }
.ring-badge.tick { display: grid; background: var(--green, #22c55e); }
.ring-badge.bid { display: grid; background: var(--ink, #0b0b0c); }
.ring-coin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff6d8, #f2c14e 45%, #b8862c);
  box-shadow: 0 2px 6px rgba(120, 80, 20, 0.4);
  z-index: 2;
}
.flow-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flow-dot { height: 32px; padding: 0 12px; border-radius: 99px; font: inherit; font-size: 13px; color: #48484c; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); cursor: pointer; }
.flow-dot.on { background: var(--ink, #0b0b0c); color: #fff; border-color: transparent; }
