/* Portal-only layer. Everything structural — tokens, .page, .topbar, .brand/.mark, .card, .tile,
   .btn, .pill, footer.site — comes from /site.css so the portal and the public pages are one
   product. This file must only ADD; if it starts redefining shell classes they drift apart, which
   is exactly how the portal ended up unstyled once already. */

/* Breadcrumb sits under the brand bar rather than inside it, so a long team name never squeezes
   the Sign out control off the row at large text sizes. */
#crumbs {
  font-size: .9rem;
  color: var(--muted);
  margin: -.5rem 0 1rem;
  min-height: 1.2rem;
}
#crumbs a { color: var(--muted); text-decoration: none; }
#crumbs a:hover { color: var(--ink); }

main:focus { outline: none; }

/* Team / fixture rows ------------------------------------------------------- */
.row {
  display: flex; align-items: baseline; gap: .6rem; justify-content: space-between;
  flex-wrap: wrap;
}
.tile .row { margin-bottom: .1rem; }

/* Schedule status. Colour is never the only signal — each pill carries its own word. */
.pill.live { color: var(--danger); }
.pill.today { color: var(--green-dark); }
.pill.attention { color: var(--warn); }

/* Section headings inside the portal are lighter than the marketing pages' eyebrows. */
main h2 {
  margin: 1.75rem 0 .6rem;
  font-size: .78rem;
}
main h2:first-child { margin-top: .5rem; }

/* Sign-in -------------------------------------------------------------------- */
.signin { text-align: center; }
.signin h1 { max-width: none; margin-bottom: .5rem; }
.signin .btn { margin-top: 1.25rem; }

/* Roster / member lists ------------------------------------------------------ */
ul.plain { list-style: none; margin: .5rem 0 0; padding: 0; }
ul.plain li {
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: .75rem; align-items: baseline;
}
ul.plain li:last-child { border-bottom: 0; }
.jersey {
  font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted);
  min-width: 2.5rem; text-align: right;
}

.actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.25rem 0 .5rem; }

/* A pill that is a link, not a badge: it needs a real hit target and hover feedback. */
.pill-link {
  text-decoration: none; color: var(--green-dark);
  padding: .4rem .75rem; line-height: 1.2;
  display: inline-flex; align-items: center; min-height: 32px;
}
.pill-link:hover, .pill-link:focus-visible { background: var(--card); border-color: var(--green); }
