/* Console extras served separately from app.css (the CI-stale-guarded Tailwind
   artifact) so these small additions never require a byte-exact app.css rebuild.
   Light theme only, matching the console's :root palette. */

/* Board "New" badge: a court filled with a game < 3 min ago (auto-clears at 3 min). */
.ct-new {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
}

/* Per-player status chip next to the court name on each roster card. */
.cname-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cname-row .cname {
  flex: 0 1 auto;
  min-width: 0;
}
.cstat {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.5;
}
.cstat--out { background: var(--panel2); color: var(--muted); }
.cstat--wait { background: rgba(76, 139, 245, 0.12); color: var(--accent-strong); }
.cstat--play { background: rgba(216, 69, 69, 0.1); color: var(--live); }

/* Check-in bubble reads as disabled while check-in is locked (wind-down / ended). */
.bubble:disabled { opacity: 0.4; cursor: not-allowed; }

/* Wind-down / ended banner atop the roster fragment (check-in paused). */
.checkin-lock-note {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(251, 146, 60, 0.14);
  color: var(--competitive-deep);
  font-size: 13px;
  font-weight: 700;
}

/* Court-name edit row in the player detail sheet. */
.ps-court-edit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  margin-left: 14px;
}
.ps-court-input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  min-height: 40px;
}
.ps-court-edit .btn { flex: none; }

/* ---- Top bar: home-by-logo divider, quiet nav, and the ⋮ Session-actions menu ---- */
.tb-vdiv { width: 1px; height: 34px; background: var(--line); flex: none; }

/* Layout / Players / Standings read as quiet nav so only Match now (primary) pops. */
.tb-nav { border-color: transparent; background: transparent; color: var(--ink2); }
.tb-nav:hover { background: var(--panel2); border-color: transparent; }

/* ⋮ trigger active state (menu open) */
.btn.icon.on { border-color: var(--accent); color: var(--accent-strong); background: #eef4ff; }

.more { position: relative; }
.sa-menu {
  position: absolute; top: 52px; right: 0; width: 316px; z-index: 50;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 7px;
}
.sa-head { font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); padding: 9px 10px 5px; }
.sa-item { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; background: none; font: inherit; padding: 10px; border-radius: 11px; cursor: pointer; color: var(--ink); }
.sa-item:hover { background: var(--panel2); }
.sa-ic { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.sa-ic svg { width: 17px; height: 17px; }
.sa-ic.force { background: #eef4ff; color: var(--accent-strong); }
.sa-ic.wind { background: rgba(251, 146, 60, .16); color: var(--competitive-deep); }
.sa-ic.end { background: rgba(216, 69, 69, .12); color: var(--danger); }
.sa-ic.cog { background: var(--panel2); color: var(--ink2); }
.sa-ic.layout { background: var(--panel2); color: var(--ink2); }
.sa-tx { min-width: 0; }
.sa-t { display: block; font-size: 14px; font-weight: 800; line-height: 1.15; }
.sa-s { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 1px; line-height: 1.25; }
.sa-item.danger .sa-t { color: var(--danger); }
.sa-sep { height: 1px; background: var(--line); margin: 5px 8px; }
