      /* ===== Header ===== */
      .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #000;
        color: white;
        padding: 5px 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
      }

      .sport-section {
        padding-top: 20px;
      }

      .site-title {
        margin: 0;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s ease;
      }
      .favicon-icon {
        width: 30px;
        height: 30px;
        margin-right: 30px;
        transition: transform 0.3s ease;
      }
      .site-title:hover,
      .favicon-icon:hover {
        transform: scale(1.1);
      }

    /* STICKY ROW */

      #controls-sticky {    /* Fixes header bar to top */
        position: sticky;
        top: 40px;
        z-index: 999;
        background-color: rgba(136, 144, 145, 0.1);
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
      }

      .sticky-inner {       /* Flex container for 3 sections (left, center, right) */
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 100px; /* Increased spacing between left/center/right blocks */
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
      }

      .controls-row {       /* Controls layout for full row */
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
      }

      .controls-left,
      .controls-center,
      .controls-right {     /* Defines each zone of sticky bar */
        display: flex;
        align-items: center;
        flex-wrap: wrap;
      }
      
      .controls-left-extra {
        justify-content: flex-start;
        flex: 1;
        gap: 10px;
        min-width: 200px;
        white-space: nowrap; /* ✅ Prevents wrapping */
      }
      .controls-left {
        justify-content: flex-start;
        flex: 1;
        gap: 10px;
        min-width: 200px;
        white-space: nowrap; /* ✅ Prevents wrapping */
      }
      
      .controls-center {
        display: flex;
        justify-content: center;
        flex: 2;
        flex-wrap: nowrap;     /* prevents wrapping */
        overflow-x: auto;       /* allows horizontal scroll if necessary */
        gap: 10px;
      }
      

      .controls-right {
        justify-content: flex-end;
        flex: 1;
        min-width: 150px;
      }

      #lastUpdated {
        font-size: 11px;
        margin-left: auto;
        text-align: right;
        align-self: center; /* if needed within the flex container */
      }


      .odds-toggle {
        display: none;
      }

      .odds-label {
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 15px;
        font-weight: bold;
        background-color: rgba(180, 180, 180, 0.3);
        color: #000;
        border: 2px solid rgba(120, 120, 120, 0.5);
        backdrop-filter: blur(3px);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
        transition: all 0.25s ease-in-out;
        cursor: pointer;
      }
      .odds-label:hover {
        background-color: #ffce91;  /* soft orange highlight on hover */
        border-color: #d99900;
        color: #000;
      }

      .odds-toggle:not(:checked) + .odds-label:hover {
        background-color: #ffce91;
        border-color: #d99900;
        color: #000;
      }

      .odds-toggle:checked + .odds-label {
        background-color: rgba(40, 167, 69, 0.8); /* translucent green */
        color: #fff;
        border-color: rgba(40, 167, 69, 0.7);
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
      }

      .sport-button {
        padding: 8px 16px;
        font-size: 13px;
        font-weight: bold;
        background-color: rgba(179, 209, 255, 0.3);
        border-radius: 8px;
        border: 1px solid #aaa;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      .sport-button:hover {
        background-color: rgba(153, 194, 255, 0.4);
      }
      .sport-button.selected-sport {
        background-color: #4b87d4;
        color: white;
        border: 2px solid #041329;
      }
      .main-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
      }

      .scroll-top-button {
        background-color: rgba(240, 240, 240, 0.6);
        border: 1px solid #ccc;
        padding: 6px 12px;
        font-weight: bold;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s ease;
      }
      .scroll-top-button:hover {
        background-color: #ddd;
      }
      
      .table-wrapper {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 10px;
        margin-bottom: 20px;
      }
      
      h3 {
        margin-bottom: 6px;  /* default is often ~20px */
      }

      .odds-table {
        table-layout: auto;
        width: auto;
        min-width: 1000px;
        border-collapse: separate;   /* Separate = space between cells; Collapse = basic table layout */
        font-size: 11px;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 30px 0 30px;
        outline: 1px solid #ddd;   /* keep cell lines visible on hover */
        border-spacing: 0;
      }

      
      .odds-table.auto-layout {
        table-layout: auto !important;
      }

      td,
      th {
        padding: 2px 4px;  /* was 4px or 6px before — now tighter */
        text-align: center;
        border: 1px solid #ccc;
        white-space: nowrap;
        vertical-align: middle;
      }

      th {
        background-color: #f1f1f1;
        font-weight: bold;
        font-size: 12px;
      }
      

      th.matchup-header {
        vertical-align: middle;
        text-align: center;
      }

      .event-time {
        vertical-align: middle;
        max-width: 80px;
        min-width: 60px;
        width: 8%;
        text-align: center;
        white-space: normal;
        padding: 2px;
        font-size: 11px;
      }

      .score-row {
        font-weight: 500;
        font-size: 2px;
        line-height: 1.1;
        margin-bottom: 2px;
        background-color: #fcffd1;  
      }

      .score-inline {
        display: inline;
        font-size: 11px;
        font-weight: 500;
        margin: 0 2px;
        white-space: nowrap;
      }

      .game-status-pill {
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 6px;
        background-color: #fcffd1;  
      }
      

      .bookmaker-header {
        font-weight: bold;
        font-size: 12px;
        text-align: center;
        vertical-align: middle;
        width: 180px;        /* ← KEY: 60px * 3 */
        max-width: 180px;
        min-width: 150px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        
      }

      .matchup-name {
        text-align: left;
        padding: 2px;
      }
      .matchup-header,
      .matchup-name {
        max-width: 180px;
        min-width: 150px;
        width: 18%;
        white-space: normal;
        word-break: break-word;
      }

      .matchup-name div {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: .5px 0;
      }

      .odds-separator {
        border: none;
        border-top: 1px dashed #bbb;
        height: .5px;
        background-color: transparent;
        margin: .5px 0;
        width: 100%;
        opacity: 0.3;
      }

      .separator {
        font-weight: normal;
        color: #666;
        line-height: 1;
      }

      .team-logo {
        width: 14px;
        height: 14px;
      }
      .team-name {
        font-size: 11px;
        font-weight: bold;
        white-space: nowrap;
        gap: 2px;
        line-height: 1;
      }

      .starter-toggle-wrapper {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 16px;
        font-weight: bold;
        white-space: nowrap;
      }
      
      #toggleStarters {
        width: 16px;
        height: 16px;
      }
      
      .heatmap-toggle-wrapper {  /* Toggle inside sticky row - Wraps checkbox + label, handles layout */
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 14px;         /* smaller than sticky row buttons */
        font-weight: bold;
        gap: 6px;
        margin-right: 12px;
        white-space: nowrap;
      }
      
      /* .heatmap-toggle-wrapper input {
        transform: scale(0.85);   ----shrink checkbox size 
      }  */
      
      
      .heatmap-toggle-label {   /* Toggle inside sticky row - Styles the label text only*/
        font-size: 16px;
        font-weight: bold;
        white-space: nowrap;
      }
      
      .odds-per-team {              /* The FULL cell layout for odds (spread, ML, total) */
        content: "—";
        display: flex;
        flex-direction: column;
        gap: 2px;                   /* gap:2px is good spacing display between home/away odds */
        font-size: 11px;
        align-items: center;
        text-align: center;         /* Center odds */
        height: 100%;
        width: 100%;
      }

      .team-odds {                 /* The actual value for EACH team, styled separately */
        display: block;            /* NEW: fill the half‑cell */
        width: 100%;               /* NEW: stretch full width */
        height: 100%;
        box-sizing: border-box;    /* NEW: include padding/borders in width */
        line-height: 1;
        padding: 0;
        margin: 0;
        flex: 1;
        text-align: center;
        font-size: 11px;
        justify-content: center;
        transition: background-color 0.2s ease;
      }


      .team-odds + .team-odds {
        margin-top: 0.5px;
      }

      .team-odds:last-child {
        border-bottom: none;
      }
      


      /* ===== Row visibility / differentiation ===== */

      .matchup-row {
        border-bottom: 1px solid #ddd;
      }

      .suggested-row {
        border-bottom: 2px solid #ccc;
      }      
      
      .matchup-row:hover {
        background-color: #aaceff;
        cursor: pointer;
        /* Remove the below 
        transform: scale(1.005);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
        z-index: 1;
        position: relative;
        border-collapse: separate;*/
      }
      
      .bookmaker-highlight {
        background-color: #d7edff !important;
        transition: background-color 0.2s ease;
      }
      
      
      .matchup-row.highlighted {     /* Double click to highlight row */
        background-color: #ffe6cc !important;
        border-left: 4px solid #fff067;
      }
      

      








      /* ===== Event Time -> Status + Score Pill Box ===== */

      .event-started {
        background-color: #fcabab;
        border-left: 4px solid #ff4444;
      }

      .event-final {
        background-color: #fffb00;
        color: #000000;
        border-left: 4px solid #5a00c03f;
      }

      /* Uniform styling for odds cells */
      td.spread,
      td.overunder,
      td.moneyline,
      th.spread,
      th.overunder,
      th.moneyline {
        width: 60px;
        max-width: 70px;
        min-width: 50px;
        padding: 1px 2px;
        font-size: 11px;
        text-align: center;
        white-space: nowrap;
        font-weight: normal;
        justify-content: center;
        align-items: center;
      }


      body {
        font-family: Arial, sans-serif;
        background-color: rgb(255, 255, 244);
        padding-top: 90px;
        text-align: center;
      }

      /* Suggested Wager Field */

      .suggested-wager-header {
        width: 30px;
        font-size: 14px;
        color: #444;
      }

      .suggested-wager-cell {
        text-align: center;
        vertical-align: middle;
        padding: 2px;
      }

      .suggested-wager-circle {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid #ccc;
        font-size: 14px;
        font-weight: bold;
        color: #444;
        background-color: white;
        cursor: pointer;
        line-height: 16px;
        padding: 0;
        transition: all 0.3s ease;
        position: relative;
        
      }

      .suggested-wager-circle:hover {
        border-color: #999;
        background-color: #f0f0f0;
      }

      .suggested-wager-circle.lit {
        background-color: rgb(104, 187, 37);
        color: white;
        border-color: #1c7c31;
        animation: glow 2.4s infinite ease-in-out;
        transform: scale(1.1);
      }      

      .suggestion-text {
        font-size: 10px;
        margin-top: 0;
        margin-bottom: 0;
        color: #333;
      }

      .suggested-row .suggested-wager-text {
        font-size: 12px;
        font-weight: 500;
        color: #155724;
        background-color: #eaffea;
        padding: 6px 10px;
        margin-left: 12px;
        border-left: 3px solid #28a745;
        border-radius: 4px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
        text-align: left;
        transform: translateX(4px);
      }

      .suggested-wager-block {
        margin-bottom: 4px;
        padding: 4px 8px;
        background-color: #eaffea;
        border-left: 3px solid #3cad25;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 500;
        text-align: left;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
      }

      .suggested-wager-block:last-child {
        margin-bottom: 0;
      }

      .suggested-wager-expanded {
        background-color: #f8fff8;
        padding: 4px;
      }

      .suggested-row td {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        border-top: none;
      }
      

      .highlight-best {
        background-color: #d8f5d0 !important;
        font-weight: bold;
        box-shadow: inset 0 0 3px #4caf50;
      }

    

      /* Heatmaps & Best Odds */
      
      
      .heatmap-label {
        text-align: left;
        font-size: 16px;
        font-weight: bold;
        text-decoration-line: underline;
        margin-bottom: 4px;
      }

      .heatmap-buttons {
        display: flex;
        gap: 4px;
        margin-top: 2px;
        font-size: 14px;
        
      }

      .heatmap-toggle {
        appearance: none;
        width: 16px;
        height: 16px;
        margin-right: 4px;
        border: 1px solid #888;
        border-radius: 3px;
        background-color: #fff;
        position: relative;
        margin-top: 2px;
      }

      .heatmap-toggle:checked {
        background-color: #53ff3c;
        border-color: #2f855a;
      }

      @keyframes glow {
        0% {
          box-shadow: 0 0 0px rgba(40, 167, 69, 0.4);
        }
        50% {
          box-shadow: 0 0 12px rgba(40, 167, 69, 0.9);
        }
        100% {
          box-shadow: 0 0 0px rgba(40, 167, 69, 0.4);
        }
      }
      
      .best-odds-glow {
        animation: glow 1.4s infinite ease-in-out;
        background-color: #d4edda;          /* Light green background */
        font-weight: bold;                  /* Boldens text */
        padding: 2px 4px;                   /* Adds slight space inside */
        border-radius: 6px;
      }      
      
      @media (max-width: 768px) {
      .sticky-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .controls-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .controls-left,
      .controls-center,
      .controls-right {
        justify-content: center;
        flex: unset;
        min-width: unset;
        width: 100%;
      }

      .controls-left,
      .controls-right {
        gap: 8px;
        margin-bottom: 5px;
      }

      .controls-center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
      }
    }

    /* Tagline under SharpsDen title */
.tagline {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
  text-align: center;
}

/* Feature highlight cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.feature {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* How It Works section */
.how-it-works {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}
.how-it-works h2 {
  text-align: center;
  margin-bottom: 16px;
}

/* Why SharpsDen section */
.why-sharpsden {
  max-width: 750px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}
.why-sharpsden h2 {
  text-align: center;
  margin-bottom: 16px;
}
.why-sharpsden ul {
  list-style: none;
  padding-left: 0;
}
.why-sharpsden li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

/* Coming soon teaser */
.coming-soon {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}
.coming-soon h4 {
  text-align: center;
}
.coming-soon ul {
  list-style: none;
  padding-left: 0;
}
.coming-soon li {
  padding-left: 1.4em;
  text-indent: -1.4em;
  font-size: 16px;
  line-height: 1.5;
}

.cta-button {
  background-color: #004aad;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
  background-color: #00307a;
  transform: scale(1.04);
}

.what-we-analyze {
  max-width: 750px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}
.what-we-analyze h2 {
  text-align: center;
  margin-bottom: 16px;
}
.what-we-analyze ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}
.what-we-analyze li {
  padding-left: 1.4em;
  text-indent: -1.4em;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* === Sticky Bar Adjustments === */

.sticky-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 2px;
}

.bottom-row {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  gap: 10px;
  justify-content: center;
}

/* Center the odds toggles block */
.bottom-row .controls-left {
  justify-content: center;
  flex: 1;
  min-width: unset;
}

/* Horizontal scroll for sport buttons */
.controls-center {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  gap: 10px;
  flex: 2;
  scrollbar-width: none; /* Firefox */
}

.controls-center::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

      .bottom-row .controls-left-extra {
        flex: 1;
        min-width: 200px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
      }

      .bottom-row .controls-left {
        flex: 1;
        min-width: 200px;
        display: flex;
        justify-content: center;
        gap: 8px;
      }

      .bottom-row .controls-right {
        flex: 1;
        min-width: 150px;
        display: flex;
        justify-content: flex-end;
        font-size: 11px;
      }
