/* bxm1 (owner 27 Nov): Banana skin (html.skin-ex) = bananaexch8.com look. Only rules under html.skin-ex - lime999.xyz's own look is untouched.
   Loaded last (after lm-fit.css). Remove: delete the bx-match.css / bx-match.js tags in index.html. */

/* ---------- 1. price change: the whole odds box flashes yellow like Banana (#ffc01a, 0.3 s) ---------- */
@keyframes bxmBlink { 0%, 99% { box-shadow: inset 0 0 0 300px #ffc01a; } 100% { box-shadow: none; } }
html.skin-ex .mkt .cell.up-flash,
html.skin-ex .mkt .cell.dn-flash { animation: bxmBlink .3s linear 1 !important; }

/* ---------- 2. match page: Banana's box sizes and fonts ---------- */
html.skin-ex .mkt .cell b { color: #333 !important; }
html.skin-ex .mkt .cell small { color: #333 !important; }
html.skin-ex .mkt .cell.ob, html.skin-ex .mkt .cell.ol { color: #333 !important; }
html.skin-ex .mkt .cols { text-transform: none !important; color: #333 !important; font-weight: 700 !important; }

@media (min-width: 992px) {
  /* desktop: every odds box 80 px, price 18 px bold, volume 12 px, title 15 px, runner 14 px bold */
  /* (Bookmaker with 6 boxes, .bx-bm6, keeps its own 60 px grid: its empty "-" boxes are drawn at fixed 60 px offsets) */
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-bm6) .cols,
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-bm6) .row { grid-template-columns: minmax(0, 1fr) repeat(6, 80px) !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two .cols,
  html.skin-ex #app #mktHost > .mkt.bx-two .row { grid-template-columns: minmax(0, 1fr) 80px 80px !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .cols,
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .row { grid-template-columns: minmax(0, 1fr) 80px !important; }
  html.skin-ex #app #mktHost .mkt.fancy .cols,
  html.skin-ex #app #mktHost .mkt.fancy .row { grid-template-columns: minmax(0, 1fr) 80px 80px 58px !important; }
  /* the grey SUSPENDED cover spans exactly the price boxes */
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-bm6) .row > .susp { width: 480px !important; right: 0 !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two .row > .susp { width: 160px !important; right: 0 !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .row > .susp { width: 80px !important; }
  html.skin-ex #app #mktHost .mkt.fancy .row > .susp { width: 160px !important; right: 58px !important; }
  html.skin-ex #app #mktHost .mkt .cell b { font-size: 18px !important; line-height: 1.05 !important; }
  html.skin-ex #app #mktHost .mkt .cell small { font-size: 12px !important; }
  html.skin-ex #app #mktHost .mkt .mh { font-size: 15px !important; }
  html.skin-ex #app #mktHost .mkt .cols { font-size: 16px !important; }
  html.skin-ex #app #mktHost .mkt .rn { font-size: 14px !important; }
}
@media (max-width: 991px) {
  /* phone: match odds boxes 47 px, price 15 px bold, volume 11 px, title 13 px */
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-half):not(.bx-bm6) .cols,
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-half):not(.bx-bm6) .row { grid-template-columns: minmax(0, 1fr) repeat(6, 47px) !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two .cols,
  html.skin-ex #app #mktHost > .mkt.bx-two .row { grid-template-columns: minmax(0, 1fr) 78px 78px !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .cols,
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .row { grid-template-columns: minmax(0, 1fr) 78px !important; }
  html.skin-ex #app #mktHost > .mkt:not(.fancy):not(.bx-two):not(.bx-half):not(.bx-bm6) .row > .susp { width: 282px !important; right: 0 !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two .row > .susp { width: 156px !important; right: 0 !important; }
  html.skin-ex #app #mktHost > .mkt.bx-two.bx-nolay .row > .susp { width: 78px !important; }
  html.skin-ex #app #mktHost .mkt .cell b { font-size: 15px !important; }
  html.skin-ex #app #mktHost .mkt .cell small { font-size: 11px !important; }
  html.skin-ex #app #mktHost .mkt .mh { font-size: 13px !important; }
  html.skin-ex #app #mktHost .mkt .cols { font-size: 14px !important; }
  html.skin-ex #app #mktHost .mkt .rn { font-size: 13px !important; }
}

/* ---------- 3. login / sign-up: Banana's login page ---------- */
/* the left-menu gap (240 px) pushed the page off centre */
html.skin-ex.bxp-auth .shell { margin-left: 0 !important; width: 100% !important; max-width: none !important; }
html.skin-ex.bxp-auth #app, html.skin-ex.bxp-auth .main { width: 100% !important; max-width: none !important; margin-left: 0 !important; }
html.skin-ex.bxp-auth body, html.skin-ex.bxp-auth .authpage { background: #000 !important; font-family: "Roboto Condensed", sans-serif !important; }
html.skin-ex.bxp-auth .authpage { padding: 36px 12px 90px !important; box-sizing: border-box !important; }
html.skin-ex.bxp-auth .bx-auth-logo { margin: 0 auto !important; width: 350px !important; max-width: 90vw !important; text-align: center !important; }
html.skin-ex.bxp-auth .bx-auth-logo img { width: 350px !important; max-width: 100% !important; height: auto !important; }
html.skin-ex.bxp-auth .authcard { width: 350px !important; max-width: calc(100vw - 24px) !important; margin: 24px auto 0 !important; background: #fff !important; border-radius: 4px !important; box-shadow: 0 0 5px #fff !important; border: 0 !important; padding: 0 !important; }
html.skin-ex.bxp-auth .authcard .in { padding: 20px !important; background: #fff !important; }
html.skin-ex.bxp-auth .authcard h1 { font-size: 22px !important; font-weight: 400 !important; color: #000 !important; text-align: center !important; margin: 0 0 12px !important; line-height: 1.2 !important; }
html.skin-ex.bxp-auth .authcard h1::after { filter: grayscale(1) brightness(0) !important; }
/* fields: white, thin grey border, square corners, grey icon box on the right */
html.skin-ex.bxp-auth .authcard .field56 { height: 36px !important; margin: 0 0 14px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; }
html.skin-ex.bxp-auth .authcard input:not([type=checkbox]) { height: 36px !important; font-size: 16px !important; color: #000 !important; background: #fff !important; border: 1px solid #dbdbdb !important; border-radius: 0 !important; padding: 5px !important; box-shadow: none !important; }
html.skin-ex.bxp-auth .authcard input::placeholder { color: #6c757d !important; opacity: 1 !important; }
html.skin-ex.bxp-auth body .authcard form input:-webkit-autofill,
html.skin-ex.bxp-auth body .authcard form input:-webkit-autofill:hover,
html.skin-ex.bxp-auth body .authcard form input:-webkit-autofill:focus,
html.skin-ex.bxp-auth body .authcard #lf input:-webkit-autofill,
html.skin-ex.bxp-auth body .authcard #lf input:-webkit-autofill:hover,
html.skin-ex.bxp-auth body .authcard #lf input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #000 !important; caret-color: #000; }
html.skin-ex.bxp-auth .authcard .eye { background: #e9ecef !important; border: 1px solid #ced4da !important; border-radius: 0 4px 4px 0 !important; color: #212529 !important; width: 40px !important; height: 36px !important; }
/* buttons: black, white text, icon on the right */
html.skin-ex.bxp-auth .authcard button.btn.primary,
html.skin-ex.bxp-auth .authcard form button[type=submit] { width: 100% !important; height: 38px !important; background: #000 !important; border: 1px solid #000 !important; border-radius: 0 !important; color: #fff !important; font-size: 16px !important; font-weight: 400 !important; text-transform: none !important; position: relative !important; box-shadow: none !important; }
html.skin-ex.bxp-auth .authcard button.btn.primary::after,
html.skin-ex.bxp-auth .authcard form button[type=submit]::after { content: "" !important; display: block !important; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M9 1h5a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9v-2h4V3H9V1zM6.5 4 11 8l-4.5 4V9.2H1V6.8h5.5V4z'/%3E%3C/svg%3E"); }
/* the base theme uses ::after for a sliding shine on buttons - switch it off here so the icon sits still on the right */
html.skin-ex.bxp-auth body .authcard #lb::after,
html.skin-ex.bxp-auth body .authcard form button[type=submit]::after { content: "" !important; display: block !important; left: auto !important; right: 12px !important; top: 50% !important; margin-top: -7px !important; width: 14px !important; height: 14px !important; transform: none !important; animation: none !important; transition: none !important; opacity: 1 !important; }
html.skin-ex.bxp-auth .authcard p.alt { font-size: 14px !important; color: #000 !important; text-align: center !important; margin: 10px 0 0 !important; }
html.skin-ex.bxp-auth .authcard p.alt a { color: #0d6efd !important; text-decoration: none !important; font-weight: 400 !important; }
/* footer: links bottom-left, "24X7 Support" in the middle */
html.skin-ex.bxp-auth .bx-auth-ft { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; margin: 0 !important; padding: 0 12px 14px !important; background: transparent !important; height: auto !important; }
html.skin-ex.bxp-auth .bx-auth-ft .tl { display: flex !important; justify-content: flex-start !important; gap: 14px !important; width: auto !important; position: absolute !important; left: 12px !important; bottom: 16px !important; }
html.skin-ex.bxp-auth .bx-auth-ft .tl a { color: #fff !important; font-size: 12px !important; font-weight: 700 !important; text-decoration: none !important; }
html.skin-ex.bxp-auth .bx-auth-ft > b { display: block !important; text-align: center !important; color: #fff !important; font-size: 18px !important; font-weight: 700 !important; }
@media (max-width: 991px) {
  html.skin-ex.bxp-auth .bx-auth-logo, html.skin-ex.bxp-auth .bx-auth-logo img { width: 250px !important; }
  html.skin-ex.bxp-auth .bx-auth-ft { position: static !important; margin-top: 40px !important; }
  html.skin-ex.bxp-auth .bx-auth-ft .tl { position: static !important; justify-content: center !important; margin-bottom: 10px !important; }
}

/* ---------- 4. bxm2: Cashout button on each market header (Banana: green #198754, square, 14 px).
   Drawn as .mh::after (no element is added to the market boxes); bx-match.js sets data-bxm-co="1" when that market
   has bets that can be cashed out, and catches clicks on the right 76 px of the header. ---------- */
/* Banana shows it (greyed until there is something to cash out) on Match Odds, Bookmaker, Tied Match, Score More Runs;
   not on the small half-width markets (.bx-hw: odd/even, over runs, wicket) unless the player has a bet there to cash out. */
html.skin-ex #mktHost > .mkt:not(.fancy) > .mh { position: relative !important; }
html.skin-ex #mktHost > .mkt:not(.fancy):not(.bx-hw) > .mh::after,
html.skin-ex #mktHost > .mkt[data-bxm-co="1"]:not(.fancy) > .mh::after { content: "Cashout"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: #198754; border: 1px solid #198754; color: #fff; border-radius: 0; font: 400 14px/21px "Roboto Condensed", sans-serif; padding: 4px 8px; opacity: .65; text-transform: none; letter-spacing: 0; pointer-events: none; }
html.skin-ex #mktHost > .mkt[data-bxm-co="1"] > .mh::after { opacity: 1; }
/* confirm box */
.bxm-ov { position: fixed; inset: 0; z-index: 10050; background: rgba(0, 0, 0, .5); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; font-family: "Roboto Condensed", sans-serif; }
.bxm-box { width: 360px; max-width: calc(100vw - 24px); background: #fff; color: #000; border-radius: 0; box-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.bxm-hd { background: #000; color: #fff; font-size: 16px; font-weight: 700; padding: 10px 12px; display: flex; align-items: center; }
.bxm-x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.bxm-bd { padding: 12px; font-size: 15px; }
.bxm-mk { font-weight: 700; margin-bottom: 8px; }
.bxm-bd table { width: 100%; border-collapse: collapse; }
.bxm-bd td { padding: 6px 0; border-bottom: 1px solid #e5e5e5; }
.bxm-bd td.r { text-align: right; }
.bxm-bd td.pos { color: #198754; } .bxm-bd td.neg { color: #d71920; }
.bxm-msg { margin-top: 8px; font-size: 14px; min-height: 18px; }
.bxm-msg.ok { color: #198754; } .bxm-msg.warn { color: #b45309; }
.bxm-ft { display: flex; justify-content: flex-end; gap: 8px; padding: 0 12px 12px; }
.bxm-ft button { border-radius: 0; font: 400 15px "Roboto Condensed", sans-serif; padding: 7px 16px; cursor: pointer; border: 1px solid #000; }
.bxm-no { background: #fff; color: #000; }
.bxm-yes { background: #198754; border-color: #198754 !important; color: #fff; }
.bxm-yes:disabled { opacity: .65; }

/* ---------- 5. bxm2: Set Button Value pop-up (premium15 editor) in Banana's look ---------- */
html.skin-ex #lm15ed .lm15-box { background: #fff !important; color: #000 !important; border-radius: 0 !important; padding: 0 !important; width: 500px !important; max-width: calc(100vw - 24px) !important; font-family: "Roboto Condensed", sans-serif !important; overflow: hidden; }
html.skin-ex #lm15ed .lm15-hd { background: #000 !important; color: #fff !important; padding: 10px 14px !important; margin: 0 !important; }
html.skin-ex #lm15ed .lm15-hd b { color: #fff !important; font-size: 18px !important; font-weight: 700 !important; }
html.skin-ex #lm15ed .lm15-x { background: none !important; color: #fff !important; border: 0 !important; font-size: 24px !important; }
html.skin-ex #lm15ed .lm15-sub { display: none !important; }
html.skin-ex #lm15ed .lm15-tabs { display: flex !important; gap: 0 !important; margin: 12px 14px 8px !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
html.skin-ex #lm15ed .lm15-tabs button { flex: 0 0 auto !important; border-radius: 0 !important; background: #ddd !important; color: #000 !important; border: 0 !important; padding: 6px 14px !important; font: 400 14px "Roboto Condensed", sans-serif !important; box-shadow: none !important; }
html.skin-ex #lm15ed .lm15-tabs button.on { background: #000 !important; color: #fff !important; }
html.skin-ex #lm15ed .lm15-grid { padding: 0 14px !important; gap: 8px 16px !important; }
html.skin-ex #lm15ed .lm15-grid span { color: #000 !important; font-weight: 700 !important; font-size: 13px !important; }
html.skin-ex #lm15ed .lm15-grid input { border-radius: 0 !important; border: 1px solid #dbdbdb !important; background: #fff !important; color: #000 !important; height: 34px !important; font-size: 15px !important; box-shadow: none !important; }
html.skin-ex #lm15ed .lm15-grid small { color: #555 !important; }
html.skin-ex #lm15ed .lm15-ft { padding: 12px 14px 14px !important; justify-content: flex-start !important; gap: 8px !important; }
html.skin-ex #lm15ed .lm15-ft .btn { border-radius: 0 !important; font: 400 15px "Roboto Condensed", sans-serif !important; height: 36px !important; box-shadow: none !important; }
html.skin-ex #lm15ed .lm15-ft .btn.primary { order: -1; background: #000 !important; color: #fff !important; border: 1px solid #000 !important; min-width: 140px; }
html.skin-ex #lm15ed .lm15-ft .btn.ghost { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; }

/* ---------- 6. bxm3: bet slip "Reset" (red, between Edit and Submit, like Banana) ---------- */
html.skin-ex #slipBody > #bxmReset { height: 36px; align-self: center; margin: 0; padding: 0 6px; background: #bd1828; border: 1px solid #bd1828; color: #fff; border-radius: 0; font: 400 16px "Roboto Condensed", sans-serif; cursor: pointer; box-shadow: none; }
html.skin-ex #slipBody > #bxmReset:hover { background: #a3111f; }

/* ---------- 7. bxm3: Bookmaker with 6 boxes - desktop boxes 80 px like Banana (was 60) ---------- */
@media (min-width: 992px) {
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .cols,
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row { grid-template-columns: minmax(0, 1fr) repeat(6, 80px) !important; }
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row::before,
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row::after { width: 160px !important; word-spacing: 71px !important; }
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row::before { right: 320px !important; background: linear-gradient(90deg, #a7d4f4 0, #a7d4f4 79px, #fff 79px, #fff 80px, #a7d4f4 80px) !important; }
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row::after { right: 0 !important; background: linear-gradient(90deg, #fff 0, #fff 1px, #fbbfcc 1px, #fbbfcc 80px, #fff 80px, #fff 81px, #fbbfcc 81px) !important; }
  html.skin-ex #app #mktHost > .mkt.bx-bm6 .row > .susp { width: 480px !important; }
}

/* ---------- 8. bxm4: match-list icons (live dot, TV, f, BM) in 35 px columns like Banana ---------- */
html.skin-ex .bx-evh > :first-child { flex: 1 1 auto; min-width: 0; }
html.skin-ex .bx-evh .bx-evi { width: 35px !important; flex: 0 0 35px !important; display: flex !important; justify-content: center; align-items: center; }
html.skin-ex .bx-evh .bx-evi .dot { width: 12px !important; height: 12px !important; }
html.skin-ex .bx-evh .bxm-ic { display: flex; flex: 0 0 auto; align-items: center; align-self: center; }
html.skin-ex .bx-evh .bxm-ic i { width: 35px; height: 14px; display: flex; justify-content: center; align-items: center; color: #000; font-style: normal; }
html.skin-ex .bx-evh .bxm-ic b.f { font: italic 700 14px/1 Georgia, serif; }
html.skin-ex .bx-evh .bxm-ic b.bm { font: 700 11px/1 "Roboto Condensed", sans-serif; letter-spacing: .2px; }
@media (max-width: 991px) { html.skin-ex .bx-evh .bx-evi { width: 22px !important; flex-basis: 22px !important; } html.skin-ex .bx-evh .bxm-ic i { width: 22px; } }

/* ---------- 9. bxm8: Rules as a pop-up like Banana ---------- */
html.skin-ex.bxm-rules body { overflow: hidden !important; }
html.skin-ex #bxmRulesOv { position: fixed; inset: 0; z-index: 10055; background: rgba(0, 0, 0, .5); }
html.skin-ex.bxm-rules #app > .panelbox.lm14-rules { position: fixed !important; z-index: 10060 !important; top: 28px !important; left: 50% !important; transform: translateX(-50%); width: min(1140px, calc(100vw - 16px)) !important; max-width: none !important; max-height: calc(100vh - 56px) !important; margin: 0 !important; display: flex !important; flex-direction: column; background: #fff !important; border-radius: 0 !important; box-shadow: 0 6px 30px rgba(0, 0, 0, .5) !important; padding: 0 !important; overflow: hidden !important; }
html.skin-ex.bxm-rules #app > .panelbox.lm14-rules > h2 { position: relative; flex: 0 0 auto; margin: 0 !important; background: #000 !important; color: #fff !important; padding-right: 50px !important; }
html.skin-ex.bxm-rules #app > .panelbox.lm14-rules > :not(h2):not(.bxm-rft) { flex: 1 1 auto; min-height: 0; overflow: auto; }
html.skin-ex .bxm-rx { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
html.skin-ex .bxm-rft { flex: 0 0 auto; display: flex; justify-content: flex-end; padding: 10px 14px; border-top: 1px solid #e5e5e5; background: #fff; }
html.skin-ex .bxm-rft button { background: #bd1828; border: 1px solid #bd1828; color: #fff; border-radius: 0; font: 400 15px "Roboto Condensed", sans-serif; padding: 6px 14px; cursor: pointer; }
@media (max-width: 991px) { html.skin-ex.bxm-rules #app > .panelbox.lm14-rules { top: 8px !important; max-height: calc(100vh - 16px) !important; } }

/* ---------- 10. bxm9: casino table page like Banana - cards panel, View All, Rules table ---------- */
html.skin-ex #app .ct #tvBox #cardsBar { display: none !important; }
html.skin-ex #app .ct #tvBox #bxmCards { position: absolute; z-index: 3; top: 30px; left: 0; padding: 4px 8px 6px; background: rgba(0, 0, 0, .78); pointer-events: none; }
html.skin-ex #bxmCards .bxm-cr b { display: block; color: #fff; font: 700 13px/1.4 "Roboto Condensed", sans-serif; margin-top: 2px; }
html.skin-ex #bxmCards .bxm-cr > div { display: flex; gap: 3px; }
html.skin-ex #bxmCards .card { width: 30px; height: 42px; font-size: 11px; padding: 2px 3px; border-radius: 2px; box-sizing: border-box; }
html.skin-ex #bxmCards .card.bxm-back { background: repeating-linear-gradient(45deg, #3a78c9 0 3px, #9cc4f2 3px 6px); border: 2px solid #fff; padding: 0; }
html.skin-ex #app .ct .section > .section-h { display: flex; align-items: center; }
html.skin-ex #app .ct .section > .section-h .bxm-va { margin-left: auto; color: #fff; font: 400 13px "Roboto Condensed", sans-serif; text-decoration: none; padding-left: 10px; }
html.skin-ex #app .ct .section > .section-h .bxm-va:hover { text-decoration: underline; }
html.skin-ex #bxmCRules h5 { margin: 6px 0 0; background: #000; color: #fff; font: 700 15px/1 "Roboto Condensed", sans-serif; padding: 9px 10px; }
html.skin-ex #bxmCRules table { width: 100%; border-collapse: collapse; background: #fff; color: #000; font: 400 13px "Roboto Condensed", sans-serif; }
html.skin-ex #bxmCRules th { font-weight: 700; text-align: center; padding: 6px; border-bottom: 1px solid #dee2e6; background: #f2f2f2; }
html.skin-ex #bxmCRules td { padding: 5px 8px; border-bottom: 1px solid #dee2e6; }
html.skin-ex #bxmCRules td + td { width: 45%; }
