
/* /sport mobil referans menüsü - sadece page-sport-menu-route mobil görünümünde çalışır */
.mobile-route-sport-strip { display: none; }

@media (max-width: 760px) {
  body.page-sport-menu-route:not(.ref-category-view) {
    background: #002a3b !important;
    overflow-x: hidden !important;
  }

  body.page-sport-menu-route:not(.ref-category-view),
  body.page-sport-menu-route:not(.ref-category-view) .page,
  body.page-sport-menu-route:not(.ref-category-view) .main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .main {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #002a3b !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .center-panel,
  body.page-sport-menu-route:not(.ref-category-view) .right-panel,
  body.page-sport-menu-route:not(.ref-category-view) .hero-row,
  body.page-sport-menu-route:not(.ref-category-view) .mobile-register-card,
  body.page-sport-menu-route:not(.ref-category-view) #oddsContainer,
  body.page-sport-menu-route:not(.ref-category-view) #mobileFavoritesSection,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel::before,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .search-box,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .switch-filters {
    display: none !important;
    content: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel {
    display: block !important;
    order: 1 !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: calc(100dvh - 110px) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 0 70px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #002a3b !important;
    box-shadow: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-strip {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 77px !important;
    min-height: 77px !important;
    padding: 9px 0 0 0 !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #003348 !important;
    border-bottom: 3px solid #005374 !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
  }
  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-strip::-webkit-scrollbar { display: none !important; }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item {
    flex: 0 0 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 65px !important;
    display: grid !important;
    grid-template-rows: 30px 20px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 4px !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: inset 0 -3px 0 transparent !important;
    overflow: hidden !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item .sw-sport-icon,
  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item .sw-sport-icon svg {
    width: 25px !important;
    height: 25px !important;
    display: block !important;
    color: currentColor !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item span:last-child {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item.active {
    color: #ffed00 !important;
    background: transparent !important;
    box-shadow: inset 0 -3px 0 #005374 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .switch-card {
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #003348 !important;
    box-shadow: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .switch-head {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    height: 54px !important;
    min-height: 54px !important;
    background: #003348 !important;
    border: 0 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .switch-head .switch-tab {
    height: 54px !important;
    min-height: 54px !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .switch-head .switch-tab.active {
    color: #ffed00 !important;
    box-shadow: inset 0 -3px 0 #ffed00 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion:has(#favoritesList),
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion:has(#highlightsList),
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion:has(#sportsList) {
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #004f69 !important;
    box-shadow: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion-head,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion:has(#sportsList) .accordion-head {
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 9px !important;
    background: #003348 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion-head span:first-child {
    font-size: 16px !important;
    color: #ffffff !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion-arrow { display: none !important; }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .accordion-body,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList,
  body.page-sport-menu-route:not(.ref-category-view) #highlightsList,
  body.page-sport-menu-route:not(.ref-category-view) #sportsList {
    display: block !important;
    width: 100% !important;
    background: #004f69 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .fav-empty,
  body.page-sport-menu-route:not(.ref-category-view) .fav-empty {
    min-height: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #004f69 !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .list-item {
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    display: grid !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 9px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 0 !important;
    background: #004f69 !important;
    color: #ffffff !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) #highlightsList .highlight-filter,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .favorite-filter {
    grid-template-columns: 28px minmax(0, 1fr) 32px !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) #highlightsList .highlight-filter .checkbox,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .favorite-filter .checkbox {
    display: none !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) #highlightsList .highlight-filter .flag,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .favorite-filter .flag { grid-column: 1 !important; }
  body.page-sport-menu-route:not(.ref-category-view) #highlightsList .highlight-filter .category-title,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .favorite-filter .category-title { grid-column: 2 !important; }
  body.page-sport-menu-route:not(.ref-category-view) #highlightsList .highlight-filter .favorite-star,
  body.page-sport-menu-route:not(.ref-category-view) #favoritesList .favorite-filter .favorite-star { grid-column: 3 !important; }

  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-sport-row {
    grid-template-columns: 28px minmax(0, 1fr) 32px !important;
  }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-sport-row .sw-sport-icon { grid-column: 1 !important; }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-sport-row .category-title { grid-column: 2 !important; }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-sport-row .category-toggle { grid-column: 3 !important; }

  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row {
    grid-template-columns: 28px minmax(0, 1fr) 32px !important;
  }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row .category-check,
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row .category-toggle { display: none !important; }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row .flag {
    grid-column: 1 !important;
    width: 22px !important;
    min-width: 22px !important;
    text-align: center !important;
  }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row .category-title { grid-column: 2 !important; }
  body.page-sport-menu-route:not(.ref-category-view) #sportsList .category-child-row .favorite-star { grid-column: 3 !important; }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .list-item .category-title {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .flag,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .sw-sport-icon {
    display: inline-flex !important;
    width: 24px !important;
    height: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .sw-sport-icon svg {
    width: 21px !important;
    height: 21px !important;
    display: block !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .favorite-star,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .star,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .category-toggle {
    width: 32px !important;
    min-width: 32px !important;
    height: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 23px !important;
    line-height: 1 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .favorite-star.active,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .list-item.active .favorite-star {
    color: #ffed00 !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .left-panel .list-item.active,
  body.page-sport-menu-route:not(.ref-category-view) .left-panel .list-item.open {
    background: #005977 !important;
  }
}

/* 2026-05-16: Mobil ust spor seridi ilk gorunumde kesik gorunmesin. */
@media (max-width: 760px) {
  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item {
    flex-basis: 60px !important;
    width: 60px !important;
    min-width: 60px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    font-size: 11px !important;
  }

  body.page-sport-menu-route:not(.ref-category-view) .mobile-route-sport-item span:last-child {
    max-width: 58px !important;
  }
}
