/* SILIFKE SPOR TENIS - DEFI PUAN LIGI */
.league-section{background:linear-gradient(180deg,#f5f8ff,#edf3fb);border-top:1px solid #d7e2f0;border-bottom:1px solid #d7e2f0}
.league-shell{display:grid;gap:18px}
.league-hero-card{display:grid;grid-template-columns:1.4fr .8fr;gap:18px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#102a56 0%,#1b63d9 72%,#2b7ef0);color:#fff;box-shadow:0 18px 44px rgba(16,42,86,.17);overflow:hidden;position:relative}
.league-hero-card:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-75px;top:-90px;background:rgba(255,178,41,.17)}
.league-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#ffd57b;margin-bottom:7px}
.league-hero-card h2{margin:0 0 8px;font-size:clamp(26px,4vw,42px);line-height:1.05}.league-hero-card p{margin:0;max-width:760px;color:#deebff}
.league-season-side{display:flex;flex-direction:column;gap:10px;align-items:flex-end;justify-content:center;position:relative;z-index:1}.league-state-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:950;background:#ddf7e6;color:#12613b}.league-state-badge.closed{background:#ffe5e8;color:#9b2539}.league-stop-date{font-weight:900;font-size:14px}.league-countdown{font-size:11px;color:#dce9ff}
.league-rules-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.league-rule{background:#fff;border:1px solid #dce5f2;border-radius:16px;padding:13px;box-shadow:0 7px 22px rgba(28,55,100,.05)}.league-rule strong{display:block;color:#1b63d9;font-size:16px}.league-rule small{color:#69778d}
.league-board{background:#fff;border:1px solid #dce5f2;border-radius:22px;overflow:hidden;box-shadow:0 12px 34px rgba(31,63,112,.07)}.league-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid #e4ebf4;flex-wrap:wrap}.league-board-head h3{margin:0}.league-tabs{display:flex;gap:7px;flex-wrap:wrap}.league-tab{border:1px solid #d4e0ef;background:#f6f9fd;color:#294467;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900;cursor:pointer}.league-tab.active{background:#1b63d9;color:#fff;border-color:#1b63d9}.league-table-wrap{overflow:auto}.league-table{width:100%;border-collapse:collapse;min-width:720px}.league-table th,.league-table td{padding:12px 13px;border-bottom:1px solid #edf1f6;text-align:left;font-size:12px}.league-table th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#6b7890;background:#f8fbff}.league-table tr:last-child td{border-bottom:0}.league-rank-no{font-weight:950;color:#1b63d9}.league-player-name{font-weight:900}.league-label{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:950}.league-label.super{background:#fff0c8;color:#875500}.league-label.l1{background:#e9efff;color:#244eb1}.league-label.l2{background:#e7f7ef;color:#22734c}.league-label.l3{background:#f1f2f5;color:#5d6572}.league-points{font-weight:950;color:#102a56;font-size:14px}.league-empty{padding:28px;text-align:center;color:#778398}

/* Yonetim paneli */
.league-admin-card{border:2px solid #7daaf3!important;background:linear-gradient(145deg,#ffffff,#f4f8ff)!important}.league-admin-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;flex-wrap:wrap}.league-admin-status{display:flex;gap:8px;align-items:center}.league-admin-task{margin-top:14px;padding:14px 15px;border-radius:16px;background:#fff3d8;border:1px solid #ffd17b;color:#6c4800}.league-admin-task strong{display:block;margin-bottom:4px}.league-admin-controls{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:10px;align-items:end;margin-top:15px}.league-admin-controls label{display:grid;gap:6px;font-size:11px;font-weight:850;color:#53647c}.league-admin-controls input{width:100%;padding:10px 11px;border:1px solid #cfdaea;border-radius:11px;background:#fff}.league-admin-actions{display:flex;gap:8px;flex-wrap:wrap}.league-stop-btn{background:#b5364a!important;border-color:#b5364a!important;color:#fff!important}.league-open-btn{background:#16724a!important;border-color:#16724a!important;color:#fff!important}.league-admin-mini-ranking{margin-top:16px;display:grid;gap:7px}.league-admin-row{display:grid;grid-template-columns:38px 1fr auto auto;gap:8px;align-items:center;padding:9px 11px;border-radius:12px;background:#fff;border:1px solid #e3eaf4;font-size:11px}.league-admin-row strong{color:#1b63d9}.league-admin-row b{color:#102a56}

@media(max-width:760px){.league-hero-card{grid-template-columns:1fr;padding:18px}.league-season-side{align-items:flex-start}.league-rules-strip{grid-template-columns:1fr 1fr}.league-admin-controls{grid-template-columns:1fr}.league-admin-row{grid-template-columns:32px 1fr auto}.league-admin-row span:last-child{display:none}}


/* V2 - Oyuncu puan detaylari + uye paneli */
.player-league-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:15px 0 0;padding:10px 12px;border-radius:14px;background:#eef4ff;border:1px solid #d5e3fb}
.player-league-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#102a56;color:#fff;font-size:11px;font-weight:950}
.player-league-rank{font-size:11px;font-weight:900;color:#1b63d9}
.player-season-stats{grid-template-columns:repeat(4,1fr)!important;margin-bottom:12px!important}
.player-points-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:4px 0 8px}.player-points-title small{color:#728097;font-size:9px;text-align:right}
.player-points-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.player-points-grid>div{display:grid;gap:4px;padding:11px 9px;border:1px solid #dce5f2;border-radius:13px;background:#f8fbff;text-align:center}.player-points-grid span{font-size:9px;color:#6b7890;font-weight:800}.player-points-grid strong{font-size:18px;color:#1b63d9}.player-points-grid .total{background:#102a56;border-color:#102a56}.player-points-grid .total span{color:#cfe0ff}.player-points-grid .total strong{color:#fff;font-size:21px}
.member-league-summary{margin:14px 0 18px;padding:16px;border:1px solid #cfe0f7;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}
.member-league-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.member-league-summary-head>div:first-child{display:grid;gap:4px}.member-league-summary-head span{font-size:9px;font-weight:950;letter-spacing:.1em;color:#6c7b90}.member-league-summary-head strong{font-size:18px;color:#102a56}.member-league-ranking{padding:8px 10px;border-radius:999px;background:#fff;border:1px solid #d7e4f5;font-size:10px;font-weight:850;color:#5d6c82}.member-league-ranking b{color:#1b63d9;font-size:12px}
.member-league-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.member-league-stats>div{display:grid;gap:3px;align-content:center;min-height:68px;padding:8px;border-radius:12px;background:#fff;border:1px solid #e0e8f3;text-align:center}.member-league-stats span{font-size:8px;color:#738096;font-weight:850}.member-league-stats strong{font-size:16px;color:#1b63d9}.member-league-stats .total{background:#102a56;border-color:#102a56}.member-league-stats .total span{color:#c9dcfb}.member-league-stats .total strong{color:#fff;font-size:19px}
html[data-theme="dark"] .player-league-meta,html[data-theme="dark"] .member-league-summary{background:#111d2f;border-color:#29425f}html[data-theme="dark"] .player-points-grid>div,html[data-theme="dark"] .member-league-stats>div,html[data-theme="dark"] .member-league-ranking{background:#101a24;border-color:#2b4054;color:#eaf2ff}html[data-theme="dark"] .member-league-summary-head strong{color:#eaf2ff}
@media(max-width:900px){.member-league-stats{grid-template-columns:repeat(4,1fr)}}
@media(max-width:620px){.player-season-stats,.player-points-grid{grid-template-columns:repeat(2,1fr)!important}.player-points-title{align-items:flex-start;flex-direction:column}.player-points-title small{text-align:left}.member-league-summary-head{align-items:flex-start;flex-direction:column}.member-league-stats{grid-template-columns:repeat(2,1fr)}}

/* V3 - Manuel lig durdurma + Super Admin tam oyuncu/match gorunumu */
.league-manual-state{font-size:12px;font-weight:800;color:#dce9ff;max-width:280px;text-align:right}
.league-admin-controls-manual{grid-template-columns:1fr auto}
.league-manual-help{padding:11px 13px;border-radius:12px;background:#eef5ff;border:1px solid #d4e3f8;color:#53647c;font-size:11px;font-weight:800}
.league-admin-player-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding:13px 0 10px;border-top:1px solid #dfe8f4}
.league-admin-player-head>div{display:grid;gap:2px}.league-admin-player-head strong{font-size:15px;color:#102a56}.league-admin-player-head small{font-size:10px;color:#77859a}
.league-admin-player-head input{min-width:260px;max-width:360px;width:100%;padding:10px 12px;border:1px solid #ccd9ea;border-radius:12px;background:#fff;color:#21354e}
.league-admin-table-wrap{overflow:auto;border:1px solid #dce5f2;border-radius:15px;background:#fff}
.league-admin-table,.league-match-table{width:100%;border-collapse:collapse;min-width:1050px}
.league-admin-table th,.league-admin-table td,.league-match-table th,.league-match-table td{padding:10px 11px;border-bottom:1px solid #edf1f6;text-align:left;font-size:11px;white-space:nowrap}
.league-admin-table th,.league-match-table th{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#6d7a90;background:#f7faff;position:sticky;top:0;z-index:1}
.league-admin-table tbody tr:hover{background:#f7faff}.league-admin-table tbody tr.selected{background:#edf4ff}.league-admin-player-name{font-weight:900;color:#18355f}.league-admin-total{font-weight:950;color:#173a72;font-size:13px!important}
.league-detail-btn{border:1px solid #bcd2f2;background:#edf5ff;color:#1b63d9;border-radius:9px;padding:6px 9px;font-size:9px;font-weight:950;cursor:pointer}.league-detail-btn:hover{background:#1b63d9;color:#fff}
.league-player-match-card{margin-top:15px;padding:15px;border:1px solid #cfe0f7;border-radius:18px;background:#f8fbff}
.league-player-match-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.league-player-match-head span{font-size:9px;letter-spacing:.1em;font-weight:950;color:#6d7b90}.league-player-match-head h3{margin:3px 0 0;color:#102a56}.league-player-summary-pills{display:flex;gap:6px;flex-wrap:wrap}.league-player-summary-pills b{padding:7px 9px;border-radius:999px;background:#fff;border:1px solid #d3e1f3;color:#24476f;font-size:10px}
.league-match-table{min-width:760px}.match-result{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:950}.match-result.win{background:#e3f7eb;color:#17643d}.match-result.loss{background:#ffe8eb;color:#9b2b3c}.league-loading{padding:18px;text-align:center;color:#718098;font-size:11px}.league-error{padding:13px;border-radius:12px;background:#fff0f1;border:1px solid #ffcbd1;color:#9a2637;font-size:11px;margin-top:10px}
html[data-theme="dark"] .league-manual-help,html[data-theme="dark"] .league-admin-table-wrap,html[data-theme="dark"] .league-player-match-card,html[data-theme="dark"] .league-admin-player-head input{background:#101a24;border-color:#2b4054;color:#eaf2ff}html[data-theme="dark"] .league-admin-table th,html[data-theme="dark"] .league-match-table th{background:#142132;color:#aebed1}html[data-theme="dark"] .league-admin-table td,html[data-theme="dark"] .league-match-table td{border-color:#223449}html[data-theme="dark"] .league-admin-player-name,html[data-theme="dark"] .league-player-match-head h3{color:#eaf2ff}
@media(max-width:760px){.league-manual-state{text-align:left}.league-admin-controls-manual{grid-template-columns:1fr}.league-admin-player-head input{min-width:0;max-width:none}.league-player-match-card{padding:12px}}

/* V9 - Super Admin oyuncu listesi: ilk 3 + acilir liste + arama */
.league-admin-search-wrap{display:flex;align-items:center;gap:8px;min-width:280px;max-width:390px;width:100%;padding:0 11px;border:1px solid #ccd9ea;border-radius:12px;background:#fff}
.league-admin-search-wrap span{font-size:14px;opacity:.7}
.league-admin-search-wrap input{min-width:0!important;max-width:none!important;width:100%!important;padding:10px 0!important;border:0!important;border-radius:0!important;outline:none;background:transparent!important;box-shadow:none!important}
.league-admin-list-toggle{display:flex;justify-content:center;padding:12px 0 2px}
.league-list-toggle-btn{border:1px solid #bfd1e8;background:#f5f9ff;color:#1b4f91;border-radius:12px;padding:10px 16px;font-size:11px;font-weight:900;cursor:pointer;transition:.15s ease}
.league-list-toggle-btn:hover{background:#eaf3ff;border-color:#8fb3df;transform:translateY(-1px)}
html[data-theme="dark"] .league-admin-search-wrap{background:#101a24;border-color:#2b4054;color:#eaf2ff}
html[data-theme="dark"] .league-list-toggle-btn{background:#142132;border-color:#2b4054;color:#dcecff}
@media(max-width:760px){.league-admin-search-wrap{min-width:0;max-width:none}.league-list-toggle-btn{width:100%}}


/* V15 - Giris yapan oyuncunun kendi ligi varsayilan + kendi satiri vurgulu */
.league-tab{display:inline-flex;align-items:center;gap:6px}
.league-my-tab{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:#fff0c8;color:#7b5000;font-size:7px;font-weight:950;letter-spacing:.02em}
.league-tab.active .league-my-tab{background:rgba(255,255,255,.2);color:#fff}
.league-self-row td{background:#fff7e7!important;border-top:1px solid #efcf9d;border-bottom:1px solid #efcf9d}
.league-self-row td:first-child{box-shadow:inset 4px 0 0 #b95735}
.league-self-name{color:#b95735!important;font-weight:950!important}
.league-you-badge{display:inline-flex;vertical-align:middle;margin-left:7px;padding:3px 6px;border-radius:999px;background:#b95735;color:#fff;font-size:7px;font-weight:950;letter-spacing:.05em}
html[data-theme="dark"] .league-self-row td{background:#31241e!important;border-color:#704a38}
html[data-theme="dark"] .league-self-name{color:#ff9b78!important}
@media(max-width:760px){.league-my-tab{font-size:6px;padding:2px 5px}.league-you-badge{margin-left:4px}}


/* =========================================================
   V30 - UYE PANELI MAC GECMISI
   Oynanan / Galibiyet / Maglubiyet kartlari tiklanabilir.
   ========================================================= */
.member-league-stats>button.member-league-stat-button{
  appearance:none;
  display:grid;
  gap:3px;
  align-content:center;
  min-height:68px;
  padding:8px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e0e8f3;
  text-align:center;
  font:inherit;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.member-league-stats>button.member-league-stat-button span{
  font-size:8px;
  color:#738096;
  font-weight:850;
}
.member-league-stats>button.member-league-stat-button strong{
  font-size:16px;
  color:#1b63d9;
}
.member-league-stats>button.member-league-stat-button small{
  color:#7c8798;
  font-size:7px;
  font-weight:800;
}
.member-league-stats>button.member-league-stat-button:hover,
.member-league-stats>button.member-league-stat-button:focus-visible{
  border-color:#8fb9ee;
  background:#f7fbff;
}
.member-league-stats>button.member-league-stat-button.active{
  border-color:#1b63d9;
  background:#eef5ff;
  box-shadow:inset 0 0 0 1px rgba(27,99,217,.08);
}
.member-league-stats>button.member-league-stat-button.win.active{
  border-color:#178454;
  background:#edf9f3;
}
.member-league-stats>button.member-league-stat-button.loss.active{
  border-color:#bd5b45;
  background:#fff3ef;
}

.member-match-history{
  margin-top:12px;
  padding:12px;
  border:1px solid #d9e3ef;
  border-radius:14px;
  background:rgba(255,255,255,.72);
}
.member-match-history[hidden]{display:none!important}
.member-match-history-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 10px;
}
.member-match-history-head>div{
  display:grid;
  gap:2px;
}
.member-match-history-head span{
  font-size:8px;
  font-weight:950;
  letter-spacing:.1em;
  color:#718097;
}
.member-match-history-head strong{
  font-size:14px;
  color:#102a56;
}
.member-match-history-close{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #dbe4ef;
  border-radius:10px;
  background:#fff;
  color:#536174;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.member-match-history-list{
  display:grid;
  gap:7px;
}
.member-match-history-row{
  display:grid;
  grid-template-columns:135px minmax(0,1fr) 92px;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid #e1e7ee;
  border-radius:12px;
  background:#fff;
}
.member-match-history-row.win{
  border-left:4px solid #178454;
}
.member-match-history-row.loss{
  border-left:4px solid #bd5b45;
}
.member-match-history-result,
.member-match-history-opponent,
.member-match-history-score{
  display:grid;
  gap:2px;
  min-width:0;
}
.member-match-history-result small,
.member-match-history-opponent span,
.member-match-history-score span,
.member-match-history-score small{
  color:#778396;
  font-size:8px;
  font-weight:800;
}
.member-match-history-opponent strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#15253c;
  font-size:12px;
}
.member-match-history-score{
  text-align:right;
}
.member-match-history-score strong{
  color:#102a56;
  font-size:16px;
}
.member-match-result-badge{
  width:max-content;
  max-width:100%;
  padding:4px 7px;
  border-radius:999px;
  font-size:8px!important;
  font-weight:950!important;
}
.member-match-result-badge.win{
  background:#e6f5ed;
  color:#0f7448!important;
}
.member-match-result-badge.loss{
  background:#fdebe6;
  color:#a64432!important;
}
.member-match-history-empty{
  padding:16px;
  border:1px dashed #d8e1eb;
  border-radius:11px;
  color:#738096;
  background:#fff;
  text-align:center;
  font-size:11px;
  font-weight:750;
}
.member-match-history-empty.error{
  color:#a64432;
  border-color:#edc8be;
  background:#fff6f3;
}

html[data-theme="dark"] .member-league-stats>button.member-league-stat-button,
html[data-theme="dark"] .member-match-history,
html[data-theme="dark"] .member-match-history-row,
html[data-theme="dark"] .member-match-history-close,
html[data-theme="dark"] .member-match-history-empty{
  background:#101a24;
  border-color:#2b4054;
}
html[data-theme="dark"] .member-match-history-head strong,
html[data-theme="dark"] .member-match-history-opponent strong,
html[data-theme="dark"] .member-match-history-score strong{
  color:#eaf2ff;
}
html[data-theme="dark"] .member-league-stats>button.member-league-stat-button.active{
  background:#142a44;
}
html[data-theme="dark"] .member-league-stats>button.member-league-stat-button.win.active{
  background:#153328;
}
html[data-theme="dark"] .member-league-stats>button.member-league-stat-button.loss.active{
  background:#3b231e;
}

@media(max-width:620px){
  .member-match-history-row{
    grid-template-columns:1fr auto;
    gap:8px;
  }
  .member-match-history-result{
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-bottom:6px;
    border-bottom:1px solid #edf0f4;
  }
  .member-match-history-score{
    min-width:66px;
  }
}


/* =========================================================
   V31 - SERI / AKTIFLIK / FARKLI RAKIP BONUSLARI
   ========================================================= */
.league-rule.bonus-rule{
  background:linear-gradient(145deg,#fffdf8,#fff7e8);
}
.league-streak-badge,
.member-current-streak,
.player-streak-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:4px 8px;
  border:1px solid #f0c36a;
  border-radius:999px;
  background:#fff5d8;
  color:#8b5c09;
  font-size:9px;
  font-weight:950;
  white-space:nowrap;
}
.league-player-name .league-streak-badge,
.league-admin-player-name .league-streak-badge{
  margin-left:7px;
  vertical-align:middle;
}
.league-player-bonus-summary{
  margin:-4px 0 12px;
  padding:8px 10px;
  border:1px solid #eadfc8;
  border-radius:10px;
  background:#fffaf0;
  color:#6f6049;
  font-size:10px;
  font-weight:800;
}
.match-bonus-chip{
  display:inline-flex;
  margin:2px 2px 2px 0;
  padding:3px 6px;
  border-radius:999px;
  background:#fff4d6;
  color:#825909;
  font-size:9px;
  font-weight:850;
}

.pyramid-player,
.defi-member-player{
  position:relative;
}
.pyramid-streak-badge{
  position:absolute;
  top:6px;
  right:7px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:2px 5px;
  border:1px solid rgba(224,162,38,.55);
  border-radius:999px;
  background:#fff3cf;
  color:#805307;
  font-size:8px;
  line-height:1.1;
  font-weight:950;
  white-space:nowrap;
  pointer-events:none;
}
.member-league-summary-head>div:first-child{
  display:grid;
  gap:4px;
}
.player-league-meta{
  flex-wrap:wrap;
}

.member-match-history-row{
  grid-template-columns:125px minmax(0,1fr) 85px minmax(90px,145px);
}
.member-match-history-points{
  display:grid;
  gap:2px;
  min-width:0;
  text-align:right;
}
.member-match-history-points>span{
  color:#778396;
  font-size:8px;
  font-weight:800;
}
.member-match-history-points>strong{
  color:#0f7047;
  font-size:15px;
}
.member-match-history-points>small{
  color:#8b681d;
  font-size:7px;
  font-weight:800;
  line-height:1.35;
}

html[data-theme="dark"] .league-rule.bonus-rule,
html[data-theme="dark"] .league-player-bonus-summary{
  background:#2a2418;
  border-color:#564729;
  color:#e8d7ac;
}
html[data-theme="dark"] .league-streak-badge,
html[data-theme="dark"] .member-current-streak,
html[data-theme="dark"] .player-streak-badge,
html[data-theme="dark"] .pyramid-streak-badge,
html[data-theme="dark"] .match-bonus-chip{
  background:#3b3018;
  border-color:#675326;
  color:#f0d58a;
}

@media(max-width:900px){
  .member-league-stats{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:620px){
  .member-league-stats{grid-template-columns:repeat(2,1fr)}
  .player-points-grid{grid-template-columns:repeat(2,1fr)!important}
  .member-match-history-row{
    grid-template-columns:1fr auto;
  }
  .member-match-history-points{
    grid-column:1/-1;
    text-align:left;
    padding-top:6px;
    border-top:1px solid #edf0f4;
  }
}


/* =========================================================
   V32 - BONUS KARTLARI ACIKLAMA + KAZANILAN BONUS DETAYI
   ========================================================= */
.member-league-stats>button.member-league-bonus-button{
  appearance:none;
  display:grid;
  gap:3px;
  align-content:center;
  min-height:68px;
  padding:8px;
  border:1px solid #e0e8f3;
  border-radius:12px;
  background:#fff;
  text-align:center;
  font:inherit;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.member-league-stats>button.member-league-bonus-button span{
  color:#66728a;
  font-size:8px;
  font-weight:850;
}
.member-league-stats>button.member-league-bonus-button strong{
  color:#1b63d9;
  font-size:16px;
}
.member-league-stats>button.member-league-bonus-button small{
  color:#8a6c2b;
  font-size:7px;
  font-weight:850;
}
.member-league-stats>button.member-league-bonus-button:hover,
.member-league-stats>button.member-league-bonus-button:focus-visible{
  border-color:#e1b84e;
  background:#fffcf2;
}
.member-league-stats>button.member-league-bonus-button.active{
  border-color:#d9a928;
  background:#fff7dd;
  box-shadow:inset 0 0 0 1px rgba(217,169,40,.08);
}

.member-bonus-detail{
  margin-top:12px;
  padding:13px;
  border:1px solid #ead9b5;
  border-radius:14px;
  background:linear-gradient(145deg,#fffdf8,#fff9ec);
}
.member-bonus-detail[hidden]{display:none!important}
.member-bonus-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.member-bonus-detail-head>div{
  display:grid;
  gap:3px;
}
.member-bonus-detail-head span{
  color:#9b7420;
  font-size:8px;
  font-weight:950;
  letter-spacing:.1em;
}
.member-bonus-detail-head strong{
  color:#182a43;
  font-size:15px;
}
.member-bonus-detail-head small{
  max-width:760px;
  color:#6f7785;
  font-size:10px;
  line-height:1.5;
}
.member-bonus-detail-close{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border:1px solid #e8d8b7;
  border-radius:10px;
  background:#fff;
  color:#75634a;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.member-bonus-detail-summary{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:10px;
  align-items:center;
  margin-top:12px;
  padding:10px;
  border:1px solid rgba(218,181,91,.35);
  border-radius:12px;
  background:rgba(255,255,255,.75);
}
.member-bonus-detail-summary>div{
  display:grid;
  gap:2px;
}
.member-bonus-detail-summary span{
  color:#7c8490;
  font-size:8px;
  font-weight:850;
}
.member-bonus-detail-summary strong{
  color:#0f6544;
  font-size:20px;
}
.member-bonus-detail-summary p{
  margin:0;
  color:#6b5a37;
  font-size:10px;
  font-weight:800;
  line-height:1.5;
}
.member-bonus-awards{
  display:grid;
  gap:7px;
  margin-top:10px;
}
.member-bonus-awards-title{
  padding:1px 2px 3px;
  color:#8b742f;
  font-size:8px;
  font-weight:950;
  letter-spacing:.08em;
}
.member-bonus-award-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #e8dfce;
  border-radius:11px;
  background:#fff;
}
.member-bonus-award-row>div{
  display:grid;
  gap:2px;
  min-width:0;
}
.member-bonus-award-row span{
  color:#7c8694;
  font-size:8px;
  font-weight:800;
}
.member-bonus-award-row strong{
  overflow:hidden;
  color:#1a2b43;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.member-bonus-award-score{
  text-align:right;
}
.member-bonus-award-score strong{
  color:#0f7047;
  font-size:15px;
}
.member-bonus-empty{
  display:grid;
  gap:3px;
  padding:14px;
  border:1px dashed #dfd1b3;
  border-radius:11px;
  background:#fff;
  text-align:center;
}
.member-bonus-empty strong{
  color:#705a2f;
  font-size:11px;
}
.member-bonus-empty span,
.member-bonus-empty{
  color:#7c8490;
  font-size:10px;
}
.member-bonus-empty.error{
  color:#a64432;
  border-color:#edc8be;
  background:#fff6f3;
}

html[data-theme="dark"] .member-league-stats>button.member-league-bonus-button,
html[data-theme="dark"] .member-bonus-detail,
html[data-theme="dark"] .member-bonus-detail-close,
html[data-theme="dark"] .member-bonus-detail-summary,
html[data-theme="dark"] .member-bonus-award-row,
html[data-theme="dark"] .member-bonus-empty{
  background:#171f25;
  border-color:#51452c;
}
html[data-theme="dark"] .member-league-stats>button.member-league-bonus-button.active{
  background:#302918;
  border-color:#755f28;
}
html[data-theme="dark"] .member-bonus-detail-head strong,
html[data-theme="dark"] .member-bonus-award-row strong{
  color:#eef4ff;
}
html[data-theme="dark"] .member-bonus-detail-head small,
html[data-theme="dark"] .member-bonus-detail-summary p{
  color:#c9c2b2;
}

@media(max-width:620px){
  .member-bonus-detail-summary{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V33 - YILLIK LIG / SEZON ARSIVI
   ========================================================= */
.league-season-rollover-btn{
  background:#8a5315!important;
  border-color:#8a5315!important;
  color:#fff!important;
}
.league-season-rollover-btn:hover{
  filter:brightness(.95);
}

.member-season-history-card{
  margin-top:14px;
  padding:14px;
  border:1px solid #d9e2eb;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f8fbff);
}
.member-season-history-card[hidden]{display:none!important}
.member-season-history-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.member-season-history-head>div{
  display:grid;
  gap:2px;
}
.member-season-history-head span{
  color:#6e7d91;
  font-size:8px;
  font-weight:950;
  letter-spacing:.1em;
}
.member-season-history-head strong{
  color:#132a4b;
  font-size:14px;
}
.member-season-history-head small{
  color:#7c8795;
  font-size:9px;
}
.member-season-history-list{
  display:grid;
  gap:8px;
}
.member-season-history-row{
  display:grid;
  grid-template-columns:150px 90px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid #e0e6ed;
  border-radius:12px;
  background:#fff;
}
.member-season-year{
  display:grid;
  gap:1px;
}
.member-season-year span{
  color:#9a6715;
  font-size:9px;
  font-weight:950;
}
.member-season-year strong{
  color:#152842;
  font-size:11px;
}
.member-season-points{
  display:flex;
  align-items:baseline;
  gap:4px;
}
.member-season-points strong{
  color:#0f6544;
  font-size:21px;
}
.member-season-points span{
  color:#7a8793;
  font-size:8px;
  font-weight:800;
}
.member-season-meta{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.member-season-meta span{
  padding:4px 7px;
  border-radius:999px;
  background:#f1f5f8;
  color:#596a7a;
  font-size:8px;
  font-weight:850;
}

.player-season-history{
  margin-top:14px;
  padding:12px;
  border:1px solid #e0e5ec;
  border-radius:13px;
  background:#fbfcfe;
}
.player-season-history[hidden]{display:none!important}
.player-season-history-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.player-season-history-head strong{
  color:#152a48;
  font-size:13px;
}
.player-season-history-head small{
  color:#7c8795;
  font-size:8px;
}
.player-season-history-list{
  display:grid;
  gap:7px;
}
.player-season-history-row{
  display:grid;
  grid-template-columns:120px 72px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border:1px solid #e4e9ef;
  border-radius:11px;
  background:#fff;
}
.player-season-history-row>div:first-child{
  display:grid;
  gap:1px;
}
.player-season-history-row>div:first-child span{
  color:#9a6715;
  font-size:8px;
  font-weight:950;
}
.player-season-history-row>div:first-child strong{
  color:#152842;
  font-size:10px;
}
.player-season-history-score{
  display:flex;
  align-items:baseline;
  gap:3px;
}
.player-season-history-score strong{
  color:#0f6544;
  font-size:18px;
}
.player-season-history-score span{
  color:#7b8794;
  font-size:7px;
}
.player-season-history-meta{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.player-season-history-meta span{
  padding:3px 6px;
  border-radius:999px;
  background:#f1f4f7;
  color:#5f6d7c;
  font-size:7px;
  font-weight:850;
}

html[data-theme="dark"] .member-season-history-card,
html[data-theme="dark"] .member-season-history-row,
html[data-theme="dark"] .player-season-history,
html[data-theme="dark"] .player-season-history-row{
  background:#151e25;
  border-color:#2e3e4c;
}
html[data-theme="dark"] .member-season-history-head strong,
html[data-theme="dark"] .member-season-year strong,
html[data-theme="dark"] .player-season-history-head strong,
html[data-theme="dark"] .player-season-history-row>div:first-child strong{
  color:#edf4ff;
}
html[data-theme="dark"] .member-season-meta span,
html[data-theme="dark"] .player-season-history-meta span{
  background:#23313b;
  color:#c4d0db;
}

@media(max-width:620px){
  .member-season-history-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .member-season-history-row{
    grid-template-columns:1fr auto;
  }
  .member-season-meta{
    grid-column:1/-1;
    justify-content:flex-start;
  }
  .player-season-history-row{
    grid-template-columns:1fr auto;
  }
  .player-season-history-meta{
    grid-column:1/-1;
    justify-content:flex-start;
  }
}


/* =========================================================
   V34 - SEZON GERI ALMA GUVENCESI
   ========================================================= */
.league-season-recovery{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 16px;
  padding:12px 14px;
  border:1px solid #d7e2dc;
  border-radius:13px;
  background:linear-gradient(145deg,#f7fbf8,#fffdf8);
}
.league-season-recovery>div:first-child{
  display:grid;
  gap:3px;
}
.league-season-recovery strong{
  color:#174c37;
  font-size:11px;
}
.league-season-recovery small{
  color:#6f7b74;
  font-size:9px;
  line-height:1.45;
}
.league-season-recovery-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.league-reopen-season-btn,
.league-undo-rollover-btn{
  border-color:#7ca68f!important;
  background:#edf7f1!important;
  color:#15573b!important;
}
.league-reopen-season-btn:hover,
.league-undo-rollover-btn:hover{
  background:#e1f1e7!important;
}
html[data-theme="dark"] .league-season-recovery{
  background:#17231e;
  border-color:#315044;
}
html[data-theme="dark"] .league-season-recovery strong{
  color:#bce8d2;
}
html[data-theme="dark"] .league-season-recovery small{
  color:#a8b8b0;
}
html[data-theme="dark"] .league-reopen-season-btn,
html[data-theme="dark"] .league-undo-rollover-btn{
  background:#20392e!important;
  border-color:#426b59!important;
  color:#c7edd9!important;
}
@media(max-width:720px){
  .league-season-recovery{
    align-items:flex-start;
    flex-direction:column;
  }
  .league-season-recovery-actions{
    width:100%;
  }
  .league-season-recovery-actions .btn{
    width:100%;
  }
}


/* =========================================================
   V45 - UYE PANELI DISIPLIN / CEZA GECMISI
   ========================================================= */
.member-discipline-card{
  margin-top:14px;
  padding:14px;
  border:1px solid #edcfbf;
  border-radius:14px;
  background:linear-gradient(145deg,#fffdfb,#fff7f2);
}
.member-discipline-card[hidden]{display:none!important}
.member-discipline-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.member-discipline-head>div{
  display:grid;
  gap:2px;
}
.member-discipline-head span{
  color:#b55435;
  font-size:8px;
  font-weight:950;
  letter-spacing:.1em;
}
.member-discipline-head strong{
  color:#34221d;
  font-size:14px;
}
.member-discipline-head small{
  color:#846f67;
  font-size:9px;
}
.member-discipline-list{
  display:grid;
  gap:8px;
}
.member-discipline-row{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  padding:11px;
  border:1px solid #eadbd3;
  border-radius:12px;
  background:#fff;
}
.member-discipline-row.penalty{border-left:4px solid #c97922}
.member-discipline-row.danger{border-left:4px solid #b94335}
.member-discipline-row.restored{border-left:4px solid #23734c}
.member-discipline-icon{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:#fff0e6;
  color:#aa4b2f;
  font-size:17px;
  font-weight:950;
}
.member-discipline-row.restored .member-discipline-icon{
  background:#eaf7ef;
  color:#1c7147;
}
.member-discipline-main{
  display:grid;
  gap:6px;
  min-width:0;
}
.member-discipline-title{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.member-discipline-title strong{
  color:#2a2421;
  font-size:11px;
}
.member-discipline-title span{
  color:#8b817b;
  font-size:8px;
  white-space:nowrap;
}
.member-discipline-main p{
  margin:0;
  color:#655c57;
  font-size:9px;
  line-height:1.5;
}
.member-discipline-reason{
  display:grid;
  gap:2px;
  padding:8px 9px;
  border-radius:9px;
  background:#fff8f1;
}
.member-discipline-reason span{
  color:#9a6f59;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.member-discipline-reason strong{
  color:#4e352a;
  font-size:9px;
  line-height:1.45;
}
.member-discipline-more{
  margin-top:2px;
  border:1px solid #eadbd3;
  border-radius:11px;
  overflow:hidden;
  background:#fffaf7;
}
.member-discipline-more>summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 11px;
  cursor:pointer;
  user-select:none;
}
.member-discipline-more>summary::-webkit-details-marker{display:none}
.member-discipline-more>summary span{
  flex:1;
  color:#6c4c3e;
  font-size:9px;
  font-weight:900;
}
.member-discipline-more>summary strong{
  padding:3px 7px;
  border-radius:999px;
  background:#f5e4da;
  color:#9b4e35;
  font-size:8px;
}
.member-discipline-more>summary em{
  font-style:normal;
  color:#8c6d5f;
  transition:transform .18s ease;
}
.member-discipline-more[open]>summary em{transform:rotate(180deg)}
.member-discipline-more-list{
  display:grid;
  gap:8px;
  padding:0 9px 9px;
  border-top:1px solid #eadbd3;
}
.member-discipline-more-list>.member-discipline-row:first-child{
  margin-top:9px;
}

html[data-theme="dark"] .member-discipline-card{
  background:#241c18;
  border-color:#5b4337;
}
html[data-theme="dark"] .member-discipline-head strong{
  color:#f4e9e3;
}
html[data-theme="dark"] .member-discipline-head small{
  color:#c3aaa0;
}
html[data-theme="dark"] .member-discipline-row{
  background:#1d2822;
  border-color:#4b443c;
}
html[data-theme="dark"] .member-discipline-title strong{
  color:#f3f6f4;
}
html[data-theme="dark"] .member-discipline-title span,
html[data-theme="dark"] .member-discipline-main p{
  color:#bbc3bd;
}
html[data-theme="dark"] .member-discipline-reason{
  background:#30251f;
}
html[data-theme="dark"] .member-discipline-reason span{
  color:#d49b7f;
}
html[data-theme="dark"] .member-discipline-reason strong{
  color:#f0ddd3;
}
html[data-theme="dark"] .member-discipline-more{
  background:#211d1a;
  border-color:#504138;
}
html[data-theme="dark"] .member-discipline-more>summary span{
  color:#e8d3c8;
}
html[data-theme="dark"] .member-discipline-more-list{
  border-color:#504138;
}

@media(max-width:620px){
  .member-discipline-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .member-discipline-title{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}


/* =========================================================
   V46 - UYE DISIPLIN DURUM MESAJI
   ========================================================= */
.member-discipline-empty{
  display:grid;
  gap:4px;
  padding:13px;
  border:1px dashed #dfcbbf;
  border-radius:11px;
  background:#fffaf7;
  text-align:center;
}
.member-discipline-empty strong{
  color:#614538;
  font-size:10px;
}
.member-discipline-empty span{
  color:#88736a;
  font-size:8px;
  line-height:1.45;
}
.member-discipline-empty.error{
  border-color:#e8bdb1;
  background:#fff4f1;
}
.member-discipline-empty.error strong{
  color:#a34335;
}
html[data-theme="dark"] .member-discipline-empty{
  background:#211d1a;
  border-color:#57463d;
}
html[data-theme="dark"] .member-discipline-empty strong{
  color:#eadbd3;
}
html[data-theme="dark"] .member-discipline-empty span{
  color:#baa8a0;
}


/* =========================================================
   V50 - UYE PANELI SIRALAMA
   Piramit üstte, Lig/Disiplin geçmişi piramidin altında.
   ========================================================= */
.defi-member-pyramid + .member-season-history-card{
  margin-top:16px;
}
.member-season-history-card + .member-discipline-card{
  margin-top:12px;
}


/* =========================================================
   V51 - ÜYE PANEL GEÇMİŞ / DİSİPLİN RESPONSIVE
   ========================================================= */
.account-grid .member-season-history-card,
.account-grid .member-discipline-card{
  margin-top:0;
}
@media(min-width:901px){
  .account-grid .member-season-history-card,
  .account-grid .member-discipline-card{
    align-self:stretch;
  }
}


/* =========================================================
   V52 - UYE PANELI TEKLIF DURAKLATMA
   ========================================================= */
#defiLeagueMessage.defi-pause-warning{
  display:grid;gap:3px;padding:10px 12px;border:1px solid #e4c581;border-radius:11px;
  background:#fff7e4;color:#76551b
}
#defiLeagueMessage.defi-pause-warning small{color:#8c713f;font-size:8px}
.defi-member-player.offers-paused{opacity:.82}
.defi-member-player .pause-label{color:#9a6713!important}
html[data-theme="dark"] #defiLeagueMessage.defi-pause-warning{background:#302919;border-color:#66562e;color:#ead49d}
html[data-theme="dark"] #defiLeagueMessage.defi-pause-warning small{color:#c8b27f}
