button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

.btn-auth, .notif-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════════════════════════
   FIX 1 — PARENT WRAPPER FORCE-CLOSED
   The @media (min-width: 901px) block now terminates at the correct
   brace. The previously-nested tablet token override has been
   extracted to its own standalone media query below.
═══════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .header-desktop .odds-toggle-wrapper, .header-desktop .language-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 4px;
  }

  .header-desktop .odds-toggle-wrapper .label, .header-desktop .language-toggle-wrapper .label {
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
  }

  .header-desktop .row-top .odds-format {
    display: inline-flex;
    align-items: center;
    width: 235px;
    flex: 0 0 235px;
  }

  .header-desktop .row-top .language-selector {
    display: inline-flex;
    align-items: center;
    width: 270px;
    flex: 0 0 270px;
  }

  .header-desktop .odds-toggle, .header-desktop .language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    height: 24px;
    padding: 4px 6px;
    box-sizing: border-box;
    width: auto;
    flex: 0 0 auto;
    background: none;
    border: none;
    overflow: hidden;
    white-space: nowrap;
  }

  .header-desktop .odds-toggle .odds-label, .header-desktop .language-toggle .lang-label {
    color: var(--text-secondary, #00eaff);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-desktop .language-toggle .lang-label {
    max-width: 160px;
  }

  .header-desktop .odds-toggle .icon-caret, .header-desktop .language-toggle .icon-caret {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    display: block;
    opacity: 0.9;
  }

  .header-desktop .language-toggle .icon-lang {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    display: block;
  }

  .header-desktop .odds-toggle:hover .odds-label, .header-desktop .language-toggle:hover .lang-label {
    color: var(--text-secondary, #00eaff);
    opacity: 1;
  }

  .header-desktop .language-toggle-wrapper .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
  }

  .header-desktop .language-toggle-wrapper .label .icon-lang {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin: 0px;
    vertical-align: middle;
  }

  .sub-item-live-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .be-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #b3b3b3);
    vertical-align: unset;
    align-self: center;
  }

  /* ENTERPRISE FIX: GPU-Accelerated Live Dot & Layout Lock */
  .be-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 70, 70, 0.9);
    animation: beLiveDotPulse 1.4s ease-in-out infinite;
    vertical-align: unset;

    /* GPU PROMOTION & LAYOUT LOCK (DO NOT REMOVE) */
    transform: translateZ(0);
    will-change: transform, opacity;
    contain: strict;
  }

  .be-live-count {
    font-variant-numeric: tabular-nums;
  }

  @keyframes beLiveDotPulse {
    0% { transform: scale(0.88); opacity: 0.65; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.88); opacity: 0.65; }
  }

  .btn-auth.login {
    background: var(--bg-button-secondary, #222236);
    color: var(--text-secondary, #00eaff);
  }

  .btn-auth.register {
    background: var(--bg-button-primary, #ffec00);
    color: rgb(0, 0, 0);
  }

  .btn-auth img, .btn-auth svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
  }

  .be-dropping-box {
    width: 700px;
    height: auto;
    min-height: max(1200px, -220px + 100vh);
    margin: 0px auto;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .be-dropping-filters {
    width: 700px;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    box-sizing: border-box;
  }

  .be-dropping-label {
    height: 25px;
    line-height: 25px;
    box-sizing: border-box;
  }

  .be-dropping-select {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
  }

  .be-dropping-head {
    width: 700px;
    margin-top: 25px;
    height: 60px;
    box-sizing: border-box;
  }

  .be-dropping-head-grid {
    width: 700px;
    height: 35px;
    display: grid;
    grid-template-columns: 46% 10% 10% 10% 10% 14%;
    align-items: center;
    box-sizing: border-box;
  }

  .be-dropping-th {
    box-sizing: border-box;
    margin-top: 0px;
  }

  .be-dropping-body {
    width: 700px;
    height: auto;
    box-sizing: border-box;
    min-height: 200px;
  }

  .be-dropping-filters .be-dropping-label {
    text-align: center;
    margin-bottom: 10px;
  }

  .be-dropping-sports {
    width: 700px;
    margin: 150px auto 10px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .be-sport-tab {
    background: none;
    border: none;
    cursor: pointer;
  }

  .be-sport-tab.is-active {
    font-weight: 600;
  }

  .be-dropping-sports .be-sport-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .be-dropping-sports .be-sport-tab img {
    order: 0;
    display: inline-block;
    width: 18px;
    height: 18px;
  }

  .be-oc-home { background: rgb(217, 217, 217); }

  .oc-shell {
    background: rgb(229, 231, 235);
    width: 100%;
    margin-top: 0px;
    padding: 0px;
    box-sizing: border-box;
    --oc-rail: clamp(240px, 18vw, 285px);
    --oc-gap: clamp(10px, 1.2vw, 18px);
  }

  /* ═══ PERFECT Y-AXIS SYNC ═══════════════════════════════════════
     !important on ALL alignment rules is MANDATORY because the site's
     JS framework sets inline style="margin-top:Xpx" on these elements
     at viewport widths 1101px–1919px.

     Specificity chain (lowest → highest):
       CSS rule without !important  < JS inline style  < CSS !important
     
     Without !important: JS inline style overwrites our rule → misaligned.
     With    !important: our rule wins at ALL viewport widths.

     Why 1920px worked without !important:
       The JS framework only applies compensating margin-top at narrower
       widths where the layout engine detects potential overflow risk.
       At ≥1920px it leaves the elements alone, so our CSS (even without
       !important) was the only declaration → aligned.
  ══════════════════════════════════════════════════════════════════ */
  .oc-shell .oc-grid {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0px;
    padding: 0px;
    padding-top: 20px !important; /* beats JS inline style at ALL widths */
    box-sizing: border-box;
    grid-template-columns: minmax(0, var(--oc-rail)) minmax(0, 1fr) minmax(0, var(--oc-rail));
    column-gap: var(--oc-gap);
    align-items: start;
    border-radius: 22px;
    background: rgb(229, 231, 235);
  }

  .oc-card {
    background: rgb(26, 26, 26);
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
  }

  .oc-right .oc-card { border-radius: 22px 0px 0px 22px; }
  .oc-card__head { margin-top: 12px; }

  /* ── FIX 3: Unified 18px X-Axis ─────────────────────────────────
     Was: padding: 18px 22px 10px  →  Now: padding: 18px 18px 10px
  ─────────────────────────────────────────────────────────────── */
  .oc-card__title {
    padding: 18px 18px 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    text-transform: uppercase;
  }

  .oc-card--gap8 { margin-top: 8px; }

  /* ═══ VERTICAL LOCK — ALL 5 SHIFT VECTORS SEALED ════════════════
     JS frameworks use 5 different techniques to shift elements:
       1. element.style.marginTop   → blocked by margin-top: 0 !important
       2. element.style.transform   → blocked by transform: none !important
       3. element.style.paddingTop  → blocked by padding-top: 0 !important
       4. element.style.top         → blocked by top: 0 !important
       5. grid align algorithm      → blocked by align-self: start !important
     All 5 must be locked simultaneously and identically on all 3 columns.
  ══════════════════════════════════════════════════════════════════ */
  .oc-shell .oc-left,
  .oc-shell .oc-center,
  .oc-shell .oc-right {
    /* Vector 1 – margin */
    margin-top:    0 !important;
    margin-bottom: 0 !important;
    margin-left:   0 !important;
    margin-right:  0 !important;
    /* Vector 2 – transform */
    transform: none !important;
    /* Vector 3 – padding-top */
    padding-top: 0 !important;
    /* Vector 4 – position offset */
    top: 0 !important;
    /* Vector 5 – grid alignment */
    align-self: start !important;
    /* Layout */
    box-sizing: border-box;
  }

  .oc-shell .oc-left {
    justify-self: start;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--oc-gap);
  }

  .oc-shell .oc-right {
    justify-self: end;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--oc-gap);
  }

  .oc-shell .oc-left > .oc-card, .oc-shell .oc-right > .oc-card, .oc-shell .oc-right > div {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  .oc-shell .oc-left > .oc-card, .oc-shell .oc-right .oc-card--right {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .oc-shell .oc-center {
    min-width: 0px;
    width: 100%;
  }

  .oc-breadcrumb {
    height: 50px;
    border-radius: 28px;
    background: rgb(26, 26, 26);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    padding: 0px 18px;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 14px 34px;
    margin-bottom: 18px;
  }

  /* margin-top: 0 !important — no extra offset inside the center column */
  .oc-shell .oc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    margin-top: 0 !important;
  }

  .oc-list { padding: 6px 10px 14px; }

  .oc-item {
    height: 40px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0px 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
  }

  .oc-item:hover { background: rgba(255, 255, 255, 0.06); }

  .oc-item__icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 14px;
  }

  .oc-ball, .oc-tennis, .oc-basket, .oc-oval { background: rgb(26, 26, 26); }

  .oc-item__label {
    font-size: 14px;
    font-family: Roboto, sans-serif;
  }

  .oc-item__count {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
  }

  .oc-item__pill {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }

  .oc-shell .oc-left details > summary.oc-item {
    grid-template-columns: 36px 1fr auto auto;
  }

  .oc-shell .oc-left details > summary.oc-item .oc-item__fav img {
    width: 14px;
    height: 14px;
    display: block;
  }

  .oc-left details > summary.oc-item {
    cursor: pointer;
    user-select: none;
  }

  .oc-left details > summary.oc-item * { cursor: pointer; }
  .oc-left details > summary.oc-item::marker { content: ""; }
  .oc-left details > summary.oc-item::-webkit-details-marker { display: none; }

  .oc-left details > summary.oc-item:focus-visible {
    outline: rgba(0, 234, 255, 0.55) solid 2px;
    outline-offset: 2px;
  }

  .oc-strip {
    height: 48px;
    background: rgba(90, 90, 90, 0.85);
    border-radius: 14px 14px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 10px;
    padding: 0px 18px;
  }

  .oc-strip__left {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
    padding-left: 10.5px;
  }

  .oc-strip__icon {
    font-size: 18px;
  }

  .oc-shell .oc-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(rgb(74, 74, 74) 0%, rgb(44, 44, 44) 46%, rgb(19, 19, 19) 100%);
  }

  .oc-shell .oc-strip {
    max-width: 100%;
    box-sizing: border-box;
  }

  .oc-shell .oc-boost-grid {
    display: grid;
    gap: var(--oc-gap);
    /* Fixed 3 columns: prevents reflow to 2 columns at narrower center widths
       which would make CENTER taller and misalign with LEFT/RIGHT sidebars */
    grid-template-columns: repeat(3, 1fr);
  }

  .oc-bottom-tabs, .oc-date-tabs {
    margin-top: 18px;
    height: 50px;
    border-radius: 32px;
    background: rgb(26, 26, 26);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0px 14px;
  }

  .oc-tab, .oc-date-tab {
    padding: 4px 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    background: transparent;
    border: 0px;
    box-shadow: none;
    border-radius: 0px;
  }

  .oc-tab.oc-tab--active, .oc-date-tab.is-active {
    color: rgb(0, 234, 255);
    background-image: linear-gradient(90deg, rgba(0, 234, 255, 0.65) 0%, rgba(0, 234, 255, 0.95) 45%, rgba(0, 234, 255, 0.65) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: rgba(0, 234, 255, 0.18) 0px 0px 10px, rgba(0, 234, 255, 0.1) 0px 0px 18px;
  }

  .oc-tab.oc-tab--active::after, .oc-date-tab.is-active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 234, 255, 0), rgba(0, 234, 255, 0.95), rgba(0, 234, 255, 0));
    box-shadow: rgba(0, 234, 255, 0.28) 0px 0px 10px;
    pointer-events: none;
    transform: translateY(8px);
  }

  /* =========================================================
     DYNAMIC HERO CAROUSEL UI
  ========================================================= */

  .oc-shell .oc-hero {
    width: min(900px, 100%);
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    display: block;
    margin: 0 auto 16px auto;
    --oc-edge-w: 120px;
    --oc-edge-gap: 8px;
    --oc-blur: 18px;
    --oc-dim: 0.62;
  }

  .oc-hero__viewport {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
  }

  .oc-hero__track {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    width: 100%;
    transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
  }

  .oc-hero__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .oc-shell .oc-hero__card {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: calc(var(--oc-edge-w) + var(--oc-edge-gap));
    right: calc(var(--oc-edge-w) + var(--oc-edge-gap));
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 120%, rgba(0, 234, 255, 0.15) 0%, rgba(16, 3, 40, 1) 60%), linear-gradient(180deg, #0d0e15 0%, #1a1c29 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    box-sizing: border-box;
  }

  .oc-hero__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-image: url('../assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
  }

  .oc-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
  }

  .oc-shell .oc-hero::before, .oc-shell .oc-hero::after {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: var(--oc-edge-w);
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(var(--oc-blur));
  }
  .oc-shell .oc-hero::before { left: 0px; background: linear-gradient(to right, rgba(0, 0, 0, var(--oc-dim)) 0%, rgba(0, 0, 0, 0.34) 55%, rgba(0, 0, 0, 0.00) 100%); }
  .oc-shell .oc-hero::after { right: 0px; background: linear-gradient(to left, rgba(0, 0, 0, var(--oc-dim)) 0%, rgba(0, 0, 0, 0.34) 55%, rgba(0, 0, 0, 0.00) 100%); }

  .oc-shell .oc-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.92);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 60px !important;
  }

  .oc-shell .oc-hero__arrow:hover { background: rgba(0, 0, 0, 0.85); }
  .oc-shell .oc-hero__arrow--left { left: 0px; right: auto !important; }
  .oc-shell .oc-hero__arrow--right { right: 0px !important; left: auto !important; }

  /* Premium Match UI */
  .oc-hero__league-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .oc-hero__league-flag { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
  .oc-hero__league-name { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

  .oc-hero__matchup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
  }
  .oc-hero__team-box { display: flex; flex-direction: column; align-items: center; width: 130px; text-align: center; }
  .oc-hero__team-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.6));
  }
  .oc-hero__team-name { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }

  .oc-hero__vs-box { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -15px; }
  .oc-hero__vs-text {
    font-size: 32px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(180deg, #ffffff 0%, #a0a5b1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 8px;
    font-style: italic;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  }
  .oc-hero__date-time {
    color: #00eaff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 234, 255, 0.3);
    white-space: nowrap;
  }

  .oc-hero__odds-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .be-price-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
  }

  .be-price-btn:hover {
    background: rgba(255,236,0,0.15);
    border-color: #ffec00;
    transform: translateY(-2px);
  }

  .be-price-btn .outcome {
    font-size: 12px;
    color: #a0a5b1;
    margin-bottom: 2px;
    font-weight: 600;
  }

  .be-price-btn .price {
    font-size: 15px;
    font-weight: 800;
    color: #ffec00;
  }

  .oc-shell .oc-left details > summary.oc-item {
    position: relative;
    border-radius: 2px;
    background: linear-gradient(rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: pointer;
    user-select: none;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 22px;
  }

  .oc-shell .oc-left details > summary.oc-item::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 234, 255, 0) 0%, rgba(0, 234, 255, 0.65) 35%, rgba(0, 234, 255, 0.95) 50%, rgba(0, 234, 255, 0.65) 65%, rgba(0, 234, 255, 0) 100%);
    box-shadow: rgba(0, 234, 255, 0.25) 0px 0px 10px, rgba(0, 234, 255, 0.18) 0px 0px 18px;
    pointer-events: none;
  }

  .oc-shell .oc-left details > summary.oc-item:hover, .oc-shell .oc-left details > summary.oc-item:focus-visible {
    background: linear-gradient(rgba(0, 234, 255, 0.1) 0%, rgba(0, 0, 0, 0.14) 100%);
    border-color: rgba(0, 234, 255, 0.18);
  }

  .oc-shell .oc-left .oc-collapse > a.oc-item {
    position: relative;
    border-radius: 1px;
    background: linear-gradient(rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .oc-shell .oc-left .oc-collapse > a.oc-item:hover {
    background: linear-gradient(rgba(0, 234, 255, 0.08) 0%, rgba(0, 0, 0, 0.12) 100%);
    border-color: rgba(0, 234, 255, 0.16);
  }

  .oc-right .oc-card__title {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .oc-right .oc-card__title-icon { display: inline-block; }

  .oc-right .oc-card__desc, .oc-right .oc-card__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
  }

  .oc-right .oc-card__desc::before, .oc-right .oc-card__link::before {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 234, 255, 0) 0%, rgba(0, 234, 255, 0.65) 35%, rgba(0, 234, 255, 0.95) 50%, rgba(0, 234, 255, 0.65) 65%, rgba(0, 234, 255, 0) 100%);
    box-shadow: rgba(0, 234, 255, 0.25) 0px 0px 10px, rgba(0, 234, 255, 0.18) 0px 0px 18px;
    pointer-events: none;
  }

  /* ── FIX 3: Unified 18px X-Axis on right-rail descriptions ──────
     Was: padding-left: 22px  →  Now: 18px
  ─────────────────────────────────────────────────────────────── */
  .oc-right .oc-card__desc {
    margin-top: 0px;
    margin-left: 0px;
    padding-top: 10px;
    padding-left: 18px;   /* FIX 3 */
    padding-right: 18px;  /* FIX 3 */
    font-size: 11px;
  }

  /* ── FIX 3: Unified 18px X-Axis on right-rail links ─────────────
     Was: padding: 10px 22px 0px  →  Now: 10px 18px 0px
  ─────────────────────────────────────────────────────────────── */
  .oc-right .oc-card__link {
    margin-top: 10px;
    padding: 10px 18px 0px; /* FIX 3 */
    margin-bottom: 12px;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.88);
  }

  /* =================================================================
     MATCHLIST — Enterprise Responsive Grid (flat 8-col)
  ================================================================= */

  .oc-matchlist {
    width: 100%;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    margin-top: 18px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    --ml-time:  90px;
    --ml-dash:  24px;
    --ml-odd:   70px;
    --ml-books: 80px;
    --ml-right: calc(3 * var(--ml-odd) + var(--ml-books));
  }

  .oc-ml-league {
    border-left:  1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    overflow: hidden;
    box-sizing: border-box;
  }

  .oc-ml-header {
    height: 38px;
    background: linear-gradient(360deg, rgb(188,195,195) 0%, rgb(243,240,240) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: rgb(17, 17, 17);
    white-space: nowrap;
  }
  .oc-ml-sport {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; font-size: 16px; line-height: 1;
  }
  .oc-ml-title {
    display: inline-flex; align-items: center;
    gap: 6px; flex: 1 1 auto; min-width: 0;
  }
  .oc-ml-flag {
    display: inline-flex; align-items: center;
    justify-content: center; font-size: 14px; line-height: 1;
  }
  .oc-ml-fav {
    margin-left: auto; width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .oc-ml-fav img, .oc-ml-fav svg {
    width: 20px; height: 20px; display: block; opacity: 1;
    filter: brightness(0) saturate(100%) invert(84%) sepia(34%) saturate(1600%)
            hue-rotate(2deg) brightness(104%) contrast(115%)
            drop-shadow(rgba(0,0,0,0.55) 0px 0px 0.8px)
            drop-shadow(rgba(255,215,0,0.75) 0px 0px 1.2px);
  }

  .oc-ml-dateRow {
    height: 32px;
    display: grid;
    grid-template-columns: 1fr var(--ml-right);
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  }
  .oc-ml-dateLeft {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(68, 68, 68);
    background: linear-gradient(360deg, rgb(227,231,232) 0%, rgb(227,231,232) 100%);
  }

  .oc-ml-oddsHead {
    display: grid;
    grid-template-columns: var(--ml-odd) var(--ml-odd) var(--ml-odd) var(--ml-books);
    background: rgb(255, 255, 255);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: rgb(17, 17, 17);
  }
  .oc-ml-oddsHead > .oc-ml-h {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    background: linear-gradient(360deg, rgb(227,231,232) 0%, rgb(227,231,232) 100%);
  }
  .oc-ml-oddsHead.is-twoway > div:first-child  { border-left: none; }
  .oc-ml-oddsHead.is-twoway > div:nth-child(2) { border-left: 1px solid rgba(0, 0, 0, 0.18) !important; }

  .oc-ml-row {
    height: 40px;
    display: grid;
    grid-template-columns:
      var(--ml-time)
      1fr
      var(--ml-dash)
      1fr
      var(--ml-odd)
      var(--ml-odd)
      var(--ml-odd)
      var(--ml-books);
    align-items: center;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s;
  }

  .oc-ml-left,
  .oc-ml-teams,
  .oc-ml-right {
    display: contents;
  }

  .oc-ml-time {
    padding-left: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(68, 68, 68);
    white-space: nowrap;
    overflow: hidden;
  }

  .oc-ml-team {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    height: 40px;
  }
  .oc-ml-teams .oc-ml-team:first-child {
    flex-direction: row-reverse;
    padding-left: 6px;
  }
  .oc-ml-teams .oc-ml-team:last-child {
    padding-right: 6px;
  }
  .oc-ml-crest {
    width: 18px; height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
  }
  .oc-ml-name {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(34, 34, 34);
  }

  .oc-ml-dash {
    color: rgb(102, 102, 102);
    font-weight: 700;
    text-align: center;
    justify-self: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
  }

  .oc-ml-cal {
    justify-self: end; width: 22px; height: 22px; padding: 0;
    border: 1px solid rgba(0,0,0,0.22); border-radius: 3px;
    background: rgb(255,255,255); position: relative; cursor: pointer;
  }
  .oc-ml-cal::before {
    content: ""; position: absolute;
    left: 3px; right: 3px; top: 6px;
    height: 1px; background: rgba(0,0,0,0.22);
  }
  .oc-ml-cal::after {
    content: ""; position: absolute;
    left: 5px; top: 2px; width: 12px; height: 3px;
    background: rgba(0,0,0,0.22); border-radius: 2px; opacity: 0.55;
  }

  .oc-ml-odd {
    height: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    border-top: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgb(17, 17, 17);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    z-index: 0;
  }

  .oc-ml-odd::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--ml-odd) - 10px);
    height: 34px;
    background: linear-gradient(360deg, rgb(195,196,198) 0%, rgb(245,246,248) 100%);
    border: 1px solid rgb(199,205,207);
    border-radius: 0;
    z-index: -1;
  }
  .oc-ml-odd:hover::before { border-color: rgba(0, 0, 0, 0.35); }

  .oc-ml-bs {
    height: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: rgb(51, 51, 51);
  }

  .oc-ml-row:hover { background-color: rgb(232, 240, 254); }
  template#oc-ml-row-template { display: none; }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-list > .oc-item {
    position: relative;
    display: block;
    padding: 0px 6px;
    height: 40px;
    border-radius: 1px;
    color: rgba(255, 255, 255, 0.88);
    background: linear-gradient(rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 10px 22px;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-list > .oc-item::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 234, 255, 0) 0%, rgba(0, 234, 255, 0.65) 35%, rgba(0, 234, 255, 0.95) 50%, rgba(0, 234, 255, 0.65) 65%, rgba(0, 234, 255, 0) 100%);
    box-shadow: rgba(0, 234, 255, 0.25) 0px 0px 10px, rgba(0, 234, 255, 0.18) 0px 0px 18px;
    pointer-events: none;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-list > .oc-item:hover, .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-list > .oc-item:focus-within {
    background: linear-gradient(rgba(0, 234, 255, 0.1) 0%, rgba(0, 0, 0, 0.14) 100%);
    border-color: rgba(0, 234, 255, 0.18);
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-item__main {
    height: 40px;
    width: 100%;
    border: 0px;
    background: none;
    padding: 0px 34px 0px 0px;
    margin: 0px;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 10px;
    text-align: left;
    min-width: 0px;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-item__main .oc-item__icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgb(26, 26, 26);
    font-size: 14px;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-item__main .oc-item__label {
    font-size: 14px;
    font-family: Roboto, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-item__fav {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    padding: 0px;
    margin: 0px;
    border: 0px;
    background: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    z-index: 2;
  }

  .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-item__fav img { width: 20px; height: 20px; display: block; }

  .oc-sport-chips {
    display: flex;
    gap: 8px;
    padding: 18px 0px 10px;
    overflow-x: auto;
  }

  .oc-sport-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgb(255, 255, 255);
    color: rgb(10, 12, 18);
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .oc-sport-chip.is-active {
    background: rgb(26, 26, 26);
    border-color: rgba(0, 0, 0, 0.12);
    color: rgb(255, 255, 255);
  }

  .oc-sport-chip__icon { font-size: 18px; line-height: 1; }
  .oc-sport-chip__label { font-weight: 600; font-size: 14px; }
  .oc-sport-chip__count { opacity: 0.8; font-size: 12px; margin-left: 2px; }

  .oc-sort-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .oc-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgb(255, 255, 255);
    color: rgb(10, 12, 18);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
  }

  .oc-sort-btn.is-active {
    background: rgb(26, 26, 26);
    border-color: rgba(0, 0, 0, 0.12);
    color: rgb(255, 255, 255);
  }

  .oc-sort-btn img { opacity: 0.65; filter: invert(1); transition: 0.2s; }
  .oc-sort-btn.is-active img { opacity: 1; filter: none; }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse > a.oc-item {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    align-items: center;
    gap: 10px;
    background: rgb(247, 249, 249);
    white-space: nowrap;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: rgb(8, 8, 10);
    height: 30px;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] details > .oc-collapse > a.oc-item[data-oc-nav="tab"][data-tab="my-leagues"] { display: none !important; }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse > a.oc-item .oc-item__label {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse details > .oc-collapse > a.oc-item {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 14px;
    padding-right: 40px;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse details > .oc-collapse > a.oc-item .oc-item__pill {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    margin: 0px;
    padding: 0px;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse details .oc-collapse > :is(a.oc-item, button.oc-item) {
    box-sizing: border-box !important;
    border: 1px solid rgba(5, 4, 4, 0.35) !important;
    border-radius: 1px !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse > details > summary.oc-item::after {
    content: none !important;
    background: transparent !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-collapse > details > summary.oc-item {
    background: linear-gradient(rgb(199, 205, 207) 0%, rgb(170, 176, 178) 100%);
    color: rgb(8, 6, 6);
  }

  .oc-shell .oc-left section[aria-label="All Sports"] details[open] > summary.oc-item .oc-item__pill img {
    transform: rotate(180deg);
  }

  .oc-shell .oc-left section[aria-label="All Sports"] summary.oc-item .oc-item__pill img {
    transition: transform 160ms;
    transform-origin: 50% 50%;
    display: inline-block;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved .oc-my-leagues-sport-head {
    margin-bottom: 5px;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-image: initial !important;
    border-top: 2px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 11px !important;
    padding-top: 8px !important;
    height: auto !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-list > details:first-of-type { display: block !important; }
  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved::after { content: ""; display: block; height: 20px; width: 100%; pointer-events: none; }
  .oc-shell .oc-left section[aria-label="All Sports"] .oc-list > details:first-of-type { margin-bottom: 0px !important; }
  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved { padding-bottom: 2px !important; }
  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved .oc-my-leagues-sport-head::after { display: none !important; }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved a.oc-item {
    transition: none !important;
    border-radius: 0px !important;
    border: 1px solid transparent !important;
    position: relative !important;
    display: flex !important;
    height: 30px !important;
    padding-right: 40px !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved a.oc-item:hover {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved a.oc-item::after { display: none !important; }
  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved a.oc-item:hover .oc-item__label { color: rgb(0, 234, 255) !important; transition: none !important; }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved a.oc-item .oc-item__pill {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  .oc-shell .oc-left section[aria-label="All Sports"] .oc-my-leagues-saved .oc-my-leagues-sport-head .oc-item__label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800 !important;
    font-size: 12px !important;
    opacity: 1 !important;
  }

  .oc-ml-skeleton {
    width: 100%;
    animation: 1.2s ease-in-out 0s infinite normal none running oc-skeleton-pulse;
  }

  .oc-ml-skeleton__header {
    height: 38px;
    background: linear-gradient(360deg, rgb(210, 214, 214) 0%, rgb(235, 235, 235) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .oc-ml-skeleton__row {
    height: 40px;
    background: rgb(253, 253, 253);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  @keyframes oc-skeleton-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
  }

  .oc-item__icon img, .oc-ml-header-flag {
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.1) brightness(1.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 1px;
  }

  .oc-item:hover .oc-item__icon img { filter: contrast(1.2) brightness(1.2); }

  .oc-ml-crest {
    width: 18px;
    height: 18px;
    border-radius: 0px;
    background: transparent;
    border: none;
    flex: 0 0 auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter: brightness(1.1) contrast(1.1) drop-shadow(rgba(255, 255, 255, 0.3) 0px 0px 2px);
    transition: filter 0.2s ease-in-out;
  }

  .oc-ml-row:hover .oc-ml-crest { filter: brightness(1.2) contrast(1.2) drop-shadow(rgba(255, 255, 255, 0.5) 0px 0px 4px); }

  .oc-shell .oc-left .oc-matchlist .oc-ml-row .oc-ml-crest {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 0px;
    background: transparent;
    border: none;
    margin: 0px;
    padding: 0px;
    image-rendering: -webkit-optimize-contrast;
    filter: brightness(1.1) contrast(1.1) drop-shadow(rgba(255, 255, 255, 0.4) 0px 0px 2px);
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  }

  .oc-shell .oc-left .oc-matchlist .oc-ml-row:hover .oc-ml-crest {
    filter: brightness(1.2) contrast(1.2) drop-shadow(rgba(255, 255, 255, 0.6) 0px 0px 5px);
    transform: scale(1.1);
  }

  .oc-mc-container {
    background-color: rgb(26, 26, 26);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-top: 18px;
  }

  .oc-mc-header {
    background: linear-gradient(rgb(9, 10, 11) 0%, rgb(46, 49, 56) 100%);
    color: rgb(255, 255, 255);
    margin: -16px -16px 16px;
    padding: 16px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom: 1px solid rgb(45, 49, 58);
  }

  .oc-mc-breadcrumbs {
    font-size: 11px;
    color: rgb(136, 139, 161);
    margin-bottom: 12px;
  }

  .oc-mc-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: transparent;
    gap: 16px;
    color: rgb(255, 255, 255);
  }

  .oc-mc-team { display: flex; align-items: center; gap: 8px; }
  .oc-mc-team.home { justify-content: flex-end; }
  .oc-mc-team.away { justify-content: flex-start; }
  .oc-mc-logo { width: 24px; height: 24px; }
  .oc-mc-team-name { font-size: 16px; font-weight: 600; }

  .oc-mc-info {
    text-align: center;
    font-size: 12px;
    color: rgb(136, 139, 161);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0px auto;
  }

  .oc-mc-time { font-weight: 700; color: rgb(255, 255, 255); }
  .oc-mc-status { display: none; }

  .oc-mc-nav {
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: stretch;
    gap: 0px;
    border-bottom: 2px solid rgb(227, 231, 232);
    margin-top: 12px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .oc-mc-nav::-webkit-scrollbar { display: none; }

  .oc-mc-tab {
    background: transparent;
    border: none;
    color: rgb(5, 6, 10);
    padding: 0px 16px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: -2px;
    position: relative;
    transition: color 0.2s;
  }

  .oc-mc-tab::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 2;
  }

  .oc-mc-tab.active { color: rgb(17, 17, 17); }
  .oc-mc-tab.active::after { background-color: rgb(0, 170, 85); }
  .oc-mc-tab:hover { color: rgb(17, 17, 17); }

  .oc-mc-subnav {
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .oc-mc-subtab {
    background-color: transparent;
    border: 1px solid transparent;
    color: rgb(68, 68, 68);
    padding: 0px 16px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
  }

  .oc-mc-subtab:hover { background-color: rgb(207, 208, 208); color: rgb(17, 17, 17); }
  .oc-mc-subtab.active { background-color: rgb(17, 17, 17); color: rgb(255, 255, 255); }

  /* ── FIX 4: Match Center Fluid Geometry ──────────────────────────
     Removed hard min-width constraint. Table now uses percentage-
     based column widths anchored to its container. The wrapper
     clips gracefully at any viewport instead of forcing overflow.
  ─────────────────────────────────────────────────────────────── */
  .oc-mc-table-wrapper {
    background-color: rgb(248, 250, 252);
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 4px;
    color: rgb(15, 23, 42);
    width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
  }

  .oc-mc-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed; /* FIX 4: fixed + 100% width = fluid, no overflow */
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    /* FIX 4: min-width removed — width:100% + table-layout:fixed is sufficient */
  }

  .oc-mc-table th {
    padding: 8px 4px;
    background: linear-gradient(360deg, rgb(188, 195, 195) 0%, rgb(243, 240, 240) 100%);
    color: rgb(17, 17, 17);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    vertical-align: middle;
  }

 .oc-mc-table td {
    padding: 4px 2px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    background: rgb(248, 250, 252);
    vertical-align: middle;
    color: rgb(15, 23, 42);
    transition: background-color 0.2s;
  }
/* =========================================================
   TACTILE BUTTON PHYSICS
   Makes flat elements feel like physical, clickable buttons
========================================================= */

/* 1. Base button setup for smooth animations */
.oc-mc-table td.cell-odd .odd-btn {
  width: 100%;
  height: 100%;
  min-height: 31px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background-color: transparent;
}

/* 2. HOVER (LIFT UP): Uniform logic for ALL buttons (Normal & Best Odds) */
.oc-mc-table td.cell-odd .odd-btn:hover {
  background-color: #ffffff;
  border-color: #fef08a; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 3. ACTIVE (PRESS DOWN): Button sinks into the screen */
.oc-mc-table td.cell-odd .odd-btn:active {
  background-color: #e2e8f0;
  border-color: transparent;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
  transform: translateY(2px) scale(0.96);
}
/* =========================================================
   BEST ODD HIGHLIGHT (MATCH CENTER)
   Subtle Mint Green with border preservation fix
========================================================= */

.oc-mc-table td.best-odd {
  box-shadow: inset 0 0 0 50px #d1fae5;
  background-color: transparent;
}

.oc-mc-table td.best-odd .odd-btn span {
  color: #064e3b;
  font-weight: 800;
}

  /* =========================================================
     MATCH CENTER BOOKMAKER TABLE UI (HYBRID EDITION)
  ========================================================= */

  .oc-mc-table th.col-bookie,
  .oc-mc-table td.cell-bookie,
  .cell-footer-label {
    text-align: left !important;
    padding-left: 20px !important;
  }

  .oc-mc-table td.cell-bookie {
    vertical-align: middle !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    white-space: nowrap !important;
  }

  .oc-mc-bookie-logo {
    width: 86px !important;
    height: 30px !important;
    object-position: center !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 4px !important;
    padding: 3px 6px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    margin-right: 14px !important;
    display: inline-block !important;
  }

  .bookie-name {
    vertical-align: middle !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    display: inline-block !important;
    max-width: 110px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
  }

  /* ORIGINAL column widths restored */
  .oc-mc-table th.col-bookie { width: 68%; }
  .oc-mc-table th.col-odd, .oc-mc-table th.col-payout { width: 8%; }
  .oc-mc-table th:nth-child(n+2), .oc-mc-table td:nth-child(n+2) { border-left: 1px solid rgba(0, 0, 0, 0.18); }

  .odd-btn {
    background: transparent;
    border: none;
    padding: 0px;
    height: 36px;
    cursor: pointer;
    width: 100%;
    max-width: 61px;
    margin: 0px auto;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: rgb(15, 23, 42);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
    isolation: isolate;
    z-index: 0;
    font-variant-numeric: tabular-nums;
  }

  .cell-payout {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: rgb(51, 51, 51);
    font-weight: 400;
  }

  .oc-mc-table-footer { border-top: 2px solid rgba(0, 0, 0, 0.18); }

  .oc-mc-table-footer .oc-mc-footer-row td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: 4px 2px;
    vertical-align: middle;
    background: linear-gradient(360deg, rgb(146 169 169) 0%, rgb(243, 240, 240) 100%);
  }
  
   /* Ensures vertical borders align perfectly in the Match Center footer */
  .oc-mc-table tfoot td:nth-child(n+2),
  .oc-mc-table-footer .oc-mc-footer-row td:nth-child(n+2) {
    border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
    
  }
/* REMOVE UNWANTED BORDER ONLY ON THE EMPTY SPACER (2ND CELL) */
#oc-match-details .oc-mc-table tfoot tr td:nth-child(2)[style*="border-left: none"],
#oc-match-details .oc-mc-table-footer .oc-mc-footer-row td:nth-child(2)[style*="border-left: none"] {
    border-left: none !important;
}
   .oc-mc-table-footer .oc-mc-footer-row:last-child td {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .cell-footer-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgb(34, 34, 34);
  }

  .cell-footer-label .info-icon {
    color: rgb(102, 102, 102);
    font-size: 14px;
    margin-left: 6px;
    cursor: help;
    vertical-align: middle;
  }

  .cell-footer-action, .cell-footer-stat { text-align: center; vertical-align: top; }

  .footer-btn {
    background: rgb(255, 255, 255);
    border: 1px dashed rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 61px;
    height: 30px;
    margin: 0px auto;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    color: rgb(68, 68, 68);
    transition: 0.2s;
  }

 .footer-btn:hover {
  background: #ffffff;
  color: #111827;
  border: 2px solid #41ff3b;
}

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 61px;
    margin: 0px auto;
    padding: 2px 0px;
  }
  /* ZERO LAYOUT SHIFT FOR MY SLIPS BUTTONS ON CLICK */
.footer-btn:active {
  transform: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 61px !important;
  height: 30px !important;
  box-sizing: border-box !important;
  background-color: #f8fafc !important;
}

.footer-btn:active .oc-icon-svg {
  transform: translateY(-1px) !important;
}

  .stat-box {
    border: 1px solid rgb(199, 205, 207);    width: 100%;
    max-width: 61px;
    height: 30px;
    margin: 0px auto 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    border-radius: 0px;
  }
/* DIRECT OVERRIDE FOR MATCH CENTER FOOTER */
    #oc-match-details .oc-mc-table tfoot tr:first-child td {
      background: linear-gradient(180deg, #ced4d8 0%, #f3f0f0 100%) !important;
      background-color: #f3f0f0 !important;
      box-shadow: none !important;
    }

  /* MEMBERS PICKS ROW - Pure White */
    #oc-match-details .oc-mc-table tfoot tr:last-child td {
      background: #ffffff !important;
      background-color: #ffffff !important;
      box-shadow: none !important;
    }

    /* CLEAN THE GREY BOXES INSIDE MEMBERS PICKS */
    #oc-match-details .oc-mc-table tfoot tr:last-child td .stat-box {
      background: #ffffff !important;
      border: 1px solid #cbd5e1 !important;
      box-shadow: none !important;
    }
  .details-link {
    background: transparent;
    border: none;
    color: rgb(102, 102, 102);
    text-decoration: underline;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    padding: 0px;
    display: block;
    width: 100%;
    text-align: center;
    transition: color 0.2s;
  }

  .details-link:hover { color: rgb(17, 17, 17); }

  .oc-icon-svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transform: translateY(-1px);
  }

  .footer-btn:hover .oc-icon-svg { filter: brightness(0); }

  #be-odds-history-modal.be-modal-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 2000;
    display: none;
  }

  #be-odds-history-modal.be-modal-overlay:not([hidden]) { display: block !important; }

  #be-odds-history-modal .be-modal-dialog {
    position: absolute;
    margin: 0px;
    background: rgb(17, 20, 29);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px 0px 0px 22px;
    box-shadow: rgba(0, 0, 0, 0.6) -10px 18px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: 0.2s ease-out 0s 1 normal none running slideInRight;
  }

  #be-odds-history-modal .be-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #be-odds-history-modal .be-modal-title {
    font-size: 13px;
    font-weight: 800;
    color: rgb(0, 234, 255);
    margin: 0px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  #be-odds-history-modal .be-modal-close {
    background: transparent;
    border: none;
    color: rgb(136, 139, 161);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0px;
    transition: color 0.2s;
  }

  #be-odds-history-modal .be-modal-close:hover { color: rgb(255, 255, 255); }

  #be-odds-history-modal .be-modal-body {
    padding: 0px;
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  #be-odds-history-modal .be-spinner {
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(0, 234, 255) rgba(0, 234, 255, 0.2) rgba(0, 234, 255, 0.2);
    border-image: initial;
    border-radius: 50%;
    animation: 1s linear 0s infinite normal none running be-spin-history;
  }

  @keyframes be-spin-history { 100% { transform: rotate(360deg); } }
  @keyframes slideInRight { 0% { transform: translateX(20px); opacity: 0; } 100% { transform: translateX(0px); opacity: 1; } }
  /* =========================================================
   ANTI-LAYOUT SHIFT (CLS) FOR TOP LEAGUES
   Prevents text shift when React changes the star state 
   after hydration.
========================================================= */

/* 1. Geometric Lock for the Star */
/* Even if React unmounts and remounts the star, this box 
   maintains exactly 20x20px, preventing the grid from expanding. */
html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__fav {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__fav img,
html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__fav svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* 2. Prevent Text Expansion (Bold Shift) */
/* If the text becomes bold upon login, this prevents it from 
   expanding the layout. */
html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__label {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transform: translateZ(0); /* Force Hardware Acceleration for fixed rendering */
}

  /* =========================================================
     MY SLIPS WIDGET
  ========================================================= */
  .be-slip-header-wrap {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .be-slip-header-title { display: flex; align-items: center; gap: 8px; }
  .be-slip-header-text { font-weight: 800; font-size: 14px; letter-spacing: 0.06em; color: rgba(255,255,255,0.95); }
  .be-slip-badge {
    background: rgba(255,255,255,0.95);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .be-slip-bookies-wrap { margin-top: 14px; }
  .be-slip-bookies-title { font-size: 12px; color: rgba(255,255,255,0.95); font-weight: 700; margin-bottom: 8px; }
  .be-slip-bookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 10px;
    margin-bottom: 6px;
    border-radius: 4px;
  }
  .be-slip-bookie-odd { color: #00eaff; font-weight: 700; font-size: 13px; }
  .be-slip-compare-link { color: rgba(255,255,255,0.7); font-size: 12px; text-decoration: underline; display: block; margin-top: 8px; }
  .be-slip-item { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .be-slip-item-top { display: flex; justify-content: space-between; align-items: flex-start; }
  .be-slip-item-left { display: flex; gap: 10px; align-items: flex-start; }
  .be-slip-checkbox { margin-top: 2px; accent-color: rgba(255,255,255,0.8); cursor: pointer; width: 14px; height: 14px; }
  .be-slip-match { color: rgba(255,255,255,0.95); font-size: 13px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
  .be-slip-date { color: rgba(255,255,255,0.5); font-size: 12px; margin-bottom: 8px; }
  .be-slip-tip { color: rgba(255,255,255,0.7); font-size: 12px; }
  .be-slip-tip-val { color: rgba(255,255,255,0.95); font-weight: 700; }
  .be-slip-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
  .be-slip-remove {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 0;
  }
  .be-slip-odd-val { color: #00eaff; font-weight: 800; font-size: 14px; }
  .be-slip-footer { padding: 16px 20px; background: rgba(0,0,0,0.2); }
  .be-slip-actions { display: flex; gap: 10px; margin-bottom: 16px; }
  .be-slip-btn-save {
    background: rgba(255,255,255,0.95);
    border: none;
    color: #111;
    font-weight: 800;
    font-size: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
  }
  .be-slip-btn-pred {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    font-size: 12px;
    padding: 10px 16px;
    cursor: pointer;
    flex-grow: 1;
    border-radius: 4px;
    text-transform: uppercase;
  }
  .be-slip-email-label { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 12px; margin-bottom: 16px; cursor: pointer; }
  .be-slip-clear-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
  }
  .be-slip-clear-icon {
    border: 1px solid #ff4d4d;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 0;
  }
  .be-slip-saved-link { color: rgba(255,255,255,0.7); font-size: 12px; text-decoration: underline; }

  /* =========================================================
     PREMIUM AD CAROUSEL
  ========================================================= */
  section.be-ad-wrapper {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-top-left-radius: 0 !important;
    min-height: 331px !important;
    contain: layout !important;
  }

  .be-ad-viewport {
    position: relative;
    width: 100%;
    height: 331px;
    overflow: hidden;
    border-radius: 0px;
    contain: layout !important;
    border-bottom-left-radius: 0 !important;
  }

  .be-ad-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    will-change: transform;
  }

  .be-ad-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
  }

  .be-ad-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 115px;
    margin-bottom: 0;
    border-radius: 0px;
    padding: 10px 10px 8px 10px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border: 1px solid transparent;
    transition: filter 0.2s;
  }
  /* =========================================================
   ANTI-FLICKER: AD SLOT (Pre-Hydration State)
   Forces vertical stacking before JS wraps them in slides
========================================================= */
.be-ad-track:not(:has(.be-ad-slide)) {
  flex-direction: column !important;
}


  .be-ad-card:hover { filter: brightness(1.15); }

  .be-ad-top { height: 26px; width: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
  .be-ad-top img { max-height: 22px; max-width: 110px; width: auto; height: auto; object-fit: contain; object-position: center; display: block; margin: 0 auto; }

  .be-ad-mid {
    flex-grow: 1; display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 11px; line-height: 1.3; padding: 0 4px;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  }

  .be-ad-bot {
    width: 100%; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; border-radius: 8px; text-transform: uppercase; margin-top: auto;
  }

  .be-ad-1xbet { background: #f2f2f2; }
  .be-ad-1xbet .be-ad-mid { color: #000; font-weight: 700; }
  .be-ad-1xbet .be-ad-bot { background: #000; color: #fff; }
  .be-ad-888sport { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.1); }
  .be-ad-888sport .be-ad-mid { color: #fff; font-weight: 700; }
  .be-ad-888sport .be-ad-bot { background: #fff; color: #000; }
  .be-ad-betinasia { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1); }
  .be-ad-betinasia .be-ad-mid { color: #fff; font-weight: 600; font-size: 10px; }
  .be-ad-betinasia .be-ad-bot { background: #fff; color: #000; }
  .be-ad-unibet { background: #00563F; }
  .be-ad-unibet .be-ad-mid { color: #fff; font-weight: 600; }
  .be-ad-unibet .be-ad-bot { background: #fff; color: #00563F; }
  .be-ad-williamhill { background: #002D62; }
  .be-ad-williamhill .be-ad-mid { color: #fff; font-weight: 600; }
  .be-ad-williamhill .be-ad-bot { background: #fff; color: #002D62; }
  .be-ad-paddypower { background: #006600; }
  .be-ad-paddypower .be-ad-mid { color: #fff; font-weight: 600; }
  .be-ad-paddypower .be-ad-bot { background: #f5e050; color: #006600; }
  .be-ad-skybet { background: #C4E2F3; }
  .be-ad-skybet .be-ad-mid { color: #000; font-weight: 700; }
  .be-ad-skybet .be-ad-bot { background: #003087; color: #fff; }
  .be-ad-coral { background: #003087; }
  .be-ad-coral .be-ad-mid { color: #fff; font-weight: 600; }
  .be-ad-coral .be-ad-bot { background: #3437f8; color: #fff; }
  .be-ad-betfair { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.1); }
  .be-ad-betfair .be-ad-mid { color: #fff; font-weight: 700; }
  .be-ad-betfair .be-ad-bot { background: #f5e050; color: #000; }
  .be-ad-leovegas { background: #F9A01B; }
  .be-ad-leovegas .be-ad-mid { color: #fff; font-weight: 700; }
  .be-ad-leovegas .be-ad-bot { background: #000; color: #F9A01B; }
  .be-ad-bet365 { background: #014E3F; }
  .be-ad-bet365 .be-ad-mid { color: #fff; font-weight: 600; }
  .be-ad-bet365 .be-ad-bot { background: #f5e050; color: #014E3F; }
  .be-ad-bwin { background: #F5E050; }
  .be-ad-bwin .be-ad-mid { color: #000; font-weight: 700; }
  .be-ad-bwin .be-ad-bot { background: #000; color: #F5E050; }

  section.be-ad-wrapper,
  .oc-right section.be-ad-wrapper,
  .oc-right .oc-card.be-ad-wrapper {
    border-bottom-left-radius: 0 !important;
  }
  /* =========================================================
   PRE-HYDRATION AD SLOT LOCK (ZERO UI SHIFT)
   Keeps the HTML flat for JS, but forces the browser to 
   render exactly 3 vertical cards instantly on reload.
========================================================= */

/* 1. Lock the wrapper dimensions to prevent vertical jumping */
html body .oc-shell.oc-shell .oc-right.oc-right .be-ad-wrapper {
  min-height: 331px !important;
  display: block !important;
  contain: layout !important;
}

/* 2. Force the track to be a vertical column ONLY before JS runs */
/* As soon as JS injects the .be-ad-slide wrapper, this rule shuts off */
html body #be-ad-track:not(:has(.be-ad-slide)) {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  height: 331px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: translateZ(0); /* Hardware acceleration lock */
}

/* 3. Visually hide ad #4 through #12 before JS initializes */
html body #be-ad-track:not(:has(.be-ad-slide)) .be-ad-card:nth-child(n+4) {
  display: none !important;
}

/* 4. Ensure the visible cards stretch fully */
html body #be-ad-track:not(:has(.be-ad-slide)) .be-ad-card {
  width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

  /* =========================================================
     PREMIUM 1X2 PRICE BOOST
  ========================================================= */

  .be-boost-h-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0 16px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .be-boost-h-scroll::-webkit-scrollbar { display: none; }

  .be-boost-premium-card {
    flex: 0 0 270px;
    background-color: #ffffff;
    background-image: linear-gradient(360deg, rgba(255,255,255,1) 0%, rgba(224,252,255,0.7) 20%, rgba(255,255,255,1) 45%, rgba(199,248,255,0.5) 75%, rgba(255,255,255,0.9) 100%);
    border: 1px solid #bcecf2;
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 16px rgba(0, 195, 255, 0.15), inset 0 0 15px rgba(255, 255, 255, 1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .be-boost-premium-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 195, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 1);
  }

  .be-bpc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
  }

  .be-bpc-teams {
    color: #060c1a;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 8px;
  }

  .be-bpc-icon { margin-right: 4px; opacity: 0.9; }

  .be-bpc-timer {
    font-size: 10px;
    color: #ef4444;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.1);
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    border: 1px solid rgba(239, 68, 68, 0.2);
  }
  

  .be-bpc-1x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .be-bpc-oddbox {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 204, 255, 0.2);
    border-radius: 6px;
    padding: 8px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: background 0.2s, border-color 0.2s;
  }

  .be-boost-premium-card:hover .be-bpc-oddbox {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 204, 255, 0.5);
  }

  .be-bpc-label {
    font-size: 11px;
    color: #070707;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .be-bpc-old {
    font-size: 11px;
    color: #1e2022;
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 700;
  }

  .be-bpc-new {
    font-size: 15px;
    color: #0284c7;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(2, 132, 199, 0.2);
  }
  

} /* ═══ END @media (min-width: 901px) — FIX 1: PROPERLY CLOSED ═══ */


/* ═══════════════════════════════════════════════════════════════════
   FIX 3 — UNIFIED 18px X-AXIS SYNC BLOCK
   Applies to all primary headers across every layout track.
   Cascades after the parent media block to ensure correct specificity.
═══════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .oc-breadcrumb,
  .oc-strip,
  .oc-date-tabs,
  .oc-bottom-tabs {
    padding-left: 18px !important;
    box-sizing: border-box !important;
  }

  .oc-breadcrumb .oc-bc-link:first-child {
    padding-left: 14px !important;
    width: auto !important;
  }

  /* Horizontal scroll — tabs must never wrap */
  .oc-bottom-tabs,
  .oc-date-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
  }

  .oc-bottom-tabs::-webkit-scrollbar,
  .oc-date-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .oc-tab,
  .oc-date-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   TABLET BREAKPOINT — 901px to 1100px
   FIX 1: These rules are now OUTSIDE the parent @media (min-width:
   901px) block, eliminating the nested media query parse failure.
═══════════════════════════════════════════════════════════════════ */

/* ── Matchlist token scale-down ── */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  .oc-matchlist {
    --ml-odd:   58px;
    --ml-books: 64px;
    --ml-time:  76px;
  }
}

/* ── Three-column layout enforcement ── */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  .oc-shell {
    --oc-rail: 215px !important;
    --oc-gap:  12px !important;
  }

  .oc-shell .oc-grid {
    display: grid !important;
    grid-template-columns: var(--oc-rail) minmax(0, 1fr) var(--oc-rail) !important;
    align-items: start !important;
    padding-top: 20px !important; /* single source — aligns all 3 tops */
  }

  /* ── ALL 5 shift vectors locked — identical to base block ── */
  .oc-shell .oc-left,
  .oc-shell .oc-center,
  .oc-shell .oc-right {
    grid-column: auto !important;
    grid-row: auto !important;
    order: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    /* Vector 1 */ margin-top: 0 !important; margin-bottom: 0 !important;
    /* Vector 2 */ transform: none !important;
    /* Vector 3 */ padding-top: 0 !important;
    /* Vector 4 */ top: 0 !important;
    /* Vector 5 */ align-self: start !important;
    box-sizing: border-box !important;
  }

  .oc-shell .oc-center {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  /* FIX 4: Fluid match center at tablet — no forced scroll */
  .oc-mc-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .oc-mc-table-wrapper .oc-mc-table {
    /* FIX 4: min-width: 600px REMOVED — replaced by fluid table-layout:fixed */
    min-width: 100% !important;
    width: 100% !important;
  }
}

/* ── Hero carousel compact mode ── */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  /* Height stays 200px — reducing shrinks CENTER and breaks horizontal alignment */
  .oc-shell .oc-hero          { height: 200px !important; }
  .oc-shell .oc-hero::before,
  .oc-shell .oc-hero::after   { width: 35px !important; }
  .oc-shell .oc-hero__card    { left: 43px !important; right: 43px !important; }
  .oc-hero__matchup           { gap: 15px !important; }
  .oc-hero__team-box          { width: 95px !important; }
  .oc-hero__team-logo         { width: 48px !important; height: 48px !important; }
  .oc-hero__vs-text           { font-size: 22px !important; }
  .be-price-btn               { min-width: 65px !important; padding: 6px 8px !important; }

  /* ── BOOST GRID (oc-boost-grid) — force 3 cols ── */
  .oc-shell .oc-boost-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .oc-shell .oc-boost-grid > * {
    min-width: 0 !important;
  }

  /* ── BOOST HORIZONTAL SCROLL (be-boost-h-scroll) — force 3 cards ──
     CENTER column at tablet = ~624px
     3 cards × 200px + 2 gaps × 12px = 624px → exactly 3 visible, no scroll
     This matches desktop behavior (3 cards) and aligns CENTER with LEFT sidebar */
  .oc-shell .oc-center .be-boost-h-scroll,
  .be-boost-h-scroll {
    overflow-x: hidden !important;  /* no scroll — 3 cards fill exactly */
    flex-wrap: nowrap !important;
  }
  .oc-shell .oc-center .be-boost-premium-card,
  .be-boost-premium-card {
    flex: 1 1 0 !important;         /* 3 equal columns, no fixed width */
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* ── Match center compact mode ── */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  .oc-mc-scoreboard           { gap: 8px !important; }
  .oc-mc-team-name            { font-size: 14px !important; }
  .oc-mc-logo                 { width: 22px !important; height: 22px !important; }
  .oc-mc-info                 { font-size: 11px !important; }

  /* =========================================================
     ENTERPRISE TABLE GEOMETRY (Fluid Data-Driven Widths)
     Instead of rigid percentages that crush text, data columns
     get fixed pixels to protect content. The Bookie column 
     fluidly absorbs the remaining space.
  ========================================================= */
  
  /* 1. Protect data columns from squishing */
  .oc-mc-table th.col-odd,
  .oc-mc-table th.col-payout  { 
    width: 55px !important; 
  }

  /* 2. Bookmaker column auto-fills the remaining exact width */
  .oc-mc-table th.col-bookie  { 
    width: auto !important; 
  }

  /* 3. Structural Polish & Spacing */
  .oc-mc-table th.col-bookie,
  .oc-mc-table td.cell-bookie,
  .cell-footer-label          { padding-left: 10px !important; }

  .oc-mc-bookie-logo          { width: 72px !important; height: 24px !important; margin-right: 8px !important; }
  .bookie-name                { font-size: 11px !important; max-width: 70px !important; }
  .odd-btn                    { font-size: 13px !important; height: 32px !important; max-width: 48px !important; }
  .odd-btn::before            { height: 33px !important; }

  .oc-matchlist               { --ml-time: 75px !important; --ml-books: 70px !important; }
}
/* ═══════════════════════════════════════════════════════════════════
   UNIVERSAL VERTICAL LOCK — covers ALL widths ≥ 901px
   Extends the 5-vector nuclear lock to the 1101px–∞ gap that the
   tablet block (max-width:1100px) does not reach.
═══════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 1101px) {
  .oc-shell .oc-grid {
    padding-top: 20px !important;
    align-items: start !important;
  }

  .oc-shell .oc-left,
  .oc-shell .oc-center,
  .oc-shell .oc-right {
    /* Vector 1 */ margin-top: 0 !important; margin-bottom: 0 !important;
                  margin-left: 0 !important; margin-right: 0 !important;
    /* Vector 2 */ transform: none !important;
    /* Vector 3 */ padding-top: 0 !important;
    /* Vector 4 */ top: 0 !important;
    /* Vector 5 */ align-self: start !important;
    box-sizing: border-box !important;
  }

  /* Boost grid: always 3 columns at desktop widths */
  .oc-shell .oc-boost-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ELEMENT-SPECIFIC NUCLEAR LOCK
   Selectors now include the HTML element type (aside, section)
   confirmed from DevTools: aside.oc-left / section.oc-center / aside.oc-right
   Specificity: 0,2,1 — beats any class-only rule (0,2,0) or (0,1,0)
   Combined with !important → beats everything except inline !important
═══════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .oc-shell aside.oc-left,
  .oc-shell section.oc-center,
  .oc-shell aside.oc-right {
    margin-top:    0 !important;
    margin-bottom: 0 !important;
    margin-left:   0 !important;
    margin-right:  0 !important;
    padding-top:   0 !important;
    transform:   none !important;
    top:            0 !important;
    align-self: start !important;
    box-sizing: border-box !important;
  }

  /* Grid: padding-top is the single Y-offset source */
  .oc-shell div.oc-grid,
  .oc-shell .oc-grid {
    padding-top: 20px !important;
    align-items: start !important;
  }
}

/* =========================================================
   1. STATIC GRID TOP (Desktop & Tablet)
   Locks the outer columns at exactly Y=0 so the top 
   horizontal line never breaks.
========================================================= */
@media (min-width: 901px) {
  body .oc-shell .oc-center,
  body .oc-shell .oc-right,
  body .oc-shell .oc-left {
    margin-top: 0 !important;
  }
}

/* =========================================================
   2. TABLET PIXEL-PERFECT OFFSETS (901px - 1100px)
   Forcing element shifts using layout-safe properties.
========================================================= */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  
  /* A. Top Leagues: Push inner text down */
  body .oc-shell .oc-left section[aria-label="Top Leagues"] .oc-card__title {
    padding-top: 0px !important;
    display: block !important; 
  }

  /* B. All Sports: Push entire card down relative to its normal slot */
  body .oc-shell .oc-left section[aria-label="All Sports"] {
    position: relative !important;
    top: 1px !important; 
  }

  /* C. Center Content & Tab Nav: Push down 3px, leaving Breadcrumb fixed above */
  body .oc-shell .oc-center .oc-surface,
  body .oc-shell .oc-center .oc-mc-nav,
  body .oc-shell .oc-center .oc-date-tabs,
  body .oc-shell .oc-center .oc-bottom-tabs {
    position: relative !important;
    top: 0px !important;
  }

  /* D. Match Center: Push down exactly 4px */
  body .oc-shell .oc-center .oc-mc-container {
    position: relative !important;
    top:4px !important;
  }


/* =========================================================
   3. COMPACT AD SLOTS
   Reduces internal spacing between ad cards
========================================================= */
body .be-ad-slide {
  gap: 5px !important; 
}

body .be-ad-card {
  padding: 6px 10px !important; 
}

/* =========================================================
   4. RESTORE BOOSTS HORIZONTAL SCROLL (Tablet 901px - 1100px)
   Reactivates native horizontal swipe for the premium cards
========================================================= */
  
  body .oc-shell .oc-center .be-boost-h-scroll {
    overflow-x: auto !important; 
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  body .oc-shell .oc-center .be-boost-h-scroll::-webkit-scrollbar {
    display: none !important;
  }

  body .oc-shell .oc-center .be-boost-premium-card {
    flex: 0 0 270px !important; 
    min-width: 270px !important; 
    max-width: 270px !important; 
  }

/* =========================================================
   LEFT SIDEBAR TABLET OPTIMIZATION (901px - 1100px)
   Enterprise text truncation and exact 5px icon spacing.
   Strictly NO !important. Uses Class-Chaining Specificity.
========================================================= */
  
  /* 1. TOP LEAGUES: 20px icon column + 5px gap */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__main.oc-item__main {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 5px;
  }

  /* 2. ALL SPORTS (Headers & Links): 20px icon column + 5px gap */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] summary.oc-item.oc-item,
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] a.oc-item.oc-item {
    grid-template-columns: 20px minmax(0, 1fr) auto auto;
    gap: 5px;
  }

  /* 2.1 ALL SPORTS (Nested Flex Items): Ensure 5px gap for sub-menus */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] .oc-collapse details > .oc-collapse > a.oc-item.oc-item {
    gap: 5px;
  }

  /* 3. FORCE SINGLE-LINE TRUNCATION (PREVENTS 2-LINE WRAP) */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__label,
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] .oc-item__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    min-width: 0;
    line-height: normal;
  }

/* =========================================================
   TOP LEAGUES STAR ALIGNMENT (Tablet 901px - 1100px)
   Pins only the Favorite Star to align with All Sports Caret.
   Strictly no !important. Uses Specificity Bump.
========================================================= */

  /* 1. Reset Grid for Top Leagues to match the 5px logic */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__main {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 5px;
    padding-right: 35px; /* Safety zone so text doesn't hit the star */
  }

  /* 2. Move ONLY the Star (Top Leagues) */
  /* We use absolute positioning to match the visual vertical line of the caret */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="Top Leagues"] .oc-item__fav {
    position: absolute;
    right: 10px; /* Adjust this value (10px-14px) to hit the exact vertical line */
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  /* 3. Keep the 5px icon-to-label gap for All Sports (without moving its caret) */
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] summary.oc-item,
  html body .oc-shell.oc-shell .oc-left.oc-left section[aria-label="All Sports"] a.oc-item {
    grid-template-columns: 20px minmax(0, 1fr) auto auto;
    gap: 5px;
  }
}
/* HORIZONTAL SCROLL FOR SPORT CHIPS */
.oc-sport-chips {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.oc-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  flex: 1;
  min-width: 0;
  padding: 4px 0;
}

.oc-chips-scroll::-webkit-scrollbar {
  display: none; 
}

.oc-chips-scroll .oc-sport-chip {
  flex-shrink: 0; 
}

/* SMART SCROLL ARROWS */
.oc-chips-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  /* Center alignment fix */
  transform: translateY(calc(-50% + 3.5px));
  
  height: calc(100% - 18px); 
  width: 16px;
  margin: 0;
  padding: 0;
  
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* CYAN BORDER ON DEFAULT (NOT ACTIVE) STATE */
  border: 1px solid rgba(0, 234, 255, 0.6);
  border-radius: 6px;
  
  color: #888ba1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.oc-chips-arrow:hover {
  color: #00eaff;
  background: rgba(0, 234, 255, 0.15);
  border-color: rgba(0, 234, 255, 0.6);
}

/* KEEPS YOUR ACTIVE STATE AS IT WAS */
.oc-chips-arrow:active,
.oc-chips-arrow:focus {
  border-color: rgba(0, 234, 255, 0.8);
  background: rgba(0, 234, 255, 0.25);
  transform: translateY(calc(-50% + 3.5px));
  height: calc(100% - 18px);
}

.oc-chips-arrow--left {
  left: 0;
}

.oc-chips-arrow--right {
  right: 0;
}
/* LEFT column bottom zones */

/* CENTER — boost section (the critical height element) */

/* RIGHT column bottom zones */

/* Mark the boost card container — whichever is used */
/* =========================================================
   ENTERPRISE FIX: SMART MATCHLIST GRID & LIVE STATES
   Zero Layout Shift, Auto-expanding Center, Protected Text
========================================================= */

/* 1. Fluid CSS Grid */
.oc-ml-row {
  grid-template-columns:
    var(--ml-time)
    minmax(0, 1fr)
    minmax(var(--ml-dash), max-content)
    minmax(0, 1fr)
    var(--ml-odd)
    var(--ml-odd)
    var(--ml-odd)
    var(--ml-books) !important;
}

/* 2. Score Container */
.oc-ml-dash-scored {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    gap: 3px;
    padding: 0 8px;
    box-sizing: border-box;
}

/* 3. Number & Divider Styling */
.oc-ml-score-num {
    font-weight: 600;
    font-size: 14px;
    color: #222222;
    font-variant-numeric: tabular-nums;
}

.oc-ml-score-num.is-live {
    color: #ff2a2a;
}

.oc-ml-score-divider {
    color: #222222;
    font-size: 14px;
}

/* 4. Match Time & Winner States */
.oc-ml-time-live {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff2a2a;
    font-weight: 700;
    padding-left: 9px;
}

.oc-ml-time-finished {
    color: #222222;
    font-weight: 700;
    font-size: 13px;
}

.oc-ml-name-winner {
    font-weight: 600;
}

/* =========================================================
   5. FLEX EXPANSION FIX (The Magic for Empty Space)
========================================================= */
.oc-ml-team {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
}

.oc-ml-name {
    display: block !important;
    flex: 1 !important; 
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.oc-ml-teams .oc-ml-team:first-child .oc-ml-name {
    text-align: right !important;
    margin-right: 1px !important;
}

.oc-ml-teams .oc-ml-team:last-child .oc-ml-name {
    text-align: left !important;
    margin-left: 1px !important;
}

/* =========================================================
   6. RESPONSIVE TYPOGRAPHY & GLOBAL GRID SCALING (TABLET < 1100px)
   Aggressively reallocates horizontal space to the team names
========================================================= */
@media screen and (max-width: 1100px) {
    .oc-matchlist {
        --ml-time: 54px !important;
        --ml-odd: 46px !important;
        --ml-books: 50px !important;
        --ml-right: calc(3 * var(--ml-odd) + var(--ml-books)) !important;
    }

    .oc-ml-name,
    .oc-ml-time {
        font-size: 12px !important;
    }
    
    .oc-ml-score-num,
    .oc-ml-score-divider,
    .oc-ml-dash {
        font-size: 12px !important;
    }
    
    .oc-ml-dash-scored {
        padding: 0 4px !important;
    }

    .oc-ml-odd {
        font-size: 12px !important;
    }
    
    .oc-ml-odd::before {
        height: 30px !important;
    }
}
.all-leagues-directory {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 15px 30px -12px rgba(15, 23, 42, 0.12);
}
.all-leagues-sport-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 5px;
}
.all-leagues-sport-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0.9);
    color: #f1ef2c;
}
.all-leagues-sport-title {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    background: linear-gradient(145deg, #0f172a, #1e3a5f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.all-leagues-section-title {
    background: linear-gradient(135deg, #1e3a5f, #152d4a, #0d1f33);
    color: #dbeafe;
    border: 1px solid #2e5899;
    border-radius: 7px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    box-shadow: 0 6px 12px -4px rgba(14, 30, 60, 0.28), 0 0 0 1px rgba(186, 219, 255, 0.15) inset;
    display: flex;
    align-items: center;
    gap: 10px;
}
.all-leagues-section-title.is-country {
    padding: 10px 16px;
    font-size: 15px;
    background: linear-gradient(135deg, #0f766e, #0b5e58, #074c46);
    border-color: #2dd4bf;
    box-shadow: 0 6px 12px -4px rgba(15, 118, 110, 0.28), 0 0 0 1px rgba(180, 245, 235, 0.15) inset;
    color: #ccfbf1;
}
.all-leagues-section-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}
.all-leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.all-leagues-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: #fafbfd;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    color: #0f172a;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.all-leagues-link:hover {
    background: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 12px 18px -10px rgba(59, 130, 246, 0.22);
    color: #0f172a;
}
.all-leagues-empty {
    color: #64748b;
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border-radius: 6px;
    font-weight: 500;
}
/* =========================================================
   BACK TO TOP BUTTON (ENTERPRISE RESILIENT)
========================================================= */
#be-back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgb(26, 26, 26);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 234, 255);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2147483647;
}

#be-back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#be-back-to-top-btn:hover {
    background: rgba(0, 234, 255, 0.1);
    border-color: rgb(0, 234, 255);
    box-shadow: 0 6px 16px rgba(0, 234, 255, 0.2);
    transform: translateY(-3px);
}

@media screen and (max-width: 1100px) {
    #be-back-to-top-btn {
        bottom: 90px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   WINNING ODD HIGHLIGHT (PRESERVES 3D BUTTON SHAPE)
========================================================= */

.oc-ml-odd.is-winner-odd::before {
background: linear-gradient(360deg, #7CFF9A 0%, #2ECC71 50%, #1E9E52 100%)

}


/* League Hub Container (Desktop Default) */
.be-league-hub {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: 17px;
  margin-bottom: 16px;
}

/* Tablet Specific Override (901px - 1100px) */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  .be-league-hub {
    margin-top: 21.5px;
  }
}

.be-league-hub-header {
  background: var(--bg-card, #1a1d27);
  padding: 20px;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  display: flex;
  justify-content: center; /* Centers the title group */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  position: relative; /* Allows absolute positioning for the star */
}

.be-league-hub-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.be-league-hub-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.be-league-hub-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.be-league-hub-country {
  color: #888ba1;
  font-weight: 500;
}

.be-league-hub-fav {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute; /* Takes the star out of the flex flow */
  right: 20px; /* Pins the star exactly 20px from the right edge */
}

.be-league-hub-nav {
  background: var(--bg-card-dark, #151821);
  padding: 0 20px;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;

}

.be-hub-tab {
  background: transparent;
  border: none;
  padding: 16px 0;
  color: #888ba1;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;

}

.be-hub-tab.is-active {
  color: #00eaff;
  border-bottom-color: #00eaff;
}

/* =========================================================
   LEAGUE HUB BODY & LOADER (LIGHT THEME)
========================================================= */
#be-league-hub-body {
  background: rgb(248, 250, 252);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-top: none;
  border-radius: 0 0 8px 8px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

/* Season Selector Controls */
.be-hub-controls {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.be-season-select {
  padding: 6px 32px 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background-color: #ffffff;
  color: rgb(15, 23, 42);
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23111827%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 10px auto;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.be-season-select:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

/* =========================================================
   STANDINGS TABLE (LIGHT THEME)
========================================================= */
.be-standings-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 0 0 10px 0;
}

.be-standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.be-standings-table th {
  padding: 10px;
  background: linear-gradient(360deg, rgb(188, 195, 195) 0%, rgb(243, 240, 240) 100%);
  color: rgb(17, 17, 17);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  border-left: 1px solid rgba(0, 0, 0, 0.18);
}
.be-standings-table th:first-child { border-left: none; }

.be-standings-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  color: rgb(15, 23, 42);
  font-weight: 600;
  background: rgb(248, 250, 252);
  transition: background-color 0.2s;
}
.be-standings-table td:first-child { border-left: none; }

.be-standings-table tbody tr:hover td {
  background-color: rgb(232, 240, 254);
}

.be-standings-table .col-rank { width: 40px; }
.be-standings-table .col-team { text-align: left; width: 100%; font-weight: 700; color: #111827; }
.be-standings-table .col-pts { font-weight: 800; background: #ffffff; }

.be-rank-pill {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  background: #e2e8f0;
  color: #475569;
}

.be-rank-pill.zone-promo { background: #dcfce7; color: #065f46; border: 1px solid #10b981; }
.be-rank-pill.zone-relegation { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

.be-team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.be-team-cell img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Form Guide */
.be-form-group { display: flex; align-items: center; justify-content: center; gap: 4px; }
.be-form-pill {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
}
.be-form-pill.form-w { background: #16a34a; }
.be-form-pill.form-d { background: #94a3b8; }
.be-form-pill.form-l { background: #dc2626; }

/* =========================================================
   TOP STATS GRID (LIGHT THEME)
========================================================= */
.be-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
}

.be-stats-panel {
  background: rgb(248, 250, 252);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.be-stats-header {
  padding: 12px 16px;
  background: linear-gradient(360deg, rgb(188, 195, 195) 0%, rgb(243, 240, 240) 100%);
  color: rgb(17, 17, 17);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.be-stats-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.be-stats-row:hover { background: rgb(232, 240, 254); }
.be-stats-row:last-child { border-bottom: none; }

.be-stats-rank { width: 24px; color: #64748b; font-weight: 700; font-size: 13px; }
.be-stats-player { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.be-stats-name { font-weight: 700; color: #111827; font-size: 13px; }
.be-stats-team-info { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #475569; font-weight: 600; }
.be-stats-team-info img { width: 14px; height: 14px; object-fit: contain; }
.be-stats-value { font-size: 16px; font-weight: 800; color: #111827; background: #ffffff; border: 1px solid rgba(0,0,0,0.18); padding: 4px 10px; border-radius: 4px; }

/* =========================================================
   RESULTS LIST (LIGHT THEME)
========================================================= */
.be-results-list {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.be-result-row {
  display: grid;
  grid-template-columns: 100px 1fr auto 1fr 60px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  transition: background 0.2s;
  background: rgb(248, 250, 252);
}

.be-result-row:hover { background: rgb(232, 240, 254); }
.be-result-row:last-child { border-bottom: none; }

.be-result-time {
  font-size: 12px;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.be-result-time span:first-child { color: #111827; font-weight: 700; }

.be-result-team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #111827;
  font-weight: 700;
  min-width: 0;
}
.be-result-team.is-home { justify-content: flex-end; text-align: right; }
.be-result-team img { width: 20px; height: 20px; object-fit: contain; }

.be-result-score {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 6px 14px;
  border-radius: 4px;
  text-align: center;
  margin: 0 20px;
  min-width: 60px;
}

.be-result-status {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-align: right;
}

@media screen and (max-width: 900px) {
  .be-stats-grid { grid-template-columns: 1fr; }
  .be-standings-table .col-form { display: none; }
  .be-result-row { grid-template-columns: 60px 1fr auto 1fr; padding: 12px; }
  .be-result-status { display: none; }
}
/* =========================================================
   LEAGUE HUB CONTROLS (FILTERS & SEASON)
========================================================= */
.be-hub-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.be-hub-filters {
  display: flex;
  background: rgb(241, 245, 249);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.be-filter-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(71, 85, 105);
  cursor: pointer;
  transition: all 0.2s;
}

.be-filter-btn:hover {
  color: rgb(15, 23, 42);
}

.be-filter-btn.is-active {
  background: #ffffff;
  color: rgb(15, 23, 42);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hide controls on mobile if needed, or wrap them */
@media screen and (max-width: 600px) {
  .be-hub-controls {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .be-hub-filters { width: 100%; }
  .be-filter-btn { flex: 1; text-align: center; }
  .be-season-select { width: 100%; }
}
/* ========================================================= */
/* BE MATCH CENTER - LIVE HEADER STYLES                      */
/* ========================================================= */

/* Center alignment: Keeps the score in a fixed horizontal line with the teams */
.be-mc-info-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.be-mc-live-score {
    font-size: 26px; 
    font-weight: 800;
    color: #ff4444;
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
}

/* Subtext is detached from the flow so the score isn't pushed up */
.be-mc-live-time {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    color: #ff4444;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.be-mc-ht-score {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    color: #888ba1;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ENTERPRISE FIX: GPU-Accelerated Live Dot & Layout Lock */
.be-live-dot-pulsing {
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4444;
    flex-shrink: 0;

    /* HARD LOCK: Prevents DOM recalculations if animated later */
    transform: translateZ(0);
    will-change: transform, opacity;
    contain: strict;
}

/* Buttons are moved top-left, above the logos */
.be-mc-live-tabs {
    position: absolute;
    left: 16px;
    top: 12px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 10;
}

/* ENTERPRISE FIX: Specific transitions instead of "all" */
.be-mc-odds-mode {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Specific properties only (No layout thrashing) */
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888ba1;
    font-weight: 600;
}

/* Dynamic State Styling via CSS */
.be-mc-odds-mode.is-active[data-mode="live"] {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    color: #ff4444;
    font-weight: 800;
}

.be-mc-odds-mode.is-active[data-mode="pre"] {
    background: rgba(0, 234, 255, 0.1);
    border-color: #00eaff;
    color: #00eaff;
    font-weight: 800;
}

.be-mc-live-indicator {
    width: 6px;
    height: 6px;
    background: #ff4444;
    border-radius: 50%;
}

/* Date is moved top-right, above the logos */
.be-mc-right-date {
    position: absolute;
    right: 16px;
    top: 12px;
    color: #888ba1;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.be-mc-right-date-icon {
    opacity: 0.7;
}

.be-mc-right-date-divider {
    opacity: 0.3;
}

.be-mc-right-date-time {
    color: #ffffff;
}

.be-mc-time-pre {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.be-mc-date-pre {
    font-size: 13px;
    color: #888ba1;
    margin-top: 6px;
    text-align: center;
}

.be-mc-finished-status {
    color: #ff4444;
    font-weight: 700;
}

/* ========================================================= */
/* RESPONSIVE TABLET FIX (901px to 1100px)                   */
/* Scales down sizes while preserving PC absolute positions  */
/* ========================================================= */
@media screen and (max-width: 1100px) and (min-width: 901px) {
    .be-mc-live-score {
        font-size: 20px;
    }

    .be-mc-time-pre {
        font-size: 20px;
    }

    .be-mc-date-pre {
        font-size: 11px;
    }

    .be-mc-live-tabs {
        left: 4px;
        top: 10px;
        gap: 4px;
    }

    .be-mc-odds-mode {
        padding: 3px 6px;
        font-size: 9px;
        gap: 4px;
    }

    .be-mc-right-date {
        right: 4px;
        top: 10px;
        padding: 3px 6px;
        font-size: 10px;
        gap: 4px;
    }
}
.oc-ml-row {
  height: 40px;
  display: grid;
  grid-template-columns:
    var(--ml-time)
    1fr
    var(--ml-dash)
    1fr
    var(--ml-odd)
    var(--ml-odd)
    var(--ml-odd)
    var(--ml-books);
  align-items: center;
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s;
  cursor: pointer; /* Shows the hand cursor on hover */
}
/* ========================================================= */
/* ZERO MOVEMENT FOR ODDS BUTTONS ON CLICK AND HOVER         */
/* ========================================================= */

/* Prevent Matchlist odds buttons from shifting on click */
html body .oc-matchlist .oc-ml-row .oc-ml-odd:active,
html body .oc-matchlist .oc-ml-row .oc-ml-odd:focus {
    transform: none;
}

html body .oc-matchlist .oc-ml-row .oc-ml-odd:active::before,
html body .oc-matchlist .oc-ml-row .oc-ml-odd:focus::before {
    transform: translate(-50%, -50%);
}

/* Prevent Match Center odds buttons from shifting on hover and click */
html body .oc-mc-container .oc-mc-table td.cell-odd .odd-btn:hover,
html body .oc-mc-container .oc-mc-table td.cell-odd .odd-btn:active {
    transform: none;
}
/* =======================================================
   ENTERPRISE FIX: GLOBAL ANTI-CLS (Cumulative Layout Shift)
   Reserves physical DOM space for the main shell before JS hydration
======================================================= */

/* Mobile Layout Shell */
@media (max-width: 900px) {
    .oc-shell {
        min-height: calc(100vh - 60px) !important; 
        contain: layout style;
    }
}

/* Tablet Layout Shell */
@media screen and (max-width: 1100px) and (min-width: 901px) {
    .oc-shell {
        min-height: calc(100vh - 149px) !important; 
        contain: layout style;
    }
    .oc-shell .oc-left,
    .oc-shell .oc-center,
    .oc-shell .oc-right {
        min-height: calc(100vh - 149px) !important;
    }
}

/* Desktop Layout Shell */
@media screen and (min-width: 1101px) {
    .oc-shell {
        min-height: calc(100vh - 149px) !important; 
        contain: layout style;
    }
    .oc-shell .oc-left,
    .oc-shell .oc-center,
    .oc-shell .oc-right {
        min-height: calc(100vh - 149px) !important;
    }
}
/* =========================================================
   ENTERPRISE FIX: GLOBAL BOTTOM SPACING
   Guarantees breathing room at the bottom of the page
   regardless of which column is the longest.
========================================================= */
html body .oc-shell .oc-grid {
    padding-bottom: 100px !important;
}
/* =======================================================
   ENTERPRISE FIX: 0% CPU Live Dot (Pure GPU Opacity)
   Kills toxic box-shadows and scale animations on scroll
======================================================= */

.be-live-dot, 
.be-live-dot-pulsing {
    width: 8px !important;
    height: 8px !important;
    background-color: #ff4444 !important;
    border-radius: 50% !important;
    
    /* KILL THE TOXIC CPU SHADOW & SCALING */
    box-shadow: none !important; 
    
    /* PURE GPU ANIMATION (Opacity only) */
    animation: beLiveDotZeroCPU 1.5s ease-in-out infinite !important;
    
    /* HARDWARE LOCK (Prevents Layout Thrashing) */
    transform: translateZ(0) !important;
    will-change: opacity !important;
    contain: strict !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

@keyframes beLiveDotZeroCPU {
    0% { opacity: 1; }
    50% { opacity: 0.15; }
    100% { opacity: 1; }
}

/* ANTI-JITTER FIX: Prevents Sticky Headers from recalculating */
.oc-ml-header, .oc-ml-dateRow {
    transform: translateZ(0);
    will-change: transform;
}
