/* League-wide tabs: Standings and Prizes. */
.narrow { max-width: 38rem; margin-inline: auto; }
.lede { margin: 0.2rem 0 0.9rem; }

.standings, .leaders { width: 100%; margin-bottom: 1rem; }
.standings th, .standings td, .leaders th, .leaders td { padding: 0.55rem 0.4rem; vertical-align: middle; }
.standings tbody th { font-weight: 400; }
.team-names { display: block; font-weight: 700; line-height: 1.3; }
.team-names .amp { color: var(--tc-text-muted); font-weight: 400; }
.standings small { font-size: 0.75rem; }
.standings .place { width: 3.2rem; font-weight: 700; color: var(--tc-text-muted); }
.standings .pts { font-size: 1.15rem; font-weight: 800; }
.standings .back { width: 3.2rem; color: var(--tc-text-muted); }
.standings tr.mine > *, .leaders tr.mine > *, .prize-list li.mine { background: var(--tc-highlight); }
.standings .badge-you { margin-left: 0; }

.empty-note { padding: 1rem; border: 1px dashed var(--tc-border); border-radius: 0.6rem; }
.empty-note p { margin: 0 0 0.4rem; }
.empty-note p:last-child { margin: 0; }

.prize-week h3 { margin: 1rem 0 0.25rem; font-size: 1rem; }

@media (min-width: 1024px) { .narrow { max-width: 52rem; } }

/* This Week */
.week-page h2 { margin-top: 1.25rem; }
.week-games { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .week-games { grid-template-columns: 1fr 1fr; } }
.week-game { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0.75rem 0.9rem; border: 1px solid var(--tc-border-light); border-radius: 0.6rem; }
.week-game.mine { border: 2px solid var(--tc-green); background: var(--tc-hover); }
.week-game > header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0; padding: 0; background: none; border: 0; }
.week-time { font-size: 1.15rem; font-weight: 800; color: var(--tc-green); }
.week-state { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; color: var(--tc-text-muted); }
.week-state.live { color: var(--tc-green-dark); }
.week-state.final { color: var(--tc-text); }
.live-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #2e7d32; box-shadow: 0 0 0 3px #dcf1e2; }
.week-sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.5rem; }
.week-sides ul { margin: 0; padding: 0; list-style: none; }
.week-sides li { display: flex; justify-content: space-between; gap: 0.4rem; margin: 0; padding: 0.1rem 0; list-style: none; font-size: 0.92rem; }
.week-sides li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week-sides li.me { font-weight: 700; }
.week-sides li.me a::before { content: "\2605  "; color: var(--tc-green); }
.week-vs { font-size: 0.7rem; color: var(--tc-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.week-card-btn { align-self: flex-start; font-size: 0.88rem; font-weight: 700; }
.week-card-btn.primary {
  align-self: stretch; padding: 0.65rem 1rem; border-radius: var(--tc-radius); text-align: center;
  background: var(--tc-green); color: var(--tc-white);
}
.week-card-btn.primary:hover, .week-card-btn.primary:focus-visible { background: var(--tc-green-dark); color: var(--tc-white); text-decoration: none; }
