/* VidPanel Player — modern, koyu, dokunmatik dostu */

:root {
  --vp-accent: #6366f1;      /* tek accent — tüm vurgular buradan */
  --vp-accent-soft: #a5b4fc;
  --vp-chip: rgba(15, 18, 30, .82);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body.vp-body { width: 100%; height: 100%; background: #000; overflow: hidden; }
body.vp-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* height:100% iframe'de html/body üzerinden dolar; headless mount'ta konteyner
   yüksekliği auto ise aspect-ratio devreye girer (16:9 varsayılan kutu).
   touch-action: manipulation → çift-dokunuş ZOOMU devre dışı (çift-dokunuş seek
   ile çakışıyordu) + dokunma gecikmesini kaldırır. */
.vp-wrap {
  position: relative; width: 100%; height: 100%; aspect-ratio: 16 / 9;
  background: #000; outline: none; overflow: hidden; touch-action: manipulation;
}
.vp-wrap:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; }
.vp-video { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Poster + büyük play ---------- */
.vp-poster {
  position: absolute; inset: 0; z-index: 5;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.vp-poster::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.18) 0%, rgba(0,0,0,.45) 100%);
}
.vp-wrap.is-started .vp-poster { display: none; }

.vp-bigplay {
  position: relative; z-index: 2;
  width: 92px; height: 92px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
  transition: transform .18s ease;
  animation: vp-pulse 2.4s ease-in-out infinite;
}
.vp-bigplay svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 24px rgba(0,0,0,.55)); }
.vp-bigplay .bp-circle { fill: rgba(15, 18, 30, .72); stroke: rgba(255,255,255,.9); stroke-width: 2.5;
  transition: fill .18s ease, stroke .18s ease; }
.vp-bigplay .bp-tri { fill: #fff; }
.vp-bigplay:hover, .vp-bigplay:focus-visible { transform: scale(1.08); animation: none; }
.vp-bigplay:hover .bp-circle, .vp-bigplay:focus-visible .bp-circle { fill: rgba(99,102,241,.88); stroke: #fff; }
.vp-bigplay:active { transform: scale(.96); }
/* Mobilde dokunma alanını görünen ikondan geniş tut */
.vp-bigplay::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; }

@keyframes vp-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); transform: scale(1); }
  50%      { transform: scale(1.045); }
}

/* [hidden] her zaman gizler: display:flex gibi yazar kuralları UA'nın
   [hidden]{display:none} kuralını ezmesin (adbar/banner/menu bundan etkileniyordu) */
[hidden] { display: none !important; }

/* ---------- Reklam ---------- */
.vp-adbar {
  position: absolute; top: 14px; left: 14px; z-index: 20;
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.vp-adlabel {
  background: rgba(15,18,30,.82); color: #fff; font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.14);
}
.vp-skip {
  position: absolute; right: 14px; bottom: 68px; z-index: 21;
  /* .vp-adbar pointer-events:none → çocuğun tıklanabilir olması için ZORUNLU
     (yoksa tıklama videoya düşer: Geç yerine reklam offer'ı açılırdı) */
  pointer-events: auto;
  background: rgba(15,18,30,.85); color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 8px;
  cursor: pointer; transition: background .15s;
}
.vp-skip:disabled { opacity: .75; cursor: default; }
.vp-skip:not(:disabled):hover { background: rgba(255,255,255,.18); }
.vp-wrap.is-ad .vp-video { cursor: pointer; }
/* Tanıtım (promo): tıklanabilir değil → imleç normal kalsın */
.vp-wrap.is-promo .vp-video,
.vp-wrap.is-promo .vp-banner img { cursor: default; }

.vp-banner {
  position: absolute; inset: 0; z-index: 18; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
}
.vp-banner img { max-width: 92%; max-height: 82%; border-radius: 10px; cursor: pointer;
  box-shadow: 0 12px 48px rgba(0,0,0,.6); }

/* ---------- Duraklatma reklamı (video durunca ortadaki kart) ---------- */
.vp-pausead {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: rgba(6, 8, 16, .58); padding: 20px;
}
.vp-pa-inner {
  position: relative; max-width: min(92%, 640px); max-height: 72%;
  overflow: auto; background: rgba(15, 18, 30, .92); border-radius: 12px;
  padding: 26px 14px 14px; box-shadow: 0 14px 48px rgba(0,0,0,.55);
}
.vp-pa-close {
  position: absolute; top: 4px; right: 6px; z-index: 2;
  background: transparent; border: 0; color: #cfd6e4; font-size: 16px;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}
.vp-pa-close:hover { color: #fff; }
.vp-pa-body { min-width: 240px; min-height: 60px; }
.vp-pa-resume {
  background: rgba(15, 18, 30, .88); color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-size: 14.5px; font-weight: 600; padding: 11px 22px; border-radius: 999px;
  cursor: pointer; transition: background .15s;
}
.vp-pa-resume:hover { background: rgba(255,255,255,.18); }
@media (max-width: 520px) {
  .vp-pa-inner { max-width: 96%; max-height: 62%; }
}

/* ---------- Kontroller ---------- */
.vp-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 15;
  /* çentikli telefonlarda (tam ekran/landscape) alt güvenli alanın üstünde kal */
  padding: 34px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.42) 62%, transparent 100%);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.vp-wrap.is-started:not(.is-ad).show-controls .vp-controls { opacity: 1; pointer-events: auto; }

/* Persistent play/pause indicator — YALNIZ içerik oynarken ve kontrol çubuğu
   gizliyken görünür (durum her an okunur). Çubuk açıkken gizli: aynı köşede
   çubuğun kendi düğmesi var, ikisi üst üste binmesin. */
.vp-playstate {
  position: absolute; left: 12px; bottom: 12px; z-index: 14;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s ease, background .15s;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.vp-wrap.is-started.is-playing:not(.is-ad):not(.show-controls) .vp-playstate {
  opacity: .55; pointer-events: auto;
}
.vp-playstate:hover { opacity: 1; background: rgba(0,0,0,.7); }
.vp-playstate svg { width: 20px; height: 20px; fill: #fff; }

.vp-progress {
  position: relative; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,.22); cursor: pointer; margin-bottom: 8px;
  transition: height .12s ease;
  /* touch-action:none KRİTİK: dokunuş çubukta başlayınca tarayıcı onu kaydırma
     sanıp pointercancel atmasın → sürükleme anında ölmesin. touch-action miras
     ALMAZ; parmak topa (knob) düşerse onun değeri geçerli olur → alt öğelere de ver. */
  touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.vp-progress * { touch-action: none; }
/* Görünmez geniş dokunma alanı — 5px'lik çubuğu parmakla yakalamak zordu */
.vp-progress::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; bottom: -14px;
}
.vp-progress:hover, .vp-progress.dragging { height: 8px; }
.vp-buffered, .vp-played {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; width: 0;
}
.vp-buffered { background: rgba(255,255,255,.35); }
.vp-played { background: var(--vp-accent); }
.vp-knob {
  /* İzlenen kısmın en ucunda HAFİF, aynı renk yuvarlak nokta (her zaman görünür) */
  position: absolute; right: -5px; top: 50%; transform: translateY(-50%) scale(1);
  width: 11px; height: 11px; border-radius: 50%; background: var(--vp-accent);
  box-shadow: 0 1px 4px rgba(0,0,0,.45); transition: transform .12s ease, background .12s;
}
.vp-progress:hover .vp-knob, .vp-progress.dragging .vp-knob { transform: translateY(-50%) scale(1.35); background: #fff; }
/* Dokunmatik: top hep biraz büyük (kavraması kolay) + sürüklerken belirgin */
@media (hover: none) and (pointer: coarse) {
  .vp-knob { width: 14px; height: 14px; right: -7px; }
  .vp-progress.dragging .vp-knob { transform: translateY(-50%) scale(1.5); background: #fff; }
}

.vp-buttons { display: flex; align-items: center; gap: 3px; }
.vp-btn {
  width: 42px; height: 42px; border: 0; background: transparent; color: #fff;
  cursor: pointer; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, transform .12s ease;
}
.vp-btn:hover { background: rgba(255,255,255,.14); }
.vp-btn:active { transform: scale(.92); }
.vp-btn svg { width: 24px; height: 24px; fill: #fff; }
.vp-btn svg text { fill: #fff; font-family: inherit; }

.vp-vol { display: flex; align-items: center; gap: 2px; }
/* Ses sürgüsü — tarayıcı varsayılanı yerine ince, tutarlı görünüm.
   appearance:none doğal accent dolgusunu kaldırır; dolgu --vol değişkeniyle
   (JS paintVolume) gradient olarak çizilir. */
.vp-volrange {
  -webkit-appearance: none; appearance: none;
  width: 72px; height: 4px; border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--vp-accent) var(--vol, 100%),
    rgba(255,255,255,.28) var(--vol, 100%)
  );
  accent-color: var(--vp-accent);
  cursor: pointer; outline-offset: 4px;
}
.vp-volrange::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%; border: 0;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5);
  transition: transform .12s ease;
}
.vp-volrange::-webkit-slider-thumb:hover { transform: scale(1.2); }
.vp-volrange::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; border: 0;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5);
}
/* Firefox: track şeffaf — dolgulu gradient input arka planından görünür */
.vp-volrange::-moz-range-track { height: 4px; border-radius: 999px; background: transparent; }

.vp-time { color: #eee; font-size: 13px; margin-left: 10px; font-variant-numeric: tabular-nums; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.vp-spacer { flex: 1; }

/* Klavye erişilebilirliği — kontrollerde görünür odak halkası */
.vp-btn:focus-visible, .vp-skip:focus-visible, .vp-bigplay:focus-visible,
.vp-volrange:focus-visible, .vp-menu button:focus-visible,
.vp-pa-close:focus-visible, .vp-pa-resume:focus-visible, .vp-playstate:focus-visible {
  outline: 2px solid var(--vp-accent-soft); outline-offset: 2px;
}

/* Ayarlar menüsü — .vp-wrap'ın doğrudan çocuğu (controls dışı): pause-ad(30) ve
   banner(18) üstünde kalması için 35; hata kutusu (40) hâlâ en üstte. */
.vp-menu {
  position: absolute; right: 12px; bottom: 62px; z-index: 35;
  background: rgba(18,21,33,.96); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; min-width: 190px; padding: 6px; color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); backdrop-filter: blur(10px);
  max-height: min(60vh, 320px); overflow-y: auto; /* çok kalite seviyesi taşmasın */
}
.vp-menu h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: #9ca3af; padding: 8px 12px 4px; font-weight: 700;
}
.vp-menu button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: transparent; border: 0; color: #e5e7eb; font-size: 14px;
  padding: 9px 12px; border-radius: 8px; cursor: pointer; text-align: left;
}
.vp-menu button:hover { background: rgba(255,255,255,.1); }
.vp-menu button.active { color: var(--vp-accent-soft); font-weight: 600; }
.vp-menu button.active::after { content: "✓"; }

/* Ayar menüsü — YouTube tarzı ana satırlar (Kalite : Oto (720p) ›) */
.vp-menu { min-width: 216px; }
.vp-menu .vp-mrow, .vp-menu .vp-mback {
  display: flex; align-items: center; justify-content: flex-start; gap: 11px; width: 100%;
  background: transparent; border: 0; color: #e5e7eb; font-size: 14px;
  padding: 11px 12px; border-radius: 8px; cursor: pointer; text-align: left;
}
.vp-menu .vp-mrow:hover, .vp-menu .vp-mback:hover { background: rgba(255,255,255,.1); }
.vp-menu .vp-mrow::after, .vp-menu .vp-mback::after { content: none; } /* base ✓ kuralını iptal et */
.vp-menu .mr-ic { display: inline-flex; flex: 0 0 auto; }
.vp-menu .mr-ic svg { width: 18px; height: 18px; fill: none; stroke: #cbd5e1; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vp-menu .mr-val { margin-left: auto; color: #9ca3af; font-size: 13.5px; }
.vp-menu .mr-chev { color: #6b7280; font-size: 18px; line-height: 1; }
.vp-menu .vp-mback { color: #cbd5e1; font-weight: 600; padding-left: 8px; }
.vp-menu .vp-mback .mr-chev { font-size: 20px; margin-right: 2px; }
.vp-menu .vp-mopt { padding-left: 34px; } /* alt seçenekler girintili */

/* Dokunmatikte çubuktaki ±10 gizli: orta küme + çift dokunuş zaten var;
   kazanılan yer ses sürgüsüne gider (375px'te çubuk taşmasın). */
@media (hover: none) and (pointer: coarse) {
  #vp-back10, #vp-fwd10 { display: none; }
}
/* iOS: video.volume programatik olarak SALT-OKUNUR (donanım tuşları yönetir) —
   ölü sürgü göstermek yerine gizle. Sınıfı player.js UA tespitiyle ekler.
   Mute düğmesi iOS'ta da çalışır, kalır. */
.vp-ios .vp-volrange { display: none; }

/* ---------- Mobil orta küme (⏪ ▶ ⏩) — yalnız dokunmatik cihazlar ---------- */
.vp-center {
  position: absolute; inset: 0; z-index: 13; pointer-events: none;
  display: none; align-items: center; justify-content: center; gap: 34px;
}
@media (hover: none) and (pointer: coarse) {
  .vp-wrap.is-started:not(.is-ad).show-controls .vp-center { display: flex; }
}
.vp-cbtn {
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  pointer-events: auto; color: #fff;
  background: rgba(10, 12, 20, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s ease, background .15s;
}
.vp-cbtn:active { transform: scale(.88); }
.vp-cbtn svg { width: 26px; height: 26px; fill: #fff; }
.vp-cbtn svg text { fill: #fff; font-family: inherit; }
.vp-cplay { width: 66px; height: 66px; }
.vp-cplay svg { width: 32px; height: 32px; }

/* Oynat/Duraklat orta ikon flaşı (YouTube gibi anlık) */
.vp-actionflash {
  position: absolute; inset: 0; z-index: 9; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.vp-actionflash svg { width: 58px; height: 58px; fill: #fff; padding: 18px; background: rgba(15,18,30,.5); border-radius: 50%; }
.vp-actionflash.go svg { animation: vp-flash .7s cubic-bezier(.3,.6,.3,1) forwards; }
@keyframes vp-flash {
  0%   { opacity: 0; transform: scale(.55); }
  16%  { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* Yükleme spinner (buffering) — çok hassas, anında, önde */
.vp-loading {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.42);
}
.vp-load-spin {
  width: 52px; height: 52px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.16); border-top-color: #fff;
  animation: vp-spin .8s linear infinite;
}

/* ±10s dokunuş ipuçları */
.vp-seekhint {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 12;
  width: 30%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700; opacity: 0; pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.8); transition: opacity .2s;
}
.vp-seekhint.left { left: 0; } .vp-seekhint.right { right: 0; }
.vp-seekhint.flash { opacity: 1; }

/* Storyboard seek önizleme */
.vp-preview {
  position: absolute; bottom: 66px; z-index: 16; pointer-events: none;
  background: #000; border: 2px solid rgba(255,255,255,.85); border-radius: 8px;
  overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.6);
}
.vp-preview-img { background-repeat: no-repeat; background-size: auto; }
.vp-preview-time {
  text-align: center; color: #fff; font-size: 12px; padding: 3px 0;
  background: rgba(0,0,0,.75); font-variant-numeric: tabular-nums;
}

/* Altyazı (native ::cue) — okunur, şık */
.vp-video::cue {
  background: rgba(0,0,0,.7); color: #fff;
  font-size: 1em; line-height: 1.35; padding: 2px 6px;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Watermark (logo) — yalnızca içerik oynarken görünür (poster/reklam değil) */
.vp-watermark {
  position: absolute; z-index: 8; max-height: 13%; max-width: 24%;
  pointer-events: none; opacity: .7; transition: opacity .3s ease;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}
.vp-wrap:not(.is-started) .vp-watermark,
.vp-wrap.is-ad .vp-watermark { display: none; }
.vp-wm-tl { top: 12px; left: 14px; }
.vp-wm-tr { top: 12px; right: 14px; }
.vp-wm-bl { bottom: 66px; left: 14px; }
.vp-wm-br { bottom: 66px; right: 14px; }
@media (max-width: 520px) { .vp-watermark { max-height: 11%; max-width: 30%; } }

/* Hata kutusu */
.vp-error {
  position: absolute; inset: 0; z-index: 40; display: flex;
  align-items: center; justify-content: center; background: rgba(0,0,0,.85);
  color: #fca5a5; font-size: 15px; text-align: center; padding: 24px;
}

/* ---------- Kilit / işleniyor / bulunamadı ekranları ---------- */
.vp-locked {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b0e17 0%, #131a2b 100%);
}
.vp-locked-inner { text-align: center; color: #64748b; padding: 24px; }
.vp-locked-inner p { font-size: 15px; margin-top: 14px; }
.vp-lock { width: 52px; height: 52px; fill: #334155; }

.vp-spinner {
  width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.12); border-top-color: var(--vp-accent);
  animation: vp-spin 1s linear infinite;
}
@keyframes vp-spin { to { transform: rotate(360deg); } }

/* ---------- Mobil ---------- */
@media (max-width: 520px) {
  .vp-bigplay { width: 76px; height: 76px; }
  .vp-volrange { width: 60px; }
  .vp-time { font-size: 12px; margin-left: 6px; }
  .vp-btn { width: 44px; height: 44px; }
  .vp-skip { bottom: 76px; padding: 12px 18px; }

  /* Ayar menüsü küçük ekranda alt-sayfa (bottom sheet) — mini popover'dan
     çok daha rahat dokunulur; işlev aynı */
  .vp-menu {
    position: fixed; left: 8px; right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 16px; min-width: 0; max-height: 52vh;
  }
  .vp-menu .vp-mrow, .vp-menu .vp-mback { padding: 13px 14px; font-size: 15px; }
  .vp-menu .vp-mopt { padding: 12px 14px 12px 36px; font-size: 15px; }
}

/* ── Bölüm işaretleri (chapter ticks on progress bar) ─────────────────── */
.vp-chapters {
  position: absolute; inset: 0; pointer-events: none;
}
.vp-chapter-tick {
  position: absolute; top: -2px; bottom: -2px; width: 3px;
  background: rgba(255, 255, 255, 0.7);
  border: none; border-radius: 1px; cursor: pointer;
  pointer-events: auto; padding: 0; margin-left: -1.5px;
  transition: background .15s, transform .15s;
}
.vp-chapter-tick:hover {
  background: #fff; transform: scaleX(1.5);
}

/* ---------- Jest göstergesi (scrub / ses / 2x) ---------- */
.vp-gind {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 26;
  background: rgba(15,18,30,.85); color: #fff; font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; pointer-events: none;
  border: 1px solid rgba(255,255,255,.14); white-space: nowrap;
}

/* ---------- Çift-dokunuş geri bildirimi (YouTube dairesi) ---------- */
.vp-tapseek {
  position: absolute; z-index: 25; pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  min-width: 72px; height: 72px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; font-size: 16px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); opacity: 0;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.vp-tapseek.go { animation: vp-tapseek .75s ease-out forwards; }
@keyframes vp-tapseek {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

/* ---------- Süre + bölüm tooltip"i (storyboard"suz) ---------- */
.vp-timett {
  position: absolute; bottom: 66px; z-index: 16; pointer-events: none;
  background: rgba(15,18,30,.9); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); font-variant-numeric: tabular-nums;
  max-width: 70%; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Dokunmatik kilit (tam ekran) ---------- */
.vp-touchlock-btn { display: none; }
@media (hover: none) and (pointer: coarse) {
  .vp-wrap:fullscreen .vp-touchlock-btn { display: inline-flex; }
}
.vp-lockshield {
  position: absolute; inset: 0; z-index: 45;
  background: transparent; cursor: default;
}
.vp-wrap.is-touchlocked .vp-touchlock-btn {
  position: absolute; left: 14px; top: 14px; z-index: 46;
  display: inline-flex; background: rgba(15,18,30,.7); border-radius: 50%;
}
.vp-wrap.is-touchlocked .vp-controls,
.vp-wrap.is-touchlocked .vp-center,
.vp-wrap.is-touchlocked .vp-playstate { pointer-events: none !important; }

/* ---------- Boştayken imleç gizleme (oynatma sırasında) ---------- */
.vp-wrap.is-started:not(.show-controls) { cursor: none; }
.vp-wrap.is-started:not(.show-controls) * { cursor: none; }
.vp-wrap.is-touchlocked .vp-touchlock-btn { pointer-events: auto !important; }
