/* medya.css — kayıpsız medya düzenleme (video döndürme, videonun sesini kaldırma, MP3 kesme, MP3 birleştirme;
   templates/media_lossless.html, js/local/lv-page.js + mp3-page.js), 2026-11-21. video.css'in ÜSTÜNE yalnız araca özgü
   İÇERİK: döndürme önizlemesi, MP3 oynatıcısı ve dalga biçimi, birleştirme listesindeki tutamak ve sıra düğmeleri.
   Dosya alanı, adım çubuğu, düğmeler, segment / onay kutusu / alan bileşenleri ve sonuç ekranı sitenin standardıdır
   (tool.css + local.css + t-local.css); burada onların görünümü DEĞİŞTİRİLMEZ. Renkler t-local.css belirteçlerinden. */

/* döndürme önizlemesi: sahne sonucun en-boy oranında; video (ya da biçim çerçevesi) CSS ile döndürülür */
.lv__pv { display: grid; justify-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--tl-line, #E3E6EC); border-radius: 12px; background: var(--tl-bg, #F7F8FA); }
.lv__pv[hidden] { display: none; }
.lv__stage { position: relative; max-width: 100%; overflow: hidden; border-radius: 6px; background: #121418; cursor: pointer; transition: width .45s cubic-bezier(.16, 1, .3, 1), height .45s cubic-bezier(.16, 1, .3, 1); }
.lv__stage--plain { width: 100% !important; height: auto !important; background: none; cursor: auto; overflow: visible; }
.lv__media { position: absolute; left: 50%; top: 50%; display: block; max-width: none; max-height: none; object-fit: contain; background: #121418; transform-origin: 50% 50%;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), width .45s cubic-bezier(.16, 1, .3, 1), height .45s cubic-bezier(.16, 1, .3, 1); }
.lv__media--plain { position: static; width: 100%; height: auto; max-width: 100%; max-height: 360px; transform: none; border-radius: 6px; }
.lv__shape { display: grid; place-items: start center; padding-top: 8px; box-sizing: border-box; border: 2px solid #fff; background: repeating-linear-gradient(135deg, #1d2027 0 10px, #232731 10px 20px); }
.lv__top { font: 700 11px/1 var(--f-mono, ui-monospace, monospace); letter-spacing: .12em; color: #fff; padding: 4px 8px; border-radius: 4px; background: var(--tl-brand, #E3262B); }
.lv__acts[hidden] { display: none; }
.lv__pvn:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .lv__stage, .lv__media { transition: none; } }

/* MP3: oynatıcı ve dalga biçimi (zaman çizgisinin altında, video.css .vid__strip ile aynı yerde) */
.mp3__au { display: block; width: 100%; min-width: 0; }
.mp3__au[hidden] { display: none; }
.mp3__tl { background: var(--tl-bg, #F7F8FA); }
.mp3__wn:empty { display: none; }

/* birleştirme listesi: tutamak · sıra · ad / süre · yukarı · aşağı · kaldır */
.mp3__list { counter-reset: mp3; margin: 0; }
.inst[data-local] .mp3__list .fi { grid-template-columns: 28px 18px minmax(0, 1fr) auto auto auto; gap: 8px; counter-increment: mp3; position: relative; transition: box-shadow .15s; }
.mp3__list .fi__n::before { content: counter(mp3); }
.mp3__list .fi__size { display: block; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mp3__list .fi.is-drag { z-index: 2; box-shadow: 0 8px 24px rgba(18, 20, 24, .16); border-radius: 8px; }
.mp3__list .fi.is-bad .fi__name { color: #B3151A; }
.mp3__grip { width: 28px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: none; cursor: grab; touch-action: none; }
.mp3__grip:active { cursor: grabbing; }
.mp3__grip:hover { background: var(--tl-bg, #F7F8FA); }
.mp3__dots { width: 10px; height: 16px; background: radial-gradient(circle, var(--tl-ink-3, #8A909C) 1.6px, transparent 1.8px) 0 0 / 5px 5.4px; }
.mp3__mv .ico { transform: rotate(-90deg); }
.mp3__mv--down .ico { transform: rotate(90deg); }
.mp3__mv[disabled] { opacity: .35; pointer-events: none; }
.mp3__bad { display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: 4px; font: 600 12px/1.4 var(--f-sans); color: #B3151A; background: #FFF0F0; }
.mp3__add { min-width: 0; }
.mp3__tot { margin: 0 !important; font-variant-numeric: tabular-nums; }
@media (max-width: 719.98px) {
  .inst[data-local] .mp3__list .fi { grid-template-columns: 24px 14px minmax(0, 1fr) auto auto auto; gap: 6px; }
  .mp3__list .lflist__x { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------------------------------------------------------------
   2026-11-21: Video → MP4 (templates/video_mp4.html, js/local/vconv-page.js) yalnız video.css'in standart parçalarını
   kullanır (dosya satırı, lfacts, vid__note, vid__cancel). Videodan fotoğraf alma (templates/video_frame.html,
   js/local/vframe-page.js): oynatıcı, kare düğmeleri (standart .y10-act), "her N saniyede" satırı, alınan kareler
   ızgarası. "Hepsini indir" AVIF aracındaki standart küçük düğmedir (.avj__all > .sg__b, t-local.css). */
.inst[data-local] .vc__bg[hidden], .inst[data-local] .vc__bg[hidden] + .lnote[hidden], .inst[data-local] [data-vc-audio][hidden], .inst[data-local] [data-vc-q][hidden] { display: none !important; }
.vf__pv[hidden] { display: none; }
.vf__ctl { display: grid; gap: 10px; min-width: 0; }
.vf__pos { margin: 0; font: 600 14px/1.4 var(--f-sans); color: var(--tl-ink, #121418); font-variant-numeric: tabular-nums; }
.vf__acts { display: flex; flex-wrap: wrap; min-width: 0; }
.inst[data-local] .vf__acts .vf__grab { border-color: var(--tl-ink, #121418) !important; }
.vf__sn, .vf__ctl > .lnote { margin: 0 !important; }
.vf__ev { align-items: end; }
.vf__ev .y10-acts { padding-bottom: 2px; }
.vf__shots { display: grid; gap: 10px; min-width: 0; }
.vf__lh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vf__lh .side__k { margin: 0 !important; }
.vf__clr[hidden], .vf__empty[hidden] { display: none; }
.vf__empty { margin: 0 !important; }
.vf__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vf__list:empty { display: none; }
.vf__it { position: relative; min-width: 0; }
.vf__go { display: grid; gap: 4px; width: 100%; padding: 6px; border: 1px solid var(--tl-line, #E3E6EC); border-radius: 10px; background: var(--tl-bg, #F7F8FA); color: var(--tl-ink, #121418); text-decoration: none; cursor: pointer; text-align: start; font: inherit; }
.vf__go:hover { border-color: #B9C0CC; }
.vf__go:focus-visible { outline: 2px solid var(--tl-ink, #121418); outline-offset: 2px; }
.vf__go img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 6px; background: #121418; }
.vf__t { font: 500 12px/1.3 var(--f-mono, ui-monospace, monospace); color: var(--tl-ink-2, #4A5160); overflow-wrap: anywhere; }
.inst[data-local] .vf__x { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .92); }
.vf__list--res { margin-top: 4px; }

/* ---------------------------------------------------------------------------------------------------------------------
   2026-11-22: Ekran kaydı alma (templates/screen_record.html, js/local/scr-page.js) ve fotoğraflardan video / GIF
   (templates/photo_slideshow.html, js/local/slide-ui.js). Yalnız araca özgü İÇERİK: kayıt önizlemesi, geri sayım, durum /
   süre satırı, kayıt düğmeleri (kırmızı .btn--signal ve standart küçük .y10-act); slayt listesinde küçük resim ve süre
   kutusu (liste MP3 birleştirmedeki .mp3__list), önizleme tuvali. Standart bileşenlerin görünümü DEĞİŞTİRİLMEZ. */
.scr__pv { position: relative; aspect-ratio: 16 / 9; background: #121418; }
.scr__v { width: 100%; height: 100%; max-height: none !important; object-fit: contain; }
.scr__ph { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 18px; text-align: center; font: 500 15px/1.5 var(--f-sans); color: #D9DCE3; background: #121418; }
.scr__ph[hidden], .scr__cd[hidden] { display: none; }
.scr__cd { position: absolute; inset: 0; display: grid; place-items: center; font: 700 96px/1 var(--f-mono, ui-monospace, monospace); color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); background: rgba(18, 20, 24, .35); }
.scr__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-width: 0; }
.scr__st, .scr__tm { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 14.5px/1.4 var(--f-sans); color: var(--tl-ink, #121418); }
.scr__tm .mono-n { font: 700 20px/1 var(--f-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; }
.scr__sz { font-size: 13px; font-weight: 500; color: var(--tl-ink-2, #4A5160); }
.scr__dot { width: 10px; height: 10px; border-radius: 50%; background: #B9C0CC; }
.scr[data-st="rec"] .scr__dot { background: var(--tl-brand, #E3262B); animation: scr-blink 1.2s ease-in-out infinite; }
.scr[data-st="paused"] .scr__dot { background: #C77700; }
@keyframes scr-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .scr[data-st="rec"] .scr__dot { animation: none; } }
.inst[data-local] .scr__max .seg__row, .inst[data-local] .sl__ratio .seg__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scr__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.scr__go[hidden], .scr__acts .y10-act[hidden] { display: none !important; }
.scr__sq { width: 11px; height: 11px; border-radius: 2px; background: var(--tl-brand, #E3262B); }
.sl__main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sl__th { flex: none; display: block; width: 56px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--tl-bg-2, #EFF1F5); }
.sl__txt { display: grid; gap: 2px; min-width: 0; }
.sl__txt .fi__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl__dl { display: inline-flex; align-items: center; gap: 6px; }
.inst[data-local] .sl__dl .fi__size { display: inline; white-space: nowrap; overflow-wrap: normal; }
.inst[data-local] .sl__d { width: 58px; min-height: 32px !important; padding: 2px 8px !important; font-size: 14px !important; }
.inst[data-local] .sl__d.is-bad, .inst[data-local] [name="dur"].is-bad { border-color: #B3151A !important; }
.sl__pv { padding: 10px; }
.sl__cv { display: block; max-width: 100%; max-height: 360px; width: auto; height: auto; border-radius: 4px; }
.sl__acts { margin-top: -4px; }
.sl__mus[hidden] { display: none !important; }
.sl__mus > .side__k, .sl__mus > .lnote { margin: 0 !important; }
.sl__mn.is-bad { color: #B3151A !important; }
@media (max-width: 719.98px) {
  .sl__th { width: 44px; height: 34px; }
  .scr__cd { font-size: 72px; }
}
/* 2026-11-22 ses yükseltme (templates/volume_boost.html): sitenin standart kaydırıcısı (lfield gs__rng), görsel
   araçlarındaki gorsel.css kuralının aynısı; bu sayfa gorsel.css yüklemez. */
.gs__rng { gap: 4px; }
.gs__rng .lfield__l { display: flex; justify-content: space-between; gap: 8px; }
.gs__rng input { width: 100%; min-height: 36px; accent-color: var(--ink); }
