/* ---------- A conference (#c-<conference>, web/js/tabs/team_conf.js) ---------- */
/* the conference in one line, the page's own font; each part kept whole when the line wraps */
.cs-sum { font-size: 0.95rem; line-height: 1.5; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.cs-sum span { white-space: nowrap; }

/* its teams on the national scale: the axis's name over it; the conference median's value on its line; a logo a team
   stacked up from the line; the best and worst values under their logos; the whole-point ticks under that */
.cs-axt { display: flex; justify-content: space-between; gap: 8px; margin: 0 10px; font-size: 0.8rem; color: var(--muted); }
.cs-axt span:nth-child(2) { text-align: center; }
.cs-nat { margin-top: 2px; }
.cs-ml { position: relative; height: 18px; margin: 0 10px; }
.cs-ml span { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-nat .cs-md { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--ink); margin-left: -1px; opacity: 0.8; }
.cs-nat .cs-m { margin-left: -11px; width: 22px; height: 22px; }
.cs-nat .cs-m img, .cs-nat .cs-ab { width: 22px; height: 22px; }
.cs-ends { position: relative; height: 18px; margin: 0 10px; }
.cs-ends span { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-ends span.hi { color: var(--score); } .cs-ends span.lo { color: var(--turn); }
.cs-nat .cs-tr { border-bottom: 1px solid var(--line-strong); }
.cs-nat .cs-ax { margin-top: 0; border-top: 0; }
.tm-key .cs-kd { width: 0; height: 12px; border-left: 1px dashed var(--line-strong); }
.tm-key .cs-ks { width: 0; height: 12px; border-left: 2px solid var(--ink); opacity: 0.8; }
@media (max-width: 639px) {
  .cs-nat .cs-m { margin-left: -9px; width: 18px; height: 18px; }
  .cs-nat .cs-m img, .cs-nat .cs-ab { width: 18px; height: 18px; }
}

/* where its teams sit: a label, then a track on the national scale; the logos stacked where they would touch
   (team_conf.js fitSwarm sets each logo's top and the track's height); every FBS team a tick along the bottom */
.cs-rows { position: relative; margin-top: 6px; }
.cs-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 12px; align-items: center; border-top: 1px solid var(--line); padding: 4px 0; }
.cs-l b { display: block; font-size: 0.88rem; font-weight: 600; }
.cs-l small { display: block; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cs-tr { position: relative; height: 30px; margin: 0 10px; }
.cs-z { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--line-strong); }
.cs-rug { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; }
.cs-rug path { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.7; }
.cs-m { position: absolute; top: 6px; margin-left: -8px; width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: none;
  cursor: pointer; line-height: 0; color: var(--ink); }
.cs-m img { width: 16px; height: 16px; display: block; }
.cs-m:focus-visible, .cs-m.on { outline: 2px solid var(--score); outline-offset: 1px; z-index: 2; }
.cs-ab { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--line-strong); font-size: 0.56rem; font-weight: 700; line-height: 1; }
.cs-axr { border-top: 0; padding: 0; }
.cs-ax { position: relative; height: 18px; margin: 0 10px; border-top: 1px solid var(--line-strong); }
.cs-ax span { position: absolute; top: 2px; transform: translateX(-50%); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cs-tip { position: absolute; z-index: 5; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 0.8rem; white-space: nowrap;
  pointer-events: none; font-variant-numeric: tabular-nums; }
.tm-key .cs-sw { width: 1px; height: 10px; background: var(--line-strong); }
@media (max-width: 639px) {
  .cs-row { grid-template-columns: minmax(0, 1fr); }
  .cs-l { display: flex; align-items: baseline; gap: 8px; padding-top: 2px; }
  .cs-l b { display: inline; }
  .cs-axr .cs-l { display: none; }
}

/* its teams by NAPPR+: NAPPR+ bold with a rule after it; a lighter rule before each group (net pass, net rush, ST) */
.cs-tt th.cs-net, .cs-tt td.cs-net { border-right: 2px solid var(--line-strong); }
.cs-tt th.cs-g, .cs-tt td.cs-g { border-left: 1px solid var(--line); }

/* against other conferences and the standings: a record or a value in each cell, the rank under it */
.cs-st small.hi { color: var(--score); font-weight: 700; }
.cs-grid td.lo, .cs-st small.lo { color: var(--turn); font-weight: 700; }
.cs-grid th a { color: inherit; text-decoration: none; }
.cs-grid th a:hover { text-decoration: underline; }
.cs-grid .cs-tot { border-left: 1px solid var(--line-strong); }
.cs-grid tr.cs-all th, .cs-grid tr.cs-all td { border-top: 2px solid var(--line-strong); font-weight: 700; }
.cs-st td small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 400; }
.cs-st td.cs-net b { font-weight: 700; }

/* players: a short list a position, each team's main player */
.cs-pbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 24px; }
.cs-pb .nt-h { margin-top: 10px; }
.cs-pl { list-style: none; margin: 0; padding: 0; }
.cs-pl li { display: grid; grid-template-columns: 20px minmax(0, 1fr) 48px; gap: 8px; align-items: center; padding: 3px 0; border-top: 1px solid var(--line); font-size: 0.85rem; }
.cs-pl li .logo img, .cs-pl li .cs-ab { width: 18px; height: 18px; }
.cs-pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-pv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-pl li.none { color: var(--muted); } .cs-pl li.none .cs-pv { font-weight: 400; }
