* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #eef1f5; color: #1a1a2e; margin: 0; font-size: 15px;
}
.wrap { max-width: 1000px; margin: 0 auto; padding: 16px; }
header.site {
  background: #10214b; color: #fff; padding: 0; margin-bottom: 16px;
}
header.site .wrap { max-width: none; position: relative; display: block; min-height: 48px; padding: 0; }
header.site h1.brand { font-size: 20px; margin: 0; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: calc((100% - 1000px) / 2); min-width: max-content;
  text-align: center; padding: 0 10px; }
header.site a { color: #fff; text-decoration: none; }
/* Ana menü: marka + eşit genişlikte dikdörtgen butonlar; barı hem yatayda hem
   dikeyde doldururlar. Pasif = bar zemini, aktif/basılı = beyaz zemin. */
/* Orta grup (arama + 3 buton): içerik kolonuyla birebir aynı genişlik/hiza */
header.site .hcenter, .subbar .hcenter { max-width: 1000px; margin: 0 auto;
  padding: 0 16px; display: flex; align-items: stretch; min-height: 48px; }
/* nav kabı yerleşimde görünmez: arama + 3 buton, hcenter'ın 4 eşit hücresi olur
   (alt barla birebir aynı bölüşüm) */
nav.mainmenu { display: contents; }
/* Arama kutusu: menü butonlarıyla aynı tema ve genişlik (flex 1'e 3 buton flex 3) */
.mm-search { flex: 1 1 0; display: flex; align-items: stretch; margin: 0; min-width: 0; }
.mm-search input {
  width: 100%; background: #10214b; border: none; border-radius: 0;
  padding: 0 12px; font-size: 15px; color: #fff;
}
.mm-search input::placeholder { color: #9fb0d8; }
.mm-search input:focus { background: #fff; color: #10214b; outline: none; }
nav.mainmenu a {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  background: #10214b; border: none; border-radius: 0;
  padding: 0; font-size: 15px; font-weight: 700; color: #fff;
}
nav.mainmenu > :first-child { border-left: none; }
nav.mainmenu a + a { border-left: none; }
nav.mainmenu a:hover, nav.mainmenu a.active {
  background: #fff; color: #10214b;
}
/* Açılır menülü menü öğesi (Bilgi Bankası) */
nav.mainmenu .mm-drop { position: relative; flex: 1 1 0; display: flex; border-left: none; }
nav.mainmenu .mm-btn {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  background: #10214b; border: none;
  border-radius: 0; padding: 0; font-size: 15px; font-weight: 700; color: #fff;
  cursor: pointer; font-family: inherit; width: 100%;
}
nav.mainmenu .mm-btn:hover, nav.mainmenu .mm-btn.active,
nav.mainmenu .mm-btn.open { background: #fff; color: #10214b; }
.mm-menu { display: none; position: absolute; left: 0; top: 100%;
           background: #10214b; border: 1px solid #c6cede; border-top: none;
           border-radius: 0; box-shadow: 0 8px 24px rgba(16,33,75,.28);
           min-width: 100%; z-index: 80; }
.mm-menu.open { display: block; }
/* Bilgi Bankasi: uzerine gelince acilir, ayrilinca kapanir (dokunmatikte
   tiklama da calisir — .open sinifi JS'ten gelir) */
nav.mainmenu .mm-drop:hover > .mm-menu { display: block; }
nav.mainmenu .mm-drop:hover > .mm-btn { background: #fff; color: #10214b; }
.mm-menu a { display: flex; align-items: center; justify-content: center;
             min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700;
             color: #fff !important; text-decoration: none; white-space: nowrap; }
.mm-menu a + a { border-top: 1px solid #c6cede; }
.mm-menu a:hover { background: #fff; color: #10214b !important; }
.lang-switch { position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: calc((100% - 1000px) / 2); min-width: max-content;
  display: flex; justify-content: center; padding: 0 10px; }
nav.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
nav.tabs a {
  background: #fff; border: 1px solid #c6cede; border-radius: 6px;
  padding: 6px 12px; text-decoration: none; color: #10214b; font-size: 14px;
}
nav.tabs a.active { background: #10214b; color: #fff; border-color: #10214b; }
/* Dil secimi: kure simgesi + asagi acilir menu (konum: header bloğunda) */
.lang-btn { background: none; border: none; color: #fff; cursor: pointer;
            display: flex; align-items: center; padding: 4px; border-radius: 6px; }
.lang-btn:hover { background: rgba(255,255,255,.12); }
.lang-menu { display: none; position: absolute; left: 50%; transform: translateX(-50%);
             top: calc(100% + 8px);
             background: #fff; border: 1px solid #a9b6cc; border-radius: 8px;
             box-shadow: 0 8px 24px rgba(16,33,75,.18); min-width: 130px;
             overflow: hidden; z-index: 80; }
.lang-menu.open { display: block; }
.lang-menu a { display: block; padding: 9px 14px; font-size: 13.5px;
               color: #10214b !important; text-decoration: none; }
.lang-menu a:hover { background: #eef2f9; }
.lang-menu a.cur { font-weight: 700; background: #f4f6fb; }
.card { background: #fff; border: 1px solid #d5dbe7; border-radius: 8px; padding: 14px; margin-bottom: 14px; }
table.data { border-collapse: collapse; width: 100%; background: #fff; }
table.data th, table.data td { border: 1px solid #c9d2e0; padding: 4px 8px; text-align: left; }
table.data th { background: #e8edf5; font-weight: 600; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr.country-row td { background: #dce7f5; font-weight: 600; }
table.data tr.sub td { font-size: 14px; }
.comp-CL { border-left: 4px solid #1d4ed8; }
.comp-EL { border-left: 4px solid #d97706; }
.comp-CO { border-left: 4px solid #059669; }
h2.comp { margin: 18px 0 8px; font-size: 18px; }
h3.round { margin: 12px 0 6px; font-size: 15px; color: #374151; }
.muted { color: #6b7280; font-size: 13px; }
.out { color: #b91c1c; }
.in { color: #047857; }
.btn {
  display: inline-block; background: #10214b; color: #fff; border: 0; border-radius: 6px;
  padding: 6px 12px; font-size: 14px; cursor: pointer; text-decoration: none;
}
.btn.small { padding: 3px 8px; font-size: 12px; }
.btn.danger { background: #b91c1c; }
.btn.gray { background: #6b7280; }
input, select, textarea {
  font: inherit; padding: 5px 7px; border: 1px solid #b9c2d4; border-radius: 5px;
}
input.score { width: 44px; text-align: center; }
input.pts { width: 80px; text-align: right; }
form.inline { display: inline; }
.formrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.msg { background: #fef3c7; border: 1px solid #f59e0b; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; }
.error { background: #fee2e2; border-color: #b91c1c; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.scroll-x { overflow-x: auto; }
textarea.code { width: 100%; min-height: 420px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.login-box { max-width: 340px; margin: 80px auto; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.chip {
  background: #eef2f9; border: 1px solid #c6cede; border-radius: 14px;
  padding: 3px 10px; font-size: 13px; white-space: nowrap;
}
.chip .cc { color: #6b7280; font-size: 11px; margin-left: 4px; }
.chips-title { font-size: 13px; color: #6b7280; margin: 6px 0 2px; }

/* Maç / eşleşme satırları: 2 sütunlu ızgara, ülke adı takım hücresinde */
.pairgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 6px 0 10px; }
@media (max-width: 860px) { .pairgrid { grid-template-columns: 1fr; } }
.pairgrid table { margin: 0; }
table.pairs { table-layout: fixed; }
table.pairs td.th { text-align: right; width: 41%; font-weight: 500; }
table.pairs td.ta { text-align: left; width: 41%; font-weight: 500; }
table.pairs td .cn { color: #8a93a6; font-size: 11.5px; font-weight: 400; }
table.pairs td.win { font-weight: 700; }
table.pairs td.sc { text-align: center; font-weight: 700;
                    font-variant-numeric: tabular-nums; background: #f4f7fb; }
table.pairs td { border-color: #dfe5ef; padding: 5px 8px; }
h3.round { margin: 18px 0 4px; padding-bottom: 3px; border-bottom: 2px solid #e2e8f2; }
.chip { background: #fff; box-shadow: 0 1px 2px rgba(16,33,75,.06); }
.chip .cc { font-weight: 600; color: #9aa3b5; }

table.pending { table-layout: fixed; }
table.pending td { width: 25%; font-size: 13.5px; padding: 5px 10px; background: #fff; }
table.pending td .cc { color: #9aa3b5; font-size: 12px; margin-left: 4px; }
table.pending td.void { background: #fafbfd; }

table.standings { max-width: 480px; margin: 4px 0 10px; }
table.standings td, table.standings th { font-size: 13.5px; padding: 4px 8px; }
table.standings .cn { color: #9aa3b5; font-size: 11px; }
table.standings tr.adv td { background: #eef6ee; font-weight: 600; }
table.standings tr.adv .cn { font-weight: 400; }

.md-label { font-size: 12px; color: #6b7280; font-weight: 600; margin: 8px 0 2px; }

/* Katlanabilir kupa/tur kutulari */
details.comp-box > summary.comp-sum { cursor: pointer; list-style: none; }
summary.comp-sum::-webkit-details-marker { display: none; }
summary.comp-sum h2.comp { display: inline-block; margin: 0; }
summary.comp-sum::before { content: "▸"; display: inline-block; margin-right: 8px;
                           color: #6b7280; transition: transform .15s; }
details.comp-box[open] > summary.comp-sum::before { transform: rotate(90deg); }
details.round-box { border: 1px solid #dfe5ef; border-radius: 7px;
                    margin: 10px 0; background: #fbfcfe; }
details.round-box > summary.round-sum { cursor: pointer; list-style: none;
  padding: 8px 12px; font-weight: 600; color: #374151; font-size: 15px; }
summary.round-sum::-webkit-details-marker { display: none; }
summary.round-sum::before { content: "▸"; display: inline-block; margin-right: 8px;
                            color: #9aa3b5; transition: transform .15s; }
details.round-box[open] > summary.round-sum::before { transform: rotate(90deg); }
details.round-box[open] > summary.round-sum { border-bottom: 1px solid #e6ebf4; }
.round-body { padding: 6px 12px 10px; }

/* Guncel sezon: takimlar hucresi durumu */
td.tin-all  { background: #dcf3e0 !important; color: #14532d; font-weight: 600; }
td.tin-some { background: #fdf0d3 !important; color: #713f12; font-weight: 600; }
td.tin-none { }  /* tum takimlari elenen: varsayilan beyaz */

/* Sayfa sekmeleri: tam genislik tek bar */
nav.pagebar { display: flex; gap: 0; width: 100%; background: #10214b;
              border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
nav.pagebar a { flex: 1 1 0; text-align: center; background: transparent;
                border: 0; border-radius: 0; color: #cdd6ea; padding: 10px 6px;
                font-size: 13.5px; border-right: 1px solid rgba(255,255,255,.12); }
nav.pagebar a:last-child { border-right: 0; }
nav.pagebar a:hover { background: rgba(255,255,255,.08); color: #fff; }
nav.pagebar a.active { background: #fff; color: #10214b; font-weight: 600; }
@media (max-width: 860px) { nav.pagebar { flex-wrap: wrap; }
  nav.pagebar a { flex: 1 1 40%; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* Sezon secici: sabit bar, 10 yil gorunur, ok tuslariyla kaydirma */
nav.seasonbar { display: flex; align-items: stretch; width: 100%; background: #fff;
                border: 1px solid #c6cede; border-radius: 8px; overflow: hidden;
                margin-bottom: 14px; }
.sb-track { display: flex; flex: 1 1 auto; overflow-x: auto; scroll-behavior: smooth;
            scrollbar-width: none; }
.sb-track::-webkit-scrollbar { display: none; }
.sb-track a { flex: 0 0 10%; min-width: 72px; text-align: center; padding: 9px 4px;
              color: #10214b; font-size: 13.5px; white-space: nowrap; text-decoration: none;
              border-right: 1px solid #e2e8f2; }
.sb-track a:last-child { border-right: 0; }
.sb-track a:hover { background: #eef2f9; }
.sb-track a.active { background: #10214b; color: #fff; font-weight: 600; }
.sb-arrow { flex: 0 0 34px; border: 0; background: #f1f4fa; color: #10214b;
            font-size: 18px; cursor: pointer; border-left: 1px solid #e2e8f2;
            border-right: 1px solid #e2e8f2; }
.sb-arrow:hover { background: #e2e9f5; }

/* Alt bilgi */
footer.site-foot { margin-top: 8px; border-top: 1px solid #d5dbe7; background: #fff; }
footer.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap;
                         gap: 6px; padding-top: 12px; padding-bottom: 12px;
                         font-size: 13px; color: #6b7280; }

/* 404 sayfasi */
.nf-card { text-align: center; padding: 48px 16px; }
.nf-card .code { font-size: 64px; font-weight: 800; color: #10214b; margin: 0; }
.nf-card p { color: #6b7280; margin: 8px 0 20px; }
.nf-card a.btn { display: inline-block; background: #10214b; color: #fff;
                 padding: 10px 18px; border-radius: 8px; text-decoration: none; }

/* Kulup detay sayfasina giden linkler: sadece hover'da alt cizgi */
a.clink { color: inherit; text-decoration: none; }
a.clink:hover { color: #10214b; border-bottom: 1px solid #10214b; }

/* Siralanabilir tablo basliklari */
table.data.sortable tr:first-child th { cursor: pointer; user-select: none; white-space: nowrap; }
table.data.sortable tr:first-child th:hover { background: #dfe7f4; }
table.data.sortable th.s-asc::after { content: " \25B2"; font-size: 9px; }
table.data.sortable th.s-desc::after { content: " \25BC"; font-size: 9px; }
table.data.sortable th.s-asc, table.data.sortable th.s-desc,
table.data.sortable tr:first-child th.s-asc:hover, table.data.sortable tr:first-child th.s-desc:hover {
  background: #10214b; color: #fff; font-weight: 700; }

/* Ulke hover balonu */
td.cb-target { cursor: default; }
.cballoon { display: none; position: absolute; z-index: 60; background: #fff;
            border: 1px solid #a9b6cc; border-radius: 8px; padding: 8px;
            box-shadow: 0 8px 24px rgba(16,33,75,.18); max-width: min(720px, 92vw);
            max-height: 60vh; overflow: auto; }
.cballoon table.balloon-t td, .cballoon table.balloon-t th { font-size: 12.5px; padding: 3px 7px; }

/* Kulup hover balonu (ulke balonunun ustunde acilir) */
.cballoon.clb { z-index: 70; }
.clb-head { margin: 0 0 6px 2px; font-size: 13px; }
.cballoon tr.clb-round td { background: #eef2f9; }
.cballoon .sc { white-space: nowrap; text-align: center; font-weight: 600; }
.cballoon .th { text-align: right; }
.cballoon .ta { text-align: left; }

/* Guncel sezonda devam eden kuluplerin kupa hucresi (kupa renkleri) */
td.cup-CL { background: #1d4ed8 !important; color: #fff; font-weight: 600; text-align: center; }
td.cup-EL { background: #d97706 !important; color: #fff; font-weight: 600; text-align: center; }
td.cup-CO { background: #059669 !important; color: #fff; font-weight: 600; text-align: center; }

/* Detaylı kulüp puanları: güncel sezonda elenmemiş takımın kupa hücresi */
table.data td.cup-CL { background: #1d4ed8; color: #fff; font-weight: 600; }
table.data td.cup-EL { background: #d97706; color: #fff; font-weight: 600; }
table.data td.cup-CO { background: #059669; color: #fff; font-weight: 600; }

/* Kulüp kimlik kartı (af verileri) */
.club-head { display: flex; align-items: center; gap: 16px; }
.club-logo { width: 64px; height: 64px; object-fit: contain; flex: none; }
.club-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px;
              font-size: 14px; color: #374151; }

/* Kulüp sayfası alt bar: ana menünün hemen altında, 4 eşit buton */
.subbar { background: transparent; margin: -16px 0 16px; }
.subbar .hcenter { min-height: 48px; }
.subbar .sub-btn {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center;
  background: #24407e; border: none; color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer; user-select: none;
  text-decoration: none; text-align: center;
  padding: 4px 10px; line-height: 1.25;
}
.subbar .sub-btn.active { background: #fff; color: #10214b; }
.subbar .sub-btn:hover { background: #fff; color: #10214b; }

/* Kulüp kimlik kartı: 1. bar ile 2. bar arasında, orta kolon hizasında */
.club-head-band { max-width: 1000px; margin: -16px auto 16px; padding: 0 16px; }
.club-head-band .card { margin: 0; border-radius: 0; }

/* Kulüp fikstürü: skor hücresi sonuç renkleri (izlenen takıma göre) */
table.data td.sc-g { background: #059669; color: #fff; }
table.data td.sc-m { background: #dc2626; color: #fff; }
table.data td.sc-b { background: #facc15; color: #000; }
table.data td.sc-g .muted, table.data td.sc-m .muted { color: rgba(255,255,255,.85) !important; }
table.data td.sc-b .muted { color: #333 !important; }
table.data td.sc a.sc-link { color: inherit; text-decoration: none; }
table.data td.sc a.sc-link:hover { text-decoration: underline; }

/* Mac detay sayfasi */
.mac-skor { display: flex; align-items: center; gap: 16px; }
.mac-takim { flex: 1; font-size: 20px; font-weight: 700; }
.mac-takim.th { text-align: right; }
.mac-orta { text-align: center; min-width: 110px; }
.mac-sayi { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
td.sc a.sc-link { color: inherit; text-decoration: none; display: block; }
td.sc a.sc-link:hover { text-decoration: underline; }

/* Canli sayfa: devam eden macin dakikasi — turuncu, yumusak nabiz */
.canli-dk b {
  color: #ea580c;
  animation: canliPuls 2s ease-in-out infinite;
}
@keyframes canliPuls {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Canli sayfa: canli skor turuncu (table.data kuralini ozgullukle yener) */
table.data td.sc.skor-canli a.sc-link { color: #ea580c; font-weight: 700; }
details.dunya-grubu > summary { list-style: none; }
details.dunya-grubu > summary::-webkit-details-marker { display: none; }
details.dunya-grubu > summary::before { content: '▸ '; color: #6b7280; }
details.dunya-grubu[open] > summary::before { content: '▾ '; }

/* Baslik arama sonuc listesi */
.mm-search { position: relative; }
.ara-liste { display: none; position: absolute; left: 0; top: 100%; width: 340px;
             background: #fff; border: 1px solid #a9b6cc; border-top: none;
             box-shadow: 0 8px 24px rgba(16,33,75,.25); z-index: 90;
             max-height: 420px; overflow-y: auto; }
.ara-satir { display: flex; align-items: center; gap: 8px; padding: 7px 10px;
             text-decoration: none; color: #111 !important; font-size: 14px; }
.ara-satir:hover { background: #eef2f9; }
.ara-satir img, .ara-bos { width: 22px; height: 22px; object-fit: contain; flex: none; }
.ara-isim { font-weight: 600; white-space: nowrap; overflow: hidden;
            text-overflow: ellipsis; }
.ara-alt { color: #6b7280; font-size: 12px; margin-left: auto; white-space: nowrap; }
.ara-tur { color: #9aa3b5; font-size: 11px; border: 1px solid #d5dbe7;
           border-radius: 8px; padding: 1px 6px; flex: none; }

/* Canli sayfa: bayrak ve logolar */
.grup-baslik { display: flex; align-items: center; gap: 7px; }
img.bayrak { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
img.lig-logo { width: 18px; height: 18px; object-fit: contain; }
img.takim-logo { width: 17px; height: 17px; object-fit: contain;
                 vertical-align: -3px; margin: 0 4px; }

/* Canli sayfa serit satiri: [Canli] [tarih seridi] [takvim] — bitisik */
.canli-serit { display: flex; align-items: stretch; margin-bottom: 10px; }
.canli-serit .canli-pill {
  display: flex; align-items: center; padding: 0 14px; background: #fff;
  border: 1px solid #c6cede; border-right: 0; border-radius: 8px 0 0 8px;
  color: #ea580c; font-weight: 700; font-size: 13.5px; text-decoration: none;
  white-space: nowrap; }
.canli-serit .canli-pill:hover { background: #fff7ed; }
.canli-serit .canli-pill.active { background: #ea580c; color: #fff; }
.canli-serit .seasonbar.canli-takvim { flex: 1 1 auto; margin: 0; border-radius: 0;
  min-width: 0; }
.canli-serit .gun-sec-btn {
  flex: 0 0 44px; border: 1px solid #c6cede; border-left: 0;
  border-radius: 0 8px 8px 0; background: #f1f4fa; cursor: pointer;
  font-size: 17px; }
.canli-serit .gun-sec-btn:hover { background: #eef2f9; }
.canli-serit #gunSec { position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; }

/* Kart rozetleri: kart seklinde kucuk sayac */
.kart { display: inline-flex; align-items: center; justify-content: center;
        width: 13px; height: 16px; border-radius: 2px;
        font-size: 10.5px; font-weight: 700; }
.kart-sari { background: #facc15; color: #000; }
.kart-kirmizi { background: #dc2626; color: #fff; }
.degisim { color: #6b7280; font-size: 17px; font-weight: 800; white-space: nowrap;
           display: inline-flex; align-items: center; position: relative;
           padding: 2px 7px 2px 0; }
.degisim i { position: absolute; top: -3px; right: 0; font-style: normal;
             font-size: 9.5px; font-weight: 800; line-height: 1;
             color: #fff; background: #6b7280; border-radius: 50%;
             min-width: 13px; height: 13px; display: inline-flex;
             align-items: center; justify-content: center; }

/* hucre: rozet + isim + logo tek flex satiri — dikey merkez garantili */
.dunya-grubu td.th, .dunya-grubu td.ta { vertical-align: middle; }
.hucre { display: flex; align-items: center; gap: 6px; min-width: 0; }
td.th .hucre { justify-content: flex-end; }
.hucre > span:empty { display: none; }
.kartlar-ev, .kartlar-dep { display: inline-flex; align-items: center; gap: 7px; }
/* rozet baloncuklari (css-only) */
.tipli { cursor: default; }
.rozet-balon { display: none; position: absolute; background: #111c3d; color: #fff;
  padding: 7px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 400;
  line-height: 1.55; text-align: left; z-index: 120; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(16,33,75,.3); pointer-events: none; }
.rb-baslik { border-bottom: 1px solid rgba(255,255,255,.25); margin-bottom: 4px;
  padding-bottom: 3px; }
.rb-giren { color: #4ade80; }
.rb-cikan { color: #fb923c; }
.rb-skor { display: flex; gap: 16px; }
.rb-skor .rb-sol { text-align: right; }
.rb-skor .rb-sag { text-align: left; border-left: 1px solid rgba(255,255,255,.25);
                   padding-left: 16px; }
.rb-yok { color: #9fb0d8; }
.rb-asist { color: #9fb0d8; }
.kart-grup { display: inline-flex; align-items: center; gap: 3px; }

/* --- ligler dizini --- */
.lig-vitrin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; }
.lig-kart { display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px 10px; border: 1px solid #e3e7f0; border-radius: 10px;
  text-decoration: none; color: #111; text-align: center;
  transition: box-shadow .15s, transform .15s; }
.lig-kart:hover { box-shadow: 0 4px 14px rgba(16,33,75,.12); transform: translateY(-1px); }
.lig-kart img { width: 44px; height: 44px; object-fit: contain; }
.lig-kart .lk-ad { font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.lig-kart .lk-ulke { font-size: 12px; }
.lig-liste { display: flex; flex-direction: column; }
.lig-satir { display: flex; align-items: center; gap: 8px; padding: 6px 4px;
  text-decoration: none; color: #111; border-radius: 6px; }
.lig-satir:hover { background: #f2f5fb; }
.lig-satir .lig-logo { width: 18px; height: 18px; object-fit: contain; display: inline-block; }
.lig-satir .ls-ad { font-weight: 600; }
.lig-satir .ls-tip { margin-left: auto; font-size: 12px; white-space: nowrap; }

/* --- lig puan durumu: bolge renkleri + form kutulari --- */
.data tr.bolge-sl > td:first-child { border-left: 3px solid #1450d2; }
.data tr.bolge-el > td:first-child { border-left: 3px solid #ff7a00; }
.data tr.bolge-kl > td:first-child { border-left: 3px solid #12a15e; }
.data tr.bolge-yuk > td:first-child { border-left: 3px solid #12a15e; }
.data tr.bolge-dus > td:first-child { border-left: 3px solid #d22c2c; }
.bolge-lejant { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; }
.bolge-lejant span { display: inline-flex; align-items: center; gap: 5px; }
.bolge-lejant i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.bolge-lejant .bolge-sl i { background: #1450d2; }
.bolge-lejant .bolge-el i { background: #ff7a00; }
.bolge-lejant .bolge-kl i, .bolge-lejant .bolge-yuk i { background: #12a15e; }
.bolge-lejant .bolge-dus i { background: #d22c2c; }
td.frm { white-space: nowrap; }
td.frm span { display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 3px; margin-right: 2px;
  font-size: 11px; font-weight: 800; color: #fff; }
td.frm .frm-w { background: #12a15e; }
td.frm .frm-d { background: #98a1b3; }
td.frm .frm-l { background: #d22c2c; }
/* --- admin ust menu: site menusuyle ayni kalip, 8 buton sigacak sikilik --- */
nav.adminmenu a { font-size: 13.5px; padding: 0 4px; white-space: nowrap; }
.admin-ust { gap: 12px; }
.admin-ust a { white-space: nowrap; }

/* oyuncu sayfasi: toplam satiri */
tr.toplam-satir td { border-top: 2px solid #c6cede; background: #f4f6fb; }

/* siralanabilir tablo basliklari */
table.siralanir th.sirala { cursor: pointer; user-select: none; white-space: nowrap; }
table.siralanir th.sirala:hover { background: #e9edf6; }
.sira-ok { font-size: 10px; color: #6b7280; }

/* kulup puan durumu: kulubun satiri vurgulu */
table.data tr.benim td { background: #fdf6e3; }

/* mac detayi: logolar + canli dakika */
.mac-logo { width: 30px; height: 30px; object-fit: contain; vertical-align: middle;
            margin: 0 8px; }
.mac-dk { color: #ea580c; font-weight: 800; font-size: 15px;
          animation: canliPuls 2s ease-in-out infinite; }
.mac-sayi-canli { color: #ea580c; }

/* mac detayi ust bilgi seridi: etiketli parcalar */
.mac-bilgi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px;
             font-size: 13.5px; color: #3d465c; margin: 0 0 10px;
             padding-bottom: 8px; border-bottom: 1px solid #e5e9f0; }
.mac-bilgi b { color: #10214b; }
.mac-bilgi .lig-logo { vertical-align: -3px; margin-right: 2px; }


/* admin veri cekimi alt bari */
.vc-bar { flex-wrap: wrap; }
.vc-bar a.sub-btn { text-decoration: none; }

/* veri cekimi: secim karti katlanabilir; kontroller baslik satirinda kalir */
details.kart-katla > summary { cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  list-style: none; }
details.kart-katla > summary::-webkit-details-marker { display: none; }
details.kart-katla > summary::before { content: '▸'; color: #6b7280; }
details.kart-katla[open] > summary::before { content: '▾'; }
.katla-icerik { display: inline-flex; align-items: center; gap: 12px;
  flex-wrap: wrap; font-weight: 400; cursor: default; }

/* UEFA fikstur satirlari: canli sayfa gorunumu (dakika + rozet + logo).
   Sabit kolon duzeni — ayri tablolardaki satirlar da ayni hizada durur. */
table.pairs.uefa-mac { table-layout: fixed; width: 100%; }
table.pairs.uefa-mac td.canli-dk { width: 52px; white-space: nowrap; }
table.pairs.uefa-mac td.th { width: calc(50% - 76px); }
table.pairs.uefa-mac td.sc { width: 100px; }
table.pairs.uefa-mac td.ta { width: calc(50% - 76px); }
table.pairs.uefa-mac td.th .hucre { justify-content: flex-end; }
/* not: .hucre'ye overflow:hidden VERME — degisim rozetinin ustteki
   sayi yuvarlagini keser. Kisaltma zaten .clink uzerinde yapiliyor. */
table.pairs.uefa-mac td.th .hucre, table.pairs.uefa-mac td.ta .hucre {
  min-width: 0; }
table.pairs.uefa-mac td.th .clink, table.pairs.uefa-mac td.ta .clink {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 0 1 auto; }

/* UEFA fikstur: eslesmeler alt alta (tek satirda tek mac) */
.eslesme-liste { display: flex; flex-direction: column; gap: 8px;
  margin: 6px 0 10px; }
.eslesme-liste table { margin: 0; }

/* fikstur: canli maci olan tur rozeti */
.tur-canli { color: #ea580c; font-size: 11px; font-weight: 800;
  letter-spacing: .3px; animation: canliPuls 2s ease-in-out infinite; }

/* UEFA puan sayfalari: sekme bari ile yil cubugu arasindaki hesaplama damgasi */
.hesap-zaman { margin: 6px 0 2px; font-size: 12px; color: #6b7280;
  text-align: right; }
.hesap-zaman b { color: #3d465c; font-weight: 600; }

/* UEFA sayfalari: canli maci olan ulke/kulup isaretleri */
.canli-etiket { color: #ea580c; font-weight: 800; font-size: 12px;
  animation: canliPuls 2s ease-in-out infinite; }
.canli-nokta { display: inline-block; width: 8px; height: 8px; margin-left: 5px;
  border-radius: 50%; background: #ea580c; vertical-align: middle;
  animation: canliPuls 1.4s ease-in-out infinite; cursor: default; }
.canli-dk-rozet { color: #ea580c; font-weight: 800; font-size: 11px;
  margin-right: 4px; animation: canliPuls 2s ease-in-out infinite; }
table.data td.sc.skor-canli, table.data td.sc.skor-canli b { color: #ea580c; }

/* canli sayfa: dakika/MS altinda baslama saati */
.dk-bas { display: block; font-size: 10.5px; color: #9aa3b5; line-height: 1.3; }

/* yonetim ana sayfasi: gorev tablosu */
.gorev-tablo { min-width: 1020px; }
.gorev-tablo td { vertical-align: top; }
.gorev-tablo .gorev-aciklama { max-width: 30em; font-size: 11.5px;
  line-height: 1.45; margin-top: 2px; }
.gorev-tablo td.num { white-space: nowrap; }

/* Yonetim paneli tam genislik. Web sitesi 1000px kalir: ileride yanlara
   reklam alani gelecek, icerik ortada dar bir kolonda dursun. */
body.admin .wrap { max-width: none; padding-left: 22px; padding-right: 22px; }
body.admin .subbar .hcenter { max-width: none; padding: 0 22px; }
/* Üst bar: dar düzende marka ve Çıkış, ortadaki 1000px kolonun iki yanındaki
   boşluğa MUTLAK konumla oturuyordu. Tam genişlikte o boşluk kalmadığı için
   menü onların altına giriyordu; admin barını akışkan bir satır yapıyoruz. */
body.admin header.site .wrap { display: flex; align-items: stretch; padding: 0; }
body.admin header.site h1.brand { position: static; transform: none;
  width: auto; display: flex; align-items: center; white-space: nowrap;
  padding: 0 18px; }
body.admin header.site .hcenter { flex: 1 1 auto; max-width: none;
  margin: 0; padding: 0; }
body.admin header.site .lang-switch { position: static; transform: none;
  display: flex; align-items: center; padding: 0 18px; }
