/* The college team page styles (header band, tabs, the "How they play" block), copied from mockups/v2/team/index.html
   on 2026-11-12. The NFL pages add to it in nfl.css. */

/* Team-page CSS: built from pioneer.css tokens; team colours arrive per element. */
.tmark, .tband, .tstripe { --tc-edge: var(--edge-l, transparent); }
:root[data-pnp-theme="dark"] .tmark, :root[data-pnp-theme="dark"] .tband, :root[data-pnp-theme="dark"] .tstripe { --tc-edge: var(--edge-d, transparent); }

.nav a.parent { color: var(--navy); box-shadow: inset 0 -3px 0 var(--rule-strong); border-radius: 0; }
.mast-tools { display: flex; align-items: center; gap: 8px; }
.crumbs { display: flex; gap: 8px; align-items: center; padding-block: 14px 12px; font-size: var(--fs-s); color: var(--meta); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- team header: bounded colour band + neutral surface ---------- */
.th { display: grid; grid-template-columns: 320px 1fr; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.tband { --tc: #888; --tc-on: #fff; position: relative; background: var(--tc); color: var(--tc-on); box-shadow: inset 0 0 0 1px var(--tc-edge); display: flex; align-items: flex-end; padding: 20px 24px 28px; min-height: 220px; overflow: hidden; }
.tband .abbr { font-family: var(--display); font-weight: 700; font-size: 168px; line-height: .8; letter-spacing: -.01em; margin: 0; }
.tband .mascot { position: absolute; top: 16px; left: 24px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tstripe { --tc: #888; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--tc); box-shadow: inset 0 0 0 1px rgba(127,127,127,.55); }
.th-body { padding: 22px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-content: center; }
.th-id { display: flex; gap: 16px; align-items: center; min-width: 0; }
.th-id h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 3.4rem; line-height: .95; }
.th-id .sub { color: var(--meta); font-weight: 500; margin-top: 4px; }
.th-rank { display: flex; align-items: flex-end; gap: 10px; }
.th-rank .no { font-family: var(--display); font-weight: 700; font-size: var(--fs-xl); color: var(--meta); padding-bottom: 14px; text-transform: uppercase; }
.th-rank .big { font-family: var(--display); font-weight: 700; font-size: 7.5rem; line-height: .8; font-variant-numeric: tabular-nums; }
.th-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 16px; border-top: 1px solid var(--rule); }
.fact .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); }
.fact .v { font-weight: 700; font-size: var(--fs-l); font-variant-numeric: tabular-nums; }

.th.compact { grid-template-columns: 96px 1fr; }
.th.compact .tband { min-height: 0; padding: 10px 12px 18px; align-items: center; }
.th.compact .tband .abbr { font-size: 58px; }
.th.compact .tband .mascot { display: none; }
.th.compact .tstripe { height: 6px; }
.th.compact .th-body { padding: 12px 16px; grid-template-columns: 1fr; gap: 6px; }
.th.compact .th-id h1 { font-size: 1.6rem; }
.th.compact .th-id .sub { margin-top: 0; font-size: var(--fs-s); }
.th.compact .th-rank .big { font-size: 2.6rem; }
.th.compact .th-rank .big.sm { font-size: 1.5rem; }
.th.compact .th-rank .no { font-size: var(--fs-m); padding-bottom: 2px; }
.th.compact .th-facts { padding-top: 8px; gap: 4px 20px; }
.th.compact .fact .v { font-size: var(--fs-m); }

/* ---------- tabs ---------- */
.tabs-row { display: flex; align-items: center; gap: 12px; margin-block: 20px; }
.tabs { display: flex; border-bottom: 2px solid var(--rule); flex: 1; }
.tabs button { min-height: var(--touch); padding: 0 22px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 700; font-size: var(--fs-m); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.tabs button:hover { color: var(--ink); background: var(--surface-2); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tab-c, var(--navy)); }
.tabpanel[hidden] { display: none; }
.tabpanel { min-height: 300px; }

.ov-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.ov-main { grid-column: span 8; display: grid; gap: var(--gap); }
.ov-side { grid-column: span 4; display: grid; gap: var(--gap); }
.ov-picker { display: none; margin-bottom: 16px; }
.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); }

/* chart */
.chart-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.lg { display: inline-flex; align-items: center; gap: 8px; min-height: var(--touch); padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink-2); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.lg[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); border-color: var(--ink-2); }
.lg[aria-pressed="false"] { opacity: .8; }
.lg[disabled] { cursor: default; opacity: 1; }
.lg.static { cursor: default; }
.lg svg { display: block; }
.chartbox { padding: 8px 12px 12px; }
.chartbox svg { display: block; width: 100%; height: auto; overflow: visible; }
.ax { fill: var(--meta); font-size: 11px; font-family: var(--ui); font-variant-numeric: tabular-nums; }
.ax-t { fill: var(--meta); font-size: 11px; font-family: var(--ui); font-weight: 600; letter-spacing: .04em; }
.endl { fill: var(--ink); font-size: 12px; font-family: var(--ui); font-weight: 600; font-variant-numeric: tabular-nums; }
.endl.hi { font-weight: 700; font-size: 13px; }
.gridl { stroke: var(--rule); stroke-width: 1; }
.tbl-wrap { padding: 4px 16px 16px; }
.cap { padding: 0 16px 14px; margin: 0; color: var(--meta); font-size: var(--fs-s); }

/* components */
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.comp { padding: 16px; border-right: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.comp:last-child { border-right: 0; }
.comp .nm { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); }
.comp .pos { font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: .9; font-variant-numeric: tabular-nums; }
.comp .pos small { font-size: var(--fs-s); font-family: var(--ui); font-weight: 600; color: var(--meta); margin-left: 4px; }
.comp p { margin: 0; color: var(--ink-2); font-size: var(--fs-s); }
.track { position: relative; height: 8px; border-radius: 4px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); margin: 6px 7px 0; }
.track i { position: absolute; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); background: var(--tc, var(--navy)); border: 2px solid var(--ink); border-radius: 50%; }
.track-ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--meta); font-variant-numeric: tabular-nums; }
.weights { margin: 0; padding: 12px 16px; border-top: 1px solid var(--rule); color: var(--meta); font-size: var(--fs-s); }

/* next game */
.ng { padding: 16px; display: grid; gap: 14px; }
.ng-opp { display: flex; gap: 14px; align-items: center; }
.ng-opp .nm { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.ng-opp .sub { color: var(--meta); font-size: var(--fs-s); margin-top: 4px; }
.ng-chance { display: grid; gap: 6px; }
.ng-chance .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ng-chance .pct { font-family: var(--display); font-weight: 700; font-size: 3.2rem; line-height: .9; font-variant-numeric: tabular-nums; }
.pbar { height: 12px; border-radius: 2px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); position: relative; overflow: hidden; }
.pbar b { position: absolute; inset: 0 auto 0 0; background: var(--tc, var(--navy)); box-shadow: inset 0 0 0 1px var(--tc-edge, transparent); }
.pbar.mid::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ink); opacity: .55; }
.pbar-ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--meta); }

/* chances */
.ch-list { padding: 4px 16px 8px; display: grid; }
.ch-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.ch-row .lbl { font-size: var(--fs-s); font-weight: 600; color: var(--ink-2); }
.ch-row .val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: var(--fs-l); }
.ch-row .pbar { grid-column: 1 / -1; height: 8px; }
.ch-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 16px 16px; border-top: 1px solid var(--rule); }
.ch-two .v { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* schedule */
.sched { list-style: none; margin: 0; padding: 0; }
.g { display: grid; grid-template-columns: 130px minmax(0, 1fr) 90px 130px 230px; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); min-height: 64px; }
.sched .g:last-child { border-bottom: 0; }
.g.head { min-height: 0; padding-block: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); border-bottom: 2px solid var(--ink); }
.g .d { font-weight: 600; font-variant-numeric: tabular-nums; }
.g .opp { display: flex; align-items: center; gap: 12px; min-width: 0; }
.g .opp b { font-weight: 700; }
.g .opp .meta { display: block; }
.g .opp .confm { display: none; }
.g .res { display: flex; justify-content: flex-end; align-items: center; gap: 10px; text-align: right; }
.g.next { background: var(--surface-2); }
.g .res .pbar { width: 70px; height: 8px; }
.chip.neutral { background: var(--surface-2); border-color: transparent; }
.nofc { color: var(--meta); font-size: var(--fs-s); }
.rchip { min-width: 34px; justify-content: center; font-weight: 700; font-size: var(--fs-s); padding: 3px 10px; }

/* resume */
.res-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.res-left { grid-column: span 7; display: grid; gap: var(--gap); }
.res-right { grid-column: span 5; display: grid; gap: var(--gap); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 18px 16px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--display); font-weight: 700; font-size: 3.2rem; line-height: .9; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 1rem; color: var(--meta); font-family: var(--ui); font-weight: 600; }
.stat .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); margin-bottom: 8px; }
.plain { padding: 16px; margin: 0; color: var(--ink-2); max-width: 62ch; }
.vs-list { list-style: none; margin: 0; padding: 0; }
.vs-list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.vs-list li:last-child { border-bottom: 0; }
.vs-list .grow { flex: 1; min-width: 0; }
.placeholder { margin: 16px; padding: 20px; border: 2px dashed var(--rule-strong); border-radius: var(--radius); color: var(--meta); text-align: center; font-weight: 600; background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--surface-2) 10px 11px); }
.placeholder small { display: block; font-weight: 400; margin-top: 4px; }

/* next game and buttons */
.next-btn { min-height: var(--touch); padding: 0 14px; }
.link-btn { display: inline-flex; align-items: center; min-height: var(--touch); padding: 0; margin-top: 6px; border: 0; background: none; color: var(--navy); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--red); }

/* masthead team search result (announced politely) */
.search-wrap { position: relative; }
.search-out { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: min(340px, 86vw); padding: 0; font-size: var(--fs-s); color: var(--ink-2); }
.search-out:not(:empty) { padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(16,24,40,.14); }
.search-out p { margin: 0; }
.search-out b { color: var(--ink); }

/* overview history as a stacked list on phones (table hidden there) */
.hist-stack { display: none; }
.hs { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hs:last-child { border-bottom: 0; }
.hs-h { margin: 0 0 6px; font-weight: 700; }
.hs dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.hs dl > div { display: flex; justify-content: space-between; gap: 8px; }
.hs dt { color: var(--meta); font-size: var(--fs-s); }
.hs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--fs-s); text-align: right; }

/* compare */
.cmp-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: var(--gap); }
.cmp-bar label { font-weight: 700; font-size: var(--fs-s); }
.sel { min-height: var(--touch); padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; min-width: 240px; }
.cmp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.cmp-chart { grid-column: span 7; }
.cmp-stats { grid-column: span 5; }
.cmp-th { display: flex; align-items: center; gap: 8px; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: var(--fs-s); color: var(--ink); }
table.data td.k { color: var(--meta); font-weight: 600; }
table.data td.r { font-weight: 600; }


.th-tied { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: var(--fs-s); font-weight: 600; }
.oneSrc { display: inline-block; margin-top: 2px; color: var(--meta); font-size: var(--fs-xs); font-weight: 600; }
.tsum2 { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; }
.tgroup .tnote { padding: 0 16px 8px; margin: 0; color: var(--meta); font-size: var(--fs-s); max-width: 60ch; }
.search-out ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.search-out li a { display: flex; align-items: center; min-height: var(--touch); color: var(--navy); font-weight: 600; }

/* ---------- empty states, national titles ---------- */
[hidden] { display: none !important; }
.empty { margin: 16px; padding: 24px 20px; border: 2px dashed var(--rule-strong); border-radius: var(--radius); text-align: center; color: var(--ink-2); background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--surface-2) 10px 11px); }
.empty b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.empty p { margin: 8px auto 0; max-width: 52ch; font-size: var(--fs-s); }

.titles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.titles-grid > .panel:only-child { grid-column: 1 / -1; }
.tplain { padding: 4px 16px 8px; color: var(--ink-2); font-size: var(--fs-s); max-width: 60ch; }
.tnone { margin: 0; padding: 4px 16px 20px; color: var(--meta); font-weight: 600; }
.tcount { font-variant-numeric: tabular-nums; }
.ychips { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 16px 20px; }
.ychip { display: inline-flex; align-items: center; gap: 10px; min-height: var(--touch); padding: 0 16px 0 12px; border: 1px solid var(--rule-strong); border-left: 6px solid var(--tc, var(--navy)); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.ychip .yr { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ychip:hover { background: var(--surface-2); border-color: var(--ink-2); border-left-color: var(--tc, var(--navy)); }
.ychip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ychip.disputed { border-style: dashed; border-left-style: solid; }
.ychip .dtag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 1px 7px; border: 1px solid var(--ink-2); border-radius: 999px; }
.tsum { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; flex-wrap: wrap; }
.tsum-n { display: flex; align-items: baseline; gap: 10px; }
.tsum-n .n { font-family: var(--display); font-weight: 700; font-size: 4.2rem; line-height: .85; font-variant-numeric: tabular-nums; }
.tsum-n .l { font-weight: 700; color: var(--ink-2); }
.tsum-l { display: flex; align-items: center; gap: 10px; }
.tsum-l .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); }

.loading { padding: 80px 0; text-align: center; color: var(--meta); }
.loading .bar { width: 220px; height: 6px; margin: 16px auto 0; border-radius: 3px; background: var(--surface-2); overflow: hidden; position: relative; }
.loading .bar::after { content: ""; position: absolute; inset: 0 70% 0 0; background: var(--navy); animation: slide 1s ease-in-out infinite alternate; }
@keyframes slide { to { inset: 0 0 0 70%; } }
@media (prefers-reduced-motion: reduce) { .loading .bar::after { animation: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .th { grid-template-columns: 220px 1fr; }
  .tband .abbr { font-size: 120px; }
  .th-body { grid-template-columns: 1fr; }
  .th-rank .big { font-size: 6rem; }
  .ov-main, .ov-side, .res-left, .res-right, .cmp-chart, .cmp-stats { grid-column: 1 / -1; }
  .titles-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .comp:nth-child(2) { border-right: 0; }
  .comp:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .th.compact { grid-template-columns: 96px 1fr; }
}
@media (max-width: 759px) {
  .masthead .wrap { gap: 8px; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; }
  .nav a { white-space: nowrap; }
  .mast-tools .search { display: none; }
  .crumbs { padding-block: 10px 8px; }
  .th { grid-template-columns: 1fr; }
  .th.compact { grid-template-columns: 1fr; }
  .tband { min-height: 0; padding: 14px 16px 22px; align-items: center; }
  .tband .abbr { font-size: 76px; }
  .tband .mascot { display: none; }
  .th.compact .tband .abbr { font-size: 48px; }
  .th-body { padding: 16px; }
  .th-id h1 { font-size: 2.4rem; }
  .th-rank .big { font-size: 5rem; }
  .th.compact .th-rank .big { font-size: 2.6rem; }
  .th-facts { gap: 8px 24px; }
  .tabs-row { margin-block: 14px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border: 0; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: var(--radius); }
  .tabs button { min-width: 0; border: 0; margin: 0; border-radius: var(--radius-s); padding: 0 8px; white-space: nowrap; }
  .tabs button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 2px rgba(16,24,40,.12); }
  .ov-picker { display: block; }
  .ov-picker .seg { flex-wrap: wrap; }
  .ov-picker .seg button { white-space: nowrap; min-height: var(--touch); }
  .ov-pane:not(.on) { display: none; }
  .ov-grid, .ov-main, .ov-side { display: block; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
  .lg { min-height: var(--touch); }
  .chart-tools .btn { min-height: var(--touch); }
  .g.head { display: none; }
  .g { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "opp res" "d site"; gap: 6px 12px; padding: 14px 16px; }
  .g .d { grid-area: d; font-weight: 500; color: var(--meta); font-size: var(--fs-s); }
  .g .opp { grid-area: opp; }
  .g .site { grid-area: site; justify-self: end; }
  .g .confcol { display: none; }
  .g .opp .confm { display: inline; }
  .g .res { grid-area: res; }
  .tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .titles-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .sel { width: 100%; min-width: 0; }
}
@media (max-width: 700px) {
  .hist-tbl { display: none; }
  .hist-stack { display: block; padding: 0 0 8px; }
  .tbl-wrap { padding: 4px 16px 8px; }
}

/* ---------- How they play (play.js): possession windows, third down, field position and kicking ---------- */
.hp { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.hp > .panel { grid-column: 1 / -1; min-width: 0; }
.hp-lede { padding: 16px 16px 4px; font-size: var(--fs-l); line-height: 1.45; color: var(--ink); max-width: 78ch; }
.hp-lede b { font-weight: 700; }
.hp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 8px 8px 4px; }
.hp-cell { padding: 8px; min-width: 0; }
.hp-cell + .hp-cell { border-left: 1px solid var(--rule); }
.hp-cell .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); line-height: 1.3; min-height: 2.6em; }
.hp-cell .v { font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hp-cell .s { font-size: var(--fs-xs); color: var(--meta); min-height: 2.6em; line-height: 1.3; }
.hp-cell .r { font-size: var(--fs-s); font-weight: 700; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hp-cell .r.good { color: var(--up); } .hp-cell .r.poor { color: var(--down); }
.hp-gauge { position: relative; height: 10px; margin-top: 8px; border-radius: 5px; background: var(--surface-2); }
.hp-gauge b { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; border-radius: 5px 0 0 5px; background: var(--rule-strong); }
.hp-gauge i { position: absolute; top: -4px; width: 6px; height: 18px; margin-left: -3px; border-radius: 3px; background: var(--navy); box-shadow: 0 0 0 2px var(--surface); }
.hp-legend .zone { display: inline-block; width: 22px; height: 8px; border-radius: 4px; background: var(--rule-strong); vertical-align: middle; margin-right: 6px; }
.hp-form { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px 24px; padding: 8px 16px 16px; align-items: start; }
.hp-form > * { min-width: 0; }
.hp-chart h3, .hp-h3 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); margin: 8px 0 6px; }
.hp-h3.gap { margin-top: 16px; }
.hp-chart svg, .hp-field svg { display: block; width: 100%; height: auto; overflow: visible; }
.hp-ax { fill: var(--meta); font-size: 11px; font-family: var(--ui); font-variant-numeric: tabular-nums; }
.hp-grid-l { stroke: var(--rule); stroke-width: 1; }
.hp-avg { stroke: var(--meta); stroke-width: 1.5; stroke-dasharray: 5 4; }
.hp-off { stroke: var(--navy); fill: none; stroke-width: 2.75; stroke-linejoin: round; stroke-linecap: round; }
.hp-def { stroke: var(--red); fill: none; stroke-width: 2.75; stroke-linejoin: round; stroke-linecap: round; }
.hp-off.thin, .hp-def.thin { stroke-width: 1.5; }
.hp-off-f { fill: var(--navy); } .hp-def-f { fill: var(--red); }
.hp-end { font-family: var(--ui); font-size: 12px; font-weight: 700; }
.hp-key { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: var(--fs-s); color: var(--ink-2); margin-top: 6px; }
.hp-key i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.hp-key .k-off i { background: var(--navy); } .hp-key .k-def i { background: var(--red); }
.hp-key .k-avg i { height: 0; border-top: 2px dashed var(--meta); background: none; }
.hp-tbl .seg { margin-bottom: 8px; }
.hp-tbl table, .hp-st table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.hp-tbl thead th, .hp-st thead th { text-align: right; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--meta); padding: 6px 8px; border-bottom: 2px solid var(--ink); white-space: nowrap; vertical-align: bottom; }
.hp-tbl thead th small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hp-tbl thead th:first-child, .hp-st thead th:first-child { text-align: left; padding-left: 0; white-space: normal; }
.hp-tbl td, .hp-st td { padding: 9px 8px; border-bottom: 1px solid var(--rule); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-tbl tbody th, .hp-st tbody th { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 600; color: var(--ink); }
.hp-tbl td b { font-size: var(--fs-m); font-weight: 700; }
.hp-st td b { font-weight: 700; }
.hp-tbl td.avg { color: var(--meta); }
.hp-tbl td.now { background: var(--surface-2); }
.hp-fbs { display: none; font-weight: 500; color: var(--meta); font-size: 11px; }
.hp-rk { display: block; font-size: 11px; font-weight: 600; color: var(--meta); line-height: 1.2; }
.hp-rk.good { color: var(--up); } .hp-rk.poor { color: var(--down); }
.hp-rk.in { display: inline; font-size: var(--fs-xs); }
.hp-opp { font-size: var(--fs-s); color: var(--ink-2); margin: 10px 0 0; line-height: 1.5; }
.hp-opp b { color: var(--ink); }
.hp-note { padding: 12px 16px; border-top: 1px solid var(--rule); color: var(--meta); font-size: var(--fs-s); line-height: 1.5; }
.hp-note.first { border-top: 0; }
.hp-note b { color: var(--ink-2); }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; }
.hp-side { padding: 14px 16px 16px; min-width: 0; }
.hp-side + .hp-side { border-left: 1px solid var(--rule); }
.hp-big { font-family: var(--display); font-weight: 700; font-size: 3.25rem; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.hp-big .hp-rk { font-family: var(--ui); font-size: var(--fs-s); }
.hp-sub { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.5; margin: 8px 0 12px; }
.hp-sub.last { margin-bottom: 0; }
.hp-sub b.up { color: var(--up); } .hp-sub b.down { color: var(--down); }
.hp-bar { margin: 10px 0; }
.hp-bar .lab { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-s); }
.hp-bar .lab span:first-child { font-weight: 600; }
.hp-bar .lab span:last-child { color: var(--meta); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-track { position: relative; height: 14px; background: var(--surface-2); border-radius: 3px; margin-top: 4px; }
.hp-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); border-radius: 3px; }
.hp-side.def .hp-track i { background: var(--red); }
.hp-track u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.hp-line { font-size: var(--fs-s); color: var(--ink-2); padding: 8px 0 0; border-top: 1px solid var(--rule); margin-top: 10px; }
.hp-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hp-legend { font-size: var(--fs-xs); color: var(--meta); padding: 0 16px 12px; }
.hp-legend u { display: inline-block; width: 2px; height: 12px; background: var(--ink); vertical-align: middle; margin-right: 6px; }
.hp-st { padding: 12px 16px 16px; }
.hp-turf { fill: var(--surface-2); }
.hp-yl { stroke: var(--rule-strong); stroke-width: 1; }
.hp-fg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.hp-fg > div { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 8px 10px; }
.hp-fg .k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.hp-fg .v { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hp-fg .s { font-size: var(--fs-xs); color: var(--meta); }
@media (min-width: 1101px) {
  .hp > .hp-third { grid-column: span 7; }
  .hp > .hp-special { grid-column: span 5; }
}
@media (max-width: 1100px) {
  .hp-form { grid-template-columns: 1fr; }
  .hp-cells { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .hp-cell:nth-child(3n+1) { border-left: 0; }
}
@media (max-width: 759px) {
  .hp { display: block; }
  .hp > .panel { margin-bottom: 16px; }
  .hp-lede { font-size: var(--fs-m); }
  .hp-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cell:nth-child(3n+1) { border-left: 1px solid var(--rule); }
  .hp-cell:nth-child(2n+1) { border-left: 0; }
  .hp-cell .v { font-size: 1.9rem; }
  .hp-two { grid-template-columns: 1fr; }
  .hp-side + .hp-side { border-left: 0; border-top: 1px solid var(--rule); }
  .hp-form { padding-inline: 12px; }
  .hp-tbl thead th, .hp-tbl td { padding: 8px 5px; }
  .hp-tbl tbody th { width: 34%; font-size: var(--fs-xs); padding: 8px 5px 8px 0; }
  .hp-tbl td b { font-size: var(--fs-s); }
  .hp-tbl .avg { display: none; }
  .hp-fbs { display: block; }
  .hp-fg { grid-template-columns: repeat(2, 1fr); }
  .hp-big { font-size: 2.6rem; }
}
