/* EuroLeague oyunu */

.elo-sayfa { padding-bottom: 40px; }
.elo-ust .intro { max-width: none; margin: 6px 0 16px; }

.elo-kutu {
  background: var(--m-elev, #fff);
  border: 1px solid var(--m-border, #e4e1da);
  border-radius: var(--m-radius, 14px);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.elo-kutu h2, .elo-kutu h3 { margin: 0 0 10px; }

.elo-misafir { border-color: var(--m-gold-dim, #e0a812); border-left-width: 4px; }
.elo-misafir p { margin: 0 0 10px; }
.elo-misafir p:last-child { margin-bottom: 0; }
.elo-misafir-serit {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 4px solid var(--m-gold-dim, #e0a812);
  background: var(--m-elev, #fff);
  border-radius: 8px;
  font-size: 14px;
}

.elo-btn {
  display: inline-block;
  background: var(--m-red, #cb0f0f);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.elo-btn:disabled { opacity: .45; cursor: not-allowed; }
.elo-btn-ikincil {
  background: transparent;
  color: var(--m-text, #1c1c1e);
  border: 1px solid var(--m-border, #e4e1da);
}
.elo-link {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 10px;
  color: var(--m-dim, #5c5c60);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}
.elo-hata {
  color: var(--m-red, #cb0f0f);
  font-weight: 600;
}

/* kurucu */
.elo-kurucu-ust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--m-elev, #fff);
  border: 1px solid var(--m-border, #e4e1da);
  border-radius: var(--m-radius, 14px);
  padding: 12px 14px;
}
.elo-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--m-dim, #5c5c60); flex: 1; min-width: 200px; }
.elo-input {
  border: 1px solid var(--m-border, #e4e1da);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  background: transparent;
  color: var(--m-text, #1c1c1e);
}
.elo-sayac { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.elo-kurucu.is-asim #elo-harcanan { color: var(--m-red, #cb0f0f); }
.elo-kaydet-sar { display: flex; gap: 8px; flex-wrap: wrap; }
.elo-neden { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--m-dim, #5c5c60); text-align: right; }
.elo-neden.is-vurgu { color: var(--m-red, #cb0f0f); font-weight: 600; }
.elo-ipucu { font-size: 13px; margin: 10px 0; }
.elo-filtre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: center; }
.elo-filtre #elo-ara { flex: 1; min-width: 180px; }
.elo-check { font-size: 13px; display: flex; gap: 6px; align-items: center; }

.elo-tablo-sar { overflow-x: auto; }
.elo-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.elo-tablo th { text-align: left; font-size: 12px; color: var(--m-dim, #5c5c60); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--m-border, #e4e1da); }
.elo-tablo td { padding: 6px 8px; border-bottom: 1px solid var(--m-border, #e4e1da); vertical-align: middle; }
#elo-liste tbody tr { cursor: pointer; }
#elo-liste tbody tr:hover { background: rgba(127, 127, 127, .06); }
#elo-liste tbody tr[data-on] { background: rgba(203, 15, 15, .08); }
#elo-liste tbody tr.is-pahali { opacity: .45; }
.elo-foto img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; background: rgba(127, 127, 127, .12); display: block; }
.elo-kadro .elo-foto img { width: 32px; height: 32px; }
.elo-yildiz {
  background: none;
  border: 1px solid var(--m-border, #e4e1da);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--m-faint, #9a978f);
  font-size: 15px;
  line-height: 1;
}
#elo-liste tr[data-on="2"] .elo-yildiz { background: var(--m-gold, #b8830a); border-color: var(--m-gold, #b8830a); color: #fff; }

/* panel */
.elo-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .elo-panel { grid-template-columns: 1fr; } }
.elo-panel .elo-kutu { margin-bottom: 0; }
.elo-panel + .elo-kutu { margin-top: 16px; }
.elo-durum { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 4px; }
.elo-rozet {
  background: var(--m-red, #cb0f0f);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.elo-not { font-size: 12px; margin: 0 0 12px; }
.elo-siradaki {
  border: 1px dashed var(--m-border, #e4e1da);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.elo-vs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 16px; margin-top: 4px; }
.elo-vs img, .elo-eslesme img, .elo-maclar img { vertical-align: middle; object-fit: contain; }
.elo-aksiyon { display: flex; flex-wrap: wrap; gap: 8px; }
.elo-eslesme { list-style: none; padding: 0; margin: 0 0 12px; }
.elo-eslesme li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px solid var(--m-border, #e4e1da); font-size: 14px; }
.elo-eslesme li.is-ben { font-weight: 600; }
.elo-eslesme .muted { font-size: 12px; font-weight: 400; }
.elo-sonuc { font-size: 16px; margin: 8px 0; }
.elo-ilk-rozet { font-size: 11px; background: var(--m-gold, #b8830a); color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

.elo-maclar { list-style: none; padding: 0; margin: 0; }
.elo-maclar li {
  display: grid;
  grid-template-columns: 28px 150px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--m-border, #e4e1da);
  font-size: 14px;
}
.elo-gm { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.is-g .elo-gm { background: #1f9d55; }
.is-m .elo-gm { background: var(--m-red, #cb0f0f); }
.elo-mac-et { font-size: 12px; }
.elo-mac-sk { grid-column: 3; font-size: 12px; }
@media (max-width: 600px) {
  .elo-maclar li { grid-template-columns: 28px 1fr; }
  .elo-mac-skor, .elo-mac-sk { grid-column: 2; }
}
.elo-puan td, .elo-puan th { text-align: center; white-space: nowrap; }
.elo-puan td.elo-puan-takim, .elo-puan th:nth-child(2) { text-align: left; }
.elo-puan-takim img { vertical-align: middle; object-fit: contain; margin-right: 4px; }
.elo-puan tr.is-po td:first-child { box-shadow: inset 3px 0 0 #1f9d55; }
.elo-puan tr.is-pi td:first-child { box-shadow: inset 3px 0 0 var(--m-gold, #b8830a); }
.elo-puan tr.is-ben { background: rgba(203, 15, 15, .08); font-weight: 600; }
.elo-son5 { display: inline-flex; gap: 3px; vertical-align: middle; }
.elo-gm-k { width: 18px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.elo-gm-k.is-g { background: #1f9d55; }
.elo-gm-k.is-m { background: var(--m-red, #cb0f0f); }
.elo-lejant { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: middle; margin-left: 6px; }
.elo-lejant.is-po { background: #1f9d55; }
.elo-lejant.is-pi { background: var(--m-gold, #b8830a); }
.elo-gecmis { margin: 0; padding-left: 18px; }
.elo-gecmis li { padding: 3px 0; }

/* canlı maç */
.elm-geri { margin: 0 0 10px; font-size: 14px; }
.elm-skorbord {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: #14161b;
  color: #fff;
  border-radius: var(--m-radius, 14px);
  padding: 16px 20px;
}
.elm-tk { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.elm-tk-b { align-items: flex-end; text-align: right; }
.elm-tk-ad { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.elm-tk-ad img { object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.elm-tk-alt { font-size: 12px; color: #a9adb6; }
.elm-orta { text-align: center; }
.elm-skor { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.elm-tire { opacity: .5; margin: 0 10px; }
.elm-saat { margin-top: 6px; font-size: 15px; font-variant-numeric: tabular-nums; color: #ffd166; }
.elm-et { font-size: 12px; color: #a9adb6 !important; margin-top: 4px; }
.elm-skor span.is-flash { animation: elm-flash .9s ease; }
@keyframes elm-flash { 0% { color: #ffd166; transform: scale(1.18); } 100% { color: inherit; transform: none; } }
@media (max-width: 600px) {
  .elm-skorbord { grid-template-columns: 1fr 1fr; }
  .elm-orta { grid-column: 1 / -1; order: -1; }
  .elm-skor { font-size: 36px; }
  .elm-tk-ad { font-size: 15px; }
}
.elm-ceyrekler { margin: 10px 0 16px; }
.elm-ceyrekler td, .elm-ceyrekler th { text-align: center; padding: 4px 8px; }
.elm-cs-ad { text-align: left !important; font-weight: 600; }
.elm-cs-t { font-weight: 700; }

.elm-izgara { display: grid; grid-template-columns: 260px minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
/* anlatım satır yüksekliğini belirlemez; koç masasının boyuna uzar, içi kayar */
.elm-izgara .elm-akis-kutu { align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
.elm-izgara .elm-akis-kutu .elm-akis { flex: 1 1 0; height: 0; min-height: 320px; max-height: none; }
@media (max-width: 1000px) {
  .elm-izgara { grid-template-columns: 1fr 1fr; }
  .elm-akis-kutu { grid-column: 1 / -1; order: -1; }
  .elm-izgara .elm-akis-kutu .elm-akis { flex: none; height: auto; min-height: 0; max-height: 480px; }
}
@media (max-width: 640px) { .elm-izgara { grid-template-columns: 1fr; } }
.elm-izgara .elo-kutu { margin-bottom: 0; }
.elm-izgara + .elo-kutu { margin-top: 16px; }
.elm-stil-sat { display: flex; flex-direction: column; gap: 3px; font-size: 12px; margin-bottom: 8px; }
.elm-ipucu { font-size: 12px; margin: 4px 0 10px; }
.elm-ipucu.is-vurgu { color: var(--m-gold, #b8830a); font-weight: 600; }
.elm-butonlar { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; align-items: center; }
.elm-butonlar form { margin: 0; }
.elm-hiz { display: flex; gap: 4px; align-items: center; font-size: 12px; }
.elm-hiz-b { border: 1px solid var(--m-border, #e4e1da); background: transparent; color: var(--m-text, #1c1c1e); border-radius: 8px; padding: 3px 9px; cursor: pointer; font-size: 12px; }
.elm-hiz-b.is-on { background: var(--m-text, #1c1c1e); color: var(--m-elev, #fff); }
.elm-rakip { margin-top: 14px; border-top: 1px solid var(--m-border, #e4e1da); padding-top: 10px; }
.elm-rakip h4 { margin: 0 0 4px; font-size: 13px; }
.elm-rakip p { margin: 0; font-size: 13px; }

.elm-akis { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; }
.elm-o { display: grid; grid-template-columns: 70px 22px 1fr auto; gap: 6px; align-items: baseline; padding: 6px 4px; border-bottom: 1px solid var(--m-border, #e4e1da); font-size: 14px; animation: elm-gir .35s ease; }
@keyframes elm-gir { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.elm-o-z { font-size: 12px; color: var(--m-dim, #5c5c60); font-variant-numeric: tabular-nums; }
.elm-o-i { text-align: center; }
.elm-o-s { font-weight: 700; font-variant-numeric: tabular-nums; }
.elm-o.is-A { box-shadow: inset 3px 0 0 var(--m-red, #cb0f0f); }
.elm-o.is-B { box-shadow: inset 3px 0 0 #3b6fd8; }
.elm-o.y-2 .elm-o-m, .elm-o.y-3 .elm-o-m { font-weight: 600; }
.elm-o.y-kac, .elm-o.y-rib { color: var(--m-dim, #5c5c60); font-size: 13px; }
.elm-o.y-ceyrek, .elm-o.y-son { background: rgba(127, 127, 127, .08); font-weight: 700; }
.elm-o.y-mola, .elm-o.y-stil { background: rgba(184, 131, 10, .08); }
.elm-son { border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 15px; }
.elm-son.is-g { background: rgba(31, 157, 85, .12); }
.elm-son.is-m { background: rgba(203, 15, 15, .08); }
.elm-son p { margin: 6px 0 0; }

.elm-saha + .elm-saha { margin-top: 14px; }
.elm-saha-ad { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.elm-saha:first-of-type .elm-saha-ad { color: var(--m-red, #cb0f0f); }
#elm-saha-B .elm-saha-ad { color: #3b6fd8; }
.elm-oy { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 4px 0; }
.elm-oy-f img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: top; background: rgba(127, 127, 127, .12); display: block; }
.elm-oy-f:empty { width: 30px; height: 30px; border-radius: 50%; background: rgba(127, 127, 127, .12); }
.elm-oy-ad { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elm-oy-ad .muted { font-weight: 400; font-size: 11px; }
.elm-bar { height: 5px; border-radius: 3px; background: rgba(127, 127, 127, .18); overflow: hidden; margin-top: 3px; }
.elm-bar span { display: block; height: 100%; background: #1f9d55; transition: width .6s ease; }
.elm-bar span.is-orta { background: var(--m-gold, #b8830a); }
.elm-bar span.is-dusuk { background: var(--m-red, #cb0f0f); }
.elm-oy-faul { font-size: 11px; color: var(--m-dim, #5c5c60); }
.elm-oy-faul.is-risk { color: var(--m-red, #cb0f0f); font-weight: 700; }

.elm-sekme { display: flex; gap: 6px; margin-bottom: 10px; }
.elm-sekme-b { border: 1px solid var(--m-border, #e4e1da); background: transparent; color: var(--m-text, #1c1c1e); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 13px; }
.elm-sekme-b.is-on { background: var(--m-text, #1c1c1e); color: var(--m-elev, #fff); }
.elm-kutu-skor td, .elm-kutu-skor th { white-space: nowrap; text-align: center; }
.elm-kutu-skor td:first-child, .elm-kutu-skor th:first-child { text-align: left; }
.elm-kutu-skor tr.is-saha td:first-child { box-shadow: inset 3px 0 0 #1f9d55; }
.elo-fik { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.elo-fik li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 52px; gap: 8px; align-items: center; padding: 4px 0; }
.elo-fik-et { font-size: 12px; }
.elo-fik-rakip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elo-fik-rakip img { vertical-align: middle; object-fit: contain; width: 16px; height: 16px; }
.elo-fik-skor { text-align: right; font-variant-numeric: tabular-nums; }
.elo-fik-sira { grid-column: 3 / 5; text-align: right; font-size: 12px; }
.elo-fik-simdi { padding: 8px 0; margin: 4px 0; border-top: 1px solid var(--m-border, #e4e1da); border-bottom: 1px solid var(--m-border, #e4e1da); }
.elo-siradaki > .elo-fik-simdi:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.elo-siradaki > .elo-fik-simdi:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.elm-kond { min-width: 110px; }
.elm-kond .elm-bar { display: inline-block; width: 60px; vertical-align: middle; margin: 0 6px 0 0; }
.elm-kond-y { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--m-dim, #5c5c60); }
.elm-degisim { margin: 4px 0 12px; padding-top: 10px; border-top: 1px solid var(--m-border, #e4e1da); }
.elm-degisim h4 { margin: 0 0 6px; font-size: 13px; }
.elm-bekleyen { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; }
.elm-bekleyen li { padding: 3px 0; color: var(--m-gold, #b8830a); font-weight: 600; }
.elm-iptal { border: 0; background: none; color: var(--m-dim, #5c5c60); cursor: pointer; font-size: 14px; padding: 0 4px; }
.elm-oy.is-secilebilir { cursor: pointer; border-radius: 8px; }
.elm-oy.is-secilebilir:hover { background: rgba(127, 127, 127, .08); }
