/* Lig düzeyi veriler (Ajan Q): lig sayfasında yükselen / düşen geçmişi, stadyum sayfasının saha istatistiği ve takımları.
   Sayfalar bu dosyayı kendileri ekler ($this->push('styles')); ortak stil dosyalarına dokunulmaz. Renkler tema belirteçleri
   (tokens.css; açık / koyu) — yön yalnızca renkle değil ikon + ekran okuyucu metniyle de verilir. */

/* Yükselenler / Düşenler: sezon başına iki grup (gelenler, ayrılanlar); dar ekranda alt alta, genişte yan yana */
.moves__help { margin: 0 0 var(--space-3); }
.moves { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.moves__season { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-3); border-block-end: 1px solid var(--border); min-width: 0; }
.moves__season:last-child { border-block-end: 0; }
.moves__year { margin: 0; font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.moves__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.moves__label { flex: 0 0 100%; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.02em; }
.moves__teams { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.moves__teams li { min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
  .moves__season { grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--space-4); }
  .moves__group { align-items: flex-start; }
}
.moves__more { margin-block-start: var(--space-2); }
.moves__more summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); padding-block: var(--space-2); }
.moves__more summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: var(--radius-xs); }

/* Takım çipi: arma + ad (+ gittiği lig) + yön işareti */
.move-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; padding: 3px 8px 3px 4px; border: 1px solid var(--border);
  border-radius: var(--radius-pill); background: var(--surface2); color: var(--text); font-size: var(--fs-sm); text-decoration: none; line-height: 1.3; }
.move-chip:hover { background: var(--surface-hover); }
.move-chip:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.move-chip__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move-chip__to { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: var(--fs-xs); }
.move-chip__dir { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: 50%; }
.move-chip__dir .icon { width: 12px; height: 12px; }
.move-chip--up .move-chip__dir { background: var(--success-soft); color: var(--success); }
.move-chip--down .move-chip__dir { background: var(--danger-soft); color: var(--danger); }
.move-chip--new .move-chip__dir { background: var(--surface3); color: var(--text-secondary); }

/* Stadyum sayfası: koordinat ve sahayı kullanan takımlar */
.venue-coord { font-size: var(--fs-md); }
.venue-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.venue-teams li { min-width: 0; }
.venue-teams a.row { gap: 8px; min-width: 0; padding: 6px 4px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.venue-teams a.row:hover { background: var(--surface-hover); }
.venue-teams a.row:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
