/* VideoShrink — "Dark Refined" tasarım sistemi (desing.jpg) */
:root {
  --purple: #4F3F71;      /* Primary Deep Purple */
  --teal: #2E6F6F;        /* Deep Teal */
  --coral: #A95D4A;       /* Deep Coral */
  --text: #EAEAEA;        /* Main Text (Light) */
  --gray: #2D3136;        /* Neutral Dark Gray */
  --purple-lt: #8A70C8;   /* vurgu metni / ikon (Primary'nin açık tonu) */
  --teal-lt: #4FA598;
  --page: #1c2127;
  --app: #15161b;
  --panel: #1a1d22;
  --nav: #292c31;
  --muted: #9aa0a8;
  --line: rgba(255, 255, 255, .06);
  --radius: 20px;
  --font: "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --t2: #cfd2d6;          /* kart içi ikincil metin */
  --field: #1d2025;       /* girdi / ikon düğmesi / küçük resim zemini */
  --hl: #2b3b3b;          /* seçili satır / tasarruf şeridi */
  --bar: #33373c;         /* çoklu seçim çubuğu */
  --warn: #d29a7c; --warn-soft: #e0b7a4; --danger: #e0907b;
  --seg-bg: rgba(79, 63, 113, .35); --seg-ink: #b8b0cb; --tg-off: #c9c7c3;
  --scrim: rgba(8, 9, 12, .62); --app-a: rgba(21, 22, 27, .85);
  --edge: rgba(255, 255, 255, .09); --edge-s: rgba(255, 255, 255, .05); --edge-m: rgba(255, 255, 255, .3);
  --apk: #3ddc84;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--page); color: var(--text); font: 400 16px/1.3 var(--font); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input { font: inherit; color: inherit; }
img { display: block; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden { display: none !important; }

/* ---- çerçeve: mobilde tam ekran, masaüstünde telefon boyutunda ortalı ---- */
.stage { min-height: 100%; display: flex; align-items: center; justify-content: center; }
.phone { position: relative; width: 100%; height: 100dvh; background: var(--app); overflow: hidden; overflow: clip; }
@media (min-width: 520px) {
  .stage { padding: 16px; }
  .phone { width: 402px; height: min(874px, calc(100dvh - 32px)); border-radius: 38px;
           border: 1px solid var(--edge); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
}

/* ---- ekranlar ---- */
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 30px 20px calc(120px + var(--safe-b)); display: none; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.on { display: block; }
h1 { font-size: 30px; font-weight: 400; margin: 0 0 4px; letter-spacing: .1px; }
h2 { font-size: 22px; font-weight: 400; margin: 18px 0 12px; display: flex; align-items: center; justify-content: space-between; }
.sub { color: var(--muted); font-size: 15px; margin: 0; }
.link { color: var(--purple-lt); text-transform: uppercase; letter-spacing: .3px; }

/* ---- Home ---- */
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.brand b { font-weight: 400; font-size: 22px; color: var(--purple-lt); opacity: .8; flex: 1; }
.round { width: 40px; height: 40px; border-radius: 50%; background: var(--gray); display: grid; place-items: center; color: var(--muted); }
.round.pu { background: var(--purple); color: var(--purple-lt); }
.strip { display: grid; grid-template-rows: repeat(2, 88px); grid-auto-flow: column; grid-auto-columns: 88px; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px; height: 184px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.tile { position: relative; border-radius: 14px; overflow: hidden; background: var(--gray); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.add { display: grid; place-items: center; color: var(--purple-lt); border: 1.5px dashed rgba(138, 112, 200, .45); background: transparent; }
.tile .ck { position: absolute; inset: 0; display: none; place-items: center; background: rgba(46, 111, 111, .28); }
.tile .ck span { width: 34px; height: 34px; border-radius: 50%; background: rgba(230, 236, 235, .55); display: grid; place-items: center; color: var(--teal); }
.tile.sel .ck { display: grid; }
.tile .dur { position: absolute; left: 6px; bottom: 5px; font-size: 12px; text-shadow: 0 1px 3px #000; }
.panel { position: relative; margin: -40px -20px 0; padding: 22px 20px 18px; background: var(--panel); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .35); }
.panel h3 { margin: 0 0 14px; font-weight: 400; font-size: 24px; color: var(--purple-lt); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.panel h3 button { font-size: 14px; color: var(--muted); text-transform: none; display: flex; gap: 4px; align-items: center; }
.qcard { position: relative; width: 100%; text-align: left; display: block; background: var(--gray); border-radius: var(--radius); padding: 16px 18px 14px; margin-bottom: 14px; box-shadow: inset 0 1px 0 var(--edge-s); transition: transform .12s, opacity .2s; }
.qcard:active:not(:disabled) { transform: scale(.985); }
.qcard:disabled { opacity: .55; cursor: default; }
.qcard .t1 { font-size: 22px; text-transform: uppercase; color: var(--t2); }
.qcard .t2 { font-size: 21px; color: var(--t2); }
.qcard .sz { font-weight: 700; font-size: 17px; margin: 8px 0 8px; letter-spacing: .2px; }
.qcard .ic { position: absolute; right: 16px; top: 14px; color: var(--purple-lt); }
.qcard .ic svg { width: 34px; height: 34px; }
.bar { height: 6px; border-radius: 3px; background: var(--purple); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-lt)); border-radius: 3px; transition: width .4s; }
.qcard .cap { margin-top: 8px; color: var(--t2); font-size: 16px; display: flex; justify-content: space-between; }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 99px; border: 1px solid rgba(79, 165, 152, .6); color: var(--teal-lt); text-transform: uppercase; align-self: center; }
.detail-link { display: block; width: 100%; text-align: center; margin-top: 4px; padding: 10px; font-size: 18px; }

/* ---- Select Video ---- */
.search { display: flex; align-items: center; gap: 10px; background: var(--field); border-radius: 16px; padding: 0 14px; height: 48px; margin: 14px 0 16px; color: var(--muted); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35); }
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 18px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gt { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--gray); cursor: pointer; }
.gt img { width: 100%; height: 100%; object-fit: cover; }
.gt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .45)); pointer-events: none; }
.gt .mini { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .25); }
.gt .mini svg { width: 15px; height: 15px; opacity: .9; }
.gt .big { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: rgba(46, 111, 111, .55); display: none; place-items: center; }
.gt .big svg { width: 28px; height: 28px; }
.gt.sel { outline: 3px solid var(--teal-lt); outline-offset: -3px; }
.gt.sel .big { display: grid; }
.gt.sel .mini { background: #eaeaea; color: var(--teal); border-color: #eaeaea; }
.gt .nm { position: absolute; left: 8px; right: 40px; bottom: 9px; z-index: 2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px #000; }
.gt.add { display: grid; place-items: center; text-align: center; border: 1.5px dashed rgba(138, 112, 200, .45); background: transparent; color: var(--purple-lt); }
.gt.add::after { display: none; }
.pill { position: absolute; z-index: 20; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); background: var(--purple); border-radius: 99px; padding: 12px 22px; font-size: 17px; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.empty { text-align: center; color: var(--muted); padding: 56px 24px; }
.empty svg { width: 56px; height: 56px; color: var(--purple); margin-bottom: 10px; }
.empty p { margin: 4px 0; font-size: 17px; }

/* ---- Processed Videos ---- */
.hcard { background: var(--gray); border-radius: 22px; padding: 12px 12px 12px; margin-bottom: 16px; box-shadow: inset 0 1px 0 var(--edge-s); }
.saved { display: flex; align-items: center; justify-content: space-between; background: var(--hl); border-radius: 16px; padding: 8px 14px; margin-bottom: 12px; }
.saved b { font-size: 34px; font-weight: 500; color: var(--teal-lt); letter-spacing: .5px; }
.saved b small { font-size: 20px; font-weight: 400; margin-left: 4px; }
.saved.warn b { color: var(--warn); }
.chips { display: flex; gap: 8px; }
.chip { width: 30px; height: 38px; }
.hbody { display: flex; gap: 14px; align-items: flex-start; }
.hthumb { position: relative; width: 46%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--field); flex: none; cursor: pointer; }
.hthumb img { width: 100%; height: 100%; object-fit: cover; }
.hthumb .pl { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.hthumb .pl svg { fill: #fff; stroke: none; width: 26px; height: 26px; filter: drop-shadow(0 1px 3px #0008); }
.hinfo { flex: 1; min-width: 0; }
.hinfo .nm { font-size: 20px; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.hinfo .sz { font-weight: 700; font-size: 17px; margin-top: 8px; letter-spacing: .2px; }
.hinfo .mt { color: var(--muted); font-size: 17px; margin-top: 4px; }
.hfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 0 4px; color: var(--t2); font-size: 16px; }
.acts { display: flex; gap: 6px; }
.acts button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--purple-lt); border-radius: 12px; }
.acts button svg { width: 26px; height: 26px; }
.acts .pl svg { fill: currentColor; stroke: none; }
.acts .rm { color: #8f8590; }
.acts .rm:hover { color: var(--coral); }
.acts .rm.hot { color: var(--coral); }
.note { font-size: 14px; color: var(--warn-soft); background: rgba(169, 93, 74, .18); border-radius: 12px; padding: 8px 12px; margin-top: 10px; }

/* ---- Queue ---- */
.job { display: flex; gap: 12px; align-items: center; background: var(--gray); border-radius: 18px; padding: 10px; margin-bottom: 12px; }
.job .th { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--field); flex: none; }
.job .th img { width: 100%; height: 100%; object-fit: cover; }
.job .mid { flex: 1; min-width: 0; }
.job .nm { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job .st { color: var(--muted); font-size: 15px; margin: 2px 0 6px; }
.job .st.ok { color: var(--teal-lt); } .job .st.bad { color: var(--warn); }
.job .x { color: var(--muted); width: 36px; height: 36px; display: grid; place-items: center; }

/* ---- Settings ---- */
.group { margin: 20px 0 8px; color: var(--purple-lt); text-transform: uppercase; font-size: 15px; letter-spacing: .5px; }
.li { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--gray); border-radius: 16px; padding: 14px 16px; margin-bottom: 8px; font-size: 18px; }
.li .grow { flex: 1; min-width: 0; }
.li small { display: block; color: var(--muted); font-size: 14px; }
.li .ic { color: var(--purple-lt); }
.seg { display: flex; background: var(--seg-bg); border-radius: 99px; padding: 4px; gap: 2px; margin-bottom: 8px; }
.seg button { flex: 1; padding: 9px 6px; border-radius: 99px; color: var(--seg-ink); font-size: 16px; text-align: center; transition: background .15s; }
.seg button.on { background: var(--purple); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.field { width: 100%; background: var(--field); border: 0; border-radius: 12px; padding: 10px 14px; font-size: 17px; outline: 0; margin-bottom: 8px; }
.field:focus { box-shadow: 0 0 0 2px var(--purple); }
.num { width: 92px; text-align: center; margin: 0; }

/* toggle (Component Styles) */
.tg { position: relative; width: 52px; height: 30px; border-radius: 99px; background: var(--tg-off); flex: none; transition: background .2s; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.tg.on { background: var(--teal); }
.tg.on::after { transform: translateX(22px); }
.tg.coral.on { background: var(--coral); }

/* ---- bottom sheets / modals ---- */
.scrim { position: absolute; inset: 0; z-index: 40; background: var(--scrim); display: none; }
.scrim.on { display: block; }
.sheet { position: absolute; z-index: 50; left: 0; right: 0; bottom: 0; background: var(--panel); border-radius: 28px 28px 0 0; padding: 18px 18px calc(24px + var(--safe-b)); transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); max-height: 88%; overflow-y: auto; box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); }
.sheet.on { transform: none; }
.sheet .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 24px; }
.sheet .hd .back { color: var(--purple-lt); }
.sheet .hd .grow { flex: 1; }
.sheet .hd .x { width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: var(--purple-lt); display: grid; place-items: center; }
.dcard { background: var(--gray); border-radius: 22px; padding: 16px; }
.dcard .top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--purple-lt); }
.dcard .top b { font-weight: 400; font-size: 26px; text-transform: uppercase; color: var(--t2); flex: 1; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.dgrid .c { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dgrid .l { font-size: 17px; color: var(--t2); }
.dgrid .v { font-weight: 700; font-size: 19px; display: block; border-bottom: 1px dotted var(--edge-m); text-align: left; }
.dgrid .v.off { color: var(--muted); font-weight: 400; border-color: transparent; }
.est { margin: 14px 0 4px; text-align: center; color: var(--t2); font-size: 17px; }
.btn-p { display: block; width: 100%; margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--purple); color: #fff; font-size: 20px; text-transform: uppercase; letter-spacing: .3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-p:disabled { opacity: .5; }
.opt-list .li { padding: 16px; }
.subtle { color: var(--muted); font-size: 15px; margin: 6px 2px 12px; }
.prog { margin: 8px 0 4px; }
.prog .r { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.popover { position: absolute; z-index: 45; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(.94); opacity: 0; pointer-events: none; transition: .18s; width: 250px; background: var(--bar); border-radius: 22px; padding: 22px 16px 20px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.popover.on { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.popover .pc { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--purple-lt); display: grid; place-items: center; margin: 0 auto 8px; color: var(--purple-lt); }
.popover b { display: block; font-weight: 400; font-size: 24px; }
.popover span { font-size: 18px; color: var(--t2); }
.player { position: absolute; inset: 0; z-index: 60; background: rgba(6, 7, 9, .96); display: none; flex-direction: column; padding: 16px; }
.player.on { display: flex; }
.player .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.player .ph b { flex: 1; font-weight: 400; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player video { width: 100%; max-height: 62%; border-radius: 14px; background: #000; }
.player .perr { margin-top: 14px; color: var(--warn-soft); font-size: 16px; }
.toast { position: absolute; z-index: 80; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translate(-50%, 12px); background: #3a3f46; color: #fff; padding: 10px 18px; border-radius: 99px; font-size: 16px; opacity: 0; pointer-events: none; transition: .22s; max-width: 90%; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #5a3129; }

/* ---- alt menü (tab bar) ---- */
.tabbar { position: absolute; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(70px + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--nav); display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: stretch; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 14px; }
.tab svg { width: 26px; height: 26px; }
.tab.on { color: var(--purple-lt); }
.tab.on svg { fill: currentColor; fill-opacity: .3; }
.tab.on::before { content: ""; position: absolute; top: 0; left: 14%; right: 14%; height: 3px; border-radius: 0 0 3px 3px; background: var(--purple-lt); }
.tab .badge { font-style: normal; position: absolute; top: 7px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.fab { position: absolute; z-index: 35; left: 50%; bottom: calc(34px + var(--safe-b)); transform: translateX(-50%); width: 66px; height: 66px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; border: 4px solid var(--app-a); box-shadow: 0 8px 26px rgba(79, 63, 113, .6); transition: transform .12s; }
.fab:active { transform: translateX(-50%) scale(.94); }
.fab svg { width: 30px; height: 30px; stroke-width: 2; }

/* ---- Google Drive toplu işlem ---- */
.dfile { display: flex; align-items: center; gap: 10px; background: var(--gray); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.dfile .grow { flex: 1; min-width: 0; }
.dfile .nm { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dfile small { color: var(--muted); font-size: 14px; }
.dfile .x { color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; }
#sheetDrive .li { margin-bottom: 8px; }

/* ---- klasör seçici satırı ---- */
.pathrow { display: flex; gap: 8px; align-items: center; }
.pathrow .field { flex: 1; min-width: 0; }
.iconbtn { width: 42px; height: 42px; border-radius: 12px; background: var(--field); color: var(--muted); display: grid; place-items: center; flex: none; }
.iconbtn.pu { background: var(--purple); color: #fff; }

/* ---- Android (WebView) ---- */
.native [data-dl], .native [data-gopen] { display: none !important; }

/* ======================================================================== yeniden tasarım (v2) */
body:not(.pc) .only-pc { display: none !important; }
.web #refine { display: none; }                       /* web motorunda ölçüm yok: tahmin formülle */
#v-home { padding-bottom: calc(200px + var(--safe-b)); }
.hdr { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hdr .link { font-size: 15px; }
a.round { text-decoration: none; }
.round.apk { color: var(--apk); }

/* Ana sayfa video ızgarası (3 sütun) */
.gt .dur { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 11.5px; background: rgba(0, 0, 0, .5); border-radius: 6px; padding: 1px 6px; }
.empty.wide { grid-column: 1 / -1; padding: 40px 12px; }

/* Hızlı Sıkıştır: alt sayfa (modal bottom sheet), yukarı çekilebilir */
.qsheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 28; background: var(--panel); border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); max-height: 88%; display: flex; flex-direction: column; visibility: hidden;
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s; }
.qsheet.peek { visibility: visible; transform: translateY(calc(100% - 78px - 70px - var(--safe-b))); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.qsheet.open { visibility: visible; transform: none; z-index: 45; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.qgrab { flex: none; height: 78px; padding-top: 6px; touch-action: none; cursor: grab; user-select: none; outline: none; }
.qgrab .grip { display: block; width: 42px; height: 5px; border-radius: 3px; background: var(--edge-m); margin: 0 auto 6px; }
.qpeek { display: flex; align-items: center; justify-content: space-between; padding: 0 22px; height: 26px; font-size: 19px; color: var(--purple-lt); text-transform: uppercase; }
.qpeek svg { transition: transform .2s; }
.qsheet.open .qpeek svg { transform: rotate(180deg); }
.qbody { overflow-y: auto; padding: 4px 20px calc(18px + var(--safe-b)); scrollbar-width: none; }
.qbody::-webkit-scrollbar { display: none; }
.qbody h3 { margin: 0 0 14px; font-weight: 400; font-size: 24px; color: var(--purple-lt); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.qbody h3 button { font-size: 14px; color: var(--muted); text-transform: none; display: flex; gap: 4px; align-items: center; }
.upstrip { position: absolute; left: 16px; right: 16px; bottom: calc(142px + var(--safe-b)); z-index: 26; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.upstrip .prog { background: var(--gray); border-radius: 12px; padding: 8px 12px; margin: 0; }

/* Videolarım: küçük satırlar + çoklu seçim */
.hrow { display: flex; gap: 12px; align-items: center; background: var(--gray); border-radius: 16px; padding: 8px 10px 8px 8px; margin-bottom: 8px; cursor: pointer; border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.hrow.sel { border-color: var(--teal-lt); background: var(--hl); }
.hrow .hthumb { position: relative; width: 76px; height: 56px; aspect-ratio: auto; border-radius: 10px; overflow: hidden; background: var(--field); flex: none; cursor: pointer; }
.hrow .hthumb .dur { position: absolute; right: 4px; bottom: 3px; font-size: 11px; background: rgba(0, 0, 0, .55); padding: 0 5px; border-radius: 5px; }
.hmain { flex: 1; min-width: 0; }
.hmain .nm { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmain .mt { font-size: 14px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmain .mt b { font-weight: 700; }
.hmain .pc { color: var(--teal-lt); font-weight: 700; margin-left: 4px; }
.hmain .pc.warn { color: var(--warn); }
.hmain .mut { color: var(--muted); }
.hmain .loc { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 12.5px; margin-top: 2px; min-width: 0; }
.hmain .loc svg { width: 14px; height: 14px; flex: none; }
.hmain .loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; unicode-bidi: plaintext; text-align: left; }
.hmain .note { margin-top: 6px; padding: 5px 9px; font-size: 12.5px; }
.chk { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--edge-m); display: grid; place-items: center; color: transparent; flex: none; }
.chk svg { width: 16px; height: 16px; stroke-width: 2.4; }
.hrow.sel .chk { background: var(--teal); border-color: var(--teal); color: #fff; }
.hbar { position: absolute; z-index: 32; left: 12px; right: 12px; bottom: calc(108px + var(--safe-b)); background: var(--bar); border-radius: 18px; padding: 6px 8px; display: flex; align-items: center; gap: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.hbar .cnt { flex: 1; font-size: 16px; color: var(--t2); padding-left: 4px; }
.hbar .x { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.hbar .act { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 9px; font-size: 12.5px; color: var(--text); border-radius: 10px; }
.hbar .act svg { width: 22px; height: 22px; }
.hbar .act.danger { color: var(--danger); }
body.hsel #v-videos { padding-bottom: calc(210px + var(--safe-b)); }
#v-videos .job { padding: 8px; }
#v-videos .job .th { width: 52px; height: 52px; }

/* Hakkında */
.aboutlogo { display: flex; gap: 14px; align-items: center; margin: 14px 0 8px; }
.aboutlogo .logo.big { width: 56px; height: 56px; border-radius: 16px; }
.aboutlogo b { font-size: 26px; font-weight: 400; display: block; }
.aboutlogo small { color: var(--muted); }
.apkcard { display: flex; align-items: center; gap: 14px; margin: 16px 0; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #1f4d3a, #2E6F6F); color: #fff; text-decoration: none; }
.apkcard > svg:first-child { width: 36px; height: 36px; color: #3ddc84; }
.apkcard .grow { flex: 1; }
.apkcard b { display: block; font-size: 20px; font-weight: 500; }
.apkcard small { opacity: .85; font-size: 14px; }
.qsheet.open #qpeekTxt { opacity: 0; }   /* açıkken başlık zaten altta */

.player { color: #eaeaea; }

/* ---- açık tema: Ayarlar → Görünüm (html[data-theme=light]) ---- */
:root[data-theme="light"] {
  --text: #1d1f24; --gray: #eceef3; --page: #e4e6ec; --app: #f6f6f9; --panel: #ffffff; --nav: #ffffff;
  --muted: #666c76; --line: rgba(20, 24, 34, .09);
  --purple-lt: #5b43a0; --teal-lt: #23776b;
  --t2: #3d424a; --field: #e4e7ee; --hl: #dcefea; --bar: #ffffff;
  --warn: #b0583f; --warn-soft: #8a3f2b; --danger: #c0462e;
  --seg-bg: rgba(79, 63, 113, .13); --seg-ink: #5b4b80; --tg-off: #b7bbc4;
  --scrim: rgba(20, 24, 34, .38); --app-a: rgba(246, 246, 249, .9);
  --edge: rgba(20, 24, 34, .12); --edge-s: rgba(20, 24, 34, .05); --edge-m: rgba(20, 24, 34, .28);
  --apk: #1c9b57;
  color-scheme: light;
}
:root[data-theme="light"] .phone { box-shadow: 0 30px 80px rgba(30, 34, 50, .22); }
:root[data-theme="light"] .hbar, :root[data-theme="light"] .tabbar { box-shadow: 0 -4px 22px rgba(30, 34, 50, .12); }
:root[data-theme="light"] .qcard, :root[data-theme="light"] .hrow { box-shadow: 0 1px 2px rgba(30, 34, 50, .08); }
:root[data-theme="light"] .tile.add, :root[data-theme="light"] .gt.add { border-color: rgba(91, 67, 160, .45); }
.gt, .tile, .hthumb, .job .th { color: #fff; }               /* küçük resim üstü yazılar iki temada da beyaz */
