/* =============================================================================
   PUAN DURUMU (puan_durumu.php) — css/ef2_temel.css + css/fikstur.css üzerine
   ============================================================================= */
.pd-duzen { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
.pd-duzen.tek { grid-template-columns: minmax(0, 1fr); }
.pd-icerik { min-width: 0; }
.pd-yuk { opacity: .45; pointer-events: none; transition: opacity .2s; }
.pd-yeni { color: var(--ef-altin); font-weight: 800; }
.pd-metin-dugme { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--ef-mavi); text-decoration: underline; }

/* ---------- Lig menüsü ---------- */
.pd-menu { position: sticky; top: 12px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
    background: rgba(10, 19, 51, .78); border: 1px solid var(--ef-cizgi); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pd-menu-ust { display: grid; gap: 10px; padding: 14px; border-bottom: 1px solid var(--ef-cizgi); }
.pd-menu select, .pd-menu input { width: 100%; height: 42px; padding: 0 14px; border-radius: 14px; font-size: 14px; font-weight: 600; color: #fff; outline: none;
    background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); }
.pd-menu select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
    background: rgba(0, 0, 0, .3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239fb0c9' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center / 12px; }
.pd-menu select option { background: #0a1433; }
.pd-menu input::placeholder { color: #7f90ad; }
.pd-menu select:focus, .pd-menu input:focus { border-color: var(--ef-neon); }
.pd-ligler { overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.pd-lig > button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; cursor: pointer; text-align: left;
    font: 800 12.5px/1.25 'Inter', sans-serif; letter-spacing: .3px; color: #dbe7ff; background: none; border: 0; }
.pd-lig > button:hover { background: rgba(255, 255, 255, .05); }
.pd-lig > button small { margin-left: auto; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; color: var(--ef-soluk); background: rgba(255, 255, 255, .06); }
.pd-lig > button .fa-chevron-down { color: var(--ef-soluk); transition: transform .2s; }
.pd-lig > button .pd-lig-yildiz { color: var(--ef-altin); }
.pd-lig.acik > button { color: var(--ef-neon); }
.pd-lig.acik > button .fa-chevron-down { transform: rotate(180deg); }
.pd-gruplar { display: none; flex-wrap: wrap; gap: 6px; padding: 4px 10px 12px; }
.pd-lig.acik .pd-gruplar { display: flex; }
.pd-gruplar button { padding: 7px 11px; border-radius: 999px; cursor: pointer; font: 700 12px/1 'Inter', sans-serif; color: #c9d6ee; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.pd-gruplar button:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.pd-gruplar button.takip { border-color: rgba(255, 201, 60, .55); }
.pd-gruplar button.takip i { color: var(--ef-altin); font-size: 10px; }
.pd-gruplar button.aktif { color: #04210f; background: var(--ef-neon); border-color: var(--ef-neon); }
.pd-gruplar button.aktif i { color: #04210f; }
.pd-menu-bos { padding: 20px; text-align: center; font-size: 13px; color: var(--ef-soluk); }
.pd-menu-ac { display: none; }

/* ---------- Grup kartı ---------- */
.pd-diger { margin-bottom: 12px; align-items: center; }
.pd-kart { border-radius: 24px; background: var(--ef-kart); border: 1px solid var(--ef-cizgi); overflow: hidden; margin-bottom: 18px; }
.pd-kart-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--ef-cizgi); background: rgba(0, 0, 0, .15); }
.pd-kart-bas h2 { font-family: var(--ef-disp); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: 1px; color: #fff; }
.pd-kart-bas h2 em { font-style: normal; color: var(--ef-mavi); }
.pd-kart-bas small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--ef-soluk); }
.pd-araclar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-arac { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: 700 12.5px/1 'Inter', sans-serif; color: #fff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.pd-arac:hover { border-color: var(--ef-neon); }
.pd-tur { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12); }
.pd-tur button { height: 32px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer; font: 700 12px/1 'Inter', sans-serif; color: #c9d6ee; background: none; }
.pd-tur button.aktif { color: #04210f; background: var(--ef-neon); }

/* Haftalar */
.pd-haftalar { display: flex; gap: 6px; overflow-x: auto; padding: 12px 18px; border-bottom: 1px solid var(--ef-cizgi); scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.pd-haftalar b { flex: 0 0 auto; align-self: center; margin-right: 4px; font: 800 11px/1 'Inter', sans-serif; letter-spacing: 1.2px; color: var(--ef-soluk); }
.pd-haftalar button { flex: 0 0 auto; min-width: 38px; height: 38px; border-radius: 12px; cursor: pointer; font: 800 13px/1 'Inter', sans-serif; color: #c9d6ee; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pd-haftalar button.bos { opacity: .5; }
.pd-haftalar button.aktif { color: #04210f; background: var(--ef-neon); border-color: var(--ef-neon); opacity: 1; }

/* Tablo */
.pd-tablo-kap { overflow-x: auto; }
.pd-tablo-kap[hidden] { display: none; }
.pd-tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pd-tablo th { padding: 10px 8px; font: 800 11px/1 'Inter', sans-serif; letter-spacing: 1px; color: var(--ef-soluk); text-align: center; border-bottom: 1px solid var(--ef-cizgi); }
.pd-tablo th.takim { text-align: left; }
.pd-tablo td { padding: 8px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .05); color: #dbe7ff; font-variant-numeric: tabular-nums; }
.pd-tablo tr:last-child td { border-bottom: 0; }
.pd-tablo tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.pd-sira-kap { display: flex; align-items: center; justify-content: center; gap: 3px; min-width: 44px; }
.pd-sira { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: rgba(255, 255, 255, .06); }
tr.ilk .pd-sira { color: #1b1300; background: linear-gradient(135deg, var(--ef-altin), #ffae00); }
.pd-degisim { display: inline-flex; align-items: center; font: 800 10.5px/1 'Inter', sans-serif; }
.pd-degisim i { font-size: 13px; }
.pd-degisim.yukari { color: var(--ef-neon); }
.pd-degisim.asagi { color: var(--ef-kirmizi); }
.pd-tablo td.takim { text-align: left; }
.pd-takim { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.pd-takim img { flex: 0 0 auto; width: 30px; height: 30px; padding: 3px; border-radius: 9px; background: #fff; object-fit: contain; }
.pd-takim a { flex: 1 1 auto; min-width: 0; font-weight: 700; line-height: 1.25; color: #eef4ff; }
.pd-takim a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pd-yildiz { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; font-size: 15px; color: rgba(255, 255, 255, .35); background: none; transition: color .2s, transform .2s, background .2s; }
.pd-yildiz:hover { color: var(--ef-altin); background: rgba(255, 201, 60, .1); transform: scale(1.1); }
.pd-yildiz.takipte, .pd-yildiz.kulupte { color: var(--ef-altin); }
.pd-yildiz:disabled { cursor: default; transform: none; }
.pd-tablo td.p { font-family: var(--ef-disp); font-size: 22px; color: var(--ef-neon); letter-spacing: .5px; }
.pd-tablo td.av-art { color: #6cf0a8; } .pd-tablo td.av-eks { color: #ff8f9a; }
.pd-tablo tr.takipte td { background: rgba(255, 201, 60, .07); }
.pd-tablo tr.takipte td:first-child { box-shadow: inset 4px 0 0 var(--ef-altin); }
.pd-tablo tr.secili td { background: rgba(61, 255, 138, .1); }
.pd-tablo tr.secili td:first-child { box-shadow: inset 4px 0 0 var(--ef-neon); }
.pd-tablo tr.secili .pd-takim a { color: var(--ef-neon); }
.pd-form { display: flex; gap: 3px; justify-content: center; }
.pd-form i { width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font: 900 9.5px/1 'Inter', sans-serif; font-style: normal; color: #04210f; }
.pd-form .G { background: var(--ef-neon); } .pd-form .B { background: var(--ef-altin); } .pd-form .M { background: var(--ef-kirmizi); color: #fff; }
.pd-sonraki { display: inline-flex; align-items: center; gap: 3px; }
.pd-sonraki img { width: 26px; height: 26px; padding: 2px; border-radius: 8px; background: #fff; object-fit: contain; }
.pd-sonraki small { font: 800 10px/1 'Inter', sans-serif; color: var(--ef-soluk); }
.pd-sonraki.bay { font-size: 11px; color: var(--ef-soluk); }
.pd-lejant { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 18px 14px; font-size: 11.5px; color: var(--ef-soluk); border-top: 1px solid var(--ef-cizgi); }
.pd-lejant i { color: var(--ef-altin); }

/* Grup istatistikleri */
.pd-istatlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pd-istat { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 18px; background: var(--ef-kart); border: 1px solid var(--ef-cizgi); }
.pd-istat > i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ef-neon); background: rgba(61, 255, 138, .1); }
.pd-istat > img { flex: 0 0 auto; width: 40px; height: 40px; padding: 4px; border-radius: 12px; background: #fff; object-fit: contain; }
.pd-istat div { min-width: 0; display: flex; flex-direction: column; }
.pd-istat b { font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-istat span { font-size: 12px; font-weight: 700; color: var(--ef-mavi); }
.pd-istat small { font-size: 11px; color: var(--ef-soluk); }

/* Haftanın maçları (fikstür kartları) */
.pd-maclar.mf-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 14px 14px; }
.pd-kart-sonraki { border-color: rgba(76, 195, 240, .28); }

/* ---------- Takımlarım: takım kartları ---------- */
.pd-cta { margin-bottom: 18px; }
.pd-tk-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-tk { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--ef-kart); border: 1px solid var(--ef-cizgi); }
.pd-tk.lider { border-color: rgba(255, 201, 60, .5); background: linear-gradient(180deg, rgba(255, 201, 60, .08), rgba(16, 27, 66, .72) 55%); }
.pd-tk-ust { display: flex; align-items: center; gap: 12px; }
.pd-tk-ad { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pd-tk-ad a { font-weight: 800; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-tk-ad a:hover { text-decoration: underline; }
.pd-tk-ad small { font-size: 12px; font-weight: 700; color: var(--ef-mavi); }
.pd-tk-orta { display: flex; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); }
.pd-tk-orta.bos { font-size: 13px; color: var(--ef-soluk); }
.pd-tk-sira, .pd-tk-p { display: flex; flex-direction: column; align-items: center; }
.pd-tk-sira b, .pd-tk-p b { font-family: var(--ef-disp); font-weight: 400; font-size: 40px; line-height: .9; color: #fff; }
.pd-tk-p b { color: var(--ef-neon); }
.pd-tk.lider .pd-tk-sira b { color: var(--ef-altin); }
.pd-tk-sira small, .pd-tk-p small { font-size: 11px; color: var(--ef-soluk); }
.pd-tk-ogbm { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #c9d6ee; }
.pd-tk-ogbm .pd-form { justify-content: flex-start; }
.pd-tk-satir { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #c9d6ee; }
.pd-tk-satir > i:first-child { width: 16px; text-align: center; color: var(--ef-mavi); }
.pd-tk-satir span { flex: 1 1 auto; min-width: 0; }
.pd-tk-satir b { color: #fff; }
.pd-tk-sonuc { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font: 900 10px/1 'Inter', sans-serif; font-style: normal; color: #04210f; }
.pd-tk-sonuc.G { background: var(--ef-neon); } .pd-tk-sonuc.B { background: var(--ef-altin); } .pd-tk-sonuc.M { background: var(--ef-kirmizi); color: #fff; }
.pd-tk-alt { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px dashed rgba(255, 255, 255, .1); font-size: 12px; }
.pd-tk .pd-yildiz { color: rgba(255, 255, 255, .45); }
.pd-tk .pd-yildiz.takipte, .pd-tk .pd-yildiz.kulupte { color: var(--ef-altin); }
.mf-blok-bas small { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; color: var(--ef-soluk); letter-spacing: 0; }

/* ---------- Tüm ligler ---------- */
.pd-ozet-sayilar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pd-ozet-sayilar div { padding: 14px 10px; border-radius: 18px; text-align: center; background: var(--ef-kart); border: 1px solid var(--ef-cizgi); }
.pd-ozet-sayilar b { display: block; font-family: var(--ef-disp); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ef-neon); }
.pd-ozet-sayilar span { font-size: 12px; font-weight: 700; color: var(--ef-soluk); }
.pd-lk { margin-bottom: 18px; padding: 14px; border-radius: 22px; background: rgba(10, 19, 51, .45); border: 1px solid var(--ef-cizgi); }
.pd-lk h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 2px 4px 12px; font-family: var(--ef-disp); font-weight: 400; font-size: 26px; letter-spacing: .8px; color: #fff; }
.pd-lk h3 i { font-size: 16px; color: var(--ef-altin); }
.pd-lk h3 small { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--ef-soluk); }
.pd-lk-gruplar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 8px; align-items: start; }
.pd-lk-grup { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; padding: 10px 12px; border-radius: 14px; cursor: pointer; text-align: left;
    color: #dbe7ff; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .2s, background .2s; }
.pd-lk-grup:hover { border-color: rgba(61, 255, 138, .45); background: rgba(61, 255, 138, .06); }
.pd-lk-grup.takipli { border-color: rgba(255, 201, 60, .45); }
.pd-lk-ad { font: 800 12px/1 'Inter', sans-serif; color: var(--ef-mavi); white-space: nowrap; }
.pd-lk-lider { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; font-weight: 700; }
.pd-lk-lider img { flex: 0 0 auto; width: 24px; height: 24px; padding: 2px; border-radius: 7px; background: #fff; object-fit: contain; }
.pd-lk-lider span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-lk-lider.bos { font-size: 11.5px; font-weight: 600; color: var(--ef-soluk); }
.pd-lk-grup > b { font-family: var(--ef-disp); font-weight: 400; font-size: 18px; color: var(--ef-neon); white-space: nowrap; }
.pd-lk-grup > small { font-size: 10.5px; font-weight: 700; color: var(--ef-soluk); white-space: nowrap; }
.pd-lk-takip { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; color: var(--ef-altin); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
    .pd-istatlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-tablo .gizle-t { display: none; }
}
@media (max-width: 991px) {
    .pd-duzen { grid-template-columns: minmax(0, 1fr); }
    .pd-menu-ac { display: flex; width: 100%; justify-content: center; margin-bottom: 12px; }
    .pd-menu { position: static; max-height: none; display: none; margin-bottom: 16px; }
    .pd-menu.acik { display: flex; }
    .pd-ligler { max-height: 60vh; }
    .pd-tablo .gizle-t { display: table-cell; }
    .pd-ozet-sayilar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .pd-tablo .gizle-m, .pd-tablo .gizle-t { display: none; }
    .pd-takim { min-width: 0; gap: 6px; }
    .pd-takim img { width: 24px; height: 24px; }
    .pd-takim a { font-size: 12px; }
    .pd-yildiz { width: 26px; height: 26px; font-size: 14px; }
    .pd-tablo td, .pd-tablo th { padding: 7px 3px; }
    .pd-tablo td:first-child, .pd-tablo th:first-child { padding-left: 6px; }
    .pd-tablo { font-size: 12.5px; }
    .pd-sira-kap { min-width: 0; flex-direction: column; gap: 1px; }
    .pd-sira { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }
    .pd-tablo td.p { font-size: 19px; }
    .pd-kart-bas { padding: 14px; }
    .pd-kart-bas h2 { font-size: 25px; }
    .pd-araclar { width: 100%; }
    .pd-tur { flex: 1 1 auto; }
    .pd-tur button { flex: 1 1 0; padding: 0 6px; }
    .pd-arac { padding: 0 12px; }
    .pd-haftalar { padding: 10px 14px; }
    .pd-istatlar { grid-template-columns: minmax(0, 1fr); }
    .pd-maclar.mf-izgara, .pd-tk-izgara { grid-template-columns: minmax(0, 1fr); }
    .pd-ozet-sayilar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .pd-ozet-sayilar b { font-size: 28px; }
}
@media print {
    .ef2-baslik, .mf-ust, .mf-kisayollar, .mf-sekmeler, .pd-menu, .pd-menu-ac, .pd-araclar, .pd-haftalar, .ef2-dok, .pd-lejant, .pd-yildiz, .pd-diger, .mf-kaynak { display: none !important; }
    .pd-duzen { display: block; }
}
