/* Site version 2.0 (Dec 2): the section bar's dividers, Model components, Polls vs NAPPR+ on Model, Exhibit A (Model
   accuracy and Not betting advice), Error analysis' terms and the Not betting advice page.
   One slice of the page's stylesheet. The files load in the order of their numbers (the <link> list in
   web/site_template.html) and several rules rely on that order at equal specificity: never reorder or merge
   them without running tests/layout_check.js. */

/* the section bar: a thin vertical rule between groups (core/nav_calc.js subnavHTML) */
.subnav .sn-div { flex: none; align-self: stretch; width: 1px; margin: 4px 5px; background: var(--line-strong); opacity: 0.7; }

#comp, #polls { width: 100%; max-width: 1120px; margin: 0 auto; box-sizing: border-box; gap: 20px; min-width: 0; }
#polls #pv-body { max-width: 720px; }

/* Exhibit A: every game against the closing line (core/exhibit_calc.js) */
.ex-svg { width: 100%; max-width: 720px; height: auto; display: block; margin: 0 auto; font-family: var(--f-body); overflow: visible; }
.ex-svg .ex-g { stroke: var(--line); stroke-width: 1; }
.ex-svg .ex-t { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.ex-svg .ex-ax { fill: var(--ink); }
.ex-svg .ex-band { fill: var(--score); opacity: 0.1; }
.ex-svg .ex-pt { fill: var(--score); opacity: 0.3; }
.ex-svg .ex-zero { stroke: var(--ink); stroke-width: 2.5; }
.ex-key { justify-content: center; }
.md-sw.ex-k-pt { width: 8px; height: 8px; border-radius: 50%; background: var(--score); }
.md-sw.ex-k-zero { height: 3px; background: var(--ink); }
.md-sw.ex-k-band { width: 14px; height: 10px; border-radius: 1px; background: var(--score); opacity: 0.25; }

/* Error analysis: the terms, under the head */
.md-terms { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; font-size: 0.85rem; color: var(--muted); }
.md-terms > div { display: flex; gap: 6px; min-width: 0; }
.md-terms dt { font-weight: 700; color: var(--ink); }
.md-terms dd { margin: 0; }

/* Model components: every FBS team's NAPPR+ and its parts; possessions per game */
.cm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.cm-scroll:focus-visible { outline: 2px solid var(--score); outline-offset: 2px; }
.cm-t { border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: 0.86rem; min-width: 100%; }
.cm-t th, .cm-t td { padding: 5px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg); }
.cm-t thead th { font-weight: 400; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; vertical-align: bottom; }
.cm-t thead th.on { color: var(--ink); font-weight: 700; }
.cm-t .cm-rk0 { color: var(--muted); width: 28px; }
.cm-t .cm-tm { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 400; box-shadow: 1px 0 0 var(--line); }
.cm-t .cm-tm a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; max-width: 160px; }
.cm-t .cm-tm a span { overflow: hidden; text-overflow: ellipsis; }
.cm-t .cm-tm small { display: block; color: var(--muted); font-size: 0.72rem; }
.cm-t .cm-n { font-weight: 700; }
.cm-t small.cm-pg { font-weight: 400; color: var(--muted); margin-left: 3px; font-size: 0.75rem; }
.cm-t small.cm-rk { display: inline-block; min-width: 2.1em; margin-left: 3px; font-size: 0.7rem; font-weight: 400; color: var(--muted); }
.cm-t small.cm-rk.hi { color: var(--score); font-weight: 700; } .cm-t small.cm-rk.lo { color: var(--turn); font-weight: 700; }
.cm-t tr.me th, .cm-t tr.me td { background: var(--surface); }
.cm-t tr.me .cm-tm a { font-weight: 700; }
.cm-t .cm-u { position: relative; }      /* holds the screen-reader text inside the scrolling box */
.cm-pace .cm-tl { color: var(--ink); text-decoration: none; }
@media (max-width: 639px) { .cm-t .cm-rk0 { display: none; } .cm-t .cm-tm a { max-width: 118px; } }

/* About: Not betting advice */
#about > .bet-h { font-size: 2rem; line-height: 1.1; }
.bet { max-width: 760px; }
.bet .bet-lead { font-size: 1.08rem; line-height: 1.55; color: var(--ink); max-width: 64ch; }
.bet-ex { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.bet-ex h2 { font-family: var(--f-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.bet .bet-cap { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.bet .bet-go { margin-top: 8px; }
