/*
 * 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;
}
