/* 👥 players here (owner 2026-09-29): the house name + the pill top left, the players column on the left
   (main.js renderPlayerList) and the dialog of everyone here (js/players-ui.js) */
.brand #brand-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.net-pill { border: 0; font-family: inherit; cursor: pointer; touch-action: manipulation; }
button.net-pill[data-st="online"]:active { transform: scale(.94); }
@media (max-width: 760px) {
  .brand #brand-name { display: block; max-width: 26vw; font-size: 13px; }
}
@media (max-width: 380px) {
  .brand #brand-name { max-width: 20vw; font-size: 12px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .brand #brand-name { display: block; max-width: 24vw; font-size: 13px; }
}

/* the players column: round letters where the pets' faces were */
.player-card .pl-circle {
  font-size: 20px; font-weight: 800; color: var(--accent-dark);
  background: var(--card); border: 3px solid #fff;
}
.player-card.me .pl-circle { background: #fff1e6; border-color: var(--accent); }
.player-card.friend .pl-circle { background: #eaf7ee; border-color: #8fd3a6; color: #2f7d4b; }
.player-card.others .pl-circle { background: #eaf1ff; border-color: #a9c1ec; font-size: 18px; }
.player-card.others .pc-name { white-space: normal; text-align: center; line-height: 1.2; }

/* the dialog */
.pl-list { display: flex; flex-direction: column; gap: 6px; }
.pl-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px;
  background: var(--card-2); border: 2px solid var(--line);
}
.pl-row.me { border-color: var(--accent); }
.pl-row.fr { border-color: #8fd3a6; }
.pl-av {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--card); font-weight: 800; color: var(--accent-dark); box-shadow: var(--shadow);
}
.pl-name { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-tag { flex: none; font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.pl-tag.me { background: var(--accent); color: #fff; }
.pl-tag.fr { background: #d9f3e2; color: #2f7d4b; }
.pl-dev { flex: none; color: var(--muted); font-size: 11.5px; }

/* the whole bar is the 👥 / 🐾 switch while online (owner 2026-09-29) */
.brand.tap { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.brand.tap:active { transform: scale(.97); }
