/**
 * dream444-fullmarket.r5.css
 *
 * DREAM444_PARITY — presentationProfile = dream444_classic_parity ONLY.
 * Scope: FullMarket Match Odds / Bookmaker / Fancy chrome.
 * Cash Out visibility contract: always visible on primary Match Odds;
 * capability only gates enabled/disabled (lionsports-velki-cashout.js).
 *
 * No hostname selectors. No post-paint DOM. No odds/finance changes.
 */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds.outer-divs {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  min-height: 28px;
  box-sizing: border-box;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .match-odds {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .ls-dream-cashout {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 0.92;
  min-width: 78px;
  min-height: 20px;
  margin-left: 4px;
  align-items: center;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .ls-dream-cashout.is-disabled {
  opacity: 0.92;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .ls-dream-cashout .cashout-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .ls-dream-cashout .cashout-icon {
  width: 14px;
  height: 14px;
  background-color: #ffb900;
  color: #000;
  border: 1px solid #000;
  border-radius: 2px;
  box-sizing: border-box;
}

/* Min/Max chrome — values remain canonical from resolveStakeLimits */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy-info.matchoddsminmax,
html[data-presentation-profile="dream444_classic_parity"] app-market-details #minMaxBox,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .matchoddsminmax {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Back / Lay column headers — preserve #72bbef / pink family */
html[data-presentation-profile="dream444_classic_parity"] app-market-details th.back-1,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .back-1 {
  background: var(--inplay-cmp-back-background, #72bbef) !important;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details th.lay-1,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .lay-1 {
  background: var(--inplay-cmp-lay-background, #faa9ba) !important;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .betfair-tbl .back,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .tbl-bets .back {
  background: var(--inplay-cmp-back-background, #72bbef) !important;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .betfair-tbl .lay,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .tbl-bets .lay {
  background: var(--inplay-cmp-lay-background, #faa9ba) !important;
}

/* Suspended overlay — center red plate; do not invent status */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .suspended {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #ca1010;
  background: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

/* Match Odds body: no inner scroller; rows keep Dream cell height when ladders are 0 */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .table-responsive.position-relative {
  overflow: hidden !important;
}
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .odd-row td.team-name,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .odd-row td.back-1,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .odd-row td.lay-1 {
  height: 42px;
  vertical-align: middle;
  box-sizing: border-box;
}
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .odd-row a.back,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .odd-row a.lay {
  display: block;
  min-height: 35px;
  line-height: 18px;
  box-sizing: border-box;
}
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .match-inn-txt-top,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd .match-inn-txt-btm {
  min-height: 16px;
  line-height: 16px;
}

/* Market section rhythm */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.matchodd,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy-card {
  margin-bottom: 6px;
}

/* Fancy Bet | Sportsbook head — absolute like dream444.win (cleared by .fancy_bet_tab-wrap margin-top) */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy-head,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .sportsbook-head,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .bookmaker {
  position: absolute !important;
  top: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  z-index: 2;
}

/* Filter strip sits under slanted tabs — do not add extra offset beyond Angular 30.2px */
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy_bet_tab-wrap {
  margin-top: 30.2px !important;
}

html[data-presentation-profile="dream444_classic_parity"] app-market-details .card.mb-0.noborder > .p-rltv,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .p-rltv:has(> .fancy-head) {
  position: relative !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Fancy Bet + Sportsbook always paired (dream444.win) — never hide either tab alone */
html[data-presentation-profile="dream444_classic_parity"] app-market-details h4.in-play,
html[data-presentation-profile="dream444_classic_parity"] app-market-details h4.in-play-sportbook,
html[data-presentation-profile="dream444_classic_parity"] app-market-details h4.dream-sportsbook-hidden,
html[data-presentation-profile="dream444_classic_parity"] app-market-details h4.dream-fancy-hidden,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy-head h4.in-play,
html[data-presentation-profile="dream444_classic_parity"] app-market-details .fancy-head h4.in-play-sportbook {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  margin: 0 !important;
}

/* Mobile: keep Cash Out in header footprint; no horizontal overflow */
@media screen and (max-width: 991px) {
  html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds.outer-divs {
    min-height: 26px;
    padding-right: 4px;
  }

  html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .ls-dream-cashout {
    min-width: 70px;
    min-height: 18px;
  }

  html[data-presentation-profile="dream444_classic_parity"] app-market-details .card-matchodds .match-odds {
    font-size: 12px;
    max-width: calc(100% - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[data-presentation-profile="dream444_classic_parity"] app-market-details,
  html[data-presentation-profile="dream444_classic_parity"] app-market-details .card {
    max-width: 100%;
    overflow-x: hidden;
  }
}
