      :root {
        --bg: #f3f5f7;
        --panel: #ffffff;
        --panel-2: #f6f7f9;
        --ink: #17212b;
        --muted: #6b7280;
        --line: #dde3ea;
        --line-2: #edf1f5;
        --brand: #1f6feb;
        --brand-dark: #1756b8;
        --accent: #ffb400;
        --danger: #c62828;
        --success: #138a5e;
        --shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
        --radius: 14px;
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;
        font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        color: var(--ink);
        background: var(--bg);
      }

      body.embed-mode {
        background: transparent;
      }

      body.embed-mode .page {
        max-width: none;
        padding: 0;
      }

      body.embed-mode .hero,
      body.embed-mode .panel {
        border-radius: 0;
        box-shadow: none;
      }

      body.embed-mode .hero {
        margin-bottom: 8px;
      }

      body.embed-mode .panel {
        margin-bottom: 8px;
      }

      .hero {
        background: var(--panel);
        color: var(--ink);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 16px 18px;
        margin-bottom: 12px;
      }

      .hero h1 {
        margin: 0 0 4px;
        font-size: clamp(1.45rem, 3vw, 2rem);
        letter-spacing: -0.02em;
      }

      .hero p {
        margin: 0;
        max-width: 920px;
        color: var(--muted);
        font-size: 0.95rem;
      }

      .panel {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 14px;
        margin-bottom: 12px;
      }

      .mobile-game-header {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 0px;
        align-items: start;
        padding: 0 0 14px;
      }

      .controls {
        display: grid;
        grid-template-columns: 120px 150px;
        gap: 8px;
        align-items: end;
        justify-content: end;
      }

      label {
        display: block;
        margin-bottom: 6px;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: var(--muted);
        text-transform: uppercase;
      }

      input,
      button {
        width: 100%;
        border-radius: 10px;
        font: inherit;
        padding: 10px 12px;
      }

      input {
        border: 1px solid var(--line);
        background: white;
        color: var(--ink);
      }

      button {
        border: 1px solid transparent;
        cursor: pointer;
        background: var(--brand);
        color: white;
        font-weight: 700;
        transition:
          transform 140ms ease,
          opacity 140ms ease;
      }

      button:hover {
        transform: translateY(-1px);
      }

      button:disabled {
        opacity: 0.75;
        cursor: wait;
        transform: none;
      }

      .warning {
        margin-top: 8px;
        color: #9a6700;
        font-size: 0.82rem;
      }

      .status {
        min-height: 24px;
        margin-top: 8px;
        font-size: 0.86rem;
        color: var(--muted);
      }

      .status.error {
        color: var(--danger);
      }

      .toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
      }

      .toolbar-group {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
      }

      .toolbar-label {
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
        margin-right: 2px;
      }

      .tab {
        border: 1px solid var(--line);
        background: var(--panel-2);
        color: var(--ink);
        border-radius: 8px;
        padding: 8px 12px;
        width: auto;
        min-width: 0;
        font-size: 0.86rem;
        font-weight: 700;
      }

      .tab.active {
        background: #eef5ff;
        border-color: #bdd3f9;
        box-shadow: inset 0 0 0 1px #bdd3f9;
        color: var(--brand-dark);
      }

      .legend {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        padding: 4px 4px 0;
        color: var(--muted);
        font-size: 0.8rem;
      }

      .legend strong {
        color: var(--ink);
      }

      .hidden {
        display: none !important;
      }

      .board {
        /* overflow: auto; */
        border: 1px solid var(--line);
        border-radius: 12px;
        background: white;
      }

      table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: fixed;
      }

      thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #262626;
        color: #4b5563;
        padding: 10px 8px;
        text-align: center;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        border-bottom: 1px solid var(--line);
      }

      tbody td {
        padding: 0;
        border-bottom: 1px solid var(--ink);
        vertical-align: stretch;
        background: white;
      }

      tbody tr:hover td {
        background: #fbfdff;
      }

      .game-cell {
        padding: 12px;
        width: 24%;
      }

      .game-time {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: 8px;
      }

      .team-row {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        padding: 8px 0;
        border-top: 1px dashed var(--line-2);
      }

      .team-info {
        flex: 1;
        min-width: 0;
      }

      .team-row:first-of-type {
        border-top: 0;
      }

      .team-name {
        font-weight: 800;
        line-height: 1.2;
        word-break: break-word;
        font-size: 0.95rem;
      }

      .team-side {
        color: var(--muted);
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }

      .record {
        color: var(--muted);
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
        text-align: right;
      }

      .book-col {
        width: 19%;
        border-left: 1px solid var(--line-2);
      }

      .book-col-head {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        min-height: 44px;
      }

      .book-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 72px;
        min-height: 28px;
        padding: 4px 8px;
        border-radius: 8px;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: var(--ink);
        text-align: center;
        background: transparent;
      }

      .book-logo {
        display: block;
        width: 100%;
        height: 20px;
      }

      .book-logo-img {
        display: block;
        max-width: 100%;
        width: auto;
        object-fit: contain;
      }

      .book-badge.has-image {
        width: 100%;
        max-width: 100px;
        min-width: 0;
        min-height: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
      }

      .book-badge.text-logo {
        background: white;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px 16px;
        color: var(--ink);
        box-shadow: none;
      }

      .market-stack {
        display: grid;
        grid-template-rows: 1fr 1fr;
        height: 100%;
        position: relative;
        top: 11px;
      }

      .mobile-book-header {
        display: none;
      }

      .market-box {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 10px;
        min-height: 36px;
      }

      .market-box+.market-box {
        border-top: 1px solid var(--line-2);
      }

      .market-line {
        font-size: 0.98rem;
        font-weight: 500;
        color: var(--ink);
        line-height: 1.15;
        display: block;
      }

      .market-line.muted {
        color: var(--muted);
        font-weight: 700;
      }

      .market-odds {
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--brand);
        white-space: nowrap;
        line-height: 1.15;
        display: block;
      }

      .market-line-link,
      .market-odds-link,
      .mobile-odds-link {
        color: var(--brand);
        text-decoration: none;
      }

      .market-line-link {
        color: inherit;
      }

      .market-line-link:hover,
      .market-odds-link:hover,
      .mobile-odds-link:hover {
        text-decoration: underline;
      }

      .market-value-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: inherit;
        text-decoration: none !important;
        width: 100%;
      }

      .market-value-link:hover .market-line-link,
      .market-value-link:hover .market-odds-link {
        text-decoration: underline;
      }

      .market-label {
        display: block;
        font-size: 0.68rem;
        font-weight: 800;
        color: var(--muted);
        letter-spacing: 0.04em;
        text-transform: uppercase;
        margin-bottom: 4px;
      }

      .empty {
        padding: 20px;
        color: var(--muted);
        text-align: center;
        font-size: 0.9rem;
      }

      .mobile-date-band,
      .mobile-game-card {
        display: none;
      }

      .mobile-odds-scroll {
        overflow: hidden;
      }

      .mobile-odds-panel {
        width: 100%;
        border: 1px solid var(--line);
        background: white;
      }

      .mobile-odds-header {
        display: grid;
        grid-template-columns: minmax(110px, 1fr) 56px minmax(120px, 1fr) 56px;
        background: #f4f7fa;
        border-bottom: 1px solid var(--line);
      }

      .mobile-odds-matchup-head,
      .mobile-odds-logo-wrap,
      .mobile-odds-nav {
        min-height: 74px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-right: 1px solid var(--line);
      }

      .mobile-odds-header> :last-child {
        border-right: 0;
      }

      .mobile-odds-matchup-head {
        justify-content: flex-start;
        font-size: 0.78rem;
        font-weight: 700;
        color: #2563eb;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }

      .mobile-odds-logo-wrap {
        background: white;
      }

      .mobile-nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: #eef2f6;
        color: #6b7280;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
      }

      .mobile-nav-btn:disabled {
        opacity: 0.45;
        cursor: default;
      }

      .mobile-bookmaker-title .book-badge {
        min-width: 0;
        width: 100%;
        max-width: 150px;
      }

      .mobile-odds-body {
        background: white;
      }

      .mobile-odds-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 14px 12px;
        border-top: 1px solid var(--line-2);
      }

      .mobile-odds-row:first-child {
        border-top: 0;
      }

      .mobile-team-code {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        font-weight: 800;
      }

      .mobile-team-meta {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--ink);
      }

      .mobile-odds-value {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--ink);
        white-space: nowrap;
      }

      .mobile-odds-value.muted {
        color: var(--muted);
      }

      .mobile-odds-combo {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
      }

      .mobile-odds-line {
        color: var(--ink);
        font-weight: 800;
      }

      .mobile-odds-price {
        color: var(--brand);
        font-weight: 700;
        padding-left: 20px;
      }

      /* DESKTOP DATE ROW DIVIDER */
      .date-divider-row td {
        background-color: #dbb04f;
        color: #fff;
        font-weight: 800;
        font-size: 1rem;
        padding: 12px 14px !important;
        text-align: left;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        letter-spacing: 0.03em;
        text-align: center;
      }

      @media (max-width: 980px) {
        .controls {
          grid-template-columns: 1fr;
        }

        .toolbar {
          align-items: flex-start;
        }

        table {
          table-layout: auto;
        }
      }

      @media (max-width: 760px) {
        .hardrockbet img {
          height: 50px !important;
        }

        .betway img {
          height: 50px !important;
        }

        .draftkings img {
          height: 50px !important;
        }

        .mobile-odds-matchup-head {
          justify-content: center;
        }

        .mobile-odds-row {
          justify-content: space-around;
        }

        .page {
          padding: 10px 8px 18px;
        }

        .hero,
        .panel {
          border-radius: 12px;
          padding: 12px;
        }

        .legend {
          gap: 8px;
          padding: 4px 2px 0;
          font-size: 0.76rem;
        }

        .board {
          border: 0;
          background: transparent;
          overflow: visible;
        }

        thead {
          display: none;
        }

        table,
        tbody {
          width: 100%;
          table-layout: fixed;
        }

        tbody tr.mobile-event-row td {
          display: block;
          width: 100%;
          padding: 0 !important;
          border: 0;
          background: transparent;
        }

        .mobile-date-band {
          display: block;
          background: #242a33;
          color: white;
          padding: 16px 18px;
          margin: 0 0 12px;
          font-size: 1rem;
          font-weight: 800;
        }

        .mobile-game-card {
          display: block;
          background: white;
          margin-bottom: 18px;
          user-select: none;
          -webkit-user-select: none;
          gap: 12px;
          align-items: start;
          padding: 0 0 14px;
        }

        .mobile-favorite {
          width: 24px !important;
          height: 24px !important;
          border-radius: 4px !important;
          border: 1px solid #dbb04f !important;
          color: #dbb04f !important;
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          font-size: 0.9rem !important;
          font-weight: 700 !important;
          margin-top: 2px;
          background: transparent !important;
        }

        .mobile-game-meta {
          color: #374151;
          font-size: 0.88rem;
          margin-bottom: 2px;
        }

        .mobile-game-title {
          font-size: 1.05rem;
          line-height: 1.22;
          font-weight: 800;
          color: #1f2937;
        }

        .mobile-odds-scroll {
          overflow: hidden;
          padding-bottom: 0;
        }

        .mobile-odds-matchup-head,
        .mobile-odds-logo-wrap,
        .mobile-odds-nav {
          min-height: 70px;
          padding: 8px;
        }

        .mobile-bookmaker-title .book-badge.has-image {
          max-width: 96px;
          min-height: 0;
          padding: 0;
        }

        .mobile-bookmaker-title .book-logo-img {
          height: 20px;
          max-width: 90px;
        }

        .mobile-odds-row {
          padding: 12px 10px;
        }

        .mobile-team-code,
        .mobile-team-meta,
        .mobile-odds-value {
          font-size: 0.9rem;
        }

        /* NEW MOBILE CSS FIXES */
        .page-odds-table .mobile-odds-scroll-wrap {
          position: relative;
        }

        .page-odds-table .mobile-scroll-btn {
          position: absolute;
          top: 60%;
          transform: translateY(-50%);
          z-index: 10 !important;
          background: transparent;
          border: none;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          font-size: 40px !important;
          font: revert;
        }

        .page-odds-table .mobile-scroll-btn.prev-btn {
          left: 95px;
        }

        .page-odds-table .mobile-scroll-btn.next-btn {
          right: 5px;
        }

        .page-odds-table .mobile-matchup-head,
        .page-odds-table .mobile-matchup-cell {
          min-width: 90px;
          max-width: 90px;
          padding: 15px !important;
        }

        .page-odds-table .mobile-book-cell {
          min-width: 124px;
          padding: 10px;
          border-left: 1px solid #ced2db;
        }

        td.mobile-book-cell {
          padding: 20px 1.5% !important;
        }
      }

      /* Shared layout refresh for odds pages */
      .game-cell {
        padding: 10px 10px 10px 14px !important;
        width: 22% !important;
      }

      .game-time {
        margin-bottom: 6px !important;
      }

      .team-row {
        padding: 6px 0 !important;
      }

      .team-name {
        font-size: 0.9rem !important;
      }

      .record {
        font-size: 0.76rem !important;
      }

      @media (max-width: 760px) {
        .page-odds-table .board {
          border: 0 !important;
          background: transparent !important;
          overflow: visible !important;
        }

        .page-odds-table .mobile-game-card {
          display: block !important;
          background: #fff !important;
          margin-bottom: 14px !important;
        }

        .page-odds-table .mobile-game-header {
          padding: 0 0 8px !important;
        }

        .page-odds-table .mobile-game-meta {
          margin-bottom: 0 !important;
          font-size: 0.84rem !important;
        }

        .page-odds-table .mobile-game-title {
          font-size: 1rem !important;
          line-height: 1.18 !important;
        }

        .page-odds-table .mobile-odds-scroll-wrap {
          margin-top: 0 !important;
          padding: 0 !important;
        }

        .page-odds-table .mobile-odds-scroll {
          display: block !important;
          overflow-x: auto !important;
          overflow-y: hidden !important;
          -webkit-overflow-scrolling: touch !important;
          scroll-behavior: smooth !important;
          scrollbar-width: none !important;
          border: 1px solid var(--line) !important;
          background: #fff !important;
          padding: 0 !important;
        }

        .page-odds-table .mobile-odds-table {
          width: max-content !important;
          min-width: 100% !important;
          table-layout: fixed !important;
          border-collapse: separate !important;
          border-spacing: 0 !important;
          margin-block: 0 !important;

        }

        .page-odds-table .mobile-odds-table thead {
          display: table-header-group !important;
        }

        .page-odds-table .mobile-odds-table thead th,
        .page-odds-table .mobile-odds-table tbody td {
          display: table-cell !important;
        }

        .page-odds-table .mobile-odds-table thead th:first-child,
        .page-odds-table .mobile-odds-table tbody td:first-child {
          position: sticky !important;
          left: 0 !important;
          z-index: 4 !important;
        }

        .page-odds-table .mobile-matchup-head,
        .page-odds-table .mobile-matchup-cell {
          background: #edf2f7 !important;
        }

        .page-odds-table .mobile-book-cell {
          min-width: 124px !important;
        }

        .page-odds-table .mobile-book-head {
          min-height: 46px !important;
          padding-block: 5px !important;
        }

        .page-odds-table .mobile-book-head .book-logo-img {
          height: 35px !important;
        }

        .page-odds-table .mobile-scroll-btn {
          z-index: 10 !important;
        }

        .page-odds-table .mobile-team-code,
        .page-odds-table .mobile-team-meta {
          font-size: 0.82rem !important;
        }
      }

      tbody#oddsTableBody .date-divider-row:hover td {
        background: #dbb04f !important;
      }

      tbody#oddsTableBody tr {
        background: transparent !important;
      }

      .odds-table-container th {
        padding: 0px !important;
      }

      span.book-badge.has-image.hardrockbet img {
        position: relative;
        top: 0px;
        height: 30px;
      }

      span.book-badge.has-image.draftkings img {
        height: 35px;
        position: relative;
        top: 0px;
      }

      span.book-badge.has-image.betway img {
        position: relative;
        top: 0px;
        height: 56px;
      }

      span.book-badge.has-image.betmgm img {
        position: relative;
        top: 0px;
      }

      th#firstColumnHeader {
        color: #fff;
        font-size: 1rem;
        letter-spacing: 2px;
        text-align: center;
      }


      table.odds-table-container,
      .odds-table-container tbody,
      .odds-table-container tfoot,
      .odds-table-container thead,
      .odds-table-container tr,
      .odds-table-container th,
      .odds-table-container td {
        vertical-align: middle;
      }