/* hi-teams.css: the /team/ board and the club band and overview cards (hi-teams.js).
   Tokens come from hi-tokens.css, so both themes follow the site's own switch.
   Club colour arrives per element as --tc (primary), --tcd (deep) and --tcb (the
   primary mixed toward navy until white copy clears 4.5:1). Gold stays the receipt
   glyph's alone; mint and coral carry direction (top eight, bottom eight). */
.tp, .tp-tab {
  --tp-field: var(--hi-surface-0); --tp-card: var(--hi-surface-1); --tp-card2: var(--hi-surface-2); --tp-track: var(--hi-data-track);
  --tp-line: var(--hi-line); --tp-hair: var(--hi-hair); --tp-ink: var(--hi-ink); --tp-ink2: var(--hi-ink-2); --tp-muted: var(--hi-muted);
  --tp-blue: var(--hi-blue); --tp-blue-soft: var(--hi-blue-soft); --tp-mint: var(--hi-mint); --tp-mint-soft: var(--hi-mint-soft);
  --tp-coral: var(--hi-coral); --tp-coral-soft: var(--hi-coral-soft); --tp-receipt: var(--hi-receipt); --tp-gold-navy: var(--hi-receipt-on-navy, #d9b467);
  --tp-shadow: var(--hi-shadow); --tp-navy: var(--hi-navy, #0d1f3c);
  --tp-serif: var(--hi-serif); --tp-sans: var(--hi-sans); --tp-mono: var(--hi-mono);
  --tp-sticky: calc(var(--nav-height, 64px) + 8px);
}
.tp {
  position: relative;
  color: var(--tp-ink);
  font: 400 15px/1.4 var(--tp-sans);
}
.tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
.tp :where(a) { color: inherit; }
.tp :where(a):hover { text-decoration: none; }
/* styles.css styles every button, input and select on the site (uppercase 36px
   buttons, full-width 42px fields, an arrow image); none of that belongs here. */
.tp :where(button) { font: inherit; color: inherit; margin: 0; min-height: 0; text-transform: none; gap: 0; }
.tp .tp-sortsel, .tp .tp-crumbs select, .tp .tp-find input { width: auto; min-height: 0; box-shadow: none; transition: none; }
.tp :focus-visible { outline: 2px solid var(--hi-blue-2, #4d8fe8); outline-offset: 2px; }
.tp-outtag { display: inline-block; margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: var(--tp-coral-soft, rgba(214, 84, 66, .14)); color: var(--tp-coral, #b8432f); font: 800 9px/1 var(--tp-mono); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp b, .tp strong, .tp-rec, .tp-lt-v, .tp-pts b, .tp-cnums b, .tp-dtab, .tp-cmp, .tp-kv b, .tp-splits b, .tp-tl b { font-variant-numeric: tabular-nums; }
.tp-lg { position: relative; display: inline-block; flex: none; width: 22px; height: 22px; vertical-align: middle; }
.tp-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tp-lg2 .tp-lg-d { display: none; }
[data-theme="dark"] .tp-lg2 .tp-lg-l { display: none; }
[data-theme="dark"] .tp-lg2 .tp-lg-d { display: block; }

/* ---------- /team/: the band ---------- */
.tp-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(118deg, #071427 0%, #0d1f3c 55%, #17325c 100%); box-shadow: var(--hi-lift); }
.tp-band::before { content: ""; position: absolute; right: -120px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 95, 191, .42), transparent 62%); pointer-events: none; z-index: -1; }
.tp-band-in { display: flex; align-items: center; gap: 14px 28px; padding: 16px 20px 18px; }
.tp-band h1 { margin: 0; font: 700 2.1rem/1 var(--tp-serif); letter-spacing: -.015em; color: #fff; white-space: nowrap; }
.tp-meta { margin: 8px 0 0; font: 600 .7rem/1.3 var(--tp-mono); letter-spacing: .02em; color: var(--hi-on-navy-dim, #a8c2de); white-space: nowrap; }
.tp-meta b { color: #fff; }
.tp-rc { color: var(--tp-gold-navy); }
.tp-band-h { display: flex; align-items: center; gap: 12px; }
.tp-band .dk-theme { position: static; flex: none; }
.tp-lead4 { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.tp-ld { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 3px; min-width: 0; padding: 9px 12px 9px 9px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; overflow: hidden; background: linear-gradient(118deg, var(--tcb) 0%, color-mix(in srgb, var(--tcb) 50%, #050a14) 100%); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .1); transition: transform .2s; }
.tp-ld:hover { transform: translateY(-2px); }
.tp-ld .tp-lg { grid-row: 1 / span 2; width: 34px; height: 34px; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .45)); }
.tp-ld small { grid-column: 2 / 4; font: 800 .54rem/1.2 var(--tp-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-ld b { grid-column: 2; font: 800 .95rem/1.05 var(--tp-mono); letter-spacing: .02em; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.tp-ld strong { grid-column: 3; grid-row: 2; font: 800 1.15rem/1 var(--tp-mono); letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }

/* ---------- /team/: the sticky lens bar ---------- */
.tp-ctl { position: sticky; top: var(--tp-sticky); z-index: 30; display: flex; flex-direction: column; gap: 7px; margin: 12px 0 0; padding: 9px 12px; border: 1px solid var(--tp-line); border-radius: 18px; background: color-mix(in srgb, var(--tp-card) 94%, transparent); box-shadow: var(--tp-shadow); backdrop-filter: blur(14px); }
.tp-row { display: flex; align-items: center; gap: 8px 12px; min-width: 0; }
.tp-scrollx { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; }
.tp-scrollx::-webkit-scrollbar { display: none; }
.tp-lensbar { display: inline-flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--tp-card2); border: 1px solid var(--tp-line); }
.tp-lensbar button { flex: none; border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font: 700 12.5px/1 var(--tp-sans); color: var(--tp-ink2); cursor: pointer; white-space: nowrap; }
.tp-lensbar button:hover { background: var(--tp-blue-soft); }
.tp-lensbar button[aria-pressed="true"] { background: var(--tp-navy); color: #fff; box-shadow: 0 4px 12px -6px rgba(13, 31, 60, .7); }
[data-theme="dark"] .tp-lensbar button[aria-pressed="true"] { background: var(--tp-blue); }
.tp-chips { display: inline-flex; gap: 5px; }
.tp-chips button { flex: none; border: 1px solid var(--tp-line); background: var(--tp-card); padding: 6px 10px; border-radius: 999px; font: 800 10px/1 var(--tp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tp-ink2); cursor: pointer; white-space: nowrap; }
.tp-chips button[aria-pressed="true"] { border-color: var(--tp-ink); background: var(--tp-ink); color: var(--tp-card); }
.tp-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tp-coral); margin-right: 5px; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) { .tp-dot { animation: tp-pulse 1.6s ease-in-out infinite; } }
@keyframes tp-pulse { 50% { opacity: .35; } }
.tp-find { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 1 230px; min-width: 120px; height: 32px; padding: 0 10px; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-card2); color: var(--tp-muted); }
.tp-find:focus-within { border-color: var(--tp-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-blue) 22%, transparent); }
.tp .tp-find input, .tp .tp-find input:focus { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 600 13px/1 var(--tp-sans); color: var(--tp-ink); outline: none; }
.tp-find input::placeholder { color: var(--tp-muted); }
.tp .tp-sortsel { flex: none; height: 32px; border: 1px solid var(--tp-line); border-radius: 999px; appearance: none; background: var(--tp-card2) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%235b6b80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/></svg>") no-repeat right 11px center; padding: 0 28px 0 12px; font: 700 12px/1 var(--tp-sans); color: var(--tp-ink); cursor: pointer; }
[data-theme="dark"] .tp .tp-sortsel { background-color: var(--tp-card2); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23aebbd0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/></svg>"); border-color: var(--tp-line); color: var(--tp-ink); }
.tp-lensnote { margin: 0; font: 600 11.5px/1.3 var(--tp-sans); color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tp-lensnote b { color: var(--tp-ink); }

/* ---------- /team/: the cards ---------- */
.tp-gridwrap { padding: 18px 0 4px; }
.tp-grp { margin-top: 22px; }
.tp-grp:first-child { margin-top: 0; }
.tp-grp-h { display: flex; align-items: baseline; gap: 8px 12px; margin: 0 0 10px; flex-wrap: wrap; }
.tp-grp-h h2 { margin: 0; font: 600 24px/1.1 var(--tp-serif); color: var(--tp-ink); white-space: nowrap; }
.tp-grp-h p { margin: 0; font: 800 9.5px/1.3 var(--tp-mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--tp-muted); }
.tp-rule { flex: 1; min-width: 30px; height: 1px; background: var(--tp-line); }
.tp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tp-empty { padding: 30px; text-align: center; color: var(--tp-muted); font: 600 14px/1.4 var(--tp-sans); }

.tp-card { --tp-tx: color-mix(in srgb, var(--tc) 62%, var(--tp-ink)); position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: var(--tp-card); border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
[data-theme="dark"] .tp-card { --tp-tx: color-mix(in srgb, var(--tc) 38%, var(--tp-ink)); }
.tp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(13, 31, 60, .45); border-color: color-mix(in srgb, var(--tc) 45%, var(--tp-line)); }
.tp-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px 11px 11px; color: #fff; text-decoration: none; overflow: hidden; background: linear-gradient(118deg, var(--tcb) 0%, color-mix(in srgb, var(--tcd) 62%, #050a14) 100%); }
.tp-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .12)); pointer-events: none; }
.tp-top > .tp-crest { width: 42px; height: 42px; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .45)); z-index: 1; }
.tp-top > .tp-wm { position: absolute; z-index: 0; right: 46px; top: -30px; width: 120px; height: 120px; opacity: .13; filter: saturate(0) brightness(2.2); pointer-events: none; }
.tp-id { position: relative; z-index: 1; min-width: 0; }
.tp-id b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font: 700 15.5px/1.1 var(--tp-sans); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); overflow: hidden; text-wrap: balance; }
.tp-id small { display: block; margin-top: 4px; font: 800 9px/1.2 var(--tp-mono); letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pts { position: relative; z-index: 1; text-align: right; line-height: 1; }
.tp-pts b { display: block; font: 800 26px/1 var(--tp-mono); letter-spacing: -.03em; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.tp-pts small { display: block; margin-top: 3px; font: 800 8.5px/1.25 var(--tp-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.tp-form { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 12px 8px; border-bottom: 1px solid var(--tp-hair); }
.tp-rec { font: 800 13px/1 var(--tp-mono); color: var(--tp-ink); }
.tp-pill { display: inline-block; padding: 3px 6px; border-radius: 6px; font: 800 10px/1 var(--tp-mono); letter-spacing: .02em; background: var(--tp-track); color: var(--tp-ink2); }
.tp-pill.is-w { background: var(--tp-mint-soft); color: var(--tp-mint); }
.tp-pill.is-l { background: var(--tp-coral-soft); color: var(--tp-coral); }
.tp-pill.is-o { background: var(--tp-blue-soft); color: var(--tp-blue); }
.tp-l10 { display: flex; gap: 2px; min-width: 0; }
.tp-l10 i { flex: none; width: 7px; height: 12px; border-radius: 2px; background: var(--tp-coral); opacity: .9; }
.tp-l10 i.is-w { background: var(--tp-mint); }
.tp-l10 i.is-o { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tp-coral); }
.tp-spark { display: block; width: 84px; height: 26px; overflow: visible; }
.tp-spark text { font: 800 8.5px/1 var(--tp-mono); fill: var(--tp-muted); }
.tp-head { margin: 0; padding: 10px 12px 9px; font: 600 16.5px/1.22 var(--tp-serif); color: var(--tp-ink); text-wrap: balance; min-height: 64px; }
.tp-head small { display: block; margin-bottom: 4px; font: 800 9px/1 var(--tp-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--tp-tx); }
.tp-head b { font-weight: 700; color: var(--tp-tx); }
.tp-lens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--tp-hair); border-block: 1px solid var(--tp-hair); }
.tp-lt { position: relative; display: grid; gap: 3px; padding: 8px 8px 9px; background: var(--tp-card); min-width: 0; }
.tp-lt-l { font: 800 8.5px/1.15 var(--tp-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-lt-v { font: 800 14px/1 var(--tp-mono); color: var(--tp-ink); letter-spacing: -.02em; white-space: nowrap; }
.tp-lt-r { justify-self: start; font: 800 9.5px/1 var(--tp-mono); font-style: normal; padding: 2px 4px; border-radius: 4px; background: var(--tp-track); color: var(--tp-ink2); }
.tp-lt.is-hi .tp-lt-r { background: var(--tp-mint-soft); color: var(--tp-mint); }
.tp-lt.is-lo .tp-lt-r { background: var(--tp-coral-soft); color: var(--tp-coral); }
.tp-lt-b { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--tp-muted); opacity: .35; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.tp-lt.is-hi .tp-lt-b { background: var(--tp-mint); opacity: .8; }
.tp-lt.is-lo .tp-lt-b { background: var(--tp-coral); opacity: .7; }
.tp-ppl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px; }
.tp-pp { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; }
.tp-mug { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--tp-track); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc, #1f5fbf) 55%, var(--tp-line)); display: grid; place-items: center; }
.tp-mug i { font: 800 10px/1 var(--tp-mono); font-style: normal; color: var(--tp-muted); }
.tp-mug img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-pp b { display: block; font: 700 12.5px/1.15 var(--tp-sans); color: var(--tp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pp b a, .tp-pr b a, .tp-grow b a { text-decoration: none; }
.tp-pp b a:hover, .tp-pr b a:hover, .tp-grow b a:hover { text-decoration: underline; }
.tp-pp small { display: block; margin-top: 2px; font: 700 10.5px/1.2 var(--tp-sans); color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pp small em { font-style: normal; color: var(--tp-tx); font-weight: 800; }
.tp-next { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: auto; padding: 9px 12px; border-top: 1px solid var(--tp-hair); background: var(--tp-card2); text-decoration: none; color: var(--tp-ink2); font: 600 12px/1.25 var(--tp-sans); }
a.tp-next:hover .tp-nw b { text-decoration: underline; }
.tp-next .tp-nk { font: 800 8.5px/1 var(--tp-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--tp-muted); }
.tp-next .tp-nk.is-now { color: var(--tp-coral); }
.tp-next .tp-lg { width: 20px; height: 20px; }
.tp-nw { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-nw b { color: var(--tp-ink); }
.tp-ns { font: 700 10px/1 var(--tp-mono); color: var(--tp-muted); white-space: nowrap; }
.tp-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px 10px; border-top: 1px solid var(--tp-hair); }
.tp-foot a { font: 800 9.5px/1 var(--tp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tp-blue); text-decoration: none; }
.tp-foot a:hover { text-decoration: underline; }
.tp-card.is-tonight .tp-top { box-shadow: inset 0 -3px 0 var(--tp-coral); }
.tp-rkbadge { position: absolute; top: 8px; left: 8px; z-index: 2; display: none; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 7px; background: #fff; color: #0d1f3c; font: 800 11px/22px var(--tp-mono); text-align: center; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); }
.tp-sorted .tp-rkbadge { display: block; }
.tp-sorted .tp-top { padding-left: 38px; }

.tp-how { margin: 22px 0 6px; border: 1px solid var(--tp-line); border-radius: 14px; background: var(--tp-card); }
.tp-how summary { cursor: pointer; padding: 12px 16px; font: 800 10.5px/1 var(--tp-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--tp-ink2); }
.tp-how > div { padding: 0 16px 14px; font: 400 13.5px/1.5 var(--tp-sans); color: var(--tp-ink2); max-width: 82ch; }
.tp-how p { margin: 0 0 8px; }
.tp-how .dk-actions { margin-top: 10px; }

/* ---------- club page: the band ---------- */
.tp-cband { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; color: #fff; background: linear-gradient(118deg, var(--tcb) 0%, color-mix(in srgb, var(--tcd) 55%, #050a14) 70%, #050a14 100%); box-shadow: var(--hi-lift); }
.tp-cband::before { content: ""; position: absolute; right: -160px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tcb) 55%, transparent), transparent 64%); opacity: .7; pointer-events: none; z-index: -1; }
.tp-cwm.tp-lg { position: absolute; left: -60px; bottom: -110px; width: 360px; height: 360px; opacity: .07; filter: saturate(0) brightness(2.4); pointer-events: none; z-index: -1; }
.tp-cin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px 28px; padding: 14px 20px 20px; }
.tp-crumbs { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-crumbs a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; padding: 7px 11px; border-radius: 999px; font: 800 10px/1 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.tp .tp-crumbs select, [data-theme="dark"] .tp .tp-crumbs select { flex: 0 1 auto; min-width: 0; max-width: 260px; height: 30px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); appearance: none; background: rgba(5, 10, 20, .35) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/></svg>") no-repeat right 10px center; color: #fff; font: 700 12px/1 var(--tp-sans); padding: 0 26px 0 11px; color-scheme: dark; cursor: pointer; }
.tp-sp { flex: 1; }
.tp-crumbs .tp-season { padding: 6px 9px; border-radius: 7px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font: 800 10px/1 var(--tp-mono); letter-spacing: .04em; white-space: nowrap; }
.tp-crumbs .dk-theme { position: static; }
.tp-cid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: center; min-width: 0; }
.tp-ccrest.tp-lg { width: 84px; height: 84px; grid-row: 1 / span 3; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.tp-eb { margin: 0; font: 800 10px/1.2 var(--tp-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.tp-cid h1 { margin: 0; font: 700 clamp(1.9rem, 4.2vw, 3rem)/1 var(--tp-serif); letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); text-wrap: balance; }
.tp-cpills { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-cpills span { padding: 5px 8px; border-radius: 7px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font: 800 10.5px/1 var(--tp-mono); letter-spacing: .03em; white-space: nowrap; }
.tp-cpills span.is-hot { background: rgba(122, 208, 177, .22); border-color: rgba(122, 208, 177, .45); }
.tp-cpills span.is-cold { background: rgba(232, 151, 134, .2); border-color: rgba(232, 151, 134, .45); }
.tp-cnums { grid-column: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; overflow: hidden; background: rgba(5, 10, 20, .22); }
.tp-cnums div { padding: 9px 10px; border-right: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.tp-cnums div:last-child { border-right: 0; }
.tp-cnums b { display: block; font: 800 22px/1 var(--tp-mono); letter-spacing: -.03em; }
.tp-cnums small { display: block; margin-top: 5px; font: 800 8.5px/1.2 var(--tp-mono); letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-chead { grid-column: 1; margin: 0; font: 600 19px/1.25 var(--tp-serif); color: #fff; text-wrap: balance; }
.tp-chead small { display: block; margin-bottom: 3px; font: 800 9.5px/1 var(--tp-mono); letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.tp-chead b { color: #fff; }
.tp-nxt { grid-column: 2; grid-row: 2 / span 3; align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding: 13px 14px; border-radius: 14px; background: rgba(5, 10, 20, .42); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); min-width: 0; }
.tp-nxt p { margin: 0; color: rgba(255, 255, 255, .85); }
.tp-nxt .tp-nk { display: flex; justify-content: space-between; gap: 8px; font: 800 9.5px/1.2 var(--tp-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.tp-nxt .tp-nk .is-now { color: #ffb4a5; }
.tp-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.tp-sd { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.tp-sd .tp-lg { width: 46px; height: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.tp-sd b { font: 800 13px/1 var(--tp-mono); letter-spacing: .06em; }
.tp-sd small { font: 600 11px/1.2 var(--tp-sans); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.tp-at { font: 700 18px/1 var(--tp-serif); color: rgba(255, 255, 255, .7); }
.tp-cmp { display: grid; gap: 5px; }
.tp-cmp div { display: grid; grid-template-columns: 62px minmax(0, 1fr) 92px minmax(0, 1fr) 62px; align-items: center; gap: 6px; font: 700 11.5px/1 var(--tp-mono); }
.tp-cmp span { color: rgba(255, 255, 255, .75); font: 800 8.5px/1 var(--tp-mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.tp-cmp b { font-weight: 800; }
.tp-cmp b.tp-r { text-align: right; }
.tp-cmp i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.tp-cmp i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: 3px; background: rgba(255, 255, 255, .55); }
.tp-cmp i.tp-cl::after { left: auto; right: 0; }
.tp-cmp i.is-lead::after { background: #7ad0b1; }
.tp-ser { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 11.5px/1.3 var(--tp-sans); color: rgba(255, 255, 255, .86); }
.tp-ser b { color: #fff; }
.tp-go { align-self: flex-start; font: 800 10px/1 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; color: #bcd6ff; text-decoration: none; }
.tp-go:hover { text-decoration: underline; }

/* ---------- club page: the overview cards ---------- */
.tp-cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding: 6px 0 4px; }
.tp-k4 { grid-column: span 4; } .tp-k5 { grid-column: span 5; } .tp-k6 { grid-column: span 6; } .tp-k7 { grid-column: span 7; } .tp-k8 { grid-column: span 8; } .tp-k12 { grid-column: span 12; }
.tp-ic { --tp-tx2: color-mix(in srgb, var(--tc) 62%, var(--tp-ink)); position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 15px 12px; border-radius: 14px; background: var(--tp-card); border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow); overflow: hidden; scroll-margin-top: calc(var(--tp-sticky) + 70px); }
[data-theme="dark"] .tp-ic { --tp-tx2: color-mix(in srgb, var(--tc) 38%, var(--tp-ink)); }
.tp-ic::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tcb); }
.tp-ic header { display: flex; align-items: center; gap: 9px; padding: 0 0 9px; border-bottom: 1px solid var(--tp-hair); }
.tp-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--tc) 15%, transparent); color: var(--tp-tx2); font: 800 10px/1 var(--tp-mono); }
.tp-ic h3 { flex: 1; min-width: 0; margin: 0; font: 800 10px/1.3 var(--tp-mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--tp-ink); }
.tp-ic h3 span { display: block; margin-top: 2px; font: 600 11.5px/1.3 var(--tp-sans); letter-spacing: 0; text-transform: none; color: var(--tp-muted); }
.tp-src { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 600 10px/1.3 var(--tp-mono); color: var(--tp-muted); }
.tp-src::before { content: "\25F7"; color: var(--tp-receipt); margin-right: -6px; }
.tp-src a { color: var(--tp-blue); text-decoration: none; font-weight: 800; }
.tp-src a:hover { text-decoration: underline; }
.tp-src span { flex: 1; min-width: 0; }
.tp-linetxt { margin: 8px 0 0; font: 600 13px/1.4 var(--tp-sans); color: var(--tp-ink2); }
.tp-linetxt b { color: var(--tp-ink); }

.tp-race { display: block; width: 100%; height: auto; margin-top: 6px; touch-action: pan-y; }
.tp-race text { font: 700 10px/1 var(--tp-mono); fill: var(--tp-muted); }
.tp-race .tp-gl { stroke: var(--tp-hair); stroke-width: 1; }
.tp-race .tp-riv { fill: none; stroke: var(--tp-muted); stroke-width: 1.2; opacity: .28; }
.tp-race .tp-me { fill: none; stroke: var(--tp-tx2); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.tp-race .tp-halo { fill: none; stroke: var(--tp-card); stroke-width: 7; stroke-linejoin: round; }
.tp-race .tp-dotme { fill: var(--tp-tx2); stroke: var(--tp-card); stroke-width: 2; }
.tp-race .tp-hl { stroke: var(--tp-ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.tp-race .tp-tip { font: 800 11px/1 var(--tp-mono); fill: var(--tp-ink); }
.tp-dtab { width: 100%; border-collapse: collapse; margin-top: 8px; font: 600 12.5px/1 var(--tp-sans); }
.tp-dtab th { font: 800 8.5px/1 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-muted); text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--tp-line); }
.tp-dtab th:nth-child(2) { text-align: left; }
.tp-dtab td { padding: 6px; text-align: right; border-bottom: 1px solid var(--tp-hair); white-space: nowrap; color: var(--tp-ink); }
.tp-dtab td:nth-child(2) { text-align: left; }
.tp-dtab td:first-child { font: 800 11px/1 var(--tp-mono); color: var(--tp-muted); text-align: center; width: 22px; }
.tp-dtab td .tp-lg { width: 18px; height: 18px; margin-right: 7px; }
.tp-dtab tr.is-me td { background: color-mix(in srgb, var(--tc) 13%, transparent); font-weight: 800; }
.tp-dtab tr.is-cut td { border-bottom: 2px solid var(--tp-ink2); }
.tp-dtab a { text-decoration: none; }
.tp-dtab a:hover { text-decoration: underline; }

.tp-l10g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.tp-gt { display: grid; justify-items: center; gap: 4px; padding: 7px 4px 6px; border-radius: 10px; background: var(--tp-card2); border: 1px solid var(--tp-hair); min-width: 0; }
.tp-gt small { font: 800 8px/1 var(--tp-mono); letter-spacing: .1em; color: var(--tp-muted); }
.tp-gt .tp-lg { width: 24px; height: 24px; }
.tp-gt b { font: 800 12px/1 var(--tp-mono); padding: 3px 5px; border-radius: 5px; white-space: nowrap; }
.tp-gt.is-w b { background: var(--tp-mint-soft); color: var(--tp-mint); }
.tp-gt.is-l b { background: var(--tp-coral-soft); color: var(--tp-coral); }
.tp-gt.is-o b { background: var(--tp-blue-soft); color: var(--tp-blue); }
.tp-gt em { font: 700 9px/1 var(--tp-mono); font-style: normal; color: var(--tp-muted); }
.tp-splits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tp-splits div { padding: 8px 9px; border-radius: 10px; background: var(--tp-card2); min-width: 0; }
.tp-splits small { display: block; font: 800 8.5px/1.2 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-muted); }
.tp-splits b { display: block; margin-top: 4px; font: 800 15px/1 var(--tp-mono); color: var(--tp-ink); }

.tp-rb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-top: 10px; }
.tp-rb h4 { margin: 6px 0 2px; font: 800 9px/1 var(--tp-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tp-tx2); }
.tp-rbg { display: grid; gap: 5px; align-content: start; }
.tp-rr { display: grid; grid-template-columns: minmax(0, 1fr) 62px 76px 34px; align-items: center; gap: 8px; font: 600 12px/1.15 var(--tp-sans); color: var(--tp-ink2); }
.tp-rr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-rr b { font: 800 12px/1 var(--tp-mono); color: var(--tp-ink); text-align: right; }
.tp-rr i { display: block; height: 8px; border-radius: 4px; background: var(--tp-track); position: relative; overflow: hidden; }
.tp-rr i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--tp-muted); opacity: .45; }
.tp-rr.is-hi i::after { background: var(--tp-mint); opacity: .85; }
.tp-rr.is-lo i::after { background: var(--tp-coral); opacity: .8; }
.tp-rr em { font: 800 10.5px/1 var(--tp-mono); font-style: normal; text-align: center; padding: 3px 0; border-radius: 5px; background: var(--tp-track); color: var(--tp-ink2); }
.tp-rr.is-hi em { background: var(--tp-mint-soft); color: var(--tp-mint); }
.tp-rr.is-lo em { background: var(--tp-coral-soft); color: var(--tp-coral); }

.tp-st2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tp-gauge { padding: 10px; border-radius: 12px; background: var(--tp-card2); text-align: center; min-width: 0; }
.tp-gauge svg { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto; }
.tp-gauge .tp-gv { font: 800 22px/1 var(--tp-mono); fill: var(--tp-ink); }
.tp-gauge .tp-gr { font: 800 10px/1 var(--tp-mono); fill: var(--tp-muted); }
.tp-gauge small { display: block; margin-top: 4px; font: 600 11.5px/1.3 var(--tp-sans); color: var(--tp-muted); }
.tp-gauge h5 { margin: 0 0 4px; font: 800 9px/1 var(--tp-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--tp-ink2); }
.tp-kv { display: grid; gap: 6px; margin-top: 10px; }
.tp-kv div { display: flex; justify-content: space-between; gap: 10px; font: 600 12.5px/1.2 var(--tp-sans); color: var(--tp-ink2); padding-bottom: 5px; border-bottom: 1px dashed var(--tp-hair); }
.tp-kv div:last-child { border-bottom: 0; }
.tp-kv b { font: 800 12.5px/1 var(--tp-mono); color: var(--tp-ink); white-space: nowrap; }
.tp-kv b .tp-pill { margin-left: 5px; }
.tp-per { display: grid; gap: 6px; margin-top: 10px; }
.tp-per > div { display: grid; grid-template-columns: minmax(0, 1fr) 30px 34px 30px minmax(0, 1fr); align-items: center; gap: 6px; font: 800 11px/1 var(--tp-mono); color: var(--tp-ink2); }
.tp-per > div span { text-align: center; color: var(--tp-muted); font-size: 9.5px; letter-spacing: .08em; }
.tp-per > div b { text-align: center; }
.tp-per > div i { display: block; height: 10px; border-radius: 5px; background: var(--tp-track); position: relative; overflow: hidden; }
.tp-per > div i::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--w); border-radius: 5px; }
.tp-per > div i.tp-f::after { right: 0; background: var(--tp-mint); }
.tp-per > div i.tp-a::after { left: 0; background: var(--tp-coral); }
.tp-per > .tp-lgd { display: flex; justify-content: space-between; font: 800 8.5px/1 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-muted); }

.tp-plist { display: grid; gap: 8px; margin-top: 10px; }
.tp-pr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.tp-pr .tp-mug { width: 42px; height: 42px; }
.tp-pr b { display: block; font: 700 14px/1.15 var(--tp-sans); color: var(--tp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pr small { display: block; margin-top: 2px; font: 600 11.5px/1.25 var(--tp-sans); color: var(--tp-muted); }
.tp-pr strong { font: 800 20px/1 var(--tp-mono); color: var(--tp-ink); text-align: right; }
.tp-pr strong small { display: block; font: 800 8.5px/1 var(--tp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-muted); margin-top: 3px; }
.tp-runbar { display: flex; gap: 2px; margin-top: 4px; }
.tp-runbar i { width: 8px; height: 8px; border-radius: 2px; background: var(--tp-mint); }
.tp-trun { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tp-trun span { padding: 5px 8px; border-radius: 7px; background: var(--tp-mint-soft); color: var(--tp-mint); font: 700 11.5px/1.2 var(--tp-sans); }
.tp-glist { display: grid; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--tp-hair); }
.tp-grow { display: grid; grid-template-columns: auto minmax(0, 1fr) repeat(3, auto); align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--tp-sans); color: var(--tp-ink2); }
.tp-grow .tp-mug { width: 30px; height: 30px; }
.tp-grow b { color: var(--tp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-grow span { font: 800 11.5px/1 var(--tp-mono); color: var(--tp-ink); white-space: nowrap; }
.tp-grow span small { font: 700 8.5px/1 var(--tp-mono); color: var(--tp-muted); margin-left: 3px; }

.tp-lu { display: grid; gap: 5px; margin-top: 10px; }
.tp-lu h4 { margin: 6px 0 1px; font: 800 9px/1 var(--tp-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tp-tx2); }
.tp-ln { display: grid; grid-template-columns: 22px repeat(3, minmax(0, 1fr)); gap: 5px; align-items: center; }
.tp-ln.is-d { grid-template-columns: 22px repeat(2, minmax(0, 1fr)); }
.tp-ln em { font: 800 9.5px/1 var(--tp-mono); font-style: normal; color: var(--tp-muted); text-align: center; }
.tp-ln span { padding: 6px 7px; border-radius: 7px; background: var(--tp-card2); font: 700 12px/1.1 var(--tp-sans); color: var(--tp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tp-ln span small { font: 800 9px/1 var(--tp-mono); color: var(--tp-muted); margin-right: 4px; }
.tp-outs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tp-outs span { padding: 5px 8px; border-radius: 7px; background: var(--tp-coral-soft); color: var(--tp-coral); font: 700 11.5px/1.2 var(--tp-sans); }
.tp-outs span small { font: 800 9px/1 var(--tp-mono); margin-left: 4px; opacity: .85; }

.tp-sch { display: grid; gap: 6px; margin-top: 10px; }
.tp-sg { display: grid; grid-template-columns: 74px 30px auto minmax(0, 1fr) 92px; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; background: var(--tp-card2); font: 600 12px/1.2 var(--tp-sans); color: var(--tp-ink2); min-width: 0; }
.tp-sg-d { font: 800 10.5px/1.25 var(--tp-mono); color: var(--tp-ink); }
.tp-sg-d small { display: block; font: 700 9.5px/1.2 var(--tp-mono); color: var(--tp-muted); }
.tp-sg-ha { font: 800 9.5px/1 var(--tp-mono); color: var(--tp-muted); text-align: center; }
.tp-sg .tp-lg { width: 26px; height: 26px; }
.tp-sg-o { min-width: 0; }
.tp-sg-o b { display: block; color: var(--tp-ink); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-sg-o b a { text-decoration: none; }
.tp-sg-o small { display: block; margin-top: 2px; color: var(--tp-muted); font: 600 11px/1.2 var(--tp-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-sg-str { display: grid; gap: 3px; font: 800 9px/1 var(--tp-mono); color: var(--tp-muted); text-align: right; }
.tp-sg-str i { display: block; height: 6px; border-radius: 3px; background: var(--tp-track); position: relative; overflow: hidden; }
.tp-sg-str i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--tp-coral) 70%, var(--tp-muted)); border-radius: 3px; }
.tp-tag { display: inline-block; margin-left: 5px; padding: 2px 4px; border-radius: 4px; font: 800 8.5px/1 var(--tp-mono); letter-spacing: .06em; background: var(--tp-coral-soft); color: var(--tp-coral); vertical-align: 1px; }
.tp-tag.is-now { background: var(--tp-coral); color: #fff; }

.tp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tp-tl { padding: 9px 10px; border-radius: 10px; background: var(--tp-card2); min-width: 0; }
.tp-tl small { display: block; font: 800 8.5px/1.2 var(--tp-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-tl b { display: block; margin-top: 5px; font: 800 17px/1 var(--tp-mono); color: var(--tp-ink); letter-spacing: -.02em; white-space: nowrap; }
.tp-tl em { display: inline-block; margin-top: 5px; font: 800 9.5px/1 var(--tp-mono); font-style: normal; padding: 2px 5px; border-radius: 4px; background: var(--tp-track); color: var(--tp-ink2); }
.tp-tl.is-hi em { background: var(--tp-mint-soft); color: var(--tp-mint); }
.tp-tl.is-lo em { background: var(--tp-coral-soft); color: var(--tp-coral); }
.tp-tl span { display: block; margin-top: 4px; font: 600 10.5px/1.25 var(--tp-sans); color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pipe3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tp-more { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tp-more a { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--tp-line); background: var(--tp-card); font: 800 10px/1 var(--tp-mono); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--tp-ink2); }
.tp-more a:hover { border-color: var(--tp-ink2); }

/* ---------- club page: the six tabs after the overview ----------
   The generator marks each tab .tp-tab and puts the club colour on it, so every
   panel and module inside takes the overview card: 14px corners, the club's 4px
   top bar, a code box beside a mono title, a one-line sentence under it and the
   source in mono. The panels show at once; nothing waits on a scroll. */
.tp-tab { --tp-tx2: color-mix(in srgb, var(--tc) 62%, var(--tp-ink)); }
[data-theme="dark"] .tp-tab { --tp-tx2: color-mix(in srgb, var(--tc) 38%, var(--tp-ink)); }
.tp-thead { margin-top: 10px; }
.tp-thead .tp-ic { padding-bottom: 11px; }
.tp-tiles.is-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tp-tab .dk-panel { position: relative; overflow: hidden; margin: 16px 0 0; padding: 15px 16px 13px; border: 1px solid var(--tp-line); border-radius: 14px; background: var(--tp-card); box-shadow: var(--tp-shadow); }
.tp-tab .dk-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tcb); }
.dk-anim .tp-tab .dk-panel { opacity: 1; }
.tp-tab .club-panel { margin-bottom: 0; }
.tp-tab .dk-panel > h2 { position: relative; margin: 0; padding: 1px 0 0 40px; min-height: 14px; color: var(--tp-ink); font: 800 10.5px/1.3 var(--tp-mono); letter-spacing: 1.4px; text-transform: uppercase; text-wrap: balance; }
.tp-tab .dk-panel > h2:not(:has(+ .dk-sub)) { display: flex; align-items: center; min-height: 30px; margin-bottom: 12px; padding-top: 0; }
.tp-tab .dk-panel > h2::before, .tp-tab details.dk-fold > summary::before { content: var(--ico, "HI"); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--tc) 15%, transparent); color: var(--tp-tx2); font: 800 10px/1 var(--tp-mono); letter-spacing: 0; text-transform: uppercase; }
.tp-tab .dk-panel > .dk-sub { min-height: 15px; margin: 3px 0 12px; padding: 0 0 10px 40px; gap: 4px 14px; border-bottom: 1px solid var(--tp-hair); color: var(--tp-muted); font: 600 11.5px/1.35 var(--tp-sans); letter-spacing: 0; text-transform: none; }
.tp-tab .dk-panel > .dk-sub .dk-src { color: var(--tp-muted); font: 600 10px/1.35 var(--tp-mono); }
.tp-tab details.dk-fold > summary { position: relative; min-height: 30px; padding-left: 40px; }
.tp-tab details.dk-fold > summary::before { top: 50%; transform: translateY(-50%); }
.tp-tab details.dk-fold .dk-fold-t { gap: 3px; }
.tp-tab details.dk-fold .dk-fold-t h2 { order: -1; color: var(--tp-ink); font: 800 10.5px/1.3 var(--tp-mono); letter-spacing: 1.4px; text-transform: uppercase; }
.tp-tab details.dk-fold .dk-fold-t small { color: var(--tp-muted); font: 600 11.5px/1.35 var(--tp-sans); letter-spacing: 0; text-transform: none; }
.tp-tab details.dk-fold .dk-fold-k { width: 26px; height: 26px; }
.tp-tab .dk-panel h3:not(.dpx-col > h3) { margin: 14px 0 8px; color: var(--tp-tx2); font: 800 9.5px/1.25 var(--tp-mono); letter-spacing: .14em; text-transform: uppercase; }
.tp-tab .club-fig { padding: 9px 10px; border-radius: 10px; background: var(--tp-card2); }
.tp-tab .club-fig b { font-size: 1.12rem; letter-spacing: -.02em; }
.tp-tab .club-pair { gap: 0 16px; }
.tp-tab .club-pair > :only-child { grid-column: 1 / -1; }
.tp-tab .fh-wrap thead th, .tp-tab .seo-schedule-wrap thead th { position: sticky; top: 0; z-index: 1; }
.tp-tab .seo-table .tp-pill { margin-right: 4px; padding: 2px 5px; font-size: 9.5px; }
.tp-tab tr.is-next td { background: color-mix(in srgb, var(--tcb) 14%, var(--tp-card)); font-weight: 800; }
.tp-tab tr.is-next td:first-child { box-shadow: inset 3px 0 0 var(--tcb); }
.tp-tab .seo-roster-name .tp-outtag { vertical-align: 1px; }
/* the code box on each panel */
.tp-tab .team-depth-chart { --ico: "DEP"; }
.tp-tab [data-club-mount="lines"] { --ico: "LNS"; }
.tp-tab [data-club-mount="availability"] { --ico: "GP"; }
.tp-tab [data-club-mount="leaders"] { --ico: "LDR"; }
.tp-tab [data-club-mount="runs"] { --ico: "HOT"; }
.tp-tab .tpx-ros { --ico: "ROS"; }
.tp-tab [data-club-mount="contracts"] { --ico: "CAP"; }
.tp-tab .tpx-snap { --ico: "ALL"; }
.tp-tab [data-club-mount="season-line"] { --ico: "PTS"; }
.tp-tab [data-club-mount="identity"] { --ico: "RNK"; }
.tp-tab .tpx-ply { --ico: "PLY"; }
.tp-tab [data-club-mount="splits"] { --ico: "SPL"; }
.tp-tab [data-club-mount="vs-goalie"] { --ico: "VSG"; }
.tp-tab [data-club-mount="edge"] { --ico: "EDG"; }
.tp-tab .tpx-prv { --ico: "25"; }
.tp-tab [data-club-mount="form"] { --ico: "L10"; }
.tp-tab [data-club-mount="schedule-context"] { --ico: "RST"; }
.tp-tab .tpx-all { --ico: "ALL"; }
.tp-tab .seo-next-five { --ico: "1-5"; }
.tp-tab [data-club-mount="pipeline"] { --ico: "PIP"; }
.tp-tab [data-club-mount="prospects"] { --ico: "NOW"; }
.tp-tab [data-club-mount="glance-history"] { --ico: "HIS"; }
.tp-tab [data-club-mount="history-extra"] { --ico: "CUP"; }
.tp-tab .tpx-rdr { --ico: "RDR"; }
.tp-tab .tpx-frn { --ico: "FRN"; }
.tp-tab [data-club-mount="lineage"] { --ico: "PCK"; }
.tp-tab .tpx-dft { --ico: "DFT"; }
.tp-tab .tpx-h2h { --ico: "H2H"; }
.tp-tab .tpx-more { --ico: "+"; }

/* the club page's section tabs sit under the band */
.tp-club .dk-tabs.club-tabs { margin-top: 12px; }

/* ---------- motion: transform only, so every figure is final on the first frame ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tp-grid .tp-card { animation: tp-rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 22ms); }
  .tp-cgrid .tp-ic { animation: tp-rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
  .tp-race .tp-me { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: tp-draw 1.2s cubic-bezier(.4, .1, .2, 1) forwards .2s; }
}
@keyframes tp-rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes tp-draw { to { stroke-dashoffset: 0; } }

/* ---------- widths ---------- */
@media (max-width: 1140px) { .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) {
  .tp-band-in { flex-wrap: wrap; } .tp-lead4 { flex-basis: 100%; }
  .tp-k4, .tp-k5, .tp-k6, .tp-k7, .tp-k8 { grid-column: span 6; }
  .tp-cin { grid-template-columns: minmax(0, 1fr); } .tp-nxt { grid-column: 1; grid-row: auto; }
}
@media (max-width: 860px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp-rb { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .tp-band, .tp-cband { border-radius: 16px; }
  .tp-k4, .tp-k5, .tp-k6, .tp-k7, .tp-k8 { grid-column: span 12; }
  .tp-lead4 { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin-right: -14px; padding-right: 14px; }
  .tp-lead4::-webkit-scrollbar { display: none; }
  .tp-ld { flex: 0 0 auto; min-width: 168px; padding: 7px 10px 7px 8px; }
  .tp-ld .tp-lg { width: 30px; height: 30px; }
  .tp-ld strong { font-size: 1.05rem; }
  .tp-band-in { padding: 14px 14px 14px; }
  .tp-meta { white-space: normal; }
  .tp-band h1 { font-size: 1.7rem; }
  .tp-find { flex: 1 1 150px; margin-left: 0; }
  .tp-row.tp-wrap { flex-wrap: wrap; }
  .tp-cin { padding: 12px 14px 16px; }
  .tp-cin > .tp-cnums { order: 2; } .tp-cin > .tp-chead { order: 3; } .tp-cin > .tp-nxt { order: 4; }
  .tp-cnums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-cnums div:nth-child(3) { border-right: 0; }
  .tp-cnums div:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .tp-cnums small { white-space: normal; overflow: visible; }
  .tp-ccrest.tp-lg { width: 62px; height: 62px; }
  .tp-sg { grid-template-columns: 64px auto minmax(0, 1fr) 70px; }
  .tp-sg-ha { display: none; }
  .tp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-tab .dk-panel { padding: 13px 13px 12px; }
}
@media (max-width: 1080px) { .tp-tiles.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tp-tiles.is-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tp .tp-find input, .tp .tp-sortsel, .tp .tp-crumbs select { font-size: 16px; } .tp-grid { grid-template-columns: 1fr; } .tp-lensnote { display: none; } .tp-crumbs { flex-wrap: nowrap; gap: 8px; } .tp-crumbs .tp-season { display: none; } .tp-crumbs a { padding: 7px 9px; } }
@media (max-width: 359px) {
  .tp-lens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-cmp div { grid-template-columns: 52px minmax(0, 1fr) 70px minmax(0, 1fr) 52px; }
  .tp-rr { grid-template-columns: minmax(0, 1fr) 56px 56px 32px; }
}
