/* SahaCam Web: yazı tipi ve tarayıcıya özgü düzeltmeler (ana stil masaüstüyle ortak: stil.css) */
@font-face { font-family: 'SahaBarlow'; src: url('../fonts/barlow_condensed_semibold.ttf') format('truetype'); font-weight: 100 600; font-style: normal; font-display: block; }
@font-face { font-family: 'SahaBarlow'; src: url('../fonts/barlow_condensed_bold.ttf') format('truetype'); font-weight: 700 900; font-style: normal; font-display: block; }
@font-face { font-family: 'SahaBarlow'; src: url('../fonts/barlow_condensed_extrabolditalic.ttf') format('truetype'); font-weight: 100 900; font-style: italic; font-display: block; }

/* Web'de olmayan özellikler */
#gOzetVideo, #kayitDugme, #lisansRozet { display: none !important; }

/* Dokunmatik ekranda klavye kısayolları gösterilmez */
@media (pointer: coarse) { kbd { display: none; } button { padding: 10px 12px; } }

/* ---------------------------------------------------------------- telefon ve tablet */
@media (max-width: 1000px) {
  html, body { overflow: auto; height: auto; min-height: 100%; }
  .ust { height: auto; flex-wrap: wrap; gap: 8px; padding: 8px 10px calc(8px) 10px; padding-top: max(8px, env(safe-area-inset-top)); position: sticky; top: 0; z-index: 5; }
  .marka img { width: 28px; height: 28px; }
  .marka span { font-size: 20px; }
  .marka small, .lig-baslik, .olcerler, .kisma { display: none; }
  .ses-kutu { padding: 3px; }
  .durum { min-width: 0; flex: 1; padding: 6px 10px; }
  .durum b { white-space: nowrap; font-size: 13px; }
  .durum em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dugme.canli { padding: 11px 12px; font-size: 14px; }

  main { display: block; height: auto; }
  .sol { overflow: visible; padding: 8px; gap: 8px; }
  .onizleme { max-height: none; max-width: 100%; border-radius: 10px; }
  .kamera-serit { justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .kam { width: 112px; }

  .masa { grid-template-columns: 1fr 1fr; gap: 8px; }
  .saat-panel { grid-column: 1 / -1; order: -1; }
  .saat-ust b { font-size: 36px; }
  .tk-ad { font-size: 16px; }
  .tk-rozet { width: 30px; height: 30px; }
  .tk-skor { font-size: 30px; min-width: 42px; }
  .gol { font-size: 22px; padding: 16px 8px; }
  .kartlar button { padding: 12px 6px; }

  .grafikler { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .grafikler button { flex: none; }
  .arsiv { min-height: 0; }
  .olaylar { flex: none; max-height: 220px; }

  .sag { border-left: 0; border-top: 1px solid var(--cizgi); min-height: 60vh; }
  .sekmeler { overflow-x: auto; position: sticky; top: 0; background: #0D1526; }
  .sekmeler button { flex: none; padding: 12px 14px; }
  .sekme { overflow: visible; padding: 10px 8px 40px; }
  .satir { flex-wrap: wrap; }

  .pencere { width: 96vw; max-height: 92vh; padding: 14px; border-radius: 14px; }
  .pencere h2 { font-size: 22px; }
  .oyuncu-izgara { grid-template-columns: 1fr 1fr; }
  .bildirim { max-width: 92vw; bottom: max(18px, env(safe-area-inset-bottom)); }
}

/* Telefon yan çevrilince: önizleme solda, düğmeler sağda */
@media (max-width: 1000px) and (orientation: landscape) and (max-height: 520px) {
  .sol { display: grid; grid-template-columns: 58% 1fr; grid-auto-rows: min-content; align-items: start; }
  .onizleme { grid-column: 1; grid-row: 1 / span 3; }
  .kamera-serit { grid-column: 1; }
  .masa, .grafikler, .arsiv, .olaylar { grid-column: 2; }
  .saat-ust b { font-size: 28px; }
  .gol { padding: 10px 6px; font-size: 18px; }
}
