/* Top Pronostics IA — modern presentation layer (2026-08) */
:root {
  --tp-modern-blue: #0867f2;
  --tp-modern-blue-dark: #071a4e;
  --tp-modern-ink: #081945;
  --tp-modern-muted: #53668f;
  --tp-modern-line: #d9e3f2;
  --tp-modern-soft: #f4f8ff;
  --tp-modern-green: #07965d;
  --tp-max: 1460px;
}

.tp-main {
  background: #f8faff;
  color: var(--tp-modern-ink);
}

.tp-container {
  width: min(100%, var(--tp-max));
  padding-inline: clamp(16px, 4vw, 48px);
}

/* Hero */
.tp-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 112px) 0 0;
  overflow: hidden;
  color: var(--tp-modern-ink);
  background:
    radial-gradient(circle at 88% 10%, rgba(133, 176, 255, .2), transparent 25%),
    radial-gradient(circle at 7% 75%, rgba(198, 220, 255, .38), transparent 30%),
    linear-gradient(135deg, #f3f7ff 0%, #fff 50%, #f2f7ff 100%);
}

.tp-hero::before,
.tp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
}

.tp-hero::before {
  width: 520px;
  height: 520px;
  right: -210px;
  top: -250px;
  box-shadow: 0 0 0 1px rgba(80, 132, 226, .08);
}

.tp-hero::after {
  width: 360px;
  height: 100px;
  right: 5%;
  bottom: 70px;
  transform: rotate(11deg);
}

.tp-hero-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

.tp-badge {
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #ccdaef;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--tp-modern-ink);
  font-size: .84rem;
  letter-spacing: .01em;
  box-shadow: 0 8px 26px rgba(45, 85, 150, .06);
}

.tp-badge::before {
  content: "✦";
  color: var(--tp-modern-blue);
}

.tp-hero h1 {
  max-width: 920px;
  margin: 28px auto 16px;
  color: var(--tp-modern-ink);
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.tp-subtitle {
  max-width: 820px;
  color: var(--tp-modern-muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.tp-hero .seo-data-updated,
.tp-hero .fs-engine-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin: 30px 5px 0;
  padding: 8px 14px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: var(--tp-modern-muted);
  font-size: .84rem;
  box-shadow: none;
}

.tp-hero .seo-data-updated time {
  margin-left: 16px;
  color: var(--tp-modern-ink);
  font-weight: 800;
}

.tp-hero .fs-engine-chip__link {
  color: var(--tp-modern-blue);
  font-weight: 800;
}

.tp-hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.tp-hero-actions .cta-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: var(--tp-modern-ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 40, 90, .05);
}

.tp-hero-actions .cta-button:first-child {
  border-color: #0b4bb7;
  background: linear-gradient(135deg, #0a2462, #061843);
  color: #fff;
  box-shadow: 0 12px 24px rgba(4, 30, 84, .2);
}

.tp-quick-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
  padding: 0 0 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tp-quick-links::-webkit-scrollbar { display: none; }

.tp-quick-links a {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #314b78;
  font-weight: 750;
  text-decoration: none;
}

.tp-quick-links a.is-active,
.tp-quick-links a:hover {
  border-color: #bad1f5;
  color: var(--tp-modern-blue);
}

/* Educational cards */
.tp-proof-strip {
  padding: 26px 0;
  background: #f8faff;
}

.tp-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tp-proof-item {
  position: relative;
  min-height: 112px;
  padding: 22px 18px 20px 70px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 59, 111, .04);
}

.tp-proof-item::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #f1f6ff;
  color: var(--tp-modern-blue);
  font-size: 1rem;
  font-weight: 900;
}

.tp-proof-item:nth-child(2)::before { content: "∑"; }
.tp-proof-item:nth-child(3)::before { content: "✦"; }
.tp-proof-item:nth-child(4)::before { content: "</>"; font-size: .65rem; }

.tp-proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--tp-modern-ink);
  font-size: .9rem;
}

.tp-proof-item span,
.tp-proof-item a {
  color: var(--tp-modern-muted);
  font-size: .78rem;
  line-height: 1.45;
}

/* Date, filters and KPIs */
.tp-section--results {
  padding: 18px 0 64px;
  background: #f8faff;
}

.tp-date-row {
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 59, 111, .04);
}

.tp-date-row .date-selector {
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
}

.tp-date-row .date-button {
  min-width: 142px;
  min-height: 58px;
  padding: 9px 15px;
  border: 1px solid var(--tp-modern-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--tp-modern-ink) !important;
  box-shadow: none !important;
  font-weight: 800;
}

.tp-date-row .date-button.selected,
.tp-date-row .date-button.active {
  border-color: var(--tp-modern-blue) !important;
  background: linear-gradient(135deg, #0872fa, #075be3) !important;
  color: #fff !important;
}

.tp-filters-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 59, 111, .04);
}

.tp-filter-block {
  padding: 0;
  border: 0;
}

.tp-filter-block:first-child {
  padding-bottom: 8px;
}

.tp-filter-block__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 14px;
}

.tp-filter-block__title {
  color: var(--tp-modern-ink);
  font-size: 1.05rem;
  font-weight: 850;
}

.tp-filter-block__meta {
  color: var(--tp-modern-muted);
  font-size: .79rem;
}

.tp-mode-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tp-mode-chip {
  position: relative;
  display: grid;
  min-height: 118px;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "radio name"
    "radio hint"
    "radio stats";
  align-content: center;
  column-gap: 14px;
  padding: 18px;
  border: 1px solid var(--tp-modern-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--tp-modern-ink) !important;
  text-align: left;
  box-shadow: none !important;
}

.tp-mode-chip::before {
  content: "";
  grid-area: radio;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid #aebdd6;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.tp-mode-chip.is-active {
  border-color: var(--tp-modern-blue) !important;
  background: linear-gradient(135deg, #f7fbff, #fff) !important;
}

.tp-mode-chip.is-active::before {
  border-color: var(--tp-modern-blue);
  background: var(--tp-modern-blue);
}

.tp-chip-name { grid-area: name; font-size: .95rem; font-weight: 850; }
.tp-chip-hint { grid-area: hint; color: var(--tp-modern-muted); font-size: .77rem; line-height: 1.4; }
.tp-chip-stats { grid-area: stats; margin-top: 9px; }
.tp-chip-rate { color: var(--tp-modern-green); font-size: .86rem; font-weight: 900; }

.tp-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px -20px 0;
  padding: 12px 20px;
  border-top: 1px solid var(--tp-modern-line);
  border-bottom: 1px solid var(--tp-modern-line);
}

#tp-mode-menu-button,
.tp-tout-btn {
  min-height: 42px;
  border: 1px solid #cbdcf5 !important;
  border-radius: 9px !important;
  background: #f7faff !important;
  color: var(--tp-modern-blue) !important;
  box-shadow: none !important;
  font-weight: 800;
}

.tp-tout-btn {
  min-height: 38px;
  width: auto;
  padding: 8px 14px;
}

.tp-tout-btn::before { display: none; }

.tp-note {
  margin: 8px 0 0 !important;
  padding: 12px 14px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: #f5f9ff;
  color: #314b78;
  font-size: .79rem;
}

.tp-filter-block--collapsible {
  border: 1px solid var(--tp-modern-line);
  border-radius: 8px;
  background: #fff;
}

.tp-filter-block--collapsible .tp-filter-block__head {
  min-height: 50px;
  padding: 12px 16px;
}

.tp-filter-block--collapsible.is-open .tp-filter-block__head {
  margin: 0;
  border-bottom: 1px solid var(--tp-modern-line);
}

.tp-filter-block--collapsible .tp-filter-block__body {
  padding: 16px;
}

.tp-block-caret { margin-left: auto; color: var(--tp-modern-blue); }

.tp-stat-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 59, 111, .04);
}

.tp-stat-chip {
  min-height: 112px;
  padding: 20px 26px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tp-stat-chip + .tp-stat-chip { border-left: 1px solid var(--tp-modern-line); }
.tp-stat-label { color: var(--tp-modern-muted); font-size: .76rem; }
.tp-stat-value { color: var(--tp-modern-ink); font-size: 1.55rem; }
.tp-stat-sub { color: var(--tp-modern-muted); font-size: .74rem; }

/* Results heading and view switch */
.tp-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
}

.tp-results-heading .tp-h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  letter-spacing: -.035em;
}

.tp-results-heading p {
  margin: 9px 0 0;
  color: var(--tp-modern-muted);
}

.tp-compact-toggle-row {
  display: flex;
  justify-content: flex-end;
  margin: -48px 0 22px;
}

.tp-toggle-chip--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tp-modern-line);
  border-radius: 9px;
  background: #fff;
}

.tp-toggle-chip--compact input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tp-view-option {
  min-width: 130px;
  padding: 10px 16px;
  color: var(--tp-modern-muted);
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
}

.tp-toggle-chip--compact input:checked ~ .tp-view-option--compact,
.tp-toggle-chip--compact input:not(:checked) ~ .tp-view-option--detailed {
  background: #f3f7ff;
  color: var(--tp-modern-blue);
  box-shadow: inset 0 0 0 1px var(--tp-modern-blue);
}

/* Match groups and pick rows */
#bb-grid.tp-grid { gap: 14px; padding-top: 0; }

.tp-match-card {
  max-width: none;
  padding: 18px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 59, 111, .04);
}

.tp-match-card::before { display: none; }

.tp-grid--compact .tp-match-card {
  padding: 14px 18px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(28, 59, 111, .04);
}

.tp-grid--compact .tp-match-summary-shell { gap: 12px; }

.tp-grid--compact .tp-match-summary {
  grid-template-columns: 92px minmax(0, 1fr) auto 24px;
  gap: 16px;
  min-height: 46px;
  padding: 0 4px;
}

.tp-match-summary__time { color: var(--tp-modern-ink); font-size: .9rem; }
.tp-match-summary__teams { gap: 14px; color: var(--tp-modern-ink); font-size: .95rem; }
.tp-match-summary__sep { color: #7181a1; font-size: .73rem; }
.tp-match-summary__count {
  min-height: 30px;
  padding: 5px 12px;
  border: 0;
  background: #edf4ff;
  color: var(--tp-modern-blue);
}

.tp-match-summary__list { gap: 7px; }

.tp-compact-pick-row {
  grid-template-columns: 84px minmax(0, 1fr) 76px 94px auto auto;
  grid-template-areas: "type label prob result warning menu";
  gap: 14px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid #d4eadf;
  border-left-width: 1px;
  border-radius: 7px;
  background: linear-gradient(90deg, #f8fffb, #fff);
  box-shadow: none;
}

.tp-compact-pick-row:has(> .tp-pick-overflow) {
  grid-template-columns: 84px minmax(0, 1fr) 76px 94px auto auto;
  grid-template-areas: "type label prob result warning menu";
  overflow: visible;
}

.tp-compact-pick-row__type {
  min-width: 70px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #c8e4d7;
  border-radius: 6px;
  background: #fff !important;
  color: #08784d !important;
  font-size: .72rem;
}

.tp-compact-pick-row__label {
  color: var(--tp-modern-ink);
  font-size: .88rem;
}

.tp-compact-pick-row__prob { color: #078553; font-size: .9rem; text-align: right; }

.tp-compact-pick-row__result {
  min-height: 28px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--tp-modern-blue);
}

.tp-compact-pick-row--win .tp-compact-pick-row__result {
  background: #ebfaF2;
  color: var(--tp-modern-green);
}

.tp-compact-pick-row--lose { border-color: #f1d6d6; background: #fffafa; }
.tp-compact-pick-row--lose .tp-compact-pick-row__result { background: #fff0f0; color: #c53b3b; }

.tp-compact-pick-row > .fs-context-watch-compact-badge { grid-area: warning; }
.tp-compact-pick-row > .tp-pick-overflow { grid-area: menu; }

.tp-pick-overflow__trigger {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--tp-modern-ink);
}

.tp-pick-overflow__trigger:hover { background: #eef4fd; }

/* Open match */
.tp-match-meta {
  margin-bottom: 18px;
  padding: 0 0 14px;
  border-color: var(--tp-modern-line);
}

.tp-team-confrontation {
  margin: 0 0 22px;
  padding: 8px 6%;
}

.tp-team-logo {
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.tp-team-name {
  color: var(--tp-modern-ink);
  font-size: 1.08rem;
}

.tp-vs {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--tp-modern-line);
  border-radius: 50%;
  color: var(--tp-modern-ink);
  font-size: .72rem;
}

.tp-picks { gap: 8px; margin: 0; }

.tp-pick-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(330px, auto) auto auto;
  grid-template-areas: "left metrics warning menu";
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 9px 12px;
  overflow: visible;
  border: 1px solid var(--tp-modern-line);
  border-radius: 7px;
  background: #fff;
}

.tp-pick-row::before { display: none; }

.tp-pick-left {
  grid-area: left;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.tp-pick-sub {
  order: -1;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #cbdcf5;
  border-radius: 6px;
  background: #f4f8ff;
  color: var(--tp-modern-blue);
  text-align: center;
  font-size: .7rem;
}

.tp-pick-label { color: var(--tp-modern-ink); font-size: .9rem; }
.tp-pick-metrics { grid-area: metrics; flex-wrap: nowrap; justify-content: flex-end; }

.tp-pick-metrics .tp-chip {
  min-width: 92px;
  border: 0;
  border-radius: 7px;
  background: #f6f9fd;
  box-shadow: none;
}

.tp-pick-row > .fs-context-watch-compact-badge { grid-area: warning; justify-self: end; }
.tp-pick-row > .tp-pick-overflow {
  position: relative;
  top: auto;
  right: auto;
  grid-area: menu;
}

.tp-pick-row:has(> .tp-pick-overflow) > .tp-pick-left { padding-right: 0; }

.tp-reading-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbe8f8;
  border-radius: 8px;
  background: #f5f9ff;
}

.tp-match-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.tp-reading-mini-badge {
  display: grid;
  gap: 4px;
  padding: 4px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.tp-reading-mini-badge + .tp-reading-mini-badge { border-left: 1px solid #d2deee; }
.tp-reading-mini-badge__k { color: var(--tp-modern-muted); font-size: .72rem; }
.tp-reading-mini-badge__v { color: var(--tp-modern-blue); font-size: .88rem; }
.tp-reading-mini-badge--primary .tp-reading-mini-badge__v,
.tp-reading-mini-badge--count .tp-reading-mini-badge__v { color: var(--tp-modern-ink); }

.tp-reading-toggle {
  min-width: 142px;
  border: 1px solid var(--tp-modern-blue);
  border-radius: 8px;
  background: #fff;
  color: var(--tp-modern-blue);
  font-weight: 850;
}

.tp-reading-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tp-reading-details__section {
  padding: 18px;
  border: 1px solid var(--tp-modern-line);
  border-radius: 8px;
  background: #fff;
}

.tp-reading-details__section:first-child,
.tp-reading-details__section:nth-child(4),
.tp-reading-details__section:nth-child(5) {
  grid-column: 1 / -1;
}

.tp-reading-details__section::before,
.tp-reading-details__title::before { display: none; }

.tp-reading-details__title {
  margin-bottom: 14px;
  padding: 0;
  color: var(--tp-modern-ink);
  font-size: .88rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Dark mode keeps the same hierarchy without forcing light surfaces. */
[data-theme="dark"] .tp-main,
[data-theme="dark"] .tp-section--results,
[data-theme="dark"] .tp-proof-strip { background: #07101f; }

[data-theme="dark"] .tp-hero {
  background: radial-gradient(circle at 82% 0, rgba(27, 86, 188, .3), transparent 34%), #09162b;
}

[data-theme="dark"] .tp-hero h1,
[data-theme="dark"] .tp-badge { color: #f5f8ff; }

[data-theme="dark"] .tp-subtitle,
[data-theme="dark"] .tp-hero .seo-data-updated { color: #aebdd5; }

[data-theme="dark"] .tp-badge,
[data-theme="dark"] .tp-quick-links a,
[data-theme="dark"] .tp-proof-item,
[data-theme="dark"] .tp-date-row,
[data-theme="dark"] .tp-filters-card,
[data-theme="dark"] .tp-filter-block--collapsible,
[data-theme="dark"] .tp-stat-chips,
[data-theme="dark"] .tp-stat-chip,
[data-theme="dark"] .tp-match-card,
[data-theme="dark"] .tp-mode-chip,
[data-theme="dark"] .tp-reading-details__section {
  border-color: #23324b !important;
  background: #101b2e !important;
}

[data-theme="dark"] .tp-filter-block__title,
[data-theme="dark"] .tp-stat-value,
[data-theme="dark"] .tp-match-summary__time,
[data-theme="dark"] .tp-match-summary__teams,
[data-theme="dark"] .tp-pick-label,
[data-theme="dark"] .tp-reading-details__title { color: #edf4ff; }

/* Responsive */
@media (max-width: 980px) {
  .tp-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-mode-chips { gap: 10px; }
  .tp-pick-row {
    grid-template-columns: minmax(180px, 1fr) auto auto;
    grid-template-areas: "left warning menu" "metrics metrics metrics";
  }
  .tp-pick-metrics { justify-content: flex-start; }
  .tp-match-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-reading-mini-badge:nth-child(3) { border-left: 0; }
}

@media (max-width: 760px) {
  .tp-container { padding-inline: 14px; }
  .tp-hero { padding-top: 48px; }
  .tp-hero h1 { font-size: clamp(2.1rem, 11vw, 3.25rem); }
  .tp-hero .seo-data-updated,
  .tp-hero .fs-engine-chip { display: flex; width: 100%; margin: 10px 0 0; justify-content: space-between; }
  .tp-hero-actions { flex-direction: column; }
  .tp-quick-links { justify-content: flex-start; margin-inline: -14px; padding-inline: 14px; }
  .tp-proof-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tp-proof-item { min-height: 138px; padding: 54px 12px 14px; }
  .tp-proof-item::before { left: 12px; top: 12px; }
  .tp-date-row { margin-inline: -14px; padding: 12px 14px; border-radius: 0; }
  .tp-date-row .date-button { min-width: 128px; }
  .tp-filters-card { padding: 14px; }
  .tp-mode-chips { grid-template-columns: 1fr; }
  .tp-mode-chip { min-height: 94px; }
  .tp-profile-row { margin-inline: -14px; padding-inline: 14px; align-items: stretch; }
  #tp-mode-menu-button { width: 100%; }
  .tp-stat-chips { grid-template-columns: 1fr; }
  .tp-stat-chip { min-height: 92px; }
  .tp-stat-chip + .tp-stat-chip { border-left: 0; border-top: 1px solid var(--tp-modern-line); }
  .tp-results-heading { margin-top: 42px; }
  .tp-results-heading p { font-size: .88rem; }
  .tp-compact-toggle-row { justify-content: stretch; margin: 20px 0 16px; }
  .tp-toggle-chip--compact { width: 100%; }
  .tp-view-option { min-width: 0; }
  .tp-grid--compact .tp-match-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "time teams caret" "meta meta meta";
    gap: 8px;
  }
  .tp-match-summary__teams { display: grid; grid-template-columns: 1fr auto 1fr; font-size: .82rem; }
  .tp-compact-pick-row {
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    grid-template-areas: "type label warning menu" "type prob result menu";
    gap: 5px 9px;
  }
  .tp-compact-pick-row:has(> .tp-pick-overflow) {
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    grid-template-areas: "type label warning menu" "type prob result menu";
    row-gap: 5px;
    overflow: visible;
  }
  .tp-compact-pick-row__type { min-width: 58px; align-self: center; }
  .tp-compact-pick-row__prob { text-align: left; align-self: center; }
  .tp-compact-pick-row__result { justify-self: start; }
  .tp-team-confrontation { grid-template-columns: 1fr auto 1fr; padding-inline: 0; }
  .tp-vs { display: grid; }
  .tp-team-logo { width: 58px; height: 58px; }
  .tp-team-name { max-width: 130px; white-space: normal; font-size: .9rem; }
  .tp-pick-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "left left left" "metrics warning menu";
    gap: 10px;
  }
  .tp-pick-left { grid-template-columns: 72px minmax(0, 1fr); }
  .tp-pick-metrics { overflow-x: auto; flex-wrap: nowrap; }
  .tp-pick-metrics .tp-chip { min-width: 90px; }
  .tp-reading-compact { grid-template-columns: 1fr; padding: 12px; }
  .tp-reading-toggle { min-height: 44px; }
  .tp-reading-details { grid-template-columns: 1fr; }
  .tp-reading-details__section { grid-column: 1 !important; }
}

@media (max-width: 390px) {
  .tp-hero .seo-data-updated,
  .tp-hero .fs-engine-chip { align-items: flex-start; flex-direction: column; }
  .tp-hero .seo-data-updated time { margin-left: 0; }
  .tp-proof-item { min-height: 150px; }
  .tp-profile-row { flex-direction: column; }
  .tp-match-card,
  .tp-grid--compact .tp-match-card { padding-inline: 10px; }
  .tp-match-summary__count { font-size: .67rem; }
  .tp-match-insights { grid-template-columns: 1fr; }
  .tp-reading-mini-badge + .tp-reading-mini-badge { border-left: 0; border-top: 1px solid #d2deee; }
}

/* Visual matching pass — target mockups */
.tp-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 64px 0 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(177, 204, 250, .24) 0 18%, transparent 18.2%),
    radial-gradient(ellipse at 8% 20%, rgba(207, 224, 253, .42), transparent 34%),
    linear-gradient(125deg, #f3f7ff 0%, #fff 46%, #f3f7ff 100%);
}

.tp-hero::before {
  width: 610px;
  height: 610px;
  right: -170px;
  top: -270px;
  border-color: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 1px rgba(125, 164, 230, .06);
}

.tp-hero::after {
  width: 330px;
  height: 92px;
  right: 6%;
  bottom: 118px;
  border-color: rgba(255, 255, 255, .95);
}

.tp-hero-card {
  width: 100%;
  max-width: 1260px;
}

.tp-hero h1 {
  max-width: 760px;
  margin-top: 34px;
  font-size: clamp(3rem, 5vw, 5.15rem);
}

.tp-hero .tp-subtitle {
  max-width: 720px;
  margin-inline: auto;
}

.tp-hero .seo-data-updated,
.tp-hero .fs-engine-chip {
  margin-top: 30px;
  color: var(--tp-modern-muted);
  background: rgba(255, 255, 255, .68);
}

.tp-hero .fs-engine-chip { margin-left: 8px; }
.tp-hero .fs-engine-chip__item { color: var(--tp-modern-muted); }
.tp-hero .fs-engine-chip__link { color: var(--tp-modern-blue); background: transparent; }

.tp-hero-actions .cta-button {
  min-width: 320px;
  min-height: 58px;
  font-size: 1rem;
}

.tp-quick-links {
  gap: 20px;
  margin-top: 48px;
  padding-bottom: 48px;
}

.tp-quick-links a {
  min-width: 150px;
  padding: 12px 22px;
}

/* Filter proportions */
.tp-proof-strip { padding: 30px 0 26px; }
.tp-proof-item { min-height: 116px; padding-top: 24px; }
.tp-date-row { margin-bottom: 26px; padding: 16px 20px; }
.tp-filters-card { padding: 22px; }
.tp-mode-chip { min-height: 124px; padding: 20px; }
.tp-mode-chip.is-active .tp-chip-name { color: var(--tp-modern-ink) !important; }
.tp-mode-chip.is-active .tp-chip-hint { color: var(--tp-modern-muted) !important; opacity: 1; }
.tp-mode-chip.is-active .tp-chip-rate,
.tp-mode-chip.is-active .tp-chip-rate--high,
.tp-mode-chip.is-active .tp-chip-rate--mid,
.tp-mode-chip.is-active .tp-chip-rate--low {
  background: transparent !important;
  color: var(--tp-modern-green) !important;
}
.tp-mode-chip.is-active .tp-chip-count { color: #6680a9 !important; }

/* Compact card header */
.tp-match-summary__league {
  grid-area: league;
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--tp-modern-muted);
  font-size: .82rem;
  font-weight: 800;
}

.tp-match-summary__flag,
.tp-league-country-flag {
  width: 22px !important;
  height: 15px !important;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.tp-match-summary__time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tp-match-summary__time::before {
  content: "⚽";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--tp-modern-blue);
  font-size: .8rem;
}

.tp-match-summary__team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tp-compact-team-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.tp-grid--compact .tp-match-summary {
  grid-template-columns: 120px minmax(0, 1fr) auto 24px;
  min-height: 52px;
}

.tp-grid--compact .tp-match-card {
  padding: 14px 26px 20px;
}

.tp-grid--compact .tp-match-summary__list { gap: 7px; }

.tp-compact-pick-row,
.tp-compact-pick-row:has(> .tp-pick-overflow) {
  grid-template-columns: 92px minmax(0, 1fr) 80px 100px auto auto;
  min-height: 54px;
  padding-inline: 14px;
}

.tp-compact-pick-row__type { min-width: 76px; }
.tp-compact-pick-row__label { font-size: .9rem; }
.tp-compact-pick-row__prob { font-size: .92rem; }

/* Expanded first-reading state */
.tp-grid--compact .tp-match-card.is-compact-open {
  max-width: 980px;
  padding: 24px 38px 30px;
  border-color: #cad9ec;
  box-shadow: 0 14px 38px rgba(25, 57, 105, .07);
}

.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary {
  grid-template-columns: minmax(0, 1fr) auto 24px;
  grid-template-areas: "time meta caret" "league meta caret";
  row-gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tp-modern-line);
}

.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__teams,
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__list,
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-meta {
  display: none;
}

.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__league { display: inline-flex; }
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__meta { align-self: center; }

.tp-grid--compact .tp-match-card.is-compact-open .tp-match-card__body {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.tp-match-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.tp-open-pick-count,
.tp-match-summary__count {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid #c8daf4;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--tp-modern-blue);
  font-size: .78rem;
  font-weight: 900;
}

.tp-team-confrontation {
  position: relative;
  min-height: 220px;
  padding: 24px 10%;
}

.tp-team-confrontation::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: var(--tp-modern-line);
}

.tp-team-logo { width: 104px; height: 104px; }
.tp-team-name { max-width: 330px; font-size: 1.18rem; }
.tp-vs { position: relative; z-index: 1; background: #fff; }

.tp-main .tp-team .tp-elo-pill,
.tp-main .tp-team .tp-team-rank,
.tp-main .tp-team .tp-team-side {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #7181a1;
  font-size: .68rem;
}

.tp-pick-row {
  min-height: 70px;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  padding: 10px 16px;
  border-color: #d7e2f0;
  border-radius: 9px;
}

.tp-pick-left { grid-template-columns: 92px minmax(0, 1fr); }
.tp-pick-sub { min-height: 38px; display: grid; place-items: center; }
.tp-pick-label { font-size: .95rem; }

.tp-pick-metrics .tp-chip--conf { display: none; }
.tp-pick-metrics .tp-chip__k,
.tp-pick-metrics .tp-chip__meter { display: none; }
.tp-pick-metrics .tp-chip {
  min-width: auto;
  padding: 7px 12px;
  border: 0;
  background: transparent;
}
.tp-pick-metrics .tp-chip--prob .tp-chip__v { color: var(--tp-modern-blue); font-size: 1rem; }
.tp-pick-metrics .tp-chip--outcome {
  min-width: 94px;
  justify-content: center;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--tp-modern-blue);
}
.tp-pick-row--win .tp-pick-metrics .tp-chip--outcome { background: #ebf9f1; color: var(--tp-modern-green); }
.tp-pick-row--lose .tp-pick-metrics .tp-chip--outcome { background: #fff0f0; color: #c53b3b; }

.tp-reading-compact {
  margin-top: 18px;
  padding: 18px 14px;
  background: linear-gradient(100deg, #f4f8ff, #eef5ff);
}

.tp-reading-mini-badge { min-height: 58px; justify-content: center; }
.tp-reading-mini-badge__k { font-size: .76rem; }
.tp-reading-mini-badge__v { font-size: .92rem; }

.tp-match-card__body:has(.tp-reading-details:not([hidden])) .tp-reading-compact { display: grid; }
.tp-match-card__body:has(.tp-reading-details:not([hidden])) .tp-reading-compact__badges { display: none; }
.tp-match-card__body:has(.tp-reading-details:not([hidden])) .tp-reading-toggle { grid-column: 1 / -1; }
.tp-match-card__body:has(.tp-reading-details:not([hidden])) .tp-reading-toggle__caret { transform: rotate(180deg); }

.tp-match-card .fs-match-analysis-link--block {
  display: flex;
  width: min(100%, 860px);
  min-height: 58px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #0872fa, #075be3);
  color: #fff;
  font-size: .95rem;
  box-shadow: 0 10px 22px rgba(8, 103, 242, .18);
}

.tp-match-card .fs-match-analysis-link--block:hover { background: #0758d7; color: #fff; }

/* Expert details: progressive reading blocks */
.tp-reading-details {
  counter-reset: tp-details;
  gap: 12px;
  margin-top: 18px;
}

.tp-reading-details__section {
  counter-increment: tp-details;
  padding: 20px;
  border-color: #d7e2f0;
  border-radius: 9px;
  box-shadow: none;
}

.tp-reading-details__section:first-child,
.tp-reading-details__section:nth-child(4),
.tp-reading-details__section:nth-child(5),
.tp-reading-details__section--markets { grid-column: 1 / -1; }

.tp-reading-details__title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
  font-size: .96rem;
}

.tp-reading-details__title::before {
  content: counter(tp-details) ".";
  display: inline;
  color: var(--tp-modern-ink);
  font-weight: 900;
}

.tp-reading-stat {
  min-height: 64px;
  padding: 10px 14px;
  border-color: #e0e8f3;
  border-radius: 7px;
  background: #fbfdff;
  box-shadow: none;
}

.tp-reading-stat--emphasis,
.tp-reading-stat--home.is-top,
.tp-reading-stat--away.is-top {
  background: #f5f9ff;
}

.tp-reading-team-row {
  padding: 14px;
  border-color: #e0e8f3;
  border-radius: 7px;
  background: #fbfdff;
  box-shadow: none;
}

.tp-reading-token {
  border-radius: 6px;
  box-shadow: none;
}

.tp-market-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tp-market-detail-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "type label prob" "type status status";
  align-items: center;
  gap: 7px 10px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid #dbe5f1;
  border-radius: 7px;
  background: #fbfdff;
}

.tp-market-detail-row__type {
  grid-area: type;
  min-width: 54px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #edf4ff;
  color: var(--tp-modern-blue);
  text-align: center;
  font-size: .7rem;
  font-weight: 900;
}
.tp-market-detail-row__label { grid-area: label; color: var(--tp-modern-ink); font-size: .8rem; }
.tp-market-detail-row__prob { grid-area: prob; color: var(--tp-modern-green); font-weight: 900; }
.tp-market-detail-row__status { grid-area: status; color: var(--tp-modern-muted); font-size: .72rem; }

@media (max-width: 980px) {
  .tp-hero { min-height: 680px; }
  .tp-hero-actions .cta-button { min-width: 280px; }
  .tp-quick-links { gap: 12px; }
  .tp-quick-links a { min-width: 0; }
  .tp-pick-row { grid-template-columns: minmax(200px, 1fr) auto auto auto; grid-template-areas: "left metrics warning menu"; }
  .tp-market-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .tp-hero {
    min-height: auto;
    padding: 54px 0 0;
    background:
      radial-gradient(circle at 100% 0, rgba(183, 209, 251, .32), transparent 35%),
      linear-gradient(145deg, #f3f7ff, #fff 58%, #f1f6ff);
  }
  .tp-hero h1 { max-width: 340px; margin-top: 26px; font-size: clamp(2.25rem, 12vw, 3.25rem); }
  .tp-hero .tp-subtitle { max-width: 340px; font-size: .95rem; }
  .tp-hero-actions .cta-button { min-width: 0; width: 100%; }
  .tp-quick-links { margin-top: 32px; padding-bottom: 30px; }
  .tp-mode-chip { min-height: 104px; }
  .tp-chip-hint { display: block !important; }
  .tp-grid--compact .tp-match-card { padding-inline: 12px; }
  .tp-grid--compact .tp-match-summary {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas: "time teams caret" "meta meta meta";
  }
  .tp-match-summary__time { gap: 5px; font-size: .74rem; }
  .tp-match-summary__time::before { width: 23px; height: 23px; font-size: .65rem; }
  .tp-compact-team-logo { width: 22px; height: 22px; flex-basis: 22px; }
  .tp-match-summary__team { gap: 5px; }
  .tp-compact-pick-row,
  .tp-compact-pick-row:has(> .tp-pick-overflow) {
    grid-template-columns: 58px minmax(0, 1fr) auto auto;
    grid-template-areas: "type label warning menu" "type prob result menu";
    min-height: 64px;
  }
  .tp-compact-pick-row__type { min-width: 52px; }
  .tp-grid--compact .tp-match-card.is-compact-open { padding: 16px 14px 22px; }
  .tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary {
    grid-template-columns: minmax(0, 1fr) auto 20px;
    grid-template-areas: "time meta caret" "league meta caret";
  }
  .tp-team-confrontation { min-height: 178px; padding: 18px 0; }
  .tp-team-logo { width: 72px; height: 72px; }
  .tp-team-name { max-width: 120px; font-size: .88rem; }
  .tp-pick-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "left left left" "metrics warning menu";
    min-height: 84px;
    padding: 10px;
  }
  .tp-pick-left { grid-template-columns: 70px minmax(0, 1fr); }
  .tp-pick-sub { min-height: 34px; }
  .tp-pick-metrics { overflow: visible; }
  .tp-pick-metrics .tp-chip { min-width: 0; padding-inline: 8px; }
  .tp-pick-metrics .tp-chip--outcome { min-width: 74px; }
  .tp-reading-compact { padding: 10px; }
  .tp-reading-details__section { padding: 14px; }
  .tp-reading-stat { min-height: 54px; padding: 8px 10px; }
  .tp-market-details { grid-template-columns: 1fr; }
  .tp-match-card .fs-match-analysis-link--block { min-height: 52px; }
}

@media (max-width: 390px) {
  .tp-proof-item { min-height: 142px; }
  .tp-match-summary__teams { gap: 4px; }
  .tp-match-summary__team { min-width: 0; }
  .tp-match-summary__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tp-open-pick-count,
  .tp-match-summary__count { padding-inline: 9px; font-size: .68rem; }
}


/* Density correction 2026-08-17 — filters and expanded match only */
.tp-filters-card{
  gap:8px;
  padding:16px;
}
.tp-filter-block:first-child{padding-bottom:4px}
.tp-filter-block__head{padding:2px 0 10px}
.tp-filter-block__title{font-size:1rem;line-height:1.2}
.tp-filter-block__meta{font-size:.75rem;line-height:1.3}
.tp-mode-chips{gap:10px}
.tp-mode-chip{
  min-height:96px;
  padding:13px 14px;
  column-gap:10px;
}
.tp-chip-name{font-size:.88rem;line-height:1.2}
.tp-chip-hint{font-size:.7rem;line-height:1.3}
.tp-chip-stats{margin-top:5px}
.tp-chip-rate{font-size:.75rem}
.tp-chip-count{font-size:.67rem}
.tp-profile-row{
  gap:8px;
  margin:10px -16px 0;
  padding:9px 16px;
}
#tp-mode-menu-button{min-height:36px;padding:7px 11px;font-size:.78rem}
.tp-profile-row .tp-tout-btn{
  width:auto;
  min-height:34px !important;
  padding:6px 11px;
  font-size:.72rem;
}
.tp-note{
  margin-top:6px !important;
  padding:8px 10px;
  font-size:.7rem;
  line-height:1.35;
}
.tp-filter-block--collapsible .tp-filter-block__head{
  min-height:42px;
  padding:9px 12px;
}
.tp-filter-block--collapsible .tp-filter-block__body{padding:12px}
.tp-stat-chip{
  min-height:88px;
  padding:14px 18px;
}
.tp-stat-label{font-size:.69rem}
.tp-stat-value{font-size:1.3rem;line-height:1.1}
.tp-stat-sub{font-size:.67rem;line-height:1.3}

/* Expanded match: compact first-reading layer */
.tp-grid--compact .tp-match-card.is-compact-open{
  padding:18px 24px 22px;
}
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary{
  min-height:48px;
  padding-bottom:12px;
  row-gap:4px;
}
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__time{font-size:.82rem}
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__league{font-size:.72rem}
.tp-team-confrontation{
  min-height:154px;
  margin-bottom:12px;
  padding:14px 10%;
}
.tp-team-confrontation::before{top:16px;bottom:16px}
.tp-team-logo{width:76px;height:76px}
.tp-team-name{font-size:1rem;line-height:1.2}
.tp-vs{width:34px;height:34px;font-size:.66rem}
.tp-main .tp-team .tp-elo-pill,
.tp-main .tp-team .tp-team-rank,
.tp-main .tp-team .tp-team-side{
  font-size:.62rem;
  line-height:1.2;
}
.tp-picks{gap:6px}
.tp-pick-row{
  min-height:54px;
  grid-template-columns:minmax(230px,1fr) auto auto auto;
  gap:10px;
  padding:7px 10px;
  border-radius:7px;
}
.tp-pick-left{
  grid-template-columns:76px minmax(0,1fr);
  gap:10px;
}
.tp-pick-sub{
  min-height:31px;
  padding:5px 7px;
  border-radius:5px;
  font-size:.65rem;
}
.tp-pick-label{font-size:.82rem;line-height:1.25}
.tp-pick-metrics{gap:5px}
.tp-pick-metrics .tp-chip{padding:5px 8px;font-size:.75rem}
.tp-pick-metrics .tp-chip--prob .tp-chip__v{font-size:.88rem}
.tp-pick-metrics .tp-chip--outcome{min-width:78px}
.tp-pick-row>.tp-pick-overflow .tp-pick-overflow__trigger{
  width:38px;
  height:38px;
}
.tp-reading-compact{
  gap:8px;
  margin-top:12px;
  padding:10px;
}
.tp-match-insights{min-width:0}
.tp-reading-mini-badge{
  min-height:44px;
  padding:3px 10px;
}
.tp-reading-mini-badge__k{font-size:.65rem;line-height:1.2}
.tp-reading-mini-badge__v{font-size:.78rem;line-height:1.25}
.tp-reading-toggle{
  min-width:112px;
  min-height:42px;
  font-size:.76rem;
}
.tp-match-card .fs-match-analysis-link--block{
  min-height:48px;
  margin-top:12px;
  font-size:.82rem;
}

/* Expert details: air between concepts, density inside components */
.tp-reading-details{
  gap:9px;
  margin-top:12px;
}
.tp-reading-details__section{
  padding:13px;
  border-radius:7px;
}
.tp-reading-details__title{
  margin-bottom:10px;
  font-size:.84rem;
  line-height:1.25;
}
.tp-reading-details__line{gap:6px}
.tp-reading-stat{
  min-height:46px;
  padding:7px 9px;
  border-radius:5px;
  font-size:.72rem;
}
.tp-reading-stat__meta{font-size:.63rem;line-height:1.2}
.tp-reading-stat__num{font-size:.82rem;line-height:1.15}
.tp-reading-proba-ribbon{margin-bottom:8px}
.tp-reading-proba-ribbon__txt{font-size:.68rem}
.tp-reading-details__duel{gap:7px}
.tp-reading-team-row{
  gap:5px;
  padding:9px;
  border-radius:5px;
}
.tp-reading-team-row__side{font-size:.7rem}
.tp-reading-team-row__text{font-size:.67rem;line-height:1.3}
.tp-reading-team-row__text--tokens{gap:5px}
.tp-reading-token{
  padding:5px 7px;
  border-radius:4px;
  font-size:.64rem;
}
.tp-reading-token__k{font-size:.58rem}
.tp-reading-token__v{font-size:.68rem}
.tp-market-details{gap:7px}
.tp-market-detail-row{
  min-height:66px;
  gap:5px 8px;
  padding:9px;
  border-radius:5px;
}
.tp-market-detail-row__type{
  min-width:46px;
  padding:5px 6px;
  border-radius:4px;
  font-size:.63rem;
}
.tp-market-detail-row__label{font-size:.72rem;line-height:1.25}
.tp-market-detail-row__prob{font-size:.76rem}
.tp-market-detail-row__status{font-size:.64rem}

@media (max-width:760px){
  .tp-filters-card{
    gap:6px;
    padding:10px;
  }
  .tp-filter-block__head{
    align-items:center;
    padding:1px 0 8px;
  }
  .tp-filter-block__title{font-size:.92rem}
  .tp-filter-block__meta{font-size:.64rem}
  .tp-mode-chips{gap:6px}
  .tp-mode-chip{
    grid-template-columns:14px minmax(78px,92px) minmax(0,1fr) auto;
    grid-template-areas:"radio name hint stats";
    align-items:center;
    min-height:62px;
    padding:7px 8px;
    column-gap:7px;
  }
  .tp-mode-chip::before{width:14px;height:14px;margin:0}
  .tp-chip-name{font-size:.76rem}
  .tp-chip-hint{
    display:block !important;
    font-size:.59rem;
    line-height:1.22;
  }
  .tp-chip-stats{
    margin:0;
    text-align:right;
  }
  .tp-chip-rate{font-size:.66rem !important;padding:2px 5px !important}
  .tp-chip-count{display:block;font-size:.56rem}
  .tp-profile-row{
    flex-direction:row;
    align-items:center;
    margin:8px -10px 0;
    padding:8px 10px;
  }
  .tp-profile-wrap{flex:1 1 auto;min-width:0}
  #tp-mode-menu-button{
    width:100%;
    min-height:34px;
    padding:6px 9px;
    font-size:.7rem;
  }
  .tp-profile-row .tp-tout-btn{
    flex:0 0 auto;
    min-height:34px !important;
    padding:5px 8px;
    font-size:.64rem;
  }
  .tp-note{
    padding:7px 8px;
    font-size:.63rem;
  }
  .tp-filter-block--collapsible .tp-filter-block__head{
    min-height:39px;
    padding:8px 10px;
  }
  .tp-filter-block--collapsible .tp-filter-block__body{padding:9px}
  .tp-stat-chips{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .tp-stat-chip{
    min-height:72px;
    padding:9px 6px;
    text-align:center;
  }
  .tp-stat-chip+.tp-stat-chip{
    border-top:0;
    border-left:1px solid var(--tp-modern-line,#d9e3f2);
  }
  .tp-stat-label{font-size:.57rem;line-height:1.15}
  .tp-stat-value{font-size:1.02rem}
  .tp-stat-sub{font-size:.55rem;line-height:1.2}

  .tp-grid--compact .tp-match-card.is-compact-open{
    padding:11px 10px 15px;
  }
  .tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary{
    min-height:42px;
    padding-bottom:9px;
  }
  .tp-team-confrontation{
    min-height:122px;
    margin-bottom:8px;
    padding:9px 0;
  }
  .tp-team-confrontation::before{top:10px;bottom:10px}
  .tp-team-logo{width:52px;height:52px}
  .tp-team-name{max-width:112px;font-size:.78rem}
  .tp-vs{width:28px;height:28px;font-size:.58rem}
  .tp-main .tp-team .tp-elo-pill,
  .tp-main .tp-team .tp-team-rank,
  .tp-main .tp-team .tp-team-side{font-size:.56rem}
  .tp-picks{gap:5px}
  .tp-pick-row{
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-areas:"left left left" "metrics warning menu";
    min-height:66px;
    gap:5px 7px;
    padding:7px;
  }
  .tp-pick-left{
    grid-template-columns:62px minmax(0,1fr);
    gap:7px;
  }
  .tp-pick-sub{min-height:28px;padding:4px 5px;font-size:.6rem}
  .tp-pick-label{font-size:.75rem}
  .tp-pick-metrics .tp-chip{padding:4px 6px}
  .tp-pick-metrics .tp-chip--prob .tp-chip__v{font-size:.78rem}
  .tp-pick-metrics .tp-chip--outcome{min-width:64px}
  .tp-reading-compact{
    grid-template-columns:1fr;
    margin-top:8px;
    padding:8px;
  }
  .tp-match-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tp-reading-mini-badge{min-height:38px;padding:3px 6px}
  .tp-reading-mini-badge__k{font-size:.59rem}
  .tp-reading-mini-badge__v{font-size:.7rem}
  .tp-reading-toggle{width:100%;min-height:38px;font-size:.7rem}

  .tp-reading-details{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:9px;
  }
  .tp-reading-details__section{
    grid-column:1 !important;
    padding:10px;
  }
  .tp-reading-details__title{
    margin-bottom:8px;
    font-size:.78rem;
  }
  .tp-reading-details__line{
    grid-template-columns:1fr;
    gap:5px;
  }
  .tp-reading-stat{
    min-height:42px;
    padding:6px 8px;
  }
  .tp-reading-details__duel{grid-template-columns:1fr;gap:5px}
  .tp-reading-team-row{padding:7px}
  .tp-reading-token{padding:4px 6px}
  .tp-market-details{grid-template-columns:1fr;gap:5px}
  .tp-market-detail-row{min-height:58px;padding:7px}
  .tp-match-card .fs-match-analysis-link--block{
    min-height:44px;
    font-size:.76rem;
  }
}
@media (max-width:390px){
  .tp-mode-chip{
    grid-template-columns:13px 78px minmax(0,1fr) auto;
    column-gap:5px;
  }
  .tp-chip-name{font-size:.72rem}
  .tp-chip-hint{font-size:.56rem}
}

/* ========================================================================== */
/* Browser-verified visual match — 2026-08-17                                 */
/* This final layer intentionally wins over the legacy unified-hero theme.     */
/* ========================================================================== */

:root{
  --tp-verified-max:1488px;
  --tp-verified-ink:#071844;
  --tp-verified-muted:#53658b;
  --tp-verified-blue:#0867f2;
  --tp-verified-line:#d8e3f2;
  --tp-verified-surface:#fff;
  --tp-verified-page:#f7f9fd;
}

.tp-main{background:var(--tp-verified-page)}
.tp-main>.tp-section,
.tp-main>.tp-proof-strip{color:var(--tp-verified-ink)}
.tp-proof-strip .tp-container,
.tp-section--results .tp-container{
  width:min(calc(100% - 32px),var(--tp-verified-max));
  max-width:none;
  padding-inline:0;
}

/* Hero: force the page-specific light composition in both global themes. */
.tp-hero[data-fs-hero-unified="off"],
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"].fs-hero-shell{
  min-height:762px;
  padding:64px 0 0;
  color:var(--tp-verified-ink)!important;
  background:
    radial-gradient(circle at 91% 5%,rgba(188,215,255,.42) 0 17%,transparent 17.2%),
    radial-gradient(circle at 8% 78%,rgba(207,225,255,.42),transparent 28%),
    linear-gradient(132deg,#edf4ff 0%,#fff 47%,#f1f6ff 100%)!important;
}
.tp-hero[data-fs-hero-unified="off"]::before{
  width:560px;height:560px;right:-225px;top:-280px;
  border:1px solid rgba(255,255,255,.95);box-shadow:0 0 0 1px rgba(94,137,212,.08)
}
.tp-hero[data-fs-hero-unified="off"]::after{
  width:430px;height:116px;right:1%;bottom:110px;
  border-color:rgba(255,255,255,.98);transform:rotate(12deg)
}
.tp-hero[data-fs-hero-unified="off"] .tp-container{width:min(100%,1320px);padding-inline:24px}
.tp-hero[data-fs-hero-unified="off"] .tp-hero-card,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-hero-card.fs-hero-card{
  width:100%;max-width:1220px;margin:0 auto;padding:0;border:0!important;
  background:transparent!important;box-shadow:none!important;backdrop-filter:none;
  color:var(--tp-verified-ink)!important;text-align:center
}
.tp-hero[data-fs-hero-unified="off"] .tp-badge,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-badge.fs-hero-badge{
  min-height:58px;padding:13px 24px;border:1px solid #cbd9ed!important;
  background:rgba(255,255,255,.84)!important;color:var(--tp-verified-ink)!important;
  font-size:18px;font-weight:800;box-shadow:0 8px 24px rgba(35,70,125,.05)
}
.tp-hero[data-fs-hero-unified="off"] h1,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] h1{
  max-width:900px;margin:42px auto 22px;color:var(--tp-verified-ink)!important;
  font-size:clamp(58px,5.15vw,82px);font-weight:850;line-height:1;letter-spacing:-.052em;text-shadow:none!important
}
.tp-hero[data-fs-hero-unified="off"] .tp-subtitle,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-subtitle{
  max-width:790px;margin-inline:auto;color:var(--tp-verified-muted)!important;
  font-size:21px;line-height:1.55
}
.tp-hero[data-fs-hero-unified="off"] .seo-data-updated,
.tp-hero[data-fs-hero-unified="off"] .fs-engine-chip{
  min-height:47px;margin-top:27px;padding:9px 14px;border:1px solid var(--tp-verified-line);
  border-radius:10px;background:rgba(255,255,255,.72)!important;color:#63759a!important;font-size:16px
}
.tp-hero[data-fs-hero-unified="off"] .seo-data-updated time{color:#3e527a!important}
.tp-hero[data-fs-hero-unified="off"] .fs-engine-chip__item{color:#63759a!important}
.tp-hero[data-fs-hero-unified="off"] .fs-engine-chip__link{color:var(--tp-verified-blue)!important}
.tp-hero[data-fs-hero-unified="off"] .tp-hero-actions{margin-top:28px;gap:14px}
.tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{
  min-height:64px;padding:15px 26px;border:1px solid #cad8eb!important;border-radius:12px;
  background:rgba(255,255,255,.9)!important;color:var(--tp-verified-ink)!important;
  font-size:19px;font-weight:800;box-shadow:0 7px 18px rgba(26,58,111,.04)
}
.tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button:first-child{
  border-color:#0b3e99!important;background:linear-gradient(135deg,#0b2d75,#061946)!important;
  color:#fff!important;box-shadow:0 12px 24px rgba(7,37,96,.17)
}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links{gap:22px;margin-top:42px;padding-bottom:42px}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a{
  min-width:0;min-height:61px;padding:16px 29px;border:1px solid #d3ddec;border-radius:999px;
  background:rgba(255,255,255,.83);color:#314972;font-size:18px;font-weight:500
}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a::before{display:inline-block;margin-right:11px;color:#31517e;font-weight:800}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(1)::before{content:"▦"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(2)::before{content:"★"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(3)::before{content:"◎"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(4)::before{content:"▽"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(5)::before{content:"☷"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:nth-child(6)::before{content:"□"}
.tp-hero[data-fs-hero-unified="off"] .tp-quick-links a.is-active{color:var(--tp-verified-blue)}

/* Educational cards + date rail */
.tp-proof-strip{padding:26px 0 24px;background:var(--tp-verified-page)}
.tp-proof-grid{width:100%;max-width:none!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.tp-proof-item{
  min-height:112px;padding:20px 22px;border:1px solid #dce4ef;border-radius:10px;background:#fff;
  box-shadow:0 8px 22px rgba(25,56,105,.035);grid-template-columns:58px minmax(0,1fr);column-gap:18px;align-content:center
}
.tp-proof-item::before{width:58px;height:58px;font-size:25px;background:#f1f5fd;color:#527ef0}
.tp-proof-item strong{font-size:16px;line-height:1.2}
.tp-proof-item span{margin-top:9px;color:#53658b;font-size:13px;line-height:1.42}
.tp-date-row{margin:0 0 26px;padding:15px 20px;border:1px solid #dbe4f0;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(25,56,105,.035)}
.tp-date-row .filter-container{min-height:64px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.tp-date-row .date-selector{gap:10px;align-items:stretch}
.tp-date-row .date-button{min-width:142px;min-height:60px;padding:9px 16px;border:1px solid #d8e2f0;border-radius:9px;background:#fff;color:var(--tp-verified-ink);font-size:15px;font-weight:800}
.tp-date-row .date-button.selected{border-color:var(--tp-verified-blue);background:linear-gradient(135deg,#0870f7,#075be4);color:#fff;box-shadow:none}

/* Filter area */
.tp-filters-card{padding:22px 20px 20px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(25,56,105,.035)}
.tp-filter-block{border-radius:8px}
.tp-filter-block--mode{padding:0 0 14px}
.tp-filter-block__head{min-height:48px;padding:0 2px;align-items:flex-start}
.tp-filter-block__title{color:var(--tp-verified-ink);font-size:18px;line-height:1.25}
.tp-filter-block__meta{color:#60739b;font-size:13px;line-height:1.35}
.tp-mode-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:11px}
.tp-mode-chip{
  position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto auto;
  min-height:116px;padding:20px 20px 18px;text-align:left;border:1px solid #d7e1ef;border-radius:9px;background:#fff;
  box-shadow:none
}
.tp-mode-chip::before{grid-column:1;grid-row:1/4;width:17px;height:17px;margin-top:1px;border:1.5px solid #aebfda;border-radius:50%;content:""}
.tp-mode-chip.is-active{border-color:#1670ff;background:#fff;box-shadow:none}
.tp-mode-chip.is-active::before{border:5px solid #1670ff;background:#fff}
.tp-chip-name{grid-column:2;font-size:16px;line-height:1.2;color:var(--tp-verified-ink)}
.tp-chip-hint{grid-column:2;margin-top:8px;color:#5d6f95;font-size:13px;line-height:1.35}
.tp-chip-stats{grid-column:2;display:flex;justify-content:space-between;margin-top:10px;color:#62759b;font-size:12px}
.tp-chip-rate{margin-left:auto;color:#169835;font-size:14px;font-weight:800}
.tp-profile-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:10px -20px 0;padding:7px 14px;border-top:1px solid #e2e8f1;border-bottom:1px solid #e2e8f1}
.tp-profile-wrap{grid-column:1}
#tp-mode-menu-button{min-height:43px;padding:9px 16px;border:1px solid #cfe0fa;border-radius:8px;background:#f5f8ff;color:#0863df;font-size:13px;font-weight:800}
.tp-tout-btn{grid-column:3;display:flex;min-height:40px;padding:8px 12px;border:0;background:transparent;color:#263d67;font-size:13px}
.tp-tout-btn::before{width:38px;height:22px;border:1px solid #d6dfed;border-radius:999px;background:#e8eef7}
.tp-note{margin:8px -20px 8px!important;padding:11px 17px 11px 50px;border:1px solid #cfe0fa;border-radius:7px;background:#f1f6ff;color:#27436e;font-size:12.5px;line-height:1.45}
.tp-note::before{left:17px;top:12px}
.tp-filter-block--collapsible{margin-top:8px;border:1px solid #dce4ef;background:#fff}
.tp-filter-block--collapsible>.tp-filter-block__head{min-height:48px;padding:12px 17px;align-items:center}
.tp-filter-block--collapsible .tp-filter-block__title{font-size:14px}
.tp-filter-block--collapsible .tp-filter-block__meta{margin-left:auto}
.tp-stat-chips{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;border:1px solid #dce4ef;border-radius:9px;background:#fff;box-shadow:0 8px 22px rgba(25,56,105,.035)}
.tp-stat-chip{min-height:130px;padding:22px 28px;align-items:flex-start;text-align:left;border-right:1px solid #e1e7f0}
.tp-stat-chip:last-child{border-right:0}
.tp-stat-label{font-size:12px;color:#19335e;letter-spacing:0;text-transform:none}
.tp-stat-value{margin-top:7px;font-size:22px;color:var(--tp-verified-ink)}
.tp-stat-sub{margin-top:5px;font-size:12px;color:#62749a}

/* Results heading and compact cards */
.tp-results-heading{margin-top:54px;align-items:flex-end}
.tp-results-heading .tp-h2{margin:0;color:var(--tp-verified-ink);font-size:36px;line-height:1.12;letter-spacing:-.035em}
.tp-results-heading p{margin-top:8px;color:#5a6d93;font-size:16px}
.tp-compact-toggle-row{margin-top:-52px;margin-bottom:42px;justify-content:flex-end}
.tp-toggle-chip--compact{height:46px;border:1px solid #cbdaf0;border-radius:9px;background:#fff;overflow:hidden}
.tp-view-option{min-width:160px;padding:12px 18px;font-size:14px}
.tp-grid--compact{gap:12px}
.tp-grid--compact .tp-match-card{padding:18px 26px;border:1px solid #d5e0ee;border-radius:9px;background:#fff;box-shadow:0 6px 18px rgba(26,54,102,.035)}
.tp-grid--compact .tp-match-summary-shell{gap:10px}
.tp-grid--compact .tp-match-summary{display:grid;grid-template-columns:86px minmax(0,1fr) auto 20px;align-items:center;min-height:48px;padding:0;border:0;background:transparent;text-align:left}
.tp-grid--compact .tp-match-summary__time{font-size:17px;font-weight:850;color:var(--tp-verified-ink)}
.tp-grid--compact .tp-match-summary__time::before{width:34px;height:34px;margin-right:12px;color:#0867f2;background:#edf4ff}
.tp-grid--compact .tp-match-summary__league{display:none}
.tp-grid--compact .tp-match-summary__teams{display:flex;align-items:center;gap:16px;color:var(--tp-verified-ink);font-size:17px;font-weight:800}
.tp-grid--compact .tp-match-summary__team{display:inline-flex;align-items:center;gap:10px;min-width:0}
.tp-compact-team-logo{width:31px;height:31px;object-fit:contain}
.tp-grid--compact .tp-match-summary__sep{color:#65779c;font-size:13px;font-weight:600}
.tp-match-summary__count{padding:7px 15px;border:0;border-radius:999px;background:#edf4ff;color:#0867f2;font-size:14px;font-weight:800}
.tp-match-summary__caret{font-size:13px;color:#53678e}
.tp-match-summary__list{display:grid;gap:7px}
.tp-compact-pick-row{
  display:grid;grid-template-columns:86px minmax(0,1fr) 78px 112px 42px;align-items:center;
  min-height:53px;padding:6px 10px 6px 15px;border:1px solid #cfe8dc;border-radius:7px;background:#fbfffd
}
.tp-compact-pick-row__type{display:inline-flex;width:72px;min-height:34px;align-items:center;justify-content:center;border:1px solid #bfe2d2;border-radius:6px;background:#fff;color:#087b4b;font-size:14px;font-weight:850}
.tp-compact-pick-row__label{min-width:0;color:var(--tp-verified-ink);font-size:16px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-compact-pick-row__prob{justify-self:end;color:#087d4c;font-size:16px}
.tp-compact-pick-row__result{justify-self:center;min-width:92px;padding:7px 14px;border-radius:999px;background:#eaf3ff;color:#0867f2;font-size:14px;font-weight:800;text-align:center}
.tp-compact-pick-row--win .tp-compact-pick-row__result{background:#e8f8ef;color:#10965c}
.tp-pick-overflow{justify-self:end}
.tp-pick-overflow__trigger{width:38px;height:38px;border:0;border-radius:7px;background:transparent}

/* Expanded card — one calm reading level before expert details. */
.tp-grid--compact .tp-match-card.is-compact-open,
.tp-match-card:not(.tp-match-card--ad):has(.tp-match-card__body:not([hidden])){
  max-width:900px;margin-inline:auto;padding:34px 38px 30px;border:1px solid #cfdbeb;border-radius:22px;background:#fff;box-shadow:0 15px 38px rgba(28,59,108,.07)
}
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary{display:grid}
.tp-grid--compact .tp-match-card.is-compact-open .tp-match-summary__list{display:none}
.tp-match-card__body{gap:18px}
.tp-match-meta{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding-bottom:20px;border-bottom:1px solid #dce4ef}
.tp-kickoff{grid-column:1;color:var(--tp-verified-ink);font-size:18px;font-weight:800}
.tp-kickoff::before{color:#0867f2}
.tp-league-badge{grid-column:1;justify-self:start;padding:6px 12px;border:0;border-radius:999px;background:#f0f4fa;color:#2d4169;font-size:14px}
.tp-open-pick-count{grid-column:2;grid-row:1/3;align-self:center;padding:9px 18px;border:1px solid #bcd3f4;border-radius:999px;color:#0867f2;font-size:15px;font-weight:800}
.tp-team-confrontation{display:grid;grid-template-columns:1fr 64px 1fr;align-items:center;min-height:220px;padding:24px 45px}
.tp-team{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.tp-team-side{display:none}
.tp-elo-row,.tp-team-rank{display:flex}
.tp-elo-row{justify-content:center}
.tp-main .tp-team .tp-elo-pill{
  min-height:25px;padding:5px 9px;border:1px solid #d9e4f2;border-radius:6px;
  background:#f6f9fd;color:#38517b;font-size:11px;font-weight:750;line-height:1.2
}
.tp-main .tp-team .tp-team-rank{
  justify-content:center;color:#6b7e9f;font-size:10.5px;font-weight:650;line-height:1.25
}
.tp-team-logo{width:112px;height:112px;border:1px solid #d8e3f1;border-radius:50%;background:#fff}
.tp-team-logo-img{width:90px;height:90px;object-fit:contain}
.tp-team>a,.tp-team>.tp-team-name{color:var(--tp-verified-ink);font-size:21px;font-weight:850;text-decoration:none}
.tp-vs{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border:1px solid #d8e3f1;border-radius:50%;background:#f8faff;color:var(--tp-verified-ink);font-size:14px;font-weight:850}
.tp-picks{display:grid;gap:9px}
.tp-pick-row{display:grid;grid-template-columns:minmax(0,1fr) 205px 42px;min-height:70px;align-items:center;padding:10px 12px 10px 20px;border:1px solid #d6e1ef;border-radius:12px;background:#fff}
.tp-pick-left{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:16px}
.tp-pick-sub{display:flex;min-height:42px;align-items:center;justify-content:center;border-radius:8px;background:#eef5ff;color:#0867f2;font-size:14px;font-weight:850}
.tp-pick-label{color:var(--tp-verified-ink);font-size:17px;font-weight:800}
.tp-pick-metrics{display:flex;align-items:center;gap:10px}
.tp-pick-metrics .tp-chip--conf{display:none}
.tp-pick-metrics .tp-chip--prob,.tp-pick-metrics .tp-chip--outcome{padding:0;border:0;background:transparent;box-shadow:none}
.tp-pick-metrics .tp-chip__k,.tp-pick-metrics .tp-chip__meter{display:none}
.tp-pick-metrics .tp-chip--prob .tp-chip__v{color:#0867f2;font-size:19px}
.tp-pick-metrics .tp-chip--outcome .tp-chip__v{display:inline-flex;min-width:86px;justify-content:center;padding:8px 14px;border-radius:999px;background:#eaf3ff;color:#0867f2;font-size:14px}
.tp-reading-compact{margin-top:0}
.tp-match-insights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:20px 14px;border:0;border-radius:12px;background:linear-gradient(90deg,#f1f7ff,#f8fbff)}
.tp-reading-mini-badge{min-height:74px;padding:4px 14px;border:0!important;border-right:1px solid #d8e2ee!important;border-radius:0!important;background:transparent!important;text-align:center}
.tp-reading-mini-badge:last-child{border-right:0!important}
.tp-reading-mini-badge__k{font-size:13px;color:#40557e}
.tp-reading-mini-badge__v{margin-top:6px;font-size:16px;color:#0867f2}
.tp-reading-toggle{width:100%;min-height:50px;margin-top:12px;border:0;border-radius:8px;background:linear-gradient(135deg,#0873fa,#075be8);color:#fff;font-size:14px;font-weight:750}
.tp-match-card .fs-match-analysis-link--block{min-height:46px;border-radius:8px;font-size:13px}

/* Expert details: six broad reading blocks, not a mosaic of tiny cards. */
.tp-reading-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.tp-reading-details__section{min-width:0;padding:18px;border:1px solid #d8e2ef;border-radius:11px;background:#fff;box-shadow:none}
.tp-reading-details__section:first-child,
.tp-reading-details__section:nth-child(4),
.tp-reading-details__section:nth-child(5),
.tp-reading-details__section:nth-child(6){grid-column:1/-1}
.tp-reading-details__title{display:flex;align-items:baseline;gap:7px;margin:0 0 15px;color:var(--tp-verified-ink);font-size:16px;font-weight:750;line-height:1.3}
.tp-reading-details__title::before{
  content:counter(tp-details) "."!important;display:inline-flex!important;flex:0 0 auto!important;
  width:auto!important;height:auto!important;margin:0!important;border-radius:0!important;
  background:none!important;color:inherit!important;opacity:1!important;line-height:inherit!important
}
.tp-pick-metrics .tp-chip__v{align-items:baseline;gap:.32em;line-height:1.25}
.tp-pick-metrics .tp-chip__v small{margin:0;font:inherit;line-height:inherit;vertical-align:baseline}

/* Contextual CTAs belong to the match reading flow, not to a tag cloud. */
.tp-match-card .fs-mcl{
  align-items:flex-start;gap:8px 12px;margin-top:12px;padding:13px 0 0;
  border-top:1px solid #dce5f1;font-size:12px;line-height:1.35
}
.tp-match-card .fs-mcl__label{padding-top:8px;color:#52688e;font-weight:700}
.tp-match-card .fs-mcl__chips{gap:7px}
.tp-match-card .fs-mcl__chip{
  min-height:34px;padding:7px 11px;border:1px solid #cfddf0;border-radius:7px;
  background:#f7faff;color:#145ec6;font-size:11.5px;font-weight:700
}
.tp-match-card .fs-mcl__chip:hover,.tp-match-card .fs-mcl__chip:focus-visible{
  border-color:#9fc2f2;background:#edf5ff;color:#074eaf
}
.tp-reading-details__line{gap:10px}
.tp-reading-stat{padding:10px;border:0;border-right:1px solid #e0e6ef;border-radius:0;background:transparent;box-shadow:none}
.tp-reading-stat:last-child{border-right:0}
.tp-reading-stat__k{font-size:11px;color:#536990}
.tp-reading-stat__v{font-size:16px;color:var(--tp-verified-ink)}
.tp-reading-stat__meter{height:5px}
.tp-proba-ribbon{border-radius:6px;overflow:hidden}
.tp-form-team-card,.tp-goal-team-card,.tp-market-detail-row{border:1px solid #dbe4ef;border-radius:8px;background:#fbfdff;box-shadow:none}
.tp-market-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tp-market-detail-row{min-height:116px;padding:14px;grid-template-columns:1fr auto}

@media(max-width:900px){
  .tp-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tp-mode-chips{gap:10px}
  .tp-results-heading .tp-h2{font-size:29px}
  .tp-compact-pick-row{grid-template-columns:70px minmax(0,1fr) 58px 92px 40px}
  .tp-compact-pick-row__type{width:60px}
}

@media(max-width:760px){
  .tp-proof-strip .tp-container,.tp-section--results .tp-container{width:min(calc(100% - 16px),var(--tp-verified-max))}
  .tp-hero[data-fs-hero-unified="off"],
  [data-theme="dark"] .tp-hero[data-fs-hero-unified="off"].fs-hero-shell{min-height:620px;padding-top:34px}
  .tp-hero[data-fs-hero-unified="off"] .tp-container{padding-inline:12px}
  .tp-hero[data-fs-hero-unified="off"] .tp-badge{min-height:38px;padding:8px 14px;font-size:12px}
  .tp-hero[data-fs-hero-unified="off"] h1,[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] h1{max-width:330px;margin:24px auto 14px;font-size:35px;line-height:1.03}
  .tp-hero[data-fs-hero-unified="off"] .tp-subtitle,[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-subtitle{max-width:335px;font-size:14px;line-height:1.5}
  .tp-hero[data-fs-hero-unified="off"] .seo-data-updated,.tp-hero[data-fs-hero-unified="off"] .fs-engine-chip{display:flex;width:100%;min-height:44px;margin:10px 0 0;padding:8px 11px;font-size:11px}
  .tp-hero[data-fs-hero-unified="off"] .seo-data-updated time{margin-left:auto}
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions{margin-top:12px;gap:8px}
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{width:100%;min-height:48px;padding:10px 13px;font-size:13px}
  .tp-hero[data-fs-hero-unified="off"] .tp-quick-links{justify-content:flex-start;gap:8px;margin-top:18px;padding:0 0 22px;overflow-x:auto}
  .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a{min-height:39px;padding:9px 14px;font-size:11px}
  .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a::before{margin-right:6px}
  .tp-proof-strip{padding:16px 0}
  .tp-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tp-proof-item{min-height:118px;padding:13px;grid-template-columns:34px minmax(0,1fr);column-gap:8px;border-radius:8px}
  .tp-proof-item::before{width:32px;height:32px;font-size:15px}
  .tp-proof-item strong{font-size:11.5px}
  .tp-proof-item span{margin-top:6px;font-size:9.5px;line-height:1.35}
  .tp-date-row{margin-bottom:12px;padding:8px;border-radius:8px;overflow:hidden}
  .tp-date-row .filter-container{min-height:54px}
  .tp-date-row .date-button{min-width:92px;min-height:52px;padding:7px 8px;font-size:11px}
  .tp-filters-card{padding:13px 10px;border-radius:8px}
  .tp-filter-block__head{min-height:36px}
  .tp-filter-block__title{font-size:16px}
  .tp-filter-block__meta{font-size:10px}
  .tp-mode-chips{grid-template-columns:1fr;gap:7px;margin-top:6px}
  .tp-mode-chip{grid-template-columns:18px 104px minmax(0,1fr) auto;grid-template-rows:1fr;min-height:62px;padding:9px 10px;align-items:center;border-radius:7px}
  .tp-mode-chip::before{grid-column:1;grid-row:1;width:14px;height:14px;margin:0}
  .tp-mode-chip.is-active::before{border-width:4px}
  .tp-chip-name{grid-column:2;font-size:12px}
  .tp-chip-hint{grid-column:3;margin:0;font-size:9.5px;line-height:1.25}
  .tp-chip-stats{grid-column:4;margin:0 0 0 6px;font-size:9px}
  .tp-chip-rate{font-size:10px;white-space:nowrap}
  .tp-profile-row{grid-template-columns:minmax(0,1fr) auto;margin:8px -10px 0;padding:7px 10px;gap:6px}
  .tp-profile-wrap{grid-column:1}
  #tp-mode-menu-button{width:100%;min-height:38px;padding:7px 10px;font-size:11px}
  .tp-tout-btn{grid-column:2;min-height:38px;padding:6px 8px;font-size:10px}
  .tp-note{margin:7px -2px!important;padding:10px 10px 10px 36px;font-size:10px;line-height:1.35}
  .tp-note::before{left:11px;top:10px}
  .tp-filter-block--collapsible{margin-top:6px}
  .tp-filter-block--collapsible>.tp-filter-block__head{min-height:42px;padding:10px 12px}
  .tp-filter-block--collapsible .tp-filter-block__title{font-size:12px}
  .tp-stat-chips{margin-top:8px;border-radius:8px}
  .tp-stat-chip{min-height:78px;padding:12px 6px;align-items:center;text-align:center}
  .tp-stat-label{font-size:8.5px;text-transform:uppercase;letter-spacing:.06em}
  .tp-stat-value{margin-top:3px;font-size:17px}
  .tp-stat-sub{margin-top:2px;font-size:7.5px}
  .tp-results-heading{margin-top:30px;text-align:center}
  .tp-results-heading .tp-h2{font-size:22px;line-height:1.1}
  .tp-results-heading p{font-size:11px;line-height:1.4}
  .tp-compact-toggle-row{margin:12px 0 10px}
  .tp-toggle-chip--compact{width:100%;height:39px}
  .tp-view-option{min-width:0;flex:1;padding:10px 8px;font-size:10px}
  .tp-grid--compact{gap:8px}
  .tp-grid--compact .tp-match-card{padding:10px 9px;border-radius:8px}
  .tp-grid--compact .tp-match-summary{grid-template-columns:48px minmax(0,1fr) auto 12px;min-height:40px}
  .tp-grid--compact .tp-match-summary__time{font-size:11px}
  .tp-grid--compact .tp-match-summary__time::before{width:20px;height:20px;margin-right:4px;font-size:9px}
  .tp-grid--compact .tp-match-summary__teams{gap:5px;font-size:11px}
  .tp-grid--compact .tp-match-summary__team{gap:3px;overflow:hidden}
  .tp-grid--compact .tp-match-summary__team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tp-compact-team-logo{width:19px;height:19px}
  .tp-grid--compact .tp-match-summary__sep{font-size:8px}
  .tp-match-summary__count{padding:5px 7px;font-size:9px;white-space:nowrap}
  .tp-match-summary__list{gap:5px}
  .tp-compact-pick-row{grid-template-columns:50px minmax(0,1fr) 36px 52px 34px;min-height:55px;padding:5px 3px 5px 6px;border-radius:6px}
  .tp-compact-pick-row__type{width:43px;min-height:30px;border-radius:5px;font-size:9px}
  .tp-compact-pick-row__label{font-size:11px;line-height:1.2;white-space:nowrap}
  .tp-compact-pick-row__prob{font-size:10px}
  .tp-compact-pick-row__result{min-width:0;padding:5px 4px;font-size:8.5px;white-space:nowrap}
  .tp-pick-overflow__trigger{width:32px;height:36px}
  .tp-grid--compact .tp-match-card.is-compact-open,.tp-match-card:not(.tp-match-card--ad):has(.tp-match-card__body:not([hidden])){max-width:none;padding:18px 12px 16px;border-radius:12px}
  .tp-match-meta{padding-bottom:13px}
  .tp-kickoff{font-size:14px}
  .tp-league-badge{padding:5px 9px;font-size:10px}
  .tp-open-pick-count{padding:7px 10px;font-size:11px}
  .tp-team-confrontation{grid-template-columns:1fr 40px 1fr;min-height:150px;padding:16px 8px}
  .tp-team-logo{width:68px;height:68px}
  .tp-team-logo-img{width:54px;height:54px}
  .tp-team>a,.tp-team>.tp-team-name{font-size:14px;line-height:1.15}
  .tp-vs{width:34px;height:34px;font-size:10px}
  .tp-picks{gap:6px}
  .tp-pick-row{grid-template-columns:minmax(0,1fr) 92px 34px;min-height:58px;padding:7px 3px 7px 8px;border-radius:8px}
  .tp-pick-left{grid-template-columns:48px minmax(0,1fr);gap:7px}
  .tp-pick-sub{min-height:34px;border-radius:6px;font-size:9px}
  .tp-pick-label{font-size:11px;line-height:1.2}
  .tp-pick-metrics{gap:4px}
  .tp-pick-metrics .tp-chip--prob .tp-chip__v{font-size:12px}
  .tp-pick-metrics .tp-chip--outcome .tp-chip__v{min-width:48px;padding:5px 4px;font-size:9px}
  .tp-match-insights{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
  .tp-reading-mini-badge{min-height:50px;padding:6px;border-right:0!important;border-bottom:1px solid #dce5ef!important}
  .tp-reading-mini-badge:nth-last-child(-n+2){border-bottom:0!important}
  .tp-reading-mini-badge__k{font-size:9px}
  .tp-reading-mini-badge__v{margin-top:3px;font-size:11px}
  .tp-reading-toggle{min-height:49px;margin-top:9px;border-radius:8px;font-size:13px}
  .tp-reading-details{grid-template-columns:1fr;gap:8px;margin-top:8px}
  .tp-reading-details__section,.tp-reading-details__section:first-child,.tp-reading-details__section:nth-child(n){grid-column:1;padding:12px;border-radius:8px}
  .tp-reading-details__title{margin-bottom:10px;font-size:13px}
  .tp-reading-details__line{display:grid;grid-template-columns:1fr;gap:5px}
  .tp-reading-stat{padding:7px;border-right:0;border-bottom:1px solid #e2e8f0}
  .tp-reading-stat:last-child{border-bottom:0}
  .tp-reading-stat__k{font-size:9px}.tp-reading-stat__v{font-size:12px}
  .tp-market-details{grid-template-columns:1fr}
  .tp-market-detail-row{min-height:68px;padding:9px}
}

/* Last measured corrections: inline legacy rules use !important. */
.tp-proof-item{position:relative!important;display:block!important;padding-left:100px!important}
.tp-proof-item::before{position:absolute!important;left:20px!important;top:50%!important;transform:translateY(-50%)!important}
.tp-mode-chip{
  display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;align-items:start!important;text-align:left!important;
  padding:20px 20px 18px!important;border:1px solid #d7e1ef!important;border-radius:9px!important;
  background:#fff!important;color:var(--tp-verified-ink)!important;box-shadow:none!important;gap:0!important
}
.tp-mode-chip.is-active{border-color:#1670ff!important;background:#fff!important;color:var(--tp-verified-ink)!important;box-shadow:none!important}
.tp-mode-chip::before{display:block!important;grid-column:1!important;grid-row:1/4!important;align-self:start!important}
.tp-chip-name{grid-column:2!important;font-size:16px!important;color:var(--tp-verified-ink)!important}
.tp-chip-hint{grid-column:2!important;margin-top:8px!important;color:#5d6f95!important;font-size:13px!important;opacity:1!important}
.tp-chip-stats{grid-column:2!important;justify-content:space-between!important;margin-top:10px!important;min-height:0!important}
.tp-chip-rate,.tp-mode-chip.is-active .tp-chip-rate{margin-left:auto!important;padding:0!important;background:transparent!important;color:#169835!important;font-size:14px!important}
.tp-chip-count,.tp-mode-chip.is-active .tp-chip-count{color:#62759b!important}
.tp-note{font-size:12.5px!important}

@media(min-width:761px){
  .tp-hero[data-fs-hero-unified="off"],[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"].fs-hero-shell{padding-top:51px}
  .tp-hero[data-fs-hero-unified="off"] .tp-badge{display:flex;width:max-content;margin:0 auto}
  .tp-hero[data-fs-hero-unified="off"] h1,[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] h1{margin-top:48px;margin-bottom:36px;font-size:clamp(56px,4.8vw,76px)}
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions{margin-top:43px}
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{padding-inline:20px;font-size:17px}
  .tp-hero[data-fs-hero-unified="off"] .tp-quick-links{margin-top:48px}
}

@media(max-width:760px){
  .tp-proof-item{padding:13px 9px 13px 46px!important}
  .tp-proof-item::before{left:9px!important;top:13px!important;transform:none!important}
  .tp-mode-chip{
    display:grid!important;grid-template-columns:18px 78px minmax(0,1fr) auto!important;
    grid-template-rows:1fr!important;min-height:62px!important;padding:9px 10px!important;
    align-items:center!important;text-align:left!important;gap:0!important
  }
  .tp-mode-chip::before{grid-column:1!important;grid-row:1!important;align-self:center!important}
  .tp-chip-name{grid-column:2!important;font-size:12px!important}
  .tp-chip-hint{display:block!important;grid-column:3!important;margin:0!important;padding-left:6px!important;font-size:9.5px!important}
  .tp-chip-stats{grid-column:4!important;margin:0 0 0 5px!important}
  .tp-chip-rate,.tp-mode-chip.is-active .tp-chip-rate{font-size:10px!important}
  .tp-chip-count{display:none!important}
}

/* Urgent interaction and density corrections — 2026-08-17. */
.tp-stat-chips{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;overflow:hidden;border:1px solid #d9e3f0;border-radius:9px;background:#fff
}
.tp-stat-chip{
  display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;
  column-gap:15px;align-content:center;min-height:116px;padding:20px 24px!important;
  border:0!important;border-right:1px solid #e0e7f0!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;text-align:left!important
}
.tp-stat-chip:last-child{border-right:0!important}
.tp-stat-chip::before{
  grid-column:1;grid-row:1/4;display:flex;width:48px;height:48px;align-items:center;justify-content:center;
  align-self:center;border-radius:10px;background:#f0f5ff;color:#3478f6;font-size:23px;font-weight:700
}
.tp-stat-chip:nth-child(1)::before{content:"◎"}
.tp-stat-chip:nth-child(2)::before{content:"✓"}
.tp-stat-chip:nth-child(3)::before{content:"↗"}
.tp-stat-label,.tp-stat-value,.tp-stat-sub{grid-column:2}
.tp-stat-label{font-size:11.5px;font-weight:750;line-height:1.25}
.tp-stat-value{margin-top:5px;font-size:22px;font-weight:800;line-height:1.05}
.tp-stat-sub{margin-top:5px;font-size:10.5px;line-height:1.35}

@media(max-width:760px){
  /* Give the clubs a full line: time and crests can no longer collide. */
  .tp-grid--compact .tp-match-summary{
    grid-template-columns:auto minmax(0,1fr) auto 16px;
    grid-template-areas:"time spacer meta caret" "teams teams teams teams";
    min-height:64px;row-gap:8px;column-gap:7px;align-items:center
  }
  .tp-grid--compact .tp-match-summary__time{grid-area:time;display:inline-flex;align-items:center;font-size:12px;font-weight:800;white-space:nowrap}
  .tp-grid--compact .tp-match-summary__time::before{flex:0 0 22px;width:22px;height:22px;margin-right:6px}
  .tp-grid--compact .tp-match-summary__teams{
    grid-area:teams;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    gap:8px;width:100%;font-size:12.5px;line-height:1.2
  }
  .tp-grid--compact .tp-match-summary__team{gap:5px;min-width:0;overflow:hidden}
  .tp-grid--compact .tp-match-summary__sep + .tp-match-summary__team{justify-content:flex-end}
  .tp-grid--compact .tp-match-summary__team span{font-weight:750}
  .tp-compact-team-logo{flex:0 0 22px;width:22px;height:22px}
  .tp-grid--compact .tp-match-summary__sep{font-size:10px}
  .tp-grid--compact .tp-match-summary__meta{grid-area:meta}
  .tp-grid--compact .tp-match-summary__caret{grid-area:caret;justify-self:end}
  .tp-match-summary__count{padding:5px 9px;font-size:10px}

  .tp-compact-pick-row{
    grid-template-columns:52px minmax(0,1fr) 40px 58px 36px;
    min-height:61px;padding:6px 4px 6px 7px
  }
  .tp-compact-pick-row__type{width:45px;min-height:32px;font-size:10px}
  .tp-compact-pick-row__label{font-size:12.5px;line-height:1.25}
  .tp-compact-pick-row__prob{font-size:11.5px}
  .tp-compact-pick-row__result{padding:6px 4px;font-size:9.5px}
  .tp-pick-overflow__trigger{width:34px;height:40px}

  /* Two textual rows prevent the AI mode label and explanation from colliding. */
  .tp-mode-chip{
    grid-template-columns:18px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;min-height:72px!important;
    column-gap:8px!important;row-gap:3px!important;padding:10px 11px!important
  }
  .tp-mode-chip::before{grid-column:1!important;grid-row:1/3!important;align-self:center!important}
  .tp-chip-name{grid-column:2!important;grid-row:1!important;font-size:12.5px!important;line-height:1.25!important}
  .tp-chip-hint{
    grid-column:2!important;grid-row:2!important;margin:0!important;padding:0!important;
    font-size:10px!important;line-height:1.35!important
  }
  .tp-chip-stats{grid-column:3!important;grid-row:1/3!important;align-self:center!important;margin:0!important}
  .tp-chip-rate,.tp-mode-chip.is-active .tp-chip-rate{font-size:10.5px!important}

  .tp-stat-chip{
    display:flex;min-height:82px;padding:12px 6px!important;align-items:center!important;
    justify-content:center;text-align:center!important
  }
  .tp-stat-chip::before{display:none}
  .tp-stat-label{font-size:8.5px;line-height:1.2}
  .tp-stat-value{font-size:17px}
  .tp-stat-sub{font-size:8px;line-height:1.25}

  .tp-main .tp-team .tp-elo-pill{min-height:22px;padding:4px 6px;font-size:9px}
  .tp-main .tp-team .tp-team-rank{font-size:8.5px}
  .tp-reading-toggle{min-height:46px;margin-top:9px;font-size:12px}
  .tp-match-card .fs-match-analysis-link--block{min-height:42px;font-size:11.5px}
  .tp-match-card .fs-mcl{gap:7px;margin-top:9px;padding-top:10px;font-size:11px}
  .tp-match-card .fs-mcl__label{flex-basis:100%;padding-top:0}
  .tp-match-card .fs-mcl__chip{min-height:32px;padding:6px 9px;font-size:10.5px}
}

/* Profile, freshness and tutorial alignment. */
.tp-profile-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  width:100%!important;margin:14px 0 0!important;padding:12px 0 0!important;
  align-items:center!important;gap:10px!important;border-top:1px solid #e0e7f1!important;
  border-bottom:0!important
}
.tp-profile-wrap{grid-column:1!important;min-width:0;width:100%}
#tp-mode-menu-button{width:100%;justify-content:flex-start}
.tp-profile-row .tp-tout-btn{grid-column:2!important;margin:0!important}
.tp-profile-row .tp-chip-rate,.tp-profile-row .tp-chip-count{display:none!important}

.tp-match-card:not(.tp-match-card--ad) .tp-match-meta{
  margin-inline:10px;padding-inline:10px
}

.tp-hero[data-fs-hero-unified="off"] .seo-data-updated{
  display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-start!important;gap:10px!important
}
.tp-hero[data-fs-hero-unified="off"] #data-last-updated-label,
.tp-hero[data-fs-hero-unified="off"] #data-last-updated{white-space:nowrap!important}
.tp-hero[data-fs-hero-unified="off"] #data-last-updated{margin-left:auto!important}

.tp-match-card[data-fs-tour-demo]{position:relative;margin-top:13px!important}
.tp-match-card[data-fs-tour-demo]::before{
  position:absolute;top:-11px;left:18px;z-index:6;padding:3px 9px;border:1px solid #c8d9f3;
  border-radius:6px;background:#f2f7ff;color:#1765d1;box-shadow:0 3px 9px rgba(25,70,140,.08);
  content:attr(data-tour-demo-label);font-size:9px;font-weight:800;letter-spacing:.045em;text-transform:uppercase
}

@media(max-width:760px){
  .tp-profile-row{grid-template-columns:minmax(0,1fr) auto!important;margin-top:10px!important;padding-top:10px!important}
  #tp-mode-menu-button{min-height:40px;padding:8px 10px;font-size:11.5px}
  .tp-profile-row .tp-tout-btn{min-height:40px;padding:7px 9px;font-size:10px}
  .tp-match-card:not(.tp-match-card--ad) .tp-match-meta{margin-inline:4px;padding-inline:6px}
  .tp-hero[data-fs-hero-unified="off"] .seo-data-updated{gap:6px!important}
  .tp-hero[data-fs-hero-unified="off"] #data-last-updated-label,
  .tp-hero[data-fs-hero-unified="off"] #data-last-updated{font-size:10px!important}
  .tp-match-card[data-fs-tour-demo]::before{left:10px}
}

@media(max-width:390px){
  .tp-hero[data-fs-hero-unified="off"] .seo-data-updated{flex-direction:row!important;align-items:center!important}
  .tp-hero[data-fs-hero-unified="off"] #data-last-updated{margin-left:auto!important}
}

/* Compact hero and proof strip. */
.tp-hero[data-fs-hero-unified="off"] .tp-hero-actions{
  display:flex!important;flex-direction:row!important;align-items:stretch!important;
  justify-content:center!important;width:min(100%,680px);margin:26px auto 0!important;gap:9px!important
}
.tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{
  flex:1 1 0!important;min-width:0!important;min-height:46px!important;padding:9px 15px!important;
  border-radius:8px!important;font-size:13.5px!important;line-height:1.2!important;text-align:center
}
.tp-proof-strip{padding:18px 0!important}
.tp-proof-grid{gap:14px!important}
.tp-proof-item{
  min-height:88px!important;padding:14px 16px 14px 72px!important;border-radius:8px!important
}
.tp-proof-item::before{left:16px!important;width:42px!important;height:42px!important;font-size:19px!important}
.tp-proof-item strong{font-size:13.5px!important}
.tp-proof-item span{margin-top:5px!important;font-size:11px!important;line-height:1.35!important}

/* Custom profile is a fourth AI choice; "Show all" owns the next row. */
.tp-profile-row{
  display:block!important;width:100%!important;margin:12px 0 0!important;padding:0!important;
  border:0!important
}
.tp-profile-wrap{position:relative!important;width:100%!important}
#tp-mode-menu-button{
  display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:5px!important;
  width:100%!important;min-height:82px!important;padding:14px 18px!important;
  border:1px solid #d7e1ef!important;border-radius:9px!important;background:#fff!important;
  color:var(--tp-verified-ink)!important;text-align:left!important;box-shadow:none!important
}
.tp-profile-choice__marker{
  grid-column:1;grid-row:1/3;align-self:center;width:17px;height:17px;border:1.5px solid #aebfda;
  border-radius:50%;background:#fff
}
#tp-mode-menu-button.is-active{border-color:#1670ff!important}
#tp-mode-menu-button.is-active .tp-profile-choice__marker{border:5px solid #1670ff}
.tp-profile-choice__copy{grid-column:2;grid-row:1/3;display:grid;align-content:center;gap:6px;min-width:0}
#tp-mode-menu-current{font-size:15px;font-weight:800;line-height:1.2;color:var(--tp-verified-ink)}
#tp-mode-menu-current-meta{font-size:12px;line-height:1.35;color:#5d6f95;white-space:normal}
.tp-profile-choice__caret{grid-column:3;grid-row:1/3;align-self:center;color:#3d639a;font-size:13px}
#tp-mode-menu-button[aria-expanded="true"] .tp-profile-choice__caret{transform:rotate(180deg)}
#tp-mode-menu-panel{width:100%;min-width:0}
.tp-all-row{width:100%;margin-top:8px}
.tp-all-row .tp-tout-btn{
  display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;width:100%!important;min-height:64px!important;
  padding:11px 18px!important;border:1px solid #d7e1ef!important;border-radius:9px!important;
  background:#fff!important;text-align:left!important;box-shadow:none!important
}
.tp-all-row .tp-tout-btn::before{grid-column:1!important;grid-row:1/3!important;align-self:center!important}
.tp-all-row .tp-tout-btn .tp-chip-name{grid-column:2!important;grid-row:1!important;font-size:14px!important}
.tp-all-row .tp-tout-btn .tp-chip-hint{display:block!important;grid-column:2!important;grid-row:2!important;margin:4px 0 0!important;font-size:11px!important}

/* Premium match metadata: one composed strip, no loose edge alignment. */
.tp-match-card:not(.tp-match-card--ad) .tp-match-meta{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;gap:7px 18px!important;align-items:center!important;
  width:100%!important;margin:0 0 20px!important;padding:14px 16px!important;
  border:1px solid #d8e3f1!important;border-radius:10px!important;background:#f8fbff!important;
  box-shadow:inset 3px 0 0 #1670ff!important
}
.tp-match-card:not(.tp-match-card--ad) .tp-kickoff{
  grid-column:1!important;grid-row:1!important;display:flex;align-items:center;min-width:0;
  color:#102958;font-size:16px;font-weight:800;letter-spacing:0
}
.tp-match-card:not(.tp-match-card--ad) .tp-league-badge{
  grid-column:1!important;grid-row:2!important;justify-self:start!important;min-height:28px;
  padding:5px 9px!important;border:1px solid #d9e3f0!important;border-radius:6px!important;
  background:#fff!important;color:#40577f!important
}
.tp-match-card:not(.tp-match-card--ad) .tp-open-pick-count{
  grid-column:2!important;grid-row:1/3!important;align-self:center!important;justify-self:end!important;
  min-width:94px;padding:8px 12px!important;border:1px solid #bad2f4!important;border-radius:7px!important;
  background:#fff!important;color:#0867f2!important;text-align:center
}

@media(max-width:760px){
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions{width:100%;margin-top:11px!important;gap:6px!important}
  .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{
    min-height:43px!important;padding:7px 8px!important;font-size:10.5px!important
  }
  .tp-proof-strip{padding:11px 0!important}
  .tp-proof-grid{gap:6px!important}
  .tp-proof-item{min-height:78px!important;padding:9px 8px 9px 40px!important}
  .tp-proof-item::before{left:7px!important;top:11px!important;width:27px!important;height:27px!important;font-size:13px!important}
  .tp-proof-item strong{font-size:10.5px!important}
  .tp-proof-item span{font-size:8.8px!important}
  #tp-mode-menu-button{min-height:72px!important;padding:11px!important;column-gap:9px!important}
  #tp-mode-menu-current{font-size:12.5px}
  #tp-mode-menu-current-meta{font-size:10px}
  .tp-all-row .tp-tout-btn{min-height:58px!important;padding:9px 11px!important}
  .tp-all-row .tp-tout-btn .tp-chip-name{font-size:12.5px!important}
  .tp-all-row .tp-tout-btn .tp-chip-hint{font-size:9.5px!important}
  .tp-match-card:not(.tp-match-card--ad) .tp-match-meta{
    gap:6px 10px!important;margin-bottom:14px!important;padding:11px 10px!important;border-radius:8px!important
  }
  .tp-match-card:not(.tp-match-card--ad) .tp-kickoff{font-size:13px}
  .tp-match-card:not(.tp-match-card--ad) .tp-league-badge{font-size:9.5px!important}
  .tp-match-card:not(.tp-match-card--ad) .tp-open-pick-count{min-width:72px;padding:7px 8px!important;font-size:10px!important}
}

/* A deliberate night palette: every presentation surface has a dark counterpart. */
[data-theme="dark"]{
  color-scheme:dark;background:#07101f!important;
  --tp-verified-page:#07101f;
  --tp-verified-ink:#edf4ff;
  --tp-verified-muted:#9fb0ca;
  --tp-verified-line:#263956;
}
[data-theme="dark"] body{background:#07101f!important;color:#dce8f8}
[data-theme="dark"] .tp-main,
[data-theme="dark"] .tp-section--results,
[data-theme="dark"] .tp-proof-strip{background:#07101f!important}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"].fs-hero-shell{
  color:#edf4ff!important;
  background:
    radial-gradient(circle at 91% 5%,rgba(39,82,150,.34) 0 17%,transparent 17.2%),
    radial-gradient(circle at 8% 78%,rgba(25,66,126,.32),transparent 28%),
    linear-gradient(132deg,#0b1729 0%,#08111f 48%,#0d1b31 100%)!important
}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"]::before,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"]::after{border-color:rgba(104,154,231,.18)!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-hero-card.fs-hero-card{color:#edf4ff!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] h1{color:#f1f6ff!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-subtitle{color:#aebdd5!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-badge.fs-hero-badge,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .seo-data-updated,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .fs-engine-chip,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a{
  border-color:#2a405f!important;background:rgba(15,29,50,.88)!important;color:#dbe8fb!important;
  box-shadow:none!important
}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .seo-data-updated time,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .fs-engine-chip__item{color:#c5d3e8!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .fs-engine-chip__link,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a{color:#8dbbff!important}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button{
  border-color:#304767!important;background:#101f35!important;color:#eaf2ff!important;box-shadow:none!important
}
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-hero-actions .cta-button:first-child{
  border-color:#307ef0!important;background:linear-gradient(135deg,#1268e8,#0847ad)!important;
  color:#fff!important;box-shadow:0 10px 24px rgba(0,52,138,.28)!important
}

[data-theme="dark"] .tp-proof-strip{border-color:#1d2d45!important}
[data-theme="dark"] .tp-proof-item,
[data-theme="dark"] .tp-date-row,
[data-theme="dark"] .tp-filters-card,
[data-theme="dark"] .tp-filter-block--collapsible,
[data-theme="dark"] .tp-stat-chips,
[data-theme="dark"] .tp-stat-chip{
  border-color:#23364f!important;background:#101b2e!important;color:#dce8f8!important;box-shadow:none!important
}
[data-theme="dark"] .tp-proof-item strong,
[data-theme="dark"] .tp-filter-block__title,
[data-theme="dark"] .tp-stat-label,
[data-theme="dark"] .tp-stat-value{color:#edf4ff!important}
[data-theme="dark"] .tp-proof-item span,
[data-theme="dark"] .tp-proof-item a,
[data-theme="dark"] .tp-filter-block__meta,
[data-theme="dark"] .tp-stat-sub{color:#9fb0ca!important}
[data-theme="dark"] .tp-proof-item::before,
[data-theme="dark"] .tp-stat-chip::before{background:#162944!important;color:#72a8ff!important}
[data-theme="dark"] .tp-note{border-color:#294465!important;background:#10223c!important;color:#c9d9ee!important}

[data-theme="dark"] .tp-mode-chip,
[data-theme="dark"] .tp-mode-chip.is-active,
[data-theme="dark"] #tp-mode-menu-button,
[data-theme="dark"] .tp-all-row .tp-tout-btn{
  border-color:#2a405f!important;background:#101b2e!important;color:#e5effd!important;box-shadow:none!important
}
[data-theme="dark"] .tp-mode-chip.is-active,
[data-theme="dark"] #tp-mode-menu-button.is-active{border-color:#4a91ff!important;background:#112642!important}
[data-theme="dark"] .tp-mode-chip::before,
[data-theme="dark"] .tp-profile-choice__marker{border-color:#7187a7;background:#101b2e}
[data-theme="dark"] .tp-mode-chip.is-active::before{border-color:#4a91ff!important;background:#4a91ff!important}
[data-theme="dark"] #tp-mode-menu-button.is-active .tp-profile-choice__marker{border-color:#4a91ff;background:#101b2e}
[data-theme="dark"] .tp-chip-name,
[data-theme="dark"] #tp-mode-menu-current{color:#edf4ff!important}
[data-theme="dark"] .tp-chip-hint,
[data-theme="dark"] #tp-mode-menu-current-meta{color:#9fb0ca!important}
[data-theme="dark"] .tp-profile-choice__caret{color:#8dbbff}
[data-theme="dark"] #tp-mode-menu-panel{border-color:#2a405f!important;background:#0d192a!important;box-shadow:0 18px 45px rgba(0,0,0,.42)!important}

[data-theme="dark"] .tp-match-card:not(.tp-match-card--ad) .tp-match-meta{
  border-color:#29405f!important;background:#0f2037!important;box-shadow:inset 3px 0 0 #4a91ff!important
}
[data-theme="dark"] .tp-match-card:not(.tp-match-card--ad) .tp-kickoff{color:#edf4ff!important}
[data-theme="dark"] .tp-match-card:not(.tp-match-card--ad) .tp-league-badge,
[data-theme="dark"] .tp-match-card:not(.tp-match-card--ad) .tp-open-pick-count{
  border-color:#345078!important;background:#142742!important;color:#9fc5ff!important
}
[data-theme="dark"] .tp-reading-mini-badge,
[data-theme="dark"] .tp-reading-details__section,
[data-theme="dark"] .tp-form-team-card,
[data-theme="dark"] .tp-goal-team-card,
[data-theme="dark"] .tp-market-detail-row{
  border-color:#263a56!important;background:#101b2e!important;color:#dce8f8!important;box-shadow:none!important
}
[data-theme="dark"] .tp-reading-mini-badge__k,
[data-theme="dark"] .tp-reading-stat__k{color:#9fb0ca!important}
[data-theme="dark"] .tp-reading-mini-badge__v,
[data-theme="dark"] .tp-reading-stat__v{color:#edf4ff!important}
[data-theme="dark"] .tp-reading-stat{border-color:#2a3b54!important}
[data-theme="dark"] .tp-match-card .fs-mcl{border-color:#2a3b54;color:#cbd9ec}
[data-theme="dark"] .tp-match-card .fs-mcl__label{color:#9fb0ca}
[data-theme="dark"] .tp-match-card .fs-mcl__chip{
  border-color:#32517c;background:#132844;color:#94beff
}

/* Result pills stay optically centered in both compact grid rows. */
.tp-grid--compact .tp-compact-pick-row__result{
  display:inline-flex!important;align-self:center!important;justify-self:center!important;
  align-items:center!important;justify-content:center!important;margin:0!important;line-height:1!important
}

/* No-ad accounts should not inherit the hero's advertising breathing room. */
.user-no-ads .tp-hero[data-fs-hero-unified="off"],
[data-theme="dark"].user-no-ads .tp-hero[data-fs-hero-unified="off"].fs-hero-shell{
  min-height:0!important;padding-bottom:0!important
}

/* Dark compact cards: no light surfaces remain after expanding or selecting a mode. */
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row,
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--pending,
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--more{
  border-color:#29435f!important;background:#0e1c2f!important;color:#dce9fa!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--win{
  border-color:#285847!important;background:#10281f!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--lose{
  border-color:#663a45!important;background:#2a171e!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row__type{
  border-color:#32624f!important;background:#12281f!important;color:#73dfad!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row__label{color:#edf4ff!important}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row__prob{color:#58d89a!important}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row__result{
  background:#152b49!important;color:#9fc5ff!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--win .tp-compact-pick-row__result{
  background:#173b2c!important;color:#77e4ae!important
}
[data-theme="dark"] .tp-grid--compact .tp-compact-pick-row--lose .tp-compact-pick-row__result{
  background:#45212a!important;color:#ff9cab!important
}
[data-theme="dark"] .tp-reading-compact{
  border-color:#29405f!important;background:linear-gradient(105deg,#0f2037,#101b2e)!important;
  color:#dce8f8!important
}
[data-theme="dark"] .tp-reading-compact .tp-reading-mini-badge + .tp-reading-mini-badge{
  border-color:#2c415e!important
}
[data-theme="dark"] .tp-mode-chip.is-active .tp-chip-name{color:#edf4ff!important}
[data-theme="dark"] .tp-mode-chip.is-active .tp-chip-hint{color:#a9bad2!important}

[data-theme="dark"] .tp-reading-compact__badges.tp-match-insights,
[data-theme="dark"] .tp-reading-compact .tp-match-insights{
  border-color:#29405f!important;
  background:linear-gradient(105deg,#11243b,#0e1b2e)!important;
  color:#dce8f8!important
}
[data-theme="dark"] .tp-date-row .date-button{
  border-color:#2a405f!important;background:#101b2e!important;color:#dce8f8!important;
  box-shadow:none!important
}
[data-theme="dark"] .tp-date-row .date-button:hover{
  border-color:#4772aa!important;background:#142742!important;color:#f2f7ff!important
}
[data-theme="dark"] .tp-date-row .date-button.selected,
[data-theme="dark"] .tp-date-row .date-button.active{
  border-color:#4a91ff!important;background:linear-gradient(135deg,#1268e8,#0847ad)!important;
  color:#fff!important
}
[data-theme="dark"] .tp-date-row .date-button .match-count{
  background:#172b47!important;color:#9fc5ff!important
}
[data-theme="dark"] .tp-date-row .date-button.selected .match-count,
[data-theme="dark"] .tp-date-row .date-button.active .match-count{
  background:rgba(5,35,92,.56)!important;color:#eaf2ff!important
}

/* Desktop density pass. Mobile remains intentionally untouched. */
@media(min-width:761px){
  .tp-proof-strip{padding:14px 0!important}
  .tp-proof-item{min-height:82px!important;padding-block:11px!important}

  .tp-section--results{padding-top:24px!important}
  .tp-date-row{margin-bottom:18px!important;padding:10px!important}
  .tp-filters-card{padding:18px!important}
  .tp-filter-block__head{padding-bottom:8px!important}
  .tp-mode-chips{gap:14px!important;margin-top:8px!important}
  .tp-mode-chip{
    min-height:108px!important;padding:15px 16px!important
  }
  .tp-chip-name{font-size:14px!important}
  .tp-chip-hint{margin-top:6px!important;font-size:11.5px!important}
  .tp-chip-stats{margin-top:7px!important}
  .tp-profile-row{margin-top:9px!important}
  #tp-mode-menu-button{min-height:70px!important;padding:11px 16px!important}
  .tp-all-row{margin-top:7px!important}
  .tp-all-row .tp-tout-btn{
    min-height:54px!important;padding:9px 16px!important;
    grid-template-columns:22px minmax(0,1fr)!important
  }
  .tp-all-row .tp-tout-btn::before{
    width:17px!important;height:17px!important;min-width:17px!important;
    border-radius:50%!important;align-self:center!important;justify-self:center!important
  }
  .tp-all-row .tp-tout-btn .tp-chip-name,
  .tp-all-row .tp-tout-btn .tp-chip-hint{padding-left:4px!important}
  .tp-note{margin-block:9px!important;padding-block:10px!important}
  .tp-filter-block--collapsible>.tp-filter-block__head{min-height:44px!important;padding:9px 12px!important}
  .tp-stat-chips{margin-top:10px!important}
  .tp-stat-chip{min-height:94px!important;padding:14px 18px!important}
  .tp-stat-chip::before{width:42px!important;height:42px!important;font-size:20px!important}
  .tp-stat-value{font-size:20px!important}

  .tp-results-heading{margin-top:38px!important;align-items:flex-start!important}
  .tp-results-heading .tp-h2{font-size:30px!important;line-height:1.12!important}
  .tp-results-heading p{margin-top:6px!important;font-size:14px!important}
  .tp-compact-toggle-row{
    width:100%!important;margin:12px 0 18px!important;justify-content:flex-end!important
  }
  .tp-toggle-chip--compact{width:318px!important;height:42px!important}
  .tp-view-option{padding:9px 13px!important;font-size:12px!important}

  #bb-grid.tp-grid{gap:11px!important}
  .tp-grid--compact .tp-match-card{padding:14px 20px!important}
  .tp-grid--compact .tp-match-summary{min-height:44px!important}
  .tp-match-summary__list{gap:5px!important}
  .tp-compact-pick-row{min-height:48px!important;padding:5px 9px 5px 12px!important}
  .tp-compact-pick-row__type{min-height:30px!important}

  .tp-grid--compact .tp-match-card.is-compact-open,
  .tp-match-card:not(.tp-match-card--ad):has(.tp-match-card__body:not([hidden])){
    padding:25px 28px 24px!important
  }
  .tp-match-card:not(.tp-match-card--ad) .tp-match-meta{margin-bottom:14px!important;padding:11px 14px!important}
  .tp-team-confrontation{min-height:178px!important;padding:18px 10%!important}
  .tp-team-logo{width:88px!important;height:88px!important}
  .tp-team-logo-img{width:70px!important;height:70px!important}
  .tp-picks{gap:5px!important}
  .tp-pick-row{min-height:60px!important;padding:8px 10px 8px 14px!important;border-radius:8px!important}
  .tp-pick-sub{min-height:34px!important;font-size:11px!important}
  .tp-pick-label{font-size:14px!important}
  .tp-pick-metrics .tp-chip{padding:6px 9px!important}
  .tp-pick-metrics .tp-chip--prob .tp-chip__v{font-size:16px!important}
  .tp-pick-metrics .tp-chip--outcome .tp-chip__v{
    gap:0!important;word-spacing:0!important;letter-spacing:0!important;white-space:nowrap!important
  }
  .tp-pick-metrics .tp-chip--outcome .tp-chip__v small{margin-left:.32em!important}
  .tp-reading-compact{margin-top:12px!important;padding:12px!important;gap:10px!important}
  .tp-reading-mini-badge{min-height:48px!important;padding:4px 12px!important}
  .tp-reading-toggle{min-height:44px!important}
  .tp-reading-details{gap:9px!important;margin-top:9px!important}
  .tp-reading-details__section{padding:13px!important}
  .tp-reading-details__title{margin-bottom:9px!important;font-size:14px!important}
  .tp-market-detail-row{min-height:82px!important;padding:10px!important}
  .tp-match-card .fs-match-analysis-link--block{min-height:46px!important;margin-top:12px!important;font-size:13px!important}
  .tp-match-card .fs-mcl{margin-top:9px!important;padding-top:10px!important}
}

/* =========================================================
   FINAL POLISH — Top Pronostics IA
   ========================================================= */

/* ---------- Desktop : espace heure -> équipes ---------- */
@media (min-width: 761px) {
  .tp-grid--compact
  .tp-match-card:not(.is-compact-open)
  .tp-match-summary {
    grid-template-columns: 112px minmax(0, 1fr) auto 20px !important;
    column-gap: 18px !important;
  }
}


/* ---------- Résultat du pick : vrai badge complet ---------- */

.tp-pick-metrics .tp-chip--outcome .tp-chip__v {
  box-sizing: border-box;
  display: inline-flex !important;
  min-width: 92px;
  min-height: 34px;
  align-items: center !important;
  justify-content: center !important;
  gap: .32em !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border-radius: 999px;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.tp-pick-metrics .tp-chip--outcome .tp-chip__v small {
  margin: 0 !important;
  line-height: 1 !important;
}

/* Couleurs résultat */
.tp-pick-metrics .tp-chip--outcome.tp-outcome-win .tp-chip__v {
  color: #229865 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-lose .tp-chip__v {
  color: #be4e58 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-void .tp-chip__v {
  color: #687487 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-pending .tp-chip__v {
  color: #3d80e5 !important;
}


/* ---------- Mobile : proba / résultat / ⋮ sur le même axe ---------- */

/* ---------- Mobile : alignement proba / résultat / ⋮ ---------- */

@media (max-width: 760px) {
  .tp-pick-row {
    align-items: center !important;
  }

  .tp-pick-metrics {
    display: flex !important;
    min-height: 40px;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
  }

  /* La fiabilité IA reste volontairement hors de la ligne de pick.
     Elle est déjà affichée dans les insights de la carte ouverte. */
  .tp-pick-metrics .tp-chip--conf {
    display: none !important;
  }

  .tp-pick-metrics .tp-chip--prob,
  .tp-pick-metrics .tp-chip--outcome {
    display: inline-flex !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding-block: 0 !important;
    margin: 0 !important;
  }

  .tp-pick-metrics .tp-chip--prob .tp-chip__v {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
  }

  .tp-pick-metrics .tp-chip--outcome .tp-chip__v {
    display: inline-flex !important;
    min-width: 52px;
    min-height: 30px;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .tp-pick-row > .tp-pick-overflow {
    display: flex !important;
    height: 40px;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .tp-pick-row > .tp-pick-overflow .tp-pick-overflow__trigger {
    width: 34px !important;
    height: 40px !important;
    margin: 0 !important;
  }
}


/* ---------- KPI : couleur du taux de réussite ---------- */

.tp-stat-chip--rate.is-high .tp-stat-value {
  color: #15803d !important;
}

.tp-stat-chip--rate.is-mid .tp-stat-value {
  color: #b36b16 !important;
}

.tp-stat-chip--rate.is-low .tp-stat-value {
  color: #c23f49 !important;
}

.tp-stat-chip--rate.is-na .tp-stat-value {
  color: var(--tp-verified-ink, #081945) !important;
}

[data-theme="dark"] .tp-stat-chip--rate.is-high .tp-stat-value {
  color: #6ee7a8 !important;
}

[data-theme="dark"] .tp-stat-chip--rate.is-mid .tp-stat-value {
  color: #fbbf5a !important;
}

[data-theme="dark"] .tp-stat-chip--rate.is-low .tp-stat-value {
  color: #fb8b95 !important;
}

[data-theme="dark"] .tp-stat-chip--rate.is-na .tp-stat-value {
  color: #edf4ff !important;
}


/* ---------- Dark mode : badge marché lisible ---------- */

[data-theme="dark"] .tp-pick-sub {
  border: 1px solid #345078 !important;
  background: #142742 !important;
  color: #9fc5ff !important;
}


/* ---------- Carte ouverte : une seule méta ---------- */

/*
 * tp-match-summary est conservé.
 * L'ancien tp-match-meta reste dans le DOM mais ne doit plus être visible
 * lorsque la carte est ouverte.
 */
.tp-match-card.is-compact-open .tp-match-meta {
  display: none !important;
}

/* Le summary prend alors le style de la bande meta */
.tp-match-card.is-compact-open .tp-match-summary {
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 11px 14px !important;

  border: 1px solid #d8e3f1 !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
  box-shadow: inset 3px 0 0 #1670ff !important;

  grid-template-columns: minmax(0, 1fr) auto 20px !important;
  grid-template-areas:
    "time meta caret"
    "league meta caret" !important;

  gap: 6px 12px !important;
  min-height: auto !important;
  border-bottom-color: #d8e3f1 !important;
}

.tp-match-card.is-compact-open .tp-match-summary__time {
  grid-area: time;
}

.tp-match-card.is-compact-open .tp-match-summary__league {
  grid-area: league;
  display: inline-flex !important;
  justify-self: start;
}

.tp-match-card.is-compact-open .tp-match-summary__meta {
  grid-area: meta;
  align-self: center;
}

.tp-match-card.is-compact-open .tp-match-summary__caret {
  grid-area: caret;
  align-self: center;
}

[data-theme="dark"] .tp-match-card.is-compact-open .tp-match-summary {
  border-color: #29405f !important;
  background: #0f2037 !important;
  box-shadow: inset 3px 0 0 #4a91ff !important;
}


/* ---------- Lignes compactes = ouvrent le match ---------- */

.tp-match-summary__list .tp-compact-pick-row {
  cursor: pointer;
}

.tp-match-summary__list .tp-compact-pick-row:hover {
  border-color: #b8d2ef;
}

[data-theme="dark"]
.tp-match-summary__list .tp-compact-pick-row:hover {
  border-color: #3c608c !important;
}

/* =========================================================
   HERO — DARK MODE FINAL OVERRIDE
   ========================================================= */

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] {
  color: #edf4ff !important;
  background:
    radial-gradient(
      circle at 88% 5%,
      rgba(42, 91, 166, .28) 0 18%,
      transparent 18.2%
    ),
    radial-gradient(
      circle at 7% 76%,
      rgba(24, 61, 116, .24),
      transparent 29%
    ),
    linear-gradient(
      135deg,
      #0b1729 0%,
      #081220 52%,
      #0d1b30 100%
    ) !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-hero-card {
  color: #edf4ff !important;
  background: transparent !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] h1 {
  color: #f3f7ff !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-subtitle {
  color: #aebdd5 !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-badge {
  border-color: #294465 !important;
  background: rgba(15, 31, 54, .88) !important;
  color: #dce9fb !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .seo-data-updated,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .fs-engine-chip {
  border-color: #29405f !important;
  background: rgba(15, 32, 55, .86) !important;
  color: #aebdd5 !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .seo-data-updated time {
  color: #edf4ff !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .fs-engine-chip__link {
  color: #8dbbff !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a {
  border-color: #29405f !important;
  background: rgba(15, 32, 55, .84) !important;
  color: #b9d3fa !important;
}

[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a.is-active,
[data-theme="dark"] .tp-hero[data-fs-hero-unified="off"] .tp-quick-links a:hover {
  border-color: #4a91ff !important;
  color: #8dbbff !important;
}

/* Neutralise un ancien pseudo-element hérité sur les valeurs des chips */
.tp-pick-metrics .tp-chip__v::after {
  content: none !important;
  display: none !important;
}


/* Dark mode — respiration du badge de probabilité */
[data-theme="dark"]
.tp-pick-metrics
.tp-chip--prob
.tp-chip__v {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 54px;
  padding: 6px 10px !important;

  border-radius: 7px;
  background: #142742 !important;
  color: #8dbbff !important;

  line-height: 1 !important;
}

@media (max-width: 760px) {
  [data-theme="dark"]
  .tp-pick-metrics
  .tp-chip--prob
  .tp-chip__v {
    min-width: 48px;
    padding: 5px 8px !important;
  }
}

/* =========================================================
   FINAL CHIP NORMALIZATION
   Le conteneur .tp-chip porte la surface.
   .tp-chip__v ne porte jamais de second background.
   ========================================================= */

/* Élimine les pseudo-elements legacy parasites sur la valeur */
.tp-pick-metrics .tp-chip__v::before,
.tp-pick-metrics .tp-chip__v::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* La valeur elle-même reste purement textuelle */
.tp-pick-metrics .tp-chip__v {
  background: transparent !important;
  box-shadow: none !important;
}

.tp-pick-metrics .tp-chip--prob {
  display: inline-flex !important;
  min-height: 34px;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 7px;

  background: transparent !important;
  box-shadow: none !important;
}

.tp-pick-metrics .tp-chip--prob .tp-chip__v {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  margin: 0 !important;
  padding: 0 !important;

  color: #0867f2;
  line-height: 1 !important;
}

[data-theme="dark"] .tp-pick-metrics .tp-chip--prob {
  padding-inline: 11px !important;

  border: 1px solid #2d4668 !important;
  background: #142742 !important;
}

[data-theme="dark"] .tp-pick-metrics .tp-chip--prob .tp-chip__v {
  background: transparent !important;
  color: #8dbbff !important;
}

.tp-pick-metrics .tp-chip--outcome {
  display: inline-flex !important;
  min-width: 86px;
  min-height: 34px;

  align-items: center !important;
  justify-content: center !important;

  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px;

  background: #eaf3ff !important;
  color: #0867f2 !important;
}

.tp-pick-metrics .tp-chip--outcome .tp-chip__v {
  display: inline-flex !important;
  min-width: 0 !important;
  min-height: 0 !important;

  align-items: center !important;
  justify-content: center !important;
  gap: .32em;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;

  color: inherit !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.tp-pick-metrics .tp-chip--outcome .tp-chip__v small {
  margin: 0 !important;
  font: inherit;
  line-height: 1 !important;
}


.tp-pick-metrics .tp-chip--outcome.tp-outcome-win {
  background: #e8f8ef !important;
  color: #108653 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-lose {
  background: #fdecec !important;
  color: #c23f49 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-void {
  background: #f1f3f6 !important;
  color: #5f6f89 !important;
}

.tp-pick-metrics .tp-chip--outcome.tp-outcome-pending {
  background: #eaf3ff !important;
  color: #0867f2 !important;
}

[data-theme="dark"]
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-win {
  background: #173b2c !important;
  color: #77e4ae !important;
}

[data-theme="dark"]
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-lose {
  background: #45212a !important;
  color: #ff9cab !important;
}

[data-theme="dark"]
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-void {
  background: #263244 !important;
  color: #b9c7da !important;
}

[data-theme="dark"]
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-pending {
  background: #152b49 !important;
  color: #9fc5ff !important;
}

@media (max-width: 760px) {
  .tp-pick-metrics .tp-chip--prob {
    min-height: 32px;
    padding-inline: 7px !important;
  }

  [data-theme="dark"] .tp-pick-metrics .tp-chip--prob {
    padding-inline: 8px !important;
  }

  .tp-pick-metrics .tp-chip--outcome {
    min-width: 50px;
    min-height: 30px;
    padding-inline: 7px !important;
  }
}

/* À venir : texte bleu clair, sans fond propre sur la valeur */
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-pending
.tp-chip__v {
  background: transparent !important;
  color: #6aa7ff !important;
}

/* Dark mode */
[data-theme="dark"]
.tp-pick-metrics
.tp-chip--outcome.tp-outcome-pending
.tp-chip__v {
  background: transparent !important;
  color: #8dbbff !important;
}

/* =========================================================
   MOBILE — insights : vraie grille 2 x 2 stable
   ========================================================= */

@media (max-width: 760px) {
  .tp-reading-compact__badges.tp-match-insights {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(62px, auto) !important;
    gap: 0 !important;

    padding: 0 !important;
    overflow: hidden;
    border-radius: 8px;
  }

  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge {
    display: flex !important;
    min-width: 0;
    min-height: 62px !important;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
    padding: 9px 8px !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;

    text-align: center;
  }

  /* colonne de droite */
  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge:nth-child(even) {
    border-left: 1px solid #d8e2ee !important;
  }

  /* deuxième rangée */
  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge:nth-child(n + 3) {
    border-top: 1px solid #d8e2ee !important;
  }

  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge__k {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge__v {
    margin: 2px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 760px) {
  [data-theme="dark"]
  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge:nth-child(even) {
    border-left-color: #29405f !important;
  }

  [data-theme="dark"]
  .tp-reading-compact__badges.tp-match-insights
  .tp-reading-mini-badge:nth-child(n + 3) {
    border-top-color: #29405f !important;
  }
}

/* =========================================================
   LIGHT MODE — outcome tint on the whole pick row
   ========================================================= */

html:not([data-theme="dark"]) .tp-pick-row.tp-pick-row--win {
  background: #f1fbf5 !important;
  border-color: #bfe8cf !important;
}

html:not([data-theme="dark"]) .tp-pick-row.tp-pick-row--lose {
  background: #fff4f4 !important;
  border-color: #f1c7c7 !important;
}

html:not([data-theme="dark"]) .tp-pick-row.tp-pick-row--void {
  background: #f7f9fc !important;
  border-color: #d9e1eb !important;
}

html:not([data-theme="dark"]) .tp-pick-row.tp-pick-row--pending {
  background: #ffffff !important;
  border-color: #d6e1ef !important;
}