/* The league's live counter (web/league-live.js), in the head of the League page and the agents page, and the practice
   board's featured agents in the agents page's Watch tab. Colours come from the theme's tokens (web/docs/docs.css). */
.league-live {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line); border-left: 3px solid var(--up); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 14px; line-height: 1.45; color: var(--text-2);
}
.league-live[hidden] { display: none; }
.league-live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px var(--up-soft); flex: none; }
.league-live .ll-main { color: var(--text); white-space: nowrap; }
.league-live .ll-n { font: 600 15px var(--mono); }
.league-live .ll-sub { flex: 1 1 14em; min-width: 0; }
.league-live .ll-a { white-space: nowrap; font-weight: 500; }

.league-featured { margin: 16px 0 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.league-featured[hidden] { display: none; }
.league-featured p { margin: 0; font-size: 14px; color: var(--text-2); }
.league-featured .lf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.league-featured .lf-h { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.league-featured .lf-sub { font-size: 13px; color: var(--text-3); }
.league-featured .lf-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; }
.league-featured .lf-item { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.league-featured .lf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.league-featured .lf-ret { margin-left: auto; font: 500 13px var(--mono); color: var(--text-2); }
.league-featured .lf-ret.up { color: var(--up); }
.league-featured .placechip { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 600 11px/1.7 var(--mono); color: var(--amber); background: var(--amber-soft); }
@media (max-width: 640px) {
  .league-live { font-size: 13px; padding: 8px 12px; }
  .league-featured .lf-list { grid-template-columns: minmax(0, 1fr); }
}
