/* College basketball conference + projections pages (js/pages/conferences.js, js/pages/projections.js) */

/* shared table cells */
.cf-card { padding: 20px 22px 22px; }
.cf-pbar { min-width: 64px; }
.cf-sbar { min-width: 84px; }
.cf-name { display: grid; line-height: 1.25; text-decoration: none; color: var(--text); }
.cf-name b { font-weight: 700; }
.cf-name small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.cf-team { color: var(--text); text-decoration: none; gap: 9px; }
.cf-team .logo { width: 24px; height: 24px; }
.cf-team > span { font-weight: 600; max-width: 180px; display: grid; line-height: 1.25; }
.cf-team small { font-size: 11px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.cf-team:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.cf-team:hover small { text-decoration: none; }
.pj-conf { font-weight: 550; }

.hero .eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow a:hover { text-decoration: underline; }
.cf-stat-team b { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.cf-stat-team .logo { width: 26px; height: 26px; }

/* conference status: "starts on" or "under way" */
.cf-status { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(160px, 260px); gap: 14px 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 16px 20px; margin-bottom: 20px; }
.cf-status.pre { grid-template-columns: auto minmax(0, 1fr); background: color-mix(in oklab, var(--accent-soft) 55%, var(--surface));
  border-color: color-mix(in oklab, var(--accent) 22%, var(--border)); }
.cf-status-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.cf-status-ic svg { width: 20px; height: 20px; }
.cf-status-t { display: grid; gap: 3px; min-width: 0; }
.cf-status-t b { font: 700 17px/1.3 var(--font-display); letter-spacing: -0.01em; }
.cf-status-t > span { color: var(--text-2); font-size: 14px; }
.cf-in { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font: 700 12px/1.5 var(--font-text); vertical-align: 2px; letter-spacing: 0; }
.cf-prog { height: 8px; border-radius: 999px; background: var(--grid); overflow: hidden; }
.cf-prog i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* next conference games */
.cf-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 20px; }
.cf-day { grid-column: 1 / -1; font: 700 11.5px/1.3 var(--font-text); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 6px; }
.cf-day:first-child { margin-top: 0; }
.cf-game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; align-items: center;
  padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cf-side { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.cf-side.r { flex-direction: row-reverse; text-align: right; }
.cf-side .logo { width: 22px; height: 22px; }
.cf-sn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cf-side:hover .cf-sn { text-decoration: underline; text-underline-offset: 3px; }
.cf-sp { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 500; }
.cf-side.r .cf-sp { margin-left: 0; margin-right: auto; }
.cf-sp.fav { color: var(--text); font-weight: 750; }
.cf-gbar { grid-column: 1 / -1; display: flex; gap: 3px; height: 5px; }
.cf-gbar i { display: block; height: 100%; border-radius: 999px; background: var(--prob-other); }
.cf-gbar i.fav { background: var(--series-1); }
.cf-gm { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.cf-gm a { font-weight: 650; text-decoration: none; }
.cf-gm a:hover { text-decoration: underline; }

.cf-others { margin: 8px 0 24px; }
.cf-others-h { display: block; font: 700 11.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cf-others .chips { margin: 0; }
.cf-note { margin: 0 0 20px; max-width: 90ch; }

/* tournament odds card on /cbb/projections */
.cf-tour .card-head { align-items: flex-start; }
.cf-tour-sub { margin: 4px 0 0; max-width: 70ch; }
.cf-mini { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cf-mini th, .cf-mini td { padding: 9px 10px; border-bottom: 1px solid var(--grid); text-align: left; white-space: nowrap; }
.cf-mini th { font: 650 11px/1.3 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--border-strong); }
.cf-mini tbody tr:last-child td { border-bottom: 0; }
.cf-mini tbody tr:hover td { background: var(--row-hover); }
.cf-mini .num { text-align: right; }
.cf-mini .cf-rk { width: 28px; color: var(--muted); font-weight: 600; padding-right: 0; }
.cf-mini td.cf-hl { background: color-mix(in oklab, var(--accent) 5%, transparent); }
.cf-mini th.cf-hl { color: var(--accent); }

@media (max-width: 640px) {
  .cf-card { padding: 14px; }
  .cf-status, .cf-status.pre { grid-template-columns: auto minmax(0, 1fr); padding: 14px; border-radius: var(--radius); margin-bottom: 16px; }
  .cf-prog { grid-column: 1 / -1; }
  .cf-status-ic { width: 36px; height: 36px; }
  .cf-status-t b { font-size: 15.5px; }
  .cf-status-t > span { font-size: 13.5px; }
  .cf-in { margin-left: 0; display: table; margin-top: 4px; }
  .cf-games { grid-template-columns: minmax(0, 1fr); }
  .cf-game { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cf-side.r { flex-direction: row; text-align: left; }
  .cf-side.r .cf-sp { margin-left: auto; margin-right: 0; }
  .cf-team > span { max-width: 130px; }
  .cf-name small { max-width: 120px; }
  .cf-stat-team b { font-size: 16px; }
  .cf-mini th, .cf-mini td { padding: 9px 7px; }
}
