/*
 * Winzobet reference layer
 * Loaded after the legacy theme and page-specific mobile styles.
 * Keeps Laravel/Blade behavior intact while aligning the visual shell with
 * the measured desktop and mobile reference layouts.
 */

:root {
  --wz-page: #202126;
  --wz-shell: #1a1c20;
  --wz-card: #24262b;
  --wz-active: #2e3137;
  --wz-border: #3a3d44;
  --wz-red: #ff003a;
  --wz-red-soft: #ff3361;
  --wz-text: #fff;
  --wz-muted: #ababab;
  --wz-muted-2: #828690;
  --wz-success: #16c784;
  --wz-warning: #ffb020;
  --sidebar: 320px;
}

html {
  background: var(--wz-page);
  color-scheme: dark;
}

/* FB (ölçüldü, kendi CSS'i): html{scrollbar-width:none;overflow-x:hidden} html::-webkit-scrollbar{display:none} *{scrollbar-width:none}
   → sayfa kaydırma çubuğu HİÇ yer kaplamaz. Bizde royalslot'un 10px ::-webkit-scrollbar'ı masaüstünde görünüm genişliğini
   1270'e düşürüp header/içeriği 10px sola itiyordu; kısa/uzun sayfa ve çekmece kilidi (overflow:hidden) arasında konumlar kayıyordu. */
html {
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
}

body.bb-shell {
  background: var(--wz-page) !important;
  color: var(--wz-text);
}

body.bb-shell .app,
body.bb-shell .main {
  background: transparent;
}

.bocek-logo .bocek-mark,
.modal-brand .brand-emblem,
.bb-auth-mbrand .brand-emblem {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bocek-logo .bocek-mark img,
.modal-brand .brand-emblem img,
.bb-auth-mbrand .brand-emblem img {
  object-fit: contain !important;
  filter: drop-shadow(0 5px 12px rgba(255, 0, 58, .22));
}

.bocek-logo .bocek-word,
.modal-brand > span:last-child,
.bb-auth-mbrand > span:last-child {
  color: var(--wz-red-soft) !important;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.04em !important;
}

.bocek-logo .bocek-word b,
.modal-brand > span:last-child b,
.bb-auth-mbrand > span:last-child b {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: currentColor;
}

.bb-mode-head {
  display: none;
}

.bns-dots button {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--wz-active);
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.bns-dots button.on {
  width: 18px;
  background: var(--wz-red-soft);
}

.bns-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.bns-viewport {
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
}

body.is-home .bns-slide > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

body.is-home .bns-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 9, 11, .84) 0%, rgba(8, 9, 11, .5) 43%, rgba(8, 9, 11, .06) 70%, transparent 100%);
}

body.is-home .bns-promo .bb-lb-art {
  display: none !important;
}

.bb-cats6 .bb-cat picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.bb-cats6 .bb-cat-art {
  z-index: 0 !important;
  transition: transform .28s ease;
}

.bb-cats6 .bb-cat:not(.is-soon):hover .bb-cat-art {
  transform: scale(1.025);
}

.bb-cats6 .bb-cat-badge {
  z-index: 2;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(26, 28, 32, .78);
  color: #fff;
  backdrop-filter: blur(8px);
}

html.nav-locked,
html.nav-locked body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (min-width: 768px) {
  body.bb-shell .app {
    padding-top: 60px;
  }

  /* FB header @1280 (ölçüldü): 60px #1a1c20, alt çizgi 1px #2e3137, iç kap max 1360 (sol 320'lik blok hariç)
     ortalanır → sağ boşluk 20 + taşan genişliğin yarısı (fixed öğede % = görünüm genişliği). */
  body.bb-shell .topbar {
    position: fixed !important;
    inset: 0 0 auto 0;
    z-index: 80;
    min-height: 60px !important;
    height: 60px;
    gap: 8px;
    padding: 0 calc(20px + max(0px, (100% - 1680px) / 2)) 0 16px !important;
    /* FB alt çizgi 0.5px (DPR 1.8'de 0.5556 ölçüldü) */
    border-bottom: .5px solid #2e3137 !important;
    background: #1a1c20 !important;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
  }

  body.bb-shell .topbar::before {
    display: none;
  }

  /* burger: FB 36x36 #24262b r12, ikon 18 beyaz */
  .topbar .nav-burger {
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--wz-card);
    color: #fff;
    font-size: 17px;
  }

  /* Casino/Spor: FB 240x44 #24262b r12 p4 g4; düğme 36 yüksek r8 13/600, aktif #2e3137 beyaz, pasif #ababab */
  .bb-mode-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 240px;
    height: 44px;
    flex: 0 0 240px;
    box-sizing: border-box;
    gap: 4px;
    margin: 0 0 0 4px;
    padding: 4px;
    border: 0 !important;
    border-radius: 12px;
    background: var(--wz-card) !important;
  }

  .bb-mode-head > a,
  .bb-mode-head > span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    min-width: 0;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--wz-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
  }

  .bb-mode-head > a.active {
    color: #fff;
    background: var(--wz-active);
  }

  .bb-mode-head i {
    color: var(--wz-red-soft);
    font-size: 16px;
  }

  .bb-mode-head small {
    position: absolute;
    top: -10px;
    right: 1px;
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--wz-warning);
    color: #18130a;
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
  }

  /* logo: FB sol blok 320 + 32 → x=352 (sol blok 304'te biter, +8 gap +40). ≥1680'de iç kap ortalanır. */
  .topbar-logo.bocek-logo {
    display: flex !important;
    flex: 0 0 auto;
    margin-left: calc(40px + max(0px, 100% - 1644px));
  }

  .topbar-logo .bocek-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .topbar-logo .bocek-word {
    font-size: 18px;
  }

  /* FB: logo → arama arası en az 12px (1100'de logo 352+140 → arama 504). 8 gap + (-4) + 8 gap = 12 */
  .topbar .spacer {
    flex: 1 1 0;
    min-width: 0;
    margin-left: -4px;
  }

  /* arama: FB 360x38 (max 36vw, sıkışınca daralır) #24262b r8, p0 14, ikon→metin 10px, 13px #ababab */
  .topbar .bb-search {
    position: relative;
    display: flex;
    flex: 0 1 360px;
    width: 360px;
    max-width: min(360px, 36vw);
    min-width: 0;
    height: 38px;
    margin: 0;
  }

  .topbar .bb-search i {
    left: 13px;
    color: #fff;
    font-size: 12px;
  }

  .topbar .bb-search input {
    height: 38px;
    padding: 0 14px 0 31px;
    border: 0 !important;
    border-radius: 8px;
    background: #24262b !important;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    box-shadow: none;
  }

  .topbar .bb-search input::placeholder {
    color: #ababab;
    opacity: 1;
  }

  /* misafir header düğmeleri — FB @1280: Giriş Yap 112.2x38 #24262b, KAYIT OL 117.1x38 #ff003a; kenarlıksız r8,
     p0 16, 14/700, 15px ikon + 8 boşluk (genişlik içerikten gelir; aralarında 8, aramayla 8) */
  .topbar .btn-login,
  .topbar .btn-primary {
    box-sizing: border-box;
    height: 38px;
    min-width: 0;
    gap: 8px;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 24.5px;
    white-space: nowrap;
  }

  .topbar .btn-login {
    background: #24262b !important;
    color: #fff !important;
  }

  .topbar .btn-login i,
  .topbar .btn-primary i {
    flex: 0 0 15px;
    width: 15px;
    font-size: 15px;
    text-align: center;
  }

  body.bb-shell .sidebar {
    position: sticky;
    top: 60px;
    width: 320px !important;
    height: calc(100vh - 60px);
    padding: 14px;
    border-right: 1px solid #2e3137;
    background: var(--wz-shell) !important;
  }

  body.nav-collapsed .sidebar {
    width: 0 !important;
    padding-inline: 0;
  }

  .sidebar > .sb-logo,
  .sidebar > .bb-mode-top {
    display: none !important;
  }

  .sidebar .sb-guest {
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .sidebar .sb-guest-top {
    display: none;
  }

  .sidebar .sb-guest-btns {
    gap: 8px;
  }

  /* FB sabit sol menü (≥1280) misafir düğmeleri: Giriş Yap 296x48 #24262b beyaz r8 · KAYIT OL 296x48 #ff003a r12 BÜYÜK HARF;
     ikisi de kenarlıksız 14/700, p0 24, 18px ikon (kullanıcı / anahtar) + 4 boşluk.
     (768–1279 çekmecesindeki yeşil/şeffaf çift aşağıdaki ÇEKMECE bloğunda.) */
  .sidebar .sb-guest-btns .btn {
    box-sizing: border-box;
    height: 48px;
    gap: 4px;
    padding: 0 24px;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 24.5px;
  }

  .sidebar .sb-guest-btns .btn i {
    flex: 0 0 18px;
    width: 18px;
    font-size: 18px;
    text-align: center;
  }

  /* FB ikonları: Giriş = kullanıcı, Kayıt = anahtar (header'daki ile aynı) */
  .sidebar .sb-guest-btns .btn-login i::before {
    content: "\f007";
  }

  .sidebar .sb-guest-btns .btn-primary i::before {
    content: "\f084";
  }

  .sidebar .sb-guest-btns .btn-login {
    background: #24262b !important;
    color: #fff !important;
  }

  .sidebar .sb-guest-btns .btn-primary {
    border-radius: 12px !important;
    background: #ff003a !important;
    color: #fff;
    text-transform: uppercase;
  }

  .sidebar .sb-item {
    min-height: 44px;
    border-radius: 10px;
    color: #e4e5e7;
    font-size: 14px;
  }

  .sidebar .sb-item.active {
    border: 0;
    border-radius: 10px;
    background: var(--wz-active);
  }

  body.is-home .content {
    max-width: none;
    gap: 30px;
    padding: 22px 20px 42px;
  }

  body.is-home .bnslider {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.is-home .bns-track {
    border-radius: 0;
  }

  body.is-home .bns-slide {
    height: auto !important;
    aspect-ratio: 1024 / 253;
    border-radius: 12px;
  }

  body.is-home .bns-promo {
    padding: 26px 38px;
  }

  body.is-home .bns-dots {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 14px;
  }

  body.is-home .bb-cats6 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 7px;
    height: auto;
    aspect-ratio: 920 / 260;
  }

  body.is-home .bb-cats6 .bb-cat {
    min-height: 0 !important;
    padding: 14px;
    border: 0;
    border-radius: 12px;
  }

  body.is-home .bb-cats6 .c-slot {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
  }

  body.is-home .bb-cats6 .c-mac {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.is-home .bb-cats6 .c-tv {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body.is-home .bb-cats6 .c-live {
    grid-column: 4 !important;
    grid-row: 1 / 4 !important;
  }

  body.is-home .bb-cats6 .c-sport {
    grid-column: 2 !important;
    grid-row: 2 / 4 !important;
  }

  body.is-home .bb-cats6 .c-livebet {
    grid-column: 3 !important;
    grid-row: 2 / 4 !important;
  }

  body.is-home .c-mac .bb-cat-ic,
  body.is-home .c-tv .bb-cat-ic {
    top: 9px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 13px;
  }

  body.is-home .c-mac .bb-cat-body strong,
  body.is-home .c-tv .bb-cat-body strong {
    font-size: 16px;
  }

  body.is-home .c-mac .bb-cat-body small,
  body.is-home .c-tv .bb-cat-body small,
  body.is-home .c-mac .bb-cat-badge,
  body.is-home .c-tv .bb-cat-badge {
    display: none;
  }

  .bb-auth-modal {
    width: min(920px, calc(100vw - 38px));
    max-width: 920px;
    grid-template-columns: 292px minmax(0, 1fr);
    border-radius: 16px;
  }

  .bb-auth-register {
    width: min(920px, calc(100vw - 38px));
    max-width: 920px;
    grid-template-columns: 292px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --sidebar: 100vw;
  }

  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  body.bb-shell .app {
    display: block;
    width: 100%;
  }

  body.bb-shell .main {
    width: 100%;
  }

  body.bb-shell {
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.bb-shell .topbar {
    position: sticky !important;
    top: 0;
    z-index: 80;
    width: 100%;
    min-height: 62px !important;
    height: 62px;
    gap: 6px;
    padding: 0 16px !important;
    border-bottom: 1px solid #2e3137 !important;
    background: rgba(26, 28, 32, .98) !important;
  }

  body.bb-shell .topbar::before,
  .bb-mode-head {
    display: none !important;
  }

  .topbar-logo.bocek-logo {
    display: flex !important;
    min-width: 0;
    gap: 5px;
  }

  .topbar-logo .bocek-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .topbar-logo .bocek-word {
    font-size: 15px !important;
  }

  .topbar .btn-login,
  .topbar .btn-primary {
    min-width: 0;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }

  body.bb-shell .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    top: 0;
    width: 100vw !important;
    height: 100dvh;
    padding: 14px;
    background: var(--wz-shell) !important;
  }

  .sidebar > .sb-logo,
  .sidebar > .bb-mode-top {
    display: flex !important;
  }

  .sidebar .sb-guest {
    padding: 13px;
    border: 1px solid var(--wz-border);
    background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
  }

  .sidebar .sb-guest-top {
    display: flex;
  }

  .sidebar .sb-guest-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sidebar .sb-guest-btns .btn {
    height: 44px;
  }

  body.is-home .content {
    gap: 30px;
    padding: 20px 16px 92px;
  }

  body.is-home .bnslider {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.is-home .bns-track {
    border-radius: 0;
  }

  body.is-home .bns-slide {
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  body.is-home .bns-img {
    object-position: 68% center;
  }

  body.is-home .bns-promo {
    padding: 18px 18px 18px 22px !important;
  }

  body.is-home .bns-promo .bb-lb-copy {
    max-width: 61%;
  }

  body.is-home .bns-promo .bb-lb-copy h2 {
    font-size: clamp(18px, 5.35vw, 23px);
  }

  body.is-home .bns-promo .bb-lb-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11.5px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.is-home .bns-promo .bb-lb-art {
    display: none;
  }

  body.is-home .bns-dots {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 18px;
  }

  body.is-home .bb-cats6 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 13px 10px !important;
    height: auto;
  }

  body.is-home .bb-cats6 .bb-cat {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 0 !important;
    padding: 14px;
    border: 0;
    border-radius: 16px;
  }

  body.is-home .bb-cats6 .c-sport {
    grid-column: 1 / -1 !important;
    order: 0;
    aspect-ratio: 720 / 352;
  }

  body.is-home .bb-cats6 .c-livebet {
    order: 1;
    aspect-ratio: 348 / 370;
  }

  body.is-home .bb-cats6 .c-slot {
    order: 2;
    aspect-ratio: 348 / 370;
  }

  body.is-home .bb-cats6 .c-mac {
    order: 3;
    aspect-ratio: 348 / 370;
  }

  body.is-home .bb-cats6 .c-tv {
    order: 4;
    aspect-ratio: 348 / 370;
  }

  body.is-home .bb-cats6 .c-live {
    grid-column: 1 / -1 !important;
    order: 5;
    aspect-ratio: 720 / 352;
  }

  body.is-home .bb-cat-body strong {
    font-size: clamp(18px, 5vw, 22px);
  }

  body.is-home .bb-cat-body small {
    font-size: 11px;
  }

  body.is-home .bb-cat-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  body.is-home .bb-cat-badge {
    top: 14px;
    right: 12px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .mobile-nav .mn-item {
    min-height: 44px;
  }

  .bb-totop {
    right: 18px !important;
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }

  .support-fab,
  #chat-widget-container.ace-livechat-mobile-offset {
    bottom: calc(62px + env(safe-area-inset-bottom)) !important;
  }

  .pushengage-opt-in__large-safari-style {
    left: 50% !important;
    width: min(390px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    transform: translateX(-50%) !important;
  }

  body:has(.modal-overlay.open) .pushengage-opt-in__large-safari-style,
  body.nav-open .pushengage-opt-in__large-safari-style {
    display: none !important;
  }

  #loginModal,
  #registerModal {
    padding: 0 !important;
  }

  #loginModal {
    align-items: flex-end !important;
  }

  #registerModal {
    align-items: stretch !important;
  }

  .bb-auth-modal {
    position: relative;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    border: 0;
    background: var(--wz-shell);
  }

  .bb-auth-modal::before {
    display: none;
  }

  .bb-auth-modal::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 5;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #555960;
    transform: translateX(-50%);
  }

  .bb-auth-art {
    display: none !important;
  }

  .bb-auth-login {
    height: auto !important;
    min-height: 0;
    max-height: calc(100dvh - 72px) !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .bb-auth-register {
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .bb-auth-modal .bb-auth-form,
  .bb-auth-register .bb-auth-form {
    max-height: inherit;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
    background: var(--wz-shell);
  }

  .bb-auth-register .bb-auth-form {
    padding-top: 24px;
  }

  .bb-auth-mbrand {
    display: flex !important;
    min-height: 32px;
  }

  .bb-pay-strip {
    margin-bottom: 0;
  }

  .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  body.is-home .g-row > .g-card {
    flex-basis: calc((100vw - 48px) / 3) !important;
    width: calc((100vw - 48px) / 3) !important;
  }
}

/* FB: sol menü yalnız ≥1280'de sabit; 768–1279 arası burger ile açılan çekmece (header'ın ÜSTÜNDE, tam yükseklik).
   Çekmecenin konumu ve görünümü dosya sonundaki "SHELL v4 — 768–1279 ÇEKMECE" bloğunda. */
@media (min-width: 768px) and (max-width: 1279px) {
  body.bb-shell .app {
    display: block;
    width: 100%;
  }

  body.bb-shell .main {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.is-home .content {
    padding-inline: 20px;
  }

  body.is-home .bns-promo {
    padding: 14px 24px !important;
  }

  body.is-home .bns-promo .bb-lb-copy {
    max-width: 58%;
  }

  body.is-home .bns-promo .bb-lb-kicker {
    font-size: 10px;
  }

  body.is-home .bns-promo .bb-lb-copy h2 {
    margin: 4px 0;
    font-size: clamp(19px, 2.7vw, 27px);
  }

  body.is-home .bns-promo .bb-lb-copy p {
    margin-bottom: 8px;
    font-size: 11.5px;
    line-height: 1.28;
  }

  body.is-home .bns-promo .bb-lb-cta {
    padding: 7px 12px;
    font-size: 11px;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  body.is-home .bns-promo {
    padding: 14px 24px !important;
  }

  body.is-home .bns-promo .bb-lb-copy {
    max-width: 58%;
  }

  body.is-home .bns-promo .bb-lb-kicker {
    font-size: 10px;
  }

  body.is-home .bns-promo .bb-lb-copy h2 {
    margin: 4px 0;
    font-size: clamp(19px, 2.7vw, 27px);
  }

  body.is-home .bns-promo .bb-lb-copy p {
    margin-bottom: 8px;
    font-size: 11.5px;
    line-height: 1.28;
  }

  body.is-home .bns-promo .bb-lb-cta {
    padding: 7px 12px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .topbar-logo.bocek-logo {
    display: flex !important;
  }

  .topbar-logo .bocek-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .topbar-logo .bocek-word {
    font-size: 12px !important;
  }

  .topbar .btn-login,
  .topbar .btn-primary {
    padding-inline: 8px !important;
    font-size: 12px !important;
  }

  .topbar .btn-login i,
  .topbar .btn-primary i {
    display: none;
  }

  body.is-home .content {
    padding-inline: 16px;
  }

  body.is-home .bb-cat-go {
    display: none;
  }
}

@media (max-width: 340px) {
  body.is-home .bns-promo .bb-lb-copy p,
  body.is-home .bns-promo .bb-lb-cta {
    display: none;
  }

  body.is-home .bns-promo .bb-lb-copy {
    max-width: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bns-track,
  .bns-dots button,
  .bb-cat,
  .g-thumb img {
    transition: none !important;
  }
}

/* =====================================================================
   SHELL v2 (2026-10-12) — FanatikBet'ten ÖLÇÜLEREK (getComputedStyle, 1000/1100/1280/1440/1920):
   header sağ grubu + "Hesabım" açılır menüsü + kırılımlar + HESAP ÇERÇEVESİ (tüm hesap sayfalarında aynı).
   FB kırılımları: ≥1280 sol menü sabit · 1024–1279 sol menü çekmece, hesap menüsü sütunu durur ·
   768–1023 sol menü çekmece, arama ikon, hesap menüsü yerine kutucuk şeridi · ≤767 mobil (bu blok dokunmaz).
   ===================================================================== */

/* yeni öğeler mobilde gizli kalır (mobil FB'ye göre zaten eşlendi) */
.um-btn-ic,
.bb-acc-count {
  display: none;
}

@media (min-width: 768px) {
  .bb-mode-head span {
    opacity: 1;
  }

  .bb-mode-head > span {
    cursor: default;
  }

  /* eski ".bb-mode-head span" kuralı (h38, p0 17, gri) iç etiket span'ine de uyuyordu → sıfırla */
  .bb-mode-head > a > span,
  .bb-mode-head > span > span {
    display: inline;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
  }

  /* --- Cüzdan hapı: FB 38 yük. #24262b r8, iç boşluk 0 4 0 12, aralık 8; altın "Yatırım" 30x30 r6 hapın İÇİNDE --- */
  .topbar .wallet {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 38px !important;
    min-height: 38px !important;
    gap: 8px !important;
    padding: 0 42px 0 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #24262b !important;
  }

  .topbar .wallet > i.bb-bal-coin {
    display: grid;
    place-items: center;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffc24a, #e89000);
    color: #1a1c20 !important;
    font-size: 8px !important;
  }

  .topbar .wallet-amount {
    color: #fff;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 19px;
  }

  .topbar .bb-bal-eye {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    padding: 0 !important;
    color: #ababab !important;
    font-size: 13px !important;
  }

  .topbar .wallet-add.gold {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 4px 0 -42px !important;
    padding: 0;
    border: 0;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #ffc24a, #e89000) !important;
    /* FB kaynak: altın düğmedeki cüzdan ikonu 15px, çizgi rengi #1A1C20 */
    color: #1a1c20 !important;
    font-size: 15px !important;
    box-shadow: none !important;
  }

  /* --- Hesabım / Ayarlar / Bildirim: FB 38x38 #24262b r8 kenarlıksız, aralık 8; hover #2e3137.
         İkonlar FB kaynağında üçü de #ABABAB: kullanıcı 18px (çizgisel), dişli 16px, zil 16px --- */
  .topbar .usermenu,
  .topbar .bell {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    order: 0;
  }

  .topbar .usermenu-btn.usermenu-btn-icon,
  .topbar .hdr-gear,
  .topbar .bell-btn {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    box-sizing: border-box;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #24262b !important;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
  }

  .topbar .usermenu-btn.usermenu-btn-icon:hover,
  .topbar .usermenu.open .usermenu-btn.usermenu-btn-icon,
  .topbar .hdr-gear:hover,
  .topbar .bell-btn:hover,
  .topbar .bell.open .bell-btn {
    background: #2e3137 !important;
    color: #ababab;
  }

  .topbar .hdr-gear,
  .topbar .bell-btn,
  .topbar .hdr-gear > i,
  .topbar .bell-btn > i {
    color: #ababab;
  }

  .topbar .usermenu-btn-icon .ava {
    display: none !important;
  }

  .topbar .usermenu-btn-icon .um-btn-ic {
    display: block;
    color: #ababab;
    font-size: 18px;
    line-height: 1;
  }

  .topbar .bell .bell-badge {
    top: -6px !important;
    right: -6px !important;
    box-sizing: border-box;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border: 0 !important;
    border-radius: 999px;
    background: #ff003a !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
  }

  /* --- "Hesabım" açılır menüsü: FB 210 gen. #2e3137 r12, butonun 8px altında sağa hizalı,
         satır 42 (p 6/12), 28'lik ikon kutusu (16px #ff003a) + 14/500 beyaz, ayraç rgba(255,255,255,.1),
         hover rgba(255,255,255,.1), Çıkış #d03c3c --- */
  .topbar .usermenu-drop.um-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 95;
    display: block;
    width: 210px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px;
    background: #2e3137 !important;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }

  .topbar .usermenu.open .usermenu-drop.um-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .um-pop .um-item {
    display: flex;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 6px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: 500 14px/20px Outfit, system-ui, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .um-pop .um-item:hover,
  .um-pop .um-item:focus-visible {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    outline: 0;
  }

  .um-pop .um-ic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #ff003a;
    font-size: 16px;
  }

  .um-pop .um-ic i {
    width: auto;
    color: inherit;
    font-size: inherit;
  }

  .um-pop .um-tx {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .um-pop .um-logout {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .um-pop .um-logout .um-item {
    height: 41px;
    border-bottom: 0;
  }

  .um-pop .um-item.is-logout,
  .um-pop .um-item.is-logout:hover,
  .um-pop .um-item.is-logout .um-ic {
    color: #d03c3c;
  }

  .um-pop .um-item.usermenu-admin {
    color: #fff;
  }

  /* --- Hesap sayfası başlık kartı (FB tüm genişliklerde): 66px #24262b r12 p16/20,
         34px ikon karesi rgba(255,0,58,.16) + 1px #2e3137 ayraç + 17/700 --- */
  .bb-account-wrap .slot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
    min-height: 66px;
    margin: 0;
    padding: 16px 20px;
    border: 0;
    border-radius: 12px;
    background: #24262b;
    box-shadow: none;
  }

  .bb-account-wrap .slot-head .catalog-intro {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .bb-account-wrap .slot-head .page-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 25.5px;
  }

  .bb-account-wrap .slot-head .page-title > .dot,
  .bb-account-wrap .slot-head .page-sub {
    display: none;
  }

  .bb-account-wrap .slot-head .acc-title-ic {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 0, 58, .16);
    color: #ff3361;
    font-size: 17px;
  }

  .bb-account-wrap .slot-head .acc-title-tx {
    min-width: 0;
    overflow: hidden;
    padding-left: 15px;
    border-left: 1px solid #2e3137;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ---------- 768–1023 (FB md): ikon Casino/Spor, logo x=172, arama 38x38 ikon (odakta açılır),
              hesap sayfaları: üstte 116x76 kutucuk şeridi (x=32), içerik tam genişlik 12px kenar ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .bb-mode-head {
    width: 84px;
    flex: 0 0 84px;
    grid-template-columns: 36px 36px;
  }

  .bb-mode-head > a,
  .bb-mode-head > span {
    width: 36px;
    gap: 0;
    padding: 0;
  }

  .bb-mode-head > a > span,
  .bb-mode-head > span > span,
  .bb-mode-head small {
    display: none !important;
  }

  .topbar-logo.bocek-logo {
    margin-left: 16px;
  }

  .topbar .topbar-logo.bocek-logo .bocek-word {
    display: inline !important;
  }

  .topbar .bb-search {
    flex: 0 0 38px;
    width: 38px;
    max-width: none;
    transition: flex-basis .2s ease, width .2s ease;
  }

  .topbar .bb-search i {
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
  }

  .topbar .bb-search input {
    padding: 0;
    color: transparent;
    cursor: pointer;
  }

  .topbar .bb-search input::placeholder {
    color: transparent;
  }

  .topbar .bb-search:focus-within {
    flex-basis: 260px;
    width: 260px;
  }

  .topbar .bb-search:focus-within i {
    left: 13px;
    transform: translateY(-50%);
  }

  .topbar .bb-search:focus-within input {
    padding: 0 14px 0 31px;
    color: #fff;
    cursor: text;
  }

  .topbar .bb-search:focus-within input::placeholder {
    color: #ababab;
  }

  /* hesap çerçevesi: FB üst 40, şerit → 16 → içerik */
  body.bb-shell .bb-account-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    max-width: none;
    margin: 0 !important;
    padding: 40px 0 !important;
  }

  body.bb-shell .content.payment-content {
    max-width: none !important;
    gap: 0;
    padding: 0 !important;
  }

  body.bb-shell .bb-account-wrap > .content {
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 12px !important;
  }

  body.bb-shell .bb-account-wrap > main.payment-page {
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 12px !important;
  }

  .bb-acc-nav.is-sub {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .bb-acc-nav.is-sub .bb-acc-user,
  .bb-acc-nav.is-sub .bb-acc-actions,
  .bb-acc-nav.is-sub .bb-acc-menu {
    display: none !important;
  }

  .bb-acc-nav.is-sub .bb-acc-tiles {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bb-acc-tiles::-webkit-scrollbar {
    display: none;
  }

  .bb-acc-tile {
    display: flex;
    flex: 0 0 116px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    width: 116px;
    height: 76px;
    overflow: hidden;
    padding: 10px 12px;
    border: 2px solid #1a1c20;
    border-radius: 12px;
    background: #1a1c20;
    color: #ababab;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }

  .bb-acc-tile-ic {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #2e3137;
    color: #ababab;
    font-size: 16px;
  }

  .bb-acc-tile-tx {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-acc-tile.on {
    border-color: rgba(255, 255, 255, .1);
    background: #2e3137;
    color: #fff;
  }

  .bb-acc-tile.on .bb-acc-tile-ic {
    background: #24262b;
    color: #fff;
  }
}

/* ---------- ≥1024 (FB lg/xl): HESAP ÇERÇEVESİ — her hesap sayfasında aynı ----------
   FB @1280: kap max 1360 ortalı, üst/alt 40, yan 20 → menü sütunu x=340 (258 gen.), 16 boşluk, içerik x=614 (646 gen.).
   Menü sütunu = kullanıcı kartı (258x158) + 12 + menü kartı (#24262b r12 p8 1px #2e3137, satır 241x52). Yapışkan değil. */
@media (min-width: 1024px) {
  body.bb-shell .bb-account-wrap {
    display: grid !important;
    grid-template-columns: 258px minmax(0, 1fr) !important;
    align-items: start;
    gap: 16px !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto !important;
    padding: 40px 20px !important;
  }

  body.bb-shell .content.payment-content {
    width: 100%;
    max-width: none !important;
    gap: 0;
    padding: 0 !important;
    align-items: stretch;
  }

  body.bb-shell .bb-account-wrap > .content {
    min-width: 0;
    width: auto;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.bb-shell .bb-account-wrap > main.payment-page {
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .bb-account-wrap > .bb-acc-nav {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 258px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .bb-acc-nav .bb-acc-tiles {
    display: none !important;
  }

  /* kullanıcı kartı: üst kısım + YATIRIM/ÇEKİM tek kart (p16, aralık 16) */
  .bb-acc-nav .bb-acc-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 16px 0;
    border: 1px solid #2e3137;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #24262b;
  }

  .bb-acc-nav .bb-acc-ava {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 3.5px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #24262b, 0 0 0 4px #555963;
    font-size: 28px;
    font-weight: 600;
  }

  .bb-acc-nav .bb-acc-uinfo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .bb-acc-nav .bb-acc-uinfo strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bb-acc-nav .bb-acc-bal {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 28px;
  }

  .bb-acc-nav .bb-acc-uinfo small {
    margin: 0;
    color: #ffb020;
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
  }

  .bb-acc-nav .bb-acc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: -12px 0 0 !important;
    padding: 16px;
    border: 1px solid #2e3137;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #24262b;
  }

  .bb-acc-nav .bb-acc-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    height: 38px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .72px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .bb-acc-nav .bb-acc-dep {
    border: 0;
    border-radius: 10px;
    background: #16c784;
    color: #1a1c20;
  }

  .bb-acc-nav .bb-acc-wd {
    border: 1px solid #31343c;
    border-radius: 8px;
    background: transparent;
    color: #fff;
  }

  .bb-acc-nav .bb-acc-actions a i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 11px;
  }

  .bb-acc-nav .bb-acc-dep i {
    background: rgba(26, 28, 32, .1);
  }

  .bb-acc-nav .bb-acc-wd i {
    background: rgba(255, 176, 32, .1);
    color: #ffb020;
  }

  /* menü kartı */
  .bb-acc-nav .bb-acc-menu {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 8px;
    border: 1px solid #2e3137;
    border-radius: 12px;
    background: #24262b;
  }

  .bb-acc-nav .bb-acc-sec {
    display: block;
    box-sizing: border-box;
    height: 40px;
    margin: 0;
    padding: 18px 12px 7px;
    color: #828690;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item {
    display: flex;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    min-height: 52px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ababab;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item > i:first-child {
    flex: 0 0 17px;
    width: 17px;
    color: #ababab;
    font-size: 17px;
    text-align: center;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item:hover {
    background: #2e3137;
    color: #ababab;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item.on {
    background: rgba(255, 0, 58, .16);
    color: #ff3361;
    font-weight: 600;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item.on > i:first-child {
    color: #ff3361;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item > span:not(.bb-acc-count),
  .bb-acc-nav .bb-acc-lbl {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bb-acc-nav .bb-acc-group > summary .bb-acc-caret {
    flex: 0 0 10px;
    width: 10px;
    margin-left: auto;
    color: #ababab;
    font-size: 10px !important;
  }

  .bb-acc-nav .bb-acc-group {
    display: block;
    width: 100%;
    margin: 0;
  }

  /* alt öğeler: FB kap m8 #2e3137 r8, satır 40 (p10/20), 1px rgba(255,255,255,.1) ayraç, 16 ikon + 25 → 14/700 */
  .bb-acc-nav .bb-acc-group .bb-acc-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: content-box;
    min-height: 20px;
    margin: 0 8px;
    padding: 10px 20px;
    border-radius: 0;
    background: #2e3137;
    color: #ababab;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .bb-acc-nav .bb-acc-group > summary + .bb-acc-sub {
    margin-top: 8px;
    border-radius: 8px 8px 0 0;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub:last-child {
    margin-bottom: 8px;
    border-radius: 0 0 8px 8px;
  }

  .bb-acc-nav .bb-acc-group > summary + .bb-acc-sub:last-child {
    border-radius: 8px;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub > i {
    flex: 0 0 16px;
    width: 16px;
    margin-right: 13px;
    color: #ababab;
    font-size: 16px;
    text-align: center;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub:hover {
    background: #2e3137;
    color: #fff;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub.on,
  .bb-acc-nav .bb-acc-group .bb-acc-sub.on > i {
    color: #ff003a;
  }

  /* Bildirimler sayaç hapı: FB 22x17 rgba(255,255,255,.1) p1/8 10/600 #ababab */
  .bb-acc-nav .bb-acc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 22px;
    height: 17px;
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #ababab;
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
  }

  .bb-acc-nav .bb-acc-count[hidden] {
    display: none;
  }

  /* FB'de Hesabı Sil / Çıkış Yap diğer satırlarla aynı renkte */
  .bb-acc-nav .bb-acc-menu .bb-acc-item.bb-acc-danger,
  .bb-acc-nav .bb-acc-menu .bb-acc-item.bb-acc-danger > i:first-child,
  .bb-acc-nav .bb-acc-menu .bb-acc-item.bb-acc-soon {
    color: #ababab;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item.bb-acc-soon {
    cursor: default;
  }

  .bb-acc-nav .bb-acc-menu .bb-acc-item.bb-acc-soon small {
    margin-left: auto;
  }

  .bb-acc-nav .bb-acc-logout {
    width: 100%;
    margin: 0;
  }
}

/* =====================================================================
   SHELL v3 (2026-10-12) — FB yeniden ölçüldü (1000/1100/1280/1440/1920)
   ===================================================================== */
@media (min-width: 768px) {
  /* Hesap çerçevesi her sayfada aynı: eski royalslot .bns{max-width:880;align-self:center} Bonuslarım içeriğini
     1000/1920'de ortalayıp daraltıyordu (/bonuses ile /my-bonuses arası kayma). FB: içerik sütunu tam genişlik. */
  body.bb-shell .bb-account-wrap .bns,
  body.bb-shell .bb-account-wrap .legal {
    width: auto;
    max-width: none;
    align-self: stretch;
  }

  /* FB kart/ayraç kalınlığı 0.5px (DPR 1.8'de 0.5556 ölçüldü): hesap menüsü kartları + Hesabım satır ayraçları */
  .bb-acc-nav .bb-acc-user {
    border-width: .5px;
  }

  .bb-acc-nav .bb-acc-actions {
    border-width: .5px;
  }

  .bb-acc-nav .bb-acc-menu {
    border-width: .5px;
  }

  .um-pop .um-item {
    border-bottom-width: .5px;
  }

  .bb-acc-nav .bb-acc-group .bb-acc-sub:not(:last-child) {
    border-bottom-width: .5px;
  }

  /* hesap menüsü kartındaki ÇEKİM: FB (sol menü kartıyla aynı) şeffaf, 0.5px #31343c, r8 */
  .bb-acc-nav .bb-acc-wd {
    border-width: .5px;
  }
}

/* sol menünün masaüstü (sabit) görünümü YALNIZ ≥1280 — 768–1279'da FB aynı menüyü mobil bileşenle çekmece olarak açar
   (bkz. dosya sonundaki ÇEKMECE bloğu) */
@media (min-width: 1280px) {
  /* --- SOL MENÜ (masaüstü) — FB @1280 ölçüsü: aside #1a1c20 kenarlıksız, iç boşluk 14/12, aralıksız satırlar.
         Kullanıcı kartı 296x161 #24262b r12 p17/15/19 0.5px #2e3137; avatar 64 (+4 kenar, halka), ad 14/700, bakiye 18/800;
         YATIRIM 38 yük. r10 #16c784 12/700 ls.72 #1a1c20 · ÇEKİM r8 şeffaf 0.5px #31343c beyaz (aralık 8, karttan 14 aşağı).
         Bölüm başlığı: 18 üst boşluk, 32 yük. p0 10 8, 12/700 #828690 BÜYÜK HARF ls1 (çizgi yok).
         Satır 296x52 r8 p0 10, aralık 11, ikon 18 #ff3361, yazı 16/500 #ababab; aktif #24262b + beyaz 600.
         Alt şerit (dil + 18+) menünün altına yapışık: p13/12/12, üst 0.5px #2e3137, dil 258x36 #24262b r8 13/600. --- */
  body.bb-shell .sidebar {
    gap: 0;
    border-right: 0;
    box-shadow: none;
  }

  body.bb-shell .sidebar > * {
    flex-shrink: 0;
  }

  body.bb-shell .sidebar .sb-user {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 17px 15px 19px !important;
    border: .5px solid #2e3137 !important;
    border-radius: 12px !important;
    background: #24262b !important;
  }

  body.bb-shell .sidebar .sb-user-top {
    align-items: flex-start;
    gap: 16px;
  }

  body.bb-shell .sidebar .sb-user .sb-user-ava {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 4px;
    box-shadow: 0 0 0 2px #24262b, 0 0 0 4px #555963;
    font-size: 28px;
    font-weight: 600;
  }

  body.bb-shell .sidebar .sb-user-info strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 22.5px;
  }

  body.bb-shell .sidebar .sb-user-bal {
    margin-top: 3px;
    font-size: 18px;
    font-weight: 800;
    line-height: 26.4px;
  }

  body.bb-shell .sidebar .sb-user-btns {
    display: flex;
    gap: 8px;
    margin-top: 14px;
  }

  body.bb-shell .sidebar .sb-user-btns a {
    box-sizing: border-box;
    gap: 4px;
    height: 38px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .72px;
    text-transform: uppercase;
  }

  body.bb-shell .sidebar .sb-user-btns a i {
    font-size: 11px;
  }

  body.bb-shell .sidebar .sb-user-dep {
    border: 0;
    border-radius: 10px;
    background: #16c784;
    color: #1a1c20;
  }

  body.bb-shell .sidebar .sb-user-wd {
    border: .5px solid #31343c;
    border-radius: 8px;
    background: transparent;
    color: #fff;
  }

  body.bb-shell .sidebar .sb-user-wd i {
    color: #ffb020;
  }

  body.bb-shell .sidebar .sb-section:not(.sb-fin-head) {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 32px;
    margin: 18px 0 0;
    padding: 0 10px 8px;
    color: #828690;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  body.bb-shell .sidebar .sb-section::before {
    display: none;
  }

  /* misafirde kart yok: ilk başlık üstte 4px (FB giriş/kayıt düğmeleri altında) */
  body.bb-shell .sidebar .sb-guest + .sb-section {
    margin-top: 14px;
  }

  body.bb-shell .sidebar .sb-item {
    box-sizing: border-box;
    height: 52px;
    min-height: 52px;
    gap: 11px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #ababab;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.5px;
  }

  body.bb-shell .sidebar .sb-item i {
    flex: 0 0 18px;
    width: 18px;
    color: #ff3361;
    font-size: 18px;
    text-align: center;
  }

  body.bb-shell .sidebar .sb-item:hover,
  body.bb-shell .sidebar .sb-item.active {
    border: 0;
    border-radius: 8px;
    background: #24262b;
    color: #fff;
  }

  body.bb-shell .sidebar .sb-item.active {
    font-weight: 600;
  }

  body.bb-shell .sidebar .sb-item.active::before {
    display: none;
  }

  body.bb-shell .sidebar .sb-item.sb-soon,
  body.bb-shell .sidebar .sb-item.sb-soon:hover {
    background: transparent;
    color: #ababab;
    cursor: default;
  }

  /* alt şerit: dil + 18+ */
  body.bb-shell .sidebar .bb-sidebar-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: auto -12px 0 !important;
    padding: 13px 12px 12px !important;
    border-top: .5px solid #2e3137 !important;
    background: #1a1c20;
  }

  body.bb-shell .sidebar .sb-support > .sb-item:last-child {
    margin-bottom: 24px;
  }

  body.bb-shell .sidebar .sb-lang {
    box-sizing: border-box;
    flex: 0 0 258px;
    width: 258px;
    height: 36px;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #24262b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  body.bb-shell .sidebar .sb-lang .bb-flag-tr {
    width: 19px;
    height: 13px;
    border-radius: 4px;
  }

  /* eski ".bb-sidebar-foot span i" (kırmızı 7px nokta) ve ".bb-sidebar-foot span" (gri 11px) kuralları sıfırlanır */
  body.bb-shell .sidebar .bb-sidebar-foot .sb-lang i {
    width: auto;
    height: auto;
    margin-left: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 12px;
  }

  body.bb-shell .sidebar .bb-sidebar-foot .sb-lang {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  /* FB: 30x30 kırmızı halkalı 18+ rozeti (x=278) */
  body.bb-shell .sidebar .bb-sidebar-foot .sb-age {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1.5px solid #ff3361;
    border-radius: 50%;
    color: #ff3361;
    font-size: 10px;
    font-weight: 800;
  }
}

/* sol menü sabitken (≥1280) FB: üst 14, yan 12, alt 0 (alt şerit kendi boşluğunu taşır) */
@media (min-width: 1280px) {
  body.bb-shell .sidebar {
    padding: 14px 12px 0;
  }

  body.bb-shell.nav-collapsed .sidebar {
    padding-inline: 0;
  }
}

/* =====================================================================
   SHELL v4 (2026-10-13) — 768–1279 ÇEKMECE. FB @1000 ölçüldü (burger → MUI Drawer = mobil menü bileşeni, 320 gen.):
   kağıt 0,0 320x100vh #1a1c20 z1200 (header'ın ÜSTÜNDE), gölge yok, sağda 1px #2e3137 çizgi (y48'den aşağı);
   arka perde rgba(0,0,0,.45). Üst çubuk 80: kapat 30x30 yuvarlak #2e3137 @16,25 (8px #ababab çarpı), logo ortada.
   Kaydırma alanı p0 14, öğe aralığı 8. Misafir kartı 14,80 292 gen. #24262b r18 0.5px #2e3137 p17/15 aralık 14
   (48'lik yuvarlak #1a1c20 1.67px kesikli #2e3137 avatar, 15/700 başlık, 12.5 #8d929d alt yazı;
   Giriş Yap #16c784 r10 #1a1c20 · KAYIT OL şeffaf 0.5px #31343c r10; 45.3 yük. 13.5/700, aralık 10, 123.9 / 127 gen.).
   Bölüm başlığı 20/600 #ababab capitalize + 14x3 #ff003a çizgi (8 aralık), 52 yük. (p18/0/14), karttan sonra +8.
   Satır 292x56 #24262b r14 p13 0.5px şeffaf kenar, aralık 12, 38'lik ikon kutusu (20px) + 14.5/600 beyaz;
   aktif #2e3137 + 0.5px #ff3361 + içte 4px sol çubuk. Destek 2 yarım kutu 144 gen. (aralık 4).
   Alt şerit yapışkan, üst 0.5px #31343c, p17/18/20, aralık 16: dil 234x36 #24262b r8 13/600 + 18+ 34x34.
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1279px) {
  body.bb-shell .sidebar,
  body.bb-shell.nav-collapsed .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 990;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    width: 320px !important;
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    gap: 8px;
    padding: 0 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 0;
    background:
      linear-gradient(#2e3137, #2e3137) right 48px / 1px calc(100% - 48px) no-repeat,
      #1a1c20 !important;
    box-shadow: none !important;
    transform: translateX(-100%);
    transition: transform .24s ease;
  }

  body.bb-shell.nav-open .sidebar {
    transform: translateX(0);
  }

  body.bb-shell .sidebar > * {
    flex-shrink: 0;
  }

  body.bb-shell .nav-overlay {
    z-index: 985;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: none;
  }

  /* kapat: üst çubukla birlikte yapışkan; akışta yer kaplamaz (25 + 30 − 63 = −8 → sonraki 8'lik aralığı da siler) */
  body.bb-shell .sidebar .sb-close {
    position: sticky;
    top: 25px;
    left: auto;
    right: auto;
    z-index: 4;
    display: grid;
    place-items: center;
    align-self: flex-start;
    flex: 0 0 30px;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    margin: 25px 0 -63px 2px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #2e3137;
    color: #ababab;
    font-size: 11px;
    cursor: pointer;
  }

  body.bb-shell .sidebar > .sb-logo.bocek-logo {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 80px;
    box-sizing: border-box;
    height: 80px;
    margin: 0 -14px -8px !important;
    padding: 0 !important;
    background: #1a1c20;
  }

  body.bb-shell .sidebar > .sb-logo.bocek-logo .bocek-mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  body.bb-shell .sidebar > .sb-logo.bocek-logo .bocek-word {
    font-size: 18px;
    line-height: 1;
  }

  /* --- misafir kartı --- */
  body.bb-shell .sidebar .sb-guest {
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    margin: 0 0 8px;
    padding: 17px 15px;
    border: .5px solid #2e3137;
    border-radius: 18px;
    background: #24262b;
  }

  body.bb-shell .sidebar .sb-guest-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  body.bb-shell .sidebar .sb-guest-top > div {
    min-width: 0;
  }

  body.bb-shell .sidebar .sb-guest-ava {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border: 1.67px dashed #2e3137;
    border-radius: 50%;
    background: #1a1c20;
    color: #ababab;
    font-size: 20px;
  }

  /* FB avatar ikonu çizgisel kullanıcı */
  body.bb-shell .sidebar .sb-guest-ava i {
    font-weight: 400;
  }

  body.bb-shell .sidebar .sb-guest-top strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 22.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bb-shell .sidebar .sb-guest-top small {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #8d929d;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 18.75px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bb-shell .sidebar .sb-guest-btns {
    display: grid;
    grid-template-columns: 123.9fr 127fr;
    gap: 10px;
  }

  body.bb-shell .sidebar .sb-guest-btns .btn {
    box-sizing: border-box;
    width: auto;
    height: 45.3px;
    gap: 8px;
    padding: 0;
    border-radius: 10px !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 20.25px;
    letter-spacing: -.081px;
  }

  body.bb-shell .sidebar .sb-guest-btns .btn i {
    flex: 0 0 16px;
    width: 16px;
    font-size: 14px;
  }

  body.bb-shell .sidebar .sb-guest-btns .btn-login {
    background: #16c784 !important;
    color: #1a1c20 !important;
  }

  body.bb-shell .sidebar .sb-guest-btns .btn-primary {
    border: .5px solid #31343c !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #fff;
  }

  /* --- üye kartı (mobil FB bileşeni: YATIRIM/ÇEKİM yerine "Finans" kutuları) --- */
  body.bb-shell .sidebar .sb-user {
    box-sizing: border-box;
    margin: 0 0 8px !important;
    padding: 17px 15px !important;
    border: .5px solid #2e3137 !important;
    border-radius: 12px !important;
    background: #24262b !important;
  }

  body.bb-shell .sidebar .sb-user-top {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  body.bb-shell .sidebar .sb-user .sb-user-ava {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 4px;
    box-shadow: 0 0 0 2px #24262b, 0 0 0 3.7px #555963;
    font-size: 24px;
  }

  body.bb-shell .sidebar .sb-user-bal {
    margin-top: 3px;
    font-size: 18px;
    font-weight: 800;
  }

  body.bb-shell .sidebar .sb-user .sb-user-btns {
    display: none !important;
  }

  body.bb-shell .sidebar .sb-fin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  body.bb-shell .sidebar .sb-fin-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 150px;
    overflow: hidden;
    padding: 17px 15px 18px;
    border: .5px solid #2e3137;
    border-radius: 14px;
    background: #24262b;
    color: #fff;
    text-decoration: none;
  }

  body.bb-shell .sidebar .sb-fin-ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 7px;
    border-radius: 11px;
    font-size: 17px;
  }

  body.bb-shell .sidebar .sb-fin-tile.is-dep .sb-fin-ic {
    background: rgba(22, 199, 132, .1);
    color: #16c784;
    box-shadow: 0 4px 50px #16c784;
  }

  body.bb-shell .sidebar .sb-fin-tile.is-wd .sb-fin-ic {
    background: rgba(255, 176, 32, .1);
    color: #ffb020;
    box-shadow: 0 4px 50px #ffb020;
  }

  body.bb-shell .sidebar .sb-fin-tile b {
    padding-top: 7px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
  }

  body.bb-shell .sidebar .sb-fin-tile small {
    font-size: 11.5px;
    font-weight: 400;
  }

  body.bb-shell .sidebar .sb-fin-tile.is-dep small {
    color: rgba(255, 255, 255, .75);
  }

  body.bb-shell .sidebar .sb-fin-tile.is-wd small {
    color: #ababab;
  }

  /* --- bölüm başlıkları --- */
  body.bb-shell .sidebar .sb-section {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    height: 52px;
    margin: 0;
    padding: 18px 0 14px;
    color: #ababab;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: capitalize;
  }

  body.bb-shell .sidebar .sb-section::before {
    content: "";
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 3px;
    border-radius: 99px;
    background: #ff003a;
  }

  /* --- satırlar --- */
  body.bb-shell .sidebar .sb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 13px;
    border: .5px solid transparent;
    border-radius: 14px;
    background: #24262b;
    box-shadow: none;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 21.75px;
  }

  body.bb-shell .sidebar .sb-item i {
    flex: 0 0 38px;
    width: 38px;
    color: #ff3361;
    font-size: 20px;
    text-align: center;
  }

  body.bb-shell .sidebar .sb-item:hover {
    background: #2e3137;
    color: #fff;
  }

  body.bb-shell .sidebar .sb-item.active {
    border: .5px solid #ff3361;
    border-radius: 14px;
    background: #2e3137;
    box-shadow: inset 4px 0 0 0 #ff3361;
    color: #fff;
    font-weight: 600;
  }

  body.bb-shell .sidebar .sb-item.active::before {
    display: none;
  }

  body.bb-shell .sidebar .sb-item.sb-soon,
  body.bb-shell .sidebar .sb-item.sb-soon:hover {
    background: #24262b;
    cursor: default;
  }

  body.bb-shell .sidebar .sb-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  /* FB Destek kutusu: 24'lük beyaz ikon · 12 · 1x16 rgba(255,255,255,.05) ayraç · 12 · 14/500 #ddeefb tek satır (…) */
  body.bb-shell .sidebar .sb-support .sb-item {
    display: block;
    height: auto;
    min-height: 51px;
    min-width: 0;
    overflow: hidden;
    color: #ddeefb;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.bb-shell .sidebar .sb-support .sb-item i {
    position: relative;
    display: inline-block;
    width: 24px;
    margin-right: 25px;
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    vertical-align: top;
  }

  body.bb-shell .sidebar .sb-support .sb-item i::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 36px;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .05);
  }

  /* --- alt şerit --- */
  body.bb-shell .sidebar .bb-sidebar-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: auto -14px 0 !important;
    padding: 17px 18px 20px !important;
    border-top: .5px solid #31343c !important;
    background: #1a1c20;
  }

  body.bb-shell .sidebar .bb-sidebar-foot .sb-lang {
    display: inline-flex;
    align-items: center;
    flex: 0 0 234px;
    box-sizing: border-box;
    width: 234px;
    height: 36px;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #24262b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  body.bb-shell .sidebar .bb-sidebar-foot .sb-lang .bb-flag-tr {
    width: 19px;
    height: 13px;
    border-radius: 4px;
  }

  body.bb-shell .sidebar .bb-sidebar-foot .sb-lang i {
    width: auto;
    height: auto;
    margin-left: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    font-size: 12px;
  }

  body.bb-shell .sidebar .bb-sidebar-foot .sb-age {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    border: 1.5px solid #ff3361;
    border-radius: 50%;
    color: #ff3361;
    font-size: 11px;
    font-weight: 800;
  }
}

/* =====================================================================
   SHELL v4 (2026-10-13) — HEADER ayrıntıları (FB 1000/1100/1280 ölçüsü + FB kaynak sınıfları)
   ===================================================================== */
/* yeni bildirim paneli öğeleri mobilde gizli (mobil header/zil FB'ye göre zaten eşlendi) */
.bell-refresh,
.bell-foot,
.bell-act-ic {
  display: none;
}

/* eski ".bell-head span" (14/800) kuralı düğme içindeki metne uymasın — mobilde düğme eskisi gibi görünür */
.bell-head .bell-act-tx {
  font: inherit;
}

/* Casino/Spor: FB ≥1024 iç aralık 6 → düğmeler 113 (1280: Casino x68, Spor x187); 768–1023 ikon modunda 4 kalır */
@media (min-width: 1024px) {
  .bb-mode-head {
    gap: 6px;
  }
}

@media (min-width: 768px) {
  /* --- Bildirim paneli: FB kaynak (MUI Popover, Tailwind): mt-2 w-90 rounded-lg border bg-light →
         zil düğmesinin 8px altında, sağa hizalı, 360 gen. (en çok 100vw−24), #2E3137, 1px #24262B kenar, r8, gölge yok.
         Başlık min 48 p8/12 alt çizgi rgba(255,255,255,.1), 16/700 beyaz + 28x28 r6 ikon düğmeleri (18px beyaz).
         Liste 352 yük. kaydırmalı, p8 aralık 8; kart min 56 r8 #24262B p10/12 aralık 10:
         okunmamış 1px #FF003A + solda 4px, başlık 14/20 600 beyaz, metin 12/16 %80, zaman 10/16 %60;
         okunmuş kenar #24262B %70, başlık %60, metin %50, zaman %40. Alt: üst çizgi + 40 yük. "Tümünü gör" 14/600 #FF003A. --- */
  .topbar .bell .bell-drop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 95;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: none;
    overflow: hidden;
    border: 1px solid #24262b;
    border-radius: 8px;
    background: #2e3137;
    box-shadow: none;
  }

  .topbar .bell .bell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #2e3137;
  }

  .topbar .bell .bell-head > span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }

  .topbar .bell .bell-acts {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .topbar .bell .bell-head .bell-act {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }

  .topbar .bell .bell-head .bell-act:hover {
    background: rgba(255, 255, 255, .1);
    color: #ff003a;
  }

  .topbar .bell .bell-head .bell-refresh {
    display: flex;
  }

  .topbar .bell .bell-act-ic {
    display: block;
  }

  .topbar .bell .bell-act-tx {
    display: none;
  }

  .topbar .bell .bell-list {
    display: flex;
    flex: 0 0 352px;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    height: 352px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    background: #2e3137;
  }

  .topbar .bell .bell-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(36, 38, 43, .7);
    border-radius: 8px;
    background: #24262b;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
  }

  .topbar .bell .bell-item.unread {
    border-color: #ff003a;
    border-left-width: 4px;
    background: #24262b;
  }

  .topbar .bell .bell-item:hover {
    background: #2e3137;
  }

  .topbar .bell .bell-item .bi,
  .topbar .bell .bell-item .dot-un {
    display: none;
  }

  .topbar .bell .bell-item .bc {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-width: 0;
  }

  .topbar .bell .bell-item .bt,
  .topbar .bell .bell-item .bm {
    grid-column: 1;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
  }

  .topbar .bell .bell-item .bt {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    -webkit-line-clamp: 1;
  }

  .topbar .bell .bell-item .bm {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    line-height: 16px;
    -webkit-line-clamp: 2;
  }

  .topbar .bell .bell-item .bt + .bm {
    margin-top: 2px;
  }

  .topbar .bell .bell-item .bc > .bm:first-child {
    margin-top: 0;
  }

  .topbar .bell .bell-item .ba {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    padding-top: 2px;
    color: rgba(255, 255, 255, .4);
    font-size: 10px;
    line-height: 16px;
    text-align: right;
    white-space: nowrap;
  }

  .topbar .bell .bell-item.unread .bt {
    color: #fff;
    font-weight: 600;
  }

  .topbar .bell .bell-item.unread .bm {
    color: rgba(255, 255, 255, .8);
  }

  .topbar .bell .bell-item.unread .ba {
    color: rgba(255, 255, 255, .6);
  }

  .topbar .bell .bell-empty {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    background: #2e3137;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
  }

  .topbar .bell .bell-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 41px;
    padding: 0 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #2e3137;
    color: #ff003a;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
  }

  .topbar .bell .bell-foot:hover {
    background: rgba(255, 255, 255, .1);
    color: #ff003a;
  }
}
