/* v232.2 — gerçek mobile-first üye paneli */
.member-mobile-summary-v2322,.member-defi-hub-v2322,.member-language-setting-v2322{display:none}
@media(max-width:820px){
  :root{--member-nav-h:72px;--member-header-h:54px;--member-safe-bottom:env(safe-area-inset-bottom)}
  html{scroll-padding-top:116px}
  body.admin-body{padding-bottom:calc(var(--member-nav-h) + var(--member-safe-bottom) + 22px)!important;background:#f3f6f4!important}
  .admin-header{position:sticky!important;top:0!important;z-index:700!important;min-height:54px!important}
  .admin-header .nav-wrap{min-height:54px!important;padding:5px 10px!important}
  .admin-header .brand img{width:34px!important;height:34px!important}.admin-header .brand span{font-size:12px!important}
  .admin-header .site-updates-member-btn,#memberMobileQuickActionsV114,.member-section-tabs-v112,#memberPageTitleV112,.member-mobile-back-v2320{display:none!important}
  #silifkeLanguageSwitch{display:none!important}
  .admin-main{padding:7px 0 0!important}.account-shell{padding:0 10px!important}.account-grid.v112-router-active{display:block!important}
  .account-grid.v112-router-active>[data-member-view]:not(.v112-route-hidden){margin-bottom:10px!important}
  .admin-card{border-radius:18px!important;border:1px solid rgba(23,76,58,.08)!important;box-shadow:0 5px 18px rgba(23,60,48,.06)!important}

  /* Uygulama üst çubuğu */
  .member-mobile-appbar-v2322{position:sticky;top:54px;z-index:610;display:flex;align-items:center;gap:10px;height:52px;margin:0 -10px 8px;padding:5px 10px;background:rgba(243,246,244,.96);border-bottom:1px solid rgba(23,76,58,.10);backdrop-filter:blur(14px)}
  .member-mobile-appbar-v2322[hidden]{display:none!important}.member-mobile-appbar-v2322>button{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:13px;background:#fff;color:#174c3a;font-size:24px;font-weight:900;box-shadow:0 3px 12px rgba(20,55,43,.08)}
  .member-mobile-appbar-v2322 .appbar-copy{min-width:0;display:flex;flex-direction:column}.member-mobile-appbar-v2322 strong{font-size:14px;color:#173c30;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-mobile-appbar-v2322 small{font-size:10px;color:#718079}

  /* Ana ekran */
  #memberDashboardV112{padding:14px!important;border:0!important}.member-dashboard-head-v112{margin-bottom:10px!important}.member-dashboard-head-v112 .eyebrow{font-size:9px!important}.member-dashboard-head-v112 h2{font-size:23px!important;margin:2px 0!important}.member-dashboard-head-v112 p{font-size:12px!important;margin:0!important}.member-dashboard-status-v112{display:none!important}
  .member-mobile-summary-v2322{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:11px 0}.member-mobile-summary-v2322>div,.member-mobile-summary-v2322>button{min-width:0;padding:11px;border:1px solid #dce7e1;border-radius:15px;background:#f9fbfa;text-align:left}.member-mobile-summary-v2322>button{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;color:inherit}.member-mobile-summary-v2322 small{display:block;color:#73837b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.member-mobile-summary-v2322 strong{display:block;margin-top:3px;color:#174c3a;font-size:17px}.member-mobile-summary-v2322>button strong{font-size:12px;margin:0;text-align:right}
  .member-next-action-v194{display:grid!important;grid-template-columns:42px 1fr;gap:9px!important;padding:12px!important;border-radius:16px!important;margin:10px 0!important}.member-next-action-v194[hidden]{display:none!important}.member-next-action-go-v194{grid-column:1/-1;width:100%!important;min-height:46px!important}
  .defi-daily-results-v171{order:5;margin:12px 0!important}.member-dashboard-cards-v112{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:9px!important}.member-dashboard-card-v112{min-height:105px!important;padding:12px!important;border-radius:16px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:7px!important}.member-dashboard-icon-v112{width:38px!important;height:38px!important;flex-basis:38px!important}.member-dashboard-card-v112 strong{font-size:12px!important;line-height:1.25!important}.member-dashboard-card-v112 em{display:none!important}.member-dashboard-shortcuts-v112{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}.member-dashboard-shortcuts-v112>*{min-height:44px!important}

  /* DeFi: önce merkez, sonra mevcut ayrıntılar */
  .member-defi-hub-v2322{display:block!important;padding:14px!important;margin-bottom:10px!important}.member-defi-hub-v2322 h2{margin:2px 0 4px!important;font-size:21px}.member-defi-hub-v2322 p{margin:0 0 11px;color:#687a72;font-size:12px}.member-defi-actions-v2322{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.member-defi-actions-v2322 button,.member-defi-actions-v2322 a{display:flex;align-items:center;gap:8px;min-height:58px;padding:10px;border:1px solid #dbe6e0;border-radius:15px;background:#fff;color:#173c30;text-decoration:none;font-size:12px;font-weight:850;text-align:left}.member-defi-actions-v2322 span{font-size:20px}.member-defi-actions-v2322 .wide{grid-column:1/-1;justify-content:center;background:#174c3a;color:#fff;border-color:#174c3a}
  #defiLeagueCard{margin-top:0!important}.defi-member-heading h2{font-size:19px!important}
  [data-member-view="defi"] button,[data-member-view="turnuva"] button,[data-member-view="bildirim"] button,[data-member-view="profil"] button{min-height:44px}
  [data-member-view="defi"] input,[data-member-view="defi"] select,[data-member-view="turnuva"] input,[data-member-view="turnuva"] select,[data-member-view="profil"] input,[data-member-view="profil"] select{min-height:44px;font-size:16px!important}

  /* Profil ayarları / dil */
  .member-language-setting-v2322{display:block!important;padding:12px;border:1px solid #dce7e1;border-radius:16px;background:#f9fbfa}.member-language-setting-v2322>div:first-child{display:flex;align-items:center;gap:10px}.member-language-setting-v2322>div:first-child>span{font-size:24px}.member-language-setting-v2322 p{margin:0}.member-language-setting-v2322 p strong,.member-language-setting-v2322 p small{display:block}.member-language-setting-v2322 p small{margin-top:2px;color:#74847d;font-size:11px}.member-language-buttons-v2322{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:11px}.member-language-buttons-v2322 button{border:1px solid #d7e3dd;border-radius:13px;background:#fff;color:#173c30;font-weight:850}.member-language-buttons-v2322 button.is-active{background:#174c3a;color:#fff;border-color:#174c3a}

  /* Sabit 5 sekme */
  .member-bottom-nav-v112.member-bottom-nav-v190{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:900!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;min-height:var(--member-nav-h)!important;padding:5px 4px calc(5px + var(--member-safe-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #dce5e0!important;box-shadow:0 -8px 24px rgba(20,55,43,.12)!important}.member-bottom-nav-v112 button{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;min-height:56px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#73817b!important}.member-bottom-nav-v112 button>span{font-size:21px!important}.member-bottom-nav-v112 button>small{font-size:9px!important;font-weight:900!important;white-space:nowrap}.member-bottom-nav-v112 button.is-active{background:#e8f2ed!important;color:#174c3a!important}.member-back-to-top-v114{bottom:calc(var(--member-nav-h) + var(--member-safe-bottom) + 8px)!important}

  /* Sabit alt nav nedeniyle modal/işlem butonları asla altta kalmasın */
  .defi-accept-modal-card,.player-modal-card,.member-logout-dialog-v122{max-height:calc(100dvh - var(--member-nav-h) - 24px)!important;margin-bottom:calc(var(--member-nav-h) + 6px)!important;overflow:auto!important}
  .defi-accept-modal-actions{position:sticky!important;bottom:0!important;z-index:5!important;background:inherit!important;padding-bottom:8px!important}

  [data-theme="dark"] body.admin-body{background:#0f1f19!important}[data-theme="dark"] .member-mobile-appbar-v2322{background:rgba(15,31,25,.96);border-color:#2d473d}[data-theme="dark"] .member-mobile-appbar-v2322>button,[data-theme="dark"] .member-defi-actions-v2322 button,[data-theme="dark"] .member-defi-actions-v2322 a,[data-theme="dark"] .member-language-buttons-v2322 button{background:#17352b;color:#f4f7f5;border-color:#355448}[data-theme="dark"] .member-mobile-appbar-v2322 strong{color:#f5f7f6}[data-theme="dark"] .member-mobile-appbar-v2322 small,[data-theme="dark"] .member-defi-hub-v2322 p{color:#aebdb6}[data-theme="dark"] .member-mobile-summary-v2322>div,[data-theme="dark"] .member-mobile-summary-v2322>button,[data-theme="dark"] .member-language-setting-v2322{background:#142a22;border-color:#304b40;color:#eef4f1}[data-theme="dark"] .member-mobile-summary-v2322 strong{color:#fff}[data-theme="dark"] .member-bottom-nav-v112.member-bottom-nav-v190{background:rgba(17,34,28,.98)!important;border-color:#2d473d!important}[data-theme="dark"] .member-bottom-nav-v112 button{color:#aebdb6!important}[data-theme="dark"] .member-bottom-nav-v112 button.is-active{background:#214638!important;color:#fff!important}[data-theme="dark"] .member-language-buttons-v2322 button.is-active,[data-theme="dark"] .member-defi-actions-v2322 .wide{background:#2f8b68!important;color:#fff!important;border-color:#2f8b68!important}
}
@media(min-width:821px){.member-preferences-v2322{display:none!important}}

/* v233.2 — Mobil ana panel: Organizasyonlar ana ekranda gösterilmez.
   Organizasyon verisi/fonksiyonu silinmez; yalnız ana paneldeki tekrar kaldırılır. */
@media (max-width: 768px){
  body[data-member-section="home"] #memberOrganizations,
  body[data-member-section="home"] #organizationsSection,
  body[data-member-section="home"] [data-member-home="organizations"],
  body[data-member-section="home"] .member-organizations,
  body[data-member-section="home"] .organizations-card,
  body[data-member-section="home"] .organization-card { display:none !important; }
}

/* v233.3 language is managed only from Profile on mobile and desktop */
#silifkeLanguageSwitch,.silifke-lang-switch,.language-switch-floating,.language-floating{display:none!important}
.member-preferences-v2322 .member-language-setting-v2322{display:block!important}
.member-language-buttons-v2322{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
.member-language-buttons-v2322 button{min-height:46px}
@media(max-width:420px){.member-language-buttons-v2322{grid-template-columns:1fr!important}}
/* Home is an overview, not an organizations management screen */
[data-member-view="panel"] a[href="/#organizasyonlar"]{display:none!important}

#silifkeLanguageSwitch,.silifke-lang-switch,.language-switch-floating,.language-floating{display:none!important;visibility:hidden!important;pointer-events:none!important}
.member-language-desktop-v2334{display:block}
.member-language-desktop-v2334 .member-language-buttons-v2322{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
.member-language-buttons-v2322 [data-profile-lang].is-active{outline:2px solid currentColor;outline-offset:2px;font-weight:900}
@media(max-width:700px){.member-language-desktop-v2334 .member-language-buttons-v2322{grid-template-columns:1fr!important}}

/* v233.5 permanent mobile cleanup */
#memberMobileQuickActionsV114,.member-section-tabs-v112,#silifkeLanguageSwitch,.silifke-lang-switch{display:none!important}
.admin-header .member-site-home-v2335{display:inline-flex!important;align-items:center;gap:5px;white-space:nowrap}
.member-language-desktop-v2334{display:block!important}
@media(max-width:820px){.admin-header .member-site-home-v2335{font-size:0!important;min-width:40px!important;width:40px!important;height:40px!important;justify-content:center!important;padding:0!important;border-radius:12px!important}.admin-header .member-site-home-v2335::first-letter{font-size:18px}.admin-header .member-site-home-v2335 span{display:none!important}}

/* v234.43 - Kort rezervasyonu artık aktif üye rotasıdır */
#memberCourtTestV201[hidden]{display:none!important}
body[data-member-view="kort"] #memberCourtTestV201:not([hidden]){
  display:block!important;
  visibility:visible!important;
}
