/* Admin mobil (Team 4, 20.10.2026) – NUR unter 640 px, Desktop unberuehrt. Reines CSS (Attribut-Selektoren auf die festen Inline-Grids), keine JS-Aenderung. */
@media (max-width: 639px) {
  /* Kopfzeile: Platz fuer den schwebenden Menue-Knopf */
  header.lg\:hidden span.pl-1 { padding-left: 4rem; }
  /* Bonushunt-Liste */
  .bg-secondary\/30[style*="1fr 90px 72px 52px 100px 168px"] { display: none; }
  [style*="1fr 90px 72px 52px 100px 168px"]:not(.bg-secondary\/30) { grid-template-columns: auto auto auto 1fr !important; gap: 8px; }
  [style*="1fr 90px 72px 52px 100px 168px"]:not(.bg-secondary\/30) > :nth-child(1) { grid-column: 1 / -1; }
  [style*="1fr 90px 72px 52px 100px 168px"]:not(.bg-secondary\/30) > :nth-child(5) { text-align: right; }
  [style*="1fr 90px 72px 52px 100px 168px"]:not(.bg-secondary\/30) > :nth-child(6) { grid-column: 1 / -1; justify-content: flex-start; gap: 8px; }
  [style*="1fr 90px 72px 52px 100px 168px"]:not(.bg-secondary\/30) > :nth-child(6) button { min-width: 48px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  /* Bonushunt bearbeiten: Slot-Zeilen */
  .sticky[style*="44px 1fr 120px 80px 80px 28px"] { display: none; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) { grid-template-columns: 44px 1fr 1fr 48px !important; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(2) { grid-column: 2 / -1; grid-row: 1; min-width: 0; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(3) { grid-column: 2; grid-row: 2; min-width: 0; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(4) { grid-column: 3; grid-row: 2; min-width: 0; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(5) { grid-column: 4; grid-row: 2; min-width: 0; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) > :nth-child(6) { grid-column: 2 / -1; grid-row: 3; justify-self: end; min-width: 48px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  [style*="44px 1fr 120px 80px 80px 28px"]:not(.sticky) input { min-height: 44px; font-size: 16px; }
  /* Toolbar ueber der Slot-Tabelle darf umbrechen */
  div.flex.items-center.gap-3.px-4.py-3.border-b.border-border { flex-wrap: wrap; }
  /* Turnier / Liga: Eintragszeile (Name, Slot, Einsatz, Gewinn) untereinander statt seitlich scrollen */
  [style*="1fr 1.7fr 0.85fr 0.85fr"] { grid-template-columns: 1fr 1fr !important; min-width: 0 !important; }
  [style*="1fr 1.7fr 0.85fr 0.85fr"] > :nth-child(1), [style*="1fr 1.7fr 0.85fr 0.85fr"] > :nth-child(2), [style*="1fr 1.7fr 0.85fr 0.85fr"] > :nth-child(5) { grid-column: 1 / -1; }
  [style*="1fr 1.7fr 0.85fr 0.85fr"] input { min-height: 44px; font-size: 16px; }
}
