/* Ücretsiz Sıra Bulucu · YOUTUBE stilleri
   (Sonuç bölümü = gerçek YouTube açık-tema arama sayfası görünümü; #srlp scoped.
    Aksan = YouTube kırmızısı. Sihirbaz iskelet stilleri srlp-maps.css'ten gelir.) */

/* ── Sonuç konteyneri (YouTube arama sayfası hissi) ─────────────── */
#srlp .srlp-yt-results { list-style: none; font-family: Roboto, "Segoe UI", Arial, sans-serif; }

/* ── Sonuç barı + görünüm toggle'ı (YouTube filtre çipleri) ─────── */
#srlp .srlp-yt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
#srlp .srlp-yt-toggle { display: inline-flex; gap: 8px; }
#srlp .srlp-yt-tg { border: none; background: #f2f2f2; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: #0f0f0f; border-radius: 8px; cursor: pointer; font-family: inherit; line-height: 1; transition: background .15s; }
#srlp .srlp-yt-tg:hover { background: #e5e5e5; }
#srlp .srlp-yt-tg.is-active { background: #0f0f0f; color: #fff; }
#srlp .srlp-yt-muted { font-size: 12px; color: #909090; }

/* ── Sonuç satırı (YouTube arama sonucu düzeni) ─────────────────── */
#srlp .srlp-yt-row { display: flex; gap: 14px; align-items: flex-start; padding: 8px; border-radius: 12px; margin-bottom: 8px; }
#srlp .srlp-yt-row:hover { background: #f8f8f8; }
#srlp .srlp-yt-row.is-own { background: #fff5f5; }

/* Zarif sıra sütunu (ince, gri; ürünün amacı sıra bilgisi) */
#srlp .srlp-yt-rank { flex: none; align-self: stretch; width: 26px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #909090; border-right: 1px solid #eee; }
#srlp .srlp-yt-row.is-own .srlp-yt-rank { color: #c00; border-right-color: #ffd7d7; }

/* 16:9 thumbnail + köşe rozetleri */
#srlp .srlp-yt-thumb { position: relative; width: 200px; height: 112px; border-radius: 12px; overflow: hidden; background: #0f0f0f; flex: none; }
#srlp .srlp-yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#srlp .srlp-yt-thumb-ph { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: linear-gradient(135deg, #212121, #3f3f3f); }
#srlp .srlp-yt-dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 500; padding: 1px 5px; border-radius: 4px; line-height: 1.5; }
#srlp .srlp-yt-live { position: absolute; right: 6px; bottom: 6px; background: #c00; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: .4px; line-height: 1.4; }
#srlp .srlp-yt-shorts { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; line-height: 1.4; }

/* Sağ blok: başlık + meta + kanal satırı + rozetler */
#srlp .srlp-yt-info { flex: 1; min-width: 0; padding-top: 1px; }
#srlp .srlp-yt-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 500; color: #0f0f0f; text-decoration: none; line-height: 1.35; }
#srlp .srlp-yt-title:hover { color: #0f0f0f; }
#srlp .srlp-yt-metaline { font-size: 12px; color: #606060; margin-top: 4px; }
#srlp .srlp-yt-ch { display: flex; align-items: center; gap: 8px; margin-top: 9px; min-width: 0; }
#srlp .srlp-yt-av { width: 24px; height: 24px; border-radius: 50%; background: #e5e5e5; color: #606060; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
#srlp .srlp-yt-chname { font-size: 12px; color: #606060; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#srlp .srlp-yt-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
#srlp .srlp-yt-chip { font-size: 11px; font-weight: 500; color: #606060; background: #f2f2f2; padding: 2px 8px; border-radius: 4px; }
#srlp .srlp-yt-ad { font-size: 11px; font-weight: 600; color: #606060; border: 1px solid #d9d9d9; padding: 1px 7px; border-radius: 4px; }
#srlp .srlp-yt-own { font-size: 11px; font-weight: 700; color: #fff; background: #c00; padding: 2px 9px; border-radius: 999px; letter-spacing: .3px; }

/* Kanal sonucu satırı (büyük yuvarlak avatar, sol sütunda ortalı) */
#srlp .srlp-yt-chrow { align-items: center; }
#srlp .srlp-yt-chbox { width: 200px; flex: none; display: flex; justify-content: center; }
#srlp .srlp-yt-av-big { position: relative; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #e5e5e5; color: #606060; flex: none; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 600; margin: 8px 0; }
#srlp .srlp-yt-av-big img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
#srlp .srlp-yt-chmeta { flex: 1; min-width: 0; }
#srlp .srlp-yt-chlabel { font-size: 11px; font-weight: 500; color: #606060; background: #f2f2f2; padding: 2px 8px; border-radius: 4px; }

/* Boş durum */
#srlp .srlp-yt-empty { padding: 30px 10px; text-align: center; color: #909090; font-size: 13px; }

/* ── Basit liste ───────────────────────────────────────────────── */
#srlp .srlp-yt-list { margin: 0; padding-left: 0; list-style: none; }
#srlp .srlp-yt-list li { padding: 7px 8px; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
#srlp .srlp-yt-list li.is-own { background: #fff5f5; }
#srlp .srlp-yt-lpos { font-weight: 700; color: #c00; margin-right: 6px; }
#srlp .srlp-yt-list a { color: #0f0f0f; text-decoration: none; font-weight: 500; }
#srlp .srlp-yt-list a:hover { color: #c00; }

/* ── Sihirbaz 2. adım: kanal onay kartı (banner + taşan avatar) ── */
#srlp .srlp-ywiz-banner { width: 100%; height: 84px; background: linear-gradient(135deg, #fecaca, #dc2626); overflow: hidden; }
#srlp .srlp-ywiz-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
#srlp .srlp-ywiz-banner-ph { background: linear-gradient(135deg, #fee2e2, #fca5a5); }
#srlp .srlp-ywiz-row { display: flex; gap: 14px; padding: 0 18px 16px; align-items: flex-start; }
#srlp .srlp-ywiz-av {
  width: 64px; height: 64px; border-radius: 50%; margin-top: -34px; border: 3px solid #fff;
  background: #fff; object-fit: cover; flex: none; box-shadow: 0 6px 16px -8px rgba(15,23,42,.35);
}
#srlp .srlp-ywiz-av-ph { display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f87171, #dc2626); }
#srlp .srlp-ywiz-meta { min-width: 0; padding-top: 10px; }
#srlp .srlp-ywiz-name { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 800; color: #0f172a; line-height: 1.25; }
#srlp .srlp-ywiz-handle { font-size: 13px; color: #64748b; margin-top: 3px; }
#srlp .srlp-ywiz-stats { font-size: 12.5px; color: #475569; margin-top: 5px; font-weight: 600; }

/* ── Mobil uyarlama ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  #srlp .srlp-yt-row { gap: 10px; padding: 6px; }
  #srlp .srlp-yt-rank { width: 20px; font-size: 11px; }
  #srlp .srlp-yt-thumb { width: 148px; height: 83px; border-radius: 8px; }
  #srlp .srlp-yt-title { font-size: 14px; }
  #srlp .srlp-yt-ch { margin-top: 6px; }
  #srlp .srlp-yt-chbox { width: 148px; }
  #srlp .srlp-yt-av-big { width: 64px; height: 64px; font-size: 24px; }
}
