/* Matched betting calculators: shared look (moved out of the pages, 24 Oct 2026). */
/* ===== Matched betting calculator (same clean, box-free look as the Profit Tracker) ===== */
.mb .cx {
  --g: #00ff9d; --c: #00d8ff; --p: #ff007f; --txt: #f0f2f5; --mut: #8a8d9b; --ln: rgba(255,255,255,.08);
  --pos: #00ff9d; --neg: #ff4d6d;
  width: min(1160px, 100%); margin: 0 auto; color: var(--txt); font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}
.mb .cx [hidden] { display: none !important; }
.mb .cx svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mb .cx .pos { color: var(--pos); } .mb .cx .neg { color: var(--neg); }

/* Hero */
.mb .cx-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 26px; }
.mb .cx-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--g); font-size: 11.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.mb .cx-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
.mb .cx-title { margin: 12px 0 10px; font: 800 clamp(2rem, 5vw, 3.2rem)/1.08 "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.mb .cx-sub { max-width: 540px; margin: 0; color: var(--mut); font-size: 15px; line-height: 1.6; }

/* Bet type switch */
.mb .cx-modes-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0 22px; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.mb .cx-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(10,11,16,.6); border: 1px solid var(--ln); }
.mb .cx-seg button { padding: 10px 18px; border: 0; border-radius: 10px; background: none; color: var(--mut); font: 700 13.5px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; transition: color .25s, background .3s var(--mb-ease), box-shadow .3s; }
.mb .cx-seg button:hover { color: #fff; }
.mb .cx-seg button[aria-pressed="true"] { color: #fff; background: rgba(0,255,157,.12); box-shadow: inset 0 0 0 1px rgba(0,255,157,.38), 0 0 16px rgba(0,255,157,.12); }
.mb .cx-help { display: flex; align-items: center; gap: 8px; max-width: 620px; margin: 0; color: var(--mut); font-size: 13.5px; line-height: 1.5; text-align: center; }
.mb .cx-help svg { flex: none; width: 16px; height: 16px; color: var(--c); }

/* Two halves with a hairline between them */
.mb .cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 44px; }
.mb .cx-in { padding: 30px 34px 30px 0; }
.mb .cx-out { padding: 30px 0 30px 34px; box-shadow: inset 1px 0 0 var(--ln); }
.mb .cx-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.mb .cx-out .cx-h { justify-content: center; }
.mb .cx-h h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font: 700 16px "Plus Jakarta Sans", Inter, sans-serif; }
.mb .cx-h h2 svg { width: 19px; height: 19px; color: var(--c); }
.mb .cx-clear { padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--mut); font: 600 13px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; }
.mb .cx-clear:hover { color: #fff; background: rgba(255,255,255,.05); }

/* Inputs */
.mb .cx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.mb .cx-fields .full { grid-column: 1 / -1; }
.mb .cx-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mb .cx-field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #d6d8e0; font-size: 13px; font-weight: 700; }
.mb .cx-field > span small { color: #6b6e7c; font-size: 11.5px; font-weight: 500; }
.mb .cx-box { position: relative; display: flex; align-items: center; height: 54px; border: 1px solid var(--ln); border-radius: 13px; background: rgba(10,11,16,.6); transition: border-color .2s, box-shadow .2s; }
.mb .cx-box:hover { border-color: rgba(255,255,255,.16); }
.mb .cx-box:focus-within { border-color: rgba(0,216,255,.55); box-shadow: 0 0 0 3px rgba(0,216,255,.12); }
.mb .cx-box b { flex: none; padding: 0 0 0 16px; color: var(--mut); font-size: 16px; font-weight: 700; }
.mb .cx-box b.after { padding: 0 16px 0 0; }
.mb .cx-box input, .mb .cx-box select { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 10px; border: 0; background: none; color: #fff; font: 700 18px "Plus Jakarta Sans", Inter, sans-serif; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.mb .cx-box input:only-child, .mb .cx-box select:only-child { padding-left: 16px; }
.mb .cx-box select { font-size: 15px; font-weight: 600; cursor: pointer; appearance: none; }
.mb .cx-box select option { background: #121218; }
.mb .cx-box input::-webkit-outer-spin-button, .mb .cx-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mb .cx-box input::placeholder { color: #4b4e5a; font-weight: 600; }
.mb .cx-note { margin: 14px 0 0; color: #6b6e7c; font-size: 12.5px; }
.mb .cx-extra { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ln); }
.mb .cx-extra h3 { margin: 0 0 14px; color: var(--mut); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Advanced: underlay / overlay */
.mb .cx-adv { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ln); }
.mb .cx-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.mb .cx-switch b { display: block; font-size: 14.5px; font-weight: 700; }
.mb .cx-switch small { display: block; margin-top: 3px; color: var(--mut); font-size: 12.5px; font-weight: 500; }
.mb .cx-toggle { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--ln); transition: background .25s; }
.mb .cx-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d6d8e0; transition: transform .3s var(--mb-ease), background .25s; }
.mb .cx-switch[aria-expanded="true"] .cx-toggle { background: rgba(0,255,157,.25); box-shadow: inset 0 0 0 1px rgba(0,255,157,.5); }
.mb .cx-switch[aria-expanded="true"] .cx-toggle::after { transform: translateX(20px); background: var(--g); }
.mb .cx-adv-body { padding-top: 18px; }
.mb .cx-slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mb .cx-slider-head span { color: var(--mut); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mb .cx-slider-head strong { color: #fff; font-size: 15px; font-weight: 800; }
.mb .cx-slider-head strong.under { color: #fbbf24; } .mb .cx-slider-head strong.over { color: var(--c); }
.mb .cx-range { width: 100%; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mb .cx-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(251,191,36,.7), rgba(255,255,255,.14) 50%, rgba(0,216,255,.7)); }
.mb .cx-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(251,191,36,.7), rgba(255,255,255,.14) 50%, rgba(0,216,255,.7)); }
.mb .cx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid #0b0d14; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 4px 12px rgba(0,0,0,.5); }
.mb .cx-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid #0b0d14; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.mb .cx-range:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; border-radius: 6px; }
.mb .cx-ticks { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.mb .cx-ticks button { flex: 1; max-width: 130px; height: 36px; padding: 0 12px; border: 1px solid var(--ln); border-radius: 11px; background: rgba(255,255,255,.04); color: #d4d4d8; font: 700 12.5px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--mb-ease); }
.mb .cx-ticks button:hover { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); transform: translateY(-1px); }
.mb .cx-ticks button[aria-pressed="true"] { color: #0b0b10; background: #e7e7ea; border-color: #fff; }
.mb .cx-ticks button[data-shift="-100"][aria-pressed="true"] { background: #fbbf24; border-color: #fbbf24; }
.mb .cx-ticks button[data-shift="100"][aria-pressed="true"] { background: #22d3ee; border-color: #22d3ee; }
.mb .cx-adv-text { margin: 12px 0 0; color: var(--mut); font-size: 13px; line-height: 1.55; }

/* Results */
.mb .cx-lay { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--ln); text-align: center; }
.mb .cx-lay .lbl { display: block; color: var(--mut); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mb .cx-lay strong { display: block; margin-top: 6px; color: #fff; font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mb .cx-lay .tag { display: inline-block; margin-top: 8px; color: var(--mut); font-size: 12.5px; }
.mb .cx-copy { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: none; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px;
  background: #fff; color: #0b0b10; font: 800 14.5px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 28px rgba(255,255,255,.12); transition: transform .2s var(--mb-ease), box-shadow .25s, filter .2s; }
.mb .cx-copy svg { width: 16px; height: 16px; stroke-width: 2.4; }
.mb .cx-lay .cx-copy { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 13px; gap: 7px; }
.mb .cx-copy:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255,255,255,.22); }
.mb .cx-copy:active { transform: scale(.97); }
.mb .cx-copy:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.mb .cx-copy.done { background: #d1fae5; color: #064e3b; }
.mb .cx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 0; border-bottom: 1px solid var(--ln); }
.mb .cx-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; min-width: 0; }
.mb .cx-stat + .cx-stat { box-shadow: inset 1px 0 0 var(--ln); }
.mb .cx-stat > span { color: var(--mut); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.mb .cx-stat strong { margin-top: 8px; color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb .cx-stat small { margin-top: 4px; color: #6b6e7c; font-size: 11.5px; }
.mb .cx-tbl { width: 100%; margin-top: 6px; border-collapse: collapse; }
.mb .cx-tbl th { padding: 14px 8px 10px; color: var(--mut); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: right; border-bottom: 1px solid var(--ln); }
.mb .cx-tbl th:first-child, .mb .cx-tbl td:first-child { padding-left: 0; text-align: left; }
.mb .cx-tbl th:last-child, .mb .cx-tbl td:last-child { padding-right: 0; }
.mb .cx-tbl td { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.05); color: #d6d8e0; font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb .cx-tbl td:first-child { color: #fff; font-weight: 700; white-space: normal; }
.mb .cx-tbl td.tot { font-weight: 800; font-size: 15px; }
.mb .cx-save { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.mb .cx-save-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: rgba(255,255,255,.05); color: #fff; font: 700 15px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--mb-ease); }
.mb .cx-save-btn svg { width: 18px; height: 18px; color: var(--g); }
.mb .cx-save-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(0,255,157,.45); }
.mb .cx-save-btn:disabled { opacity: .4; cursor: default; }
.mb .cx-save p { margin: 0; color: #6b6e7c; font-size: 12.5px; text-align: center; }
.mb .cx-save p a { color: var(--c); }
.mb .cx-waiting { opacity: .45; }

/* Results stay hidden until there is something to show, then slide in */
.mb .cx-grid.cx-empty { grid-template-columns: minmax(0, 620px); justify-content: center; }
.mb .cx-grid.cx-empty .cx-out { display: none; }
.mb .cx-grid.cx-empty .cx-in { padding: 30px 0; }
.mb .cx-grid.cx-open .cx-out { animation: cxOut .9s cubic-bezier(.22, 1, .36, 1) .12s both; }
@keyframes cxOut { from { opacity: 0; transform: translateX(18px); } 40% { opacity: .35; } }
@media (max-width: 960px) {
  @keyframes cxOut { from { opacity: 0; transform: translateY(16px); } 40% { opacity: .35; } }
}
@media (prefers-reduced-motion: reduce) { .mb .cx-grid.cx-open .cx-out { animation: none; } }

/* Explainers: a divided row, no boxes */
.mb .cx-learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.mb .cx-learn div { padding: 22px 20px; }
.mb .cx-learn div + div { box-shadow: inset 1px 0 0 var(--ln); }
.mb .cx-learn b { display: block; margin-bottom: 6px; color: #fff; font-size: 14.5px; }
.mb .cx-learn p { margin: 0; color: var(--mut); font-size: 13px; line-height: 1.6; }
.mb .cx-safe { max-width: 820px; margin: 34px auto 0; border: 0; background: none; justify-content: center; text-align: left; }

@media (max-width: 960px) {
  .mb .cx-grid { grid-template-columns: minmax(0, 1fr); }
  .mb .cx-in { padding: 26px 0; }
  .mb .cx-out { padding: 26px 0 0; box-shadow: inset 0 1px 0 var(--ln); }
  .mb .cx-learn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb .cx-learn div:nth-child(3) { box-shadow: none; }
  .mb .cx-learn div:nth-child(n+3) { border-top: 1px solid var(--ln); }
}
@media (max-width: 560px) {
  .mb .cx-seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .mb .cx-seg button { padding: 11px 6px; }
  .mb .cx-fields { gap: 16px 12px; }
  .mb .cx-box { height: 52px; }
  .mb .cx-box input { font-size: 17px; }
  .mb .cx-lay { align-items: center; }
  .mb .cx-copy { width: auto; }
  .mb .cx-stat > span { font-size: 9.5px; letter-spacing: .08em; }
  .mb .cx-tbl th { font-size: 9.5px; padding-left: 4px; padding-right: 4px; }
  .mb .cx-tbl td { padding: 13px 4px; font-size: 13px; }
  .mb .cx-learn { grid-template-columns: minmax(0, 1fr); }
  .mb .cx-learn div + div { box-shadow: none; border-top: 1px solid var(--ln); }
  .mb .cx-learn div { text-align: center; padding: 18px 4px; }
  .mb .cx-safe { flex-direction: row; gap: 10px; padding: 12px 4px; text-align: left; font-size: 12.5px; }
}
@media (max-width: 1023px) { .mb .mb-main { padding-top: 26px; } }
