/* ar-studyo.css — stüdyo bağlantısı/logosu + durum ayrıntısı (2026-11-15).
   CEO: "detay sayfasındaki ve künyedeki stüdyolar tıklanabilir olacak tıkladığında stüdyonun animeleri açılacak"
   ve "durum kısmı ... sezon finalimi vermiş komplemi final vermiş". Kullanım: detail.html (meta çubuğu), discover.html (stüdyo başlığı).
   Dil: sayfanın mevcut tokenları; vurgu #dc2626; gölge/parlama yok. */

/* ── Detay: Stüdyo hücresi ── */
.meta-cell .ar-studyo-baglar { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.meta-cell a.ar-studyo-bag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; max-width: 100%;
  color: inherit; text-decoration: none;
}
.meta-cell .ar-studyo-bag__logo { display: block; flex: none; width: auto; height: 20px; max-width: 92px; object-fit: contain; object-position: left center; background: none; }
.meta-cell .ar-studyo-bag__ad { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
.meta-cell a.ar-studyo-bag:hover .ar-studyo-bag__ad { text-decoration-color: #dc2626; }
.meta-cell a.ar-studyo-bag:focus-visible { outline: 2px solid #dc2626; outline-offset: 3px; border-radius: 2px; }

/* ── Detay: durum ayrıntısı (meta çubuğunun altında tek satır) ── */
.meta-durum {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 12px 0 0; padding: 0 2px;
  font-size: 14px; line-height: 1.5; color: var(--text-secondary, #a3a3a3);
}
.meta-durum__etiket {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-tertiary, #7a7a7a);
}
.meta-durum__metin { color: var(--text-primary, #ebebeb); font-weight: 600; }
.meta-durum__metin.is-canli::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #dc2626; vertical-align: 2px; }
.meta-durum a { color: var(--text-primary, #fff); font-weight: 600; text-decoration: none; border-bottom: 1px solid #dc2626; }
.meta-durum a:hover { border-bottom-width: 2px; }

/* meta çubuğunun hemen altında, hücrelerle aynı sol hizada (çubuğun alt boşluğunu paylaşır; ızgaraya girmez,
   auto-fit sütun sayısı bozulmasın) */
.detail-meta-bar + .meta-durum { margin: calc(var(--space-2xl, 48px) * -1 + 2px) 0 var(--space-2xl, 48px); padding: 0 calc(var(--gutter-page, 32px) + 4px); }

/* ── Keşfet: stüdyo başlığı (?studio=) ── */
.discover-header.is-studyo .discover-title,
.discover-header.is-studyo .lead,
.discover-header.is-studyo .stats-strip { display: none; }   /* kütüphane geneli sayılar stüdyo sayfasında yanıltıyordu */
.ar-studyo-bas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0 0 18px; }
.ar-studyo-bas[hidden] { display: none; }
.ar-studyo-bas__logo { display: block; height: 64px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; background: none; }
.ar-studyo-bas__metin { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ar-studyo-bas__etiket {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-tertiary, #7a7a7a);
}
.ar-studyo-bas__ad { margin: 0; font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; overflow-wrap: anywhere; }
.ar-studyo-bas__ad::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 14px; background: #dc2626; }
.ar-studyo-bas__sayi { font-size: 14px; color: var(--text-secondary, #a3a3a3); }
@media (max-width: 640px) {
  .ar-studyo-bas { gap: 14px; }
  .ar-studyo-bas__logo { height: 44px; max-width: 180px; }
}

/* YAZILI-LOGO (2026-11-15, sahip: bones logosunda ikilenme): logo stüdyo adını zaten yazıyorsa ad görsel olarak gizli */
.ar-studyo-bag.is-yazili .ar-studyo-bag__ad { position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important }

/* ── Detay: çoklu stüdyo — ilk stüdyo ana, diğerleri altında küçük "+ Ad" (2026-11-15) ── */
.meta-cell .ar-studyo-baglar { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px; }
.meta-cell a.ar-studyo-bag.is-ortak { flex-wrap: nowrap; align-items: baseline; gap: 5px; }
.meta-cell a.ar-studyo-bag.is-ortak::before { content: '+'; flex: none; color: var(--text-tertiary, #7a7a7a); font-size: 13px; font-weight: 600; }
.meta-cell a.ar-studyo-bag.is-ortak .ar-studyo-bag__ad { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--text-secondary, #a3a3a3); }

/* ── Keşfet filtre paneli: Stüdyo (çoklu seçim, arama, logo + ad + sayı) — mevcut .filter-opt diliyle ── */
.ar-sf-ara {
  width: 100%; margin: 0 0 8px; padding: 9px 10px; border-radius: 8px; box-sizing: border-box;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; font: inherit; font-size: 13px;
}
.ar-sf-ara::placeholder { color: var(--text-tertiary, #7a7a7a); }
.ar-sf-ara:focus { outline: none; border-color: rgba(220,38,38,.6); }
.ar-sf-secili { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ar-sf-secili[hidden] { display: none; }
.ar-sf-cip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 8px 4px 10px; border-radius: 999px;
  border: 1px solid rgba(220,38,38,.5); background: rgba(220,38,38,.12); color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.ar-sf-cip span { color: #fca5a5; font-size: 14px; line-height: 1; }
.ar-sf-cip:hover { border-color: #dc2626; }
/* PANEL-IC-KAYDIRMA: uzun stüdyo listesi ayrı kutuda kaymaz; filtre panelinin kendisi kayar (iç içe kaydırma yok) */
.filter-opt.ar-sf-opt { justify-content: flex-start; gap: 10px; padding: 7px 10px; }
.ar-sf-logo { flex: none; display: block; width: 48px; height: 20px; object-fit: contain; object-position: center; background: none; }
.ar-sf-n {
  flex: none; margin-left: auto; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px;
  color: var(--text-tertiary, #7a7a7a); font-variant-numeric: tabular-nums;
}
.filter-opt.ar-sf-opt.is-active .ar-sf-n { color: #fff; }
.filter-opt.ar-sf-opt.is-active::after { color: #ef4444; margin-left: 2px; }
.ar-sf-tumu {
  width: 100%; margin-top: 8px; padding: 8px; background: none; border: 1px dashed rgba(255,255,255,.14); border-radius: 8px;
  color: var(--text-secondary, #a3a3a3); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.ar-sf-tumu:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.ar-sf-tumu[hidden] { display: none; }
.ar-sf-bos { padding: 10px 2px; font-size: 12.5px; color: var(--text-tertiary, #7a7a7a); }

/* TEK-SATIR-HUCRE (2026-11-15, sahip: "logo + isim + isim olunca kutucuk yukarıdan aşağıya uzuyor ve bütün kutular ona oranla
   uzuyor"): detay meta çubuğunda stüdyo hücresi tek satır — logo (16px) + ad, ortak stüdyo aynı satırda küçük "+ AD";
   sığmazsa üç noktayla kısalır (tam ad title'da). Hücre diğer hücrelerle aynı yükseklikte kalır. */
.meta-cell .ar-studyo-baglar { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; }
.meta-cell a.ar-studyo-bag { flex-wrap: nowrap !important; min-width: 0; gap: 6px; }
.meta-cell a.ar-studyo-bag:not(.is-ortak) { flex: 0 0 auto; max-width: 100%; }   /* ana stüdyo önce, tam görünür */
.meta-cell a.ar-studyo-bag.is-ortak { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.meta-cell .ar-studyo-bag__logo { height: 15px !important; max-width: 46px !important; }
.meta-cell a.ar-studyo-bag.is-yazili:not(.is-ortak) .ar-studyo-bag__logo { height: 18px !important; max-width: 110px !important; }   /* adı yazan logo tek başına, biraz büyük */
.meta-cell .ar-studyo-bag__ad { font-size: 15px; }
.meta-cell .ar-studyo-bag__ad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-cell a.ar-studyo-bag.is-ortak { flex: 0 1 auto; align-items: center !important; }
.meta-cell a.ar-studyo-bag.is-ortak .ar-studyo-bag__logo { display: none; }
.meta-cell a.ar-studyo-bag.is-ortak.is-yazili .ar-studyo-bag__ad { position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: hidden !important; }
.meta-cell a.ar-studyo-bag.is-ortak .ar-studyo-bag__ad { font-size: 12.5px !important; }
