/* Pioneer NFL Power Rankings: what the NFL pages add to pioneer.css (the shared foundation, copied from the college
   site as it stands) and team.css (the college team page's styles, copied). Mockups approved 2026-11-12 (F17). */
:root { --edge-d: rgba(255, 255, 255, .38); }
/* One view at a time, but only when scripts run (nfl-boot.js sets .js). With scripts off every view stays open. */
.js [data-group]:not(.on) { display: none; }
#inspector [data-team]:not(.on) { display: none; }
html:not(.js) .inspector-col, html:not(.js) .views, html:not(.js) .subnav, html:not(.js) .tabs-row, html:not(.js) .hp-tbl .seg { display: none; }
html:not(.js) [data-group] + [data-group] { margin-top: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font: inherit; color: inherit; }
.tc { --edge: transparent; }
:root[data-pnp-theme="dark"] .tc { --edge: rgba(255, 255, 255, .38); }
.tmark.tc { --tc-edge: var(--edge); }
/* The list of issues: its rows are longer than a pick row, so the columns are wider and a row may wrap. */
.last.issue-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.last.issue-list .g { flex-wrap: wrap; white-space: normal; min-width: 0; row-gap: 2px; }
.last.issue-list .chip { flex: none; }
.season-line { margin: 10px 2px 0; font-size: var(--fs-s); }
.season-line .meta { margin-left: 6px; }
.past-note { background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.past-note a { margin-left: 4px; white-space: nowrap; }
.preview-note { background: var(--toss-bg); color: var(--toss); font-size: var(--fs-xs); font-weight: 600; padding: 6px 0; }
.mast-tools { display: flex; gap: 8px; align-items: center; }
.ph { border: 1.5px dashed var(--rule-strong); border-radius: var(--radius-s); color: var(--meta); font-size: var(--fs-xs); font-weight: 600; padding: 6px 10px; background: var(--surface-2); }
.ph b { color: var(--ink-2); }
.sec-title { font-family: var(--display); font-weight: 700; font-size: var(--fs-xl); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.sec-note { color: var(--meta); font-size: var(--fs-s); }

/* ---------- ranking page ---------- */
.head { padding-block: 24px 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }
.head .h1 { font-size: 2.75rem; }
.head .meta b { color: var(--ink); }
.views { margin-bottom: 16px; }
.views .seg button { padding: 0 18px; font-size: var(--fs-m); }
.layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1180px) { .layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
@media (max-width: 1179px) { .inspector-col { display: none; } }
.sticky { position: sticky; top: 12px; }

.board { overflow: hidden; }
.cols, .rowbtn { display: grid; align-items: center; column-gap: 12px; grid-template-columns: 44px 36px minmax(0, 13.5rem) 54px 84px 62px minmax(220px, 1fr); }
.cols { padding: 10px 16px 6px 10px; border-bottom: 2px solid var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); align-items: end; }
.cols .r { text-align: right; }
.cols .span2 { grid-column: 2 / 4; }
.axis { position: relative; height: 34px; }
.axis span { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 10px; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.axis span.z { color: var(--ink); }
.axis em { position: absolute; top: 0; left: 0; right: 0; text-align: center; font-style: normal; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--rule); }
.rowbtn { width: 100%; min-height: 50px; padding: 4px 16px 4px 10px; border: 0; background: transparent; cursor: pointer; text-align: left; text-decoration: none; color: inherit; }
.rowbtn:hover { background: var(--surface-2); }
.rowbtn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.row.sel .rowbtn { background: color-mix(in srgb, var(--tc) 9%, var(--surface)); box-shadow: inset 4px 0 0 var(--tc); }
.rank { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.tname { min-width: 0; display: grid; }
.tname b { font-size: var(--fs-m); font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tname small { font-size: var(--fs-xs); color: var(--meta); line-height: 1.3; }
.rec { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; font-size: var(--fs-s); }
.pw { text-align: right; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pw.neg { color: var(--ink-2); }
.chip svg { flex: none; }
.chip.steady { color: var(--meta); border-color: var(--rule); }
/* the Power strip: every row shares one scale, so the gaps between teams can be read down the board */
.pstrip { position: relative; height: 30px; }
.pstrip .zero { position: absolute; top: -10px; bottom: -10px; width: 1px; background: var(--rule-strong); }
.pstrip .bar { position: absolute; top: 11px; height: 8px; border-radius: 2px; background: var(--navy); opacity: .9; }
.pstrip .bar.neg { background: var(--meta); opacity: .55; }
.pstrip .was { position: absolute; top: 7px; width: 2px; height: 16px; background: var(--ink); margin-left: -1px; }
.pstrip .was::after { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-sizing: border-box; }
.pstrip .now { position: absolute; top: 8px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--tc, var(--navy)); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--edge, transparent); }
.tier { display: flex; align-items: center; gap: 10px; padding: 3px 16px 3px 10px; background: var(--surface-2); border-bottom: 1px solid var(--rule); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tier::before, .tier::after { content: ""; flex: 1; height: 2px; background: var(--red); opacity: .55; }
.tier::before { flex: 0 0 34px; }
.tier b { color: var(--red); font-variant-numeric: tabular-nums; }
.legend-line { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: var(--fs-s); color: var(--meta); }
.legend-line i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.lg-now { width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.lg-was { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); box-sizing: border-box; }
.lg-tier { width: 22px; height: 2px; background: var(--red); }

/* inspector */
.insp { overflow: hidden; }
.band { background: var(--tc); color: var(--tc-on); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; box-shadow: inset 0 0 0 1px var(--edge); }
.band .tmark.l { box-shadow: inset 0 0 0 2px var(--tc-on); }
.band .nm { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1.02; }
.band .sub { font-size: var(--fs-s); font-weight: 600; margin-top: 4px; }
.band .big { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: .85; font-variant-numeric: tabular-nums; }
.band .big small { display: block; font-size: .8rem; letter-spacing: .1em; text-align: right; }
.sec { padding: 14px 20px; border-top: 1px solid var(--rule); }
.sec h3 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kv .v { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.kv .k { font-size: var(--fs-xs); color: var(--meta); font-weight: 600; }
.spark { width: 100%; height: auto; display: block; overflow: visible; }
.spark text { fill: var(--meta); font-size: 10px; font-family: var(--ui); font-variant-numeric: tabular-nums; }
.spark .ax { stroke: var(--rule); }
.spark .zero { stroke: var(--rule-strong); stroke-dasharray: 4 3; }
.spark .ln { stroke: var(--tc, var(--navy)); fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.spark .halo { stroke: var(--edge, transparent); fill: none; stroke-width: 6; stroke-linejoin: round; }
.spark .pt { fill: var(--tc, var(--navy)); stroke: var(--surface); stroke-width: 2; }
.spark text.v { fill: var(--ink); font-weight: 700; font-size: 11px; }
.eng { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.eng div { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-s); border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.eng b { font-variant-numeric: tabular-nums; }
.ng { display: grid; gap: 8px; }
.ng .who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ng .pct { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pbar { position: relative; height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tc, var(--navy)); }
.pbar u { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ink); margin-left: -1px; }
.qbline { font-size: var(--fs-xs); color: var(--meta); line-height: 1.4; }
.qbline b { color: var(--ink-2); }

/* this week */
.kg { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gcard { padding: 14px 16px; display: grid; gap: 10px; }
.gcard .when { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.gcard .teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.gcard .t { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.gcard .t.h { justify-content: flex-end; text-align: right; }
.gcard .t small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--meta); font-variant-numeric: tabular-nums; }
.gcard .at { font-size: var(--fs-xs); color: var(--meta); font-weight: 700; }
.gcard .t.pick b { box-shadow: inset 0 -3px 0 var(--red); }
.duo { position: relative; height: 12px; border-radius: 6px; overflow: hidden; display: flex; background: var(--surface-2); }
.duo i { display: block; height: 100%; background: var(--tc); }
.duo u { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--surface); }
.gcard .call { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: var(--fs-s); }
.gcard .call b { font-family: var(--display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.last { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 24px; padding: 4px 16px 12px; }
.last div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-s); }
.last .g { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.last .g .meta { font-weight: 500; }
.chip.right { color: var(--up); border-color: currentColor; }
.chip.miss { color: var(--down); border-color: currentColor; }
.section { margin-top: 28px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }

/* luck and schedule */
.ls .cols, .ls .lrow { grid-template-columns: 44px 36px minmax(0, 12rem) 54px minmax(150px, 1.25fr) 66px 66px minmax(110px, 1fr) minmax(110px, 1fr); }
.lrow { display: grid; align-items: center; column-gap: 12px; padding: 5px 16px 5px 10px; min-height: 46px; border-bottom: 1px solid var(--rule); }
.lrow .num { text-align: right; font-variant-numeric: tabular-nums; font-size: var(--fs-s); font-weight: 600; }
.div2 { position: relative; height: 22px; }
.div2 .mid { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; background: var(--rule-strong); }
.div2 i { position: absolute; top: 5px; height: 12px; border-radius: 2px; }
.div2 i.pos { background: var(--up); } .div2 i.negv { background: var(--down); }
.div2 span { position: absolute; top: 2px; font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sos { position: relative; height: 22px; }
.sos .mid { position: absolute; left: 43%; top: -4px; bottom: -4px; width: 1px; background: var(--rule-strong); }
.sos i { position: absolute; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 3px; background: var(--navy); transform: rotate(45deg); }
.sos i.left { background: var(--surface); border: 2px solid var(--navy); box-sizing: border-box; }
.sos small { position: absolute; right: 0; top: 2px; font-size: 11px; font-weight: 600; color: var(--meta); font-variant-numeric: tabular-nums; }

.rec-m, .mob-k, .nm-s { display: none; }
@media (max-width: 759px) {
  .nm-l { display: none; } .nm-s { display: inline; }
  .head { padding-block: 12px 8px; }
  .head .h1 { font-size: 1.9rem; }
  .views .seg { display: flex; width: 100%; flex-wrap: nowrap; }
  .views .seg button { flex: 1 1 auto; padding: 0 6px; font-size: var(--fs-s); justify-content: center; }
  .cols { display: none; }
  .rowbtn { grid-template-columns: 30px 28px minmax(0, 1fr) auto 50px; grid-template-areas: "rk tm nm mv pw" "st st st st st"; row-gap: 2px; column-gap: 8px; padding: 8px 12px 4px 8px; }
  .rowbtn .rank { grid-area: rk; font-size: 1.5rem; }
  .rowbtn .tmark { grid-area: tm; width: 28px; height: 28px; font-size: .75rem; }
  .rowbtn .tname { grid-area: nm; }
  .rowbtn .rec { display: none; }
  .rowbtn .mv { grid-area: mv; }
  .rowbtn .pw { grid-area: pw; font-size: 1.35rem; }
  .rowbtn .pstrip { grid-area: st; height: 14px; }
  .pstrip .bar { top: 4px; height: 6px; }
  .pstrip .now { top: 1px; width: 12px; height: 12px; margin-left: -6px; }
  .pstrip .was { top: 1px; height: 12px; }
  .pstrip .was::after { display: none; }
  .pstrip .zero { top: -4px; bottom: -4px; }
  .rec-m { display: inline; }
  .tier { padding-inline: 8px; font-size: 10px; }
  .kg { grid-template-columns: 1fr; }
  .ls .cols { display: none; }
  .ls .lrow { grid-template-columns: 26px 28px minmax(0, 1fr); grid-template-areas: "rk tm nm" "lk lk lk"; row-gap: 6px; padding: 8px 12px 10px 8px; }
  .ls .lrow .rank { grid-area: rk; font-size: 1.3rem; } .ls .lrow .tmark { grid-area: tm; width: 28px; height: 28px; font-size: .75rem; } .ls .lrow .tname { grid-area: nm; }
  .ls .lrow .rec, .ls .lrow .num, .ls .lrow .sos { display: none; }
  .ls .lrow .div2 { grid-area: lk; }
  .ls .mob-k { display: flex !important; }
}
.mob-k { justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); padding: 8px 12px 6px; border-bottom: 2px solid var(--ink); }
/* NFL team page mockup: what the NFL "How they play" tab adds to the college block (team-v2.css). */
.tabs button:disabled { color: var(--rule-strong); cursor: not-allowed; }
.tabpanel { min-height: 0; }
.subnav { margin-bottom: 16px; }
.subnav .seg button[aria-pressed="true"] { background: var(--navy); color: var(--surface); }
.hp-gauge b { width: 22.6%; }                      /* the top eight of 32 */
.hp-cells.c8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.hp-cells.c8 .hp-cell .v { font-size: 2rem; }
.hp-chart svg.hp-n { display: none; }
.few { color: var(--meta); font-family: var(--ui) !important; font-size: var(--fs-m) !important; font-weight: 700; }
.hp-two.stack { grid-template-columns: 1fr; }
.hp-two.stack .hp-side + .hp-side { border-left: 0; border-top: 1px solid var(--rule); }
.hp > .hp-half { grid-column: span 6; }

/* play by play: offense on the left, defense on the right, the measure in the middle */
.mir { padding: 4px 16px 8px; }
.mhead, .mrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 300px) minmax(0, 1fr); column-gap: 20px; align-items: center; }
.mhead { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); padding: 8px 0; border-bottom: 2px solid var(--ink); }
.mhead span:first-child { text-align: right; color: var(--navy); } .mhead span:last-child { color: var(--red); }
.mrow { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.mrow.adj { background: var(--surface-2); margin-inline: -16px; padding-inline: 16px; }
.mrow.adj .ml b::after { content: "Opponent-adjusted"; margin-left: 8px; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.ml { text-align: center; display: grid; gap: 1px; }
.ml b { font-size: var(--fs-m); } .ml small { font-size: var(--fs-xs); color: var(--meta); line-height: 1.3; } .ml span { font-size: var(--fs-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.mc { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: center; }
.mc.d { grid-template-columns: 96px minmax(0, 1fr); }
.mc .hp-gauge { margin-top: 0; }
.mc.d .hp-gauge i { background: var(--red); }
.mval { display: grid; } .mc.o .mval { text-align: right; }
.mval b { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* tiles (pace, situations) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 4px 8px 8px; }
.tiles > div { padding: 10px 8px; border-bottom: 1px solid var(--rule); min-width: 0; }
.tiles > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.tiles.two { padding: 0; } .tiles.two > div { border-bottom: 0; }
.tiles .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); line-height: 1.3; }
.tiles .v { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tiles .s { font-size: var(--fs-xs); color: var(--meta); font-variant-numeric: tabular-nums; }

/* "what first and second down say" */
.due { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-left: 4px solid var(--navy); border-radius: var(--radius-s); background: var(--surface-2); }
.hp-side.def .due { border-left-color: var(--red); }
.due .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.due .row { display: flex; gap: 12px; align-items: center; font-size: var(--fs-s); color: var(--ink-2); margin-top: 4px; }
.due .v { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.due b.up { color: var(--up); } .due b.down { color: var(--down); }
.due p { margin: 6px 0 0; font-size: var(--fs-s); font-weight: 600; color: var(--ink); }
.phc { text-align: left !important; white-space: normal !important; }
.hp-note .ph { display: inline-block; margin-top: 6px; }

/* luck board */
.lkhead, .lk { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(160px, 1fr) 110px; column-gap: 20px; align-items: center; padding: 10px 16px; }
.lkhead { padding-block: 4px; border-bottom: 2px solid var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lkhead span:nth-child(2) { display: flex; justify-content: space-between; } .lkhead em { font-style: normal; } .lkhead em:first-child { color: var(--down); } .lkhead em:last-child { color: var(--up); }
.lk { border-bottom: 1px solid var(--rule); }
.lt { display: grid; gap: 2px; } .lt b { font-size: var(--fs-m); } .lt span { font-size: var(--fs-s); color: var(--ink-2); } .lt span b { font-size: inherit; color: var(--ink); } .lt small { font-size: var(--fs-xs); color: var(--meta); }
.lw { font-weight: 700; font-size: var(--fs-s); color: var(--meta); } .lw.up { color: var(--up); } .lw.down { color: var(--down); }

/* schedule list on the light overview */
.sched2 { list-style: none; margin: 0; padding: 0 16px 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); column-gap: 24px; }
.sched2 li { display: grid; grid-template-columns: 58px 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.sched2 .wk { font-size: var(--fs-xs); font-weight: 700; color: var(--meta); text-transform: uppercase; letter-spacing: .05em; }
.sched2 .on { display: grid; min-width: 0; } .sched2 .on small { color: var(--meta); font-size: var(--fs-xs); }
.sched2 .tocome { opacity: .8; }

@media (max-width: 1100px) {
  .hp-cells.c8 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .hp-cells.c8 .hp-cell:nth-child(3n+1) { border-left: 1px solid var(--rule); }
  .hp-cells.c8 .hp-cell:nth-child(4n+1) { border-left: 0; }
  .hp > .hp-half { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .hp-chart svg.hp-w { display: none; } .hp-chart svg.hp-n { display: block; }
  .panel-head { flex-wrap: wrap; gap: 2px 12px; }
  .hp-cells.c8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cells.c8 .hp-cell:nth-child(4n+1) { border-left: 1px solid var(--rule); }
  .hp-cells.c8 .hp-cell:nth-child(2n+1) { border-left: 0; }
  .hp-cells.c8 .hp-cell .k, .hp-cells.c8 .hp-cell .s { min-height: 0; }
  .subnav .seg { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .subnav .seg button { flex: none; white-space: nowrap; }
  .tabs button:disabled { display: none; }
  .mir { padding-inline: 12px; }
  .mhead { grid-template-columns: 1fr 1fr; } .mhead span:nth-child(2) { display: none; } .mhead span:first-child { text-align: left; } .mhead span:last-child { text-align: right; }
  .mrow { grid-template-columns: 1fr 1fr; grid-template-areas: "l l" "o d"; row-gap: 6px; column-gap: 12px; }
  .mrow.adj { margin-inline: -12px; padding-inline: 12px; }
  .ml { grid-area: l; text-align: left; } .ml small { display: none; }
  .mc.o { grid-area: o; grid-template-columns: 1fr; gap: 6px; } .mc.o .mval { text-align: left; order: -1; display: flex; gap: 8px; align-items: baseline; }
  .mc.d { grid-area: d; grid-template-columns: 1fr; gap: 6px; } .mc.d .mval { text-align: right; display: flex; gap: 8px; align-items: baseline; justify-content: flex-end; }
  .mval b { font-size: 1.5rem; }
  .lkhead { display: none; }
  .lk { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "t t" "b w"; row-gap: 8px; padding-inline: 12px; }
  .lt { grid-area: t; } .lk .div2 { grid-area: b; } .lw { grid-area: w; text-align: right; }
  .due .row { align-items: flex-start; }
}

.lk .div2 { background: var(--surface-2); border-radius: 3px; }
.mrow.adj .hp-gauge { background: var(--surface); }

/* ---------- prose pages (How it works, About) ---------- */
.prose { max-width: 74ch; padding-block: 8px 24px; }
.prose h1 { font-family: var(--display); font-weight: 700; font-size: 2.75rem; line-height: 1; text-transform: uppercase; margin: 24px 0 12px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: var(--fs-xl); text-transform: uppercase; letter-spacing: .02em; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.prose p { margin: 0 0 12px; }
.prose .dek { font-size: var(--fs-l); color: var(--ink); }
.prose table.data { margin: 8px 0 16px; }
.prose table.data td b { color: var(--ink); }
.ov { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.ov > .panel { min-width: 0; }
.ov > .w8 { grid-column: span 8; } .ov > .w4 { grid-column: span 4; } .ov > .w12 { grid-column: 1 / -1; }
.ov .spark { padding: 8px 16px 12px; }
.ov .eng, .ov .ng { padding: 12px 16px 16px; }
@media (max-width: 1100px) { .ov > .w8, .ov > .w4 { grid-column: 1 / -1; } }
@media (max-width: 759px) { .ov { display: block; } .ov > .panel { margin-bottom: 16px; } .prose h1 { font-size: 2rem; } }

.btn.wide { width: 100%; }
.rank.sm { font-size: 1.5rem; }
.cols .c { text-align: center; }
.meta.note { margin-top: 10px; max-width: 90ch; }
.ngp { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tname a, .gcard .t a, .sched2 a, .ng a { color: inherit; text-decoration: none; }
.tname a:hover, .gcard .t a:hover, .sched2 a:hover, .ng a:hover { color: var(--red); text-decoration: underline; }
.hp.what { margin-top: var(--gap); }
.insp .sec:first-child { border-top: 0; }

/* the team overview's Power chart comes in a wide and a phone drawing */
.spark.sp-n { display: none; }
@media (max-width: 759px) { .spark.sp-w { display: none; } .spark.sp-n { display: block; } }

/* ---------- deeper team pages: the resume tab and the added parts of "How they play" ---------- */
.subnav .seg { flex-wrap: wrap; }
.hp-cells.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hp-cells.c6 .hp-cell .v { font-size: 1.9rem; }
.hp-cells.c6 .hp-cell .s { min-height: 3.9em; }
.hp-form.one { grid-template-columns: 1fr; }
.hp-chart.gbg svg { max-height: 340px; }
.hp-end.gw { fill: var(--up); } .hp-end.gl { fill: var(--down); }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles.four > div { border-right: 1px solid var(--rule); border-bottom: 0; }
.tiles.four > div:last-child { border-right: 0; }
.mrow .ml small:empty { display: none; }
table.spl, table.divt { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
table.spl th, table.spl td, table.divt th, table.divt td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
table.spl th { font-weight: 600; white-space: normal; }
table.spl td b { font-variant-numeric: tabular-nums; font-size: var(--fs-m); }
table.spl td.barc { width: 42%; padding-right: 0; }
.wl { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--down); opacity: .9; }
.wl:empty { background: var(--surface-2); }
.wl .w { background: var(--up); } .wl .t { background: var(--meta); }
table.divt thead th { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--meta); border-bottom: 2px solid var(--ink); }
table.divt tbody th { display: flex; align-items: center; gap: 8px; font-weight: 700; }
table.divt td { font-variant-numeric: tabular-nums; }
table.divt .pl { font-family: var(--display); font-weight: 700; font-size: 1.2rem; width: 22px; }
table.divt tr.me th, table.divt tr.me td { background: var(--surface-2); }
table.divt a { color: inherit; text-decoration: none; } table.divt a:hover { color: var(--red); text-decoration: underline; }
.lg-head, .lg-row { display: grid; align-items: center; column-gap: 12px; grid-template-columns: 58px 28px minmax(0, 1.4fr) 58px 76px 76px minmax(96px, 1fr) 64px 64px minmax(0, 1.1fr); padding: 8px 16px; }
.lg-head { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--meta); border-bottom: 2px solid var(--ink); align-items: end; }
.lg-head .r { text-align: right; }
.ledger { list-style: none; margin: 0; padding: 0; }
.lg-row { border-bottom: 1px solid var(--rule); min-height: 52px; }
.lg-row .wk { font-size: var(--fs-xs); font-weight: 700; color: var(--meta); text-transform: uppercase; letter-spacing: .05em; }
.lg-row .on { display: grid; min-width: 0; } .lg-row .on small { color: var(--meta); font-size: var(--fs-xs); }
.lg-row .on a { color: inherit; text-decoration: none; } .lg-row .on a:hover { color: var(--red); text-decoration: underline; }
.lc.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--fs-s); }
.lc.num.up { color: var(--up); } .lc.num.down { color: var(--down); }
.lc.ctl { display: grid; grid-template-columns: 1fr 36px; gap: 8px; align-items: center; }
.lc.ctl small { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.lg-row .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.sched2 .avgc { display: grid; text-align: right; } .sched2 .avgc b { font-family: var(--display); font-size: 1.3rem; line-height: 1; font-variant-numeric: tabular-nums; } .sched2 .avgc small { font-size: 10px; color: var(--meta); }
.tmap { display: grid; gap: 6px; }
.grow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gc { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 8px 10px; display: grid; gap: 2px; background: var(--surface); min-width: 0; }
.gc .k { display: flex; justify-content: space-between; gap: 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--meta); }
.gc .k em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.gc b { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gc small { font-size: var(--fs-xs); color: var(--meta); font-variant-numeric: tabular-nums; }
.gc.hot { border-color: var(--up); box-shadow: inset 0 0 0 1px var(--up); background: color-mix(in srgb, var(--up) 9%, var(--surface)); }
.gc.cold { border-color: var(--down); box-shadow: inset 0 0 0 1px var(--down); background: color-mix(in srgb, var(--down) 8%, var(--surface)); }
.tmap .los { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); border-top: 2px dashed var(--rule-strong); padding-top: 4px; }
@media (max-width: 1100px) {
  .hp-cells.c6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles.four > div:nth-child(even) { border-right: 0; } .tiles.four > div { border-bottom: 1px solid var(--rule); }
  .lg-head { display: none; }
  .lg-row { grid-template-columns: 58px 28px minmax(0, 1fr) auto; grid-template-areas: "wk tm on res" "x x tg tg"; row-gap: 6px; }
  .lg-row .wk { grid-area: wk; } .lg-row .tmark { grid-area: tm; } .lg-row .on { grid-area: on; } .lg-row .res { grid-area: res; } .lg-row .tags { grid-area: tg; }
  .lg-row .lc { display: none; }
}
@media (max-width: 759px) {
  .hp-cells.c6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cells.c6 .hp-cell:nth-child(3n+1) { border-left: 1px solid var(--rule); }
  .hp-cells.c6 .hp-cell:nth-child(2n+1) { border-left: 0; }
  .hp-cells.c6 .hp-cell .k, .hp-cells.c6 .hp-cell .s { min-height: 0; }
  .subnav .seg { flex-wrap: nowrap; }
  .gc b { font-size: 1.25rem; } .gc { padding: 6px; } .gc .k { font-size: 10px; letter-spacing: 0; }
  table.spl td.barc { width: 30%; }
}

.lg-m { display: none; }
@media (max-width: 1100px) { .lg-row .on small.lg-m { display: block; color: var(--ink-2); font-variant-numeric: tabular-nums; } }
@media (max-width: 759px) { table.divt .pwc { display: none; } table.divt th, table.divt td { padding-right: 6px; } }
