/* nav-fix.css — BS-exact horizontal scrollable nav (8 items)
   Bug: <nav.mainMenu> > <div.hdr-navigation-scrollable-content> wrapper
   was display:block / width:111px → 8 anchors stacked vertically.
   Fix: make .hdr-navigation-scrollable-content the flex+overflow scroller
   (matches BS where it is display:flex row nowrap + overflow:auto hidden).
*/

/* Outer holder = block (matches BS) */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

/* nav.mainMenu = ITSELF the flex+scroll container (ITER 406 v10: BS-paralel single-level).
 * Önceki ITER 332+: nav passthrough + inner div scroller. ITER 406'da inner div kaldırıldı,
 * nav class'a `hdr-navigation-scrollable-content` eklendi. Dolayısıyla nav HEM bu selector'a
 * HEM aşağıdaki .scrollable-content selector'una match ediyor. Eski `overflow: visible`
 * yüksek specificity ile aşağıdaki `overflow-x: auto`'yu yutuyordu → manual scroll çalışmıyor.
 * Fix: nav.mainMenu artık scroller, overflow-x:auto / y:hidden burada da set edilir. */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder > nav.mainMenu,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder > nav.hdr-navigation-scrollable-bc {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    touch-action: pan-x !important;
    position: relative !important;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder > nav.mainMenu::-webkit-scrollbar,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder > nav.hdr-navigation-scrollable-bc::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* THE REAL FIX: inner content wrapper is the flex+scroll container */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .hdr-navigation-scrollable-content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .hdr-navigation-scrollable-content::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Anchor items inside the flex scroller — ITER 93 BS-EXACT MEASURE.
 * BS canlı ölçüm: a fs:16, fw:400, ls:1.04, pad:0 10, h:40, span fs:10, fw:400.
 * MR farkı: fs:10/fw:300/ls:0/pad:0 6 → fs:16/fw:400/ls:1.04/pad:0 10. */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .hdr-navigation-scrollable-content > a,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .hdr-navigation-scrollable-content > .hdr-navigation-link-bc {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 0 10px !important;
    height: 40px !important;
    min-width: max-content !important;
    width: auto !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 40px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1.04px !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

/* ITER 405 (2026-05-13) — kullanıcı talimati: "herzaman anasayfadaki ile aynı renk olacak.
 * orayı tıpkı header gibi tek 1 tane ana olarak kullan."
 * Sonuç: Active highlight kaldırıldı (renk + underline). Her sayfada nav tek renk.
 * Inactive renk BS-exact rgba(255,255,255,0.8). Active class artık SSR'da da JS'de de set edilmiyor. */
html.mobile-root body.mobile-site nav.mainMenu.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc,
html.mobile-root body.mobile-site nav.mainMenu.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc span,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder.hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.hdr-navigation-link-bc,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder.hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.hdr-navigation-link-bc span {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Span title inside anchor — ITER 90: MAX specificity (sub-nav-active-fix + theme override).
 * Triple-class trick (.foo.foo.foo) + ID + multiple chained selectors.
 * Why: sub-nav-active-fix has spec 0,5,4 — eşitlik load order'da kaybediyor.
 * %70 küçült (kullanıcı): 16→5px equivalent (zaten fs:3 hedefliyoruz). */
html.mobile-root body.mobile-site #app nav.mainMenu.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc > span.nav-menu-title.nav-menu-title.nav-menu-title,
html.mobile-root body.mobile-site .layout-bc nav.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc > span.nav-menu-title.nav-menu-title,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder.hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.hdr-navigation-link-bc > span.nav-menu-title.nav-menu-title,
html.mobile-root body.mobile-site nav.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc.hdr-navigation-link-bc > span.nav-menu-title,
html[lang] body nav.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc > span.nav-menu-title.nav-menu-title,
html[lang] body .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.hdr-navigation-link-bc.hdr-navigation-link-bc span.nav-menu-title.nav-menu-title,
html[lang] body a.hdr-navigation-link-bc.hdr-navigation-link-bc[href] > span.nav-menu-title.nav-menu-title.nav-menu-title {
    display: inline !important;
    white-space: nowrap !important;
    line-height: 40px !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    letter-spacing: 1.04px !important;
}

/* Belt-and-suspenders: tüm span çocuklara fs:3 zorla — herhangi bir alt selector kazanırsa */
html.mobile-root body.mobile-site nav.mainMenu.mainMenu.mainMenu a.hdr-navigation-link-bc span,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder.hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc span,
html[lang] body nav.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc span,
html[lang] body .hdr-navigation-link-bc.hdr-navigation-link-bc.hdr-navigation-link-bc > span {
    font-size: 10px !important;
    line-height: 40px !important;
    font-weight: 400 !important;
    letter-spacing: 1.04px !important;
}

/* ITER 46 — K.20 numerik diff fix (CANLI BAHİSLER|SPOR BAHİSLERİ|SLOT|CANLI CASİNO):
 * BS exact: letter-spacing 1.04px, min-width auto, flex 0 1 auto
 * MR vardı: letter-spacing normal, min-width max-content, flex 0 0 auto → items 30px wider
 * BS measure: items 111/111/48/99/96/71 (CANLI BAHİSLER ... CANLI TV)
 * MR measure: 142/142/58/126/123/89 (+30 each)
 * Fix: letter-spacing+min-width+flex BS-exact.
 */
/* ITER 49 — Explicit widths per item BS-exact.
 * Font metric diff yetmedi. BS measure: 111/111/48/99/96/71.
 * Force explicit width per nth-child.
 */
html.mobile-root body.mobile-site nav.mainMenu.mainMenu.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder.hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.hdr-navigation-link-bc,
html.mobile-root body.mobile-site nav.mainMenu a.hdr-navigation-link-bc[href] {
  letter-spacing: 1.04px !important;
  min-width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  padding: 0 10px !important;
  height: 40px !important;
  line-height: 40px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
}

/* ITER 50 — Explicit width REVERT (text overflow). Reduce padding to 5px both sides
 * to make total width closer to BS without breaking text fit. */

/* ITER 56 — MAX SPECIFICITY OVERRIDE for stubborn fs:16/padding:10 rules.
 * Direct ID match. */
html.mobile-root body.mobile-site #app nav.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc.hdr-navigation-link-bc,
html.mobile-root body.mobile-site .layout-bc nav.mainMenu a.hdr-navigation-link-bc.hdr-navigation-link-bc[href].hdr-navigation-link-bc,
html[lang] body nav.mainMenu a.hdr-navigation-link-bc[href]:not(.disabled) {
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 0 10px !important;
  letter-spacing: 1.04px !important;
  width: auto !important;
  min-width: auto !important;
  flex: 0 0 auto !important;
}

/* ITER 332 — Force nav scroller always visible (BS-paralel — no hide-on-scroll on homepage post-login) */
body.mobile-site .mainMenu-standalone.nav-hidden,
body.mobile-site.is-home-page .mainMenu-standalone.nav-hidden,
body.mobile-site .hdr-navigation-scrollable-bc-holder .mainMenu-standalone {
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  display: block !important;
}
body.mobile-site .hdr-navigation-scrollable-bc-holder {
  display: block !important;
  width: 100% !important;
}

/* ITER 407 (2026-05-13) — kullanıcı talimati: "atlama hiçbirşeyi çizgiyi sonraki sıraya al".
 * BS extract section D: every nav item has gold linear-gradient ::after underline
 * (transparent → rgba(212,175,55,0.4) → rgba(232,201,74,0.95) → ...). MR'da small
 * render size'da bunlar soluk beyaz çizgiler olarak görünüyor (user feedback: "bu
 * çıkan beyaz çizgiler ne"). USER OVERRIDE: Nav 1 (main row) ::after underline
 * KAPALI — hem inactive hem active, hem animated hem solid. Sub-nav holder etkilenmez.
 * Nullify chain — max specificity to override theme-robinbet-mobile.css:8520, 20213-17,
 * 20331 (BS-EXACT v14 animated) + sub-nav-active-fix.css:82-85, 161-64.
 */
/* ITER 411 (2026-05-13) — REVERT 407 nullify on .active. BS-paralel: ::after underline
 * gold gradient ONLY on .active item. Inactive items: no underline (user override 405). */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc:not(.active):not(.is-active)::after,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:not(.active):not(.is-active)::after,
html.mobile-root body.mobile-site nav.mainMenu.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:not(.active):not(.is-active)::after,
html.mobile-root body.mobile-site nav.mainMenu .hdr-navigation-scrollable-content > a.hdr-navigation-link-bc:not(.active):not(.is-active)::after,
html.mobile-root body.mobile-site .mainMenu ul li a.hdr-navigation-link-bc:not(.active):not(.is-active)::after,
html.mobile-root body.mobile-site .mainMenu a.hdr-navigation-link-bc:not(.active):not(.is-active)::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* ITER 411 — BS-exact gold gradient underline on .active nav item.
 * BS extract section D: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.4) 20%,
 *   rgba(232,201,74,0.95) 50%, rgba(212,175,55,0.4) 80%, transparent 100%)
 * Center-anchored 60% width, bottom 6px (BS item height 40, gradient at 33px top). */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.active,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc.active {
  position: relative !important;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc.active::after,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc.active::after,
html.mobile-root body.mobile-site nav.mainMenu .hdr-navigation-scrollable-content > a.hdr-navigation-link-bc.active::after,
html.mobile-root body.mobile-site .mainMenu a.hdr-navigation-link-bc.active::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 70% !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.4) 20%,
    rgba(232, 201, 74, 0.95) 50%,
    rgba(212, 175, 55, 0.4) 80%,
    transparent 100%
  ) !important;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.4) 20%,
    rgba(232, 201, 74, 0.95) 50%,
    rgba(212, 175, 55, 0.4) 80%,
    transparent 100%
  ) !important;
  opacity: 1 !important;
  animation: none !important;
  pointer-events: none !important;
}

/* Belt-and-suspenders: kill bsTextGlow animation on Nav 1 titles (subtle glow user dislikes too) */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .hdr-navigation-link-bc .nav-menu-title,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc .hdr-navigation-link-bc .nav-menu-title {
  animation: none !important;
}

/* ITER 408 (2026-05-13) — kullanıcı SS: tap-and-hold sırasında SPOR BAHİSLERİ üzerinde
 * BEYAZ rectangular outline (browser focus / tap highlight) çıkıyor. BS extract'te bu yok.
 * Fix: -webkit-tap-highlight-color transparent + outline:none tüm interaction state'lerde.
 * focus({preventScroll}) JS hâlâ çalışır (rule #157 BS-paralel auto-scroll suppress) ama
 * görsel outline tamamen kapalı. */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc:hover,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc:focus,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc:focus-visible,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder a.hdr-navigation-link-bc:active,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:hover,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:focus,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:focus-visible,
html.mobile-root body.mobile-site nav.hdr-navigation-scrollable-bc a.hdr-navigation-link-bc:active {
  outline: 0 none transparent !important;
  outline-offset: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  box-shadow: none !important;
  border: 0 none transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* ════════════════════════════════════════════════════════════════════════════
 * ITER 418 (2026-05-13) — Site nav uses `.bs-deposit-tabs` pattern (cloned from
 * bonus drawer). User explicitly requested no-auto-scroll-on-click behavior.
 * bs-deposit.css rules are scoped to `body.profile-drawer-open` — these rules
 * apply the same styling unscoped, inside `.hdr-navigation-scrollable-bc-holder`.
 * ════════════════════════════════════════════════════════════════════════════ */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: visible;
  background: transparent;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  width: 100%;
  height: 40px;
  background: rgb(0, 0, 0);
  border: 0;
  margin: 0;
  padding: 0;
  position: static;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tabs::-webkit-scrollbar {
  display: none;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 10px;
  background: transparent;
  border: 0;
  color: rgb(245, 245, 245);
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab:hover,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab:focus,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab:focus-visible,
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab:active {
  color: rgb(245, 245, 245);
  outline: 0;
  background: transparent;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab.is-active {
  color: rgb(245, 245, 245);
  font-weight: 400;
}
/* ITER 734HH (2026-05-27): is-active::after rule base ::after ile EYNI yapildi.
   User sikayet: 'uzerine tiklanan butonun altindaki sari sey degisiyor.
   hicbir degisiklik olmamasi sabit kalmasi lazim'.
   Eski rule left:50%/right:-20%/transform:translateX(-50%) -> kaydirilmis pozisyon.
   Yeni rule base ile birebir ayni (left:20%/right:20%/transform:none) -> aktif
   tab da diger tab'larla ayni gorunur. Tum tab'lar UNIFORM gold underline. */
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab.is-active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(212, 175, 55, 0.4) 20%,
    rgba(232, 201, 74, 0.95) 50%,
    rgba(212, 175, 55, 0.4) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  transform: none;
  pointer-events: none;
}
html.mobile-root body.mobile-site .hdr-navigation-scrollable-bc-holder .bs-deposit-tab > .nav-menu-title {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  line-height: 40px;
}
