/* Liderin telefon sayfası: sade, büyük dokunma alanları, kulübün rengi (--vurgu) */
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1d2527; background: #f4f6f6; }
.ust { display: flex; align-items: center; gap: 12px; padding: 14px 16px calc(14px); padding-top: max(14px, env(safe-area-inset-top)); background: var(--vurgu); color: #fff; }
.ust img { height: 40px; width: 40px; border-radius: 10px; }
.ust div { display: flex; flex-direction: column; line-height: 1.25; }
.ust span { font-size: 13px; opacity: .9; }
main { padding: 16px; max-width: 560px; margin: 0 auto; padding-bottom: 40px; }
h1 { font-size: 22px; margin: 6px 0 2px; }
h2 { font-size: 16px; margin: 22px 0 8px; }
.soluk { color: #66737a; font-size: 14px; margin: 0 0 12px; }
.gizli { display: none !important; }
.bant { background: #fff4d6; color: #7a5a00; padding: 10px 16px; font-size: 14px; }
.kart { display: block; background: #fff; border: 1px solid #e2e7e8; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; color: inherit; text-decoration: none; }
.kart.acik { border-color: var(--vurgu); box-shadow: 0 0 0 1px var(--vurgu); }
.kart__ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.kart .soluk { margin: 0; }
.etiket { font-size: 13px; color: #66737a; white-space: nowrap; }
.etiket.vurgu { color: var(--vurgu); font-weight: 600; }
.etiket.iyi { color: #23854f; }
.etiket.uyari { color: #9a6b00; }
.ipucu { font-size: 13px; color: #66737a; margin-top: 18px; }
.kur { background: #fff; border: 1px solid var(--vurgu); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.kur__ust { display: flex; justify-content: space-between; align-items: center; }
.kur__kapat { border: 0; background: none; font-size: 22px; line-height: 1; color: #66737a; padding: 0 4px; }
.kur p { margin: 4px 0 8px; color: #3d4a4f; }
.kur ol { margin: 0; padding-left: 20px; color: #3d4a4f; line-height: 1.55; }
.kur__dugme { display: block; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: var(--vurgu); color: #fff; font: inherit; font-weight: 700; }
.geri, .baglanti { color: var(--vurgu); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; font-size: 15px; }
.sayac { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #66737a; margin: 6px 0 4px; }
.liste { background: #fff; border: 1px solid #e2e7e8; border-radius: 14px; padding: 2px 12px; }
.satir { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #edf0f1; }
.satir:first-child { border-top: 0; }
.satir > span { flex: 1; min-width: 0; font-weight: 500; }
.ucl { display: flex; background: #eef2f2; border-radius: 99px; padding: 3px; }
.ucl button { border: 0; background: none; font: inherit; font-size: 14px; padding: 7px 11px; border-radius: 99px; color: #66737a; }
.ucl button.sec.geldi { background: #2fa36b; color: #fff; }
.ucl button.sec.izinli { background: #e8b53a; color: #2a2007; }
.ucl button.sec.gelmedi { background: #d9534a; color: #fff; }
label { display: block; font-size: 14px; color: #3d4a4f; margin-bottom: 10px; }
textarea { display: block; width: 100%; margin-top: 4px; font: inherit; padding: 10px; border: 1px solid #d5dcde; border-radius: 10px; background: #fff; }
.etiket-baslik { font-size: 14px; color: #3d4a4f; margin-bottom: 6px; }
.alanlar { display: flex; flex-wrap: wrap; gap: 8px; }
.alanlar button { font: inherit; font-size: 14px; border: 1px solid #d5dcde; background: #fff; border-radius: 99px; padding: 6px 12px; color: #3d4a4f; }
.alanlar button.sec { background: var(--vurgu); border-color: var(--vurgu); color: #fff; }
.gonder { display: block; width: 100%; margin-top: 22px; padding: 14px; border: 0; border-radius: 14px; background: var(--vurgu); color: #fff; font: inherit; font-weight: 700; font-size: 17px; }
.gonder:disabled { opacity: .6; }
.hata { background: #fde8e6; color: #a3261c; padding: 10px 12px; border-radius: 10px; margin-top: 14px; font-size: 14px; }
/* sporcu: Fişlerim / Geçmişim */
.sekmeler { display: flex; gap: 6px; padding: 10px 16px 0; max-width: 560px; margin: 0 auto; }
.sekmeler a { flex: 1; text-align: center; padding: 9px; border-radius: 12px; text-decoration: none; color: #66737a; font-weight: 600; font-size: 15px; background: #e9eeee; }
.sekmeler a.sec { background: var(--vurgu); color: #fff; }
/* sporcunun antrenman fişi */
.doldur { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.doldur button { font: inherit; font-size: 14px; border: 1px solid var(--vurgu); color: var(--vurgu); background: #fff; border-radius: 99px; padding: 6px 12px; }
.hr { background: #fff; border: 1px solid #e2e7e8; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.hr__ust { display: flex; gap: 8px; align-items: center; }
.hr select, .hr input { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid #d5dcde; border-radius: 10px; background: #fff; color: inherit; min-width: 0; }
.hr > input { margin-top: 8px; }
.hr__sil { border: 0; background: none; font-size: 24px; line-height: 1; color: #9aa8ab; padding: 0 4px; }
.hr__sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hr__sayilar label { margin: 0; font-size: 12px; color: #66737a; }
.hr__sayilar input { margin-top: 2px; text-align: center; font-size: 17px; }
.ekle { display: block; margin: 4px 0 0; }
/* sporcunun geçmişi */
.hareketler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hk { background: #fff; border: 1px solid #e2e7e8; border-radius: 14px; padding: 10px 12px; min-width: 0; }
.hk__ad { font-size: 13px; color: #66737a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk__deger b { font-size: 22px; }
.hk__deger span { display: block; font-size: 12px; color: #66737a; }
.cizgi { display: block; width: 100%; height: 34px; margin-top: 6px; }
.cizgi polyline { fill: none; stroke: var(--vurgu); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gs { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 3px 0; }
.gs span { color: #3d4a4f; }
.tamam { text-align: center; padding-top: 30px; }
.tamam__ikon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: #2fa36b; color: #fff; font-size: 34px; line-height: 64px; }
.tamam__ikon.bekliyor { background: #e8b53a; }
.tamam__ikon.hata { background: #d9534a; }
.kutu { background: #fff; border: 1px solid #e2e7e8; border-radius: 12px; padding: 12px; font-size: 14px; color: #3d4a4f; text-align: left; }
@media (prefers-color-scheme: dark) {
  body { background: #11181a; color: #e5ecec; }
  .kart, .liste, .kutu, textarea, .alanlar button, .kur, .hr, .hr select, .hr input, .hk, .doldur button { background: #1a2426; border-color: #2a3638; color: #e5ecec; }
  .doldur button { border-color: var(--vurgu); }
  .sekmeler a { background: #1f2a2c; color: #9aa8ab; }
  .sekmeler a.sec { background: var(--vurgu); color: #fff; }
  .hk__ad, .hk__deger span, .hr__sayilar label, .gs span { color: #9aa8ab; }
  .kur { border-color: var(--vurgu); }
  .kur p, .kur ol { color: #c3cdcf; }
  .satir { border-color: #253133; }
  .ucl { background: #233033; }
  .soluk, .etiket, .ipucu, .sayac { color: #9aa8ab; }
  label, .etiket-baslik { color: #c3cdcf; }
}
