/* =====================================================================================================================
   ADIM 146/N — 🎮 OYUN MERKEZİ: lobideki oyun sekmeleri (kullanıcının seçtiği "Seçenek A — üst sekme şeridi"), seçilen oyunun
   paneli ve oyun sayfası (pages/oyun.php: üst çubuk + oyun çerçevesi). Oyunların kendi görünümüne dokunulmaz.
   ===================================================================================================================== */

/* ---------------- Lobi: oyun sekmeleri ---------------- */
.gx-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  margin: 0 0 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(212, 165, 55, 0.40);
  position: relative;
  z-index: 1;
}
.gx-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 13px;
  color: #f2d27a;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, transform 0.12s ease;
}
.gx-tab:hover { background: rgba(255, 255, 255, 0.06); color: #ffe7a8; }
.gx-tab:active { transform: scale(0.98); }
.gx-tab:focus-visible { outline: 2px solid #f3d474; outline-offset: 2px; }
.gx-tab img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  background: #0b3a27;
}
.gx-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.gx-t b { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-t small {
  font-size: 12px;
  font-weight: 600;
  color: #b9cbbd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 15px;
}
.gx-tab.is-active {
  background: linear-gradient(180deg, #f3d474, #cf9f33);
  color: #1f2a1e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.gx-tab.is-active small { color: #4a3b12; }
.gx-tab.is-off { opacity: 0.55; }
.gx-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: 1px;
  background: #3fd17f;
  box-shadow: 0 0 0 2px rgba(63, 209, 127, 0.25);
}

/* ---------------- Lobi: seçilen oyunun paneli (Altın 777 / Altın Pilot) ---------------- */
.gx-panel[hidden] { display: none !important; }
.gx-panel { min-height: 0; }
.gx-panel-in { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 26px; align-items: center; }
.gx-hero {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0b3a27 center / cover no-repeat;
  border: 2px solid rgba(212, 165, 55, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.30);
}
.gx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.gx-hero-live {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #f2d27a;
  font-size: 12px;
  font-weight: 800;
}
.gx-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gx-name { margin: 0; font-size: 26px; font-weight: 900; color: var(--ok-ink, #1c2b24); }
.gx-desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ok-muted, #6b7d74); }
.gx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gx-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f4f8f3;
  border: 1px solid #d5e1d8;
  min-width: 0;
}
.gx-fact span { font-size: 11px; font-weight: 700; letter-spacing: 0.3px; color: #5b6f62; text-transform: uppercase; }
.gx-fact b { font-size: 17px; font-weight: 800; color: #1d3b2c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3d474, #cf9f33);
  color: #1f2a1e;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(160, 120, 30, 0.35);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.gx-play:hover { filter: brightness(1.05); }
.gx-play:active { transform: scale(0.98); }
.gx-play.is-off { background: #cfd8d2; color: #5b6f62; box-shadow: none; pointer-events: none; }
.gx-note { margin: 0; font-size: 12.5px; color: var(--ok-muted, #6b7d74); }
/* ADIM 149/N — oyunun kural sayfası bağlantısı (oyun kartının altında) */
.gx-rules { margin-left: 6px; color: #0b6e4f; font-weight: 800; text-decoration: none; white-space: nowrap; }
.gx-rules:hover { text-decoration: underline; }

/* ---------------- Telefon ---------------- */
@media (max-width: 600px) {
  .gx-tabs { gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 16px; }
  .gx-tab { flex-direction: column; gap: 5px; padding: 8px 2px 7px; text-align: center; }
  .gx-tab img { width: 46px; height: 46px; }
  .gx-t { align-items: center; max-width: 100%; }
  .gx-t b { font-size: 13px; max-width: 100%; }
  .gx-t small { font-size: 10px; max-width: 100%; }
  .gx-panel-in { grid-template-columns: 1fr; gap: 16px; }
  .gx-name { font-size: 22px; }
  .gx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-play { width: 100%; }
}

/* ---------------- Oyun sayfası (pages/oyun.php) ---------------- */
html.oyun-html, body.oyun-sayfa { height: 100%; overflow: hidden; }
body.oyun-sayfa {
  margin: 0;
  padding: 0 !important; /* ADIM 146b: install.css'in sayfa boşluğu (40px / 20px / 80px) oyunu daraltmasın — çubuk en üstte, oyun tam ekran */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  background: #062417;
  color: #f3f6f2;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
/* ADIM 179 (17 — dil çubuğu): oyunlar üç dilli — dil seçici oyun çubuğunda (köşedeki sabit seçici oyunun üstünü kapatmasın diye yalnız çubuktaki görünür) */
body.oyun-sayfa .ok-lang-switcher:not(.in-acct) { display: none !important; }
.ob-dil { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.ob-dil:empty { display: none; }
.ob-dil .ok-lang-switcher.in-acct { position: static; box-shadow: none; padding: 3px; }
.ob-dil .ok-lang-switcher.in-acct .ok-lang-opt { padding: 5px 10px; }
.ob-dil .ok-lang-switcher.in-acct.ok-lang-katla:not(.is-open) .ok-lang-opt.active { padding-right: 20px; }
.ob-dil .ok-lang-switcher.in-acct.is-open { position: absolute; top: calc(100% + 6px); right: 0; flex-direction: column; z-index: 40; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
@media (max-width: 420px) {   /* telefonda dil seçici de sığsın: oyunun simgesi gizli (oyunun adı oyunun içinde), seçici sıkı */
  .oyun-bar .ob-ad { display: none; }
  .ob-bakiye { flex-shrink: 0; }
  .ob-dil .ok-lang-switcher.in-acct { padding: 2px; }
  .ob-dil .ok-lang-switcher.in-acct .ok-lang-opt { padding: 5px 8px; }
  .ob-dil .ok-lang-switcher.in-acct.ok-lang-katla:not(.is-open) .ok-lang-opt.active { padding-right: 18px; }
}
@media (max-width: 380px) { .oyun-bar .ob-yukle .oby-kisa { display: none; } .oyun-bar .ob-yukle { padding: 0 10px; } }   /* çok dar ekranda "Yükle" yalnız simge (aşağıdaki 420 px kuralından güçlü) */
body.sahte-tam .ob-dil, :fullscreen .ob-dil { display: none; }
.oyun-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px;
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  background: linear-gradient(180deg, #0c3d29, #072a1c);
  border-bottom: 1px solid rgba(212, 165, 55, 0.45);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ob-lobi {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 55, 0.55);
  color: #f2d27a;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.25);
}
.ob-lobi:hover { color: #ffe7a8; background: rgba(0, 0, 0, 0.35); }
.ob-ad { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 800; color: #f3f6f2; overflow: hidden; }
.ob-ad img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.2); }
.ob-ad span { overflow: hidden; text-overflow: ellipsis; }
.ob-sag { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.ob-bakiye {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 165, 55, 0.35);
  color: #f2d27a;
  font-weight: 800;
}
/* ADIM 147 — canlı bakiye: bakiye oyunun dışından değişince (para yükleme onayı, yönetici…) lobideki gibi kısa süre yeşil yanar */
@keyframes ob-flas {
  0%   { color: #4ade80; border-color: rgba(74, 222, 128, 0.95); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35); transform: scale(1.08); }
  100% { color: #f2d27a; border-color: rgba(212, 165, 55, 0.35); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); transform: scale(1); }
}
.ob-bakiye.ob-flas { animation: ob-flas 1.1s ease-out 2; }
.ob-yukle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d474, #cf9f33);
  color: #1f2a1e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.ob-yukle:hover { filter: brightness(1.05); }
.ob-yukle .oby-kisa { display: none; }
.oyun-cerceve { flex: 1 1 auto; display: block; width: 100%; min-height: 0; border: 0; background: #083822; }
.oyun-bekle {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #f2d27a;
  font-weight: 700;
  transition: opacity 0.25s ease;
}
.oyun-bekle.gizli { opacity: 0; }
/* ADIM 146b: oyun çerçevesi boş açılırsa (sunucu hatası) boş ekran yerine açıklama + "Yeniden dene" */
.oyun-hata {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(47px + env(safe-area-inset-top, 0px));
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: #062417;
}
.oyun-hata[hidden] { display: none !important; }
.oyun-hata p { margin: 0; max-width: 420px; font-size: 16px; font-weight: 700; line-height: 1.5; color: #f3f6f2; }
.oh-dugmeler { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.oh-tekrar, .oh-lobi {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.oh-tekrar { border: 0; background: linear-gradient(180deg, #f3d474, #cf9f33); color: #1f2a1e; }
.oh-lobi { border: 1px solid rgba(212, 165, 55, 0.55); background: rgba(0, 0, 0, 0.25); color: #f2d27a; }
@media (max-height: 520px) { .oyun-hata { top: 0; } }
@media (max-width: 420px) {
  .oyun-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .ob-lobi { padding: 0 10px; }
  .ob-ad span { display: none; }
  .ob-yukle .oby-yazi { display: none; }
  .ob-yukle .oby-kisa { display: inline; }
  .ob-yukle { padding: 0 11px; }
}
/* Yatay telefon (kısa ekran): çubuk gizlenir, oyun bütün ekranı kullanır — "Lobiye dön" oyunun kendi menüsünde */
@media (max-height: 520px) {
  .oyun-bar { display: none; }
}

/* Sekme değişince lobinin kartı ve telefondaki alt çubuk (101 Okey'e özel) gizlenir — kendi display kuralları hidden'ı ezmesin */
#lobbyMainCard[hidden], .qs-dock[hidden] { display: none !important; }
body.oyun-sayfa .ok-site-footer { display: none; } /* site imzası oyunun altında yer kaplamasın (lobide görünür) */

/* ---------------- ADIM 147: lobide "Oyuna dön" şeridi (başka sekmede açık / süren oyun) ---------------- */
.gx-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(243, 212, 116, 0.14);
  border: 1px solid rgba(212, 165, 55, 0.55);
  color: #f6e3a6;
  font-size: 14px;
  font-weight: 700;
}
.gx-active[hidden] { display: none !important; }
.gx-active-go {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d474, #cf9f33);
  color: #1f2a1e;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .gx-active { font-size: 12.5px; padding: 8px 10px; }
  .gx-active-go { padding: 6px 11px; }
}

/* ---------------- ADIM 147: oyun sayfasında kısa bilgi şeridi (başka oyundan yönlendirme, yönetici önizlemesi) ---------------- */
.oyun-serit {
  position: fixed;
  left: 50%;
  top: calc(54px + env(safe-area-inset-top, 0px));
  z-index: 7;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 24px));
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(10, 34, 23, 0.94);
  border: 1px solid rgba(212, 165, 55, 0.6);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  color: #f6e3a6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.oyun-serit.gizli { opacity: 0; }
@media (max-height: 520px) { .oyun-serit { top: 8px; } }

/* ---------------- ADIM 147: Para Geçmişi — oyun bazında özet + süzgeç ---------------- */
.hist-gm { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 2px 0 10px; }
.hist-gm[hidden] { display: none !important; }
.hist-gm-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #d5e1d8;
  background: #f4f8f3;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hist-gm-card:hover { border-color: #b9cfc0; }
.hist-gm-card img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.hgc-t { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "s v"; align-items: center; column-gap: 8px; flex: 1; min-width: 0; line-height: 1.25; }
.hgc-n { grid-area: n; font-size: 13px; font-weight: 800; color: #1d3b2c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hgc-t > b { grid-area: v; font-size: 17px; font-weight: 900; white-space: nowrap; }
.hgc-t > small { grid-area: s; }
.hgc-t b.pos { color: #0b7a4b; }
.hgc-t b.neg { color: #b3261e; }
.hgc-t small { font-size: 10.5px; color: #6b7d74; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hgc-t small b { font-size: inherit; font-weight: 800; color: #3c5246; }
.hist-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.hist-filter button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d5e1d8;
  background: #fff;
  color: #3c5246;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.hist-filter button.is-on { background: linear-gradient(180deg, #f3d474, #cf9f33); border-color: #cf9f33; color: #1f2a1e; }
@media (max-width: 520px) {
  .hist-gm-card { padding: 6px 9px; }
}

/* ADIM 167 — KULLANICI: "bazı telefonlarda büyütülmesine rağmen bazı butonlar ekrana sığmıyor, özellikle iPhone'da" (tam ekran / normal ekran).
   Sayfa yüksekliği görünen alandan (--app-h: Safari'nin adres / sekme çubukları hariç; eski iOS'ta 100vh çubukların arkasını da sayıyordu),
   ev çubuğu ve çentik payı (safe-area), tam ekran API'si olmayan telefonda (iPhone) site çubuğunu gizleyen tam ekran düğmesi. */
body.oyun-sayfa { min-height: 0; height: var(--app-h, 100dvh); box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important; padding-left: env(safe-area-inset-left, 0px) !important; padding-right: env(safe-area-inset-right, 0px) !important; }
.ob-tam { display: none; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(212, 165, 55, 0.55); background: rgba(0, 0, 0, 0.25); color: #f2d27a; cursor: pointer; padding: 0; place-items: center; }
html.tam-yok .ob-tam { display: inline-grid; }
.ob-tam-cik { display: none; position: fixed; z-index: 30; top: calc(6px + env(safe-area-inset-top, 0px)); right: calc(6px + env(safe-area-inset-right, 0px)); width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(212, 165, 55, 0.6); background: rgba(0, 0, 0, 0.55); color: #f2d27a; place-items: center; padding: 0; cursor: pointer; opacity: .85; }
body.sahte-tam .oyun-bar { display: none; }
body.sahte-tam .ob-tam-cik { display: grid; }

/* ADIM 167/N — Para Geçmişi: oyun özeti tek satır (açılır-kapanır), oyunlar alt alta; süzgeçte seçili oyun çipi */
.hist-gm { display: block; margin: 2px 0 8px; }
.hist-gm-bas { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid #d5e1d8; background: #f4f8f3; font: inherit; cursor: pointer; text-align: left; }
.hist-gm-bas .hgb-ad { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; color: #1d3b2c; display: flex; align-items: baseline; gap: 8px; }
.hist-gm-bas .hgb-ad small { font-size: 12px; font-weight: 700; color: #6b7d74; }
.hist-gm-bas > b { font-size: 16px; font-weight: 900; white-space: nowrap; }
.hist-gm-bas > b.pos { color: #0b7a4b; } .hist-gm-bas > b.neg { color: #b3261e; }
.hist-gm-bas .hgb-ok { font-style: normal; color: #6b7d74; transition: transform .2s; }
.hist-gm.acik .hist-gm-bas .hgb-ok { transform: rotate(180deg); }
.hist-gm-liste { display: grid; grid-template-columns: 1fr; gap: 5px; margin-top: 6px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.hist-gm-liste[hidden] { display: none !important; }
.hist-gm-liste .hist-gm-card { padding: 6px 9px; }
.hist-gm-liste .hist-gm-card img { width: 28px; height: 28px; }
.hist-filter .hist-f-oyun { background: #1d3b2c; border-color: #1d3b2c; color: #fff; }
.hist-filter .hist-f-oyun[hidden] { display: none; }

/* ADIM 168 — KULLANICI: "iddaa pasife alınca lobide oyunlar iki satır oldu". KÖK NEDEN: 4+ oyunun kaydırmalı sekme kuralları yalnız
   İddaa'nın CSS'inde (oyunlar/iddaa/assets/iddaa.css) tanımlıydı; İddaa kapalıyken o dosya yüklenmediği için sekmeler 3 sütunlu
   gride düşüyordu. Kurallar buraya da kopyalandı (iki yerde aynı — çakışmaz). */
/* ---------------- lobideki sekme (4 oyun: dar ekranda kaydırma) ---------------- */
.gx-tabs.gx-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gx-tab .gx-yeni { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 999px; background: #d63a2f; color: #fff; vertical-align: 2px; }
.gx-tab.is-active .gx-yeni { background: #1f2a1e; color: #f3d474; }
.gx-tab small .gx-canli { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4e; margin-right: 4px; vertical-align: 1px; }
.gx-kaydir { display: none; text-align: center; font-size: 11px; color: #b9cbbd; font-weight: 700; margin: -12px 0 10px; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .gx-tabs.gx-4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .gx-tabs.gx-4.son { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
  .gx-tabs.gx-4::-webkit-scrollbar { display: none; }
  .gx-tabs.gx-4 .gx-tab { flex: 0 0 31%; scroll-snap-align: start; }
}
/* ---------------- ADIM 159 — lobi oyun sekmeleri: "‹ kaydır ›" yazısı yerine kenar okları (görsel A) ---------------- */
.gx-tabs-kap { position: relative; margin: 0 0 18px; }
.gx-tabs-kap > .gx-tabs { margin: 0; }
.gx-ok { display: none; position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.96); color: #0b6e4f; box-shadow: 0 4px 14px rgba(0,0,0,.4); cursor: pointer; place-items: center; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, opacity .15s ease; }
.gx-ok svg { display: block; }
.gx-ok.sol { left: -6px; } .gx-ok.sag { right: -6px; }
.gx-ok:active { transform: scale(.92); }
.gx-ok[hidden] { display: none !important; }
.gx-tabs-kap.kayar .gx-ok { display: grid; }
@media (max-width: 760px) {
  .gx-tabs.gx-4.orta { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
}
@media (max-width: 600px) { .gx-tabs-kap { margin: 0 0 14px; } }
/* ADIM 168: oyun sayısına göre TEK SATIR (geniş ekran) — 5 ve 6 oyun da alt alta düşmez; dar ekranda yukarıdaki kaydırma */
.gx-tabs.gx-4[data-adet="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gx-tabs.gx-4[data-adet="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gx-tabs.gx-4[data-adet="7"] { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gx-tabs.gx-4[data-adet="8"] { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) { .gx-tabs.gx-4[data-adet="6"] .gx-tab, .gx-tabs.gx-4[data-adet="7"] .gx-tab, .gx-tabs.gx-4[data-adet="8"] .gx-tab { gap: 8px; padding: 8px 6px; } .gx-tabs.gx-4[data-adet] .gx-tab small { font-size: 11px; } }
@media (max-width: 900px) { .gx-tabs.gx-4[data-adet="5"], .gx-tabs.gx-4[data-adet="6"], .gx-tabs.gx-4[data-adet="7"], .gx-tabs.gx-4[data-adet="8"] { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; } .gx-tabs.gx-4[data-adet] .gx-tab { flex: 0 0 31%; } }

/* ADIM 177 — "Ana Sayfa" düğmesi (üye lobisi üst çubuğu, misafir lobisi, oyun ekranının üst çubuğu) + lobide logo bağlantısı */
.ok-ana-dugme { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 800; font-size: 13.5px; text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
.ok-ana-dugme:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .ok-ana-dugme:hover { background: rgba(255,255,255,.22); } }
.ok-ana-dugme svg { flex: 0 0 18px; }
.oyun-bar .ok-ana-dugme { height: 32px; padding: 0 11px; font-size: 13px; margin-left: 4px; }
a.lobi-marka, a.lobi-marka:visited { color: #f4f1e8; text-decoration: none; }   /* .brand'ın kendi rengi (bağlantı rengini almasın) */
a.lobi-marka:focus-visible { outline: 2px solid #f3c75a; outline-offset: 4px; border-radius: 12px; }
@media (max-width: 760px) { .ok-ana-dugme { width: 38px; padding: 0; justify-content: center; } .ok-ana-dugme .oad-yazi { display: none; }
  .oyun-bar .ok-ana-dugme { width: 32px; padding: 0; } }

/* ADIM 178 (21 maddelik liste, 3) — Altın 777 çanak sayacı lobide (sekme alt yazısı + panel): altın renk, sabit genişlikli rakamlar (sayılar artarken titremez) */
.gx-canak { color: #f3c75a; font-weight: 800; font-variant-numeric: tabular-nums; }
.gx-tab.is-active .gx-canak { color: #6b4500; }
.gx-hero-live [data-canak], .gx-fact [data-canak] { font-variant-numeric: tabular-nums; }
