.btp-wrap {
  --btp-green: #006b34;
  --btp-green-dark: #004a25;
  --btp-green-soft: #eef9f1;
  --btp-border: #dfe7e2;
  --btp-text: #111827;
  --btp-muted: #5f6875;
  --btp-line: #e9eeec;
  --btp-graybar: #d3d6d8;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--btp-text);
  width: 100%;
  margin: 0 auto;
}

.btp-wrap * {
  box-sizing: border-box;
}

.btp-title-row {
  margin: 0 0 14px;
}

.btp-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--btp-text);
}

.btp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--btp-muted);
  font-size: 14px;
}

.btp-desktop {
  display: block;
}

.btp-mobile {
  display: none;
}

.btp-table {
  width: 100%;
  border: 1px solid var(--btp-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.btp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.55fr 1.55fr 1.25fr 1.85fr 1.2fr 1.35fr;
  align-items: center;
  column-gap: 18px;
}

.btp-head {
  min-height: 56px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--btp-green-dark), #003d21);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 13px;
  font-weight: 800;
}

.btp-head > div {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.btp-head > div:nth-child(4),
.btp-head > div:nth-child(5),
.btp-head > div:nth-child(6),
.btp-head > div:nth-child(7) {
  justify-content: center;
  text-align: center;
}

.btp-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-transform: none;
  vertical-align: middle;
}

.btp-league-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  background: linear-gradient(90deg, #fbfdfc, #f5faf7);
  border-top: 1px solid var(--btp-line);
  border-bottom: 1px solid var(--btp-line);
  font-size: 18px;
}

.btp-flag {
  display: inline-block;
  width: 30px;
  height: 21px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  flex: 0 0 auto;
}

.btp-event-row {
  min-height: 74px;
  padding: 0 18px;
  border-bottom: 1px solid var(--btp-line);
  background: #fff;
}

.btp-event-row:last-child {
  border-bottom: 0;
}

.btp-date,
.btp-score,
.btp-probs,
.btp-tip,
.btp-confidence {
  min-width: 0;
}

.btp-score,
.btp-probs,
.btp-tip {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btp-probs {
  padding-right: 8px;
}

.btp-tip {
  padding-left: 10px;
}

.btp-confidence {
  justify-self: center;
  width: 100%;
}

.btp-date-main,
.btp-date-sub {
  display: block;
}

.btp-date-main {
  font-weight: 650;
  font-size: 14px;
}

.btp-date-sub {
  margin-top: 2px;
  color: var(--btp-muted);
  font-size: 13px;
}

.btp-team {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 650;
}

.btp-team span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btp-team-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: radial-gradient(circle at 30% 25%, #ffffff, #eaf6ef);
  border: 1px solid #cde7d5;
  color: var(--btp-green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.btp-score span,
.btp-tip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #cce8d2;
  border-radius: 7px;
  background: linear-gradient(90deg, #f7fff8, #eef9f1);
  color: var(--btp-green-dark);
  font-size: 18px;
  font-weight: 850;
}

.btp-tip span {
  min-width: 92px;
  font-size: 15px;
}

.btp-prob-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(44px, 1fr));
  gap: 14px;
  align-items: end;
  width: 100%;
}

.btp-prob {
  text-align: center;
  min-width: 0;
}

.btp-prob-label,
.btp-prob-value {
  display: block;
  line-height: 1.12;
}

.btp-prob-label {
  margin-bottom: 3px;
  font-weight: 750;
}

.btp-prob-value {
  font-size: 13px;
  font-weight: 650;
}

.btp-bar {
  display: block;
  position: relative;
  width: 100%;
  height: 6px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--btp-graybar);
}

.btp-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #898d91;
}

.btp-bar.is-active span,
.btp-confidence .btp-bar span {
  background: var(--btp-green);
}

.btp-confidence {
  max-width: 128px;
}

.btp-confidence-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--btp-text);
  font-size: 18px;
}

.btp-shield {
  width: 18px;
  height: 20px;
  display: inline-block;
  background: var(--btp-green);
  clip-path: polygon(50% 0, 88% 14%, 88% 52%, 50% 100%, 12% 52%, 12% 14%);
  opacity: .95;
}

.btp-empty,
.btp-error {
  padding: 18px;
  border: 1px solid var(--btp-border);
  border-radius: 12px;
  background: #fff;
  color: var(--btp-muted);
}

.btp-error {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

@media (max-width: 1024px) {
  .btp-grid {
    grid-template-columns: 1fr 1.45fr 1.45fr 1.15fr 1.75fr 1.1fr 1.2fr;
    column-gap: 12px;
  }

  .btp-head,
  .btp-event-row {
    padding-left: 12px;
    padding-right: 12px;
  }

  .btp-team-badge {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  .btp-desktop {
    display: none;
  }

  .btp-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .btp-meta {
    padding: 0 2px;
    font-size: 13px;
  }

  .btp-mobile-league {
    overflow: hidden;
    border: 1px solid var(--btp-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .btp-mobile-league-button {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 0;
    background: linear-gradient(90deg, #ffffff, #fbfdfc);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: var(--btp-text);
    font: inherit;
    text-align: left;
  }

  .btp-mobile-league-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 18px;
  }

  .btp-mobile-league-title strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .btp-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: rotate(225deg);
    transition: transform .18s ease;
    flex: 0 0 auto;
  }

  .btp-mobile-league.is-collapsed .btp-chevron {
    transform: rotate(45deg);
  }

  .btp-mobile-event {
    display: grid;
    grid-template-columns: 68px minmax(0, 1.3fr) minmax(92px, .85fr) minmax(104px, .9fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-top: 1px solid var(--btp-line);
  }

  .btp-mobile-date {
    min-height: 96px;
    border-right: 1px solid var(--btp-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .btp-mobile-date span {
    font-size: 21px;
    font-weight: 750;
    line-height: 1.1;
  }

  .btp-mobile-date small {
    margin-top: 4px;
    color: var(--btp-muted);
    font-size: 16px;
  }

  .btp-mobile-teams {
    min-width: 0;
  }

  .btp-team-mobile {
    gap: 9px;
    font-size: 17px;
    margin-bottom: 8px;
  }

  .btp-team-mobile .btp-team-badge {
    width: 30px;
    height: 30px;
  }

  .btp-mobile-probs {
    margin-top: 14px;
  }

  .btp-mobile-score {
    text-align: center;
    align-self: stretch;
    border-left: 1px solid var(--btp-border);
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .btp-mobile-score .btp-score span {
    width: 100%;
    min-width: 0;
    height: 40px;
  }

  .btp-mobile-score small,
  .btp-mobile-tipbox small {
    display: block;
    margin-top: 8px;
    color: var(--btp-muted);
    line-height: 1.35;
    font-size: 13px;
  }

  .btp-mobile-tipbox {
    align-self: stretch;
    border-left: 1px solid var(--btp-border);
    padding-left: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .btp-mobile-tipbox .btp-tip span {
    width: 100%;
    min-width: 0;
    height: 40px;
    margin-bottom: 10px;
  }

  .btp-mobile-tipbox .btp-confidence {
    max-width: none;
  }

  .btp-mobile-tipbox .btp-confidence-top {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .btp-wrap {
    padding: 0;
  }

  .btp-mobile {
    gap: 12px;
  }

  .btp-mobile-league {
    border-radius: 13px;
  }

  .btp-mobile-league-button {
    min-height: 56px;
    padding: 0 14px;
  }

  .btp-mobile-league-title {
    font-size: 16px;
  }

  .btp-flag {
    width: 28px;
    height: 19px;
  }

  .btp-mobile-event {
    grid-template-columns: 52px minmax(0, 1fr) 104px;
    gap: 10px;
    padding: 14px 12px;
  }

  .btp-mobile-date {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 150px;
  }

  .btp-mobile-teams {
    grid-column: 2 / span 2;
    grid-row: 1;
  }

  .btp-mobile-score {
    grid-column: 2;
    grid-row: 2;
    border-left: 0;
    padding-left: 0;
  }

  .btp-mobile-tipbox {
    grid-column: 3;
    grid-row: 2;
    padding-left: 10px;
  }

  .btp-mobile-probs .btp-prob-list {
    gap: 10px;
  }

  .btp-prob-label {
    margin-bottom: 2px;
  }

  .btp-prob-value {
    font-size: 12px;
  }

  .btp-bar {
    height: 5px;
  }

  .btp-score span,
  .btp-tip span {
    height: 36px;
    font-size: 16px;
  }

  .btp-tip span {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .btp-confidence-top {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .btp-shield {
    width: 16px;
    height: 18px;
  }
}

.btp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
}

.btp-filter-pill {
  appearance: none;
  border: 1px solid var(--btp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--btp-text);
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.btp-filter-pill:hover {
  transform: translateY(-1px);
  border-color: #b9d9c4;
  background: var(--btp-green-soft);
}

.btp-filter-pill.is-active {
  border-color: var(--btp-green);
  background: var(--btp-green);
  color: #fff;
}

.btp-date-section[hidden],
.btp-mobile-date-section[hidden] {
  display: none !important;
}

.btp-date-group-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  background: #f4faf6;
  border-top: 1px solid var(--btp-border);
  border-bottom: 1px solid var(--btp-border);
  color: var(--btp-green-dark);
}

.btp-date-group-row strong {
  font-size: 15px;
  font-weight: 850;
}

.btp-date-group-row span {
  color: var(--btp-muted);
  font-size: 13px;
  font-weight: 700;
}

.btp-mobile-date-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btp-mobile-date-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 4px 0;
  color: var(--btp-green-dark);
}

.btp-mobile-date-heading strong {
  font-size: 16px;
  font-weight: 850;
}

.btp-mobile-date-heading span {
  color: var(--btp-muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .btp-filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-bottom: 14px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .btp-filter-pill {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* v1.0.4 polished meta/date filter bar */
.btp-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--btp-muted);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.2;
}

.btp-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.btp-stat-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--btp-green);
}

.btp-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.btp-topbar-divider {
  width: 1px;
  height: 34px;
  display: inline-block;
  background: var(--btp-border);
}

.btp-filter-shell {
  position: relative;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--btp-border);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.btp-filter-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 95px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(236, 248, 239, .96));
}

.btp-filter-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: stretch;
  margin: 0;
  padding: 0 54px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.btp-filter-row::-webkit-scrollbar {
  display: none;
}

.btp-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 68px;
  padding: 12px 20px;
  border: 1px solid var(--btp-border);
  border-radius: 18px;
  background: #fff;
  color: var(--btp-text);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btp-filter-pill:hover {
  transform: translateY(-1px);
  border-color: #b9d9c4;
  background: var(--btp-green-soft);
}

.btp-filter-pill.is-active {
  border-color: var(--btp-green);
  background: linear-gradient(135deg, #00843f, #006b34);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 107, 52, .22);
}

.btp-filter-pill.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -15px;
  height: 4px;
  border-radius: 999px;
  background: var(--btp-green);
}

.btp-filter-pill-all {
  min-width: 142px;
}

.btp-filter-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.btp-filter-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.btp-filter-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.12;
}

.btp-filter-text strong {
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
}

.btp-filter-text small {
  color: var(--btp-muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.btp-filter-pill.is-active .btp-filter-text small {
  color: rgba(255,255,255,.86);
}

.btp-filter-next {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
  color: var(--btp-muted);
  cursor: pointer;
}

.btp-filter-next span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-65%, -50%) rotate(-45deg);
}

.btp-flag-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  padding: 3px;
  border: 1px solid #d7e6dc;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff, #f1f8f3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 2px 6px rgba(15, 23, 42, .06);
  flex: 0 0 auto;
}

.btp-flag {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}

@media (min-width: 821px) {
  .btp-filter-shell {
    max-width: 100%;
  }

  .btp-filter-pill {
    min-height: 56px;
    min-width: 96px;
    border-radius: 999px;
    padding: 10px 18px;
  }

  .btp-filter-pill.is-active::after {
    bottom: -13px;
  }

  .btp-filter-pill-all {
    min-width: 128px;
  }

  .btp-filter-text strong {
    font-size: 14px;
  }

  .btp-filter-text small {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .btp-topbar {
    gap: 12px;
    margin-bottom: 18px;
    padding: 0 2px;
    font-size: 16px;
  }

  .btp-stat-icon {
    width: 27px;
    height: 27px;
  }

  .btp-filter-shell {
    margin-bottom: 18px;
    padding: 17px;
    border-radius: 18px;
  }

  .btp-filter-row {
    gap: 14px;
    padding-right: 48px;
  }

  .btp-filter-pill {
    min-width: 120px;
    min-height: 72px;
    border-radius: 18px;
    padding: 12px 18px;
  }

  .btp-filter-pill-all {
    min-width: 150px;
  }

  .btp-mobile-league-button {
    background: linear-gradient(90deg, #f1faf4, #ffffff);
    border-bottom: 1px solid #e4eee7;
  }

  .btp-mobile-league-title .btp-flag-frame {
    background: linear-gradient(180deg, #ffffff, #e9f6ed);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 3px 8px rgba(0, 107, 52, .12);
  }
}

@media (max-width: 560px) {
  .btp-topbar {
    flex-wrap: nowrap;
    gap: 12px;
    font-size: 15px;
    overflow-x: auto;
  }

  .btp-topbar-divider {
    height: 31px;
  }

  .btp-filter-shell {
    padding: 14px;
    border-radius: 16px;
  }

  .btp-filter-row {
    margin: 0;
    padding-right: 44px;
    gap: 12px;
  }

  .btp-filter-pill {
    min-height: 64px;
    min-width: 104px;
    padding: 10px 15px;
    border-radius: 15px;
  }

  .btp-filter-pill-all {
    min-width: 132px;
  }

  .btp-filter-text strong {
    font-size: 14px;
  }

  .btp-filter-text small {
    font-size: 12px;
  }

  .btp-filter-next {
    width: 38px;
    height: 38px;
    right: 7px;
  }

  .btp-flag-frame {
    width: 36px;
    height: 26px;
    padding: 3px;
  }
}


/* v1.0.5 compact density pass */
.btp-wrap {
  --btp-compact-row: 56px;
}

.btp-title-row {
  margin-bottom: 10px;
}

.btp-topbar {
  gap: 10px;
  margin-bottom: 12px;
  font-size: clamp(13px, 1.15vw, 16px);
}

.btp-stat {
  gap: 8px;
}

.btp-stat-icon {
  width: 22px;
  height: 22px;
}

.btp-topbar-divider {
  height: 26px;
}

.btp-filter-shell {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.btp-filter-row {
  gap: 10px;
  padding-right: 42px;
}

.btp-filter-pill {
  min-height: 46px;
  min-width: 86px;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 5px 13px rgba(15, 23, 42, 0.07);
}

.btp-filter-pill-all {
  min-width: 116px;
}

.btp-filter-pill.is-active::after {
  bottom: -10px;
  height: 3px;
}

.btp-filter-text strong {
  font-size: 13px;
}

.btp-filter-text small {
  font-size: 11px;
}

.btp-filter-icon {
  width: 18px;
  height: 18px;
}

.btp-filter-next {
  width: 34px;
  height: 34px;
  right: 7px;
}

.btp-table {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.btp-grid {
  grid-template-columns: .9fr 1.45fr 1.45fr 1.12fr 1.7fr 1.08fr 1.18fr;
  column-gap: 12px;
}

.btp-head {
  min-height: 46px;
  padding: 0 14px;
  font-size: 12px;
}

.btp-head > div {
  min-height: 46px;
}

.btp-info {
  width: 14px;
  height: 14px;
  margin-left: 5px;
  font-size: 9px;
  line-height: 14px;
}

.btp-date-group-row {
  min-height: 42px;
  padding: 0 14px;
}

.btp-date-group-row strong {
  font-size: 14px;
}

.btp-date-group-row span {
  font-size: 12px;
}

.btp-league-row {
  min-height: 42px;
  padding: 0 14px;
  gap: 8px;
  font-size: 16px;
}

.btp-flag-frame {
  width: 32px;
  height: 24px;
  padding: 2px;
  border-radius: 6px;
}

.btp-event-row {
  min-height: var(--btp-compact-row);
  padding: 0 14px;
}

.btp-date-main {
  font-size: 13px;
}

.btp-date-sub {
  margin-top: 1px;
  font-size: 12px;
}

.btp-team {
  gap: 8px;
  font-size: 14px;
}

.btp-team-badge {
  width: 28px;
  height: 28px;
  font-size: 9px;
}

.btp-score span,
.btp-tip span {
  min-width: 68px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 16px;
}

.btp-tip span {
  min-width: 76px;
  font-size: 13px;
}

.btp-prob-list {
  grid-template-columns: repeat(3, minmax(38px, 1fr));
  gap: 10px;
}

.btp-prob-label {
  margin-bottom: 1px;
  font-size: 13px;
}

.btp-prob-value {
  font-size: 12px;
}

.btp-bar {
  height: 5px;
  margin-top: 5px;
}

.btp-confidence {
  max-width: 112px;
}

.btp-confidence-top {
  gap: 6px;
  margin-bottom: 5px;
  font-size: 16px;
}

.btp-shield {
  width: 15px;
  height: 17px;
}

@media (max-width: 1024px) and (min-width: 821px) {
  .btp-grid {
    grid-template-columns: .82fr 1.32fr 1.32fr 1fr 1.52fr 1fr 1.06fr;
    column-gap: 9px;
  }

  .btp-head,
  .btp-event-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .btp-team {
    gap: 6px;
    font-size: 13px;
  }

  .btp-team-badge {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }

  .btp-prob-list {
    gap: 7px;
  }
}

@media (max-width: 820px) {
  .btp-topbar {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .btp-stat-icon {
    width: 22px;
    height: 22px;
  }

  .btp-filter-shell {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 14px;
  }

  .btp-filter-row {
    gap: 9px;
    padding-right: 38px;
  }

  .btp-filter-pill {
    min-height: 50px;
    min-width: 88px;
    padding: 7px 12px;
    border-radius: 13px;
  }

  .btp-filter-pill-all {
    min-width: 112px;
  }

  .btp-filter-icon {
    width: 17px;
    height: 17px;
  }

  .btp-filter-next {
    width: 32px;
    height: 32px;
  }

  .btp-mobile {
    gap: 9px;
  }

  .btp-mobile-date-section {
    gap: 8px;
  }

  .btp-mobile-date-heading {
    padding-top: 0;
  }

  .btp-mobile-date-heading strong {
    font-size: 14px;
  }

  .btp-mobile-date-heading span {
    font-size: 12px;
  }

  .btp-mobile-league {
    border-radius: 12px;
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.07);
  }

  .btp-mobile-league-button {
    min-height: 44px;
    padding: 0 12px;
  }

  .btp-mobile-league-title {
    gap: 8px;
    font-size: 15px;
  }

  .btp-mobile-league-title .btp-flag-frame {
    width: 30px;
    height: 22px;
  }

  .btp-chevron {
    width: 10px;
    height: 10px;
  }

  .btp-mobile-event {
    grid-template-columns: 54px minmax(0, 1.3fr) minmax(82px, .78fr) minmax(90px, .82fr);
    gap: 9px;
    padding: 10px 12px;
  }

  .btp-mobile-date {
    min-height: 78px;
    padding-top: 1px;
  }

  .btp-mobile-date span {
    font-size: 18px;
  }

  .btp-mobile-date small {
    margin-top: 2px;
    font-size: 13px;
  }

  .btp-team-mobile {
    gap: 7px;
    margin-bottom: 5px;
    font-size: 14px;
  }

  .btp-team-mobile .btp-team-badge {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }

  .btp-mobile-probs {
    margin-top: 8px;
  }

  .btp-mobile-score {
    padding-left: 9px;
  }

  .btp-mobile-score .btp-score span,
  .btp-mobile-tipbox .btp-tip span {
    height: 32px;
  }

  .btp-mobile-score small,
  .btp-mobile-tipbox small {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.2;
  }

  .btp-mobile-tipbox {
    padding-left: 9px;
  }

  .btp-mobile-tipbox .btp-tip span {
    margin-bottom: 6px;
  }

  .btp-mobile-tipbox .btp-confidence-top {
    margin-bottom: 4px;
  }
}

@media (max-width: 560px) {
  .btp-topbar {
    gap: 9px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .btp-topbar-divider {
    height: 24px;
  }

  .btp-filter-shell {
    padding: 8px;
    border-radius: 13px;
  }

  .btp-filter-row {
    gap: 8px;
    padding-right: 34px;
  }

  .btp-filter-pill {
    min-height: 46px;
    min-width: 80px;
    padding: 6px 10px;
    border-radius: 12px;
  }

  .btp-filter-pill-all {
    min-width: 102px;
  }

  .btp-filter-text strong {
    font-size: 12px;
  }

  .btp-filter-text small {
    font-size: 10px;
  }

  .btp-filter-next {
    width: 30px;
    height: 30px;
    right: 5px;
  }

  .btp-mobile {
    gap: 8px;
  }

  .btp-mobile-league-button {
    min-height: 42px;
    padding: 0 10px;
  }

  .btp-mobile-league-title {
    font-size: 14px;
  }

  .btp-mobile-event {
    grid-template-columns: 42px minmax(0, 1fr) 88px;
    gap: 7px;
    padding: 9px 9px;
  }

  .btp-mobile-date {
    min-height: 118px;
  }

  .btp-mobile-date span {
    font-size: 17px;
  }

  .btp-mobile-date small {
    font-size: 12px;
  }

  .btp-mobile-teams {
    grid-column: 2 / span 2;
  }

  .btp-team-mobile {
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13.5px;
  }

  .btp-team-mobile .btp-team-badge {
    width: 23px;
    height: 23px;
    font-size: 7.5px;
  }

  .btp-mobile-probs {
    margin-top: 7px;
  }

  .btp-mobile-score {
    grid-column: 2;
    padding-left: 0;
  }

  .btp-mobile-tipbox {
    grid-column: 3;
    padding-left: 7px;
  }

  .btp-mobile-score .btp-score span,
  .btp-mobile-tipbox .btp-tip span {
    height: 30px;
  }

  .btp-score span,
  .btp-tip span {
    min-width: 0;
    font-size: 14px;
  }

  .btp-tip span {
    font-size: 12.5px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .btp-prob-list {
    gap: 7px;
  }

  .btp-prob-label {
    font-size: 12px;
  }

  .btp-prob-value {
    font-size: 11px;
  }

  .btp-bar {
    height: 4px;
    margin-top: 4px;
  }

  .btp-confidence-top {
    gap: 5px;
    font-size: 14px;
  }

  .btp-shield {
    width: 13px;
    height: 15px;
  }
}

/* v1.0.6 cache/past-date/scroll polish */
.btp-filter-next[hidden] {
  display: none !important;
}

.btp-filter-shell:not(.has-overflow)::after {
  display: none;
}

.btp-filter-shell:not(.has-overflow) .btp-filter-row {
  padding-right: 0;
}

/* v1.1.0 mobile card redesign - mobile only, desktop untouched */
@media (max-width: 820px) {
  .btp-mobile {
    gap: 14px !important;
  }

  .btp-mobile-date-heading {
    display: none !important;
  }

  .btp-mobile-league {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid #dfe5e9 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08) !important;
  }

  .btp-mobile-league::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 14px !important;
    bottom: 0 !important;
    width: 4px !important;
    background: #008250 !important;
    border-radius: 999px 999px 0 0 !important;
    z-index: 2 !important;
  }

  .btp-mobile-league-button {
    min-height: 72px !important;
    padding: 12px 20px 12px 28px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5eaee !important;
    background: linear-gradient(180deg, #fff, #fbfcfd) !important;
    box-shadow: none !important;
  }

  .btp-mobile-league-title {
    gap: 14px !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    color: #111827 !important;
  }

  .btp-mobile-league-title strong {
    font-size: inherit !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
  }

  .btp-mobile-league-title .btp-flag-frame {
    width: 45px !important;
    height: 45px !important;
    flex: 0 0 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid #e0e5e9 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 6px 12px rgba(15, 23, 42, .10) !important;
  }

  .btp-mobile-league-title .btp-flag {
    width: 31px !important;
    height: 22px !important;
    border-radius: 3px !important;
    object-fit: cover !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08) !important;
  }

  .btp-mobile-league-button .btp-chevron {
    width: 14px !important;
    height: 14px !important;
    border-right: 3px solid #111827 !important;
    border-bottom: 3px solid #111827 !important;
    margin-right: 6px !important;
  }

  .btp-mobile-event,
  .btp-mobile-event-card-v3 {
    display: block !important;
    padding: 22px 22px 20px !important;
    border-top: 0 !important;
    background: #fff !important;
  }

  .btp-mobile-event + .btp-mobile-event,
  .btp-mobile-event-card-v3 + .btp-mobile-event-card-v3 {
    border-top: 1px solid #e8edf0 !important;
  }

  .btp-mobile-event-main {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  .btp-mobile-date,
  .btp-mobile-date-card-v3 {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 104px !important;
    min-height: 104px !important;
    align-self: center !important;
    justify-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: 1px solid #dfe5e9 !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #fff, #fbfcfd) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
  }

  .btp-mobile-date-card-v3 em,
  .btp-mobile-date em {
    display: block !important;
    margin: 0 !important;
    color: #008250 !important;
    font-style: normal !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  .btp-mobile-date-card-v3 span,
  .btp-mobile-date span {
    display: block !important;
    color: #111827 !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    line-height: .95 !important;
    letter-spacing: -.05em !important;
  }

  .btp-mobile-date-card-v3 small,
  .btp-mobile-date small {
    display: block !important;
    margin: 2px 0 0 !important;
    color: #667085 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  .btp-mobile-match-area-v3 {
    min-width: 0 !important;
    padding-left: 18px !important;
    border-left: 1px solid #e3e8ec !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .btp-mobile-teams,
  .btp-mobile-teams-v3 {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  .btp-team-mobile,
  .btp-mobile-event .btp-team-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    min-width: 0 !important;
    color: #111827 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
  }

  .btp-team-mobile .btp-team-badge,
  .btp-mobile-event .btp-team-badge {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border: 1px solid #d9dee4 !important;
    border-radius: 999px !important;
    background: radial-gradient(circle at 30% 20%, #fff, #f4f6f8) !important;
    color: #008250 !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .10) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
  }

  .btp-team-mobile:nth-child(2) .btp-team-badge {
    color: #d31220 !important;
  }

  .btp-team-mobile > span:last-child {
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .btp-mobile-probs,
  .btp-mobile-probs-v3 {
    width: 100% !important;
    margin: 26px 0 0 !important;
  }

  .btp-mobile-probs .btp-prob-list,
  .btp-mobile-event .btp-prob-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
  }

  .btp-mobile-probs .btp-prob {
    text-align: center !important;
    min-width: 0 !important;
  }

  .btp-mobile-probs .btp-prob-label {
    display: block !important;
    margin: 0 0 4px !important;
    color: #111827 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .btp-mobile-probs .btp-prob-value {
    display: block !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
  }

  .btp-mobile-probs .btp-bar {
    width: 100% !important;
    height: 6px !important;
    margin-top: 11px !important;
    border-radius: 999px !important;
    background: #d7dbe0 !important;
  }

  .btp-mobile-probs .btp-bar span {
    background: #747a82 !important;
  }

  .btp-mobile-probs .btp-bar.is-active span {
    background: #008250 !important;
  }

  .btp-mobile-summary-panel-v3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin-top: 24px !important;
    min-height: 104px !important;
    border: 1px solid #e0e5e9 !important;
    border-radius: 18px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
  }

  .btp-mobile-summary-cell-v3 {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-content: center !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 7px !important;
    min-width: 0 !important;
    min-height: 104px !important;
    padding: 14px 15px !important;
    border-left: 1px solid #e3e8ec !important;
    text-align: left !important;
  }

  .btp-mobile-summary-cell-v3:first-child {
    border-left: 0 !important;
  }

  .btp-summary-icon-v3 {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #88909b !important;
  }

  .btp-summary-icon-v3 svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
  }

  .btp-summary-icon-green-v3 {
    color: #008250 !important;
  }

  .btp-summary-label-v3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    color: #7b8490 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .btp-mobile-summary-cell-v3 strong {
    grid-column: 2 !important;
    grid-row: 2 !important;
    color: #008250 !important;
    font-size: 24px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -.02em !important;
  }

  .btp-mobile-summary-tip-v3 strong {
    min-width: 58px !important;
    width: fit-content !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 15px !important;
    border-radius: 10px !important;
    background: linear-gradient(90deg, #eaf8ed, #dff3e5) !important;
    color: #006b34 !important;
  }

  .btp-mobile-summary-confidence-v3 strong {
    color: #111827 !important;
  }

  .btp-mobile-summary-confidence-v3 .btp-bar {
    grid-column: 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-width: 126px !important;
    height: 6px !important;
    margin: 2px 0 0 !important;
    background: #d7dbe0 !important;
  }

  .btp-mobile-summary-confidence-v3 .btp-bar span {
    background: #008250 !important;
  }

  .btp-mobile-summary-cell-v3 .btp-shield {
    width: 28px !important;
    height: 30px !important;
    background: #008250 !important;
  }
}

@media (max-width: 560px) {
  .btp-mobile {
    gap: 12px !important;
  }

  .btp-mobile-league {
    border-radius: 20px !important;
  }

  .btp-mobile-league-button {
    min-height: 64px !important;
    padding: 10px 14px 10px 22px !important;
  }

  .btp-mobile-league-title {
    gap: 11px !important;
    font-size: 18px !important;
  }

  .btp-mobile-league-title .btp-flag-frame {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 9px !important;
  }

  .btp-mobile-league-title .btp-flag {
    width: 28px !important;
    height: 20px !important;
  }

  .btp-mobile-event,
  .btp-mobile-event-card-v3 {
    padding: 18px 13px 16px !important;
  }

  .btp-mobile-event-main {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .btp-mobile-date,
  .btp-mobile-date-card-v3 {
    width: 54px !important;
    min-width: 54px !important;
    height: 92px !important;
    min-height: 92px !important;
    border-radius: 14px !important;
  }

  .btp-mobile-date-card-v3 em,
  .btp-mobile-date em {
    font-size: 11px !important;
  }

  .btp-mobile-date-card-v3 span,
  .btp-mobile-date span {
    font-size: 31px !important;
  }

  .btp-mobile-date-card-v3 small,
  .btp-mobile-date small {
    font-size: 12px !important;
  }

  .btp-mobile-match-area-v3 {
    padding-left: 13px !important;
  }

  .btp-mobile-teams,
  .btp-mobile-teams-v3 {
    gap: 12px !important;
  }

  .btp-team-mobile,
  .btp-mobile-event .btp-team-mobile {
    gap: 10px !important;
    font-size: 18px !important;
  }

  .btp-team-mobile .btp-team-badge,
  .btp-mobile-event .btp-team-badge {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    font-size: 10px !important;
  }

  .btp-mobile-probs,
  .btp-mobile-probs-v3 {
    margin-top: 22px !important;
  }

  .btp-mobile-probs .btp-prob-list,
  .btp-mobile-event .btp-prob-list {
    gap: 16px !important;
  }

  .btp-mobile-probs .btp-prob-label {
    font-size: 15px !important;
  }

  .btp-mobile-probs .btp-prob-value {
    font-size: 14px !important;
  }

  .btp-mobile-probs .btp-bar {
    height: 5px !important;
    margin-top: 9px !important;
  }

  .btp-mobile-summary-panel-v3 {
    margin-top: 18px !important;
    min-height: 88px !important;
    border-radius: 15px !important;
  }

  .btp-mobile-summary-cell-v3 {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 6px !important;
    min-height: 88px !important;
    padding: 11px 8px !important;
  }

  .btp-summary-icon-v3,
  .btp-summary-icon-v3 svg {
    width: 20px !important;
    height: 20px !important;
  }

  .btp-summary-label-v3 {
    font-size: 9px !important;
    letter-spacing: .015em !important;
  }

  .btp-mobile-summary-cell-v3 strong {
    font-size: 20px !important;
  }

  .btp-mobile-summary-tip-v3 strong {
    min-width: 44px !important;
    height: 31px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
  }

  .btp-mobile-summary-confidence-v3 .btp-bar {
    max-width: 92px !important;
    height: 5px !important;
  }

  .btp-mobile-summary-cell-v3 .btp-shield {
    width: 20px !important;
    height: 22px !important;
  }
}

@media (max-width: 390px) {
  .btp-mobile-event,
  .btp-mobile-event-card-v3 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .btp-mobile-event-main {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  .btp-mobile-date,
  .btp-mobile-date-card-v3 {
    width: 50px !important;
    min-width: 50px !important;
  }

  .btp-mobile-match-area-v3 {
    padding-left: 10px !important;
  }

  .btp-team-mobile,
  .btp-mobile-event .btp-team-mobile {
    font-size: 16px !important;
  }

  .btp-mobile-probs .btp-prob-list,
  .btp-mobile-event .btp-prob-list {
    gap: 10px !important;
  }

  .btp-mobile-summary-cell-v3 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .btp-summary-label-v3 {
    font-size: 8px !important;
  }

  .btp-mobile-summary-cell-v3 strong {
    font-size: 18px !important;
  }
}


/* v1.1.1 mobile compact polish: keeps the requested card shape, reduces height, allows league names to wrap */
@media (max-width: 820px) {
  .btp-mobile {
    gap: 10px !important;
  }

  .btp-mobile-date-section {
    gap: 10px !important;
  }

  .btp-mobile-league {
    border-radius: 18px !important;
  }

  .btp-mobile-league::before {
    width: 4px !important;
  }

  .btp-mobile-league-button {
    min-height: 54px !important;
    height: auto !important;
    padding: 8px 13px 8px 18px !important;
    align-items: center !important;
  }

  .btp-mobile-league-title {
    gap: 10px !important;
    font-size: 16px !important;
    line-height: 1.18 !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-items: center !important;
  }

  .btp-mobile-league-title strong {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.18 !important;
    max-width: 100% !important;
  }

  .btp-mobile-league-title .btp-flag-frame {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 8px !important;
  }

  .btp-mobile-league-title .btp-flag {
    width: 24px !important;
    height: 17px !important;
  }

  .btp-chevron {
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 10px !important;
  }

  .btp-mobile-event,
  .btp-mobile-event-card-v3 {
    padding: 13px 11px 12px !important;
  }

  .btp-mobile-event-main {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .btp-mobile-date,
  .btp-mobile-date-card-v3 {
    width: 48px !important;
    min-width: 48px !important;
    height: 78px !important;
    min-height: 78px !important;
    border-radius: 12px !important;
  }

  .btp-mobile-date-card-v3::after {
    right: -10px !important;
  }

  .btp-mobile-date-card-v3 em,
  .btp-mobile-date em {
    font-size: 10px !important;
    line-height: 1 !important;
  }

  .btp-mobile-date-card-v3 span,
  .btp-mobile-date span {
    font-size: 26px !important;
    line-height: 1.02 !important;
  }

  .btp-mobile-date-card-v3 small,
  .btp-mobile-date small {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .btp-mobile-match-area-v3 {
    padding-left: 10px !important;
  }

  .btp-mobile-teams,
  .btp-mobile-teams-v3 {
    gap: 8px !important;
  }

  .btp-team-mobile,
  .btp-mobile-event .btp-team-mobile {
    gap: 8px !important;
    font-size: 16px !important;
    line-height: 1.16 !important;
  }

  .btp-team-mobile .btp-team-badge,
  .btp-mobile-event .btp-team-badge {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;
    font-size: 9px !important;
    box-shadow: 0 4px 10px rgba(15,23,42,.10) !important;
  }

  .btp-mobile-probs,
  .btp-mobile-probs-v3 {
    margin-top: 15px !important;
  }

  .btp-mobile-probs .btp-prob-list,
  .btp-mobile-event .btp-prob-list {
    gap: 12px !important;
  }

  .btp-mobile-probs .btp-prob-label,
  .btp-mobile-event .btp-prob-label {
    font-size: 13px !important;
    line-height: 1.05 !important;
    margin-bottom: 2px !important;
  }

  .btp-mobile-probs .btp-prob-value,
  .btp-mobile-event .btp-prob-value {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }

  .btp-mobile-probs .btp-bar,
  .btp-mobile-event .btp-prob .btp-bar {
    height: 5px !important;
    margin-top: 7px !important;
  }

  .btp-mobile-summary-panel-v3 {
    margin-top: 13px !important;
    min-height: 68px !important;
    border-radius: 13px !important;
  }

  .btp-mobile-summary-cell-v3 {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 6px !important;
    row-gap: 4px !important;
    min-height: 68px !important;
    padding: 8px 7px !important;
  }

  .btp-summary-icon-v3,
  .btp-summary-icon-v3 svg {
    width: 17px !important;
    height: 17px !important;
  }

  .btp-summary-label-v3 {
    font-size: 8px !important;
    line-height: 1.05 !important;
    letter-spacing: .01em !important;
  }

  .btp-mobile-summary-cell-v3 strong {
    font-size: 17px !important;
    line-height: 1.05 !important;
  }

  .btp-mobile-summary-score-v3 strong {
    font-size: 18px !important;
  }

  .btp-mobile-summary-tip-v3 strong {
    min-width: 36px !important;
    height: 26px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
  }

  .btp-mobile-summary-confidence-v3 .btp-bar {
    max-width: 74px !important;
    height: 5px !important;
    margin-top: 4px !important;
  }

  .btp-mobile-summary-cell-v3 .btp-shield {
    width: 17px !important;
    height: 19px !important;
  }
}

@media (max-width: 390px) {
  .btp-mobile-league-button {
    padding: 8px 11px 8px 16px !important;
  }

  .btp-mobile-league-title {
    font-size: 15px !important;
    gap: 8px !important;
  }

  .btp-mobile-league-title .btp-flag-frame {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
  }

  .btp-mobile-event,
  .btp-mobile-event-card-v3 {
    padding: 11px 9px 10px !important;
  }

  .btp-mobile-event-main {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .btp-mobile-date,
  .btp-mobile-date-card-v3 {
    width: 44px !important;
    min-width: 44px !important;
    height: 72px !important;
    min-height: 72px !important;
  }

  .btp-mobile-date-card-v3 span,
  .btp-mobile-date span {
    font-size: 23px !important;
  }

  .btp-mobile-match-area-v3 {
    padding-left: 8px !important;
  }

  .btp-team-mobile,
  .btp-mobile-event .btp-team-mobile {
    font-size: 15px !important;
    gap: 7px !important;
  }

  .btp-team-mobile .btp-team-badge,
  .btp-mobile-event .btp-team-badge {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
    font-size: 8px !important;
  }

  .btp-mobile-probs,
  .btp-mobile-probs-v3 {
    margin-top: 13px !important;
  }

  .btp-mobile-probs .btp-prob-list,
  .btp-mobile-event .btp-prob-list {
    gap: 8px !important;
  }

  .btp-mobile-summary-panel-v3 {
    margin-top: 11px !important;
    min-height: 62px !important;
  }

  .btp-mobile-summary-cell-v3 {
    min-height: 62px !important;
    padding: 7px 5px !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
  }

  .btp-summary-icon-v3,
  .btp-summary-icon-v3 svg {
    width: 15px !important;
    height: 15px !important;
  }

  .btp-summary-label-v3 {
    font-size: 7px !important;
  }

  .btp-mobile-summary-cell-v3 strong {
    font-size: 15px !important;
  }

  .btp-mobile-summary-score-v3 strong {
    font-size: 16px !important;
  }

  .btp-mobile-summary-tip-v3 strong {
    min-width: 32px !important;
    height: 24px !important;
    font-size: 14px !important;
  }

  .btp-mobile-summary-confidence-v3 .btp-bar {
    max-width: 62px !important;
  }
}

/* v1.1.4 semantic desktop table + machine-readable dates */
.btp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.btp-real-table {
  display: block;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.btp-real-table thead,
.btp-real-table tbody,
.btp-real-table tr {
  display: block;
}

.btp-real-table th,
.btp-real-table td {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  vertical-align: middle;
}

.btp-real-table .btp-head.btp-grid,
.btp-real-table .btp-event-row.btp-grid {
  display: grid;
}

.btp-real-table .btp-head th {
  min-height: 56px;
  display: flex;
  align-items: center;
  font-weight: 800;
}

.btp-real-table .btp-head th:nth-child(4),
.btp-real-table .btp-head th:nth-child(5),
.btp-real-table .btp-head th:nth-child(6),
.btp-real-table .btp-head th:nth-child(7) {
  justify-content: center;
  text-align: center;
}

.btp-real-table .btp-event-row td {
  min-width: 0;
}

.btp-real-table .btp-date-group-row,
.btp-real-table .btp-league-row {
  display: block;
  padding: 0;
}

.btp-real-table .btp-date-group-row th,
.btp-real-table .btp-league-row th {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  padding: 0 18px;
}

.btp-date-group-content,
.btp-league-row-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.btp-date-group-content time,
.btp-mobile-date-heading time,
.btp-mobile-date-card-v3 time {
  display: inline-flex;
  align-items: inherit;
  gap: inherit;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.btp-league-heading {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: 850;
  line-height: 1.25;
  min-width: 0;
}

.btp-mobile-league-heading {
  min-width: 0;
  display: block;
  line-height: 1.22;
}

.btp-mobile-date-heading time {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.btp-mobile-date-card-v3 time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btp-date time {
  display: block;
}

@media (max-width: 820px) {
  .btp-mobile-league-heading strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.btp-date-group-row .btp-date-group-content {
  color: var(--btp-green-dark);
  font-size: inherit;
  font-weight: inherit;
}

.btp-date-group-row .btp-date-group-content > span {
  color: var(--btp-muted);
  font-size: 13px;
  font-weight: 700;
}

.btp-date-group-row .btp-date-group-content time {
  color: var(--btp-green-dark);
}

/* v1.1.5: second-level filters and filtering helpers */
.btp-filter-shell-v2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btp-filter-shell-v2::after {
  display: none;
}

.btp-filter-group {
  position: relative;
  min-width: 0;
}

.btp-filter-group-label {
  margin: 0 0 8px;
  color: var(--btp-green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btp-filter-group-date .btp-filter-row {
  padding-right: 54px;
}

.btp-confidence-filter-row {
  padding-right: 0 !important;
  flex-wrap: wrap;
  overflow: visible;
}

.btp-confidence-filter-row .btp-filter-pill {
  min-height: 50px;
  min-width: 112px;
  border-radius: 999px;
}

.btp-filter-empty {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  border: 1px solid #d7e6dc;
  border-radius: 12px;
  background: #f7fff8;
  color: var(--btp-muted);
  font-size: 14px;
  font-weight: 650;
}

.btp-event-row[hidden],
.btp-mobile-event[hidden],
.btp-league-row[hidden],
.btp-mobile-league[hidden],
.btp-filter-empty[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .btp-filter-shell-v2 {
    gap: 12px;
  }

  .btp-filter-group-label {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .btp-confidence-filter-row {
    gap: 10px;
  }

  .btp-confidence-filter-row .btp-filter-pill {
    min-width: 102px;
    min-height: 54px;
    padding: 9px 14px;
  }
}

@media (max-width: 560px) {
  .btp-filter-shell-v2 {
    gap: 11px;
  }

  .btp-filter-group-date .btp-filter-row {
    padding-right: 44px;
  }

  .btp-confidence-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .btp-confidence-filter-row .btp-filter-pill,
  .btp-confidence-filter-row .btp-filter-pill-all {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px;
  }
}
