/* AMTMC YouTube CSS v2 */
.amtmc-yt-wrap {
  --yt-accent: #ff0000; --yt-r: 12px;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}
.amtmc-yt-dark { --yt-bg:#1a2332; --yt-tx:#e8f0f8; --yt-br:rgba(255,255,255,.1); }

/* iframe 16:9 */
.amtmc-yt-iw { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:var(--yt-r); background:#000; }
.amtmc-yt-iw iframe { position:absolute; inset:0; width:100%; height:100%; border:none; border-radius:var(--yt-r); }

/* Tek */
.amtmc-yt-tek { width:100%; }
.amtmc-yt-baslik { font-size:.95rem; font-weight:800; margin:10px 0 0; color:var(--yt-tx,#1a2332); }

/* GRID */
/* v1.0.10: sütun sayısı artık sabit 2/3/4 sınıfı değil, admin/shortcode'dan
   gelen serbest bir sayı (--yt-cols) — CSS min() ile geniş ekranda tam
   sayı, daralan ekranlarda otomatik azaltılıyor (istenen sayı zaten 1-2
   ise media query'ler onu büyütmez, min() her zaman küçük olanı seçer). */
.amtmc-yt-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-grid { grid-template-columns:1fr !important; } }

/* Kart */
.amtmc-yt-kart { background:var(--yt-bg,#fff); border-radius:var(--yt-r); overflow:hidden; transition:transform .2s,box-shadow .2s; }
.amtmc-yt-kart:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.14); }
.amtmc-yt-kart-t { font-size:.8rem; font-weight:700; padding:8px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Thumbnail + play */
.amtmc-yt-thumb-w { position:relative; cursor:pointer; border-radius:var(--yt-r); overflow:hidden; aspect-ratio:16/9; background:#000; display:block; }
.amtmc-yt-ti { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s,opacity .3s; }
.amtmc-yt-thumb-w:hover .amtmc-yt-ti { transform:scale(1.04); opacity:.9; }
.amtmc-yt-pbi { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); opacity:.92; transition:opacity .2s,transform .2s; pointer-events:none; }
.amtmc-yt-thumb-w:hover .amtmc-yt-pbi { opacity:1; transform:translate(-50%,-50%) scale(1.08); }

/* Liste */
.amtmc-yt-liste { display:grid; grid-template-columns:1fr 300px; gap:16px; align-items:start; }
.amtmc-yt-liste-sb { display:flex; flex-direction:column; gap:8px; max-height:500px; overflow-y:auto; }
.amtmc-yt-liste-sb::-webkit-scrollbar { width:4px; }
.amtmc-yt-liste-sb::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-li { display:flex; gap:10px; align-items:center; padding:8px; border-radius:8px; cursor:pointer; transition:background .2s; border:2px solid transparent; }
.amtmc-yt-li:hover { background:rgba(255,0,0,.06); }
.amtmc-yt-li.on { border-color:var(--yt-accent); background:rgba(255,0,0,.05); }
.amtmc-yt-li-thumb { position:relative; width:100px; flex-shrink:0; border-radius:6px; overflow:hidden; aspect-ratio:16/9; background:#000; }
.amtmc-yt-li-thumb img { width:100%; height:100%; object-fit:cover; }
.amtmc-yt-play-ic { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:.85rem; background:rgba(0,0,0,.35); opacity:0; transition:opacity .2s; }
.amtmc-yt-li:hover .amtmc-yt-play-ic { opacity:1; }
.amtmc-yt-li-t { font-size:.75rem; font-weight:700; color:var(--yt-tx,#374151); line-height:1.4; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:768px) { .amtmc-yt-liste { grid-template-columns:1fr; } }

/* SİNEMA */
.amtmc-yt-sinema { background:var(--yt-bg,#0d0d0d); border-radius:var(--yt-r); overflow:hidden; padding:0; }
.amtmc-yt-sinema-iw { border-radius:0; }
.amtmc-yt-sinema-iw .amtmc-yt-iw { border-radius:0; }
.amtmc-yt-sinema-meta { padding:14px 18px; background:var(--yt-bg,#111); }
.amtmc-yt-sinema-meta .amtmc-yt-baslik { color:#fff; margin:0; }
.amtmc-yt-sinema-list { display:flex; gap:10px; padding:12px 18px; background:var(--yt-bg,#0d0d0d); overflow-x:auto; }
.amtmc-yt-sinema-list::-webkit-scrollbar { height:4px; }
.amtmc-yt-sinema-list::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-sinema-item { flex-shrink:0; width:140px; cursor:pointer; }
.amtmc-yt-sinema-item .amtmc-yt-thumb-w { border-radius:6px; }
.amtmc-yt-sinema-item-t { font-size:.72rem; font-weight:600; color:rgba(255,255,255,.75); margin-top:5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* KANAL */
.amtmc-yt-kanal { border-radius:var(--yt-r); overflow:hidden; border:1px solid rgba(0,0,0,.08); }
.amtmc-yt-kanal-header { display:flex; align-items:center; gap:14px; padding:16px 20px; }
.amtmc-yt-kanal-foto { width:52px; height:52px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.35); }
.amtmc-yt-kanal-foto-ph { width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.4rem; flex-shrink:0; }
/* v1.0.10: Kanal URL girildiyse foto/isim gerçek kanala giden bir bağlantı olur */
.amtmc-yt-kanal-foto-link { display:block; flex-shrink:0; line-height:0; border-radius:50%; transition:opacity .2s; }
.amtmc-yt-kanal-foto-link:hover { opacity:.85; }
.amtmc-yt-kanal-isim { margin:0; font-size:1rem; font-weight:800; color:#fff; }
.amtmc-yt-kanal-isim a { color:inherit; text-decoration:none; }
.amtmc-yt-kanal-isim a:hover { text-decoration:underline; }
.amtmc-yt-kanal-sayi { font-size:.76rem; color:rgba(255,255,255,.7); margin-top:2px; display:block; }
.amtmc-yt-kanal .amtmc-yt-grid { padding:16px; background:var(--yt-bg,#f8fafb); }

/* HABER */
.amtmc-yt-haber-list { display:flex; flex-direction:column; gap:12px; }
.amtmc-yt-haber-item { display:flex; gap:12px; align-items:center; background:var(--yt-bg,#fff); border:1px solid rgba(0,0,0,.08); border-radius:var(--yt-r); overflow:hidden; transition:box-shadow .2s; }
.amtmc-yt-haber-item:hover { box-shadow:0 4px 16px rgba(0,0,0,.1); }
.amtmc-yt-haber-thumb { position:relative; width:180px; flex-shrink:0; aspect-ratio:16/9; overflow:hidden; cursor:pointer; }
.amtmc-yt-haber-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.amtmc-yt-haber-thumb:hover img { transform:scale(1.05); }
.amtmc-yt-haber-thumb .amtmc-yt-pbi { opacity:0; }
.amtmc-yt-haber-thumb:hover .amtmc-yt-pbi { opacity:1; }
.amtmc-yt-haber-bilgi { flex:1; padding:12px 16px 12px 0; }
.amtmc-yt-haber-t { margin:0; font-size:.9rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; }
@media(max-width:540px) { .amtmc-yt-haber-thumb { width:120px; } }

.amtmc-yt-bos { color:#9ca3af; font-style:italic; padding:16px; background:#f8fafb; border-radius:8px; }

/* ================================================================
   KART — tek sütun, büyük gölgeli kart + açıklama linki
   ================================================================ */
.amtmc-yt-kart-list { display:flex; flex-direction:column; gap:16px; }
.amtmc-yt-kart-b { display:flex; gap:16px; align-items:center; background:var(--yt-bg,#fff); border-radius:var(--yt-r); box-shadow:0 2px 12px rgba(0,0,0,.09); overflow:hidden; padding:10px; transition:box-shadow .2s; }
.amtmc-yt-kart-b:hover { box-shadow:0 8px 24px rgba(0,0,0,.15); }
.amtmc-yt-kart-b .amtmc-yt-thumb-w { width:220px; flex-shrink:0; }
.amtmc-yt-kart-b-info { flex:1; min-width:0; }
.amtmc-yt-kart-b-info .amtmc-yt-kart-t { padding:0 0 8px; font-size:1rem; -webkit-line-clamp:2; }
.amtmc-yt-kart-b-link { display:inline-block; font-size:.78rem; font-weight:800; color:var(--yt-accent); }
@media(max-width:540px) { .amtmc-yt-kart-b { flex-direction:column; align-items:stretch; } .amtmc-yt-kart-b .amtmc-yt-thumb-w { width:100%; } }

/* ================================================================
   BÜLTEN — üstte ince accent çizgili dikey liste
   ================================================================ */
.amtmc-yt-bl-list { display:flex; flex-direction:column; gap:14px; }
.amtmc-yt-bl-item { background:var(--yt-bg,#fff); border-top:3px solid var(--yt-accent); border-radius:0 0 var(--yt-r) var(--yt-r); padding:0 0 10px; box-shadow:0 2px 10px rgba(0,0,0,.07); overflow:hidden; }
.amtmc-yt-bl-item .amtmc-yt-thumb-w { border-radius:0; }
.amtmc-yt-bl-t { margin:10px 12px 0; font-size:.86rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* ================================================================
   KART YIĞINI — kenardan çekilmiş gölgeli kart ızgarası
   ================================================================ */
.amtmc-yt-yg-grid { display:grid; gap:22px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-yg-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-yg-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-yg-card { background:var(--yt-bg,#fff); border-radius:var(--yt-r); box-shadow:0 -6px 0 -3px rgba(0,0,0,.04), 0 10px 26px rgba(0,0,0,.14); padding:8px; transition:transform .25s,box-shadow .25s; }
.amtmc-yt-yg-card:hover { transform:translateY(-4px); box-shadow:0 -6px 0 -3px rgba(0,0,0,.05), 0 16px 34px rgba(0,0,0,.2); }
.amtmc-yt-yg-t { margin:8px 4px 2px; font-size:.82rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================================================================
   DAİRESEL — dairesel thumbnail satırı
   ================================================================ */
.amtmc-yt-dr-row { display:flex; flex-wrap:wrap; gap:20px; justify-content:flex-start; }
.amtmc-yt-dr-item { width:104px; text-align:center; }
.amtmc-yt-dr-avatar { width:88px; height:88px; margin:0 auto; border-radius:50%; background-size:cover; background-position:center; border:3px solid var(--yt-accent); position:relative; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.18); }
.amtmc-yt-dr-avatar .amtmc-yt-pbi { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.5); font-size:1.1rem; opacity:0; transition:opacity .2s; background:rgba(0,0,0,.25); border-radius:50%; }
.amtmc-yt-dr-avatar:hover .amtmc-yt-pbi { opacity:1; }
.amtmc-yt-dr-t { margin-top:8px; font-size:.72rem; font-weight:700; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================================================================
   ÇİZGİ — sol accent çizgili kompakt liste
   ================================================================ */
.amtmc-yt-cz-list { display:flex; flex-direction:column; gap:2px; }
.amtmc-yt-cz-item { display:flex; gap:10px; align-items:center; padding:8px 10px; border-left:3px solid var(--yt-accent); background:var(--yt-bg,transparent); transition:background .2s; }
.amtmc-yt-cz-item:hover { background:rgba(0,0,0,.03); }
.amtmc-yt-cz-thumb { width:88px; flex-shrink:0; border-radius:6px; }
.amtmc-yt-cz-t { font-size:.8rem; font-weight:700; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================================================================
   v1.0.15: 12 şablondan 30 şablona — aşağıdaki 18 blok yeni düzenler
   içindir, yukarıdaki 12 şablonun hiçbir kuralı değiştirilmedi.
   ================================================================ */

/* ÇERÇEVELİ — kalın accent renkli çerçeve */
.amtmc-yt-fr-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-fr-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-fr-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-fr-card { background:var(--yt-bg,#fff); border:3px solid var(--yt-accent); border-radius:var(--yt-r); padding:6px; }
.amtmc-yt-fr-thumb { border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-fr-t { font-size:.82rem; font-weight:800; padding:8px 4px 2px; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* BUZLU CAM — alt bilgi paneli buzlu cam */
.amtmc-yt-gl-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-gl-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-gl-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-gl-card { position:relative; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-gl-cap { position:absolute; left:0; right:0; bottom:0; padding:10px 12px; background:rgba(255,255,255,.16); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); border-top:1px solid rgba(255,255,255,.35); }
.amtmc-yt-gl-t { font-size:.8rem; font-weight:800; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.amtmc-yt-dark .amtmc-yt-gl-cap { background:rgba(20,26,38,.35); border-top-color:rgba(255,255,255,.15); }

/* NEON — koyu kart + parlama efekti */
.amtmc-yt-nn-grid { display:grid; gap:20px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-nn-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-nn-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-nn-card { background:var(--yt-bg,#0d0d14); border-radius:var(--yt-r); padding:8px; transition:box-shadow .25s; }
.amtmc-yt-nn-thumb { border-radius:calc(var(--yt-r) - 3px); box-shadow:0 0 0 2px var(--yt-accent), 0 0 18px 2px var(--yt-accent); }
.amtmc-yt-nn-card:hover .amtmc-yt-nn-thumb { box-shadow:0 0 0 2px var(--yt-accent), 0 0 28px 6px var(--yt-accent); }
.amtmc-yt-nn-t { margin:10px 4px 2px; font-size:.82rem; font-weight:800; color:var(--yt-tx,#fff); text-shadow:0 0 8px var(--yt-accent); line-height:1.4; }

/* POLAROİD — döndürülmüş, beyaz çerçeveli fotoğraf kartı */
.amtmc-yt-pl-grid { display:grid; gap:26px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-pl-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-pl-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-pl-card { background:#fff; padding:10px 10px 4px; box-shadow:0 6px 16px rgba(0,0,0,.18); transform:rotate(-2deg); transition:transform .2s; border-radius:2px; }
.amtmc-yt-pl-card:nth-child(even) { transform:rotate(2deg); }
.amtmc-yt-pl-card:hover { transform:rotate(0deg) scale(1.02); }
.amtmc-yt-pl-thumb { border-radius:1px; }
.amtmc-yt-pl-t { font-size:.78rem; font-weight:600; font-style:italic; text-align:center; padding:10px 2px 8px; color:#333; line-height:1.35; }

/* DUOTON — iki tonlu renk katmanı */
.amtmc-yt-dt-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-dt-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-dt-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-dt-card { border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#fff); }
.amtmc-yt-dt-thumb { position:relative; }
.amtmc-yt-dt-thumb::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg, var(--yt-accent), #1a2332); mix-blend-mode:color; opacity:.85; pointer-events:none; }
.amtmc-yt-dt-t { font-size:.82rem; font-weight:800; padding:8px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* KÖŞE KURDELESİ — çapraz kurdele rozeti */
.amtmc-yt-rb-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-rb-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-rb-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-rb-card { position:relative; overflow:hidden; border-radius:var(--yt-r); background:var(--yt-bg,#fff); }
.amtmc-yt-rb-ribbon { position:absolute; top:14px; left:-32px; width:130px; padding:3px 0; background:var(--yt-accent); color:#fff; font-size:.62rem; font-weight:800; text-align:center; transform:rotate(-45deg); z-index:2; box-shadow:0 2px 6px rgba(0,0,0,.25); letter-spacing:.05em; }
.amtmc-yt-rb-t { font-size:.82rem; font-weight:800; padding:8px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* SPOT — hover'da kenarları koyulaştıran ışık huzmesi */
.amtmc-yt-sp-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-sp-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-sp-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-sp-card { border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#fff); }
.amtmc-yt-sp-thumb { position:relative; }
.amtmc-yt-sp-thumb::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.7) 100%); opacity:0; transition:opacity .3s; pointer-events:none; }
.amtmc-yt-sp-card:hover .amtmc-yt-sp-thumb::after { opacity:1; }
.amtmc-yt-sp-t { font-size:.82rem; font-weight:800; padding:8px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* DAKTİLO — monospace/terminal görünümlü alt bilgi çubuğu */
.amtmc-yt-dk-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-dk-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-dk-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-dk-card { border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#0d0d0d); border:1px solid rgba(0,0,0,.1); }
.amtmc-yt-dk-thumb { border-radius:0; }
.amtmc-yt-dk-t { font-family:'Courier New',Courier,monospace; font-size:.76rem; font-weight:700; padding:8px 10px; margin:0; color:var(--yt-tx,#22c55e); background:rgba(0,0,0,.4); border-top:1px dashed var(--yt-accent); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ALT BANT — ultra ince, tek satırlık kompakt liste */
.amtmc-yt-ab-list { display:flex; flex-direction:column; gap:1px; }
.amtmc-yt-ab-item { display:flex; gap:8px; align-items:center; padding:3px 6px; background:var(--yt-bg,transparent); }
.amtmc-yt-ab-thumb { width:40px; flex-shrink:0; border-radius:3px; }
.amtmc-yt-ab-t { font-size:.72rem; font-weight:600; color:var(--yt-tx,#1a2332); line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ORTA MERKEZ — başlık thumbnail'in tam ortasında, koyu perde üzerinde */
.amtmc-yt-om-list { display:flex; flex-direction:column; gap:16px; }
.amtmc-yt-om-card { position:relative; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-om-cap { position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:center; text-align:center; padding:0 16px 18px; background:radial-gradient(circle at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%); pointer-events:none; }
.amtmc-yt-om-t { font-size:1rem; font-weight:800; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.6); line-height:1.4; }

/* ÇAPRAZ — thumbnail ile başlık paneli arasında çapraz kesim */
.amtmc-yt-cp-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-cp-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-cp-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-cp-card { position:relative; border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#fff); }
.amtmc-yt-cp-cap { position:absolute; right:0; bottom:0; width:62%; height:52%; background:var(--yt-accent); clip-path:polygon(28% 0,100% 0,100% 100%,0 100%); display:flex; align-items:flex-end; justify-content:flex-end; padding:10px 12px; }
.amtmc-yt-cp-t { font-size:.78rem; font-weight:800; color:#fff; text-align:right; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ÜST SOL — başlık thumbnail'in üst-sol köşesinde, koyu geçişli perde üzerinde */
.amtmc-yt-ul-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-ul-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-ul-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-ul-card { position:relative; border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#fff); }
.amtmc-yt-ul-cap { position:absolute; top:0; left:0; right:0; padding:10px 12px 24px; background:linear-gradient(to bottom, rgba(0,0,0,.78), transparent); pointer-events:none; }
.amtmc-yt-ul-t { font-size:.8rem; font-weight:800; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ALINTI — dekoratif tırnak işareti + italik, ortalı başlık */
.amtmc-yt-al-grid { display:grid; gap:22px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-al-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-al-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-al-card { background:var(--yt-bg,#fff); border-radius:var(--yt-r); overflow:hidden; text-align:center; box-shadow:0 2px 12px rgba(0,0,0,.08); }
.amtmc-yt-al-cap { padding:14px 16px 18px; }
.amtmc-yt-al-q { display:block; font-size:2rem; line-height:1; color:var(--yt-accent); font-weight:800; margin-bottom:4px; font-family:Georgia,serif; }
.amtmc-yt-al-t { font-size:.86rem; font-weight:600; font-style:italic; color:var(--yt-tx,#1a2332); line-height:1.45; margin:0; }

/* ŞEFFAF — kenarlıksız, sade büyük thumbnail ızgarası */
.amtmc-yt-tr-grid { display:grid; gap:10px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-tr-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-tr-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-tr-card { position:relative; background:transparent; }
.amtmc-yt-tr-thumb { border-radius:4px; }
.amtmc-yt-tr-cap { position:absolute; left:0; right:0; bottom:0; padding:5px 8px; background:rgba(0,0,0,.55); opacity:0; transition:opacity .2s; pointer-events:none; }
.amtmc-yt-tr-card:hover .amtmc-yt-tr-cap { opacity:1; }
.amtmc-yt-tr-t { font-size:.7rem; font-weight:600; color:#fff; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* KÜÇÜK RESİM ŞERİDİ — büyük ana video + altında küçük resim şeridi */
.amtmc-yt-th { width:100%; }
.amtmc-yt-th-t { font-size:.95rem; font-weight:800; margin:10px 0 0; color:var(--yt-tx,#1a2332); }
.amtmc-yt-th-strip { display:flex; gap:10px; margin-top:14px; overflow-x:auto; padding-bottom:4px; }
.amtmc-yt-th-strip::-webkit-scrollbar { height:4px; }
.amtmc-yt-th-strip::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-th-item { flex:0 0 150px; }
.amtmc-yt-th-thumb { border-radius:6px; }
.amtmc-yt-th-item-t { font-size:.72rem; font-weight:700; margin-top:5px; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* DUVAR ÖRGÜSÜ — ilk video büyük, geri kalanı yoğun ızgara doldurur */
.amtmc-yt-ms-grid { display:grid; gap:16px; grid-auto-flow:dense; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-ms-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-ms-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-ms-card { background:var(--yt-bg,#fff); border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-ms-card:first-child { grid-column:span 2; grid-row:span 2; }
.amtmc-yt-ms-card:first-child .amtmc-yt-ms-thumb { aspect-ratio:1/1; }
@media(max-width:540px) { .amtmc-yt-ms-card:first-child { grid-column:span 1; grid-row:span 1; } .amtmc-yt-ms-card:first-child .amtmc-yt-ms-thumb { aspect-ratio:16/9; } }
.amtmc-yt-ms-t { font-size:.82rem; font-weight:800; padding:8px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* PANORAMİK — yatay kaydırmalı, geniş+alçak banner thumbnail'ler */
.amtmc-yt-pn-row { display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; }
.amtmc-yt-pn-row::-webkit-scrollbar { height:5px; }
.amtmc-yt-pn-row::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-pn-card { flex:0 0 320px; }
.amtmc-yt-pn-thumb { aspect-ratio:21/6; }
.amtmc-yt-pn-t { font-size:.8rem; font-weight:800; padding:6px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media(max-width:540px) { .amtmc-yt-pn-card { flex-basis:240px; } }

/* DİKEY KAYDIRMA — yatay kaydırmalı, dikey/portre "hikaye" kartları */
.amtmc-yt-dy-row { display:flex; gap:12px; overflow-x:auto; padding-bottom:6px; }
.amtmc-yt-dy-row::-webkit-scrollbar { height:5px; }
.amtmc-yt-dy-row::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-dy-card { position:relative; flex:0 0 150px; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-dy-thumb { aspect-ratio:9/16; }
.amtmc-yt-dy-cap { position:absolute; left:0; right:0; bottom:0; padding:8px 10px 10px; background:linear-gradient(to top, rgba(0,0,0,.8), transparent); pointer-events:none; }
.amtmc-yt-dy-t { font-size:.74rem; font-weight:800; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-dy-card { flex-basis:120px; } }

/* ================================================================
   v1.0.19: 30 şablondan 41 şablona — aşağıdaki 11 blok Video/Kanal/
   Oynatma Listesi şablonlarıdır, yukarıdaki 30 şablonun hiçbir kuralı
   değiştirilmedi.
   ================================================================ */

/* ================ 1. BÜYÜK OYNAT — dev boyutlu, sade video kartı ================ */
.amtmc-yt-bo-grid { display:grid; gap:26px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-bo-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-bo-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-bo-card { background:var(--yt-bg,#fff); }
.amtmc-yt-bo-thumb { border-radius:var(--yt-r); min-width:0; }
.amtmc-yt-bo-t { font-size:1.02rem; font-weight:800; margin:12px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* ================ 2. İKİLİ — sabit 2 sütunlu geniş kartlar ================ */
.amtmc-yt-ik-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.amtmc-yt-ik-card { background:var(--yt-bg,#fff); }
.amtmc-yt-ik-thumb { border-radius:var(--yt-r); }
.amtmc-yt-ik-t { font-size:.92rem; font-weight:800; margin:10px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 3. KAPAK VİDEO — büyük kapak + alt şerit ================ */
.amtmc-yt-kpv { width:100%; }
.amtmc-yt-kpv-card { position:relative; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-kpv-thumb { border-radius:var(--yt-r); }
.amtmc-yt-kpv-cap { position:absolute; left:0; right:0; bottom:0; padding:16px 18px; background:linear-gradient(to top, rgba(0,0,0,.82), transparent); pointer-events:none; }
.amtmc-yt-kpv-t { font-size:1.05rem; font-weight:800; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.6); line-height:1.4; }
.amtmc-yt-kpv-strip { display:flex; gap:10px; margin-top:14px; overflow-x:auto; padding-bottom:4px; }
.amtmc-yt-kpv-strip::-webkit-scrollbar { height:4px; }
.amtmc-yt-kpv-strip::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-kpv-item { flex:0 0 150px; }
.amtmc-yt-kpv-item-thumb { border-radius:6px; }
.amtmc-yt-kpv-item-t { font-size:.72rem; font-weight:700; margin-top:5px; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 4. DERİNLİK — katmanlı gölgeli kartlar ================ */
.amtmc-yt-dl-grid { display:grid; gap:26px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-dl-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-dl-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-dl-card { background:var(--yt-bg,#fff); border-radius:var(--yt-r); padding:8px; box-shadow:0 6px 16px rgba(0,0,0,.12); transition:transform .25s,box-shadow .25s; }
.amtmc-yt-dl-card:hover { transform:translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,.28); }
.amtmc-yt-dl-thumb { border-radius:calc(var(--yt-r) - 3px); }
.amtmc-yt-dl-t { font-size:.84rem; font-weight:800; margin:10px 4px 2px; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 5. NOKTALI — kesikli çerçeve + köşe rozeti ================ */
.amtmc-yt-nk-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-nk-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-nk-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-nk-card { position:relative; background:var(--yt-bg,#fff); border:2px dashed var(--yt-accent); border-radius:var(--yt-r); padding:7px; }
.amtmc-yt-nk-thumb { border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-nk-badge { position:absolute; top:-9px; left:12px; background:var(--yt-accent); color:#fff; font-size:.6rem; font-weight:800; letter-spacing:.06em; padding:2px 8px; border-radius:4px; z-index:2; }
.amtmc-yt-nk-t { font-size:.82rem; font-weight:800; margin:9px 3px 1px; color:var(--yt-tx,#1a2332); line-height:1.4; }

/* ================ 6. KANAL VİTRİN — büyük kanal şeridi + video grid ================ */
.amtmc-yt-kv { border-radius:var(--yt-r); overflow:hidden; border:1px solid rgba(0,0,0,.08); }
.amtmc-yt-kv-hero { display:flex; align-items:center; gap:18px; padding:26px 26px; }
.amtmc-yt-kv-foto { width:76px; height:76px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.4); flex-shrink:0; }
.amtmc-yt-kv-foto-ph { width:76px; height:76px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:#fff; font-size:2rem; flex-shrink:0; }
.amtmc-yt-kv-info { min-width:0; }
.amtmc-yt-kv-isim { margin:0 0 8px; font-size:1.3rem; font-weight:800; color:#fff; }
.amtmc-yt-kv-btn { display:inline-block; font-size:.8rem; font-weight:800; color:#fff; background:rgba(0,0,0,.25); padding:7px 14px; border-radius:999px; text-decoration:none; transition:background .2s; }
.amtmc-yt-kv-btn:hover { background:rgba(0,0,0,.4); }
.amtmc-yt-kv-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); padding:20px; background:var(--yt-bg,#f8fafb); }
@media(max-width:900px) { .amtmc-yt-kv-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-kv-grid { grid-template-columns:1fr !important; } .amtmc-yt-kv-hero { flex-wrap:wrap; padding:18px; } }
.amtmc-yt-kv-thumb { border-radius:calc(var(--yt-r) - 3px); }
.amtmc-yt-kv-t { font-size:.82rem; font-weight:800; margin:8px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 7. KANAL ŞERİTLİ — sol dikey kimlik + sağ grid ================ */
.amtmc-yt-ks { display:grid; grid-template-columns:110px 1fr; gap:0; border-radius:var(--yt-r); overflow:hidden; border:1px solid rgba(0,0,0,.08); }
.amtmc-yt-ks-side { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:16px 8px; text-align:center; text-decoration:none; }
.amtmc-yt-ks-foto { width:48px; height:48px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.4); }
.amtmc-yt-ks-foto-ph { width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.2rem; }
.amtmc-yt-ks-isim { display:block; color:#fff; font-size:.72rem; font-weight:800; writing-mode:vertical-rl; text-orientation:mixed; letter-spacing:.03em; }
.amtmc-yt-ks-grid { display:grid; gap:16px; grid-template-columns:repeat(var(--yt-cols,3),1fr); padding:18px; background:var(--yt-bg,#fff); }
@media(max-width:900px) { .amtmc-yt-ks-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-ks { grid-template-columns:1fr; } .amtmc-yt-ks-side { flex-direction:row; } .amtmc-yt-ks-isim { writing-mode:horizontal-tb; } .amtmc-yt-ks-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-ks-thumb { border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-ks-t { font-size:.8rem; font-weight:800; margin:8px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 8. KANAL ROZET — thumbnail üzerinde mini kanal chip'i ================ */
.amtmc-yt-kr-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-kr-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-kr-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-kr-card { background:var(--yt-bg,#fff); }
.amtmc-yt-kr-thumb-wrap { position:relative; }
.amtmc-yt-kr-thumb { border-radius:var(--yt-r); }
.amtmc-yt-kr-rozet { position:absolute; top:8px; left:8px; display:flex; align-items:center; gap:5px; background:rgba(0,0,0,.6); backdrop-filter:blur(3px); border-radius:999px; padding:3px 9px 3px 3px; z-index:2; max-width:78%; }
.amtmc-yt-kr-rozet img { width:20px; height:20px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.amtmc-yt-kr-rozet-ph { width:20px; height:20px; border-radius:50%; background:var(--yt-accent); color:#fff; font-size:.6rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.amtmc-yt-kr-rozet span { font-size:.64rem; font-weight:800; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.amtmc-yt-kr-t { font-size:.82rem; font-weight:800; margin:9px 3px 0; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ================ 9. KANAL KARTI — hero kanal kartı + yatay şerit ================ */
.amtmc-yt-kk { width:100%; }
.amtmc-yt-kk-hero { display:flex; align-items:center; gap:16px; padding:20px 24px; border-radius:var(--yt-r); }
.amtmc-yt-kk-foto,.amtmc-yt-kk-foto-link img { width:64px; height:64px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.4); flex-shrink:0; }
.amtmc-yt-kk-foto-ph { width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.7rem; flex-shrink:0; }
.amtmc-yt-kk-foto-link { display:block; line-height:0; flex-shrink:0; }
.amtmc-yt-kk-info { min-width:0; }
.amtmc-yt-kk-isim { margin:0 0 4px; font-size:1.1rem; font-weight:800; color:#fff; }
.amtmc-yt-kk-sayi { font-size:.76rem; color:rgba(255,255,255,.75); }
.amtmc-yt-kk-strip { display:flex; gap:12px; margin-top:16px; overflow-x:auto; padding-bottom:6px; }
.amtmc-yt-kk-strip::-webkit-scrollbar { height:5px; }
.amtmc-yt-kk-strip::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-kk-item { flex:0 0 160px; }
.amtmc-yt-kk-thumb { border-radius:8px; }
.amtmc-yt-kk-item-t { font-size:.72rem; font-weight:700; margin-top:6px; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-kk-hero { padding:16px; } .amtmc-yt-kk-item { flex-basis:130px; } }

/* ================ 10. KRONOLOJİ — dikey zaman çizelgesi ================ */
.amtmc-yt-kn-line { position:relative; display:flex; flex-direction:column; gap:22px; padding-left:26px; }
.amtmc-yt-kn-line::before { content:''; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--yt-accent); opacity:.35; }
.amtmc-yt-kn-item { position:relative; }
.amtmc-yt-kn-dot { position:absolute; left:-26px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--yt-accent); box-shadow:0 0 0 3px var(--yt-bg,#fff); }
.amtmc-yt-kn-body { display:flex; gap:14px; align-items:flex-start; }
.amtmc-yt-kn-thumb { width:150px; flex-shrink:0; border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-kn-info { min-width:0; padding-top:2px; }
.amtmc-yt-kn-tarih { display:inline-block; font-size:.66rem; font-weight:800; color:var(--yt-accent); background:rgba(0,0,0,.06); padding:2px 8px; border-radius:999px; margin-bottom:5px; }
.amtmc-yt-kn-t { font-size:.86rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-kn-body { flex-direction:column; } .amtmc-yt-kn-thumb { width:100%; } }

/* ================ 11. KARIŞIK IZGARA — mozaik grid, ilk video 2x2 kapak ================ */
.amtmc-yt-kz-grid { display:grid; gap:12px; grid-template-columns:repeat(4,1fr); grid-auto-rows:1fr; }
.amtmc-yt-kz-card { position:relative; border-radius:var(--yt-r); overflow:hidden; background:var(--yt-bg,#fff); }
.amtmc-yt-kz-buyuk { grid-column:span 2; grid-row:span 2; }
.amtmc-yt-kz-buyuk .amtmc-yt-kz-thumb { height:100%; aspect-ratio:auto; }
.amtmc-yt-kz-thumb { border-radius:0; height:100%; }
.amtmc-yt-kz-cap { position:absolute; left:0; right:0; bottom:0; padding:14px 16px; background:linear-gradient(to top, rgba(0,0,0,.8), transparent); pointer-events:none; }
.amtmc-yt-kz-t { font-size:1rem; font-weight:800; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.6); line-height:1.4; }
.amtmc-yt-kz-t-alt { font-size:.74rem; font-weight:800; margin:6px 3px 0; color:var(--yt-tx,#1a2332); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:768px) { .amtmc-yt-kz-grid { grid-template-columns:repeat(2,1fr); } .amtmc-yt-kz-buyuk { grid-column:span 2; grid-row:span 1; } .amtmc-yt-kz-buyuk .amtmc-yt-kz-thumb { aspect-ratio:16/9; height:auto; } }

/* ================================================================
   v1.0.20: 41 şablondan 52 şablona — aşağıdaki 11 blok "Canlı Yayın &
   Öne Çıkan" ve "Dergi & Vitrin" şablonlarıdır, yukarıdaki 41 şablonun
   hiçbir kuralı değiştirilmedi.
   ================================================================ */

/* ================ 1. CANLI YAYIN — nabız atan CANLI rozeti + kırmızı vurgu ================ */
@keyframes amtmc-yt-cy-pulse { 0% { box-shadow:0 0 0 0 rgba(255,0,0,.6); } 70% { box-shadow:0 0 0 8px rgba(255,0,0,0); } 100% { box-shadow:0 0 0 0 rgba(255,0,0,0); } }
.amtmc-yt-cy-grid { display:grid; gap:20px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-cy-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-cy-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-cy-card { position:relative; background:var(--yt-bg,#fff); border:2px solid #ff0000; border-radius:var(--yt-r); padding:7px; box-shadow:0 0 18px rgba(255,0,0,.25); }
.amtmc-yt-cy-thumb { border-radius:calc(var(--yt-r) - 3px); }
.amtmc-yt-cy-badge { position:absolute; top:14px; left:14px; z-index:2; display:flex; align-items:center; gap:5px; background:#ff0000; color:#fff; font-size:.64rem; font-weight:800; letter-spacing:.05em; padding:3px 9px 3px 7px; border-radius:999px; }
.amtmc-yt-cy-dot { width:7px; height:7px; border-radius:50%; background:#fff; animation:amtmc-yt-cy-pulse 1.4s infinite; }
.amtmc-yt-cy-t { font-size:.84rem; font-weight:800; margin:9px 3px 1px; color:var(--yt-tx,#1a2332); line-height:1.4; }
@media (prefers-reduced-motion: reduce) { .amtmc-yt-cy-dot { animation:none; } }

/* ================ 2. ÖNE ÇIKAN — büyük öne çıkan video + yan liste ================ */
.amtmc-yt-oc { display:grid; grid-template-columns:1fr 300px; gap:18px; align-items:start; }
.amtmc-yt-oc-main { position:relative; }
.amtmc-yt-oc-badge { position:absolute; top:14px; left:0; z-index:2; background:var(--yt-accent); color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.05em; padding:5px 14px 5px 18px; border-radius:0 4px 4px 0; box-shadow:0 3px 10px rgba(0,0,0,.25); }
.amtmc-yt-oc-thumb { border-radius:var(--yt-r); }
.amtmc-yt-oc-t { font-size:1.05rem; font-weight:800; margin:12px 2px 0; color:var(--yt-tx,#1a2332); line-height:1.4; }
.amtmc-yt-oc-list { display:flex; flex-direction:column; gap:12px; max-height:480px; overflow-y:auto; }
.amtmc-yt-oc-list::-webkit-scrollbar { width:4px; }
.amtmc-yt-oc-list::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-oc-item-thumb { border-radius:8px; }
.amtmc-yt-oc-item-t { font-size:.76rem; font-weight:700; margin-top:5px; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:768px) { .amtmc-yt-oc { grid-template-columns:1fr; } .amtmc-yt-oc-list { max-height:none; flex-direction:row; overflow-x:auto; overflow-y:visible; } .amtmc-yt-oc-item { flex:0 0 160px; } }

/* ================ 3. SON DAKİKA — acil haber şeridi, kalın sol çizgi ================ */
.amtmc-yt-sd-list { display:flex; flex-direction:column; gap:3px; }
.amtmc-yt-sd-item { position:relative; display:flex; gap:10px; align-items:center; padding:7px 10px 7px 14px; border-left:5px solid #e02020; background:var(--yt-bg,#fff); }
.amtmc-yt-sd-thumb { width:92px; flex-shrink:0; border-radius:4px; }
.amtmc-yt-sd-tag { position:absolute; top:-9px; left:10px; background:#e02020; color:#fff; font-size:.6rem; font-weight:800; letter-spacing:.06em; padding:2px 8px; border-radius:2px; }
.amtmc-yt-sd-t { font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.01em; color:var(--yt-tx,#1a2332); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-sd-thumb { width:66px; } }

/* ================ 4. ÖZEL İÇERİK — koyu premium kart, altın çerçeve ================ */
.amtmc-yt-oz-grid { display:grid; gap:20px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-oz-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-oz-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-oz-card { position:relative; background:var(--yt-bg,#14120c); border:1px solid #caa24d; border-radius:var(--yt-r); padding:8px; }
.amtmc-yt-oz-thumb { border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-oz-badge { position:absolute; top:16px; right:16px; z-index:2; background:linear-gradient(135deg,#e8c874,#a97e2b); color:#241d0c; font-size:.62rem; font-weight:800; letter-spacing:.08em; padding:3px 10px; border-radius:3px; }
.amtmc-yt-oz-t { font-size:.86rem; font-weight:700; margin:11px 4px 2px; color:var(--yt-tx,#f0e6cc); line-height:1.4; }

/* ================ 5. LİSTE VİTRİN — yatay satır, zengin editoryal liste ================ */
.amtmc-yt-lv-list { display:flex; flex-direction:column; gap:20px; }
.amtmc-yt-lv-item { display:flex; gap:18px; align-items:center; }
.amtmc-yt-lv-thumb { width:260px; flex-shrink:0; border-radius:calc(var(--yt-r) - 2px); }
.amtmc-yt-lv-info { min-width:0; }
.amtmc-yt-lv-tarih { display:block; font-size:.7rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--yt-accent); margin-bottom:6px; }
.amtmc-yt-lv-t { margin:0; font-size:1.15rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; }
@media(max-width:768px) { .amtmc-yt-lv-item { flex-direction:column; align-items:stretch; } .amtmc-yt-lv-thumb { width:100%; } }
@media(max-width:540px) { .amtmc-yt-lv-t { font-size:1rem; } }

/* ================ 6. SAYFALIK LİSTE — numaralı geri sayım listesi ================ */
.amtmc-yt-sl-list { display:flex; flex-direction:column; gap:14px; }
.amtmc-yt-sl-item { display:flex; gap:14px; align-items:center; }
.amtmc-yt-sl-num { flex-shrink:0; font-size:2rem; font-weight:800; color:var(--yt-accent); opacity:.35; width:56px; text-align:center; line-height:1; font-family:Georgia,serif; }
.amtmc-yt-sl-thumb { width:150px; flex-shrink:0; border-radius:calc(var(--yt-r) - 4px); }
.amtmc-yt-sl-t { font-size:.88rem; font-weight:800; color:var(--yt-tx,#1a2332); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-sl-num { font-size:1.4rem; width:38px; } .amtmc-yt-sl-thumb { width:100px; } }

/* ================ 7. DERGİ KAPAK — büyük kapak + iri overlay başlık ================ */
.amtmc-yt-dgk { width:100%; }
.amtmc-yt-dgk-card { position:relative; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-dgk-thumb { border-radius:var(--yt-r); }
.amtmc-yt-dgk-cap { position:absolute; left:0; right:0; bottom:0; padding:22px 24px; background:linear-gradient(to top, rgba(0,0,0,.85) 20%, transparent); pointer-events:none; }
.amtmc-yt-dgk-t { font-size:1.6rem; font-weight:800; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.6); line-height:1.15; text-transform:uppercase; letter-spacing:.01em; }
.amtmc-yt-dgk-list { display:flex; gap:10px; margin-top:14px; overflow-x:auto; padding-bottom:4px; }
.amtmc-yt-dgk-list::-webkit-scrollbar { height:4px; }
.amtmc-yt-dgk-list::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-dgk-item { flex:0 0 150px; }
.amtmc-yt-dgk-item-thumb { border-radius:6px; }
.amtmc-yt-dgk-item-t { font-size:.72rem; font-weight:700; margin-top:5px; color:var(--yt-tx,#374151); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-dgk-t { font-size:1.15rem; } }

/* ================ 8. EDİTORYAL — ince ayraçlı, sade tipografi listesi ================ */
.amtmc-yt-ed-list { display:flex; flex-direction:column; }
.amtmc-yt-ed-item { display:flex; gap:20px; align-items:center; padding:20px 0; border-bottom:1px solid rgba(0,0,0,.09); }
.amtmc-yt-ed-item:first-child { padding-top:0; }
.amtmc-yt-ed-item:last-child { border-bottom:none; }
.amtmc-yt-ed-thumb { width:180px; flex-shrink:0; border-radius:4px; }
.amtmc-yt-ed-info { min-width:0; }
.amtmc-yt-ed-t { margin:0 0 6px; font-size:1rem; font-weight:600; color:var(--yt-tx,#1a2332); line-height:1.45; }
.amtmc-yt-ed-tarih { font-size:.7rem; color:#9ca3af; letter-spacing:.03em; }
@media(max-width:540px) { .amtmc-yt-ed-item { flex-direction:column; align-items:stretch; gap:10px; } .amtmc-yt-ed-thumb { width:100%; } }

/* ================ 9. MOZAİK — asimetrik büyük/küçük ızgara kutuları ================ */
.amtmc-yt-mz-grid { display:grid; grid-auto-flow:dense; gap:12px; grid-template-columns:repeat(4,1fr); grid-auto-rows:100px; }
.amtmc-yt-mz-card { position:relative; border-radius:calc(var(--yt-r) - 4px); overflow:hidden; background:var(--yt-bg,#fff); display:flex; flex-direction:column; }
.amtmc-yt-mz-card:nth-child(4n+1) { grid-column:span 2; grid-row:span 2; }
.amtmc-yt-mz-card:nth-child(4n+2) { grid-column:span 2; grid-row:span 1; }
.amtmc-yt-mz-thumb { border-radius:0; flex:1; height:auto; }
.amtmc-yt-mz-t { font-size:.76rem; font-weight:800; padding:6px 4px 0; color:var(--yt-tx,#1a2332); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:900px) { .amtmc-yt-mz-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:540px) { .amtmc-yt-mz-grid { grid-template-columns:repeat(2,1fr); grid-auto-rows:auto; } .amtmc-yt-mz-card, .amtmc-yt-mz-card:nth-child(4n+1), .amtmc-yt-mz-card:nth-child(4n+2) { grid-column:span 1 !important; grid-row:span 1 !important; } }

/* ================ 10. DERGİ ŞERİT — yatay kaydırmalı dar dergi kartları ================ */
.amtmc-yt-ds-row { display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; }
.amtmc-yt-ds-row::-webkit-scrollbar { height:5px; }
.amtmc-yt-ds-row::-webkit-scrollbar-thumb { background:var(--yt-accent); border-radius:2px; }
.amtmc-yt-ds-card { position:relative; flex:0 0 170px; background:var(--yt-bg,#fff); border-radius:var(--yt-r); overflow:hidden; padding-bottom:6px; }
.amtmc-yt-ds-thumb { border-radius:var(--yt-r) var(--yt-r) 0 0; aspect-ratio:3/4; }
.amtmc-yt-ds-chip { position:absolute; top:8px; left:8px; z-index:2; background:rgba(0,0,0,.65); color:#fff; font-size:.62rem; font-weight:800; padding:2px 7px; border-radius:999px; }
.amtmc-yt-ds-t { font-size:.78rem; font-weight:700; padding:8px 8px 0; color:var(--yt-tx,#1a2332); line-height:1.35; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:540px) { .amtmc-yt-ds-card { flex-basis:130px; } }

/* ================ 11. VİTRİN — hover'da yukarı kayan bilgi paneli ================ */
.amtmc-yt-vt-grid { display:grid; gap:18px; grid-template-columns:repeat(var(--yt-cols,3),1fr); }
@media(max-width:900px) { .amtmc-yt-vt-grid { grid-template-columns:repeat(min(var(--yt-cols,3),2),1fr); } }
@media(max-width:540px) { .amtmc-yt-vt-grid { grid-template-columns:1fr !important; } }
.amtmc-yt-vt-card { position:relative; border-radius:var(--yt-r); overflow:hidden; }
.amtmc-yt-vt-thumb { border-radius:var(--yt-r); }
.amtmc-yt-vt-cap { position:absolute; left:0; right:0; bottom:0; padding:12px 14px; background:linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.15) 80%, transparent); transform:translateY(100%); transition:transform .28s ease; pointer-events:none; }
.amtmc-yt-vt-card:hover .amtmc-yt-vt-cap,
.amtmc-yt-vt-card:focus-within .amtmc-yt-vt-cap { transform:translateY(0); }
.amtmc-yt-vt-t { font-size:.84rem; font-weight:800; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media (prefers-reduced-motion: reduce) { .amtmc-yt-vt-cap { transition:none; } }

/* ---- Klavye odağı ---- */
.amtmc-yt-thumb-w:focus-visible,
.amtmc-yt-haber-thumb:focus-visible,
.amtmc-yt-li:focus-visible,
.amtmc-yt-dr-avatar:focus-visible,
.amtmc-yt-kanal-foto-link:focus-visible,
.amtmc-yt-kanal-isim a:focus-visible {
  outline: 2px solid #ff0000;
  outline-offset: 2px;
}

/* prefers-reduced-motion açıksa hover'daki transform tabanlı hareketler
   (büyütme/kaldırma) devre dışı bırakılır; renk/opaklık geçişleri kalır. */
@media (prefers-reduced-motion: reduce) {
  .amtmc-yt-kart {
    transition: none;
  }
  .amtmc-yt-kart:hover {
    transform: none;
    box-shadow: none;
  }
  .amtmc-yt-ti {
    transition: opacity .3s;
  }
  .amtmc-yt-thumb-w:hover .amtmc-yt-ti {
    transform: none;
  }
  .amtmc-yt-pbi {
    transition: opacity .2s;
  }
  .amtmc-yt-thumb-w:hover .amtmc-yt-pbi {
    transform: translate(-50%,-50%);
  }
  .amtmc-yt-haber-thumb img {
    transition: none;
  }
  .amtmc-yt-haber-thumb:hover img {
    transform: none;
  }
  .amtmc-yt-yg-card {
    transition: none;
  }
  .amtmc-yt-yg-card:hover {
    transform: none;
  }
}
