:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #0e0e10;
  color: #efeff1;
}

body {
  display: flex;
  justify-content: center;
}

.panel {
  width: 100%;
  max-width: 318px;
  background: #18181b;
  overflow: hidden;
}

.header {
  padding: 16px;
  border-bottom: 1px solid #2f2f35;
}

.eyebrow {
  margin: 0 0 4px;
  color: #adadb8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.online {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #adadb8;
  font-size: 14px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #23a55a;
  box-shadow: 0 0 0 3px rgba(35,165,90,.12);
}

.section {
  padding: 13px 16px;
  border-bottom: 1px solid #2f2f35;
}

.section-title {
  margin: 0 0 9px;
  color: #adadb8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.voice-list {
  display: grid;
  gap: 7px;
}

.voice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  background: #202024;
  border-radius: 7px;
  font-size: 13px;
}

.voice-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-count {
  color: #adadb8;
  flex: none;
}

.members {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2f2f35;
  border: 2px solid #18181b;
  object-fit: cover;
}

.empty, .status {
  color: #adadb8;
  font-size: 13px;
}

.error {
  margin-top: 10px;
  color: #ff8280;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.45;
}

.footer {
  padding: 14px 16px 16px;
}

.join {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: #5865f2;
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.join[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}

.tiny {
  margin-top: 9px;
  color: #73737e;
  text-align: center;
  font-size: 11px;
}
