.players-card {
  isolation: isolate;
  padding: 23px;
  gap: 28px;
}

.players-ring-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex: 0 0 132px;
  border: 1px solid #2b312c;
  border-radius: 50%;
  background: linear-gradient(145deg, #1b201d, #0b0e10);
  box-shadow: inset 0 0 0 5px rgba(7, 9, 10, .72), 0 14px 35px #0007;
}

.players-ring-shell::before {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, rgba(255, 255, 255, .17) 0 1deg, transparent 1deg 15deg);
  mask: radial-gradient(circle, transparent 72%, #000 73%);
  content: "";
  opacity: .36;
}

.players-ring {
  --player-fill: 0%;
  --player-fade-start: 0%;
  --player-fade-end: 0%;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  background: conic-gradient(from 0deg, var(--accent) 0 var(--player-fade-start), #c1eb37 var(--player-fade-start), rgba(193, 235, 55, .38) var(--player-fill), #293028 var(--player-fade-end) 100%);
  color: inherit;
  box-shadow: 0 0 24px rgba(216, 255, 62, .1);
  cursor: pointer;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, filter;
  transition: background .5s ease, transform .4s cubic-bezier(.22, 1, .36, 1), filter .4s ease, box-shadow .4s ease;
}

.players-ring:hover {
  filter: brightness(1.1);
  transform: translateZ(0) scale(1.035);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 16%, transparent);
}

.players-ring:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.players-ring::after {
  width: 94px;
  height: 94px;
  background: radial-gradient(circle at 45% 35%, #181d1b, #0d1012 72%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 0 0 1px #252b28;
}

.players-ring-core { gap: 1px; }
.players-ring-core > span { color: #74806f; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.players-ring-core strong { font-size: 31px; line-height: 1.08; letter-spacing: -1.2px; text-shadow: 0 0 20px rgba(216, 255, 62, .1); }
.players-ring-core small { color: #596159; font-size: 10px; }
.players-ring-core small em { color: #818b80; }
.player-copy { min-width: 0; flex: 1; }
.players-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.players-heading h3 { margin: 4px 0 0; color: #e8ebe7; font-size: 17px; letter-spacing: -.3px; }
.players-heading .card-label { color: #687168; font-weight: 800; letter-spacing: 1.35px; }

.capacity-row { display: flex; align-items: baseline; margin-top: 18px; }
.capacity-row strong { overflow: hidden; color: #f3f5f1; font-size: 14px; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.players-capacity-track { height: 5px; margin-top: 8px; overflow: hidden; border: 1px solid #252c27; border-radius: 10px; background: #090c0d; box-shadow: inset 0 1px 2px #0008; }
.players-capacity-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fab2c, var(--accent)); box-shadow: 0 0 10px rgba(216, 255, 62, .38); transition: width .65s cubic-bezier(.22, 1, .36, 1); }
.player-session-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.player-session-counts > div { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 12px 14px; border: 1px solid #242a27; border-radius: 10px; background: rgba(8, 11, 12, .56); }
.player-session-counts p { display: flex; min-width: 0; flex-direction: column; gap: 4px; margin: 0; }
.player-session-counts p small { color: #5d675f; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.player-session-counts p b { overflow: hidden; color: #d3d8d2; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.session-icon { position: relative; display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #3c482f; border-radius: 8px; background: #1a2116; }
.session-icon i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(216, 255, 62, .55); }
.session-icon.joining::after { position: absolute; inset: 6px; border: 1px solid rgba(216, 255, 62, .28); border-radius: 50%; content: ""; }
.session-icon.queued { border-color: #333a39; background: #181c1d; }
.session-icon.queued i { width: 10px; height: 2px; border-radius: 2px; background: #7d8786; box-shadow: 0 5px #596260, 0 -5px #a0aaa8; }

@media (max-width: 560px) {
  .players-card { min-height: 0; padding: 22px 18px; gap: 17px; }
  .players-ring-shell { width: 104px; height: 104px; flex-basis: 104px; }
  .players-ring { width: 88px; height: 88px; }
  .players-ring::after { width: 72px; height: 72px; }
  .players-ring-core strong { font-size: 25px; }
  .players-ring-core > span { font-size: 8px; }
  .players-ring-core small { font-size: 9px; }
  .players-heading h3 { font-size: 14px; }
  .capacity-row { margin-top: 13px; }
  .player-session-counts { grid-template-columns: 1fr; margin-top: 12px; }
  .player-session-counts > div { padding: 11px 12px; }
}
