/**
 * exchange-match.bundle.css — concatenated exchange CSS (no minify).
 * Rebuild: php scripts/build-exchange-css-bundles.php
 * Source order is the cascade order from style-account.
 */

/* ===== exchange-live-stream.css ===== */
/* Live stream — embed in tab (scrolls) or float (fixed, draggable) */

.ex-live-stream-slot {
    display: block;
    min-height: 10rem;
}

.ex-live-stream {
    --ex-stream-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ex-surface-row, var(--ex-surface));
    border: 1px solid color-mix(in srgb, var(--ex-border) 85%, transparent);
    border-radius: var(--ex-stream-radius);
    overflow: hidden;
}

.ex-live-stream__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.5rem;
    background: var(--ex-surface-subhead);
    border-bottom: 1px solid var(--theme-match-list-columns-border, var(--ex-border));
    user-select: none;
}

.ex-live-stream__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    color: var(--ex-text-strong, var(--ex-runner-text));
    font-size: var(--theme-type-label-size, var(--theme-text-sm));
    font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ex-live-stream__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.ex-live-stream__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    border-radius: var(--theme-radius-chip, 4px);
    background: color-mix(in srgb, var(--ex-border) 40%, transparent);
    color: var(--ex-text-strong, var(--bp-slate-50));
    cursor: pointer;
}

.ex-live-stream__close svg {
    width: 0.85rem;
    height: 0.85rem;
}

.ex-live-stream__close:hover {
    background: color-mix(in srgb, var(--color-danger, var(--bp-danger)) 35%, transparent);
    color: var(--bp-white);
}

.ex-live-stream__mode {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem;
    border-radius: var(--theme-radius-pill, 999px);
    background: color-mix(in srgb, var(--ex-border) 35%, transparent);
}

.ex-live-stream__mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border: 0;
    border-radius: var(--theme-radius-pill, 999px);
    background: transparent;
    color: var(--ex-muted);
    font-size: var(--theme-type-label-size, var(--theme-text-sm));
    font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ex-live-stream__mode-btn svg {
    width: 0.75rem;
    height: 0.75rem;
}

.ex-live-stream__mode-btn.is-active {
    background: var(--ex-surface-row, var(--ex-surface));
    color: var(--ex-text-strong, var(--ex-runner-text));
    box-shadow: 0 1px 2px var(--bp-alpha-ink-08);
}

.ex-live-stream__mode-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    outline-offset: 1px;
}

.ex-live-stream__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 16rem;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-primary) 8%, var(--bp-slate-900)) 0%,
        var(--bp-slate-800) 45%,
        color-mix(in srgb, var(--color-primary) 6%, var(--bp-slate-900)) 100%
    );
    overflow: hidden;
}

.ex-live-stream__player,
.ex-live-stream__placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    left: auto;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    max-width: 40%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__mode,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__mode,
.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__actions,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__actions {
    pointer-events: auto;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__mode,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__mode {
    gap: 0.1rem;
    padding: 0.1rem;
    background: color-mix(in srgb, var(--ex-surface) 92%, var(--bp-slate-900));
    border: 1px solid color-mix(in srgb, var(--ex-border) 80%, transparent);
    box-shadow: 0 1px 4px var(--bp-alpha-ink-18);
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__mode-label,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__mode-label {
    display: none;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__mode-btn,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__mode-btn {
    width: 1.45rem;
    height: 1.45rem;
    min-width: 1.45rem;
    padding: 0;
    justify-content: center;
    gap: 0;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__mode-btn svg,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__mode-btn svg {
    width: 0.7rem;
    height: 0.7rem;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__close,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__close {
    width: 1.45rem;
    height: 1.45rem;
}

.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay .ex-live-stream__close svg,
.ex-live-stream--primary .ex-live-stream__toolbar--overlay .ex-live-stream__close svg {
    width: 0.7rem;
    height: 0.7rem;
}

.ex-live-stream__iframe,
.ex-live-stream__video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--bp-black);
    object-fit: contain;
}

.ex-live-stream__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.ex-live-stream__scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        color-mix(in srgb, var(--color-primary) 22%, transparent) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: ex-live-stream-scan 2.8s ease-in-out infinite;
}

.ex-live-stream__play-ring {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary) 24%, transparent);
    border: 2px solid color-mix(in srgb, var(--color-primary) 58%, transparent);
    color: var(--bp-white);
}

.ex-live-stream__play-ring svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.12rem;
}

.ex-live-stream__hint {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 18rem;
    color: var(--bp-slate-300);
    font-size: var(--theme-text-xs, 0.6875rem);
    line-height: 1.35;
}

/* Floating mode — fixed overlay, draggable + resizable, persists across pages */
.ex-live-stream--floating {
    position: fixed;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    width: min(24rem, calc(100vw - 1.5rem));
    min-width: 280px;
    min-height: 180px;
    box-shadow:
        0 18px 40px var(--bp-alpha-ink-28),
        0 0 0 1px color-mix(in srgb, var(--ex-border) 70%, transparent);
}

.ex-live-stream--floating .ex-live-stream__toolbar {
    cursor: grab;
    touch-action: none;
    flex-shrink: 0;
}

.ex-live-stream--floating.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay,
.ex-live-stream--floating.ex-live-stream--primary .ex-live-stream__toolbar--overlay {
    cursor: grab;
    touch-action: none;
    pointer-events: auto;
}

.ex-live-stream--floating.ex-live-stream--dragging .ex-live-stream__toolbar,
.ex-live-stream--floating.ex-live-stream--dragging.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay,
.ex-live-stream--floating.ex-live-stream--dragging.ex-live-stream--primary .ex-live-stream__toolbar--overlay,
.ex-live-stream--floating.ex-live-stream--resizing {
    cursor: grabbing;
}

.ex-live-stream--floating .ex-live-stream__viewport {
    flex: 1 1 auto;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    height: auto;
}

.ex-live-stream--floating .ex-live-stream__mode-label {
    display: none;
}

.ex-live-stream--floating .ex-live-stream__close {
    display: inline-flex;
}

.ex-live-stream__resize {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: 1.1rem;
    height: 1.1rem;
    padding: 0;
    border: 0;
    border-radius: 0 0 var(--theme-radius-control, 8px) 0;
    background:
        linear-gradient(135deg, transparent 0 48%, var(--bp-slate-400) 48% 52%, transparent 52% 68%, var(--bp-slate-400) 68% 72%, transparent 72%);
    cursor: nwse-resize;
    touch-action: none;
}

.ex-live-stream--floating .ex-live-stream__resize {
    display: block;
}

.ex-live-stream__dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex: 1 1 auto;
    min-height: 12rem;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(145deg, var(--bp-slate-800) 0%, var(--bp-slate-900) 55%, var(--bp-slate-700) 100%);
    text-align: center;
}

.ex-live-stream__dock[hidden] {
    display: none !important;
}

.ex-live-stream__dock-text {
    margin: 0;
    max-width: 16rem;
    color: var(--bp-slate-300);
    font-size: var(--theme-text-sm, 0.75rem);
    line-height: 1.4;
}

.ex-live-stream__dock-btn {
    padding: 0.35rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--bp-slate-400) 45%, transparent);
    border-radius: var(--theme-radius-pill, 999px);
    background: color-mix(in srgb, var(--bp-slate-500) 28%, transparent);
    color: var(--ex-text-strong, var(--bp-slate-50));
    font-size: var(--theme-type-label-size, var(--theme-text-sm));
    font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ex-live-stream__dock-btn:hover {
    background: color-mix(in srgb, var(--bp-slate-500) 45%, transparent);
}

.ex-live-stream-slot:has(> .ex-live-stream--floating) .ex-live-stream__dock,
.ex-live-stream-slot:not(:has(> .ex-live-stream:not(.ex-live-stream--floating))) .ex-live-stream__dock:not([hidden]) {
    display: flex;
}

.ex-live-score-panel--cricket .ex-live-stream {
    border: 0;
    border-radius: 0;
}

.ex-live-score-panel__pane .ex-live-stream-slot {
    min-height: 0;
}

.ex-live-stream--compact {
    border: 0;
    border-radius: 0;
}

.ex-live-stream--compact .ex-live-stream__toolbar {
    padding: 0.3rem 0.4rem;
    min-height: 2rem;
}

.ex-live-stream--compact .ex-live-stream__mode-label {
    display: none;
}

.ex-live-stream--compact .ex-live-stream__viewport {
    max-height: 11rem;
}

.ex-live-stream-slot--hero {
    min-height: 0;
    height: 100%;
}

.ex-live-stream--hero.ex-live-stream--hub-col .ex-live-stream__toolbar--overlay {
    top: 0.45rem;
    right: 0.45rem;
}

.ex-live-stream--hero .ex-live-stream__play-ring {
    width: 3.25rem;
    height: 3.25rem;
    background: color-mix(in srgb, var(--bp-slate-400) 22%, transparent);
    border-color: color-mix(in srgb, var(--bp-slate-300) 45%, transparent);
    color: var(--bp-slate-200);
}

.ex-live-stream--hero .ex-live-stream__scan {
    background: linear-gradient(
        105deg,
        transparent 40%,
        color-mix(in srgb, var(--bp-slate-400) 18%, transparent) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
}

.ex-live-stream--hero .ex-live-stream__hint {
    color: var(--bp-slate-400);
}

.ex-live-score-panel__col-body .ex-live-stream-slot--compact {
    min-height: 0;
}

.ex-live-score-panel__col-body .ex-live-stream--compact.ex-live-stream--hub-col .ex-live-stream__viewport {
    max-height: none;
    aspect-ratio: auto;
    height: 100%;
}

.ex-live-score-panel__col-body .ex-live-stream--compact:not(.ex-live-stream--hub-col) .ex-live-stream__viewport {
    max-height: none;
    aspect-ratio: 16 / 10;
}

.ex-live-score-panel--cricket .ex-live-stream:not(.ex-live-stream--floating):not(.ex-live-stream--hub-col) .ex-live-stream__viewport {
    max-height: 14rem;
}

@media (min-width: 576px) {
    .ex-live-stream:not(.ex-live-stream--floating) .ex-live-stream__viewport {
        max-height: 18rem;
    }
}

@media (min-width: 992px) {
    .ex-live-stream:not(.ex-live-stream--floating) .ex-live-stream__viewport {
        max-height: 20rem;
    }
}

@keyframes ex-live-stream-scan {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== exchange-match-detail.css ===== */
/**
 * Match detail typography contract.
 * Loaded after list / grid / odds / badge owners so predict pages use the
 * exact same role scale as home at every breakpoint.
 */

.exchange-app .ex-match-detail-page {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-body-size, var(--theme-text-base, 0.875rem));
  font-weight: var(--theme-weight-regular, 400);
  line-height: var(--theme-leading-body, 1.45);
  font-feature-settings: var(--theme-font-features, "cv11", "ss01");
}

/* Page context: use the home league role, not a marketing-title role. */
.exchange-app .ex-match-detail-page .ex-match-header__title,
.exchange-app .ex-match-detail-page .ex-match-header__title.ex-page-head__title,
.exchange-app .ex-match-detail-page .ex-match-header--detail .ex-match-header__title {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-league-size, var(--theme-text-base, 0.875rem)) !important;
  font-weight: var(--theme-type-league-weight, var(--theme-weight-semibold, 600)) !important;
  letter-spacing: var(--theme-type-league-tracking, 0);
  line-height: var(--theme-leading-snug, 1.25);
  text-transform: none;
}

.exchange-app .ex-match-detail-page .ex-match-header-details {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-caption-size, var(--theme-text-sm, 0.75rem));
  font-weight: var(--theme-weight-medium, 500);
  letter-spacing: 0.01em;
  line-height: var(--theme-leading-snug, 1.25);
}

.exchange-app .ex-match-detail-page .ex-match-header-details__format,
.exchange-app .ex-match-detail-page .ex-match-header-details [data-live-score-home-strip],
.exchange-app .ex-match-detail-page .ex-match-header-details [data-live-score-away-strip] {
  font-weight: var(--theme-weight-semibold, 600);
}

/* Home group header: 14 / 600. */
.exchange-app .ex-match-detail-page .ex-match-table-head,
.exchange-app .ex-match-detail-page .ex-match-table-head .ex-inplay-group__name {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-league-size, var(--theme-text-base, 0.875rem));
  font-weight: var(--theme-type-league-weight, var(--theme-weight-semibold, 600));
  letter-spacing: var(--theme-type-league-tracking, 0);
  line-height: var(--theme-leading-snug, 1.25);
  text-transform: none;
}

/* Home MATCH micro-label: 12 / 600 UPPER at all breakpoints. */
.exchange-app .ex-match-detail-page .ex-match-table-subhead .ex-indibet-list__match-hd,
.exchange-app .ex-match-detail-page .ex-match-table-subhead .ex-indibet-list__match-hd-text {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

/* Home 1 / X / 2: desktop 12 / 600; ≤991 matches home mobile 13 / 700. */
.exchange-app .ex-match-detail-page .ex-match-table-subhead .ex-indibet-list__outcome-label {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .exchange-app .ex-match-detail-page .ex-match-table-subhead .ex-indibet-list__outcome-label {
    font-size: var(--theme-text-md, 0.8125rem);
    font-weight: var(--theme-weight-bold, 700);
    letter-spacing: 0.02em;
  }
}

.exchange-app .ex-match-detail-page .ex-match-table-subhead .ex-indibet-list__outcome-sublabel {
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: var(--theme-type-table-head-tracking, 0.04em);
  line-height: 1;
  text-transform: uppercase;
}

/* Teams and runner names — home team role: 13 / 600. */
.exchange-app .ex-match-detail-page :is(
  .ex-indibet-row__team,
  .ex-indibet-row__vs,
  .ex-market__runner-name,
  .ex-indian-grid__runner-name,
  .ex-live-score-panel__hero-team .ex-live-score-panel__team-name
) {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-team-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-team-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0;
  line-height: var(--theme-leading-snug, 1.25);
  text-transform: none;
}

/* Classic board teams — home team type role (not fluid clamp / marketing weight). */
.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__team {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-team-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-team-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0;
  line-height: var(--theme-leading-snug, 1.25);
  color: var(--ex-text-strong);
}

/* Per-market question labels sit at the MATCH micro-label level. */
.exchange-app .ex-match-detail-page :is(
  .ex-indian-grid--compact-detail .ex-indian-grid__market-title,
  .ex-market--indian .ex-market__header .ex-market__title
) {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-indian-grid--yes-no .ex-indian-grid__side-label,
.exchange-app .ex-match-detail-page .ex-indian-grid__runner-meta {
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  line-height: 1;
}

/* Odds contract: 13 / 700; liquidity: 11 / 500 — no resting-fill changes. */
.exchange-app .ex-match-detail-page :is(
  .ex-price__value,
  .ex-odds-cell__value,
  .ex-indibet-outcome .ex-price__value,
  .ex-market--indian .ex-indian-grid__cell .ex-price__value
) {
  font-size: var(--theme-type-odds-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-odds-weight, var(--theme-weight-bold, 700));
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--theme-type-odds-tracking, -0.01em);
  line-height: var(--theme-leading-tight, 1.1);
}

.exchange-app .ex-match-detail-page :is(
  .ex-price__size,
  .ex-odds-cell__size,
  .ex-indibet-outcome .ex-price__size,
  .ex-market--indian .ex-indian-grid__cell .ex-price__size
) {
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  font-weight: var(--theme-weight-medium, 500);
  line-height: var(--theme-leading-snug, 1.25);
}

/* Open bets follows the same league → MATCH → team → money hierarchy. */
.exchange-app .ex-match-detail-page .ex-open-bets__header {
  font-size: var(--theme-type-league-size, var(--theme-text-base, 0.875rem));
  font-weight: var(--theme-type-league-weight, var(--theme-weight-semibold, 600));
  letter-spacing: var(--theme-type-league-tracking, 0);
}

.exchange-app .ex-match-detail-page .ex-open-bets__col-label {
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  color: var(--ex-text-strong);
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-open-bets__match {
  font-size: var(--theme-type-team-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-team-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0;
}

.exchange-app .ex-match-detail-page :is(
  .ex-open-bets__stake,
  .ex-open-bets__return,
  .ex-open-bets__liability
) {
  font-size: var(--theme-type-odds-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-money-weight, var(--theme-weight-bold, 700));
  font-variant-numeric: tabular-nums;
}

.exchange-app .ex-match-detail-page .ex-open-bets__type,
.exchange-app .ex-match-detail-page .ex-open-bets__type.badge {
  font-size: var(--theme-type-badge-size, var(--theme-text-sm, 0.75rem));
  font-weight: var(--theme-type-badge-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.04em;
}

/* Shared LIVE micro badge — caption scale / bold (weights ≤ 700). */
.exchange-app .ex-match-detail-page :is(
  .ex-indibet-list__live-badge,
  .ex-inplay-group__live-badge
) {
  font-size: var(--theme-text-xs, 0.6875rem);
  font-weight: var(--theme-weight-bold, 700);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Classic premium board — site theme nested surface (not list-expand pulse). */
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero-score,
.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) {
  background: var(--ex-surface-nested, var(--theme-bg-sunken, var(--ex-surface-row))) !important;
  background-color: var(--ex-surface-nested, var(--theme-bg-sunken, var(--ex-surface-row))) !important;
  color: var(--ex-text-strong);
  border-radius: 0;
  box-shadow: none;
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__chart-block {
  background: var(--ex-surface-row, var(--theme-bg-market)) !important;
  border-top-color: var(--theme-match-list-columns-border, var(--ex-border));
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__inn-badge {
  border-radius: var(--theme-radius-odds, 0);
  background: var(--ex-surface-category-head);
  color: var(--ex-schedule-category-head-text);
}

/* Fancy / Session compact grids — home market-header surface. */
.exchange-app .ex-match-detail-page .ex-indian-grid--compact-detail .ex-indian-grid__market-title {
  background: var(--ex-surface-subhead);
  border-bottom-color: var(--theme-match-list-columns-border, var(--ex-border));
}

.exchange-app .ex-match-detail-page .ex-market--indian .ex-indian-grid__cell .ex-price {
  border-radius: var(--theme-radius-odds, 0);
  min-height: var(--theme-odds-h-desktop, 36px);
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .exchange-app .ex-match-detail-page .ex-market--indian .ex-indian-grid__cell .ex-price {
    min-height: var(--theme-odds-h-mobile, 40px);
  }
}

/* Live-center controls use home nav/meta weights instead of 700-heavy tabs. */
.exchange-app .ex-match-detail-page .ex-live-score-panel__tabs .nav-link {
  font-size: var(--theme-type-nav-size, var(--theme-text-sm, 0.75rem));
  font-weight: var(--theme-type-nav-weight, var(--theme-weight-medium, 500));
  letter-spacing: 0.01em;
}

.exchange-app .ex-match-detail-page .ex-live-score-panel__tabs .nav-link.active {
  font-weight: var(--theme-weight-semibold, 600);
}

@media (max-width: 575.98px) {
  .exchange-app .ex-match-detail-page .ex-match-header-details {
    font-size: var(--theme-type-caption-size, var(--theme-text-sm, 0.75rem));
  }
}

/* Suspended / Closed — generic badge role (not body 14). */
.exchange-app .ex-match-detail-page .ex-market-suspend-badge,
.exchange-app .ex-match-detail-page .ex-market-suspend-badge__label {
  font-size: var(--theme-type-badge-size, var(--theme-text-sm, 0.75rem));
  font-weight: var(--theme-type-badge-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* Live-score meta that has no home twin — keep on caption/nav tokens. */
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero .ex-live-score-panel__clock {
  font-size: var(--theme-type-caption-size, var(--theme-text-sm, 0.75rem));
  font-weight: var(--theme-weight-semibold, 600);
}

.exchange-app .ex-match-detail-page .ex-live-score-panel__hero :is(
  .ex-live-score-panel__format,
  .ex-live-score-panel__competition
) {
  font-size: var(--theme-text-xs, 0.6875rem);
  font-weight: var(--theme-weight-semibold, 600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-live-score-panel__hero-vs {
  font-size: var(--theme-text-xs, 0.6875rem);
  font-weight: var(--theme-weight-semibold, 600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Full scorecard on predict/detail — paired grids, no nested scroll. */
.exchange-app .ex-match-detail-page .ex-live-score-panel__cricket-card,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard,
.exchange-app .ex-match-detail-page .ex-live-score-panel__col-body,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard__pair {
  max-height: none !important;
  overflow: visible !important;
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard--paired .ex-cricket-scorecard__pair,
.exchange-app .ex-match-detail-page .ex-cricket-xi__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__inning-total {
  font-size: var(--theme-type-team-size, var(--theme-text-md));
  font-weight: var(--theme-weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--ex-text-strong);
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table {
  font-size: var(--theme-type-caption-size, var(--theme-text-sm));
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table thead th {
  background: var(--ex-surface-subhead);
  color: var(--ex-text-strong);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table thead th,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table tbody td {
  border-color: var(--ex-border);
  text-align: center;
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table thead th:first-child,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table tbody td:first-child,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard__cell--name {
  text-align: left;
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__cell--num,
.exchange-app .ex-match-detail-page .ex-cricket-scorecard__cell--note {
  text-align: center;
}

.exchange-app .ex-match-detail-page .ex-cricket-scorecard__table .text-end {
  text-align: center !important;
}

/* ─── Board tabs = home In-Play / Fixtures / Results strip (ex-schedule-subnav) ─── */
.exchange-app .ex-match-detail-page .ex-match-detail-board {
  border-top: 1px solid var(--ex-border);
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__rail.ex-schedule-subnav {
  margin: 0;
  padding: var(--theme-space-2, 0.5rem) var(--theme-space-3, 0.75rem);
  border: 0;
  border-bottom: 1px solid var(--ex-border);
  background: transparent;
  --theme-icon-on-brand: var(--ex-sidebar-icon);
  --theme-icon-default: var(--ex-sidebar-icon);
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__rail .ex-sidebar-nav-list.ex-inplay-match-tabs {
  width: auto;
  max-width: 100%;
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__rail .ex-sidebar-nav-caption {
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-nav-size, var(--theme-text-base, 0.875rem));
  font-weight: var(--theme-weight-medium, 500);
  letter-spacing: var(--theme-type-nav-tracking, 0);
  line-height: var(--theme-leading-snug, 1.25);
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__rail .ex-sidebar-nav-list > li.active .ex-sidebar-nav-caption {
  font-weight: var(--theme-weight-semibold, 600);
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__panels {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__pane {
  display: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-board__pane.is-active {
  display: block;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger {
  margin: 0;
  padding: 0;
  height: 100%;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__head {
  margin: 0;
  padding: var(--theme-space-2, 0.5rem) var(--theme-space-3, 0.75rem);
  background: var(--ex-surface-subhead);
  border-bottom: 1px solid var(--theme-match-list-columns-border, var(--ex-border));
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__title {
  margin: 0;
  color: var(--ex-text-strong);
  font-family: var(--theme-font-sans);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__body,
.exchange-app .ex-match-detail-page .ex-match-detail-media__chart {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__empty {
  margin: 0;
  padding: var(--theme-space-4, 1rem) var(--theme-space-3, 0.75rem);
  color: var(--ex-muted);
  font-size: var(--theme-text-sm);
  text-align: center;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream-slot,
.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream,
.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream__viewport {
  width: 100%;
  max-width: none;
  border-radius: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream-slot,
.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream__viewport {
  flex: 1 1 auto;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 28rem);
  min-height: 12rem;
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__chart .ex-match-chart {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 12rem;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 28rem);
  margin: 0;
  padding: 0;
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-media__chart .ex-match-chart__canvas-wrap,
.exchange-app .ex-match-detail-page .ex-match-detail-media__chart .ex-match-chart__empty {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard {
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--ex-border) 80%, transparent);
}

/* Scorecard flush to main board edges — one ledger, square corners. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__ledger-wrap,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-table-wrap {
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__ledger,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__ledger th,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__ledger td,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__section-head {
  border-radius: 0 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__section-head {
  margin: 0;
  border-bottom: 1px solid var(--ex-schedule-section-head-border, var(--ex-border));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger--scorecard .ex-cricket-scorecard__ledger {
  width: 100%;
}

@media (max-width: 1199.98px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__head,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-panel__title,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-match-table-head {
    min-height: 2.25rem;
    padding: 0.35rem 0.5rem;
  }

  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indian-grid__market-title,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market__header {
    padding: 0.3rem 0.5rem;
  }

  .exchange-app .ex-match-detail-page .ex-match-detail-media__body .ex-live-stream__viewport,
  .exchange-app .ex-match-detail-page .ex-match-detail-media__chart .ex-match-chart {
    min-height: 10rem;
    max-height: min(55vh, 22rem);
  }
}

/* Compact full-width scoreboard — kill legacy hero 1fr|1fr stream split void. */
.exchange-app .ex-match-detail-page .ex-live-score-panel,
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero,
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero.ex-live-score-panel__scoreboard--top,
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero:not(.ex-live-score-panel__hero--inline) {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  grid-template-columns: none;
  border-radius: 0;
  box-shadow: none;
}

.exchange-app .ex-match-detail-page .ex-live-score-panel__hero-score,
.exchange-app .ex-match-detail-page .ex-live-score-panel__hero-score > .ex-premium-score,
.exchange-app .ex-match-detail-page .ex-premium-score {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__top {
  min-height: 1.75rem;
  padding: 0.28rem 0.65rem;
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__main {
  padding: 0.55rem 0.75rem 0.65rem;
  gap: 0.5rem;
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__big-score {
  font-size: var(--theme-text-3xl, 1.5rem);
  font-weight: var(--theme-weight-bold, 700);
  font-variant-numeric: tabular-nums;
  line-height: var(--theme-leading-tight, 1.1);
}

.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__summary {
  margin-top: 0.2rem;
}

/* Chart lives under Match Chart tab — keep scoreboard compact. */
.exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) .ex-premium-score__chart-block {
  display: none;
}

/* ─── Match detail ledger: markets + open bets + scorecard share one table grammar ─── */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-unified,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--unified,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-group,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger #exchange-open-bets,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger__scorecard {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/*
 * ONE ledger frame — every section row uses the SAME 4-col track:
 * info | cell | cell | cell  (Match Odds = 1|X|2; Session/Fancy Yes|No under X|2)
 * All odds cells share identical width + height — same contract as inplay list
 * (exchange-indian-list + theme: desktop 36px / 6.75rem, mobile 40px / 3.5rem).
 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] {
  --ex-ledger-info: minmax(0, 1fr);
  --ex-ledger-cell: 6.75rem;
  --ex-ledger-cell-h: var(--theme-odds-h-desktop, 36px);
  /* Fancy/Session Yes|No header row — half of odds/lock cell height */
  --ex-fancy-label-h: calc(var(--ex-ledger-cell-h) * 0.5);
  --ex-ledger-gap: 0;
  --ex-ledger-pad-x: 0;
  --ex-xch-info: var(--ex-ledger-info);
  --ex-xch-outcome: var(--ex-ledger-cell);
  --ex-xch-cell-h: var(--ex-ledger-cell-h);
  --ex-xch-gap: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background: var(--ex-surface-row, var(--ex-market-bg));
  border: 1px solid var(--ex-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] > .ex-markets-group--section,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-market,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-event--indibet {
  display: block !important;
  width: 100%;
  margin: 0;
  border: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] > .ex-markets-group--section {
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 80%, transparent);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] > .ex-markets-group--section:last-child {
  border-bottom: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-group--section > .ex-market {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Shared track on every header + data row inside the frame */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    var(--ex-ledger-cell)
    var(--ex-ledger-cell)
    var(--ex-ledger-cell) !important;
  column-gap: 0 !important;
  align-items: stretch;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__col--info,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row__info {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  min-width: 0;
  min-height: var(--ex-ledger-cell-h);
  height: var(--ex-ledger-cell-h);
  padding: 0.25rem 0.65rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 70%, transparent);
}

/* Equal outcome cells — same box for 1|X|2 and Yes|No */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__col--outcome,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row > .ex-indibet-outcome {
  display: flex !important;
  align-items: stretch;
  justify-content: stretch;
  grid-row: 1 !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: var(--ex-ledger-cell-h) !important;
  min-height: var(--ex-ledger-cell-h) !important;
  max-height: var(--ex-ledger-cell-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-left: 1px solid color-mix(in srgb, var(--ex-border) 70%, transparent) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 70%, transparent);
  /* Header cols inherit subhead; data cells match home row surface */
  background: transparent;
  z-index: auto !important;
  box-sizing: border-box !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__columns > .ex-indibet-list__col--outcome {
  background: transparent;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row > .ex-indibet-outcome {
  background: var(--ex-surface-row) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row > .ex-indibet-row__info,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__columns > .ex-indibet-list__col--info {
  background: transparent;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-row {
  background: var(--ex-surface-row) !important;
}

/* 1 | X | 2 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-list__col--outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 2 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-list__col--outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-list__col--draw,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(3) {
  grid-column: 3 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-list__col--outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
}

/* Session / Fancy: Yes | dummy | No under 1 | X | 2 (Yes/No = left+right).
 * Goal Line is separate: Goals | Over | Under (cols 1–3) — do not share Fancy shifts. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__col--outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 2 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__col--outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(3) {
  grid-column: 3 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__col--outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
}

/* Goal Line: Goals | Over | dummy | Under (align under 1|X|2) */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__col--outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 2 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__col--spacer,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--spacer {
  grid-column: 3 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__col--outcome:nth-child(3):not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__col--outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__col--outcome:last-child:not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--away,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(3):not(.ex-indibet-outcome--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-outcome__back,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-outcome__lay {
  display: flex !important;
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Price + header labels fill the cell identically */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-outcome .ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-outcome a.ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-outcome span.ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-indibet-list__col--outcome .ex-indibet-list__outcome-label {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: var(--ex-ledger-cell-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

/* Match inplay mobile outcome track (≤991.98px): 3.5rem × 40px */
@media (max-width: 991.98px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] {
    --ex-ledger-cell: 3.5rem;
    --ex-ledger-cell-h: var(--theme-odds-h-mobile, 40px);
  }
}

@media (min-width: 992px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] {
    /* Inplay ≥992 uses minmax(7.25rem, 8.75rem); ledger keeps equal fixed cols at the min. */
    --ex-ledger-cell: 7.25rem;
  }
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger__scorecard {
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 80%, transparent);
}

/* Category / group heads — home league rung (not MATCH micro). */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__head,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-panel__title,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-match-table-head {
  margin: 0;
  padding: var(--theme-space-2, 0.5rem) var(--theme-space-3, 0.75rem);
  background: var(--ex-surface-category-head);
  color: var(--ex-schedule-category-head-text, var(--ex-text-strong));
  border-bottom: 1px solid var(--ex-schedule-category-head-border, var(--ex-border));
  border-radius: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__name,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-panel__title .ex-inplay-group__name {
  color: var(--ex-schedule-category-head-text, var(--ex-text-strong));
  font-family: var(--theme-font-sans);
  font-size: var(--theme-type-league-size);
  font-weight: var(--theme-type-league-weight);
  letter-spacing: var(--theme-type-league-tracking);
  text-transform: none;
  line-height: var(--theme-leading-snug, 1.25);
}

/* Section chrome (open bets / scorecard page head). */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__header,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-cricket-scorecard__section-head {
  margin: 0;
  padding: var(--theme-space-2, 0.5rem) var(--theme-space-3, 0.75rem);
  background: var(--ex-surface-section-head);
  border-bottom: 1px solid var(--ex-schedule-section-head-border, var(--ex-border));
  border-radius: 0;
  color: var(--ex-schedule-section-head-text, var(--ex-text-strong));
  font-family: var(--theme-font-sans);
  font-size: var(--theme-type-league-size);
  font-weight: var(--theme-type-league-weight);
  letter-spacing: var(--theme-type-league-tracking);
  text-transform: none;
  line-height: var(--theme-leading-snug, 1.25);
}

/* Band / MATCH micro heads. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-cricket-scorecard__band-head {
  margin: 0;
  padding: var(--theme-space-2, 0.5rem) var(--theme-space-3, 0.75rem);
  background: var(--ex-surface-subhead);
  color: var(--ex-text-strong);
  border-bottom: 1px solid var(--theme-match-list-columns-border, var(--ex-border));
  border-radius: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-cricket-scorecard__band-title {
  color: var(--ex-text-strong);
  font-family: var(--theme-font-sans);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Market rows framed like scorecard table cells */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--compact-detail,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indian-grid--compact-detail,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-list__row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-row {
  border-radius: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--compact-detail {
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 75%, transparent);
  background: var(--ex-surface-row, var(--ex-market-bg));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--compact-detail + .ex-market--compact-detail {
  margin-top: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indian-grid__market-title,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market__header {
  padding: 0.4rem 0.75rem;
  background: var(--ex-surface-subhead);
  border-bottom: 1px solid var(--theme-match-list-columns-border, var(--ex-border));
}

/*
 * Shared ledger track for all market sections:
 * info | cell | cell | cell  (Match Odds = 1|X|2; Session/Fancy Yes|No sit in last 2 cells)
 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--indibet {
  --ex-xch-info: var(--ex-ledger-info, minmax(0, 1fr));
  --ex-xch-outcome: var(--ex-ledger-cell, minmax(4.5rem, 6.25rem));
  --ex-xch-gap: var(--ex-ledger-gap, var(--theme-space-odds-gap, 0.25rem));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--match-list,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--fancy-list {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--match-list .ex-inplay-group__list--indibet,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-market--fancy-list .ex-inplay-group__list--indibet {
  border-top: 0;
  overflow: visible;
}

/* Match Odds — Market | 1 | X | 2 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row {
  display: grid !important;
  grid-template-columns:
    var(--ex-xch-info)
    var(--ex-xch-outcome) var(--ex-xch-outcome) var(--ex-xch-outcome) !important;
  column-gap: var(--ex-xch-gap) !important;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-left: var(--ex-ledger-pad-x, 0.4rem);
  padding-right: var(--ex-ledger-pad-x, 0.4rem);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome--spacer .ex-price {
  opacity: 0.55;
  pointer-events: none;
  cursor: default !important;
  background: var(--ex-surface-subhead, var(--ex-surface-row)) !important;
  color: var(--ex-muted) !important;
  box-shadow: none !important;
}

/* Middle dummy cell — never show lock (even when Yes/No row is market-locked) */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome--spacer .ex-price::before,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome--spacer .ex-price::after,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-row.market-locked .ex-indibet-outcome--spacer .ex-price::before,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-row.market-locked .ex-indibet-outcome--spacer .ex-price::after,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-event.market-locked .ex-indibet-outcome--spacer .ex-price::before,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-event.market-locked .ex-indibet-outcome--spacer .ex-price::after {
  content: none !important;
  display: none !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-row.market-locked .ex-indibet-outcome--spacer .ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-event.market-locked .ex-indibet-outcome--spacer .ex-price {
  background: var(--ex-surface-subhead, var(--ex-surface-row)) !important;
  color: var(--ex-muted) !important;
  opacity: 0.55 !important;
  cursor: default !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-row.market-locked .ex-indibet-outcome--spacer .ex-price .ex-price__value,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-event.market-locked .ex-indibet-outcome--spacer .ex-price .ex-price__value {
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/*
 * Fancy / Session — same 4-col track as Match Odds.
 * Yes|No align under X|2 (cols 3–4) so the right edge matches.
 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines {
  --ex-xch-gap: var(--ex-ledger-gap, var(--theme-space-odds-gap, 0.25rem));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--2way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--2way .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--3way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--3way .ex-indibet-row {
  display: grid !important;
  grid-template-columns:
    var(--ex-xch-info)
    var(--ex-xch-outcome) var(--ex-xch-outcome) var(--ex-xch-outcome) !important;
  grid-template-rows: auto;
  column-gap: var(--ex-xch-gap) !important;
  row-gap: 0;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-left: var(--ex-ledger-pad-x, 0.4rem);
  padding-right: var(--ex-ledger-pad-x, 0.4rem);
}

/* Goal Line — Goals | Over | dummy | Under (same 4 tracks as Fancy) */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line.ex-inplay-group__list--2way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line.ex-inplay-group__list--2way .ex-indibet-row {
  display: grid !important;
  grid-template-columns:
    var(--ex-xch-info)
    var(--ex-xch-outcome) var(--ex-xch-outcome) var(--ex-xch-outcome) !important;
  grid-template-rows: auto;
  column-gap: var(--ex-xch-gap) !important;
  row-gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding-left: var(--ex-ledger-pad-x, 0.4rem);
  padding-right: var(--ex-ledger-pad-x, 0.4rem);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns {
  height: var(--ex-fancy-label-h) !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow: visible;
  align-items: stretch;
  line-height: 1;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome {
  height: var(--ex-fancy-label-h) !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--info,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-row__info {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: var(--ex-fancy-label-h) !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 0.65rem !important;
}

/* Goal Line: header uses label strip; data rows use full cell height for line values */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--info {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: var(--ex-fancy-label-h) !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 0.65rem !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-row__info {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: var(--ex-ledger-cell-h, 2.75rem) !important;
  min-height: var(--ex-ledger-cell-h, 2.75rem) !important;
  max-height: none !important;
  padding: 0 0.65rem !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--info .ex-indibet-list__match-hd,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--info .ex-indibet-list__match-hd-text {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: var(--theme-font-sans, "Inter", system-ui, sans-serif);
  font-size: var(--theme-type-label-size, var(--theme-text-sm));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--draw {
  display: none !important;
}

/* Legacy fancy placement (no leading spacer). Goal Line stays Goals|Over|Under. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines:not(:has(.ex-indibet-outcome--spacer)) .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines:not(:has(.ex-indibet-outcome--spacer)) .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines:not(:has(.ex-indibet-outcome--spacer)) .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines:not(:has(.ex-indibet-outcome--spacer)) .ex-indibet-row > .ex-indibet-outcome:nth-child(3) {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-list__col--outcome {
  justify-content: center;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.22rem 0.3rem;
  background: var(--ex-surface-subhead);
  border-top: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  border-left: 1px solid color-mix(in srgb, var(--ex-border) 55%, transparent);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome .ex-indibet-outcome__back,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome .ex-indibet-outcome__lay {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome .ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome a.ex-price,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome span.ex-price {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: var(--ex-ledger-cell-h) !important;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

/* Fancy/Session Yes|No — default back/lay odds colors (was a green/red
   soft-pastel system; matches the dummy-cell removal that also dropped
   this from 4 outcome slots to 2, per explicit design request to align
   with the app's own default blue/pink odds coloring everywhere else). */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line {
  --ex-fancy-yes-soft: var(--ex-back);
  --ex-fancy-no-soft: var(--ex-lay);
  --ex-fancy-yes-ink: var(--ex-back-text, var(--bp-odds-ink, #0F172A));
  --ex-fancy-no-ink: var(--ex-lay-text, var(--bp-odds-ink, #0F172A));
}

html.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines,
.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines,
html.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line,
.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line {
  --ex-fancy-yes-soft: var(--ex-back);
  --ex-fancy-no-soft: var(--ex-lay);
  --ex-fancy-yes-ink: var(--ex-back-text, #F8FAFC);
  --ex-fancy-no-ink: var(--ex-lay-text, #F8FAFC);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--yes:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(2) .ex-price:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing) {
  background: var(--ex-fancy-yes-soft) !important;
  color: var(--ex-fancy-yes-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-yes-ink) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--no:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(4) .ex-price:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing) {
  background: var(--ex-fancy-no-soft) !important;
  color: var(--ex-fancy-no-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-no-ink) !important;
}

/* Goal Line Over|Under — same soft pastels as Yes|No */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-price--yes:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(2) .ex-price:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing) {
  background: var(--ex-fancy-yes-soft) !important;
  color: var(--ex-fancy-yes-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-yes-ink) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-price--no:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(4) .ex-price:not(.ex-price--unavailable):not(.odds-price-flash-up):not(.odds-price-flash-down):not(.ex-odds-flashing) {
  background: var(--ex-fancy-no-soft) !important;
  color: var(--ex-fancy-no-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-no-ink) !important;
}

/* Goal Line Over|Under headers only — dark@light / light@dark (odds rows
   stay soft). Recolored from green/red to the app's default back/lay
   blue/pink, same darken-for-light/lighten-for-dark structure as before. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line {
  --ex-gl-over-label-bg: color-mix(in srgb, var(--ex-back) 75%, black);
  --ex-gl-under-label-bg: color-mix(in srgb, var(--ex-lay) 60%, black);
  --ex-gl-over-label-ink: #F0FDF4;
  --ex-gl-under-label-ink: #FFF1F2;
}

html.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line,
.theme-dark .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line {
  --ex-gl-over-label-bg: color-mix(in srgb, var(--ex-back) 28%, var(--bp-white, #FFFFFF));
  --ex-gl-under-label-bg: color-mix(in srgb, var(--ex-lay) 28%, var(--bp-white, #FFFFFF));
  --ex-gl-over-label-ink: var(--bp-odds-ink, #0F172A);
  --ex-gl-under-label-ink: var(--bp-odds-ink, #0F172A);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 !important;
  border-radius: var(--theme-radius-chip, 4px) var(--theme-radius-chip, 4px) 0 0 !important;
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  line-height: 1;
  background: var(--ex-gl-over-label-bg) !important;
  color: var(--ex-gl-over-label-ink) !important;
  -webkit-text-fill-color: var(--ex-gl-over-label-ink) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 !important;
  border-radius: var(--theme-radius-chip, 4px) var(--theme-radius-chip, 4px) 0 0 !important;
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  line-height: 1;
  background: var(--ex-gl-under-label-bg) !important;
  color: var(--ex-gl-under-label-ink) !important;
  -webkit-text-fill-color: var(--ex-gl-under-label-ink) !important;
}

/* Yes / No headers — soft pastel chips, dark ink */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 !important;
  border-radius: var(--theme-radius-chip, 4px) var(--theme-radius-chip, 4px) 0 0 !important;
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  line-height: 1;
  background: var(--ex-fancy-yes-soft) !important;
  color: var(--ex-fancy-yes-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-yes-ink) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  padding: 0 !important;
  border-radius: var(--theme-radius-chip, 4px) var(--theme-radius-chip, 4px) 0 0 !important;
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  font-weight: var(--theme-type-label-weight, var(--theme-weight-semibold, 600));
  line-height: 1;
  background: var(--ex-fancy-no-soft) !important;
  color: var(--ex-fancy-no-ink) !important;
  -webkit-text-fill-color: var(--ex-fancy-no-ink) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--spacer .ex-indibet-list__outcome-label,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__outcome-label--spacer,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--spacer .ex-indibet-list__outcome-label,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__outcome-label--spacer {
  background: var(--ex-surface-subhead, var(--ex-surface-row)) !important;
  color: var(--ex-muted) !important;
  opacity: 0.55;
  min-height: var(--ex-fancy-label-h) !important;
  max-height: var(--ex-fancy-label-h) !important;
  font-size: var(--theme-type-odds-size-liquidity, var(--theme-text-xs, 0.6875rem));
  line-height: 1;
}

/* Keep Yes/No header flush against lock/odds rows below */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns + .ex-event,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns + .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-event {
  margin-top: 0 !important;
}

/* Fancy Yes/No ink stays on-cell (never inherit page strong/muted) */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--yes,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--yes .ex-price__size,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--yes .fancy-line-value {
  color: var(--ex-fancy-yes-ink, var(--bp-odds-ink, #0F172A)) !important;
  -webkit-text-fill-color: var(--ex-fancy-yes-ink, var(--bp-odds-ink, #0F172A)) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--no,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--no .ex-price__size,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-price--no .fancy-line-value {
  color: var(--ex-fancy-no-ink, var(--bp-odds-ink, #0F172A)) !important;
  -webkit-text-fill-color: var(--ex-fancy-no-ink, var(--bp-odds-ink, #0F172A)) !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row__teams-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row__team {
  overflow: visible;
  max-width: 100%;
  text-overflow: unset;
  white-space: normal;
  word-break: break-word;
  line-height: var(--theme-leading-snug, 1.25);
  font-size: var(--theme-type-team-size, var(--theme-text-md, 0.8125rem));
  font-weight: var(--theme-type-team-weight, var(--theme-weight-semibold, 600));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row__meta {
  font-variant-numeric: tabular-nums;
  font-weight: var(--theme-weight-semibold, 600);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-price {
  text-align: center;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome .ex-price__value,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-indibet-outcome .ex-price__size {
  text-align: center;
}

@media (min-width: 992px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--indibet:not(.ex-inplay-group__list--fancy-lines) {
    --ex-xch-info: minmax(6.5rem, 1.45fr);
    --ex-xch-outcome: minmax(6.75rem, 8.25rem);
  }
}

@media (max-width: 575.98px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--indibet:not(.ex-inplay-group__list--fancy-lines) {
    --ex-xch-info: minmax(0, 1fr);
    --ex-xch-outcome: 3.5rem;
    --ex-xch-gap: var(--theme-space-odds-gap-mobile, 0.125rem);
  }
}

/* Open bets = same table grid as scorecard */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__cols,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row {
  gap: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__cols {
  background: var(--ex-surface-subhead);
  border-bottom: 1px solid var(--theme-match-list-columns-border, var(--ex-border));
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row > * {
  padding: 0.4rem 0.55rem;
  border-right: 1px solid color-mix(in srgb, var(--ex-border) 85%, transparent);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label:last-child,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row > *:last-child {
  border-right: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label--event,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__match {
  text-align: left;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label--type,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label--stake,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__col-label--result,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__type,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__stake,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__return,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__liability {
  text-align: center;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row {
  background: var(--ex-surface-row, var(--ex-surface));
  border-bottom: 1px solid color-mix(in srgb, var(--ex-border) 80%, transparent);
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row:nth-child(even) {
  background: var(--ex-surface-row-alt, var(--ex-row-alt, var(--ex-surface-raised)));
}

html.theme-light .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row,
.theme-light .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row {
  border-bottom-color: var(--theme-table-border, #E5EAF1);
  background: #FFFFFF;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row:nth-child(even),
.theme-light .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row:nth-child(even) {
  background: #EEF2F7;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-open-bets__row:last-child {
  border-bottom: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-unified + #exchange-open-bets {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * FINAL COLOR LADDER — identical to home schedule list.
 * section-head → category-head → subhead (MATCH/1-X-2) → row
 * ═══════════════════════════════════════════════════════════════════════════ */

html.theme-light .exchange-app .ex-match-detail-page .ex-match-header,
html.theme-dark .exchange-app .ex-match-detail-page .ex-match-header {
  background: var(--ex-surface-section-head) !important;
  background-color: var(--ex-surface-section-head) !important;
  color: var(--ex-schedule-section-head-text) !important;
  border-bottom-color: var(--ex-schedule-section-head-border) !important;
}

/* Table / group header = home league category head */
html.theme-light .exchange-app .ex-match-detail-page :is(
  .ex-match-table-head,
  .ex-inplay-group__head,
  .ex-markets-panel__title,
  .ex-premium-score__top,
  .ex-cricket-scorecard__part-head th
),
html.theme-dark .exchange-app .ex-match-detail-page :is(
  .ex-match-table-head,
  .ex-inplay-group__head,
  .ex-markets-panel__title,
  .ex-premium-score__top,
  .ex-cricket-scorecard__part-head th
) {
  background: var(--ex-surface-category-head) !important;
  background-color: var(--ex-surface-category-head) !important;
  color: var(--ex-schedule-category-head-text) !important;
  border-bottom-color: var(--ex-schedule-category-head-border) !important;
}

html.theme-light .exchange-app .ex-match-detail-page :is(
  .ex-inplay-group__name,
  .ex-markets-panel__title .ex-inplay-group__name
),
html.theme-dark .exchange-app .ex-match-detail-page :is(
  .ex-inplay-group__name,
  .ex-markets-panel__title .ex-inplay-group__name
) {
  color: var(--ex-schedule-category-head-text) !important;
}

/* Section chrome = home In-Play toolbar / open-bets head */
html.theme-light .exchange-app .ex-match-detail-page :is(
  .ex-open-bets__header,
  .ex-cricket-scorecard__section-head
),
html.theme-dark .exchange-app .ex-match-detail-page :is(
  .ex-open-bets__header,
  .ex-cricket-scorecard__section-head
) {
  background: var(--ex-surface-section-head) !important;
  background-color: var(--ex-surface-section-head) !important;
  color: var(--ex-schedule-section-head-text) !important;
  border-bottom: 1px solid var(--ex-schedule-section-head-border) !important;
}

/* Sub-table / MATCH micro = home 1|X|2 columns strip */
html.theme-light .exchange-app .ex-match-detail-page :is(
  .ex-match-table-subhead,
  .ex-indibet-list__columns,
  .ex-indian-grid__market-title,
  .ex-market--compact-detail .ex-market__header,
  .ex-cricket-scorecard__col-head th,
  .ex-cricket-scorecard__band-head,
  .ex-open-bets__cols,
  .ex-live-stream__toolbar,
  .ex-match-chart__modes,
  .ex-premium-score__brand
),
html.theme-dark .exchange-app .ex-match-detail-page :is(
  .ex-match-table-subhead,
  .ex-indibet-list__columns,
  .ex-indian-grid__market-title,
  .ex-market--compact-detail .ex-market__header,
  .ex-cricket-scorecard__col-head th,
  .ex-cricket-scorecard__band-head,
  .ex-open-bets__cols,
  .ex-live-stream__toolbar,
  .ex-match-chart__modes,
  .ex-premium-score__brand
) {
  background: var(--ex-surface-subhead) !important;
  background-color: var(--ex-surface-subhead) !important;
  border-bottom-color: var(--theme-match-list-columns-border, var(--ex-border)) !important;
  color: var(--ex-text-strong) !important;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-match-table-subhead :is(
  .ex-indibet-list__match-hd,
  .ex-indibet-list__match-hd-text,
  .ex-indibet-list__outcome-label,
  .ex-indibet-list__outcome-sublabel
),
html.theme-dark .exchange-app .ex-match-detail-page .ex-match-table-subhead :is(
  .ex-indibet-list__match-hd,
  .ex-indibet-list__match-hd-text,
  .ex-indibet-list__outcome-label,
  .ex-indibet-list__outcome-sublabel
) {
  color: var(--ex-text-strong) !important;
}

/* Keep Yes/No soft pastel chips — override strong text above */
html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label {
  background: var(--ex-fancy-yes-soft, color-mix(in srgb, var(--ex-yes) 28%, #FFFFFF)) !important;
  color: var(--ex-fancy-yes-ink, var(--bp-odds-ink, #0F172A)) !important;
  -webkit-text-fill-color: var(--ex-fancy-yes-ink, var(--bp-odds-ink, #0F172A)) !important;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label {
  background: var(--ex-fancy-no-soft, color-mix(in srgb, #DC2626 24%, #FEF2F2)) !important;
  color: var(--ex-fancy-no-ink, var(--bp-odds-ink, #0F172A)) !important;
  -webkit-text-fill-color: var(--ex-fancy-no-ink, var(--bp-odds-ink, #0F172A)) !important;
}

/* Goal Line Over|Under header chips only — invert vs page theme */
html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label {
  background: #166534 !important;
  color: #F0FDF4 !important;
  -webkit-text-fill-color: #F0FDF4 !important;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label,
html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:last-child:not(.ex-indibet-list__col--spacer) .ex-indibet-list__outcome-label,
html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3):not(.ex-indibet-list__col--spacer) .ex-indibet-list__outcome-label {
  background: #9F1239 !important;
  color: #FFF1F2 !important;
  -webkit-text-fill-color: #FFF1F2 !important;
}

html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) .ex-indibet-list__outcome-label {
  background: color-mix(in srgb, var(--ex-yes, #16A34A) 28%, #FFFFFF) !important;
  color: #14532D !important;
  -webkit-text-fill-color: #14532D !important;
}

html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) .ex-indibet-list__outcome-label,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:last-child:not(.ex-indibet-list__col--spacer) .ex-indibet-list__outcome-label,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3):not(.ex-indibet-list__col--spacer) .ex-indibet-list__outcome-label {
  background: color-mix(in srgb, #DC2626 24%, #FEF2F2) !important;
  color: #9F1239 !important;
  -webkit-text-fill-color: #9F1239 !important;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__outcome-label--spacer,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--fancy-lines .ex-indibet-list__outcome-label--spacer,
html.theme-light .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__outcome-label--spacer,
html.theme-dark .exchange-app .ex-match-detail-page .ex-inplay-group__list--goal-line .ex-indibet-list__outcome-label--spacer {
  background: var(--ex-surface-subhead) !important;
  color: var(--ex-muted) !important;
}

/* Table body / market rows = home match rows */
html.theme-light .exchange-app .ex-match-detail-page :is(
  .ex-market,
  .ex-event--indibet,
  .ex-indibet-row,
  .ex-open-bets,
  .ex-live-stream,
  .ex-match-detail-media,
  .ex-match-detail-board,
  .ex-match-detail-board__panels,
  .ex-match-detail-ledger,
  .ex-markets-wrap--sections[data-ex-markets-grid],
  .ex-cricket-scorecard,
  .ex-event-summary
),
html.theme-dark .exchange-app .ex-match-detail-page :is(
  .ex-market,
  .ex-event--indibet,
  .ex-indibet-row,
  .ex-open-bets,
  .ex-live-stream,
  .ex-match-detail-media,
  .ex-match-detail-board,
  .ex-match-detail-board__panels,
  .ex-match-detail-ledger,
  .ex-markets-wrap--sections[data-ex-markets-grid],
  .ex-cricket-scorecard,
  .ex-event-summary
) {
  background: var(--ex-surface-row) !important;
  background-color: var(--ex-surface-row) !important;
}

html.theme-light .exchange-app .ex-match-detail-page .ex-event--indibet:nth-child(even) .ex-indibet-row,
html.theme-dark .exchange-app .ex-match-detail-page .ex-event--indibet:nth-child(even) .ex-indibet-row {
  background: var(--ex-surface-row-alt, var(--ex-surface-row)) !important;
  background-color: var(--ex-surface-row-alt, var(--ex-surface-row)) !important;
}

/* Classic premium board stays on nested surface (not flattened to row). */
html.theme-light .exchange-app .ex-match-detail-page .ex-live-score-panel__hero-score,
html.theme-light .exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline),
html.theme-dark .exchange-app .ex-match-detail-page .ex-live-score-panel__hero-score,
html.theme-dark .exchange-app .ex-match-detail-page .ex-premium-score:not(.ex-premium-score--inline) {
  background: var(--ex-surface-nested, var(--theme-bg-sunken, var(--ex-surface-row))) !important;
  background-color: var(--ex-surface-nested, var(--theme-bg-sunken, var(--ex-surface-row))) !important;
  color: var(--ex-text-strong) !important;
}

/*
 * Sportsbook ledger unlock — indian-list mobile compresses 3-way into Back|Draw|Lay
 * and hides Away (nth-child 4) + Fancy No (nth-child 3). Match detail needs plain
 * 1 | X | 2 and Yes | No cells visible in one shared 4-col track.
 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-row__info,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns > .ex-indibet-list__col--info {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  min-width: 0;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border-left: none;
  z-index: auto;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns > .ex-indibet-list__col--draw {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  z-index: auto;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  z-index: auto;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome > .ex-indibet-outcome__back,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome > .ex-indibet-outcome__lay {
  display: flex !important;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  grid-column: auto !important;
}

/* Sportsbook match odds: one price per cell — hide empty lay half if present. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome > .ex-indibet-outcome__lay:empty,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row > .ex-indibet-outcome > .ex-indibet-outcome__lay:not(:has(.ex-price)) {
  display: none !important;
}

/* Fancy / Session — never inherit mobile “hide 3rd outcome” / Back|Lay span. */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

/* Goal Line — Over | dummy | Under in cols 2–4 (shared 1|X|2 track). */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--spacer,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(3).ex-indibet-outcome--spacer,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--spacer,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3).ex-indibet-list__col--spacer {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

/* Under always lands under Match Odds "2" (col 4) — even without a spacer node */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--away,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(3):not(.ex-indibet-outcome--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:last-child:not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3):not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  grid-template-columns: none !important;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections {
  border: 1px solid var(--ex-border) !important;
}

/*
 * LAST WORD — beat earlier display:grid + mobile sportsbook column templates.
 * Every row in the ledger frame must use identical 4 fixed tracks.
 */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--2way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--2way .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--3way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines.ex-inplay-group__list--3way .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--2way .ex-indibet-list__columns,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--2way .ex-indibet-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) var(--ex-ledger-cell) var(--ex-ledger-cell) var(--ex-ledger-cell) !important;
  column-gap: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  display: flex !important;
  grid-template-columns: none !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 2 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(3) {
  grid-column: 3 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--3way .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--2way .ex-indibet-row > .ex-indibet-outcome:nth-child(2),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(2) {
  grid-column: 2 !important;
  display: flex !important;
  grid-template-columns: none !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--2way:not(.ex-inplay-group__list--goal-line) .ex-indibet-row > .ex-indibet-outcome:nth-child(3),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(3) {
  grid-column: 3 !important;
  display: flex !important;
  grid-template-columns: none !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--sportsbook.ex-inplay-group__list--2way .ex-indibet-row > .ex-indibet-outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row > .ex-indibet-outcome:nth-child(4) {
  grid-column: 4 !important;
  display: flex !important;
  grid-template-columns: none !important;
}

/* Goal Line LAST WORD — Under always under "2" */
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--spacer {
  grid-column: 3 !important;
  display: flex !important;
  grid-template-columns: none !important;
}

.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome--away,
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(3):not(.ex-indibet-outcome--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-row > .ex-indibet-outcome:nth-child(4),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:last-child:not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(3):not(.ex-indibet-list__col--spacer),
.exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--goal-line .ex-indibet-list__columns > .ex-indibet-list__col--outcome:nth-child(4) {
  grid-column: 4 !important;
  display: flex !important;
  grid-template-columns: none !important;
}

@media (max-width: 991.98px) {
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-list__columns,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--match-detail.ex-inplay-group__list--3way:not(.ex-inplay-group__list--fancy-lines) .ex-indibet-row,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-list__columns,
  .exchange-app .ex-match-detail-page .ex-match-detail-ledger .ex-markets-wrap--sections[data-ex-markets-grid] .ex-inplay-group__list--fancy-lines .ex-indibet-row {
    grid-template-columns: minmax(0, 1fr) var(--ex-ledger-cell) var(--ex-ledger-cell) var(--ex-ledger-cell) !important;
  }
}
