
:root{
  --green:#0f5f3c;
  --green-dark:#083c27;
  --mint:#b8f04a;
  --text:#14221b;
  --muted:#6d7971;
  --line:#e2e8e3;
  --paper:#fff;
  --soft:#f5f8f5;
  --danger:#9b3333;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
button{cursor:pointer}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.site-header,.admin-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.admin-header{background:var(--green-dark);color:#fff}
.nav-wrap{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:21px}
.brand-mark{width:38px;height:38px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center}
.brand-mark .ball{width:12px;height:12px;border-radius:50%;background:var(--mint)}
.main-nav{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:700}
.menu-btn{display:none;border:0;background:none;font-size:25px}
.nav-disabled{color:#9da7a0}
.admin-link{color:var(--green)}
.hero{background:linear-gradient(135deg,#f5f8f4,#deebdf);padding:80px 0}
.hero h1{font-size:clamp(44px,7vw,78px);line-height:1;margin:0 0 18px;letter-spacing:-.05em;max-width:760px}
.hero h1 span{color:var(--green)}
.hero p{font-size:18px;line-height:1.7;color:#526158;max-width:680px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.btn{min-height:48px;border-radius:13px;border:1px solid transparent;padding:0 19px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.btn-primary{background:var(--green);color:#fff}
.btn-light{background:#fff;border-color:var(--line)}
.btn-outline{background:#fff;color:var(--green);border-color:var(--green)}
.section{padding:82px 0}
.section-dark{background:var(--green-dark);color:#fff}
.section-title{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}
.section-title h2{font-size:clamp(32px,4vw,50px);letter-spacing:-.04em;margin:6px 0 0}
.section-title p{max-width:510px;color:#bfcac3;line-height:1.7;margin:0}
.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:800;color:var(--green)}
.section-dark .eyebrow{color:var(--mint)}
.quick-links{padding:30px 0;border-bottom:1px solid var(--line)}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.quick-card{border:1px solid var(--line);border-radius:15px;padding:16px;background:#fff;font-weight:700}
.quick-card small{display:block;color:var(--muted);font-weight:400;margin-top:4px}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{border:1px solid var(--line);border-radius:20px;padding:24px;background:#fff}
.card h3{margin:0 0 8px}
.card p{color:var(--muted);line-height:1.65}
.defi-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.defi-home-grid .defi-card:first-child{grid-column:1/-1}

.defi-card{background:#fff;color:var(--text);border-radius:22px;overflow:hidden;min-width:0}
.defi-card-head{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px;border-bottom:1px solid var(--line)}
.defi-card-head strong{font-size:15px}
.defi-card-head small{font-size:10px;color:var(--muted)}
.defi-pyramid{padding:24px 14px 28px;display:flex;flex-direction:column;align-items:center;gap:12px;overflow-x:auto}
.pyramid-row{display:flex;justify-content:center;gap:9px;min-width:max-content}
.pyramid-player{position:relative;width:112px;min-height:70px;border:1px solid var(--line);border-radius:14px;background:#f8faf8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:13px 8px;color:var(--text)}
.pyramid-player.leader{background:#eef8df;border-color:#bddb93}
.pyramid-rank{position:absolute;top:-9px;left:50%;transform:translateX(-50%);min-width:26px;height:22px;border-radius:999px;background:var(--green);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;padding:0 6px}
.pyramid-player strong{font-size:12px;max-width:95px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pyramid-player small{font-size:10px;color:var(--muted);margin-top:4px}
.public-ladder .row,.admin-standings .row{display:grid;grid-template-columns:45px 1fr 55px 55px;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid var(--line)}
.public-ladder .row:last-child,.admin-standings .row:last-child{border-bottom:0}
.rank{font-weight:800;color:var(--green)}
.wl{text-align:center;font-size:11px;color:var(--muted)}
.wl strong{display:block;font-size:14px;color:var(--text)}
.match-list{padding:13px;display:grid;gap:9px}
.match-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:11px;background:#f8faf8}
.match-row strong,.match-row span{display:block}
.match-row strong{font-size:13px;color:var(--green)}
.match-row span{font-size:12px;color:var(--muted);margin-top:2px}
.match-row b{display:block;text-align:right;font-size:12px}
.match-row small{display:block;text-align:right;color:var(--muted);font-size:9px;margin-top:3px}
.empty{padding:22px;text-align:center;color:var(--muted);font-size:13px}
.coming{border:1px dashed #cbd4ce;border-radius:20px;padding:28px;background:#fafbfa}
.contact{background:var(--green-dark);color:#fff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.contact-form{background:#fff;color:var(--text);border-radius:20px;padding:22px;display:grid;gap:13px}
.contact-form label,.admin-form label{display:grid;gap:6px;font-size:13px;font-weight:700}
.contact-form input,.contact-form select,.admin-form input,.admin-form select{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;background:#fff}
footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:13px}
.footer-wrap{display:flex;justify-content:space-between;gap:18px;align-items:center}
.loading{opacity:.55;pointer-events:none}
.status{font-size:11px;color:var(--muted)}
.error-box{background:#fff0f0;color:var(--danger);border-radius:12px;padding:12px;font-size:13px;display:none}
.error-box.show{display:block}

/* player modal */
.player-modal[hidden]{display:none}
.player-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px}
.player-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(2,24,14,.74)}
.player-modal-card{position:relative;z-index:1;width:min(570px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:var(--text);border-radius:24px;padding:24px}
.player-modal-close{position:absolute;right:13px;top:13px;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:23px}
.player-top{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:center;padding-right:44px}
.avatar{width:60px;height:60px;border-radius:17px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800}
.player-top h3{font-size:25px;margin:4px 0}
.player-top p{margin:0;color:var(--muted);font-size:13px}
.player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}
.player-stats div{border:1px solid var(--line);border-radius:13px;background:#f8faf8;padding:12px 6px;text-align:center}
.player-stats strong{display:block;color:var(--green);font-size:20px}
.player-stats span{font-size:10px;color:var(--muted)}
.history-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}
.history-list{display:grid;gap:8px}
.history-item{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px}
.result-chip{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:11px;font-weight:800}
.result-chip.win{background:#e9f7e8;color:#28703a}
.result-chip.loss{background:#f8eded;color:#944242}
.history-item strong{font-size:13px}
.history-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}

/* login */
.login-body{min-height:100vh;background:linear-gradient(140deg,#edf4ef,#dbe9df);display:grid;place-items:center;padding:22px}
.login-shell{width:min(450px,100%)}
.login-brand{display:flex;justify-content:center;align-items:center;gap:9px;margin-bottom:16px;font-size:21px;font-weight:700}
.login-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 20px 55px rgba(15,50,32,.13)}
.login-card h1{font-size:34px;margin:7px 0}
.login-card p{color:var(--muted);line-height:1.6}
.admin-form{display:grid;gap:13px}
.login-back{display:inline-block;margin-top:17px;color:var(--green);font-weight:800;font-size:13px}

/* admin */
.admin-body{background:#f4f7f4;min-height:100vh}
.admin-main{padding:38px 0 70px}
.admin-title{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:20px}
.admin-title h1{font-size:clamp(34px,5vw,52px);margin:5px 0 0;letter-spacing:-.04em}
.admin-title p{max-width:520px;color:var(--muted)}
.admin-actions-top{display:flex;gap:8px}
.admin-back{border:1px solid rgba(255,255,255,.2);border-radius:11px;padding:9px 11px;font-size:12px;font-weight:700;background:transparent;color:#fff}
.admin-module{display:inline-flex;background:var(--green);color:#fff;border-radius:12px;padding:12px 16px;font-weight:800;margin-bottom:18px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.admin-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:21px;min-width:0}
.admin-card.wide{grid-column:1/-1}
.admin-card h2{margin:0 0 5px;font-size:21px}
.admin-card .sub{margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.55}
.admin-alert{display:none;margin-bottom:15px;padding:11px 12px;border-radius:11px;font-size:13px;font-weight:700}
.admin-alert.show{display:block}
.admin-alert.ok{background:#eaf6ed;color:#24683a}
.admin-alert.err{background:#fff0f0;color:#9b3333}
.admin-standings .row.private{grid-template-columns:42px 1fr 55px 55px}
.private small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.date-filter{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}
.date-filter input{border:1px solid var(--line);border-radius:10px;padding:9px 10px}
.date-filter button{border:1px solid var(--line);border-radius:10px;background:#f8faf8;color:var(--green);font-weight:800;padding:0 11px}
.admin-match-list{display:grid;gap:8px}
.admin-match{border:1px solid var(--line);border-radius:12px;padding:10px}
.admin-match strong{font-size:13px}
.admin-match small{display:block;color:var(--muted);font-size:10px;margin-top:3px}

@media(max-width:980px){
  .defi-home-grid{grid-template-columns:1fr 1fr}
  .defi-home-grid .defi-card:first-child{grid-column:1/-1}
  .admin-grid,.contact-grid{grid-template-columns:1fr}
  .admin-card.wide{grid-column:auto}
}
@media(max-width:760px){
  .main-nav{position:absolute;top:72px;left:16px;right:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;display:none;flex-direction:column;align-items:stretch}
  .main-nav.open{display:flex}
  .menu-btn{display:block}
  .quick-grid,.cards-3,.defi-home-grid{grid-template-columns:1fr}
  .defi-home-grid .defi-card:first-child{grid-column:auto}
  .section-title,.admin-title{align-items:start;flex-direction:column}
  .footer-wrap{align-items:start;flex-direction:column}
}


/* ==========================================================
   ANA SAYFA - SİLİFKE TENİS TOPLULUĞU
   ========================================================== */
.brand-with-logo{
  display:flex;
  align-items:center;
  gap:10px;
}
.site-logo{
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:50%;
  display:block;
}
.login-logo{
  width:70px;
  height:70px;
}
.community-hero{
  padding:0;
  background:
    radial-gradient(circle at 85% 15%, rgba(184,240,74,.16), transparent 25%),
    linear-gradient(135deg,#f4f8f3 0%,#e2eee4 58%,#d5e7d9 100%);
}
.community-hero-grid{
  min-height:650px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:58px;
  align-items:center;
  padding:58px 0;
}
.community-copy h1{
  font-size:clamp(44px,6vw,72px);
  line-height:1.02;
  letter-spacing:-.055em;
  margin:12px 0 20px;
  max-width:720px;
}
.community-copy h1 span{
  color:var(--green);
}
.community-copy>p{
  max-width:670px;
  font-size:18px;
  line-height:1.7;
  color:#516057;
}
.community-groups{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:24px 0 0;
}
.community-groups span{
  border:1px solid #d8e2da;
  background:rgba(255,255,255,.72);
  border-radius:999px;
  padding:9px 12px;
  font-size:12px;
  font-weight:700;
  color:#34483b;
}
.btn-whatsapp{
  background:#1faa59;
  color:#fff;
  box-shadow:0 10px 26px rgba(31,170,89,.18);
}
.community-note{
  font-size:12px!important;
  margin-top:16px!important;
  color:#738077!important;
}
.community-visual{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:14px;
  align-items:end;
}
.phone-preview{
  background:#fff;
  border-radius:32px;
  padding:10px;
  box-shadow:0 24px 60px rgba(17,54,34,.16);
  overflow:hidden;
  max-height:535px;
}
.phone-preview img{
  display:block;
  width:100%;
  height:515px;
  object-fit:cover;
  object-position:top;
  border-radius:24px;
}
.qr-preview{
  align-self:end;
  background:#fff;
  border:1px solid #dce5de;
  border-radius:22px;
  padding:12px;
  box-shadow:0 15px 38px rgba(17,54,34,.10);
}
.qr-preview img{
  display:block;
  width:100%;
  aspect-ratio:1/1.35;
  object-fit:cover;
  object-position:top;
  border-radius:14px;
}
.qr-preview strong{
  display:block;
  margin-top:10px;
  font-size:13px;
}
.qr-preview small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  line-height:1.45;
  font-size:10px;
}
.community-quick-grid{
  grid-template-columns:repeat(4,1fr);
}
.community-quick{
  background:#eef9f0;
  border-color:#cfe7d4;
  color:#17683e;
}
@media(max-width:980px){
  .community-hero-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  .community-visual{
    max-width:620px;
  }
}
@media(max-width:760px){
  .site-logo{
    width:42px;
    height:42px;
  }
  .community-hero-grid{
    min-height:auto;
    padding:44px 0;
  }
  .community-copy h1{
    font-size:44px;
  }
  .community-copy>p{
    font-size:16px;
  }
  .community-visual{
    grid-template-columns:1fr;
  }
  .phone-preview{
    max-height:500px;
  }
  .phone-preview img{
    height:480px;
  }
  .qr-preview{
    display:grid;
    grid-template-columns:105px 1fr;
    gap:12px;
    align-items:center;
  }
  .qr-preview img{
    aspect-ratio:1/1;
  }
  .community-quick-grid{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   BAŞLIK / MENÜ GÜNCELLEMELERİ
   ========================================================== */
.brand-title{
  font-size:clamp(30px,3.2vw,42px);
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
  color:#13241c;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
}
.brand-title strong{
  color:var(--green);
  font-weight:900;
}
.main-nav a{
  position:relative;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--green);
  transition:.22s ease;
}
.main-nav a:hover::after{
  width:100%;
}

/* ==========================================================
   DEFI BUTON
   ========================================================== */
.defi-cta-wrap{
  margin-top:26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
}
.btn-defi-join{
  min-width:280px;
}
.defi-cta-note{
  margin:0;
  color:#c8d4ce;
  font-size:12px;
}

/* ==========================================================
   TURNUVALAR
   ========================================================== */
.tournament-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.tournament-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 30px rgba(10,40,22,.04);
}
.tournament-card h3{
  margin:14px 0 10px;
  font-size:28px;
  letter-spacing:-.03em;
}
.tournament-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.7;
}
.tournament-card ul{
  margin:0 0 18px;
  padding-left:18px;
  color:#395045;
  line-height:1.8;
}
.tournament-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.tournament-badge.idle{
  background:#edf4ef;
  color:var(--green);
}
.tournament-side-card{
  background:#f7faf7;
  border:1px solid #dde7df;
  border-radius:20px;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:130px;
}
.tournament-side-card strong{
  font-size:19px;
  margin-bottom:8px;
}
.tournament-side-card span{
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
}

/* ==========================================================
   DERS ALMA / İLETİŞİM GÖRSEL BLOK
   ========================================================== */
.lesson-cta-section{
  background:
    radial-gradient(circle at 10% 15%, rgba(184,240,74,.10), transparent 28%),
    linear-gradient(135deg,#063522,#0b4a31 55%,#0d5d3d 100%);
}
.lesson-cta-card{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  border-radius:30px;
  padding:28px;
  box-shadow:0 24px 60px rgba(2,20,12,.16);
}
.lesson-cta-copy h2{
  margin:10px 0 12px;
  font-size:clamp(34px,4.5vw,56px);
  line-height:1.06;
  letter-spacing:-.045em;
  max-width:760px;
}
.lesson-cta-copy p{
  max-width:700px;
  color:#cfe0d6;
  line-height:1.75;
  font-size:17px;
}
.lesson-feature-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin:24px 0;
}
.lesson-feature{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:13px;
  align-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:14px 16px;
}
.lesson-feature span{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(184,240,74,.18);
  font-size:22px;
}
.lesson-feature strong{
  display:block;
  font-size:16px;
}
.lesson-feature small{
  display:block;
  margin-top:4px;
  color:#c7d7cf;
  line-height:1.5;
  font-size:12px;
}
.lesson-actions{
  margin-top:8px;
}
.lesson-cta-side{
  display:grid;
  gap:14px;
  align-content:start;
}
.lesson-side-top{
  background:#fff;
  color:var(--text);
  border-radius:22px;
  padding:20px;
}
.lesson-side-top strong{
  display:block;
  font-size:22px;
}
.lesson-side-top small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.55;
}
.lesson-side-box{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  border-radius:20px;
  padding:18px;
}
.lesson-side-box.accent{
  background:rgba(184,240,74,.14);
}
.lesson-side-box b{
  display:block;
  font-size:18px;
  margin-bottom:7px;
}
.lesson-side-box span{
  display:block;
  color:#d9e6de;
  line-height:1.65;
  font-size:14px;
}

@media(max-width:980px){
  .tournament-grid,
  .lesson-cta-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .brand-title{
    font-size:28px;
  }
  .btn-defi-join{
    width:100%;
    min-width:0;
  }
  .lesson-cta-card{
    padding:20px;
    border-radius:22px;
  }
  .lesson-cta-copy h2{
    font-size:34px;
  }
}


/* ==========================================================
   KORDAJ VİTRİNİ
   ========================================================== */
.stringing-showcase{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:20px;
  align-items:stretch;
}
.stringing-main-card{
  background:linear-gradient(135deg,#0b4b31 0%,#0d5e3d 100%);
  color:#fff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 50px rgba(8,43,27,.12);
}
.stringing-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(184,240,74,.16);
  color:#dff7a8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}
.stringing-main-card h3{
  margin:16px 0 12px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.05;
  letter-spacing:-.04em;
  max-width:700px;
}
.stringing-main-card>p{
  max-width:760px;
  color:#d7e5dd;
  line-height:1.8;
  font-size:16px;
}
.stringing-highlights{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin:24px 0;
}
.stringing-highlight{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:13px;
  align-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:14px 16px;
}
.stringing-highlight span{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(184,240,74,.16);
  font-size:22px;
}
.stringing-highlight strong{
  display:block;
  font-size:16px;
}
.stringing-highlight small{
  display:block;
  margin-top:4px;
  color:#d2e0d8;
  line-height:1.5;
  font-size:12px;
}
.stringing-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:10px;
}
.stringing-side-grid{
  display:grid;
  gap:20px;
}
.stringing-info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 30px rgba(10,40,22,.04);
}
.stringing-info-card strong{
  display:block;
  font-size:22px;
  margin-bottom:12px;
  letter-spacing:-.02em;
}
.stringing-info-card ul{
  margin:0;
  padding-left:18px;
  color:#44554c;
  line-height:1.9;
}
.string-catalog{
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  background:#fbfcfb;
}
.string-catalog-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:18px;
}
.string-catalog-head h3{
  margin:7px 0 0;
  font-size:30px;
  letter-spacing:-.03em;
}
.string-catalog-head p{
  margin:0;
  color:var(--muted);
  max-width:420px;
  line-height:1.7;
}
.string-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.string-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
  box-shadow:0 10px 24px rgba(10,40,22,.03);
}
.string-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.string-top strong{
  font-size:18px;
  letter-spacing:-.02em;
}
.string-top span{
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  background:#edf5ef;
  color:var(--green);
  font-size:11px;
  font-weight:800;
}
.string-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}
@media(max-width:980px){
  .stringing-showcase,
  .string-cards{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .stringing-main-card,
  .string-catalog,
  .stringing-info-card{
    border-radius:22px;
    padding:20px;
  }
  .string-catalog-head{
    align-items:start;
    flex-direction:column;
  }
  .stringing-actions .btn{
    width:100%;
  }
}


/* ==========================================================
   SADE İLETİŞİM / DERS ALMA ALANI
   ========================================================== */
.simple-contact-section{
  background:linear-gradient(135deg,#063522,#0b4a31 55%,#0d5d3d 100%);
}
.simple-contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:start;
}
.simple-contact-copy h2{
  margin:10px 0 12px;
  font-size:clamp(34px,4.6vw,56px);
  line-height:1.06;
  letter-spacing:-.045em;
  max-width:720px;
}
.simple-contact-copy p{
  max-width:660px;
  color:#cfe0d6;
  line-height:1.75;
  font-size:17px;
}
.simple-contact-points{
  display:grid;
  gap:12px;
  margin-top:24px;
}
.simple-point{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:16px 18px;
}
.simple-point strong{
  display:block;
  font-size:18px;
  margin-bottom:5px;
}
.simple-point small{
  display:block;
  color:#c7d7cf;
  line-height:1.55;
  font-size:13px;
}
.simple-contact-card{
  background:#fff;
  color:var(--text);
  border-radius:24px;
  padding:24px;
  box-shadow:0 18px 48px rgba(2,20,12,.16);
}
.simple-contact-card h3{
  margin:0 0 8px;
  font-size:28px;
  letter-spacing:-.03em;
}
.simple-contact-card p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.65;
}
.simple-contact-btn{
  width:100%;
  margin-bottom:16px;
}
.simple-form{
  padding:0;
  background:transparent;
  border-radius:0;
}
.simple-form .btn{
  width:100%;
}
@media(max-width:980px){
  .simple-contact-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .simple-contact-card{
    padding:20px;
    border-radius:20px;
  }
  .simple-contact-copy h2{
    font-size:34px;
  }
}


/* ==========================================================
   AKTİF TURNUVA - SADE YAPI
   ========================================================== */
.active-tournament-wrap{
  width:100%;
}
.tournament-empty-state{
  min-height:150px;
  border:1px dashed #cbd5ce;
  border-radius:22px;
  background:#fafcf9;
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  font-size:18px;
  font-weight:700;
}
.active-tournament-card{
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  overflow:hidden;
}
.active-tournament-label{
  padding:14px 20px;
  background:var(--green);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.active-tournament-section{
  padding:22px;
}
.active-tournament-section + .active-tournament-section{
  border-top:1px solid var(--line);
}
.active-tournament-section h3{
  margin:0 0 9px;
  font-size:22px;
  color:var(--text);
}
.active-tournament-section p{
  margin:0;
  color:#536159;
  line-height:1.8;
  white-space:normal;
}
.active-tournament-section.rules{
  background:#f8faf8;
}

/* Yönetici panel sekmeleri */
.admin-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.admin-tab{
  min-height:46px;
  border:1px solid #cedbd2;
  border-radius:12px;
  padding:0 17px;
  background:#fff;
  color:var(--green);
  font-weight:800;
}
.admin-tab.active{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.admin-panel-section[hidden]{
  display:none;
}
.admin-panel-section.active{
  display:block;
}
.admin-form textarea{
  width:100%;
  resize:vertical;
  border:1px solid var(--line);
  border-radius:11px;
  padding:11px 12px;
  background:#fff;
  color:var(--text);
  line-height:1.6;
  font:inherit;
}
.admin-check-row{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center;
  gap:10px!important;
  cursor:pointer;
}
.admin-check-row input{
  width:20px!important;
  height:20px;
  margin:0;
}
.tournament-admin-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tournament-admin-grid{
  grid-template-columns:1fr;
}
@media(max-width:760px){
  .admin-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .admin-tab{
    padding:0 10px;
  }
  .tournament-admin-actions .btn{
    width:100%;
  }
  .tournament-empty-state{
    min-height:120px;
    font-size:16px;
  }
}


/* ==========================================================
   TURNUVA GÖRSELİ
   ========================================================== */
.active-tournament-image{
  background:#eef3ef;
  border-bottom:1px solid var(--line);
}
.active-tournament-image img{
  display:block;
  width:100%;
  max-height:520px;
  object-fit:contain;
  background:#f4f6f4;
}
.tournament-image-field{
  display:grid;
  gap:8px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#f8faf8;
}
.tournament-image-field>label{
  font-size:13px;
  font-weight:700;
}
.tournament-image-field>input[type="file"]{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px;
  background:#fff;
}
.tournament-image-field>small{
  color:var(--muted);
  font-size:11px;
}
.tournament-image-current{
  margin-top:8px;
  display:grid;
  grid-template-columns:minmax(0,220px) auto;
  gap:12px;
  align-items:center;
}
.tournament-image-current[hidden]{
  display:none;
}
.tournament-image-current img{
  width:100%;
  max-height:160px;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.image-remove-btn{
  min-height:42px;
  border:1px solid #edcccc;
  border-radius:11px;
  padding:0 13px;
  background:#fff;
  color:#9b3333;
  font-weight:800;
}
@media(max-width:640px){
  .tournament-image-current{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   YÖNETİCİ PANELİ - DAHA BÜYÜK YAZILAR / MOBİL DÜZEN
   ========================================================== */
.admin-title p{
  font-size:18px;
  line-height:1.7;
}
.admin-card{
  border-radius:24px;
  padding:26px;
}
.admin-card h2{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.25;
}
.admin-card .sub{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}
.admin-form{
  gap:16px;
}
.admin-form label{
  gap:8px;
  font-size:16px;
}
.admin-form input,
.admin-form select,
.admin-form textarea{
  min-height:52px;
  padding:13px 14px;
  font-size:17px;
}
.admin-tab{
  min-height:50px;
  padding:0 20px;
  font-size:18px;
}
.admin-alert{
  font-size:15px;
  padding:13px 14px;
}
.admin-standings .row,
.public-ladder .row{
  padding:15px 18px;
}
.admin-standings .row strong,
.public-ladder .row strong{
  font-size:18px;
}
.admin-match{
  padding:13px 14px;
}
.admin-match strong{
  font-size:16px;
  line-height:1.5;
}
.admin-match small{
  font-size:12px;
  line-height:1.5;
}
.date-filter input{
  min-height:48px;
  font-size:16px;
}
.date-filter button{
  min-height:48px;
  font-size:16px;
}
.admin-back{
  min-height:42px;
  padding:0 14px;
  font-size:14px;
}
@media(max-width:900px){
  .admin-main{
    padding:26px 0 54px;
  }
  .admin-title h1{
    font-size:clamp(34px,9vw,48px);
  }
  .admin-title p{
    font-size:16px;
  }
}
@media(max-width:760px){
  .admin-card{
    padding:20px;
    border-radius:20px;
  }
  .admin-card h2{
    font-size:20px;
  }
  .admin-form label{
    font-size:15px;
  }
  .admin-form input,
  .admin-form select,
  .admin-form textarea{
    min-height:50px;
    font-size:16px;
  }
  .admin-tab{
    min-height:48px;
    font-size:16px;
  }
  .admin-actions-top{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .date-filter{
    grid-template-columns:1fr;
  }
  .public-ladder .row,
  .admin-standings .row{
    grid-template-columns:36px 1fr 46px 46px;
    gap:6px;
    padding:12px 12px;
  }
}

/* ==========================================================
   DERS ALMA ALANI - SEÇİLEBİLİR KARTLAR
   ========================================================== */
.selectable-topics{
  margin-top:26px;
}
.topic-card{
  width:100%;
  text-align:left;
  cursor:pointer;
  transition:.2s ease;
}
.topic-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.12);
}
.topic-card.active{
  background:rgba(255,255,255,.16);
  border-color:#42d47d;
  box-shadow:0 0 0 2px rgba(66,212,125,.16) inset;
}
.simple-point strong{
  font-size:21px;
}
.simple-point small{
  font-size:14px;
  line-height:1.7;
}
.selected-topic-box{
  border:1px solid #dfe7e1;
  border-radius:18px;
  background:#f7faf7;
  padding:16px 18px;
  margin:0 0 16px;
}
.selected-topic-box span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.selected-topic-box strong{
  display:block;
  font-size:22px;
  line-height:1.2;
  margin-bottom:6px;
}
.selected-topic-box small{
  display:block;
  color:#536159;
  font-size:14px;
  line-height:1.7;
}
.simple-contact-copy p{
  font-size:18px;
}
.simple-contact-card p{
  font-size:16px;
}
.simple-contact-btn{
  margin-bottom:18px;
}
@media(max-width:980px){
  .simple-contact-copy h2{
    max-width:none;
  }
}
@media(max-width:760px){
  .simple-contact-copy p{
    font-size:16px;
  }
  .simple-point{
    padding:15px 16px;
  }
  .simple-point strong{
    font-size:19px;
  }
  .simple-point small{
    font-size:13px;
  }
  .selected-topic-box{
    padding:14px 15px;
    border-radius:16px;
  }
  .selected-topic-box strong{
    font-size:20px;
  }
  .selected-topic-box small{
    font-size:13px;
  }
}



/* ==========================================================
   ORGANİZASYONLAR
   ========================================================== */
.organization-public-wrap{
  width:100%;
}
.organization-public-card{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:0 18px 44px rgba(5,40,24,.06);
}
.organization-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green);
  background:#eef7f1;
  border-radius:999px;
  padding:9px 12px;
  margin-bottom:12px;
}
.organization-copy h3{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.04em;
}
.organization-meta{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  background:#f7faf7;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 14px;
  font-weight:700;
  color:var(--green-dark);
  margin-bottom:14px;
}
.organization-copy p{
  margin:0;
  color:#536159;
  line-height:1.8;
  font-size:16px;
}
.organization-form{
  display:grid;
  gap:12px;
  background:#f8faf8;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
}
.organization-form h4{
  margin:0 0 4px;
  font-size:24px;
  line-height:1.2;
}
.organization-form label{
  display:grid;
  gap:7px;
  font-size:14px;
  font-weight:700;
  color:var(--text);
}
.organization-form input{
  width:100%;
  min-height:50px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 13px;
  background:#fff;
  font-size:16px;
}
.organization-form-status{
  display:none;
  padding:11px 12px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
}
.organization-form-status.ok{
  display:block;
  background:#eaf6ed;
  color:#24683a;
}
.organization-form-status.err{
  display:block;
  background:#fff0f0;
  color:#9b3333;
}
.organization-preview-note{
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8faf8;
  padding:18px;
  align-self:start;
}
.organization-preview-note strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
}
.organization-preview-note small{
  color:var(--muted);
  line-height:1.7;
  font-size:13px;
}
.organization-registration-item strong{
  display:block;
  font-size:17px;
  margin-bottom:4px;
}

@media(max-width:980px){
  .organization-public-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .organization-public-card{
    padding:18px;
    border-radius:20px;
  }
  .organization-copy h3{
    font-size:28px;
  }
  .organization-form{
    padding:16px;
  }
}

/* Organizasyon sekmesi mobil */
@media(max-width:760px){
  .admin-tabs{
    grid-template-columns:1fr 1fr 1fr;
  }
}


/* ==========================================================
   ORGANİZASYON SON KATILIM
   ========================================================== */
.organization-meta-list{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  margin-bottom:14px;
}
.organization-meta-list .organization-meta{
  margin-bottom:0;
}
.organization-meta.deadline{
  background:#fff8e8;
  border-color:#eed8a5;
  color:#765712;
}
.organization-closed-box{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:190px;
  border:1px solid #ecd5d5;
  border-radius:20px;
  padding:22px;
  background:#fff5f5;
  color:#8b3434;
}
.organization-closed-box strong{
  display:block;
  font-size:24px;
  margin-bottom:8px;
}
.organization-closed-box span{
  font-size:15px;
  line-height:1.6;
}


/* ==========================================================
   ORGANİZASYON - YETİŞKİN / ÇOCUK SAYISI
   ========================================================== */
.organization-count-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media(max-width:560px){
  .organization-count-grid{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   ÇOKLU ORGANİZASYON YÖNETİMİ
   ========================================================== */
.organization-list-public{
  display:grid;
  gap:22px;
}
.organization-admin-date-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.admin-card-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.organization-cancel-edit{
  flex:0 0 auto;
}
.admin-organization-list{
  display:grid;
  gap:13px;
}
.admin-organization-item{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:18px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  background:#f9fbf9;
}
.admin-organization-info h3{
  margin:8px 0;
  font-size:22px;
}
.admin-organization-status-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.organization-badge.inactive{
  color:#66736b;
  background:#eef1ef;
}
.organization-deadline-chip{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:#fff1e9;
  color:#98572d;
  font-size:11px;
  font-weight:800;
}
.admin-organization-dates{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  color:var(--muted);
  font-size:14px;
}
.admin-organization-actions{
  display:flex;
  gap:8px;
}
.organization-delete-btn{
  min-height:46px;
  border:1px solid #efcaca;
  border-radius:11px;
  padding:0 16px;
  background:#fff3f3;
  color:#a03838;
  font-weight:800;
}
.registration-org-name{
  color:var(--green)!important;
  font-weight:800;
  margin-bottom:3px;
}
.organization-count-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

@media(max-width:760px){
  .organization-admin-date-grid,
  .organization-count-grid{
    grid-template-columns:1fr;
  }
  .admin-card-title-row{
    flex-direction:column;
  }
  .admin-organization-item{
    grid-template-columns:1fr;
  }
  .admin-organization-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .admin-organization-actions .btn,
  .organization-delete-btn{
    width:100%;
  }
}


/* ==========================================================
   ORGANİZASYON V15 - AÇIKLAMA / HATA GÖRÜNÜMÜ
   ========================================================== */
.field-help{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  line-height:1.55;
}
.organization-child-note{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  line-height:1.4;
}
.admin-inline-error{
  padding:14px 16px;
  border-radius:12px;
  background:#fff0f0;
  color:#9b3333;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
}


/* ==========================================================
   V16 - ÇOKLU TURNUVA
   ========================================================== */
.public-tournament-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.multi-tournament-card{
  min-width:0;
}
.tournament-name-section{
  background:#fff;
}
.active-tournament-section.tournament-name-section h3{
  margin:0;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.active-tournament-section h4{
  margin:0 0 9px;
  font-size:20px;
  color:var(--text);
}

.admin-tournament-list{
  display:grid;
  gap:13px;
}
.admin-tournament-item{
  display:grid;
  grid-template-columns:110px minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f9fbf9;
}
.admin-tournament-thumb{
  width:110px;
  height:86px;
  object-fit:cover;
  border-radius:13px;
  border:1px solid var(--line);
  background:#fff;
}
.admin-tournament-thumb.placeholder{
  display:grid;
  place-items:center;
  font-size:30px;
  background:#eef5ef;
}
.admin-tournament-info h3{
  margin:7px 0 5px;
  font-size:22px;
  line-height:1.25;
}
.admin-tournament-info p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.admin-tournament-actions{
  display:flex;
  gap:8px;
}
.tournament-delete-btn{
  min-height:46px;
  border:1px solid #efcaca;
  border-radius:11px;
  padding:0 16px;
  background:#fff3f3;
  color:#a03838;
  font-weight:800;
}

@media(max-width:980px){
  .public-tournament-list{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .admin-tournament-item{
    grid-template-columns:76px minmax(0,1fr);
  }
  .admin-tournament-thumb{
    width:76px;
    height:68px;
  }
  .admin-tournament-actions{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .admin-tournament-actions .btn,
  .tournament-delete-btn{
    width:100%;
  }
}


/* ==========================================================
   V17 - SADE İLETİŞİM ALANI
   ========================================================== */
.simplified-contact-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.8fr);
  align-items:start;
  gap:28px;
}
.simplified-contact-copy{
  max-width:720px;
}
.simplified-contact-copy p{
  max-width:540px;
}
.simplified-contact-card{
  max-width:520px;
  width:100%;
  justify-self:end;
}
.simplified-contact-card h3{
  margin:0 0 18px;
}
.simple-form select{
  width:100%;
  min-height:58px;
  border-radius:16px;
  border:1px solid #d7ddd7;
  padding:0 16px;
  background:#fff;
  color:var(--text);
  font:inherit;
  outline:none;
}
.simple-form select:focus{
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(22,106,60,.08);
}
.simple-form .simple-contact-btn{
  width:100%;
  justify-content:center;
}
@media(max-width:920px){
  .simplified-contact-grid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .simplified-contact-card{
    max-width:none;
    justify-self:stretch;
  }
}


/* ==========================================================
   V18 - İLETİŞİM ALANI MOBİL ÖNCELİKLİ
   ========================================================== */
.simplified-contact-grid{
  align-items:center;
}
.simplified-contact-copy h2{
  max-width:680px;
}
.simplified-contact-card{
  box-shadow:0 18px 42px rgba(3,30,18,.14);
}
.simplified-contact-card .simple-form{
  display:grid;
  gap:15px;
}
.simplified-contact-card .simple-form label{
  display:grid;
  gap:8px;
  font-size:14px;
  font-weight:800;
}
.simplified-contact-card .simple-form input,
.simplified-contact-card .simple-form select{
  min-height:56px;
  font-size:16px;
}
.simplified-contact-card .simple-contact-btn{
  min-height:56px;
  margin:2px 0 0;
  font-size:17px;
}

@media(max-width:920px){
  .simple-contact-section{
    padding-top:46px;
    padding-bottom:46px;
  }

  .simplified-contact-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .simplified-contact-copy{
    max-width:none;
  }

  .simplified-contact-copy h2{
    max-width:620px;
    margin-bottom:12px;
    font-size:clamp(32px,8vw,46px);
    line-height:1.05;
  }

  .simplified-contact-copy p{
    max-width:620px;
    margin-bottom:0;
    font-size:16px;
    line-height:1.65;
  }

  .simplified-contact-card{
    max-width:none;
    width:100%;
    justify-self:stretch;
  }
}

@media(max-width:600px){
  .simple-contact-section{
    padding-top:34px;
    padding-bottom:34px;
  }

  .simple-contact-section .container{
    width:min(100% - 28px,1200px);
  }

  .simplified-contact-grid{
    gap:16px;
  }

  .simplified-contact-copy .eyebrow{
    font-size:11px;
    letter-spacing:.12em;
  }

  .simplified-contact-copy h2{
    font-size:34px;
    line-height:1.03;
    letter-spacing:-.04em;
  }

  .simplified-contact-copy p{
    font-size:15px;
    line-height:1.6;
  }

  .simplified-contact-card{
    padding:18px;
    border-radius:20px;
  }

  .simplified-contact-card h3{
    margin-bottom:16px;
    font-size:24px;
  }

  .simplified-contact-card .simple-form{
    gap:13px;
  }

  .simplified-contact-card .simple-form label{
    font-size:14px;
  }

  .simplified-contact-card .simple-form input,
  .simplified-contact-card .simple-form select{
    width:100%;
    min-height:54px;
    border-radius:13px;
    padding:0 14px;
    font-size:16px; /* iOS zoom engeli */
  }

  .simplified-contact-card .simple-contact-btn{
    width:100%;
    min-height:54px;
    border-radius:13px;
    font-size:16px;
    padding:0 14px;
  }
}

/* Telefonda üst menünün daha rahat kullanımı */
@media(max-width:760px){
  .site-header .nav-wrap{
    min-height:68px;
  }

  .site-logo{
    width:42px;
    height:42px;
  }

  .brand-title{
    font-size:24px;
  }

  .menu-btn{
    min-width:46px;
    min-height:46px;
  }

  .main-nav.open{
    max-height:520px;
    overflow:auto;
  }

  .main-nav a{
    min-height:48px;
    display:flex;
    align-items:center;
  }
}


/* ==========================================================
   V19 - DEFI LİSTE TOP 5 + MADALYA
   ========================================================== */
.public-ladder .rank{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
}
.rank-medal{
  font-size:22px;
  line-height:1;
}
.rank-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:26px;
  border-radius:999px;
  background:#eef3ee;
  color:var(--green);
  font-size:14px;
  font-weight:800;
}
.top-rank .rank-number{
  background:#f3f6ea;
}
@media(max-width:600px){
  .rank-medal{
    font-size:20px;
  }
  .rank-number{
    min-width:24px;
    height:24px;
    font-size:13px;
  }
}


/* ==========================================================
   V20 - KORDAJ / POPÜLER TELLER SAĞ VİTRİN
   ========================================================== */
.popular-strings-panel{
  display:grid;
  gap:12px;
  align-content:start;
  background:#f8faf8;
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 12px 30px rgba(10,40,22,.04);
}
.popular-strings-head{
  padding:2px 2px 8px;
}
.popular-strings-head h3{
  margin:7px 0 8px;
  font-size:27px;
  line-height:1.08;
  letter-spacing:-.035em;
}
.popular-strings-head p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}
.popular-string-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:16px;
}
.popular-string-card .string-top{
  margin-bottom:8px;
}
.popular-string-card .string-top strong{
  font-size:16px;
}
.popular-string-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

/* Eski alttaki katalog artık kullanılmıyor. */
.string-catalog{
  display:none;
}

@media(max-width:980px){
  .popular-strings-panel{
    border-radius:22px;
    padding:20px;
  }
}
@media(max-width:600px){
  .popular-strings-panel{
    padding:17px;
    gap:10px;
  }
  .popular-strings-head h3{
    font-size:24px;
  }
  .popular-string-card{
    padding:14px;
    border-radius:15px;
  }
}


/* ==========================================================
   V21 - DEFİ YERLEŞİM DÜZENİ
   ========================================================== */
.defi-home-grid .defi-card:first-child .defi-pyramid{
  padding-left:20px;
  padding-right:20px;
}
@media(max-width:980px){
  .defi-home-grid{
    grid-template-columns:1fr 1fr;
  }
  .defi-home-grid .defi-card:first-child{
    grid-column:1/-1;
  }
}
@media(max-width:760px){
  .defi-home-grid{
    grid-template-columns:1fr;
  }
  .defi-home-grid .defi-card:first-child{
    grid-column:auto;
  }
}


/* ==========================================================
   V22 - ÖZEL WHATSAPP TOPLULUK MOCKUP
   ========================================================== */
.phone-preview{
  display:none;
}
.whatsapp-community-mockup{
  width:100%;
  min-height:515px;
  background:#f7f8f7;
  border:9px solid #fff;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(17,54,34,.16);
}
.wa-mockup-top{
  min-height:92px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:18px 18px 14px;
  background:#fff;
  border-bottom:1px solid #edf0ee;
}
.wa-mockup-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid #dfe6e1;
  background:#fff;
}
.wa-mockup-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.wa-mockup-title strong{
  display:block;
  font-size:17px;
  color:#17211b;
  line-height:1.25;
}
.wa-mockup-title small{
  display:block;
  margin-top:4px;
  color:#758078;
  font-size:12px;
}
.wa-mockup-more{
  color:#68756d;
  font-size:18px;
  letter-spacing:2px;
}
.wa-mockup-announcement{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:14px 14px 10px;
  padding:13px 14px;
  border-radius:16px;
  background:#e9f8ee;
  border:1px solid #d6efdf;
}
.wa-mockup-announcement strong,
.wa-group-row strong{
  display:block;
  color:#1b241e;
  font-size:14px;
  line-height:1.25;
}
.wa-mockup-announcement small,
.wa-group-row small{
  display:block;
  color:#6d7971;
  font-size:11px;
  line-height:1.45;
  margin-top:4px;
}
.wa-status-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#1faa59;
}
.wa-section-label{
  padding:8px 20px 5px;
  color:#879089;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.wa-group-list{
  display:grid;
  padding:0 10px;
}
.wa-group-row{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  padding:13px 10px;
  border-bottom:1px solid #e7ebe8;
}
.wa-group-row:last-child{
  border-bottom:0;
}
.wa-group-icon{
  width:42px;
  height:42px;
  border-radius:13px;
  display:grid;
  place-items:center;
  font-size:19px;
  background:#eef5f0;
}
.wa-group-icon.announcement{background:#d8f7e3}
.wa-group-icon.market{background:#fff3dd}
.wa-group-icon.string{background:#e7f0ff}
.wa-group-icon.chat{background:#e8f8f7}
.wa-group-icon.partner{background:#edf6df}
.wa-arrow{
  color:#adb6b0;
  font-size:25px;
  font-weight:300;
}
.wa-mockup-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 14px 14px;
  padding:13px 15px;
  border-radius:15px;
  background:#fff;
  border:1px solid #e2e7e3;
  color:#637067;
  font-size:11px;
}
.wa-mockup-footer strong{
  color:#15924e;
  font-size:13px;
}

@media(max-width:760px){
  .whatsapp-community-mockup{
    min-height:auto;
    border-width:7px;
    border-radius:26px;
  }
  .wa-mockup-top{
    min-height:78px;
    grid-template-columns:46px minmax(0,1fr) auto;
    padding:14px;
  }
  .wa-mockup-avatar{
    width:46px;
    height:46px;
  }
  .wa-mockup-title strong{
    font-size:15px;
  }
  .wa-group-row{
    padding:11px 8px;
  }
  .wa-mockup-announcement{
    margin:11px 10px 8px;
  }
}


/* ==========================================================
   V23 - DEFİ KURALLARI
   ========================================================== */
.defi-cta-buttons{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.btn-defi-rules{
  background:#f4d35e;
  color:#213018;
  border:1px solid #efd05b;
  box-shadow:0 10px 26px rgba(244,211,94,.18);
}
.btn-defi-rules:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(244,211,94,.25);
}
.defi-rules-card{
  margin-top:28px;
  background:#ffffff;
  color:var(--text);
  border-radius:24px;
  padding:28px;
}
.defi-rules-head h3{
  margin:10px 0 10px;
  font-size:clamp(28px,4vw,40px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.defi-rules-head p{
  margin:0;
  max-width:760px;
  color:var(--muted);
  line-height:1.7;
}
.defi-rules-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.defi-rule-item{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:start;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fbfcfb;
}
.defi-rule-item > span{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#166a3c;
  color:#fff;
  font-weight:800;
  font-size:15px;
}
.defi-rule-item strong{
  display:block;
  margin-bottom:5px;
  font-size:17px;
}
.defi-rule-item p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

@media(max-width:900px){
  .defi-rules-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .defi-cta-buttons{
    flex-direction:column;
  }
  .btn-defi-rules,
  .btn-defi-join{
    width:100%;
    min-width:0;
  }
  .defi-rules-card{
    padding:20px;
    border-radius:20px;
  }
  .defi-rule-item{
    grid-template-columns:38px minmax(0,1fr);
    gap:12px;
    padding:14px;
  }
  .defi-rule-item > span{
    width:38px;
    height:38px;
    font-size:14px;
  }
  .defi-rule-item strong{
    font-size:16px;
  }
  .defi-rule-item p{
    font-size:13px;
  }
}


/* ==========================================================
   V25 - DEFİ KURALLARI AYRI SAYFA
   ========================================================== */
.rules-page-body{
  background:#f5f8f5;
}
.rules-page-header{
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.rules-header-wrap{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.btn-rules-back{
  min-height:44px;
  background:#fff;
  color:var(--green);
  border:1px solid #bfd0c4;
}
.rules-page-main{
  padding:50px 0 70px;
}
.rules-page-hero{
  max-width:820px;
  margin-bottom:28px;
}
.rules-page-hero h1{
  margin:8px 0 14px;
  font-size:clamp(36px,5vw,58px);
  line-height:1.03;
  letter-spacing:-.05em;
}
.rules-page-hero p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}
.rules-page-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.rules-page-bottom{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.btn-rules-back.secondary{
  background:#fff;
}

@media(max-width:820px){
  .rules-page-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:600px){
  .rules-header-wrap{
    min-height:68px;
  }
  .rules-page-header .site-logo{
    width:40px;
    height:40px;
  }
  .rules-page-header .brand-title{
    font-size:22px;
  }
  .rules-page-header .btn-rules-back{
    min-height:40px;
    padding:0 12px;
    font-size:12px;
  }
  .rules-page-main{
    padding:32px 0 44px;
  }
  .rules-page-hero{
    margin-bottom:20px;
  }
  .rules-page-hero h1{
    font-size:36px;
  }
  .rules-page-hero p{
    font-size:15px;
  }
  .rules-page-bottom{
    flex-direction:column;
  }
  .rules-page-bottom .btn{
    width:100%;
  }
}


/* ==========================================================
   V27 - MOBİL DEFİ PİRAMİDİ YATAY KAYDIRMA DÜZELTMESİ
   ========================================================== */

/*
  Satır genişliği içerikten büyükse kendi gerçek genişliğini alır.
  Küçük satırlar ise kart genişliğinde kalıp ortalanır.
  Böylece taşan oyuncular sol tarafta "ulaşılamaz" alana düşmez.
*/
.defi-pyramid{
  align-items:stretch;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-gutter:stable;
}

.pyramid-row{
  width:max-content;
  min-width:100%;
  justify-content:center;
  flex:0 0 auto;
}

/* Mobilde kaydırma alanını biraz daha rahat hale getir */
@media(max-width:760px){
  .defi-home-grid .defi-card:first-child .defi-pyramid,
  .defi-pyramid{
    padding-left:14px;
    padding-right:14px;
    scroll-behavior:smooth;
  }

  .pyramid-row{
    gap:9px;
  }
}


/* ==========================================================
   V30 - AKADEMİ YÖNETİCİ PANELİ / DÜZGÜN ENTEGRASYON
   ========================================================== */



/* ==========================================================
   DEFİ YÖNETİCİ - OYUNCU DÜZENLE / SİL
   ========================================================== */
.admin-standings .row.private.defi-admin-player-row{
  grid-template-columns:42px minmax(150px,1fr) 55px 55px auto;
  gap:10px;
  align-items:center;
}
.defi-admin-player-info{min-width:0;}
.defi-admin-player-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.defi-admin-player-actions{display:flex;gap:7px;justify-content:flex-end;align-items:center;}
.defi-player-action{
  min-height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green);
  padding:0 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;
}
.defi-player-action.edit:hover{background:#eef7f1;}
.defi-player-action.delete{border-color:#efd2d2;color:#a33939;background:#fff8f8;}
.defi-player-action.delete:hover{background:#ffeded;}
.defi-player-form-head{align-items:flex-start;}
.defi-player-form-head .sub{margin-bottom:0;}
@media(max-width:760px){
  .admin-standings .row.private.defi-admin-player-row{grid-template-columns:36px minmax(0,1fr) 42px 42px;gap:7px;}
  .defi-admin-player-actions{grid-column:2/-1;justify-content:flex-start;padding-top:3px;}
  .defi-player-action{min-height:38px;font-size:13px;padding:0 12px;}
  .defi-player-form-head{align-items:stretch;}
  #cancelPlayerEditBtn{width:100%;}
}


/* ==========================================================
   DEFİ YÖNETİCİ - İLK 10 + OYUNCU ARAMA
   ========================================================== */
.defi-standings-tools{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 12px;
}
.defi-player-search-wrap{
  min-width:0;flex:1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);
  border-radius:12px;background:#fff;padding:0 12px;min-height:44px;
}
.defi-player-search-wrap:focus-within{border-color:#8bb99f;box-shadow:0 0 0 3px rgba(47,126,84,.10);}
.defi-player-search-wrap span{font-size:15px;flex:0 0 auto;}
.defi-player-search-wrap input{
  width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:14px;padding:10px 0;
}
.defi-player-search-wrap input::-webkit-search-cancel-button{cursor:pointer;}
.defi-player-result-count{flex:0 0 auto;color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap;}
.defi-show-more-btn{width:100%;margin-top:12px;min-height:44px;}
@media(max-width:760px){
  .defi-standings-tools{align-items:stretch;flex-direction:column;gap:7px;}
  .defi-player-result-count{padding-left:2px;}
}


/* ==========================================================
   V34 - AYDINLIK / KARANLIK MOD
   ========================================================== */
.theme-toggle{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--text);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.theme-toggle:hover{transform:translateY(-1px);border-color:#a9b9ae;}
.theme-toggle.compact{min-height:42px;}
.rules-header-actions{display:flex;align-items:center;gap:10px;}

html[data-theme="dark"]{
  color-scheme:dark;
  --green:#57d692;
  --green-dark:#07170f;
  --mint:#b8f04a;
  --text:#eef7f1;
  --muted:#9aaca1;
  --line:#273a30;
  --paper:#101a14;
  --soft:#142119;
  --danger:#ff8f8f;
}
html[data-theme="dark"] body{
  background:#0a110d;
  color:var(--text);
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .rules-page-header{
  background:rgba(10,17,13,.96);
  border-color:var(--line);
  box-shadow:0 8px 28px rgba(0,0,0,.16);
}
html[data-theme="dark"] .brand-title{color:#f2f8f4;text-shadow:none;}
html[data-theme="dark"] .brand-title strong{color:var(--green);}
html[data-theme="dark"] .main-nav a{color:#e6efe9;}
html[data-theme="dark"] .main-nav .admin-link{color:var(--green);}
html[data-theme="dark"] .menu-btn{color:#f2f8f4;}
html[data-theme="dark"] .theme-toggle{
  background:#142019;
  color:#eef7f1;
  border-color:#32493c;
}
html[data-theme="dark"] .theme-toggle:hover{background:#1a2a20;border-color:#4b6758;}

html[data-theme="dark"] .community-hero{
  background:
    radial-gradient(circle at 85% 15%,rgba(87,214,146,.12),transparent 28%),
    linear-gradient(135deg,#08110c 0%,#0d1b13 55%,#10261a 100%);
}
html[data-theme="dark"] .community-copy>p{color:#b0c1b7;}
html[data-theme="dark"] .community-groups span{
  background:rgba(20,33,25,.86);
  border-color:#31493a;
  color:#dce9e1;
}
html[data-theme="dark"] .community-note{color:#91a49a!important;}
html[data-theme="dark"] .quick-links{background:#0a110d;border-color:var(--line);}
html[data-theme="dark"] .quick-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .popular-string-card,
html[data-theme="dark"] .tournament-card,
html[data-theme="dark"] .tournament-name-section,
html[data-theme="dark"] .organization-public-card,
html[data-theme="dark"] .active-tournament-card,
html[data-theme="dark"] .defi-rules-card,
html[data-theme="dark"] .simple-contact-card,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .player-modal-card,
html[data-theme="dark"] .player-modal-close,
html[data-theme="dark"] .rules-page-header,
html[data-theme="dark"] .btn-rules-back,
html[data-theme="dark"] .btn-light,
html[data-theme="dark"] .btn-outline{
  background:#101a14;
  color:var(--text);
  border-color:var(--line);
}
html[data-theme="dark"] .community-quick{
  background:#10261a;
  border-color:#264b36;
  color:#72dea2;
}
html[data-theme="dark"] .section:not(.section-dark){background:#0a110d;}
html[data-theme="dark"] #organizasyonlar{background:#0d1611;}
html[data-theme="dark"] #turnuvalar{background:#0a110d;}
html[data-theme="dark"] .section-title p,
html[data-theme="dark"] .popular-strings-head p,
html[data-theme="dark"] .popular-string-card p,
html[data-theme="dark"] .active-tournament-section p,
html[data-theme="dark"] .organization-copy p,
html[data-theme="dark"] .rules-page-hero p,
html[data-theme="dark"] .defi-rule-item p{color:var(--muted);}

html[data-theme="dark"] .defi-card{
  background:#101a14;
  color:var(--text);
  border:1px solid #203328;
}
html[data-theme="dark"] .pyramid-player,
html[data-theme="dark"] .match-row,
html[data-theme="dark"] .player-stats div,
html[data-theme="dark"] .coming,
html[data-theme="dark"] .popular-strings-panel,
html[data-theme="dark"] .active-tournament-section.rules,
html[data-theme="dark"] .organization-form,
html[data-theme="dark"] .organization-preview-note,
html[data-theme="dark"] .tournament-empty-state,
html[data-theme="dark"] .defi-rule-item{
  background:#142019;
  color:var(--text);
  border-color:#2a4033;
}
html[data-theme="dark"] .pyramid-player.leader{
  background:#18301d;
  border-color:#426637;
}
html[data-theme="dark"] .rank-number{background:#17271d;color:var(--green);}
html[data-theme="dark"] .top-rank .rank-number{background:#293019;}
html[data-theme="dark"] .wl strong,
html[data-theme="dark"] .active-tournament-section h3,
html[data-theme="dark"] .active-tournament-section h4,
html[data-theme="dark"] .organization-form label{color:var(--text);}

html[data-theme="dark"] .organization-badge,
html[data-theme="dark"] .string-top span,
html[data-theme="dark"] .tournament-badge.idle{
  background:#183022;
  color:#74dda3;
}
html[data-theme="dark"] .organization-meta{
  background:#142019;
  border-color:#2b4335;
  color:#d9e8df;
}
html[data-theme="dark"] .organization-meta.deadline{
  background:#302913;
  border-color:#5e4c1d;
  color:#f0ce79;
}
html[data-theme="dark"] .organization-form input,
html[data-theme="dark"] .organization-form select,
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select{
  background:#0c1510;
  color:#eef7f1;
  border-color:#334a3d;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#73887c;}

html[data-theme="dark"] .whatsapp-community-mockup{
  background:#0f1813;
  border-color:#17251c;
  box-shadow:0 24px 60px rgba(0,0,0,.32);
}
html[data-theme="dark"] .wa-mockup-top,
html[data-theme="dark"] .wa-mockup-footer{
  background:#141f18;
  border-color:#26382d;
}
html[data-theme="dark"] .wa-mockup-avatar{background:#17241b;border-color:#31463a;}
html[data-theme="dark"] .wa-mockup-title strong,
html[data-theme="dark"] .wa-mockup-announcement strong,
html[data-theme="dark"] .wa-group-row strong{color:#eef7f1;}
html[data-theme="dark"] .wa-mockup-title small,
html[data-theme="dark"] .wa-mockup-announcement small,
html[data-theme="dark"] .wa-group-row small,
html[data-theme="dark"] .wa-section-label,
html[data-theme="dark"] .wa-mockup-footer{color:#93a79b;}
html[data-theme="dark"] .wa-mockup-announcement{background:#153321;border-color:#245335;}
html[data-theme="dark"] .wa-group-row{border-color:#26382d;}
html[data-theme="dark"] .wa-group-icon{background:#1c2a21;}
html[data-theme="dark"] .wa-group-icon.announcement{background:#183923;}
html[data-theme="dark"] .wa-group-icon.market{background:#342914;}
html[data-theme="dark"] .wa-group-icon.string{background:#17283a;}
html[data-theme="dark"] .wa-group-icon.chat{background:#163130;}
html[data-theme="dark"] .wa-group-icon.partner{background:#24321a;}

html[data-theme="dark"] .rules-page-body{background:#0a110d;}
html[data-theme="dark"] .btn-rules-back{color:var(--green);border-color:#375244;}
html[data-theme="dark"] footer{background:#08100c;border-color:var(--line);}

@media(max-width:760px){
  .main-nav .theme-toggle{width:100%;min-height:46px;margin-top:4px;}
  html[data-theme="dark"] .main-nav{background:#0e1812;border-color:#304438;box-shadow:0 18px 40px rgba(0,0,0,.28);}
  .rules-header-actions{gap:7px;}
  .rules-header-actions .theme-toggle span:last-child{display:none;}
  .rules-header-actions .theme-toggle{width:42px;min-width:42px;padding:0;}
}


/* ==========================================================
   ST-v42 — Mobil kompakt + boş organizasyon/turnuva vitrinleri
   ========================================================== */
.mobile-expand-btn{display:none}

.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,.22);background:linear-gradient(135deg,rgba(10,21,38,.98) 0%,rgba(12,40,66,.96) 65%,rgba(18,79,95,.92) 100%);box-shadow:0 18px 45px rgba(6,14,28,.22);color:#f6fbff;display:flex;gap:22px;align-items:center}
.interest-empty-card::before{content:"";position:absolute;right:-40px;bottom:-60px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(31,228,194,.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,.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,.28),rgba(22,151,240,.18));border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 25px rgba(0,0,0,.16)}
.interest-empty-card.tournament-card .interest-visual{background:linear-gradient(145deg,rgba(255,167,38,.28),rgba(187,66,255,.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,.08);border:1px solid rgba(255,255,255,.12);color:#83ffe0;font-size:12px;font-weight:800;letter-spacing:.12em}
.interest-content h3{margin:0 0 8px;font-size:30px;line-height:1.15;color:#fff}
.interest-content p{margin:0;font-size:15px;line-height:1.6;color:rgba(236,244,255,.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,.08);border:1px solid rgba(255,255,255,.10);color:#fff;font-size:13px;font-weight:600}
.interest-status-note{margin-top:16px;font-size:13px;color:#8be6db;font-weight:700}

#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}
#turnuvalar{margin-top:-6px}

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

@media(max-width:640px){
  .section{padding-top:34px;padding-bottom:34px}
  .section-title{margin-bottom:18px;gap:8px}
  .section-title h2{font-size:clamp(26px,8vw,34px);line-height:1.08}
  .section-title p{font-size:14px;line-height:1.5}
  .hero{padding-top:34px;padding-bottom:26px}
  .community-copy h1{font-size:clamp(34px,10vw,46px);line-height:1.02}
  .community-copy>p{font-size:15px;line-height:1.5}
  .community-groups{gap:7px}
  .community-groups span{padding:8px 10px;font-size:12px}
  .quick-links{padding:14px 0}
  .community-quick-grid,.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .quick-card{min-height:72px;padding:12px;font-size:13px}
  .quick-card small{font-size:10px;line-height:1.25}

  .mobile-expand-btn{display:block;width:100%;margin-top:12px;padding:12px 14px;border:1px solid rgba(22,144,119,.28);border-radius:14px;background:rgba(15,95,60,.08);color:inherit;font-weight:800}
  .mobile-expand-btn.expanded{background:rgba(15,95,60,.14)}

  #communityVisual:not(.mobile-expanded){display:none}
  #defiPyramid:not(.mobile-expanded){max-height:235px;overflow:hidden;position:relative}
  #defiPyramid:not(.mobile-expanded)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:65px;background:linear-gradient(transparent,var(--card,#fff));pointer-events:none}
  #publicMatchHistory:not(.mobile-expanded)>*:nth-child(n+4){display:none!important}
  #kordaj .stringing-showcase:not(.mobile-expanded){max-height:330px;overflow:hidden;position:relative}
  #kordaj .stringing-showcase:not(.mobile-expanded)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(transparent,var(--bg,#fff));pointer-events:none}

  #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}
}

/* ==========================================================
   V44 - TURNUVA BAŞVURU SİSTEMİ
   ========================================================== */
.tournament-builder-card{overflow:visible}
.tournament-new-form{gap:18px}
.tournament-category-builder{
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f8faf8;
}
.tournament-category-builder-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.tournament-category-builder-head strong{display:block;font-size:15px;color:var(--text)}
.tournament-category-builder-head small{display:block;margin-top:5px;color:var(--muted);line-height:1.5}
.tournament-category-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.tournament-category-add-row .btn{min-height:48px;white-space:nowrap}
.tournament-category-editor-chips{display:flex;flex-wrap:wrap;gap:9px;min-height:36px;align-items:center}
.tournament-category-edit-chip{
  display:inline-flex;align-items:center;gap:8px;padding:9px 10px 9px 13px;border-radius:999px;
  background:#e7f5ed;border:1px solid #b9dfc8;color:#0e633d;font-size:13px;font-weight:800
}
.tournament-category-edit-chip button{
  width:24px;height:24px;border:0;border-radius:50%;background:#fff;color:#875050;font-size:18px;line-height:1;cursor:pointer
}
.category-empty-hint{color:var(--muted);font-size:13px}
.tournament-category-examples{color:var(--muted);font-size:12px;line-height:1.5}
.tournament-public-form-preview{
  display:grid;gap:6px;padding:14px 16px;border-radius:14px;border:1px solid #cce3d7;background:#f1faf5
}
.tournament-public-form-preview span{font-size:11px;font-weight:900;letter-spacing:.11em;color:var(--green)}
.tournament-public-form-preview strong{font-size:13px;color:#365245;line-height:1.45}
.compact-row{margin-bottom:14px}

.tournament-with-apps{grid-template-columns:110px minmax(0,1fr) auto}
.tournament-admin-status-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tournament-application-count{
  display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#edf2f7;color:#5f6d79;font-size:11px;font-weight:800
}
.tournament-category-mini-list{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.tournament-category-mini-list span{
  display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#ecf8f1;border:1px solid #cce8d8;color:#0d7045;font-size:11px;font-weight:800
}
.tournament-category-mini-list em{color:var(--muted);font-size:12px}
.admin-categories{margin-top:8px}
.admin-tournament-actions{flex-wrap:wrap;justify-content:flex-end}
.tournament-apps-btn{border-color:#bed8e8;color:#176387;background:#f4fbff}
.tournament-excel-btn{
  min-height:46px;
  padding:0 16px;
  border:1px solid #94d5b2;
  border-radius:11px;
  background:#eaf8f0;
  color:#087447;
  font-weight:900;
  white-space:nowrap;
}
.tournament-excel-btn:hover{background:#dff4e8;border-color:#65bd8c}
.tournament-excel-btn:disabled{opacity:.45;cursor:not-allowed}
.tournament-excel-btn.compact{min-height:38px;padding:0 13px;font-size:12px}
html[data-theme="dark"] .tournament-excel-btn{background:#14382a;border-color:#3f795b;color:#9cf0c2}

.tournament-applications-panel{
  grid-column:1/-1;margin-top:2px;padding:16px;border-top:1px solid var(--line);background:#f7faf8;border-radius:0 0 14px 14px
}
.tournament-applications-panel[hidden]{display:none}
.tournament-applications-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tournament-applications-panel-head strong{font-size:16px}
.tournament-applications-panel-head small{display:block;margin-top:3px;color:var(--muted)}
.tournament-app-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tournament-app-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff;border-radius:12px;overflow:hidden}
.tournament-app-table th,.tournament-app-table td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
.tournament-app-table th{font-size:10px;letter-spacing:.09em;color:var(--muted);background:#f6f8f7}
.tournament-app-table a{color:var(--green);font-weight:700;text-decoration:none}
.tournament-app-delete{min-height:34px;padding:0 10px;border-radius:9px;border:1px solid #efcaca;background:#fff3f3;color:#a03838;font-weight:800}
.tournament-app-empty{padding:20px;border:1px dashed var(--line);border-radius:12px;text-align:center;color:var(--muted);background:#fff}

.tournament-registration-list{display:grid;grid-template-columns:1fr;gap:26px;max-width:1120px;margin:0 auto}
.tournament-registration-card{box-shadow:0 20px 48px rgba(21,55,38,.10);border-radius:28px;overflow:hidden;background:#fff}
.tournament-registration-layout{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(0,1.1fr);min-height:590px}
.tournament-poster-side{display:flex;min-width:0;background:linear-gradient(145deg,#f5eee1,#eef4ef);border-right:1px solid var(--line)}
.tournament-registration-image{width:100%;height:100%;min-height:590px;display:grid;place-items:center;background:transparent;border-bottom:0}
.tournament-registration-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:transparent}
.tournament-registration-placeholder{width:100%;min-height:590px;display:grid;place-items:center;align-content:center;gap:10px;background:linear-gradient(135deg,#103f2d,#0a6d55);color:#fff}
.tournament-registration-placeholder span{font-size:76px}
.tournament-registration-placeholder small{font-size:12px;letter-spacing:.16em;font-weight:900;opacity:.82}
.tournament-registration-side{display:flex;flex-direction:column;min-width:0;padding:34px;background:#fff}
.tournament-registration-head{padding:0 0 20px;border-bottom:1px solid var(--line)}
.tournament-open-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;margin-bottom:12px;border-radius:999px;background:#e6f7ee;border:1px solid #b9e5ce;color:#087447;font-size:11px;font-weight:900;letter-spacing:.08em}
.tournament-registration-head h3{margin:0 0 9px;font-size:clamp(28px,3vw,38px);line-height:1.08;color:var(--text)}
.tournament-registration-head p{margin:0;color:var(--muted);line-height:1.55;font-size:14px;max-width:560px}
.tournament-public-category-summary{display:none}
.tournament-application-form{display:grid;gap:18px;margin:22px 0 0;padding:0;background:transparent;border:0;border-radius:0}
.tournament-application-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tournament-application-form label>span{display:block;margin-bottom:7px;color:#31443a;font-size:12px;font-weight:800}
.tournament-application-form input[type="text"],
.tournament-application-form input[type="tel"],
.tournament-application-form input:not([type]){width:100%;min-height:50px;border:1px solid #cedbd3;border-radius:12px;background:#fff;color:var(--text);padding:0 13px;font:inherit}
.tournament-category-selection{display:grid;gap:12px;padding:16px;border:1px solid #dfe7e2;border-radius:18px;background:#f8faf8}
.tournament-category-selection-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tournament-category-selection-head strong{display:block;font-size:14px;color:var(--text)}
.tournament-category-selection-head small{display:block;margin-top:4px;color:var(--muted)}
.tournament-selected-count{min-width:50px;padding:6px 9px;border-radius:999px;background:#e9f2ed;color:#126b46;text-align:center;font-size:11px;font-weight:900}
.tournament-category-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tournament-category-choice{cursor:pointer}
.tournament-category-choice input{position:absolute;opacity:0;pointer-events:none}
.tournament-category-choice span{min-height:48px;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d3ddd6;border-radius:13px;background:#fff;color:#425149;font-size:13px;font-weight:700;transition:.16s ease}
.tournament-category-choice input:checked+span{background:#e5f7ed;border-color:#58b783;color:#075d38;box-shadow:0 0 0 2px rgba(27,151,90,.08)}
.tournament-category-choice span b{font-size:15px}
.tournament-apply-btn{min-height:56px;font-size:15px;font-weight:900}
.tournament-apply-btn:disabled{opacity:.5;cursor:not-allowed}
.tournament-application-message{margin:0;min-height:18px;font-size:13px;font-weight:800;line-height:1.45}
.tournament-application-message.success{color:#087447}
.tournament-application-message.error{color:#b53646}
.tournament-privacy-note{color:var(--muted);font-size:10px;line-height:1.45;text-align:center}
.tournament-no-category-note{padding:13px;border:1px dashed #d3ddd6;border-radius:12px;color:var(--muted);font-size:12px;line-height:1.5;background:#fff}

html[data-theme="dark"] .tournament-category-builder,
html[data-theme="dark"] .tournament-applications-panel{background:#111c18;border-color:#294139}
html[data-theme="dark"] .tournament-registration-card,
html[data-theme="dark"] .tournament-registration-side{background:#0f1915}
html[data-theme="dark"] .tournament-poster-side{background:#141d18;border-color:#294139}
html[data-theme="dark"] .tournament-category-selection{background:#111c18;border-color:#294139}
html[data-theme="dark"] .tournament-open-badge{background:#14382a;border-color:#3f795b;color:#9cf0c2}
html[data-theme="dark"] .tournament-public-form-preview{background:#11231b;border-color:#264638}
html[data-theme="dark"] .tournament-public-form-preview strong{color:#c4d5cc}
html[data-theme="dark"] .tournament-category-edit-chip,
html[data-theme="dark"] .tournament-category-mini-list span,
html[data-theme="dark"] .tournament-public-category-summary span{background:#153127;border-color:#2e5a46;color:#8ce0b5}
html[data-theme="dark"] .tournament-application-count{background:#1d2b30;color:#a5b5bd}
html[data-theme="dark"] .tournament-app-table{background:#101b17}
html[data-theme="dark"] .tournament-app-table th{background:#15231e}
html[data-theme="dark"] .tournament-app-empty,
html[data-theme="dark"] .tournament-category-choice span,
html[data-theme="dark"] .tournament-no-category-note{background:#0f1915;border-color:#2a4037;color:#c4d0ca}
html[data-theme="dark"] .tournament-category-choice input:checked+span{background:#14382a;border-color:#4ba876;color:#9cf0c2}
html[data-theme="dark"] .tournament-application-form label>span{color:#d7e2dc}
html[data-theme="dark"] .tournament-application-form input[type="text"],
html[data-theme="dark"] .tournament-application-form input[type="tel"],
html[data-theme="dark"] .tournament-application-form input:not([type]){background:#0d1713;border-color:#30463d;color:#f1f6f3}
html[data-theme="dark"] .tournament-registration-head h3{color:#f4f8f6}
html[data-theme="dark"] .tournament-selected-count{background:#173126;color:#8be0b4}

@media(max-width:900px){
  .tournament-registration-layout{grid-template-columns:1fr}
  .tournament-poster-side{border-right:0;border-bottom:1px solid var(--line)}
  .tournament-registration-image{min-height:0;max-height:520px}
  .tournament-registration-image img{height:auto;max-height:520px;object-fit:contain}
  .tournament-registration-placeholder{min-height:300px}
  .tournament-registration-side{padding:26px}
}
@media(max-width:760px){
  .tournament-category-add-row{grid-template-columns:1fr}
  .tournament-category-add-row .btn{width:100%}
  .tournament-with-apps{grid-template-columns:76px minmax(0,1fr)}
  .tournament-with-apps .admin-tournament-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}
  .tournament-with-apps .admin-tournament-actions .tournament-delete-btn{grid-column:auto}
  .tournament-with-apps .admin-tournament-actions .tournament-excel-btn{width:100%}
  .tournament-applications-panel-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .tournament-applications-panel{padding:12px}
  .tournament-registration-card{border-radius:22px}
  .tournament-registration-image{max-height:440px}
  .tournament-registration-image img{max-height:440px}
  .tournament-registration-side{padding:20px 17px 18px}
  .tournament-registration-head{padding:0 0 16px}
  .tournament-registration-head h3{font-size:27px}
  .tournament-application-form{margin-top:18px;gap:15px}
  .tournament-application-fields{grid-template-columns:1fr}
  .tournament-category-selection{padding:13px;border-radius:15px}
  .tournament-category-choice-grid{grid-template-columns:1fr}
}


/* ==========================================================
   V48 - TURNUVA GELİŞMİŞ BAŞVURU AYARLARI
   ========================================================== */
.tournament-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tournament-settings-grid label{display:grid;gap:7px}
.tournament-settings-grid label small{color:var(--muted);font-size:12px;line-height:1.45;font-weight:500}
.tournament-admin-meta{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:10px;color:var(--muted);font-size:12px;font-weight:700}
.tournament-admin-meta .deadline-passed{color:#b73d4f}
.tournament-deadline-line{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:0 0 10px;color:#7a6350;font-size:13px}
.tournament-deadline-line strong{color:#5a4030}
.tournament-open-badge.closed{background:#fff0f1;border-color:#efc0c7;color:#b13649}
.tournament-rules-details{margin:18px 0 0;border:1px solid #dbe5df;border-radius:15px;background:#f8faf8;overflow:hidden}
.tournament-rules-details summary{cursor:pointer;list-style:none;padding:14px 16px;color:#145f42;font-size:13px;font-weight:900;user-select:none}
.tournament-rules-details summary::-webkit-details-marker{display:none}
.tournament-rules-details summary::after{content:"＋";float:right;font-size:17px;line-height:1}
.tournament-rules-details[open] summary::after{content:"−"}
.tournament-rules-content{padding:0 16px 16px;border-top:1px solid #e2e9e5;padding-top:14px;white-space:pre-wrap;color:#495b51;font-size:13px;line-height:1.65}
.tournament-application-fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}
.tournament-application-fieldset:disabled{opacity:.64}
html[data-theme="dark"] .tournament-rules-details{background:#111c18;border-color:#294139}
html[data-theme="dark"] .tournament-rules-details summary{color:#9cf0c2}
html[data-theme="dark"] .tournament-rules-content{border-color:#294139;color:#c8d4ce}
html[data-theme="dark"] .tournament-deadline-line{color:#c1b0a2}
html[data-theme="dark"] .tournament-deadline-line strong{color:#ead9ca}
@media(max-width:760px){.tournament-settings-grid{grid-template-columns:1fr}.tournament-application-fieldset{gap:15px}}

/* ==========================================================
   V49 - SITE GENELI ISLEM BILDIRIMLERI
   ========================================================== */
.site-toast-container{
  position:fixed;
  top:18px;
  right:18px;
  z-index:99999;
  display:grid;
  gap:10px;
  width:min(420px,calc(100vw - 28px));
  pointer-events:none;
}
.site-toast{
  pointer-events:auto;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 34px;
  gap:12px;
  align-items:center;
  padding:14px 14px 14px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:#101b2e;
  color:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.28);
  opacity:0;
  transform:translateY(-12px) scale(.98);
  transition:opacity .2s ease,transform .2s ease;
}
.site-toast.show{opacity:1;transform:translateY(0) scale(1)}
.site-toast-icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  font-size:21px;font-weight:1000;
  background:rgba(255,255,255,.10);
}
.site-toast-copy{display:grid;gap:3px;min-width:0}
.site-toast-copy strong{font-size:13px;letter-spacing:.035em}
.site-toast-copy span{font-size:14px;line-height:1.42;color:rgba(255,255,255,.86)}
.site-toast-close{
  width:32px;height:32px;border:0;border-radius:10px;
  background:rgba(255,255,255,.08);color:#fff;font-size:20px;cursor:pointer
}
.site-toast.success{background:linear-gradient(135deg,#075b43,#0b8060);border-color:#1bd9a0}
.site-toast.success .site-toast-icon{background:rgba(24,226,164,.18);color:#9affdf}
.site-toast.error{background:linear-gradient(135deg,#5b1627,#8b1d39);border-color:#ff6b8d}
.site-toast.error .site-toast-icon{background:rgba(255,107,141,.18);color:#ffd0dc}
.site-toast.warning{background:linear-gradient(135deg,#5f3b08,#8a570b);border-color:#ffc35a}
.site-toast.loading{background:linear-gradient(135deg,#10284e,#163b72);border-color:#5a9dff}
.site-toast.loading .site-toast-icon{animation:siteToastSpin 1s linear infinite;color:#9ec8ff}
@keyframes siteToastSpin{to{transform:rotate(360deg)}}
html[data-theme="light"] .site-toast:not(.success):not(.error):not(.warning):not(.loading){background:#fff;color:#152033;border-color:#d9e1ec}
html[data-theme="light"] .site-toast:not(.success):not(.error):not(.warning):not(.loading) .site-toast-copy span{color:#607087}
@media(max-width:640px){
  .site-toast-container{top:10px;right:10px;width:calc(100vw - 20px)}
  .site-toast{grid-template-columns:40px minmax(0,1fr) 30px;padding:12px;border-radius:16px}
  .site-toast-icon{width:40px;height:40px;border-radius:12px}
  .site-toast-copy span{font-size:13px}
}

.field-hint{display:block;margin-top:6px;color:var(--muted,#718096);font-size:12px;line-height:1.35;font-weight:600}


/* ==========================================================
   V52 - Defi Piramit WhatsApp Paylasimi
   ========================================================== */
.pyramid-share-head{
  align-items:flex-start;
  gap:18px;
}
.pyramid-share-head .sub{
  margin-bottom:0;
  max-width:680px;
}
.pyramid-share-btn{
  flex:0 0 auto;
  min-height:48px;
  padding:0 18px;
  white-space:nowrap;
  background:linear-gradient(135deg,#0c754f,#10956a);
  box-shadow:0 10px 24px rgba(10,117,79,.18);
}
.pyramid-share-btn:disabled{
  opacity:.65;
  cursor:wait;
}
.pyramid-share-help{
  margin:8px 0 0;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
@media(max-width:760px){
  .pyramid-share-head{
    display:grid;
  }
  .pyramid-share-btn{
    width:100%;
    white-space:normal;
  }
}


/* V53 - Defi oyuncu telefon ülke kodu */
.defi-phone-row{display:grid;grid-template-columns:minmax(160px,205px) minmax(0,1fr);gap:10px;align-items:center;margin-top:6px}
.defi-phone-row select,.defi-phone-row input{width:100%;margin:0}
@media(max-width:620px){.defi-phone-row{grid-template-columns:1fr}.defi-phone-row select{min-height:50px}}


/* V56 - Section order refresh + enriched footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:36px 0 22px;
  color:var(--muted);
  font-size:13px;
  background:rgba(255,255,255,.54);
}
.footer-rich{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:28px;
}
.footer-brand-block{display:grid;gap:6px;max-width:620px}
.footer-brand{font-size:20px;color:var(--text)}
.footer-location{color:var(--green);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:11px}
.footer-brand-block p{margin:4px 0 0;line-height:1.6}
.footer-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}
.footer-instagram,.footer-top-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:0 14px;
  border-radius:13px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  text-decoration:none;
  font-weight:800;
}
.footer-instagram:hover,.footer-top-link:hover{border-color:var(--green);color:var(--green)}
.footer-bottom{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
}
html[data-theme="dark"] .site-footer{background:#08100c;border-color:var(--line)}
html[data-theme="dark"] .footer-instagram,
html[data-theme="dark"] .footer-top-link{background:#0c1711}
@media(max-width:700px){
  .site-footer{padding:28px 0 18px}
  .footer-rich{flex-direction:column;gap:18px}
  .footer-links{width:100%;justify-content:flex-start}
  .footer-instagram,.footer-top-link{flex:1 1 auto;justify-content:center}
  .footer-bottom{margin-top:18px;flex-direction:column;gap:6px}
}
