    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
      color: white;
      min-height: 100vh;
    }

    .main-content {
      padding-top: 80px;
    }

    .dropdown-container:hover 

    /* Mobile dropdown adjustments */
    @media (max-width: 768px) {

      .dropdown-container:hover 
    }

    /* Submenu Styles */

    .submenu-container:hover 

    .main-content h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 2rem;
      background: linear-gradient(45deg, #00ff00, #00cc88);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Calendar Controls */
    .calendar-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      flex-wrap: wrap;
    }

    .date-input {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 10px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
    }

    .date-input:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .date-btn {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 10px 20px;
      border-radius: 10px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .date-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
    }

    .selected-date {
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.1rem;
      color: #00ff00;
      font-weight: bold;
    }

    /* ML Predictions Section Styles */
    #predictions-section {
      max-width: 1000px;
      margin: 30px auto;
      padding: 25px;
      background: rgba(0, 255, 0, 0.05);
      border: 2px solid #00ff00;
      border-radius: 15px;
      backdrop-filter: blur(10px);
      box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    }

    .predictions-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .predictions-header h3 {
      font-size: 1.8rem;
      background: linear-gradient(45deg, #00ff00, #00cc88);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 0;
    }

    .premium-badge {
      background: linear-gradient(45deg, #FFD700, #FFA500);
      color: #000;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: bold;
      letter-spacing: 1px;
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    }

    .predictions-header-right {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .toggle-predictions-btn {
      background: linear-gradient(135deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 8px 20px;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .toggle-predictions-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    }

    .toggle-predictions-btn:active {
      transform: translateY(0);
    }

    .predictions-table-container {
      overflow-x: auto;
      border-radius: 10px;
      margin-bottom: 15px;
    }

    .predictions-table {
      width: 100%;
      border-collapse: collapse;
      background: rgba(0, 0, 0, 0.3);
    }

    .predictions-table thead {
      background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 204, 136, 0.2));
      border-bottom: 2px solid #00ff00;
    }

    .predictions-table th {
      padding: 15px;
      text-align: left;
      color: #00ff00;
      font-weight: bold;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .predictions-table td {
      padding: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .predictions-table tbody tr:hover {
      background: rgba(0, 255, 0, 0.1);
      transition: all 0.3s ease;
    }

    .predicted-winner {
      font-weight: bold;
      color: #00ff00;
      text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .confidence-bar {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .confidence-percentage {
      font-weight: bold;
      color: #00ff00;
      min-width: 45px;
    }

    .confidence-fill {
      flex: 1;
      height: 8px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .confidence-level {
      height: 100%;
      background: linear-gradient(90deg, #00ff00, #00cc88);
      border-radius: 10px;
      transition: width 0.5s ease;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    }

    .predictions-note {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
      text-align: center;
    }

    /* Mobile Predictions Optimization (copied from NHL) */
    @media (max-width: 768px) {
      #predictions-section {
        padding: 15px;
        margin: 20px 10px;
        overflow: hidden;
      }

      .predictions-header {
        flex-wrap: wrap;
        gap: 10px;
      }

      .predictions-header h3 {
        font-size: 1.1rem;
        flex: 1 1 100%;
        text-align: center;
      }

      .predictions-header-right {
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .toggle-predictions-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
        max-width: 100%;
      }

      .premium-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
      }

      .predictions-table th,
      .predictions-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
      }

      .team-logo {
        width: 24px;
        height: 24px;
      }

      .winner-logo {
        width: 20px;
        height: 20px;
      }

      .confidence-bar {
        min-width: 60px;
      }

      .matchup-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }

      .predictions-table thead {
        display: none;
      }

      .predictions-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid rgba(0, 255, 0, 0.2);
        border-radius: 8px;
        padding: 10px;
      }

      .predictions-table td {
        display: block;
        border: none;
        padding: 5px 0;
      }

      .predictions-table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #00ff00;
        margin-right: 8px;
      }
    }

    /* Style for the Game Containers - NFL styling applied */
    #mlb-game-containers {
      display: grid;
      gap: 24px;
      max-width: 1100px;
      margin: auto;
      grid-template-columns: repeat(2, 1fr);
      padding: 20px;
    }

    .gc-card {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(170deg, #111827 0%, #0a0f1e 100%);
      border: 1.5px solid rgba(255,255,255,0.07);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .gc-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, #14b8a6, #22c55e);
    }
    .gc-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(20,184,166,0.12);
      border-color: rgba(20,184,166,0.25);
    }
    .gc-card.live-game {
      border-color: rgba(239,68,68,0.3);
    }
    .gc-card.live-game::before {
      background: linear-gradient(90deg, #ef4444, #f59e0b);
    }
    .gc-status-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px 0;
    }
    .gc-datetime {
      font-size: 11px;
      color: #64748b;
      font-weight: 600;
    }
    .gc-status-pill {
      font-size: 10px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    .gc-status-pill.pre {
      background: rgba(20,184,166,0.12);
      color: #14b8a6;
    }
    .gc-status-pill.in {
      background: rgba(239,68,68,0.15);
      color: #ef4444;
      animation: gc-pulse 1.5s ease-in-out infinite;
    }
    .gc-status-pill.post {
      background: rgba(148,163,184,0.1);
      color: #94a3b8;
    }
    @keyframes gc-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.6; }
    }
    .gc-versus {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 0;
      padding: 14px 12px 10px;
      position: relative;
    }
    .gc-versus::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 60%, rgba(20,184,166,0.08) 0%, transparent 60%);
      pointer-events: none;
    }
    .gc-card.live-game .gc-versus::before {
      background: radial-gradient(ellipse at 50% 60%, rgba(239,68,68,0.08) 0%, transparent 60%);
    }
    .gc-team-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 1;
      min-width: 0;
    }
    .gc-team-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-bottom: 10px;
      max-width: 100%;
      overflow: hidden;
    }
    .gc-team-logo {
      width: 24px !important;
      height: 24px !important;
      max-width: 24px !important;
      max-height: 24px !important;
      object-fit: contain;
      flex-shrink: 0;
      border-radius: 5px;
      background: rgba(255,255,255,0.12);
      padding: 2px;
    }
    .gc-team-label {
      font-size: 13px;
      font-weight: 700;
      color: #e2e8f0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .gc-avatar {
      width: 130px;
      height: 130px;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      border: 2px solid rgba(20,184,166,0.15);
      box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(20,184,166,0.06);
      margin-bottom: 8px;
    }
    .gc-card.live-game .gc-avatar {
      border-color: rgba(239,68,68,0.2);
      box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(239,68,68,0.08);
    }
    .gc-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .gc-score {
      font-size: 28px;
      font-weight: 900;
      color: #fff;
      letter-spacing: -0.5px;
    }
    .gc-vs-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 60px;
      flex-shrink: 0;
      width: 40px;
      position: relative;
      z-index: 1;
    }
    .gc-vs-text {
      font-size: 14px;
      font-weight: 900;
      color: rgba(255,255,255,0.15);
      letter-spacing: 2px;
    }

    .gc-card .betting-section,
    .gc-card .stats-section,
    .gc-card .game-action-buttons,
    .gc-card .hie-signal-hint {
      padding-left: 18px;
      padding-right: 18px;
    }
    .gc-card .game-action-buttons {
      padding-bottom: 18px;
    }
    .gc-card .stats-section {
      padding-bottom: 4px;
    }
    .gc-card .betting-section {
      padding-bottom: 4px;
    }

    .game-item {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 25px;
      border-radius: 20px;
      transition: all 0.3s ease;
      max-width: 500px;
      justify-self: center;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      max-width: none;
      width: 100%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .create-bet-btn {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      color: #000;
      padding: 12px 20px;
      font-size: 1.1rem;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .create-bet-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
      background: linear-gradient(45deg, #00cc88, #00ff00);
    }

    .team-logo {
      width: 50px;
      height: 50px;
      object-fit: contain;
      margin-right: 10px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      padding: 5px;
    }

    .teams {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    .team {
      display: flex;
      align-items: center;
    }

    .game-date {
      font-size: 1rem;
      color: #00FF00;
      margin-top: 10px;
    }

    .no-games {
      text-align: center;
      padding: 40px;
      color: #999;
      font-size: 1.1rem;
      grid-column: 1 / -1;
      justify-self: center;
      align-self: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .sports-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 40px 0;
      flex-wrap: wrap;
    }

    .sports-btn {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      padding: 15px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .sports-btn:hover {
      background: rgba(0, 255, 0, 0.1);
      border-color: #00ff00;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    }

    .sports-btn img {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }

    .sports-btn a {
      text-decoration: none;
    }

    .open-bets {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 15px;
      max-width: 400px;
      margin: 0 auto;
    }

    .open-bets h3 {
      color: #00ff00;
      margin-bottom: 15px;
      text-align: center;
    }

    .open-bets ul {
      list-style: none;
    }

    .open-bets li {
      padding: 10px;
      background: rgba(255, 255, 255, 0.05);
      margin-bottom: 8px;
      border-radius: 8px;
      border-left: 3px solid #00ff00;
    }

    .back-button {
      text-align: center;
      margin-top: 50px;
    }

    .back-button a {
      color: #00ff00;
      font-size: 1.2rem;
      text-decoration: none;
      padding: 15px 30px;
      border: 2px solid #00ff00;
      border-radius: 25px;
      transition: all 0.3s ease;
      display: inline-block;
    }

    .back-button a:hover {
      background: rgba(0, 255, 0, 0.1);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    }

    @media (max-width: 860px) {
      #mlb-game-containers {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
      }
    }
    @media (max-width: 480px) {
      .gc-avatar { width: 100px; height: 100px; border-radius: 12px; }
      .gc-team-label { font-size: 11px; }
      .gc-score { font-size: 22px; }
      .gc-vs-divider { padding-top: 45px; width: 30px; }
      .gc-vs-text { font-size: 12px; }
      .gc-status-bar { padding: 10px 14px 0; }
      .gc-card .betting-section,
      .gc-card .stats-section,
      .gc-card .game-action-buttons { padding-left: 14px; padding-right: 14px; }
    }

    /* Live game indicator - same as your other pages */
    .game-item.live-game {
      border: 2px solid #ff0000;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      animation: pulse-red 2s infinite;
    }

    @keyframes pulse-red {
      0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
      50% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
    }

    /* Game status information container */
    .game-status-info {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 15px;
      margin: 10px 0;
      flex-wrap: wrap;
    }

    /* Date/time display */
    .game-datetime {
      font-size: 1rem;
      color: #00cc88;
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 8px;
      background: rgba(0, 204, 136, 0.1);
    }

    /* Game status badge */
    .game-status {
      font-size: 0.9rem;
      font-weight: bold;
      padding: 5px 12px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* Status-specific styling */
    .game-status.pre {
      background: rgba(153, 153, 153, 0.2);
      color: #999;
    }

    .game-status.in {
      background: rgba(255, 0, 0, 0.2);
      color: #ff0000;
      animation: pulse-status 2s infinite;
    }

    .game-status.post {
      background: rgba(0, 255, 0, 0.2);
      color: #00ff00;
    }

    /* Live game specific styling */
    .game-item.live-game .game-datetime {
      color: #ff0000;
      background: rgba(255, 0, 0, 0.1);
      font-weight: bold;
      text-transform: uppercase;
    }

    .game-item.live-game .game-datetime::before {
      content: "🔴 ";
      animation: blink 1s infinite;
    }

    @keyframes pulse-status {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0.3; }
    }

    /* Betting Odds Section Styles */
    .betting-odds-section {
      background: rgba(0, 255, 0, 0.05);
      border: 1px solid rgba(0, 255, 0, 0.2);
      border-radius: 12px;
      padding: 15px;
      margin: 0;
      backdrop-filter: blur(5px);
    }

    .betting-provider {
      font-size: 0.9rem;
      color: #00cc88;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .betting-content {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .betting-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .betting-item {
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .betting-item:hover {
      background: rgba(0, 255, 0, 0.1);
      border-color: rgba(0, 255, 0, 0.3);
      transform: translateY(-1px);
    }

    .betting-label {
      font-size: 0.8rem;
      color: #ccc;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .betting-value {
      font-size: 1rem;
      color: #00ff00;
      font-weight: bold;
    }

    /* Betting Toggle Styles */
    .betting-section {
      width: 100%;
      margin: 15px 0;
    }

    .betting-toggle-btn {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.3);
      color: #00ff00;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.3s ease;
      width: 100%;
    }

    .betting-toggle-btn:hover {
      background: rgba(0, 255, 0, 0.2);
      transform: translateY(-1px);
    }

    .betting-arrow {
      font-size: 0.8rem;
      transition: transform 0.3s ease;
    }

    .betting-content {
      margin-top: 10px;
      animation: slideDown 0.3s ease;
    }

    /* Mobile responsive for betting odds */
    @media (max-width: 768px) {
      .betting-odds-section {
        padding: 12px;
      }

      .betting-provider {
        font-size: 0.8rem;
      }

      .betting-row {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .betting-item {
        padding: 8px;
      }

      .betting-label {
        font-size: 0.75rem;
      }

      .betting-value {
        font-size: 0.9rem;
      }

      .betting-toggle-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
      }

      .betting-section {
        margin: 12px 0;
      }
    }

    @media (max-width: 480px) {
      .betting-odds-section {
        padding: 10px;
      }

      .betting-row {
        gap: 6px;
      }

      .betting-item {
        padding: 6px;
      }

      .betting-label {
        font-size: 0.7rem;
      }

      .betting-value {
        font-size: 0.85rem;
      }

      .betting-toggle-btn {
        font-size: 0.75rem;
        padding: 5px 10px;
      }
    }

    /* Stats section styling */
    .stats-section {
      width: 100%;
      margin: 15px 0;
    }

    .stats-toggle-btn {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.3);
      color: #00ff00;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.3s ease;
      width: 100%;
    }

    .stats-toggle-btn:hover {
      background: rgba(0, 255, 0, 0.2);
      transform: translateY(-1px);
    }

    .stats-arrow {
      font-size: 0.8rem;
      transition: transform 0.3s ease;
    }

    .stats-content {
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 15px;
      margin-top: 10px;
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        max-height: 0;
        padding: 0 15px;
      }
      to {
        opacity: 1;
        max-height: 200px;
        padding: 15px;
      }
    }

    .loading-stats {
      text-align: center;
      color: #00cc88;
      font-style: italic;
      padding: 10px;
    }

    .stats-error {
      text-align: center;
      color: #ff6666;
      font-style: italic;
      padding: 10px;
    }

    .stats-grid {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    /* Pitchers section */
    .pitchers-section h4 {
      color: #00ff00;
      margin-bottom: 15px;
      font-size: 1.1rem;
      text-align: center;
      font-weight: bold;
    }

    .pitcher-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }

    .pitcher {
      background: rgba(255, 255, 255, 0.05);
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pitcher strong {
      display: block;
      color: #fff;
      margin-bottom: 10px;
      font-size: 0.95rem;
      font-weight: bold;
    }

    .pitcher-details {
      display: flex;
      justify-content: space-around;
      gap: 8px;
      flex-wrap: wrap;
    }

    .pitcher-details span {
      color: #00cc88;
      font-size: 0.8rem;
      font-weight: 600;
      background: rgba(0, 204, 136, 0.1);
      padding: 3px 8px;
      border-radius: 4px;
    }

    /* Team records section */
    .team-records h4 {
      color: #00ff00;
      margin-bottom: 10px;
      font-size: 1rem;
      text-align: center;
    }

    .records {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .record {
      background: rgba(255, 255, 255, 0.05);
      padding: 8px;
      border-radius: 6px;
      text-align: center;
    }

    .record strong {
      display: block;
      color: #fff;
      margin-bottom: 3px;
      font-size: 0.85rem;
    }

    .record span {
      color: #ff9900;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .record .standing {
      color: #00cc88;
      font-size: 0.85rem;
      font-weight: 500;
      font-style: italic;
    }

    /* Hitters section */
    .hitters-section h4 {
      color: #00ff00;
      margin-bottom: 15px;
      font-size: 1.1rem;
      text-align: center;
      font-weight: bold;
    }

    .hitters-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
      grid-auto-flow: column;
    }

    .hitter {
      background: rgba(255, 255, 255, 0.05);
      padding: 12px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.1);
      height: 170px;
      width: 100%;
      box-sizing: border-box;
    }

    .hitter strong {
      display: block;
      color: #fff;
      margin-bottom: 8px;
      font-size: 0.8rem;
      font-weight: bold;
      height: 30px;
      line-height: 1.2;
      overflow: hidden;
      word-wrap: break-word;
    }

    .hitter-details {
      display: flex;
      flex-direction: column;
      gap: 3px;
      height: 90px;
      justify-content: flex-start;
    }

    .hitter-details span {
      color: #ff9900;
      font-size: 0.75rem;
      font-weight: 600;
      background: rgba(255, 153, 0, 0.1);
      padding: 2px 6px;
      border-radius: 3px;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
      .pitcher-stats,
      .hitters-grid {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .stats-toggle-btn {
        font-size: 0.85rem;
      }
    }

    /* Mobile responsive - Comprehensive optimization */
    @media (max-width: 768px) {
      body {
        padding: 0;
        margin: 0;
        font-size: 14px;
      }

      /* Calendar controls mobile optimization */
      .calendar-controls {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
        padding: 12px;
        max-width: 100%;
      }

      .calendar-controls .date-btn:first-child {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
      }

      .calendar-controls .date-input {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
      }

      .calendar-controls .date-btn:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        justify-self: start;
      }

      .calendar-controls .date-btn:last-child {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
      }

      .date-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
        min-height: unset;
        min-width: unset;
        white-space: nowrap;
      }

      .date-input {
        font-size: 0.8rem;
        padding: 6px 8px;
        min-height: unset;
        width: auto;
        min-width: 0;
      }

      /* Header mobile optimization */

      /* Navigation mobile optimization */

      /* Main content mobile optimization */
      .main-content {
        padding: 0 10px;
      }

      .main-content h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
      }

      /* Game containers mobile optimization */
      #mlb-game-containers {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
        max-width: 100%;
      }

      .game-item {
        padding: 20px 15px;
        margin-bottom: 15px;
        border-radius: 15px;
      }

      .game-item p {
        font-size: 1rem;
        margin: 8px 0;
      }

      .game-item strong {
        font-size: 1.2rem;
      }

      .game-item .odds {
        font-size: 1rem;
        margin-bottom: 12px;
      }

      /* Teams section mobile optimization */
      .teams {
        flex-direction: column;
        gap: 10px;
        text-align: center;
      }

      .team {
        justify-content: center;
        gap: 8px;
      }

      .team-logo {
        width: 40px;
        height: 40px;
        margin-right: 0;
      }

      /* Game status info mobile optimization */
      .game-status-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }

      .game-datetime, .game-status {
        font-size: 0.85rem;
      }

      /* Create bet button mobile optimization */
      .create-bet-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        margin-top: 15px;
      }

      /* Sports buttons mobile optimization */
      .sports-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
        margin: 20px 0;
      }

      .sports-btn {
        min-height: 90px;
        padding: 12px;
        border-radius: 15px;
      }

      .sports-btn img {
        max-width: 50px;
        max-height: 50px;
      }

      /* Open bets mobile optimization */
      .open-bets {
        margin: 0 10px 20px 10px;
        padding: 15px;
      }

      .open-bets h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
      }

      .open-bets ul {
        padding: 0;
      }

      .open-bets li {
        padding: 12px;
        margin-bottom: 10px;
        font-size: 0.9rem;
      }

      /* Back button mobile optimization */
      .back-button {
        margin-top: 30px;
        padding: 0 10px;
      }

      .back-button a {
        font-size: 1rem;
        padding: 12px 25px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
      }

      /* Stats section mobile optimization */
      .stats-toggle-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
      }

      .stats-content {
        padding: 12px;
        margin-top: 8px;
      }

      .pitcher-stats,
      .hitters-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .pitcher {
        padding: 12px;
      }

      .pitcher strong {
        font-size: 0.85rem;
      }

      .pitcher-details span {
        font-size: 0.75rem;
        padding: 2px 6px;
      }

      .hitter {
        height: auto;
        min-height: 140px;
        padding: 10px;
      }

      .hitter strong {
        font-size: 0.75rem;
        height: auto;
        margin-bottom: 6px;
      }

      .hitter-details span {
        font-size: 0.7rem;
        padding: 1px 4px;
      }

      /* Modal mobile optimization */
      .modal-container {
        width: 98%;
        max-width: none;
        margin: 10px;
        max-height: 90vh;
      }

      .modal-header h2 {
        font-size: 1.4rem;
      }

      .modal-content {
        padding: 15px;
      }

      .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
      }

      .form-group {
        min-width: auto;
      }

      .form-select, .form-input {
        padding: 12px;
        font-size: 1rem;
      }

      .context-info {
        padding: 12px;
        font-size: 0.9rem;
      }
    }

    /* iPhone specific optimizations */
    @media (max-width: 480px) {

      /* Navigation for small screens */

      /* Main content for very small screens */
      .main-content h2 {
        font-size: 1.4rem;
      }

      .game-item {
        padding: 15px 10px;
      }

      .game-item p {
        font-size: 0.9rem;
        margin: 6px 0;
      }

      .game-item strong {
        font-size: 1.1rem;
      }

      .game-item .odds {
        font-size: 0.9rem;
      }

      .team-logo {
        width: 35px;
        height: 35px;
      }

      .create-bet-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
      }

      /* Sports buttons for very small screens */
      .sports-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 5px;
      }

      .sports-btn {
        min-height: 80px;
        padding: 10px;
      }

      .sports-btn img {
        max-width: 40px;
        max-height: 40px;
      }

      /* Back button for small screens */
      .back-button a {
        font-size: 0.9rem;
        padding: 10px 20px;
      }
    }

    /* Landscape mobile optimization */
    @media (max-width: 768px) and (orientation: landscape) {

      .sports-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
      }

      #mlb-game-containers {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
    }

    /* Touch target optimization */
    @media (hover: none) and (pointer: coarse) {
      .sports-btn, .create-bet-btn, .back-button a, nav a, .stats-toggle-btn {
        min-height: 44px;
        min-width: 44px;
      }

      .form-select, .form-input {
        min-height: 44px;
      }
    }

    /* Betting Modal Styles */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-container {
      background: linear-gradient(135deg, #0a0e27 0%, #1a1e3a 100%);
      border: 1px solid rgba(0, 255, 136, 0.2);
      border-radius: 20px;
      max-width: 500px;
      width: 95%;
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      color: white;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-header h2 {
      color: #00ff00;
      margin: 0;
      text-align: center;
      flex: 1;
      font-size: 1.8rem;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .modal-close {
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .modal-close:hover {
      color: #00ff00;
    }

    .modal-content {
      padding: 20px;
      overflow-y: auto;
      flex: 1;
    }

    .context-info {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.2);
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 20px;
      color: #fff;
    }

    .betting-form-container {
      display: flex;
      flex-direction: column;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
    }

    .form-group label {
      font-weight: bold;
      color: #00ff00;
      font-size: 1rem;
    }

    .form-select {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 12px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .form-select:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .form-select:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: rgba(100, 100, 100, 0.3);
    }

    .form-select option {
      background: #1a1a2e;
      color: white;
      padding: 10px;
    }

    .form-input {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 12px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
      transition: all 0.3s ease;
      width: 100%;
    }

    .form-input:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .form-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    /* Open Bets Section Styles */
    .open-bets-modern {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 25px;
      margin: 0 20px 40px 20px;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    .open-bets-modern h3 {
      color: #00ff00;
      margin-bottom: 20px;
      text-align: center;
      font-size: 1.8rem;
      font-weight: bold;
      letter-spacing: 1px;
      text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }

    .bets-table-container {
      max-height: 300px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 255, 0, 0.3) transparent;
    }

    .bets-table-container::-webkit-scrollbar {
      width: 8px;
    }

    .bets-table-container::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
    }

    .bets-table-container::-webkit-scrollbar-thumb {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      border-radius: 10px;
    }

    .loading-bets {
      text-align: center;
      padding: 30px;
      color: #00ff00;
      font-style: italic;
      font-size: 1.1rem;
    }

    .bet-row {
      display: grid;
      grid-template-columns: 2fr 1.5fr 1fr 1fr 140px;
      gap: 15px;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 15px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .bet-row::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #00ff00, #00cc88, #0099ff);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .bet-row:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(0, 255, 0, 0.3);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 0, 0.15);
    }

    .bet-row:hover::before {
      opacity: 1;
    }

    .bet-game {
      font-size: 1.1rem;
      font-weight: bold;
      color: #fff;
    }

    .game-matchup {
      font-size: 1.1rem;
      font-weight: bold;
      color: #fff;
      margin-bottom: 8px;
    }

    .game-details {
      display: flex;
      gap: 15px;
      align-items: center;
      flex-wrap: wrap;
    }

    .game-datetime {
      font-size: 0.9rem;
      color: #00cc88;
      font-weight: 500;
    }

    .game-status {
      font-size: 0.85rem;
      font-weight: bold;
      padding: 3px 8px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .game-status.scheduled {
      background: rgba(153, 153, 153, 0.2);
      color: #999;
    }

    .game-status.live {
      background: rgba(255, 0, 0, 0.2);
      color: #ff0000;
      animation: pulse-status 2s infinite;
    }

    .game-status.final {
      background: rgba(0, 255, 0, 0.2);
      color: #00ff00;
    }

    @keyframes pulse-status {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    .bet-creator {
      font-size: 0.8rem;
      color: #00ff00;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .message-user-btn {
      background: linear-gradient(45deg, #0099ff, #0077cc);
      color: white;
      border: none;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 0.75rem;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
    }

    .message-user-btn:hover {
      background: linear-gradient(45deg, #0077cc, #0099ff);
      transform: scale(1.05);
    }

    .bet-type {
      color: #00cc88;
      font-size: 1rem;
      font-weight: 500;
    }

    .bet-amount {
      color: #ff9900;
      font-size: 1.2rem;
      font-weight: bold;
    }

    .bet-action {
      display: flex;
      justify-content: flex-end;
    }

    .join-btn {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 10px 16px;
      font-size: 0.9rem;
      font-weight: bold;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 10px rgba(0, 255, 0, 0.2);
    }

    .join-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 255, 0, 0.4);
      background: linear-gradient(45deg, #00cc88, #00ff00);
    }

    .join-btn:active {
      transform: translateY(-1px);
    }

    .bet-row.open-bet {
      border: 2px solid #ff6600;
      box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      animation: pulse-orange 2s infinite;
    }

    @keyframes pulse-orange {
      0% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      }
      50% {
        box-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      }
    }

    .bet-row.live-game {
      border: 2px solid #ff0000;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      animation: pulse-red 2s infinite;
    }

    @keyframes pulse-red {
      0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
      50% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
    }

    .bet-row.live-game .game-status {
      color: #ff0000;
      font-weight: bold;
      text-transform: uppercase;
    }

    .bet-row.live-game .game-status::before {
      content: "● ";
      color: #ff0000;
      animation: blink 1s infinite;
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0.3; }
    }

    /* Game Action Buttons for Create Bet and Parlay */
    .game-action-buttons {
      display: flex;
      gap: 10px;
      margin-top: 15px;
      justify-content: center;
    }
    
    .game-action-buttons .create-bet-btn,
    .game-action-buttons .parlay-btn {
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }
    
    .game-action-buttons .create-bet-btn {
      background: linear-gradient(135deg, #00ff88, #00cc66);
      color: #000;
    }
    
    .game-action-buttons .create-bet-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    }
    
    .game-action-buttons .parlay-btn {
      background: linear-gradient(135deg, #9b59b6, #8e44ad);
      color: white;
    }
    
    .game-action-buttons .parlay-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    }

    /* Card-based Betting Modal Styles */
    .bet-type-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }

    .bet-type-card {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 12px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .bet-type-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
      transform: translateY(-2px);
    }

    .bet-type-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
      box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }

    .bet-type-card .icon {
      font-size: 1.8rem;
      margin-bottom: 8px;
    }

    .bet-type-card .label {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
    }

    /* Team Cards */
    .team-cards-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 16px 0;
    }

    .team-card {
      flex: 1;
      max-width: 200px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 20px 16px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .team-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .team-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
      box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }

    .team-card .team-logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .team-card .team-name {
      font-size: 1rem;
      font-weight: 600;
      color: white;
      margin-bottom: 8px;
    }

    .team-card .team-odds {
      font-size: 1.1rem;
      font-weight: 700;
      color: #00ff88;
    }

    .vs-badge {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: bold;
      color: rgba(255, 255, 255, 0.6);
    }

    /* Over/Under Cards */
    .ou-cards-container {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin: 16px 0;
    }

    .ou-card {
      flex: 1;
      max-width: 180px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 24px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .ou-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .ou-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
    }

    .ou-card .ou-label {
      font-size: 1.1rem;
      font-weight: 600;
      color: white;
    }

    .ou-card .ou-value {
      font-size: 1.3rem;
      font-weight: 700;
      color: #00ff88;
      margin-top: 4px;
    }

    /* Prop Pills */
    .prop-pills-container {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .prop-pill {
      padding: 10px 20px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .prop-pill:hover {
      border-color: rgba(0, 255, 136, 0.5);
    }

    .prop-pill.selected {
      border-color: #00ff88;
      background: rgba(0, 255, 136, 0.1);
    }

    /* Amount Buttons */
    .amount-buttons-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 16px 0;
    }

    .amount-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      padding: 12px 20px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 70px;
    }

    .amount-btn:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .amount-btn.selected {
      background: rgba(0, 255, 136, 0.2);
      border-color: #00ff88;
      color: #00ff88;
    }

    .custom-amount-input {
      background: rgba(0, 0, 0, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      padding: 12px 16px;
      color: white;
      font-size: 1rem;
      width: 100%;
      max-width: 200px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .custom-amount-input:focus {
      outline: none;
      border-color: #00ff88;
      box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    }

    /* Floating Bet Summary Footer */
    .bet-summary-footer {
      background: rgba(10, 14, 39, 0.95);
      border-top: 1px solid rgba(0, 255, 136, 0.2);
      padding: 16px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .bet-summary-text {
      text-align: center;
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .bet-summary-text .highlight {
      color: #00ff88;
      font-weight: 600;
    }

    .bet-summary-text .potential-win {
      color: #ffd700;
      font-weight: 600;
    }

    .place-bet-btn {
      background: linear-gradient(135deg, #00ff88 0%, #00cc88 100%);
      border: none;
      border-radius: 12px;
      padding: 16px 32px;
      font-size: 1.1rem;
      font-weight: bold;
      color: #0a0e27;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .place-bet-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    }

    .place-bet-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.5);
    }

    /* Parlay Modal Styles */
    .parlay-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.85);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1002;
    }
    
    .parlay-modal {
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      border-radius: 15px;
      max-width: 450px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
      border: 1px solid rgba(155, 89, 182, 0.3);
      box-shadow: 0 0 30px rgba(155, 89, 182, 0.3);
    }
    
    .parlay-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .parlay-modal-title {
      font-size: 1.2rem;
      font-weight: bold;
      color: #9b59b6;
    }
    
    .parlay-modal-close {
      background: none;
      border: none;
      color: #888;
      font-size: 1.5rem;
      cursor: pointer;
    }
    
    .parlay-modal-close:hover {
      color: #fff;
    }
    
    .parlay-modal-body {
      padding: 20px;
    }
    
    .parlay-legs-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .parlay-leg-card {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(155, 89, 182, 0.3);
      border-radius: 10px;
      padding: 15px;
      transition: all 0.3s ease;
    }
    
    .parlay-leg-card:hover {
      border-color: #9b59b6;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
    }
    
    .parlay-leg-header {
      margin-bottom: 8px;
    }
    
    .parlay-leg-sport {
      font-size: 0.85rem;
      color: #9b59b6;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    .parlay-leg-game {
      color: #fff;
      font-size: 0.95rem;
      margin-bottom: 5px;
    }
    
    .parlay-leg-pick,
    .parlay-leg-odds {
      color: #00ff88;
      font-size: 0.9rem;
    }

    /* ===== Live Situation (tap-to-expand) ===== */
    .gls-wrap { margin: 2px 18px 14px; }
    .gls-bar {
      display: flex; align-items: center; gap: 9px;
      padding: 9px 13px; border-radius: 12px; cursor: pointer;
      background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.22);
      -webkit-tap-highlight-color: transparent; user-select: none;
      transition: background 0.2s;
    }
    .gls-bar:active { background: rgba(239,68,68,0.12); }
    .gls-hint { margin-left: auto; font-size: 11px; font-weight: 800; color: #22c55e; white-space: nowrap; letter-spacing: 0.02em; }

    /* inning chip (TV-style top/bottom arrow) */
    .gls-inning {
      display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
      padding: 4px 9px; border-radius: 9px;
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    }
    .gls-inning.top { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.4); }
    .gls-inning.bot { background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.4); }
    .gls-inn-arrow { font-size: 10px; line-height: 1; animation: gls-arrow-pulse 1.3s ease-in-out infinite; }
    .gls-inning.top .gls-inn-arrow { color: #22c55e; }
    .gls-inning.bot .gls-inn-arrow { color: #38bdf8; }
    .gls-inn-num { font-size: 13px; font-weight: 800; color: #f1f5f9; font-variant-numeric: tabular-nums; }
    .gls-inn-half { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: #94a3b8; }
    @keyframes gls-arrow-pulse { 0%,100% { opacity: 0.45; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1.5px); } }

    /* count pill + out dots in bar */
    .gls-countpill {
      display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
      padding: 3px 9px; border-radius: 8px;
      background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.14);
      font-variant-numeric: tabular-nums;
    }
    .gls-countpill b { font-size: 14px; font-weight: 800; color: #f1f5f9; }
    .gls-countpill i { font-size: 12px; font-style: normal; color: #64748b; }
    .gls-outdots { display: inline-flex; gap: 4px; align-items: center; flex: 0 0 auto; }
    .gls-outdots .gls-pip { width: 9px; height: 9px; }

    /* diamond */
    .gls-diamond { position: relative; width: 110px; height: 110px; margin: 0 auto; flex: 0 0 auto; }
    .gls-diamond.mini { width: 28px; height: 28px; margin: 0; }
    .gls-rot { position: absolute; inset: 14%; transform: rotate(45deg); }
    .gls-base {
      position: absolute; width: 28px; height: 28px; border-radius: 7px;
      background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.18);
      transition: 0.25s;
    }
    .gls-diamond.mini .gls-base { width: 11px; height: 11px; border-radius: 3px; border-width: 1px; }
    .gls-base.on { background: #ffd84d; border-color: #fff3b0; box-shadow: 0 0 12px rgba(255,216,77,0.55); }
    .gls-base.b2 { top: 0; left: 0; }
    .gls-base.b3 { bottom: 0; left: 0; }
    .gls-base.b1 { top: 0; right: 0; }

    /* full panel */
    .gls-full {
      margin-top: 8px; padding: 14px; border-radius: 13px;
      background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
      border: 1px solid rgba(255,255,255,0.08);
    }
    .gls-sit { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .gls-counts { display: flex; flex-direction: column; gap: 9px; }
    .gls-count-row { display: flex; align-items: center; gap: 8px; }
    .gls-clabel { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: #64748b; width: 14px; }
    .gls-pips { display: flex; gap: 5px; }
    .gls-pip {
      width: 12px; height: 12px; border-radius: 50%;
      background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
    }
    .gls-pip { transition: background 0.2s, border-color 0.2s; }
    .gls-pip.b.on { background: #22c55e; border-color: #22c55e; box-shadow: 0 0 7px rgba(34,197,94,0.5); }
    .gls-pip.s.on { background: #ffd84d; border-color: #ffd84d; box-shadow: 0 0 7px rgba(255,216,77,0.5); }
    .gls-pip.o.on { background: #ef4444; border-color: #ef4444; box-shadow: 0 0 7px rgba(239,68,68,0.5); }
    .gls-pip.on { animation: gls-pip-pop 0.34s ease both; }
    .gls-pip.b.latest { animation: gls-pip-pop 0.34s ease both, gls-glow-b 1.3s ease-in-out 0.34s infinite; }
    .gls-pip.s.latest { animation: gls-pip-pop 0.34s ease both, gls-glow-s 1.3s ease-in-out 0.34s infinite; }
    .gls-pip.o.latest { animation: gls-pip-pop 0.34s ease both, gls-glow-o 1.3s ease-in-out 0.34s infinite; }
    @keyframes gls-pip-pop { 0% { transform: scale(0.2); opacity: 0.25; } 65% { transform: scale(1.3); } 100% { transform: scale(1); opacity: 1; } }
    @keyframes gls-glow-b { 0%,100% { box-shadow: 0 0 5px rgba(34,197,94,0.5); } 50% { box-shadow: 0 0 13px rgba(34,197,94,0.95); } }
    @keyframes gls-glow-s { 0%,100% { box-shadow: 0 0 5px rgba(255,216,77,0.5); } 50% { box-shadow: 0 0 13px rgba(255,216,77,0.95); } }
    @keyframes gls-glow-o { 0%,100% { box-shadow: 0 0 5px rgba(239,68,68,0.5); } 50% { box-shadow: 0 0 13px rgba(239,68,68,0.95); } }
    .gls-matchup { display: flex; gap: 8px; margin-top: 12px; }
    .gls-chip {
      flex: 1; min-width: 0; background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08); border-radius: 11px; padding: 8px 10px;
    }
    .gls-chip.atbat { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.35); }
    .gls-chip .gls-lbl { font-size: 9px; font-weight: 800; letter-spacing: 0.1em; color: #64748b; text-transform: uppercase; }
    .gls-chip .gls-who { font-size: 13px; font-weight: 700; color: #e2e8f0; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gls-chip.atbat .gls-who { color: #22c55e; }
    .gls-lastplay {
      display: flex; align-items: center; gap: 10px; margin-top: 12px;
      padding: 10px 12px; border-radius: 11px;
      background: linear-gradient(90deg, rgba(34,197,94,0.1), rgba(34,197,94,0.02));
      border: 1px solid rgba(34,197,94,0.3); overflow: hidden; position: relative;
    }
    .gls-lastplay::after {
      content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
      animation: gls-shine 3.6s infinite;
    }
    @keyframes gls-shine { 0% { left: -60%; } 55% { left: 130%; } 100% { left: 130%; } }
    .gls-lp-ball { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; }
    .gls-lp-k { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: #22c55e; text-transform: uppercase; }
    .gls-lp-v { font-size: 12px; color: #e2e8f0; margin-top: 2px; line-height: 1.35; }
    .gls-note { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 10px; font-weight: 600; }

    @media (max-width: 480px) {
      .gls-wrap { margin-left: 14px; margin-right: 14px; }
      .gls-diamond { width: 96px; height: 96px; }
      .gls-bar { gap: 7px; padding: 9px 11px; }
    }
    @media (max-width: 360px) {
      .gls-inn-half { display: none; }
    }
