/* OTOMATIK OLUSTURULDU - elle duzenleme. Kaynak: tools/css-bundles.json, komut: python3 tools/build-css-bundles.py */
/* ==== member-profile-photo-v116.css ==== */
/* V115 - Profil fotoğrafı + aktif Defi rakip fotoğrafı */
.member-profile-photo-card-v115{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:20px;
  align-items:center;
  margin:18px 0 24px;
  padding:18px;
  border:1px solid rgba(23,76,58,.16);
  border-radius:24px;
  background:linear-gradient(145deg,#fbfaf5,#f2f7f3);
}
.member-profile-photo-preview-v115{
  width:124px;height:124px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;background:#e7eee9;
  border:4px solid #fff;box-shadow:0 8px 28px rgba(18,55,44,.14);
  color:#174c3a;font-size:42px;font-weight:900;
}
.member-profile-photo-preview-v115 img{width:100%;height:100%;object-fit:cover;display:block}
.member-profile-photo-copy-v115{min-width:0;display:grid;gap:12px}
.member-profile-photo-copy-v115 h3{margin:0 0 5px;font-size:20px;color:#17211e}
.member-profile-photo-copy-v115 h3 span{font-size:13px;font-weight:700;color:#748078}
.member-profile-photo-copy-v115 p{margin:0;color:#657169;line-height:1.5}
.member-profile-photo-copy-v115>small{color:#7c857f}
.member-profile-photo-actions-v115{display:flex;flex-wrap:wrap;gap:9px}
.member-profile-photo-actions-v115 .btn{margin:0}

.defi-opponent-identity-v115{
  display:flex;align-items:center;gap:14px;margin:12px 0 14px;padding:13px 14px;
  border-radius:20px;background:rgba(255,255,255,.72);border:1px solid rgba(23,76,58,.14);
}
.defi-opponent-avatar-v115{
  width:64px;height:64px;border-radius:50%;overflow:hidden;flex:0 0 64px;
  display:grid;place-items:center;background:#174c3a;color:#fff;font-weight:900;font-size:20px;
  border:3px solid #fff;box-shadow:0 5px 18px rgba(18,55,44,.16)
}
.defi-opponent-avatar-v115 img{width:100%;height:100%;object-fit:cover;display:block}
.defi-opponent-identity-v115>div:last-child{display:grid;gap:2px;min-width:0}
.defi-opponent-identity-v115 span{font-size:11px;letter-spacing:.12em;font-weight:900;color:#b35d34}
.defi-opponent-identity-v115 strong{font-size:18px;line-height:1.2;overflow-wrap:anywhere}
.defi-opponent-identity-v115 small{color:#6f7973}

@media(max-width:720px){
  .member-profile-photo-card-v115{grid-template-columns:1fr;text-align:center;padding:16px}
  .member-profile-photo-preview-v115{width:112px;height:112px;margin:0 auto}
  .member-profile-photo-actions-v115{justify-content:center}
  .member-profile-photo-actions-v115 .btn{width:100%;justify-content:center}
  .defi-opponent-identity-v115{align-items:center}
}


/* V116 - profil fotoğrafı görünürlük seçimi */
.member-photo-visibility-v116{margin:2px 0 0;padding:0;border:0;display:grid;gap:9px}
.member-photo-visibility-v116 legend{font-size:13px;font-weight:900;color:#33433d;margin-bottom:2px}
.member-photo-visibility-option-v116{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid rgba(23,76,58,.14);border-radius:15px;background:rgba(255,255,255,.76);cursor:pointer;text-align:left}
.member-photo-visibility-option-v116:has(input:checked){border-color:#1f6c54;background:#edf7f2;box-shadow:0 0 0 2px rgba(31,108,84,.08)}
.member-photo-visibility-option-v116 input{width:19px;height:19px;flex:0 0 19px;margin:2px 0 0;accent-color:#174c3a}
.member-photo-visibility-option-v116 span{display:grid;gap:2px;min-width:0}
.member-photo-visibility-option-v116 strong{font-size:14px;color:#17211e}
.member-photo-visibility-option-v116 small{font-size:12px;line-height:1.35;color:#6d7871}
.member-photo-visibility-save-v116{justify-self:start;margin-top:2px!important}
.player-modal .avatar.has-photo-v116{overflow:hidden;padding:0;background:#e7eee9}
.player-modal .avatar.has-photo-v116 img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:720px){.member-photo-visibility-save-v116{width:100%;justify-content:center}}

.member-profile-photo-preview-v115.has-photo-v118,.defi-opponent-avatar-v115.has-photo-v118{cursor:zoom-in}
.member-profile-photo-preview-v115.has-photo-v118 img,.defi-opponent-avatar-v115.has-photo-v118 img{display:block}

/* ayirici */{}
/* ==== tools/css-kaynak/ana-1-satir-ici-1.css ==== */
/* index.html icinden tasindi (eskiden satir ici <style>) */

    /* Organizasyon & turnuva boş durumlarını daha ilgi çekici yap */
    #organizasyonlar.section,
    #turnuvalar.section {
      padding-top: 34px;
      padding-bottom: 34px;
    }

    #organizasyonlar .section-title,
    #turnuvalar .section-title {
      margin-bottom: 18px;
      align-items: flex-end;
      gap: 12px;
    }

    #organizasyonlar .section-title p,
    #turnuvalar .section-title p {
      max-width: 460px;
    }

    #turnuvalar {
      margin-top: -6px;
    }

    .interest-empty-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .interest-empty-card {
      position: relative;
      overflow: hidden;
      min-height: 220px;
      padding: 26px;
      border-radius: 26px;
      border: 1px solid rgba(64, 122, 120, 0.22);
      background: linear-gradient(135deg, rgba(10, 21, 38, 0.98) 0%, rgba(12, 40, 66, 0.96) 65%, rgba(18, 79, 95, 0.92) 100%);
      box-shadow: 0 18px 45px rgba(6, 14, 28, 0.22);
      color: #f6fbff;
      display: flex;
      gap: 22px;
      align-items: center;
    }

    .interest-empty-card::before {
      content: '';
      position: absolute;
      inset: auto -40px -60px auto;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(31, 228, 194, 0.22) 0%, rgba(31, 228, 194, 0) 70%);
      pointer-events: none;
    }

    .interest-empty-card::after {
      content: '';
      position: absolute;
      top: -50px;
      right: -20px;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 191, 73, 0.20) 0%, rgba(255, 191, 73, 0) 72%);
      pointer-events: none;
    }

    .interest-visual {
      width: 108px;
      min-width: 108px;
      height: 108px;
      border-radius: 28px;
      display: grid;
      place-items: center;
      font-size: 52px;
      line-height: 1;
      background: linear-gradient(145deg, rgba(31, 228, 194, 0.28), rgba(22, 151, 240, 0.18));
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 25px rgba(0,0,0,0.16);
    }

    .interest-empty-card.tournament-card .interest-visual {
      background: linear-gradient(145deg, rgba(255, 167, 38, 0.28), rgba(187, 66, 255, 0.18));
    }

    .interest-content {
      position: relative;
      z-index: 1;
      flex: 1;
    }

    .interest-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      margin-bottom: 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: #83ffe0;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
    }

    .interest-content h3 {
      margin: 0 0 8px;
      font-size: 30px;
      line-height: 1.15;
      color: #ffffff;
    }

    .interest-content p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color: rgba(236, 244, 255, 0.84);
    }

    .interest-mini-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .interest-mini-list span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 13px;
      border-radius: 14px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.10);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
    }

    .interest-status-note {
      margin-top: 16px;
      font-size: 13px;
      color: #8be6db;
      font-weight: 700;
    }

    .tournament-empty-state.sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* V192: Masaüstünde Turnuva / Organizasyon alanlarını kompaktlaştır */
    @media (min-width: 901px) {
      #turnuvalar.section,
      #organizasyonlar.section {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
      }

      #turnuvalar {
        margin-top: 0 !important;
      }

      #turnuvalar .section-title,
      #organizasyonlar .section-title {
        margin-bottom: 10px !important;
      }

      #organizasyonlar {
        margin-top: 0 !important;
      }

      .whatsapp-final-section {
        padding-top: 20px !important;
        padding-bottom: 24px !important;
      }

      #organizasyonlar + .whatsapp-final-section {
        margin-top: 0 !important;
      }
    }

    @media (max-width: 900px) {
      .interest-empty-grid {
        grid-template-columns: 1fr;
      }

      .interest-empty-card {
        min-height: unset;
      }
    }

    @media (max-width: 640px) {
      #organizasyonlar.section,
      #turnuvalar.section {
        padding-top: 22px;
        padding-bottom: 22px;
      }

      #turnuvalar {
        margin-top: -14px;
      }

      #organizasyonlar .section-title,
      #turnuvalar .section-title {
        margin-bottom: 14px;
      }

      .interest-empty-card {
        padding: 18px;
        border-radius: 20px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
      }

      .interest-visual {
        width: 82px;
        min-width: 82px;
        height: 82px;
        border-radius: 22px;
        font-size: 40px;
      }

      .interest-content h3 {
        font-size: 23px;
      }

      .interest-content p {
        font-size: 14px;
      }

      .interest-mini-list {
        gap: 8px;
      }

      .interest-mini-list span {
        width: 100%;
        justify-content: flex-start;
        font-size: 12px;
      }

      /* V199: Mobil Turnuva / Organizasyon alanlari daha kompakt */
      #turnuvalar.section,
      #organizasyonlar.section {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
      }
      #turnuvalar { margin-top: -6px !important; }
      #turnuvalar .section-title,
      #organizasyonlar .section-title { margin-bottom: 7px !important; }
      #turnuvalar .section-title h2,
      #organizasyonlar .section-title h2 { font-size: 21px !important; margin-top: 2px !important; }
      #organizasyonlar .section-title > p { font-size: 12px !important; line-height: 1.3 !important; margin-top: 4px !important; }
      #turnuvalar .interest-empty-card,
      #organizasyonlar .interest-empty-card {
        padding: 10px 12px !important;
        border-radius: 15px !important;
        gap: 9px !important;
        flex-direction: row !important;
        align-items: center !important;
      }
      #turnuvalar .interest-visual,
      #organizasyonlar .interest-visual {
        width: 48px !important; min-width: 48px !important; height: 48px !important;
        border-radius: 14px !important; font-size: 25px !important;
      }
      #turnuvalar .interest-tag,
      #organizasyonlar .interest-tag { font-size: 9px !important; }
      #turnuvalar .interest-content h3,
      #organizasyonlar .interest-content h3 { font-size: 16px !important; margin: 2px 0 !important; line-height: 1.15 !important; }
      #turnuvalar .interest-content p,
      #organizasyonlar .interest-content p,
      #turnuvalar .interest-mini-list,
      #organizasyonlar .interest-mini-list { display: none !important; }
      #turnuvalar .interest-status-note,
      #organizasyonlar .interest-status-note { margin-top: 4px !important; padding: 5px 8px !important; font-size: 11px !important; }
    }
  

/* ayirici */{}
/* ==== puan-theme.css ==== */
/*
 * SILIFKE SPOR TENIS - PUAN / RANKING GELISTIRME TEMASI
 * Ana projeden görsel olarak kolay ayırt edilmesi için hazırlanmıştır.
 * İşlevsel sınıfları değiştirmez; yalnızca görünümü override eder.
 */
:root{
  --green:#1b63d9;
  --green-dark:#102a56;
  --mint:#ffb229;
  --text:#12213a;
  --muted:#6a7890;
  --line:#dce5f2;
  --paper:#ffffff;
  --soft:#f3f7fc;
  --danger:#b5364a;
}

body{
  background:#f3f7fc;
  color:var(--text);
}

.site-header{
  background:rgba(255,255,255,.96);
  border-bottom:3px solid #1b63d9;
  box-shadow:0 8px 26px rgba(21,50,95,.08);
}

.admin-header{
  background:linear-gradient(110deg,#102a56,#1b63d9 72%,#2878eb);
  border-bottom:0;
  box-shadow:0 8px 26px rgba(16,42,86,.16);
}

.site-header .brand-title strong,
.login-brand strong,
.brand strong{
  color:#1b63d9;
}

.admin-header .brand strong{
  color:#ffca67;
}

.puan-project-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-left:10px;
  padding:5px 9px;
  border-radius:999px;
  background:#fff0ce;
  border:1px solid #ffd078;
  color:#8a5400;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  white-space:nowrap;
  vertical-align:middle;
  box-shadow:0 3px 10px rgba(138,84,0,.08);
}
.puan-project-badge::before{content:"★";font-size:9px}
.admin-header .puan-project-badge{
  background:rgba(255,178,41,.16);
  color:#ffd98e;
  border-color:rgba(255,202,103,.45);
}

.hero{
  background:
    radial-gradient(circle at 85% 20%,rgba(255,178,41,.18),transparent 24%),
    linear-gradient(135deg,#edf4ff,#f9fbff 55%,#fff7e8);
}
.community-hero{
  border-bottom:1px solid #dce5f2;
}
.hero h1 span,
.eyebrow,
.rank,
.match-row strong,
.player-stats strong{
  color:#1b63d9;
}

.btn-primary{
  background:linear-gradient(135deg,#1b63d9,#2878eb);
  border-color:#1b63d9;
  box-shadow:0 9px 20px rgba(27,99,217,.18);
}
.btn-outline{
  color:#1b63d9;
  border-color:#1b63d9;
}

.quick-links{background:#f8fbff}
.quick-card,
.card,
.defi-card,
.admin-card,
.login-card{
  border-color:#dce5f2;
  box-shadow:0 10px 30px rgba(31,63,112,.07);
}
.quick-card{
  border-top:3px solid #7daaf3;
}
.quick-card:nth-child(2n){border-top-color:#ffb229}

.section-dark{
  background:
    radial-gradient(circle at 78% 12%,rgba(255,178,41,.13),transparent 24%),
    linear-gradient(135deg,#0e2449 0%,#153a72 58%,#1b63d9 130%);
}
.section-dark .eyebrow{color:#ffd26f}

.pyramid-player{
  background:#f4f8ff;
  border-color:#d6e2f4;
}
.pyramid-player.leader{
  background:linear-gradient(145deg,#fff4d8,#fffaf0);
  border-color:#ffc75f;
}
.pyramid-rank{
  background:#1b63d9;
}
.pyramid-player.leader .pyramid-rank{
  background:#e59300;
}

.match-row{background:#f5f8fd}
.contact{
  background:linear-gradient(135deg,#102a56,#1b63d9);
}

.login-body{
  background:
    radial-gradient(circle at 15% 10%,rgba(255,178,41,.16),transparent 24%),
    linear-gradient(145deg,#edf4ff,#dceaff);
}
.admin-body{
  background:#eef4fb;
}
.admin-module{
  background:linear-gradient(135deg,#1b63d9,#2878eb);
}
.admin-back{
  border-color:rgba(255,255,255,.28);
}

/* Proje kimliği: sayfanın sağ altında küçük ve sürekli görünür. */
body::after{
  content:"PUAN / RANKING GELİŞTİRME";
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:35;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(16,42,86,.92);
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  pointer-events:none;
  box-shadow:0 8px 24px rgba(16,42,86,.22);
}

[data-theme="dark"] body,
body[data-theme="dark"]{
  background:#0c1729;
}
[data-theme="dark"] .site-header,
body[data-theme="dark"] .site-header{
  background:#101d31;
  border-bottom-color:#3e86ff;
}
[data-theme="dark"] .quick-links,
body[data-theme="dark"] .quick-links{
  background:#0f1b2e;
}

@media (max-width:760px){
  .puan-project-badge{margin-left:6px;padding:4px 7px;font-size:8px}
  body::after{right:10px;bottom:10px;font-size:8px;padding:6px 9px}
  .site-header{border-bottom-width:2px}
}

/* Beta test projesinde tüm sayfalardan hızlı kullanıcı değiştirme ekranına dönüş. */
.beta-float-link{
  position:fixed;left:14px;bottom:14px;z-index:70;display:inline-flex;align-items:center;gap:6px;
  padding:9px 12px;border-radius:999px;background:#ffad29;color:#4e3200!important;
  text-decoration:none!important;font-size:10px;font-weight:950;border:1px solid #ffd074;
  box-shadow:0 8px 24px rgba(90,55,0,.18)
}

/* ayirici */{}
/* ==== club-theme-v13.css ==== */
/*
 * SILIFKE SPOR TENIS - V13 "CLAY CLUB" THEME
 * Full visual redesign only. No application logic is changed.
 */
:root{
  --green:#174c3a;
  --green-dark:#0d2e24;
  --mint:#dfb36a;
  --text:#1f2723;
  --muted:#6f756f;
  --line:#ded8cd;
  --paper:#fffdf9;
  --soft:#f3efe6;
  --danger:#a5453e;
  --clay:#b95735;
  --clay-dark:#8e3d27;
  --cream:#f7f2e8;
  --cream-2:#eee6d8;
  --forest:#174c3a;
  --forest-2:#0d2e24;
  --gold:#d9aa57;
  --ink:#202824;
  --shadow:0 14px 34px rgba(48,42,31,.10);
  --shadow-lg:0 24px 60px rgba(43,37,27,.14);
}

html{background:#f2eee5}
body{
  background:
    radial-gradient(circle at 10% 0%,rgba(185,87,53,.08),transparent 28%),
    radial-gradient(circle at 90% 10%,rgba(23,76,58,.07),transparent 24%),
    #f5f1e8;
  color:var(--ink);
  font-family:"Aptos","Segoe UI",Arial,Helvetica,sans-serif;
}
body::after{display:none!important}

/* Header / navigation */
.site-header{
  background:rgba(255,253,249,.92)!important;
  border-bottom:1px solid rgba(80,71,56,.14)!important;
  box-shadow:0 10px 34px rgba(49,43,34,.07)!important;
  backdrop-filter:blur(16px);
}
.admin-header{
  background:linear-gradient(110deg,#0d2e24 0%,#174c3a 62%,#285f4b 100%)!important;
  border-bottom:0!important;
  box-shadow:0 14px 34px rgba(13,46,36,.22)!important;
}
.nav-wrap{height:78px}
.brand,.brand-title,.login-brand{letter-spacing:-.025em}
.site-logo,.login-logo{filter:drop-shadow(0 5px 9px rgba(33,29,22,.12))}
.site-header .brand-title strong,.login-brand strong,.brand strong{color:var(--clay)!important}
.admin-header .brand strong{color:#f6dca8!important}
.main-nav{gap:10px!important}
.main-nav a,.main-nav button{
  border-radius:999px!important;
  padding:9px 12px!important;
  transition:.18s ease!important;
}
.main-nav a:hover,.main-nav button:hover{background:#eee7da!important;color:#153f31!important}
.admin-header .main-nav a:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}
.menu-btn{color:var(--forest)!important}
.puan-project-badge{
  background:#efe5d5!important;
  color:#7f4b31!important;
  border:1px solid #d8c7ad!important;
  box-shadow:none!important;
}
.puan-project-badge::before{content:"●"!important;color:var(--clay)}
.beta-float-link{background:#174c3a!important;color:#fff!important;border-color:#356a56!important;box-shadow:0 10px 28px rgba(23,76,58,.2)!important}

/* Hero */
.hero,.community-hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(115deg,rgba(255,253,249,.90),rgba(245,238,224,.86)),
    linear-gradient(135deg,#f7f2e8,#eee4d3)!important;
  border-bottom:1px solid #ded6c9!important;
}
.hero::before,.community-hero::before{
  content:"";
  position:absolute;
  width:520px;height:520px;border-radius:50%;
  right:-160px;top:-230px;
  background:radial-gradient(circle,rgba(185,87,53,.18),rgba(185,87,53,0) 68%);
  pointer-events:none;
}
.hero::after,.community-hero::after{
  content:"";
  position:absolute;
  width:360px;height:360px;border-radius:50%;
  left:-150px;bottom:-210px;
  background:radial-gradient(circle,rgba(23,76,58,.16),rgba(23,76,58,0) 68%);
  pointer-events:none;
}
.hero .container,.community-hero .container{position:relative;z-index:1}
.hero h1{color:#17241e!important;letter-spacing:-.055em!important}
.hero h1 span,.eyebrow,.rank,.match-row strong,.player-stats strong{color:var(--clay)!important}
.hero p{color:#5f655f!important}
.eyebrow{letter-spacing:.18em!important}

/* Buttons */
.btn{border-radius:999px!important;min-height:46px!important;padding:0 20px!important;box-shadow:none!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,#174c3a,#285f4b)!important;
  border-color:#174c3a!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(23,76,58,.18)!important;
}
.btn-primary:hover{box-shadow:0 13px 26px rgba(23,76,58,.24)!important}
.btn-outline{background:transparent!important;color:#174c3a!important;border-color:#9cae9f!important}
.btn-light{background:#fffdf9!important;border-color:#d9d1c3!important}
.btn-whatsapp{background:#174c3a!important;border-color:#174c3a!important;color:#fff!important}

/* Main section rhythm */
.section{padding-top:72px!important;padding-bottom:72px!important}
.section-title h2{color:#1e2a24!important;letter-spacing:-.045em!important}
.section-title p{color:#737970!important}
.section-dark{
  background:
    radial-gradient(circle at 75% 0%,rgba(217,170,87,.14),transparent 26%),
    radial-gradient(circle at 10% 100%,rgba(185,87,53,.15),transparent 26%),
    linear-gradient(145deg,#0d2e24,#174c3a 65%,#285f4b)!important;
  color:#fff!important;
}
.section-dark .section-title h2{color:#fff!important}
.section-dark .section-title p{color:#d5e0da!important}
.section-dark .eyebrow{color:#f0c478!important}

/* Quick nav and general cards */
.quick-links{background:#eee8dd!important;border-bottom:1px solid #d9d1c4!important;padding:24px 0!important}
.quick-grid{gap:12px!important}
.quick-card,.card,.defi-card,.admin-card,.login-card,.member-auth-card,.account-shell,.member-participation-card{
  background:#fffdf9!important;
  border:1px solid #ded7ca!important;
  box-shadow:var(--shadow)!important;
}
.quick-card{
  border-radius:20px!important;
  padding:18px!important;
  border-left:4px solid #b95735!important;
  border-top:1px solid #ded7ca!important;
}
.quick-card:nth-child(2n){border-left-color:#174c3a!important;border-top-color:#ded7ca!important}
.quick-card small{color:#787c75!important}
.card,.defi-card,.admin-card{border-radius:22px!important}

/* Pyramid */
.defi-card{overflow:visible!important}
.defi-card-head{border-bottom:1px solid #e3ddd2!important;background:#fbf7ef!important;border-radius:22px 22px 0 0}
.defi-card-head strong{color:#1a2b23!important}
.defi-card-head small{color:#85887f!important}
.defi-pyramid{padding-top:30px!important}
.pyramid-player{
  background:#fffaf1;
  border:1px solid #d9d0bf;
  border-radius:18px!important;
  color:#202824!important;
  box-shadow:0 7px 18px rgba(61,51,35,.07);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.pyramid-player:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(61,51,35,.12);border-color:#bdad94}
.pyramid-player.leader{
  background:linear-gradient(145deg,#fff7df,#f5e8be)!important;
  border-color:#d3a94e!important;
}
.pyramid-rank{background:#174c3a!important;color:#fff!important;box-shadow:0 4px 10px rgba(23,76,58,.22)}
.pyramid-player.leader .pyramid-rank{background:#b95735!important}
.pyramid-player strong{color:#1f2924!important}
.pyramid-player small{color:#7a7d77!important}
/* Existing active-pair colors keep priority because that rule uses !important. */

/* Lists / match cards */
.match-list{gap:10px!important}
.match-row{
  background:#fbf7ef!important;
  border-color:#e1d9ca!important;
  border-radius:16px!important;
}
.match-row strong{color:#174c3a!important}
.public-ladder .row,.admin-standings .row{border-bottom-color:#e7e0d6!important}
.rank{color:#b95735!important}

/* League */
.league-section{background:linear-gradient(180deg,#f2ede3,#e9e2d6)!important;border-color:#d8cfbf!important}
.league-hero-card{
  background:
    radial-gradient(circle at 90% 5%,rgba(217,170,87,.22),transparent 24%),
    linear-gradient(135deg,#0d2e24,#174c3a 68%,#285f4b)!important;
  border-radius:28px!important;
  box-shadow:0 22px 50px rgba(13,46,36,.20)!important;
}
.league-kicker{color:#f0c478!important}
.league-hero-card p{color:#dbe5df!important}
.league-rules-strip{gap:12px!important}
.league-rule{background:#fffdf9!important;border-color:#ded7ca!important;border-radius:18px!important;box-shadow:var(--shadow)!important}
.league-rule strong{color:#b95735!important}
.league-rule small{color:#757a74!important}
.league-board{background:#fffdf9!important;border-color:#ded7ca!important;border-radius:24px!important;box-shadow:var(--shadow-lg)!important}
.league-board-head{border-bottom-color:#e3ddd2!important}
.league-tab{background:#f5efe4!important;border-color:#d8cebd!important;color:#5a625b!important}
.league-tab.active{background:#174c3a!important;border-color:#174c3a!important;color:#fff!important}
.league-table th{background:#f5f0e7!important;color:#736f67!important}
.league-table th,.league-table td{border-bottom-color:#e9e2d8!important}
.league-rank-no{color:#b95735!important}
.league-points{color:#174c3a!important}
.league-label.super{background:#f5e4b9!important;color:#795814!important}
.league-label.l1{background:#e8ded0!important;color:#704c38!important}
.league-label.l2{background:#dfece4!important;color:#275d47!important}
.league-label.l3{background:#ece9e2!important;color:#646862!important}
.player-league-meta{background:#f2ebdf!important;border-color:#ddd0bd!important}
.player-league-badge{background:#174c3a!important}
.player-league-rank{color:#b95735!important}

/* Admin */
.admin-body{background:#eee8dd!important}
.admin-main{padding-top:28px!important}
.admin-tabs{background:#fffdf9!important;border:1px solid #ded7ca!important;box-shadow:var(--shadow)!important;border-radius:18px!important;padding:6px!important}
.admin-tab{border-radius:12px!important}
.admin-tab.active{background:#174c3a!important;color:#fff!important}
.admin-module{background:linear-gradient(135deg,#174c3a,#285f4b)!important}
.admin-card-title-row strong,.admin-title h1,.admin-title h2{color:#1f2c25!important}
.league-admin-card{border:1px solid #d7c8b4!important;background:#fffaf1!important}
.league-admin-task{background:#f6e7c7!important;border-color:#dfbd79!important;color:#6f511e!important}
.league-manual-help{background:#eee7da!important;border-color:#d7cbb9!important;color:#626960!important}
.league-admin-player-head{border-top-color:#ded6c8!important}
.league-admin-player-head strong{color:#174c3a!important}
.league-admin-player-head input,.league-admin-search-wrap{background:#fffdf9!important;border-color:#d4cab9!important;color:#283029!important}
.league-admin-table-wrap{border-color:#ddd4c6!important;background:#fffdf9!important}
.league-admin-table th,.league-match-table th{background:#f3ede3!important;color:#746f67!important}
.league-admin-table td,.league-match-table td{border-bottom-color:#e9e1d5!important}
.league-admin-table tbody tr:hover{background:#faf5ec!important}
.league-admin-table tbody tr.selected{background:#f1e7d8!important}
.league-admin-player-name{color:#174c3a!important}
.league-admin-total{color:#b95735!important}
.league-detail-btn{background:#efe8dc!important;border-color:#d2c5b1!important;color:#174c3a!important;border-radius:999px!important}
.league-detail-btn:hover{background:#174c3a!important;color:#fff!important}
.league-player-match-card{background:#fbf6ed!important;border-color:#ded2c1!important}
.league-list-toggle-btn{background:#fffaf1!important;border-color:#d3c6b4!important;color:#174c3a!important;border-radius:999px!important}
.league-list-toggle-btn:hover{background:#eee5d7!important;border-color:#b9aa92!important}
.league-stop-btn{background:#9f403a!important;border-color:#9f403a!important}
.league-open-btn{background:#174c3a!important;border-color:#174c3a!important}

/* Member panel */
.member-auth-body,.login-body{
  background:
    radial-gradient(circle at 15% 8%,rgba(185,87,53,.16),transparent 28%),
    radial-gradient(circle at 85% 0%,rgba(23,76,58,.14),transparent 24%),
    linear-gradient(145deg,#efe8db,#f8f4ec)!important;
}
.member-auth-intro{background:linear-gradient(150deg,#0d2e24,#174c3a)!important;color:#fff!important;border-radius:26px!important;box-shadow:var(--shadow-lg)!important}
.member-auth-intro p,.member-auth-intro li{color:#dce6e0!important}
.member-auth-points>div{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important}
.member-league-summary{background:linear-gradient(145deg,#fff9ef,#f1e8da)!important;border-color:#ddcfbb!important}
.member-league-ranking{color:#b95735!important}
.member-participation-card{border-radius:22px!important}
.defi-member-card{background:#fffdf9!important;border-color:#ddd5c8!important;box-shadow:var(--shadow)!important}
.defi-member-player{background:#fbf7ef!important;border-color:#ded4c6!important}

/* Forms */
input,select,textarea{
  border-color:#d7cebf!important;
  background:#fffdf9!important;
  color:#252d28!important;
  border-radius:12px!important;
}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(185,87,53,.18)!important;border-color:#b95735!important;box-shadow:0 0 0 4px rgba(185,87,53,.07)!important}
.auth-tab.active{background:#174c3a!important;color:#fff!important}
.auth-tab{border-radius:999px!important}
.login-card{border-radius:28px!important}

/* Player modal */
.player-modal-backdrop{background:rgba(18,28,23,.74)!important;backdrop-filter:blur(5px)}
.player-modal-card{background:#fffdf9!important;border:1px solid #ddd4c6!important;border-radius:28px!important;box-shadow:0 30px 80px rgba(16,25,20,.30)!important}
.player-modal-close{background:#f3ede3!important;border-color:#d7cebf!important;color:#27312b!important}
.avatar{background:linear-gradient(145deg,#174c3a,#285f4b)!important;border-radius:18px!important}
.player-stats div{background:#f8f2e8!important;border-color:#ded5c7!important}
.player-stats strong{color:#b95735!important}
.history-item{background:#fffaf2!important;border-color:#e0d8cc!important}
.result-chip.win{background:#dfece4!important;color:#275f48!important}
.result-chip.loss{background:#f4dfda!important;color:#8c4337!important}

/* Tournament / organization empty cards - erase old neon look */
.interest-empty-card{
  background:
    radial-gradient(circle at 85% 10%,rgba(217,170,87,.18),transparent 28%),
    linear-gradient(135deg,#173d31,#245946)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  box-shadow:0 22px 46px rgba(13,46,36,.18)!important;
}
.interest-empty-card.tournament-card{background:linear-gradient(135deg,#7d3f2c,#b95735)!important}
.interest-visual{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.12)!important}
.interest-tag{color:#f1d49c!important;background:rgba(255,255,255,.08)!important}
.interest-content p{color:rgba(255,255,255,.78)!important}
.interest-status-note{color:#f1d49c!important}

/* Rules page */
.rules-page-body{background:#f4efe6!important}
.rules-page-header{background:rgba(255,253,249,.94)!important;border-bottom-color:#ddd4c6!important;backdrop-filter:blur(16px)}
.rules-page-hero{background:linear-gradient(145deg,#0d2e24,#174c3a)!important}
.defi-rule-item{background:#fffdf9!important;border-color:#ded6ca!important;box-shadow:var(--shadow)!important}

/* Footer */
.site-footer,footer{background:#102c23!important;color:#d7dfda!important;border-top:0!important}
.footer-links a,.footer-top-link{color:#f1d49c!important}
.footer-design,.footer-location,.footer-brand-block p{color:#aebbb4!important}

/* Dark mode: distinct charcoal clubhouse */
html[data-theme="dark"],body[data-theme="dark"]{background:#121a16!important;color:#e8ede9!important}
html[data-theme="dark"] .site-header,body[data-theme="dark"] .site-header{background:rgba(17,27,22,.94)!important;border-bottom-color:#2c3932!important}
html[data-theme="dark"] .main-nav a:hover{background:#25332b!important;color:#fff!important}
html[data-theme="dark"] .hero,body[data-theme="dark"] .hero,
html[data-theme="dark"] .community-hero{background:linear-gradient(145deg,#15251d,#1e3027)!important;border-bottom-color:#2a3b32!important}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .section-title h2{color:#f0f2ef!important}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .section-title p{color:#b3bdb7!important}
html[data-theme="dark"] .quick-links{background:#151f1a!important;border-color:#2b3932!important}
html[data-theme="dark"] .quick-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .defi-card,
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .member-auth-card,
html[data-theme="dark"] .league-board,
html[data-theme="dark"] .league-rule{background:#1b2720!important;border-color:#314037!important;color:#e8ede9!important}
html[data-theme="dark"] .pyramid-player{background:#202c25;border-color:#3a493f;color:#eef2ef!important}
html[data-theme="dark"] .pyramid-player strong{color:#eef2ef!important}
html[data-theme="dark"] .defi-card-head{background:#1d2922!important;border-color:#314037!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#18231d!important;border-color:#38473f!important;color:#eef2ef!important}
html[data-theme="dark"] .league-admin-search-wrap,html[data-theme="dark"] .league-admin-table-wrap,html[data-theme="dark"] .league-player-match-card{background:#19241e!important;border-color:#35443b!important;color:#e9eeeb!important}
html[data-theme="dark"] .league-admin-table th,html[data-theme="dark"] .league-match-table th{background:#223027!important;color:#bbc4bf!important}
html[data-theme="dark"] .league-admin-table td,html[data-theme="dark"] .league-match-table td{border-color:#2e3d34!important}
html[data-theme="dark"] .league-list-toggle-btn{background:#223027!important;border-color:#3a4a40!important;color:#f1d49c!important}
html[data-theme="dark"] .player-modal-card{background:#19251f!important;border-color:#38473f!important;color:#eef2ef!important}
html[data-theme="dark"] .player-stats div,html[data-theme="dark"] .history-item{background:#202d26!important;border-color:#35453b!important}

@media(max-width:760px){
  .nav-wrap{height:68px}
  .section{padding-top:54px!important;padding-bottom:54px!important}
  .quick-card{border-left-width:3px!important}
  .hero{padding-top:58px!important;padding-bottom:58px!important}
  .hero h1{font-size:clamp(38px,13vw,58px)!important}
  .pyramid-player{border-radius:15px!important}
  .league-hero-card{border-radius:22px!important}
  .player-modal-card{border-radius:22px!important;padding:20px!important}
}


/* =========================================================
   V15 - Header tek satir + topluluk etiket kontrasti
   ========================================================= */
.site-header .brand-with-logo{
  flex-wrap:nowrap!important;
  flex:0 0 auto;
  min-width:max-content;
}
.site-header .brand-title{
  white-space:nowrap!important;
  display:inline-block!important;
  font-size:clamp(27px,2.35vw,36px)!important;
  line-height:1!important;
}
.site-header .puan-project-badge{
  flex:0 0 auto;
  white-space:nowrap;
}
.community-groups span{
  text-shadow:none!important;
  box-shadow:0 5px 14px rgba(48,42,31,.05);
}
.community-groups .community-group-defi{background:#ffe8e8!important;border-color:#e9a5a8!important;color:#8f2430!important}
.community-groups .community-group-announcement{background:#e4f6e8!important;border-color:#9bd1a8!important;color:#23683a!important}
.community-groups .community-group-chat{background:#e1f5f5!important;border-color:#9bcfd2!important;color:#17656a!important}
.community-groups .community-group-partner{background:#edf7df!important;border-color:#b9d995!important;color:#456d22!important}
.community-groups .community-group-market{background:#fff0dc!important;border-color:#eac08b!important;color:#8b531a!important}
.hero-actions .btn-whatsapp{
  background:#14553e!important;
  border-color:#14553e!important;
  color:#fff!important;
  font-weight:950!important;
  text-shadow:none!important;
}
.hero-actions .btn-whatsapp:hover{background:#0d4230!important;color:#fff!important}
@media(max-width:1180px) and (min-width:761px){
  .site-header .brand-title{font-size:27px!important}
  .main-nav{gap:4px!important}
  .main-nav a,.main-nav button{padding:8px 9px!important;font-size:12px!important}
}
@media(max-width:760px){
  .site-header .brand-title{font-size:clamp(22px,7vw,30px)!important}
  .site-header .brand-with-logo{min-width:0}
}

/* V16 - Defi 24s + isimli 7 gun tekrar mac uyarisi */
#defiLeagueMessage{line-height:1.65}
#defiLeagueMessage strong{font-weight:850;color:var(--ink,#13241c)}


/* V17 - Kaybeden 24 saat uyarisini sade ve dikkat cekici goster */
#defiLeagueMessage.loss-cooldown-warning{
  display:block;
  margin-top:14px;
  padding:14px 16px;
  border:1px solid rgba(205,91,39,.35);
  border-left:6px solid #c9572f;
  border-radius:14px;
  background:linear-gradient(90deg,rgba(255,238,221,.96),rgba(255,248,238,.88));
  color:#7b2f17;
  font-weight:900;
  line-height:1.45;
  box-shadow:0 8px 22px rgba(110,54,25,.08);
}
html[data-theme="dark"] #defiLeagueMessage.loss-cooldown-warning{
  background:linear-gradient(90deg,rgba(109,48,27,.48),rgba(74,39,27,.35));
  border-color:rgba(239,143,88,.42);
  border-left-color:#ef8f58;
  color:#ffd7be;
}


/* V18 - 24 saatlik kaybeden beklemesi canlı geri sayım */
#defiLeagueMessage.loss-cooldown-warning{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
#defiLeagueMessage .loss-cooldown-copy{min-width:0}
#defiLeagueMessage .loss-cooldown-clock{
  flex:0 0 auto;
  min-width:132px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(201,87,47,.11);
  border:1px solid rgba(201,87,47,.22);
  white-space:nowrap;
}
#defiLeagueMessage .loss-cooldown-clock small{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  opacity:.72;
}
#defiLeagueMessage .loss-cooldown-clock strong{
  color:#8a2d10;
  font-size:17px;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
}
html[data-theme="dark"] #defiLeagueMessage .loss-cooldown-clock{
  background:rgba(239,143,88,.13);
  border-color:rgba(239,143,88,.28);
}
html[data-theme="dark"] #defiLeagueMessage .loss-cooldown-clock strong{color:#ffe2cf}
@media(max-width:700px){
  #defiLeagueMessage.loss-cooldown-warning{align-items:flex-start;flex-direction:column;gap:10px}
  #defiLeagueMessage .loss-cooldown-clock{min-width:0}
}


/* =========================================================
   V23 - Ana sayfa hizli erisim yeniden tasarim
   ========================================================= */
.home-shortcuts{
  background:linear-gradient(180deg,#fbf8f2 0%,#f6f1e8 100%)!important;
  border-top:0!important;
  border-bottom:1px solid #ded6c8!important;
  padding:16px 0 18px!important;
}
.home-shortcuts .community-quick-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
.home-shortcuts .quick-card{
  min-width:0!important;
  min-height:76px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  border:1px solid #ddd4c5!important;
  border-left:1px solid #ddd4c5!important;
  border-radius:17px!important;
  background:rgba(255,253,249,.92)!important;
  box-shadow:0 6px 18px rgba(48,42,31,.055)!important;
  text-decoration:none!important;
  color:#17261f!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease!important;
}
.home-shortcuts .quick-card:nth-child(2n){border-left-color:#ddd4c5!important}
.home-shortcuts .quick-card:hover{
  transform:translateY(-2px)!important;
  border-color:#cbbba4!important;
  box-shadow:0 10px 24px rgba(48,42,31,.09)!important;
  background:#fffdf9!important;
}
.home-shortcuts .shortcut-icon{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:#f1e8db!important;
  font-size:20px!important;
  line-height:1!important;
}
.home-shortcuts .shortcut-copy{
  display:block!important;
  min-width:0!important;
  line-height:1.15!important;
}
.home-shortcuts .shortcut-copy strong{
  display:block!important;
  margin:0 0 5px!important;
  font-size:14px!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  color:#17261f!important;
  white-space:nowrap!important;
}
.home-shortcuts .quick-card small{
  display:block!important;
  margin:0!important;
  font-size:10.5px!important;
  line-height:1.28!important;
  color:#74776f!important;
}
.home-shortcuts .shortcut-defi .shortcut-icon,
.home-shortcuts .shortcut-tournament .shortcut-icon{background:#f7e7dd!important}
.home-shortcuts .shortcut-league .shortcut-icon,
.home-shortcuts .shortcut-org .shortcut-icon{background:#e5efe9!important}
.home-shortcuts .shortcut-tennis .shortcut-icon{background:#edf2dd!important}

/* Hizli erisim ile topluluk alani tek bir kompozisyon gibi dursun */
.home-shortcuts + .community-hero{border-top:0!important}
.home-shortcuts + .community-hero .community-hero-grid{
  min-height:auto!important;
  padding-top:44px!important;
  padding-bottom:52px!important;
}

html[data-theme="dark"] .home-shortcuts{
  background:linear-gradient(180deg,#151e19 0%,#121a16 100%)!important;
  border-color:#2c3932!important;
}
html[data-theme="dark"] .home-shortcuts .quick-card{
  background:#1a251f!important;
  border-color:#344239!important;
  color:#eef3ef!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .home-shortcuts .shortcut-copy strong{color:#f3f6f4!important}
html[data-theme="dark"] .home-shortcuts .quick-card small{color:#aeb9b3!important}
html[data-theme="dark"] .home-shortcuts .shortcut-icon{background:#26352d!important}

@media(max-width:1100px){
  .home-shortcuts .community-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .home-shortcuts{padding:10px 0 12px!important}
  .home-shortcuts .community-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .home-shortcuts .quick-card{min-height:68px!important;padding:10px!important;gap:9px!important;border-radius:14px!important}
  .home-shortcuts .shortcut-icon{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:11px!important;font-size:17px!important}
  .home-shortcuts .shortcut-copy strong{font-size:12.5px!important;margin-bottom:3px!important}
  .home-shortcuts .quick-card small{font-size:9.5px!important}
  .home-shortcuts .quick-card:last-child:nth-child(odd){grid-column:1/-1!important}
  .home-shortcuts + .community-hero .community-hero-grid{padding-top:30px!important;padding-bottom:42px!important}
}

/* V31 */
.league-rules-strip{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;}


/* =========================================================
   V39 - KARANLIK MOD KONTRAST / OKUNABILIRLIK OPTIMIZASYONU
   ========================================================= */

/* Temel yüzeyler */
html[data-theme="dark"] body{
  background:#111a16!important;
  color:#eef3ef!important;
}
html[data-theme="dark"] .section:not(.section-dark),
html[data-theme="dark"] .admin-main,
html[data-theme="dark"] .member-main,
html[data-theme="dark"] .defi-v25-body{
  color:#eef3ef!important;
}
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .account-shell,
html[data-theme="dark"] .member-participation-card{
  background:#19251f!important;
  border-color:#34443a!important;
  color:#eef3ef!important;
}
html[data-theme="dark"] .admin-card h1,
html[data-theme="dark"] .admin-card h2,
html[data-theme="dark"] .admin-card h3,
html[data-theme="dark"] .admin-card strong,
html[data-theme="dark"] .account-shell h1,
html[data-theme="dark"] .account-shell h2,
html[data-theme="dark"] .account-shell h3{
  color:#f4f7f5;
}
html[data-theme="dark"] .sub,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .admin-card .sub,
html[data-theme="dark"] .admin-card small{
  color:#b7c2bc!important;
}

/* Formlar */
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#16221c!important;
  border-color:#43554a!important;
  color:#f2f6f3!important;
  caret-color:#f2f6f3;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
  color:#91a199!important;
  opacity:1;
}
html[data-theme="dark"] select option{
  background:#16221c;
  color:#f2f6f3;
}

/* ---------------------------------------------------------
   ANA SAYFA DEFİ PİRAMİDİ
   --------------------------------------------------------- */
html[data-theme="dark"] .defi-card{
  background:#18241e!important;
  border-color:#34443a!important;
  color:#eef3ef!important;
}
html[data-theme="dark"] .defi-card-head{
  background:#1d2a23!important;
  border-color:#37483e!important;
}
html[data-theme="dark"] .defi-card-head strong{
  color:#f5f7f5!important;
}
html[data-theme="dark"] .defi-card-head small{
  color:#b6c1bb!important;
}
html[data-theme="dark"] .pyramid-player{
  background:#1d2a23!important;
  border-color:#405248!important;
  color:#f3f6f4!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}
html[data-theme="dark"] .pyramid-player:hover{
  background:#223229!important;
  border-color:#597064!important;
  box-shadow:0 11px 22px rgba(0,0,0,.26)!important;
}
html[data-theme="dark"] .pyramid-player strong{
  color:#ffffff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.28);
}
html[data-theme="dark"] .pyramid-player small{
  color:#b9c7c0!important;
}
html[data-theme="dark"] .pyramid-player.leader{
  background:linear-gradient(145deg,#3c321b,#2c291b)!important;
  border-color:#d1a43e!important;
}
html[data-theme="dark"] .pyramid-player.leader strong{
  color:#fff5d5!important;
}
html[data-theme="dark"] .pyramid-player.leader small{
  color:#e5d5a9!important;
}
html[data-theme="dark"] .pyramid-rank{
  background:#0f7652!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12);
}
html[data-theme="dark"] .pyramid-player.leader .pyramid-rank{
  background:#c35e38!important;
  color:#fff!important;
}

/* ---------------------------------------------------------
   SÜPER ADMIN DEFİ PİRAMİDİ
   --------------------------------------------------------- */
html[data-theme="dark"] .defi-v25-stat{
  background:#1a2720!important;
  border-color:#3a4c41!important;
}
html[data-theme="dark"] .defi-v25-stat span,
html[data-theme="dark"] .defi-v25-stat small{
  color:#b7c4bd!important;
}
html[data-theme="dark"] .defi-v25-stat strong{
  color:#ffffff!important;
}
html[data-theme="dark"] .defi-v25-application{
  background:#1b2821!important;
  border-color:#3a4b41!important;
}
html[data-theme="dark"] .defi-v25-app-details>div{
  background:#233129!important;
}
html[data-theme="dark"] .defi-v25-app-name strong,
html[data-theme="dark"] .defi-v25-app-details strong{
  color:#f4f7f5!important;
}
html[data-theme="dark"] .defi-v25-app-name span,
html[data-theme="dark"] .defi-v25-app-details span{
  color:#afbeb6!important;
}

html[data-theme="dark"] .defi-v25-pyramid-player{
  background:#1c2922!important;
  border-color:#405248!important;
  color:#f4f7f5!important;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}
html[data-theme="dark"] .defi-v25-pyramid-player strong{
  color:#ffffff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.28);
}
html[data-theme="dark"] .defi-v25-pyramid-player small{
  color:#b7c5bd!important;
}
html[data-theme="dark"] .defi-v25-pyramid-player.leader{
  background:linear-gradient(145deg,#44371b,#302b1b)!important;
  border-color:#d9ab42!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}
html[data-theme="dark"] .defi-v25-pyramid-player.leader strong{
  color:#fff5d9!important;
}
html[data-theme="dark"] .defi-v25-pyramid-player.leader small{
  color:#e6d6a7!important;
}
html[data-theme="dark"] .defi-v25-rank{
  background:#0d7651!important;
  color:#fff!important;
  box-shadow:0 3px 9px rgba(0,0,0,.28);
}
html[data-theme="dark"] .defi-v25-pyramid-player.leader .defi-v25-rank{
  background:#c65d37!important;
  color:#fff!important;
}
html[data-theme="dark"] .defi-v25-empty-state{
  border-color:#43544a!important;
  color:#aebdb5!important;
}
html[data-theme="dark"] .defi-v25-empty-state strong{
  color:#f3f6f4!important;
}

/* ---------------------------------------------------------
   ÜYE PANELİ INTERAKTİF DEFİ PİRAMİDİ
   --------------------------------------------------------- */
html[data-theme="dark"] .defi-member-player{
  background:#1c2922!important;
  border-color:#405248!important;
  color:#f4f7f5!important;
}
html[data-theme="dark"] .defi-member-player strong{
  color:#ffffff!important;
}
html[data-theme="dark"] .defi-member-player small{
  color:#b8c5be!important;
}
html[data-theme="dark"] .defi-member-player.me{
  background:#172d42!important;
  border-color:#527da8!important;
}
html[data-theme="dark"] .defi-member-player.target{
  background:#173326!important;
  border-color:#4d956e!important;
}
html[data-theme="dark"] .defi-member-player.locked,
html[data-theme="dark"] .defi-member-player.opponent-cooldown,
html[data-theme="dark"] .defi-member-player.is-on-cooldown,
html[data-theme="dark"] .defi-member-player.pair-cooldown-target{
  background:#372f1d!important;
  border-color:#826b35!important;
}
html[data-theme="dark"] .defi-member-rank-badge{
  background:#147653!important;
  color:#fff!important;
}
html[data-theme="dark"] .defi-member-legend{
  color:#b8c5be!important;
}

/* ---------------------------------------------------------
   SÜPER ADMIN KONTROL MERKEZİ
   --------------------------------------------------------- */
html[data-theme="dark"] .v35-dashboard-summary article,
html[data-theme="dark"] .v35-task,
html[data-theme="dark"] .v35-discipline-player,
html[data-theme="dark"] .v35-history-row,
html[data-theme="dark"] .v35-check,
html[data-theme="dark"] .v35-modal{
  background:#1a2720!important;
  border-color:#3a4c41!important;
  color:#edf3ef!important;
}
html[data-theme="dark"] .v35-dashboard-summary span,
html[data-theme="dark"] .v35-dashboard-summary small,
html[data-theme="dark"] .v35-task-main span,
html[data-theme="dark"] .v35-task-time small,
html[data-theme="dark"] .v35-discipline-name span,
html[data-theme="dark"] .v35-history-row small,
html[data-theme="dark"] .v35-check small,
html[data-theme="dark"] .v35-audit-row span,
html[data-theme="dark"] .v35-audit-row>small{
  color:#b2c0b8!important;
}
html[data-theme="dark"] .v35-dashboard-summary strong,
html[data-theme="dark"] .v35-task-main strong,
html[data-theme="dark"] .v35-discipline-name strong,
html[data-theme="dark"] .v35-history-row strong,
html[data-theme="dark"] .v35-check strong,
html[data-theme="dark"] .v35-audit-row strong,
html[data-theme="dark"] .v35-modal h2{
  color:#f7faf8!important;
}
html[data-theme="dark"] .v35-discipline-rank{
  background:#21382d!important;
  color:#c9f0dc!important;
}
html[data-theme="dark"] .v35-system-summary{
  background:#1a2720!important;
  border-color:#3c4d43!important;
  color:#ecf2ee!important;
}
html[data-theme="dark"] .v35-modal-warning{
  background:#332a19!important;
  border-color:#6c582d!important;
  color:#f0d69b!important;
}

/* ---------------------------------------------------------
   TABLOLAR / LİSTELER / MODAL
   --------------------------------------------------------- */
html[data-theme="dark"] .public-ladder .row,
html[data-theme="dark"] .admin-standings .row,
html[data-theme="dark"] .match-row,
html[data-theme="dark"] .history-item,
html[data-theme="dark"] .player-stats div{
  color:#edf3ef!important;
  border-color:#35483d!important;
}
html[data-theme="dark"] .match-row strong,
html[data-theme="dark"] .history-item strong,
html[data-theme="dark"] .player-stats strong{
  color:#f7faf8!important;
}
html[data-theme="dark"] .wl,
html[data-theme="dark"] .match-row small,
html[data-theme="dark"] .history-item small{
  color:#b6c3bc!important;
}
html[data-theme="dark"] .player-modal-card{
  background:#18251f!important;
  color:#eef3ef!important;
  border-color:#405047!important;
}
html[data-theme="dark"] .player-modal-card h2,
html[data-theme="dark"] .player-modal-card strong{
  color:#f7faf8;
}

/* Butonların metni karanlık modda kaybolmasın */
html[data-theme="dark"] .btn-light,
html[data-theme="dark"] .btn-outline{
  background:#203027!important;
  color:#eaf4ef!important;
  border-color:#52665a!important;
}
html[data-theme="dark"] .btn-light:hover,
html[data-theme="dark"] .btn-outline:hover{
  background:#293b31!important;
  color:#ffffff!important;
}

/* ayirici */{}
/* ==== mobile-v57.css ==== */

/* =========================================================
   V57 - MOBİL ACİL STABİLİZASYON
   Amaç: 320px-820px ekranlarda taşma, sıkışma, ilk yükleme
   kaymaları ve eski CSS çakışmalarını son katmanda düzeltmek.
   ========================================================= */

html, body {
  max-width: 100%;
}

img, svg, video, canvas {
  max-width: 100%;
}

img {
  height: auto;
}

body {
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }

  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
  }

  *, *::before, *::after {
    min-width: 0;
  }

  .container,
  .account-shell,
  .member-auth-shell,
  .login-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------------- HEADER / NAV ---------------- */
  .site-header,
  .admin-header {
    width: 100%;
    max-width: 100%;
  }

  .site-header .nav-wrap {
    min-height: 64px !important;
    height: 64px !important;
    gap: 8px !important;
  }

  .site-header .brand {
    min-width: 0;
    gap: 7px !important;
  }

  .site-header .site-logo {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
  }

  .site-header .brand > span,
  .site-header .brand-title {
    min-width: 0;
    font-size: clamp(17px, 5vw, 21px) !important;
    line-height: 1.05;
    white-space: nowrap;
  }

  .site-header .menu-btn {
    display: grid !important;
    place-items: center;
    flex: 0 0 44px;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 12px;
  }

  .site-header .main-nav {
    position: fixed !important;
    top: 70px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 84px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1000 !important;
    padding: 10px !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
  }

  .site-header .main-nav a,
  .site-header .main-nav button {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px !important;
    border-radius: 10px;
    white-space: normal;
  }

  /* Admin / üye paneli üst barı telefonda iki satır */
  .admin-header .nav-wrap {
    height: auto !important;
    min-height: 64px !important;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 7px !important;
    flex-wrap: wrap !important;
    align-items: center;
  }

  .admin-header .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 7px !important;
  }

  .admin-header .site-logo {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px;
  }

  .admin-header .brand > span {
    font-size: 16px !important;
    line-height: 1.05;
    white-space: nowrap;
  }

  .admin-header .admin-actions-top {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 6px !important;
    margin: 0;
  }

  .admin-header .admin-top-identity {
    grid-column: 1 / -1;
    width: 100%;
    text-align: left;
    padding: 4px 2px;
  }

  .admin-header .admin-back {
    min-width: 0 !important;
    min-height: 38px;
    padding: 7px 5px !important;
    font-size: 9px !important;
    line-height: 1.15;
    text-align: center;
    white-space: normal !important;
  }

  /* ---------------- ANA SAYFA ---------------- */
  .section,
  .hero,
  .community-hero {
    max-width: 100%;
    overflow: hidden;
  }

  .section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .community-hero {
    padding-top: 28px !important;
    padding-bottom: 26px !important;
  }

  .community-hero-grid,
  .contact-grid,
  .cards-3,
  .defi-home-grid,
  .organization-public-card,
  .defi-application-wrap,
  .tennis-history-hero {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .community-copy,
  .community-visual,
  .community-hero-grid > *,
  .defi-home-grid > *,
  .organization-public-card > *,
  .active-tournament-wrap > * {
    min-width: 0;
    max-width: 100%;
  }

  .community-copy h1 {
    font-size: clamp(31px, 9.5vw, 43px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: break-word;
  }

  .community-copy > p,
  .section-title p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .community-groups,
  .interest-mini-list,
  .hero-actions {
    max-width: 100%;
    flex-wrap: wrap !important;
  }

  .quick-grid,
  .community-quick-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
  }

  .quick-card {
    min-width: 0 !important;
    min-height: 70px !important;
    padding: 11px !important;
    font-size: 12px !important;
    overflow-wrap: anywhere;
  }

  .section-title,
  .admin-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
  }

  .section-title h2 {
    font-size: clamp(25px, 7.6vw, 33px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  /* ---------------- DEFİ ANA SAYFA ---------------- */
  .defi-home-grid {
    width: 100%;
    gap: 12px !important;
  }

  .defi-card {
    width: 100%;
    max-width: 100%;
    border-radius: 17px !important;
    overflow: hidden !important;
  }

  .defi-card-head {
    min-height: 54px !important;
    padding: 12px 13px !important;
  }

  .defi-card-head strong {
    font-size: 13px !important;
  }

  .defi-card-head small {
    font-size: 9px !important;
    text-align: right;
  }

  .defi-pyramid {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: 20px 7px 24px !important;
    align-items: flex-start !important;
    scroll-padding-inline: 8px;
  }

  .pyramid-row {
    width: max-content;
    min-width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 3px;
  }

  .pyramid-player {
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    min-height: 62px !important;
    padding: 10px 4px 7px !important;
    border-radius: 10px !important;
  }

  .pyramid-player strong {
    max-width: 70px !important;
    font-size: 9px !important;
    line-height: 1.12 !important;
  }

  .pyramid-player small {
    font-size: 7px !important;
    line-height: 1.1 !important;
  }

  .pyramid-rank {
    min-width: 21px !important;
    height: 18px !important;
    top: -7px !important;
    font-size: 8px !important;
    padding: 0 4px !important;
  }

  .home-defi-process {
    max-width: 72px;
    font-size: 6px !important;
    line-height: 1.05;
  }

  .public-ladder {
    width: 100%;
    overflow: hidden;
  }

  .public-ladder .row {
    width: 100%;
    grid-template-columns: 32px minmax(0,1fr) 38px 38px !important;
    gap: 5px !important;
    padding: 10px 8px !important;
  }

  .public-ladder .row strong,
  .public-ladder .row span {
    overflow-wrap: anywhere;
  }

  .match-list {
    padding: 9px !important;
  }

  .match-row {
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 7px !important;
    padding: 9px !important;
  }

  .public-defi-pause-warning {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }

  /* ---------------- TURNUVA / ORGANİZASYON ---------------- */
  .active-tournament-card,
  .organization-public-card,
  .interest-empty-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .active-tournament-card,
  .organization-public-card {
    border-radius: 18px !important;
  }

  .organization-copy,
  .organization-form,
  .active-tournament-section {
    min-width: 0;
    max-width: 100%;
  }

  .organization-form,
  .contact-form,
  .admin-form,
  .tournament-application-form {
    width: 100%;
    max-width: 100%;
  }

  .organization-count-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
  }

  .organization-form input,
  .organization-form select,
  .contact-form input,
  .contact-form select,
  .admin-form input,
  .admin-form select,
  .member-auth-form input,
  .member-auth-form select,
  .tournament-application-form input,
  .tournament-application-form select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;
    font-size: 16px !important; /* iOS otomatik zoom'u engeller */
  }

  .tournament-registration-layout,
  .tournament-application-fields,
  .tournament-category-choice-grid,
  .tournament-settings-grid,
  .organization-admin-date-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .tournament-app-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ---------------- ÜYE PANELİ ---------------- */
  .admin-main {
    padding-top: 20px !important;
    padding-bottom: 42px !important;
  }

  .account-grid,
  .admin-grid {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important;
  }

  .account-grid > *,
  .admin-grid > *,
  .admin-card,
  .member-season-history-card,
  .member-discipline-card,
  #defiLeagueCard {
    grid-column: 1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .admin-card,
  .member-season-history-card,
  .member-discipline-card {
    padding: 14px !important;
    border-radius: 15px !important;
  }

  .account-info-row {
    display: grid !important;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 8px !important;
    padding: 10px 0 !important;
  }

  .account-info-row span,
  .account-info-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #defiLeagueCard .defi-member-pyramid {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #defiLeagueCard .defi-member-pyramid-row {
    width: max-content !important;
    min-width: 100% !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  #defiLeagueCard .defi-member-player {
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    min-height: 70px !important;
    padding: 9px 4px 7px !important;
  }

  #defiLeagueCard .defi-member-player strong {
    font-size: 8.5px !important;
    max-width: 70px;
  }

  #defiLeagueCard .defi-member-player small,
  #defiLeagueCard .defi-member-player em {
    font-size: 6.5px !important;
  }

  .member-league-stats,
  .player-points-grid,
  .player-season-stats {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .member-participation-heading,
  .member-season-history-head,
  .member-discipline-head {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .compact-member-btn {
    width: 100%;
  }

  /* ---------------- ADMIN PANELİ ---------------- */
  .admin-title h1 {
    font-size: clamp(28px, 8vw, 37px) !important;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .admin-tabs {
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 7px;
  }

  .admin-tab {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .admin-card-title-row,
  .v52-pause-layout,
  .defi-member-heading,
  .tournament-category-builder-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .v52-pause-actions,
  .admin-organization-actions,
  .defi-admin-application-actions,
  .member-v55-presets {
    width: 100%;
  }

  .v52-inactive-player,
  .v52-inactive-player.v53-warning-only {
    grid-template-columns: 38px minmax(0,1fr) auto !important;
    gap: 7px !important;
    padding: 9px !important;
  }

  .v52-inactive-rank {
    width: 36px !important;
    height: 36px !important;
  }

  .member-v55-preset-help,
  .member-v55-permission-groups,
  .member-v55-protected-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .member-v55-presets .member-v24-preset {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 0 !important;
  }

  .admin-standings,
  .admin-match-list,
  .v35-task-list,
  .v52-inactive-list,
  .member-list {
    width: 100%;
    max-width: 100%;
  }

  /* ---------------- MODALLER ---------------- */
  .player-modal,
  .defi-offer-modal,
  .v35-discipline-modal,
  .member-admin-modal,
  .tournament-modal {
    padding: 10px !important;
  }

  .player-modal-card,
  .defi-offer-modal-card,
  .v35-discipline-modal-card,
  .member-admin-modal-card,
  .tournament-modal-card {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 17px !important;
    padding: 15px !important;
  }

  /* ---------------- FOOTER ---------------- */
  .footer-wrap {
    width: 100%;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap !important;
  }

  /* ---------------- İLK YÜKLEME / CLS ---------------- */
  #defiPyramid > .empty {
    width: 100%;
    min-height: 150px;
    display: grid;
    place-items: center;
  }

  #ladderRows > .empty,
  #publicMatchHistory > .empty,
  #tournamentPublic > .empty,
  #organizationPublic > .empty,
  #myTournamentApplications > .empty,
  #myOrganizationRegistrations > .empty {
    min-height: 78px;
    display: grid;
    place-items: center;
  }

  .empty {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  button,
  .btn,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  button,
  .btn {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .quick-grid,
  .community-quick-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .organization-count-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  .pyramid-player,
  #defiLeagueCard .defi-member-player {
    flex-basis: 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }

  .admin-header .admin-actions-top {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .member-v55-presets .member-v24-preset {
    flex-basis: 100% !important;
  }
}

/* Yatay telefonlarda panel yüksekliğini koru */
@media (max-width: 900px) and (orientation: landscape) {
  .site-header .main-nav {
    max-height: calc(100dvh - 76px) !important;
  }

  .player-modal-card,
  .defi-offer-modal-card,
  .v35-discipline-modal-card,
  .member-admin-modal-card {
    max-height: calc(100dvh - 12px) !important;
  }
}


/* =========================================================
   V58 - MOBİL ÜYE OL / GİRİŞ YAP SEKME DÜZELTMESİ
   ========================================================= */
@media (max-width:820px) {
  .member-auth-card {
    position: relative !important;
    z-index: 20 !important;
    overflow: visible !important;
  }

  .auth-tabs {
    position: relative !important;
    z-index: 40 !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    width: 100% !important;
    min-height: 52px !important;
    margin-bottom: 18px !important;
    pointer-events: auto !important;
    isolation: isolate;
  }

  .auth-tabs::before,
  .auth-tabs::after {
    pointer-events: none !important;
  }

  .auth-tab {
    position: relative !important;
    z-index: 41 !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 10px 8px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    line-height: 1.15 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-user-select: none;
    user-select: none;
  }

  .auth-tab.active {
    pointer-events: auto !important;
  }

  .auth-pane {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .auth-pane[hidden] {
    display: none !important;
  }

  /* Intro/card overlap can block touch on some mobile WebViews. */
  .member-auth-intro {
    position: relative !important;
    z-index: 1 !important;
  }
}


/* =========================================================
   V59 - MOBİL ÜYELİK ONAY KUTULARI
   V57 genel input yüksekliği checkbox'lara da uygulanıyordu.
   ========================================================= */
@media (max-width:820px) {
  .member-register-form .check-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    padding: 10px 11px !important;
  }

  .member-register-form .check-row input[type="checkbox"] {
    display: block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    touch-action: manipulation;
    accent-color: var(--green);
  }

  .member-register-form .check-row > span {
    flex: 1 1 auto;
    min-width: 0;
  }
}


/* =========================================================
   V60 - E-POSTA DOĞRULAMA ARAYÜZÜ
   ========================================================= */
.email-verify-panel{
  display:grid;
  gap:12px;
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(15,95,60,.18);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(237,249,241,.96),rgba(255,255,255,.98));
  text-align:center;
}
.email-verify-panel[hidden]{display:none!important}
.email-verify-icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin:0 auto;
  border-radius:50%;
  background:#0f5f3c;
  color:#fff;
  font-size:25px;
  font-weight:900;
}
.email-verify-panel>strong{font-size:18px;color:var(--text)}
.email-verify-panel>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
#verifyEmailText{font-weight:900;color:var(--text);overflow-wrap:anywhere}
.email-verify-tips{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.email-verify-tips span{
  padding:9px 8px;
  border-radius:10px;
  background:rgba(15,95,60,.07);
  color:var(--text);
  font-size:11px;
  font-weight:750;
}
.auth-inline-link{
  border:0;
  background:transparent;
  color:var(--green);
  text-decoration:underline;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  padding:5px;
}
.email-resend-login{
  display:grid;
  gap:8px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.email-resend-login>span{
  font-size:11px;
  line-height:1.45;
  color:var(--muted);
}
.email-resend-login .btn-small{
  width:max-content;
  max-width:100%;
  min-height:38px;
  padding:8px 11px;
  font-size:11px;
}
.email-confirm-required-note{
  margin-top:13px!important;
  font-weight:700;
}

@media(max-width:520px){
  .email-verify-tips{grid-template-columns:1fr}
  .email-resend-login .btn-small{width:100%}
}
\n\n/* =========================================================\n   V64 - MOBIL FORM KONTROLLERI SON KONTROL\n   Genel 48px input kuralinin checkbox/radio kontrollerini buyutmesini engeller.\n   ========================================================= */\n@media (max-width:820px) {\n  .admin-form input[type="checkbox"],\n  .admin-form input[type="radio"],\n  .organization-form input[type="checkbox"],\n  .organization-form input[type="radio"],\n  .tournament-application-form input[type="checkbox"],\n  .tournament-application-form input[type="radio"],\n  .member-auth-form input[type="checkbox"],\n  .member-auth-form input[type="radio"],\n  .admin-permission-option input[type="checkbox"],\n  .admin-permission-option input[type="radio"] {\n    width:18px !important;\n    min-width:18px !important;\n    max-width:18px !important;\n    height:18px !important;\n    min-height:18px !important;\n    max-height:18px !important;\n    padding:0 !important;\n    flex:0 0 18px !important;\n    accent-color:var(--green);\n  }\n\n  .tournament-category-choice input[type="checkbox"],\n  .tournament-category-choice input[type="radio"] {\n    min-height:0 !important;\n  }\n}\n
/* ayirici */{}
/* ==== community-compact-v184.css ==== */
/* V184 - Ana sayfa topluluk hero alanini kompaktlastir */
.community-hero-grid{
  min-height:0 !important;
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr) !important;
  gap:28px !important;
  padding:28px 0 !important;
}
.community-copy h1{
  font-size:clamp(34px,4.2vw,52px) !important;
  margin:8px 0 10px !important;
  max-width:760px !important;
}
.community-copy>p{
  font-size:15px !important;
  line-height:1.5 !important;
  max-width:760px !important;
}
.community-groups{margin-top:14px !important;gap:7px !important}
.community-groups span{padding:7px 10px !important;font-size:11px !important}
.community-hero .hero-actions{margin-top:14px !important}
.community-hero .btn{padding:11px 16px !important}
.community-note{margin-top:10px !important}
.community-visual{grid-template-columns:minmax(0,1fr) !important;max-width:280px !important;justify-self:end !important}
.community-real-phone{max-width:260px !important;padding:5px !important;border-radius:20px !important}
.community-real-phone img{height:210px !important;max-height:210px !important;object-fit:cover !important;object-position:top !important;border-radius:15px !important}
.community-hero .qr-preview{display:none !important}

@media(max-width:640px){
  .community-hero{padding:0 !important}
  .community-hero-grid{display:block !important;padding:18px 0 20px !important}
  .community-copy .eyebrow{font-size:10px !important}
  .community-copy h1{font-size:clamp(27px,8.2vw,35px) !important;line-height:1.04 !important;margin:5px 0 8px !important;letter-spacing:-.03em !important}
  .community-copy>p{font-size:13px !important;line-height:1.4 !important;margin:0 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .community-groups{margin-top:10px !important;gap:5px !important;flex-wrap:nowrap !important;overflow-x:auto !important;padding-bottom:2px !important;scrollbar-width:none}
  .community-groups::-webkit-scrollbar{display:none}
  .community-groups span{flex:0 0 auto !important;padding:6px 8px !important;font-size:10px !important;white-space:nowrap !important}
  .community-hero .hero-actions{margin-top:11px !important}
  .community-hero .btn-whatsapp{width:100% !important;text-align:center !important;padding:10px 12px !important;font-size:13px !important}
  .community-note{display:none !important}
  .hero-preview-toggle{display:none !important}
  #communityVisual{display:none !important}
}

/* ayirici */{}
/* ==== site-updates.css ==== */
/* V91 - Yenilikler / Güncellemeler */
.site-updates-section{padding:22px 0 8px}
.site-updates-shell{border:1px solid rgba(23,76,58,.16);border-radius:24px;background:linear-gradient(135deg,#fbf8f1,#f2f8f4);box-shadow:0 12px 32px rgba(14,45,35,.08);padding:20px}
.site-updates-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.site-updates-head h2{margin:3px 0 4px;font-size:clamp(22px,3vw,30px)}
.site-updates-head p{margin:0;color:#6c746f}
.site-updates-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.site-update-card{position:relative;text-align:left;border:1px solid rgba(23,76,58,.13);border-radius:18px;background:#fff;padding:16px;cursor:pointer;color:inherit;min-width:0;transition:.18s ease}
.site-update-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(14,45,35,.09)}
.site-update-card.is-unread{border-color:rgba(189,93,52,.35);box-shadow:inset 3px 0 0 #bd5d34}
.site-update-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}
.site-update-date{font-size:12px;color:#7d847f}
.site-update-new{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#bd5d34;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em}
.site-update-card strong{display:block;font-size:16px;line-height:1.25;margin-bottom:6px}
.site-update-card p{margin:0;color:#69716d;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.site-updates-more{white-space:nowrap}
.site-update-badge{display:inline-flex;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#bd5d34;color:#fff;align-items:center;justify-content:center;font-size:10px;font-weight:800;margin-left:4px;vertical-align:middle}
.site-updates-member-btn{position:relative}
.site-updates-modal[hidden]{display:none!important}
.site-updates-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px}
.site-updates-backdrop{position:absolute;inset:0;background:rgba(4,20,15,.62);backdrop-filter:blur(5px)}
.site-updates-dialog{position:relative;width:min(720px,100%);max-height:min(82vh,820px);overflow:auto;background:#fffdf9;border-radius:26px;border:1px solid rgba(23,76,58,.16);box-shadow:0 28px 80px rgba(0,0,0,.28);padding:22px}
.site-updates-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-right:42px;margin-bottom:16px}
.site-updates-dialog-head h2{margin:2px 0 4px;font-size:28px}.site-updates-dialog-head p{margin:0;color:#707974}
.site-updates-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border-radius:50%;border:1px solid #ddd4c6;background:#f7f1e7;font-size:22px;cursor:pointer}
.site-updates-dialog-list{display:grid;gap:11px}.site-updates-dialog-list .site-update-card{cursor:pointer}
.site-updates-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}
.site-updates-empty{padding:24px;text-align:center;color:#6c746f;border:1px dashed #d6d0c5;border-radius:18px}
.v91-admin-update-form{display:grid;gap:12px;margin-top:16px}.v91-admin-update-form label{display:grid;gap:6px;font-weight:700}.v91-admin-update-form input[type=text],.v91-admin-update-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7d0c3;border-radius:14px;padding:12px 14px;font:inherit;background:#fff}.v91-admin-update-form textarea{resize:vertical;min-height:100px}.v91-admin-important{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start!important;gap:10px!important;font-weight:600!important}.v91-admin-important input{width:20px;height:20px;margin-top:2px}.v91-admin-update-list{display:grid;gap:10px;margin-top:18px}.v91-admin-update-row{border:1px solid #e0d8cb;border-radius:16px;padding:14px;background:#fff}.v91-admin-update-row-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v91-admin-update-row strong{display:block}.v91-admin-update-row p{margin:7px 0;color:#68706c;line-height:1.45}.v91-admin-update-meta{font-size:12px;color:#7d847f}.v91-admin-update-state{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.v91-update-pill{padding:4px 8px;border-radius:999px;background:#edf7f1;color:#1f674f;font-size:11px;font-weight:800}.v91-update-pill.off{background:#f2efea;color:#777}.v91-update-pill.important{background:#fff0d9;color:#9b5d00}
@media(max-width:760px){.site-updates-list{grid-template-columns:1fr}.site-updates-head{align-items:stretch;flex-direction:column}.site-updates-more{width:100%}.site-updates-shell{padding:16px;border-radius:20px}.site-updates-dialog{padding:18px;border-radius:22px;max-height:88vh}.site-updates-dialog-head h2{font-size:24px}.site-updates-dialog-actions{justify-content:stretch}.site-updates-dialog-actions .btn{width:100%}.site-updates-member-btn .site-updates-label{display:none}}

/* V111 - Yenilikler sadece düğmeden açılır; otomatik sürüm rozeti */
.site-update-card-badges{display:flex;align-items:center;gap:6px}.site-update-auto{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#e8f3ee;color:#176447;font-size:10px;font-weight:800;letter-spacing:.06em}.site-updates-section[hidden]{display:none!important}


/* =========================================================
   V147 - ANA SAYFA ÖNEMLİ DUYURU
   ========================================================= */
.important-update-v147{padding:18px 0 0;background:linear-gradient(180deg,#f8f2e8 0%,#fffaf2 100%)}
.important-update-v147[hidden]{display:none!important}
.important-update-card-v147{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:20px 22px;border:2px solid #d8782e;border-radius:24px;background:linear-gradient(135deg,#fff8ea 0%,#fff 62%,#f1f7f3 100%);box-shadow:0 16px 38px rgba(105,63,23,.13);overflow:hidden}
.important-update-card-v147:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;background:linear-gradient(180deg,#df7b2d,#b94e26)}
.important-update-icon-v147{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:#fff0d7;border:1px solid #efc58e;font-size:27px;box-shadow:0 8px 18px rgba(157,83,25,.12)}
.important-update-copy-v147{min-width:0}
.important-update-top-v147{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}
.important-update-top-v147 span{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;background:#b85127;color:#fff;font-size:11px;font-weight:950;letter-spacing:.1em}
.important-update-top-v147 time{font-size:12px;font-weight:800;color:#8d725e}
.important-update-copy-v147 h2{margin:0 0 5px;color:#17382d;font-size:clamp(20px,2.4vw,27px);line-height:1.15}
.important-update-copy-v147 p{margin:0;max-width:900px;color:#586a63;font-size:14px;line-height:1.55}
.important-update-actions-v147{display:flex;align-items:center;justify-content:flex-end}
.important-update-action-v147{appearance:none;border:0;text-decoration:none;min-height:48px;padding:0 17px;border-radius:15px;background:#165d46;color:#fff!important;font:inherit;font-size:13px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap;box-shadow:0 8px 18px rgba(22,93,70,.18)}
.important-update-action-v147:hover{transform:translateY(-1px);filter:brightness(1.03)}
.v147-update-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v147-update-option-grid input{width:100%;box-sizing:border-box;border:1px solid #d7d0c3;border-radius:14px;padding:12px 14px;font:inherit;background:#fff}
.v147-update-link-preview{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-1px 0 10px;padding:8px 10px;border-radius:12px;background:#f7f2e9;color:#5d665f;font-size:12px}
.v147-update-link-preview small{color:#7f877f;overflow-wrap:anywhere}
html[data-theme="dark"] .important-update-v147{background:#08110c}
html[data-theme="dark"] .important-update-card-v147{background:linear-gradient(135deg,#231b12,#111c16 62%,#10231a);border-color:#c87334;box-shadow:0 16px 38px rgba(0,0,0,.3)}
html[data-theme="dark"] .important-update-copy-v147 h2{color:#f4f8f5}
html[data-theme="dark"] .important-update-copy-v147 p{color:#b8c7bf}
html[data-theme="dark"] .important-update-top-v147 time{color:#cbb8a7}
@media(max-width:760px){
  .important-update-v147{padding:12px 0 0}
  .important-update-card-v147{grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;border-radius:20px}
  .important-update-icon-v147{width:46px;height:46px;border-radius:15px;font-size:23px;align-self:start}
  .important-update-actions-v147{grid-column:1/-1;justify-content:stretch}
  .important-update-action-v147{width:100%;min-height:46px}
  .v147-update-option-grid{grid-template-columns:1fr}
}


/* V148 - detay/duyuru düzenleme iyileştirmeleri */
.site-update-important-v148{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#fff0d9;color:#9b5d00;font-size:10px;font-weight:900;letter-spacing:.05em}
.site-updates-dialog-list .site-update-card.is-full-v148 p{white-space:pre-line}
.site-updates-dialog-list .site-update-card.is-target-v148{border-color:#d8782e;box-shadow:0 0 0 3px rgba(216,120,46,.15),0 12px 28px rgba(14,45,35,.12)}
.v148-admin-details{margin:8px 0 10px;padding:9px 11px;border-radius:12px;background:#faf7f1;border:1px solid #ebe3d7}.v148-admin-details summary{cursor:pointer;font-weight:800;color:#355448}.v148-admin-details p{white-space:pre-line;margin:9px 0 0!important}.v148-admin-summary{white-space:pre-line}.v148-update-row-actions,.v148-form-actions{display:flex;gap:9px;flex-wrap:wrap}.v148-update-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v91-admin-update-form.is-editing-v148{outline:2px solid rgba(216,120,46,.28);outline-offset:8px;border-radius:14px}
@media(max-width:760px){.v148-update-toggle-grid{grid-template-columns:1fr}.v148-update-row-actions .btn,.v148-form-actions .btn{flex:1 1 100%}}


/* =========================================================
   V149 - Ana sayfa metni / Detay metni kesin ayrımı
   ========================================================= */
.v149-announcement-copy-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:14px;margin:2px 0 4px}
.v149-copy-card{display:grid;gap:9px;border:1px solid #e3dccf;border-radius:18px;padding:15px;background:#fff;box-shadow:0 7px 18px rgba(29,49,41,.04)}
.v149-copy-card p{margin:0!important;color:#68736e!important;font-size:.84rem!important;line-height:1.45}
.v149-copy-card textarea{width:100%;box-sizing:border-box;border:1px solid #d8d0c4;border-radius:13px;padding:12px;background:#fff;font:inherit;line-height:1.5;resize:vertical}
.v149-copy-card>small{text-align:right;color:#7b827e;font-weight:750}
.v149-copy-head{display:grid;gap:4px}.v149-copy-head span{font-size:.72rem;font-weight:950;letter-spacing:.09em}.v149-copy-head strong{font-size:1rem;color:#1e3d32}
.v149-home-copy{background:linear-gradient(180deg,#fffaf1,#fff)}.v149-home-copy .v149-copy-head span{color:#a35c13}.v149-home-copy textarea{border-color:#e6c896}
.v149-detail-copy{background:linear-gradient(180deg,#f5faf7,#fff)}.v149-detail-copy .v149-copy-head span{color:#176148}.v149-detail-copy textarea{border-color:#b9d7ca}
.v149-admin-update-row{display:grid;gap:11px}.v149-preview-box{border-radius:14px;padding:12px 13px}.v149-home-preview{background:#fff7e9;border:1px solid #edd6ad}.v149-home-preview>span{display:block;color:#9a591a;font-size:.71rem;font-weight:950;letter-spacing:.08em;margin-bottom:6px}.v149-preview-box p{white-space:pre-line;margin:0!important;line-height:1.52!important;color:#42564e!important}.v149-detail-preview{background:#f5faf7;border:1px solid #cfe0d8}.v149-detail-preview summary{cursor:pointer;color:#1f624c;font-weight:900;font-size:.78rem;letter-spacing:.035em}.v149-detail-preview p{padding-top:10px}
.important-detail-modal-v149[hidden]{display:none!important}.important-detail-modal-v149{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:16px}.important-detail-backdrop-v149{position:absolute;inset:0;border:0;background:rgba(8,25,20,.72)}.important-detail-dialog-v149{position:relative;z-index:1;width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:26px;padding:26px;box-shadow:0 30px 90px rgba(0,0,0,.28);border:1px solid #e5ddd1}.important-detail-close-v149{position:absolute;right:15px;top:15px;width:40px;height:40px;border-radius:50%;border:1px solid #ddd4c7;background:#fff;font-size:23px;cursor:pointer}.important-detail-badge-v149{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#fff1d5;color:#91530e;font-size:.73rem;font-weight:950;letter-spacing:.08em}.important-detail-dialog-v149 h2{margin:14px 48px 5px 0;color:#18392d;font-size:clamp(1.35rem,3vw,2rem);line-height:1.2}.important-detail-dialog-v149 time{display:block;color:#7a817d;font-size:.82rem;margin-bottom:18px}.important-detail-body-v149{white-space:pre-line;color:#324b41;font-size:1rem;line-height:1.72;border-top:1px solid #ece5db;padding-top:18px}
@media(max-width:760px){.v149-announcement-copy-grid{grid-template-columns:1fr}.important-detail-dialog-v149{padding:21px 17px;border-radius:22px}.important-detail-body-v149{font-size:.94rem;line-height:1.65}}


/* v234.31 - Yenilikler modalı karanlık mod kesin kontrast düzeltmesi */
html[data-theme="dark"] .site-updates-dialog{background:#10251e!important;border-color:#345247!important;color:#f4f8f6!important}
html[data-theme="dark"] .site-updates-dialog-head h2{color:#f4f8f6!important}
html[data-theme="dark"] .site-updates-dialog-head p{color:#c5d2cd!important}
html[data-theme="dark"] .site-updates-close{background:#1b382e!important;border-color:#4a695d!important;color:#f4f8f6!important}
html[data-theme="dark"] .site-updates-dialog .site-update-card{background:#163128!important;border-color:#45675a!important;color:#f4f8f6!important}
html[data-theme="dark"] .site-updates-dialog .site-update-card strong{color:#f4f8f6!important}
html[data-theme="dark"] .site-updates-dialog .site-update-card p{color:#cbd8d3!important}
html[data-theme="dark"] .site-updates-dialog .site-update-date{color:#aebdb7!important}
html[data-theme="dark"] .site-updates-dialog .site-update-card.is-unread{background:#19372d!important;border-color:#d26a38!important}
html[data-theme="dark"] .site-updates-dialog .site-update-auto{background:#214b3c!important;color:#d8f2e7!important}
html[data-theme="dark"] .site-updates-dialog .site-updates-empty{color:#c5d2cd!important;border-color:#45675a!important}
html[data-theme="dark"] .site-updates-dialog .btn-outline{background:#19372d!important;color:#f4f8f6!important;border-color:#557468!important}

/* ayirici */{}
/* ==== player-recent-matches-v2305.css ==== */
/* Silifke Spor Tenis • V152 • Oyuncu profilinde son 5 Defi maçı */
.player-recent-matches-v152{margin-top:16px}
.player-recent-matches-v152 .history-title{align-items:center;margin-bottom:10px}
.player-recent-matches-v152 .history-title strong{font-size:1rem;color:#183b2f}
.player-recent-matches-v152 .history-title small{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#f2f6f3;color:#527064;font-weight:850;font-size:.72rem}
.player-match-v152{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;padding:11px 12px!important}
.player-match-copy-v152{min-width:0;display:grid;gap:3px}
.player-match-copy-v152 strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-match-copy-v152 small{margin:0!important}
.player-match-score-v152{min-width:58px;max-width:92px;padding:7px 9px;border-radius:11px;background:#f5f1e9;border:1px solid #e4dacb;color:#24463a;font-size:.84rem;font-weight:950;text-align:center;white-space:nowrap}
.player-match-v152.forfeit .player-match-score-v152{background:#fff1e5;border-color:#f0d2b0;color:#9a5a24;font-size:.74rem}
.player-match-loading-v152{padding:13px;border:1px dashed #d9d2c8;border-radius:12px;color:#75817b;font-size:.8rem;text-align:center}
html[data-theme="dark"] .player-recent-matches-v152 .history-title strong{color:#edf5f0}
html[data-theme="dark"] .player-recent-matches-v152 .history-title small{background:#26382f;color:#b8cabf}
html[data-theme="dark"] .player-match-score-v152{background:#29382f;border-color:#3b4c42;color:#eef6f1}
html[data-theme="dark"] .player-match-v152.forfeit .player-match-score-v152{background:#4a3526;border-color:#6a4a30;color:#ffd7ac}
@media(max-width:520px){
  .player-match-v152{grid-template-columns:auto minmax(0,1fr) auto!important;padding:10px!important}
  .player-match-score-v152{min-width:52px;padding:7px 7px;font-size:.8rem}
  .player-match-copy-v152 strong{font-size:12.5px!important}
}

/* V230.3 • Karanlık mod: Son 5 Maç okunabilirlik düzeltmesi */
html[data-theme="dark"] .player-recent-matches-v152 .history-item,
html[data-theme="dark"] .history-list.player-recent-matches-v152 .history-item,
body[data-theme="dark"] .player-recent-matches-v152 .history-item,
body.dark .player-recent-matches-v152 .history-item {
  background:#202d26 !important;
  border-color:#3a4b41 !important;
  color:#edf4ef !important;
}
html[data-theme="dark"] .player-recent-matches-v152 .history-item strong,
body[data-theme="dark"] .player-recent-matches-v152 .history-item strong,
body.dark .player-recent-matches-v152 .history-item strong {
  color:#f7faf8 !important;
}
html[data-theme="dark"] .player-recent-matches-v152 .history-item small,
body[data-theme="dark"] .player-recent-matches-v152 .history-item small,
body.dark .player-recent-matches-v152 .history-item small {
  color:#b8c8bf !important;
}
html[data-theme="dark"] .player-recent-matches-v152 .player-match-score-v152,
body[data-theme="dark"] .player-recent-matches-v152 .player-match-score-v152,
body.dark .player-recent-matches-v152 .player-match-score-v152 {
  background:#29382f !important;
  border-color:#43564a !important;
  color:#f1f7f3 !important;
}
html[data-theme="dark"] .player-recent-matches-v152 .result-chip,
body[data-theme="dark"] .player-recent-matches-v152 .result-chip,
body.dark .player-recent-matches-v152 .result-chip {
  color:#fff !important;
}

/* V230.4 • Ana sayfa Defi > Son 5 Maç karanlık mod kesin düzeltme
   club-theme-v13.css içindeki açık tema .match-row background !important kuralını ezer. */
html[data-theme="dark"] #publicMatchHistory.match-list .match-row {
  background:#202d26 !important;
  border-color:#3a4b41 !important;
  color:#edf4ef !important;
}
html[data-theme="dark"] #publicMatchHistory.match-list .match-row strong {
  color:#f7faf8 !important;
}
html[data-theme="dark"] #publicMatchHistory.match-list .match-row span,
html[data-theme="dark"] #publicMatchHistory.match-list .match-row small {
  color:#b8c8bf !important;
}
html[data-theme="dark"] #publicMatchHistory.match-list .match-row b {
  color:#eef6f1 !important;
}

/* v234.34 G/M koyu mod okunabilirlik */
html[data-theme="dark"] .player-modal-card .player-recent-matches-v152 .result-chip.win{background:#dff2e8!important;color:#145d3c!important;border:1px solid #8fc8ac!important}
html[data-theme="dark"] .player-modal-card .player-recent-matches-v152 .result-chip.loss{background:#f5dfdc!important;color:#8d2f2f!important;border:1px solid #d99b94!important}

/* ayirici */{}
