/* =========================================================
   Postelk — Dashboard (app) styles · app-shell
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }

/* KRİTİK: display kuralı olan öğelerde (.btn vb.) hidden özniteliği ezilmesin */
[hidden] { display: none !important; }

/* Oturum doğrulanana kadar içerik gizli */
.app-loading .appbar, .app-loading .layout { visibility: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .06s ease; }
/* (2026-10-21 Emre) buton malzemesi: basınca 1px çöker + iç gölge; klavye odağı halka; token'lar variables.css */
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg, #121212), 0 0 0 4px var(--btn-focus, #7DD4A8); }   /* iki renkli halka: 2px boşluk + 2px vurgu (WCAG 2.4.13) */
.btn--primary:focus-visible { box-shadow: 0 0 0 2px var(--bg, #121212), 0 0 0 4px var(--btn-focus, #7DD4A8), var(--btn-shadow, 0 0 0 transparent); }
/* (2026-10-27 Emre) İKİNCİL BUTON = SESSİZ: post sayfasındaki Back düğmesi örnek alındı (14px / 700, kenarlık ve zemin yok, hover'da yalnız
   hafif zemin — yorumlardaki Reply / ⋯ ile aynı dil; "buton olduğu belli olmayacak"). Yeşil CTA'lar (.btn--primary), araç çubuğu kontrolleri
   (.pchan__btn: Filters / Newest first / All channels) ve tehlike butonları (.btn--danger) AYNEN. Tam genişlik (.btn--block) ikincil butonlar
   (plan seçimi, "Got it", "Make another", "Save to drafts") çerçeveli kalır — kutusuz metin geniş alanda boşlukta yüzerdi. */
.btn--ghost, .btn--ghost.btn--sm { background: transparent; border-color: transparent; color: var(--text-mute); box-shadow: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.btn--ghost:hover:not(:disabled):not([disabled]) { background: var(--bg-elev); border-color: transparent; color: var(--text); box-shadow: none; }   /* yeşil kenarlık YOK */
.btn--ghost:active:not(:disabled):not([disabled]) { background: var(--ov-2, rgba(255,255,255,.07)); box-shadow: none; }
.btn--ghost:disabled, .btn--ghost[disabled] { color: var(--btn-disabled-fg, var(--text-dim)); border-color: transparent; background: transparent; box-shadow: none; cursor: not-allowed; }
.btn--ghost.btn--icon { padding: 7px 9px; }
.btn--ghost.btn--block { background: var(--ov-1, rgba(255,255,255,.04)); border-color: var(--border-lt); color: var(--text); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; box-shadow: var(--btn-ghost-shadow, none); }
.btn--ghost.btn--block:hover:not(:disabled):not([disabled]) { background: var(--ov-2, rgba(255,255,255,.07)); border-color: var(--border-lt); color: var(--text); box-shadow: var(--btn-ghost-shadow-hover, none); }
.btn--ghost.btn--block:active:not(:disabled):not([disabled]) { background: var(--ov-1, rgba(255,255,255,.04)); box-shadow: var(--btn-ghost-shadow-active, none); }
.btn--ghost.btn--block:disabled, .btn--ghost.btn--block[disabled] { border-color: var(--border); }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }

/* Top bar */
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 22px; padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); border-bottom: 1px solid var(--border); background: var(--appbar-bg, rgba(25,24,23,.85)); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; }
.appbar__brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.appbar__brand img { display: block; }
.appbar__brand .accent { color: var(--text); }
.appbar__right { display: flex; align-items: center; gap: 14px; }
.credits { font-family: inherit; font-size: 13.5px; color: var(--yellow); background: rgba(255,236,153,.08); border: 1px solid rgba(255,236,153,.22); padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s; }
.credits:hover { background: rgba(255,236,153,.16); border-color: rgba(255,236,153,.45); }
.credits strong { font-weight: 800; }
.appbar__user { display: inline-flex; align-items: center; gap: 9px; background: none; border: none; cursor: pointer; font-family: inherit; padding: 4px 10px 4px 4px; border-radius: 999px; transition: background .2s; }
.appbar__user:hover { background: var(--ov-2, rgba(255,255,255,.07)); }
.appbar__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; flex: none; text-transform: uppercase; }
.appbar__name { font-size: 14px; color: var(--text); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Layout: dashboard = tek kolon, modül = sidebar + içerik */
.layout { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); }
.layout.has-sidebar { grid-template-columns: 252px 1fr; }

/* Sidebar */
.sidebar { display: none; border-right: 1px solid var(--border); background: var(--bg-soft); padding: 16px 12px; }
.layout.has-sidebar .sidebar { display: block; }
.sidebar__nav { display: flex; flex-direction: column; gap: 3px; position: sticky; top: 84px; }
.sidebar__label { font-size: 11.5px; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--text-dim, #8c867e); padding: 16px 12px 6px; }   /* Title-case (Emre 2026-09-03): kaynak metin zaten 'Editing/Posting/Library' */
.sidebar__item { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 11px; padding: 10px 12px; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-mute); transition: background .15s, color .15s, border-color .15s; }
.sidebar__item[hidden] { display: none; }   /* (2026-10-20) kapılı menü ögesi — Messages yalnız kendi bağlantısı olanlarda (shell.js) */
.sidebar__item svg { flex: none; }
/* token maliyet rozeti (mkt__cost b ile aynı stil) — editing modüllerinin yanında */
.sbcost { margin-left: auto; display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 7px; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; }
.sbcost--inf { font-size: 15px; line-height: 1; }
.sidebar__item.is-active .sbcost { background: var(--ov-4, rgba(255,255,255,.16)); color: var(--violet-light, #fff); }
/* EDITING etiketinin sağındaki coin başlığı ("credits") */
.sidebar__label--cost { display: flex; align-items: center; justify-content: space-between; }
.sblabelcoin { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: lowercase; color: var(--text-dim); }
.sblabelcoin svg { display: block; }
/* dashboard modül kartı kredi rozeti (SAĞ ÜST köşe; hover'da "Open →" ile yer değiştirir) */
.module__credits { position: absolute; top: 20px; right: 18px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--text); background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; white-space: nowrap; transition: opacity .2s; }
.module:hover .module__credits { opacity: 0; }
.module__credits svg { display: block; flex: none; }
.sidebar__item:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.sidebar__item.is-active { background: var(--bg-elev); border-color: transparent; color: var(--text); }
/* Light: --bg-elev (#F1F4F2) sidebar zemini (#F5F7F6) ile neredeyse ayni → aktif
   oge gorunmuyor, hover (%7 siyah) daha koyu kaliyordu. Aktife yesil tonlu belirgin
   dolgu; :root+attr secicisi hover kuralindan guclu, hover'da da aktif renk kalir. */
:root[data-theme="light"] .sidebar__item.is-active { background: var(--ov-3, rgba(54,128,103,.12)); }
.sidebar__item.is-active svg { color: var(--violet-light, #7DD4A8); }

/* Content + views */
.content { min-width: 0; }
.view { display: none; max-width: 1040px; margin: 0 auto; padding: 26px 28px; padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.view.is-active { display: block; }
#view-caption { max-width: 1180px; }

/* MPA içerik sarmalayıcı (her sayfada görünür) */
.page { max-width: 1360px; margin: 0 auto; padding: 14px 44px 28px; }
.page--wide { max-width: 1680px; }
@media (max-width: 1100px) { .page { padding: 24px 28px; } }
@media (max-width: 640px) { .page { padding: 16px 14px; } }

/* Dashboard greeting (sade, modern) */
.dash-title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 28px; }
/* Isim + kalp = New post butonunun yesili (Emre, 2026-08-31). */
.dash-title span { color: var(--brand, #368067); }
.dash-title svg { fill: var(--brand, #368067); }

/* Module cards (canlı, tıklanabilir) */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { position: relative; text-align: left; cursor: pointer; font-family: inherit; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; overflow: hidden; }
.module::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .85; }
.module:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, var(--border)); box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 22%, transparent); }
.module__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: 16px; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 42%, transparent); }
.module h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.module p { margin-top: 8px; color: var(--text-mute); font-size: 14.5px; }
.module__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; }
.module__cost { font-size: 13px; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); padding: 6px 11px; border-radius: 999px; }
.module__cost strong { color: #fff; font-weight: 800; }
.module__soon { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; }
.module__go { position: absolute; top: 24px; right: 22px; color: var(--violet-light); font-weight: 600; font-size: 14px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.module:hover .module__go { opacity: 1; transform: none; }

/* Module head (modül görünümü) */
.module-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.module-head__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.module-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.module-head p { margin-top: 4px; color: var(--text-mute); font-size: 15px; }

/* Construction / empty state */
.construction { text-align: center; padding: 64px 24px; background: var(--bg-card); border: 1px dashed var(--border-lt); border-radius: 20px; }
.construction__emoji { font-size: 46px; line-height: 1; }
.construction h2 { margin-top: 14px; font-size: 22px; font-weight: 700; }
.construction p { margin-top: 8px; color: var(--text-mute); }

/* Auth gate (spinner) */
.gate { position: fixed; inset: 0; background: var(--bg); display: grid; place-items: center; z-index: 100; }
.gate__spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--border-lt); border-top-color: var(--violet); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Button variants
   PARLAMA KAPALI (2026-07-29): birincil butonun altındaki renkli HALE kaldırıldı.
   Buffer ve Post Bridge'te birincil buton düz durur; renkli gölge arayüze
   "hazır şablon" hissi veriyordu. Renk değişimi (hover) KALDI — geri bildirim o.
   DOKUNULMAYANLAR, bilerek: :focus halkaları (erişilebilirlik), .is-active /
   .is-sel seçim halkaları ve sürükle-bırak vurguları — onlar süs değil, durum
   anlatıyor. */
.btn--primary { background: var(--btn-grad, var(--brand, #368067)); color: var(--brand-fg, #fff); border-color: transparent; box-shadow: var(--btn-shadow, none); }
.btn--primary:hover:not(:disabled):not([disabled]) { background: var(--btn-grad-hover, var(--brand2, #286B52)); box-shadow: var(--btn-shadow-hover, none); }
.btn--primary:active:not(:disabled):not([disabled]) { background: var(--btn-active-bg, var(--brand2, #286B52)); box-shadow: var(--btn-shadow-active, none); }
.btn--primary:disabled, .btn--primary[disabled] { background: var(--btn-disabled-bg, var(--bg-elev)); color: var(--btn-disabled-fg, var(--text-dim)); box-shadow: none; cursor: not-allowed; }
.btn--block { width: 100%; }
.btn--danger { background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.4); color: var(--red, #E7766A); box-shadow: var(--btn-ghost-shadow, none); }
.btn--danger:hover:not(:disabled):not([disabled]) { background: rgba(218,60,43,.2); border-color: rgba(218,60,43,.55); box-shadow: var(--btn-ghost-shadow-hover, none); }
.btn--danger:active:not(:disabled):not([disabled]) { background: rgba(218,60,43,.14); box-shadow: var(--btn-ghost-shadow-active, none); }
.btn--danger:disabled, .btn--danger[disabled] { color: var(--btn-disabled-fg, var(--text-dim)); border-color: var(--border); background: transparent; box-shadow: none; cursor: not-allowed; }

/* Welcome buy button reset */
.welcome__buy { background: none; border: none; cursor: pointer; font-family: inherit; }

/* Sidebar: tam yükseklik + alt grup en altta */
.sidebar { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; }
.sidebar__nav { position: static; height: 100%; }
.sidebar__bottom { margin-top: auto; display: flex; flex-direction: column; gap: 3px; padding-top: 12px; border-top: 1px solid var(--border); }
.sidebar-backdrop { display: none; }   /* masaüstünde yok; mobil drawer açılınca görünür */

/* Settings */
.settings { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.card-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.card-block h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.card-block--danger { border-color: rgba(218,60,43,.3); }
.card-block--danger h3 { color: var(--red, #E7766A); }
.settings__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); }
.settings__row:first-of-type { border-top: none; padding-top: 0; }
.settings__row span { color: var(--text-mute); font-size: 14.5px; }
.settings__credits { color: var(--yellow); font-weight: 800; font-size: 16px; }

/* Fields (settings inputs) */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--text-mute); }
.field input { font-family: inherit; font-size: 15px; color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px 13px; }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.22); }
.field input:disabled { color: var(--text-dim); cursor: not-allowed; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; bottom: calc(28px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(12px); z-index: 300; background: var(--bg-elev); border: 1px solid var(--border-lt); color: var(--text); font-size: 14px; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: 90vw; text-align: center; }
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.btn--lg { padding: 13px 22px; font-size: 16px; }

/* Video editor module */
.cap { max-width: 720px; }
.cap__panel { display: flex; flex-direction: column; gap: 18px; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 1.5px dashed var(--border-lt); border-radius: 16px; padding: 38px 20px; cursor: pointer; background: var(--bg-card); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--violet); background: rgba(54,128,103,.06); }
.dropzone.is-filled { border-style: solid; border-color: var(--green); }
.dropzone--sm { padding: 20px; flex: 1; }
.dropzone__icon { font-size: 30px; line-height: 0; color: var(--text-mute); }
.dropzone__icon svg { width: 24px; height: 24px; display: block; }
.dropzone--sm .dropzone__icon svg { width: 18px; height: 18px; }
.dropzone strong { font-size: 15px; font-weight: 600; }
.dropzone__hint { font-size: 13px; color: var(--text-dim); }
.cap__row { display: flex; gap: 16px; align-items: stretch; }
.cap__vol { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.cap__vol label { font-size: 13.5px; color: var(--text-mute); }
.cap__vol input[type=range] { width: 100%; accent-color: var(--violet); cursor: pointer; }
.cap__go { display: flex; align-items: center; gap: 14px; }
.cap__cost { font-size: 13px; font-weight: 700; color: var(--green); background: rgba(52,156,104,.12); border: 1px solid rgba(52,156,104,.3); padding: 6px 12px; border-radius: 999px; }
/* (2026-10-26) Uyarı şeridi: sol vurgu çizgisi + ikon + metin + isteğe bağlı eylem düğmesi + kapat (info / warn / error) */
.cap__msg { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; padding: 10px 10px 10px 14px; border-radius: 12px;
  border: 1px solid var(--border); border-left-width: 4px; border-left-color: var(--violet); background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); }
.cap__msg__ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; }
.cap__msg__txt { flex: 1 1 auto; min-width: 0; }
.cap__msg__act { flex: 0 0 auto; white-space: nowrap; }
.cap__msg__x { flex: 0 0 auto; background: none; border: 0; color: inherit; opacity: .55; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
.cap__msg__x:hover { opacity: 1; }
.cap__msg.is-error { background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.35); border-left-color: var(--red, #E7766A); color: var(--red, #E7766A); }
.cap__msg.is-warn { background: rgba(240,140,0,.10); border-color: rgba(240,140,0,.35); border-left-color: #f08c00; }
.cap__msg.is-warn .cap__msg__ico { color: #f08c00; }
@media (max-width: 600px) { .cap__msg { flex-wrap: wrap; } .cap__msg__act { margin-left: 28px; } }
.cap__progress { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.cap__bar { height: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.cap__bar i { display: block; height: 100%; width: 2%; background: var(--grad-violet); border-radius: 999px; transition: width .4s ease; }
.cap__progress p { margin-top: 12px; color: var(--text-mute); font-size: 14px; text-align: center; }
.cap__result { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cap__result video { width: 100%; max-width: 340px; border-radius: 16px; background: #000; border: 1px solid var(--border); }
.cap__actions { display: flex; gap: 12px; }

/* Caption editor layout (capx) */
.capx { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.capx__main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dropzone--lg { padding: 30px 24px; }
.capx__settings { display: flex; flex-direction: column; gap: 16px; }
.capx__file { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.capx__file-name { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capx__change { background: none; border: none; color: var(--violet-light); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.capx__change:hover { text-decoration: underline; }

.setcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; }
.setcard__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; }
.setcard__opt { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px; margin-left: 8px; }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; }
.setrow + .setrow { border-top: 1px solid var(--border); }
.setlabel { font-size: 14px; color: var(--text-mute); }

.segs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.segs button { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-mute); padding: 7px 13px; border-radius: 8px; transition: background .15s, color .15s; }
.segs button.is-active { background: var(--violet); color: #fff; }

.swatches { display: inline-flex; gap: 8px; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 2px solid var(--border-lt); cursor: pointer; padding: 0; transition: transform .15s, border-color .15s, box-shadow .15s; }
.swatches button.is-active { border-color: var(--violet); transform: scale(1.12); box-shadow: 0 0 0 2px rgba(54,128,103,.3); }

/* Timeline (görsel v1) */
.tl { display: flex; flex-direction: column; gap: 8px; }
.tl__row { display: flex; align-items: center; gap: 10px; }
.tl__tag { width: 64px; flex: none; font-size: 12px; color: var(--text-dim); }
.tl__bar { flex: 1; height: 26px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border); }
.tl__bar--video { background: linear-gradient(90deg, rgba(54,128,103,.4), rgba(54,128,103,.15)); border-color: rgba(54,128,103,.4); }
.tl__bar--cap { background: repeating-linear-gradient(90deg, rgba(52,156,104,.35) 0 18px, transparent 18px 28px); border-color: rgba(52,156,104,.3); }
.tl__bar--music.has-music { background: repeating-linear-gradient(90deg, rgba(255,225,77,.3) 0 14px, transparent 14px 22px); border-color: rgba(255,225,77,.3); }

/* 9:16 önizleme */
.capx__preview { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.capx__preview-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.phoneframe { position: relative; width: 100%; aspect-ratio: 9/16; background: #000; border: 1px solid var(--border-lt); border-radius: 20px; overflow: hidden; }
.phoneframe video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.phoneframe__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #A8B2AC; font-size: 13.5px; }

/* Sidebar toggle + collapse */
.appbar__left { display: flex; align-items: center; gap: 10px; }
.appbar__toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--text-mute); cursor: pointer; padding: 7px; border-radius: 9px; }
.appbar__toggle:hover { background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); }
.layout.sidebar-collapsed.has-sidebar { grid-template-columns: 1fr; }
.layout.sidebar-collapsed .sidebar { display: none; }

/* Caption size slider */
.sizewrap { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.sizewrap input[type=range] { flex: 1; accent-color: var(--violet); cursor: pointer; }
.sizewrap__val { font-size: 13px; color: var(--text-mute); width: 44px; text-align: right; }
.setrow--hint { display: block; color: var(--text-dim); font-size: 12.5px; padding: 6px 0 0; border-top: none; }
.setrow--hint svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }

/* Draggable live caption sample on preview */
.capsample { position: absolute; left: 50%; top: 80%; transform: translate(-50%, -50%); z-index: 3; font-weight: 800; letter-spacing: .02em; white-space: nowrap; text-transform: uppercase; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.capsample:active { cursor: grabbing; }
.capsample[hidden] { display: none; }

/* preview ekranı taşırmasın */
.phoneframe { max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); }

/* Responsive */
@media (max-width: 820px) {
  .layout.has-sidebar { grid-template-columns: 1fr; }
  /* mobil: toplu seçim araç çubuğu (Select all / Download selected / Delete selected) ve
     karttaki seçim kutusu gizli — bu işlemler sadece web'de. Karttaki Download/X kalır. */
  .rdtools { display: none !important; }
  .rnitem__check { display: none !important; }
  /* mobil: sidebar = soldan kayan çekmece (drawer) */
  .layout.has-sidebar .sidebar {
    display: block; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; width: auto; z-index: 60;
    transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto;
    border-right: 1px solid var(--border); border-bottom: none; padding: 16px 12px;
  }
  .layout.has-sidebar.mobnav-open .sidebar { transform: translateX(0); }   /* golge YOK: tam ekran drawer'da header'a tasiyordu */
  .layout.has-sidebar .sidebar__nav { flex-direction: column; position: static; gap: 3px; }
  .sidebar-backdrop { display: block; position: fixed; inset: 64px 0 0 0; background: rgba(0,0,0,.5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .layout.has-sidebar.mobnav-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .modules { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .cap__row { flex-direction: column; }
  .capx { grid-template-columns: 1fr; }
  .capx__preview { position: static; }
  .phoneframe { max-width: 260px; margin: 0 auto; width: 100%; }
  .setrow { flex-wrap: wrap; }
  .view { padding: 24px 18px; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .appbar__name { display: none; }
  .appbar__user { padding: 4px; }
  .appbar { padding: 0 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); gap: 10px; }
  .settings__row { flex-wrap: wrap; }
  #logoutBtn { display: none; }   /* mobilde gizli — çıkış Settings'ten yapılır */
}

@media (max-width: 420px) {
  .appbar__brand .brand__name, .appbar__brand span { font-size: 16px; }
  .credits { font-size: 12.5px; padding: 6px 10px; }
}

/* =========================================================
   Caption editörü v2 — sabit ekran (scroll yok), büyük 9:16
   preview, çoklu klip, chunk editörü, serbest renk
   ========================================================= */
body.cap-page { overflow: hidden; height: 100vh; height: 100dvh; }
.cap-page .layout { height: calc(100vh - 64px); height: calc(100dvh - 64px); min-height: 0; }
.cap-page .content { height: 100%; min-height: 0; overflow: hidden; }

.capwrap { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 14px 22px 16px; padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); padding-bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 1500px; margin: 0 auto; width: 100%; }
/* EDITING sayfaları (Caption+Music / Split) Repurposer'la aynı
   genişlikte — 1680px. Compose (.composex) 1500'de KALIR, ona dokunulmadı. */
.capwrap:not(.composex) { max-width: 1680px; }
.cap-pagetitle { font-size: 21px; font-weight: 800; margin: 0; color: var(--text); }
.captop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; flex: 1; min-height: 0; }
.capcol--left { min-width: 360px; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 13px; padding-right: 6px; padding-bottom: 6px; }
.capcol--left::-webkit-scrollbar { width: 8px; }
.capcol--left::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.capcol--right { --ph: calc(100vh - 64px - 30px - 178px - 154px); --ph: calc(100svh - 64px - 30px - 178px - 154px); display: flex; flex-direction: column; gap: 9px; min-height: 0; align-items: center; }

/* önizleme modu (9:16 / TikTok / Reels) — sadece kılavuz, çıktı hep 1080x1920 */
.prevmodes { display: inline-flex; gap: 2px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 9px; padding: 3px; flex: none; }
.prevmodes button { background: none; border: none; color: var(--text-mute); font-family: inherit; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.prevmodes button.is-active { background: var(--violet); color: #fff; }
.uiov { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.uiov__box { position: absolute; background: var(--ov-3, rgba(255,255,255,.09)); border: 1.5px dashed rgba(255,255,255,.4); border-radius: 8px; }
.uiov__line { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed rgba(255,225,77,.85); }
.uiov__lab { position: absolute; right: 6px; font-size: 9.5px; font-weight: 700; color: rgba(255,225,77,.95); text-shadow: 0 1px 2px rgba(0,0,0,.8); }

.phoneframe--lg { height: var(--ph); width: calc(var(--ph) * 9 / 16); max-height: none; flex: none; box-shadow: 0 24px 64px rgba(0,0,0,.45); }
.capactions { width: calc(var(--ph) * 9 / 16); display: flex; flex-direction: column; gap: 9px; }
.caprow2 { display: flex; gap: 8px; }
.caprow2:empty { display: none; }
.cap__free { font-size: 11px; font-weight: 800; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); padding: 2px 9px; border-radius: 999px; margin-left: 8px; }

/* İlerleme kutusu */
.capprog { background: var(--bg-card); border: 1px solid var(--border); border-radius: 13px; padding: 14px 16px; flex: none; }
.capprog p { margin-top: 9px; color: var(--text-mute); font-size: 13px; text-align: center; }

/* Klip listesi */
.setcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.setcard__head .setcard__title { margin-bottom: 0; }
.cliplist { display: flex; flex-direction: column; gap: 6px; }
.cliplist:not(:empty) { margin-bottom: 9px; }
.clip { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; }
.clip__idx { width: 22px; height: 22px; border-radius: 6px; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); display: grid; place-items: center; font-size: 11.5px; font-weight: 800; flex: none; }
.clip__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip__size { color: var(--text-dim); font-size: 12px; flex: none; }
.clip__btns { display: inline-flex; gap: 1px; flex: none; }
.iconbtn { background: none; border: none; color: var(--text-mute); cursor: pointer; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; line-height: 1; padding: 0; }
.iconbtn:hover { background: var(--ov-2, rgba(255,255,255,.08)); color: var(--text); }
.iconbtn:disabled { opacity: .25; cursor: default; }
.iconbtn:disabled:hover { background: none; color: var(--text-mute); }
.dropzone--clips { flex-direction: row; gap: 10px; padding: 13px 16px; font-size: 13px; text-align: left; margin-bottom: 10px; }

/* Medya kutusu (bin): editör açıkken eklenen klipler burada bekler */
.binwrap { margin-bottom: 10px; }
.binlabel { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
/* =========================================================
   MEDYA KARTLARI (Video editor · Split screen)
   Tek bir kart dili: 9:16 kapak + ad + aksiyonlar. Eskiden Video editor'de
   tam genişlik satır, diğerlerinde dar kutucuklardı; ikisi de sıradan
   duruyordu. Created videos ızgarasıyla aynı his.
   ========================================================= */
.binlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; align-items: start; }
.binitem { position: relative; display: flex; flex-direction: column; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 0; overflow: hidden; font-size: 13px; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.binitem:hover { border-color: rgba(54,128,103,.6); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.binitem:active { cursor: grabbing; }
/* Kapak: kartın tam genişliği, 9:16 dikey — video gerçekte hangi orandaysa
   cover ile kadraja oturur, siyah zemin kalan boşluğu yutar. */
.binthumbwrap { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.binthumb { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; border: 0; border-radius: 0; }
/* Alt boşluk normalde butonlardan gelir; masaüstünde buton gizli olduğu için
   ad satırı kartın dibine yapışmasın diye buraya alındı. */
.binitem__col { min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 9px 10px 10px; }
@media (hover: none), (max-width: 900px) { .binitem__col { padding-bottom: 0; } }
.binitem__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 700; }
/* Süre kapağın üstünde pill olarak duruyor → listede tekrar etmesin */
.binitem__dur { display: none; }
.binitem__state { font-size: 10.5px; font-weight: 600; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.binitem__state.is-err { color: var(--red, #E7766A); }
/* Yükleme başarısızsa kart kırmızıya döner (Repurposer'daki gibi bariz olsun) */
.binitem.is-err { border-color: rgba(212,66,50,.7); }
/* MASAÜSTÜNDE BUTON YOK: kart Created videos gibi sade dursun, atama sürükle-bırak
   ile yapılsın. Butonlar yalnızca sürüklemenin çalışmadığı yerlerde (dokunmatik
   ya da dar ekran) görünür — aşağıdaki media query. */
.binitem__btns { display: none; flex-direction: row; gap: 5px; padding: 8px 10px 10px; }
.binitem__btns .minibtn { flex: 1 1 0; min-width: 0; justify-content: center; font-size: 11px; font-weight: 700; padding: 5px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: none), (max-width: 900px) { .binitem__btns { display: flex; } }
/* Masaüstünde sürüklenebilirlik ipucu: hover'da kapak hafif karartılıp tutma
   ikonu belirir (buton olmadığı için keşfedilebilir kalsın). */
.binitem__grab { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0; transition: opacity .14s ease; background: rgba(12,10,8,.42); pointer-events: none; }
.binitem__grab::after { content: ""; width: 26px; height: 26px; background-color: #fff;
  -webkit-mask: no-repeat center / 26px 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM15 4.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z'/%3E%3C/svg%3E");
  mask: no-repeat center / 26px 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM15 4.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z'/%3E%3C/svg%3E"); }
.binitem:hover .binitem__grab { opacity: 1; }
.binitem.is-uploading .binitem__grab, .binitem.is-err .binitem__grab { display: none; }
@media (hover: none), (max-width: 900px) {
  .binitem__grab { display: none; }
  /* Dokunmatikte yerleştirme butonlarla yapılıyor; touch-action:none kalsaydı
     parmak bir kartın üstündeyken şerit/sayfa kaydırılamazdı. */
  .binitem { touch-action: auto; cursor: default; }
  .binitem:active { cursor: default; }
}

/* ---- Editör media bin: kart modu (ilk klip yüklenince) — Excalidraw tarzı ---- */
/* Split screen: klip varken bırakma alanı kartların yanına geçer.
   Kart görünümü artık .binitem'ın kendisinde — buradaki eski ezmeler kalktı. */
.binrow.is-cards { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; }
.binrow.is-cards .binlabel { display: none; }
.binrow.is-cards .binlist { order: 1; flex: 1 1 320px; }
.binrow.is-cards .dropzone--clips { order: 2; flex: 0 0 150px; flex-direction: column; gap: 6px; min-height: 0; align-self: stretch; margin: 0; justify-content: center; align-items: center; text-align: center; font-size: 12px; border-radius: 14px; }

/* Kapak üzerindeki bilgiler */
.binitem__len { position: absolute; left: 6px; bottom: 6px; z-index: 2; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .01em; }
/* Kaldır: kapağın sağ üst köşesi (Repurposer hücreleriyle aynı yer) */
.binitem__x { position: absolute; right: 5px; top: 5px; z-index: 4; width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 7px; background: rgba(0,0,0,.62); color: #fff; font-family: inherit; font-size: 11px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s, background .12s; }
.binitem:hover .binitem__x { opacity: 1; }
.binitem__x:hover { background: #d44232; }
/* YÜKLENİYOR: beyaz spinner yerine ortada mor yükleme ikonu (Repurposer ile aynı dil) */
.binitem.is-uploading { pointer-events: none; }
.binitem.is-uploading::before, .binitem.is-uploading::after { display: none; }
.binitem.is-uploading .binthumbwrap::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(19,15,10,.62); }
.binitem.is-uploading .binthumbwrap::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  background-color: var(--violet-light); animation: bcup 1.1s ease-in-out infinite;
  -webkit-mask: no-repeat center / 30px 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.75C12.4142 15.75 12.75 15.4142 12.75 15V4.02744L14.4306 5.98809C14.7001 6.30259 15.1736 6.33901 15.4881 6.06944C15.8026 5.79988 15.839 5.3264 15.5694 5.01191L12.5694 1.51191C12.427 1.34567 12.2189 1.25 12 1.25C11.7811 1.25 11.573 1.34567 11.4306 1.51191L8.43056 5.01191C8.16099 5.3264 8.19741 5.79988 8.51191 6.06944C8.8264 6.33901 9.29988 6.30259 9.56944 5.98809L11.25 4.02744L11.25 15C11.25 15.4142 11.5858 15.75 12 15.75Z'/%3E%3Cpath d='M16 9C15.2978 9 14.9467 9 14.6945 9.16851C14.5853 9.24148 14.4915 9.33525 14.4186 9.44446C14.25 9.69667 14.25 10.0478 14.25 10.75L14.25 15C14.25 16.2426 13.2427 17.25 12 17.25C10.7574 17.25 9.75004 16.2426 9.75004 15L9.75004 10.75C9.75004 10.0478 9.75004 9.69664 9.58149 9.4444C9.50854 9.33523 9.41481 9.2415 9.30564 9.16855C9.05341 9 8.70227 9 8 9C5.17157 9 3.75736 9 2.87868 9.87868C2 10.7574 2 12.1714 2 14.9998V15.9998C2 18.8282 2 20.2424 2.87868 21.1211C3.75736 21.9998 5.17157 21.9998 8 21.9998H16C18.8284 21.9998 20.2426 21.9998 21.1213 21.1211C22 20.2424 22 18.8282 22 15.9998V14.9998C22 12.1714 22 10.7574 21.1213 9.87868C20.2426 9 18.8284 9 16 9Z'/%3E%3C/svg%3E");
  mask: no-repeat center / 30px 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.75C12.4142 15.75 12.75 15.4142 12.75 15V4.02744L14.4306 5.98809C14.7001 6.30259 15.1736 6.33901 15.4881 6.06944C15.8026 5.79988 15.839 5.3264 15.5694 5.01191L12.5694 1.51191C12.427 1.34567 12.2189 1.25 12 1.25C11.7811 1.25 11.573 1.34567 11.4306 1.51191L8.43056 5.01191C8.16099 5.3264 8.19741 5.79988 8.51191 6.06944C8.8264 6.33901 9.29988 6.30259 9.56944 5.98809L11.25 4.02744L11.25 15C11.25 15.4142 11.5858 15.75 12 15.75Z'/%3E%3Cpath d='M16 9C15.2978 9 14.9467 9 14.6945 9.16851C14.5853 9.24148 14.4915 9.33525 14.4186 9.44446C14.25 9.69667 14.25 10.0478 14.25 10.75L14.25 15C14.25 16.2426 13.2427 17.25 12 17.25C10.7574 17.25 9.75004 16.2426 9.75004 15L9.75004 10.75C9.75004 10.0478 9.75004 9.69664 9.58149 9.4444C9.50854 9.33523 9.41481 9.2415 9.30564 9.16855C9.05341 9 8.70227 9 8 9C5.17157 9 3.75736 9 2.87868 9.87868C2 10.7574 2 12.1714 2 14.9998V15.9998C2 18.8282 2 20.2424 2.87868 21.1211C3.75736 21.9998 5.17157 21.9998 8 21.9998H16C18.8284 21.9998 20.2426 21.9998 21.1213 21.1211C22 20.2424 22 18.8282 22 15.9998V14.9998C22 12.1714 22 10.7574 21.1213 9.87868C20.2426 9 18.8284 9 16 9Z'/%3E%3C/svg%3E");
}

/* ---- Ortalı onay pop-up'ı (sayfadan ayrılma vb.) — responsive ---- */
/* z-index 1100: onay penceresi DİĞER modallerin (socmodal 1000) ÜSTÜNDE olmalı.
   Eşit olduğunda DOM sırası karar veriyordu ve onay kutusu edit modalinin arkasında
   kalıp "tıklıyorum ama kapanmıyor" hatasına yol açıyordu. */
.ugcmodal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ugcmodal[hidden] { display: none; }
.ugcmodal__card { width: 100%; max-width: 380px; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: ugcmodalIn .18s ease; }
.ugcmodal__x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-lt); background: var(--bg-soft); color: var(--text-mute); font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .15s, color .15s; }
.ugcmodal__x:hover { background: var(--ov-2, rgba(255,255,255,.08)); color: var(--text); }
@keyframes ugcmodalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ugcmodal__title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.ugcmodal__body { color: var(--text-mute); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; }
.ugcmodal__actions { display: flex; gap: 10px; justify-content: flex-end; }
.ugcmodal__btn { font-family: inherit; font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 10px; cursor: pointer; border: 1px solid var(--border-lt); background: var(--bg-soft); color: var(--text); transition: background .15s; }
.ugcmodal__btn:hover { background: var(--ov-2, rgba(255,255,255,.08)); }
.ugcmodal__btn--primary { background: var(--violet); border-color: var(--violet); color: #fff; }
.ugcmodal__btn--primary:hover { background: var(--violet-dark); }
.ugcmodal__btn--danger { background: #d44232; border-color: #d44232; color: #fff; }
.ugcmodal__btn--danger:hover { background: #ba3b2d; }
.ugcmodal__btn:disabled { opacity: .5; cursor: not-allowed; }
.ugcmodal__btn:disabled:hover { background: #d44232; }
/* Hesap silme pop-up'i (settings.js) — ugcmodal uzerine: genis kart, sonuc listesi, e-posta teyidi. Ic kutu YOK. */
.ugcmodal__card.accdel { max-width: 460px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; }
.accdel__p { color: var(--text-mute); font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; }
.accdel__body > :last-child { margin-bottom: 18px; }
.accdel__warn { color: var(--text); font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; padding-left: 12px; border-left: 3px solid #d44232; }
.accdel__warn strong { color: #d44232; }
.accdel__list { margin: 0 0 16px; padding: 0 0 0 18px; color: var(--text-mute); font-size: 14px; line-height: 1.5; }
.accdel__list li { margin: 0 0 7px; }
.accdel__list li::marker { color: var(--text-dim); }
.accdel__li--warn { color: var(--text); font-weight: 600; }
.accdel__label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.accdel__input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-lt); background: var(--bg-soft); color: var(--text); outline: none; transition: border-color .15s; }
.accdel__input:focus { border-color: #d44232; }
.accdel__input:disabled { opacity: .6; }
.accdel__note { min-height: 18px; margin: 8px 0 14px; font-size: 13px; line-height: 1.45; color: var(--text-mute); }
.accdel__note--err { color: #d44232; }
.ugcmodal__card.accdel .ugcmodal__btn--primary:disabled:hover { background: var(--violet); }
@media (max-width: 480px) { .ugcmodal__actions { flex-direction: column-reverse; } .ugcmodal__btn { width: 100%; } }
/* Mobil: modalları ekrana tam sığdır */
@media (max-width: 480px) {
  .ugcmodal { padding: 10px; align-items: end; }
  .ugcmodal__card { max-width: 100% !important; padding: 16px; border-radius: 16px 16px 0 0; }
}
/* kutudan timeline'a sürükleme hayaleti + bırakma vurgusu */
.dragghost { position: fixed; z-index: 999; pointer-events: none; background: rgba(54,128,103,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 9px; transform: translate(-50%, -130%); box-shadow: 0 8px 24px rgba(0,0,0,.4); white-space: nowrap; }
.tlbox__lane--video.is-dropover { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.4); }
.dropzone--clips .dropzone__icon { font-size: 20px; }

/* Caption chunk editörü */
.cardhint { font-size: 12.5px; color: var(--text-dim); margin-bottom: 9px; }
.chunklist { display: flex; flex-direction: column; gap: 5px; max-height: 336px; overflow-y: auto; padding-right: 3px; }
.chunklist::-webkit-scrollbar { width: 7px; }
.chunklist::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.chunk { display: grid; grid-template-columns: minmax(0,1fr) 62px 62px 26px; gap: 5px; align-items: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 9px; padding: 4px 5px; cursor: pointer; transition: border-color .15s; }
.chunk:hover { border-color: var(--border-lt); }
.chunk.is-live { border-color: var(--violet); background: rgba(54,128,103,.08); }
.chunk input { font-family: inherit; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--text); font-size: 13px; font-weight: 600; padding: 6px 7px; min-width: 0; }
.chunk input:focus { outline: none; border-color: var(--violet); background: var(--bg-card); }
.chunk input[type=number] { text-align: right; color: var(--text-mute); font-weight: 500; font-size: 12.5px; appearance: textfield; -moz-appearance: textfield; }
.chunk input[type=number]::-webkit-outer-spin-button, .chunk input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.minibtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); color: var(--text); border-radius: 999px; font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px; cursor: pointer; transition: background .15s; }
/* İkon–metin boşluğu artık margin DEĞİL, flex gap ile.
   Eski `.minibtn svg:only-child { margin-right: 0 }` kuralı ikon+metin butonlarında
   DA eşleşiyordu: buton içindeki yazı bir text node, element değil → CSS'e göre svg
   hâlâ "tek çocuk" sayılıyor ve boşluk sıfırlanıyordu. gap'te bu sorun yok, sadece
   ikon varsa (tek öğe) gap zaten devreye girmez. */
.minibtn svg { flex: none; }
.minibtn:hover { background: rgba(54,128,103,.26); }

/* Renk: hazır renkler + serbest seçici */
.colorrow { display: inline-flex; align-items: center; gap: 12px; }
.colorpick { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border-lt); overflow: hidden; cursor: pointer; flex: none; background: conic-gradient(#de5445, var(--orange, #E9B367), #3bb075, var(--violet-dark, #286B52), var(--violet-dark, #286B52), #de5445); transition: transform .15s, border-color .15s, box-shadow .15s; }
.colorpick.is-active { border-color: var(--violet); transform: scale(1.12); box-shadow: 0 0 0 2px rgba(54,128,103,.3); }
.colorpick input { position: absolute; inset: -8px; width: 44px; height: 44px; opacity: 0; cursor: pointer; border: none; padding: 0; }

/* ---- Timeline: BOYDAN BOYA, CapCut benzeri (sabit, altta) ---- */
.tlbox--full { position: relative; width: 100%; flex: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: 13px; padding: 8px 14px 12px; user-select: none; -webkit-user-select: none; touch-action: none; }
.tlbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tlbox__time { font-size: 12.5px; font-weight: 700; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.tlbox__tools { display: flex; align-items: center; gap: 8px; }
.minibtn--danger { background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.4); color: var(--red, #E7766A); }
.minibtn--danger:hover { background: rgba(218,60,43,.22); }
.minibtn:disabled { opacity: .35; cursor: default; }
.tlbox__ruler { position: relative; height: 18px; cursor: pointer; margin-left: 64px; }
.tlbox__ruler span { position: absolute; top: 2px; transform: translateX(-50%); font-size: 10px; color: var(--text-dim); pointer-events: none; }
.tlbox__lanes { display: flex; flex-direction: column; gap: 6px; }
.tlbox__row { display: flex; align-items: center; gap: 0; }
.tlbox__tag { width: 64px; flex: none; font-size: 11px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.tlbox__lane { position: relative; flex: 1; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; }
.tlbox__lane--video { height: 34px; }
.tlbox__lane--cap { height: 36px; }
.tlbox__lane--music { height: 28px; }
.tlbox__lane-hint { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: var(--text-dim); pointer-events: none; }
/* video parçaları (kesme) */
.tlvid { position: absolute; top: 2px; bottom: 2px; background: linear-gradient(180deg, rgba(166,109,44,.45), rgba(166,109,44,.25)); border: 1px solid rgba(203,135,58,.8); border-radius: 6px; cursor: pointer; display: grid; place-items: center; font-size: 10px; color: var(--tint, #E4F1EA); overflow: hidden; white-space: nowrap; }
.tlvid.is-selected { border-color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,.8), 0 0 10px rgba(203,135,58,.6); }
/* caption segmentleri */
.tlseg { position: absolute; top: 2px; bottom: 2px; background: rgba(54,128,103,.5); border: 1px solid rgba(57,131,106,.9); border-radius: 6px; cursor: grab; min-width: 5px; display: flex; align-items: center; padding: 0 6px; overflow: hidden; }
.tlseg span { font-size: 10px; font-weight: 600; color: var(--tint, #E4F1EA); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.tlseg.is-live { background: rgba(54,128,103,.92); box-shadow: 0 0 8px rgba(54,128,103,.55); }
.tlseg:active { cursor: grabbing; }
.tlseg__h { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.tlseg__h--l { left: -3px; }
.tlseg__h--r { right: -3px; }
.tlmusic { position: absolute; top: 2px; bottom: 2px; background: repeating-linear-gradient(90deg, rgba(255,225,77,.35) 0 9px, rgba(255,225,77,.18) 9px 18px); border: 1px solid rgba(255,225,77,.6); border-radius: 6px; cursor: grab; }
.tlmusic:active { cursor: grabbing; }
/* playhead: 12px görünmez tutma alanı + ortada 2px çizgi; sürüklenebilir */
.tlbox__playhead { position: absolute; top: 30px; bottom: 8px; left: 78px; width: 12px; margin-left: -6px; cursor: ew-resize; z-index: 6; touch-action: none; }
.tlbox__playhead::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.7); border-radius: 2px; }
.tlbox__playhead::after { content: ""; position: absolute; left: 1px; top: -4px; width: 10px; height: 10px; background: #fff; border-radius: 3px; }

/* video parçası sürüklenirken */
.tlvid.is-dragging { opacity: .75; z-index: 8; cursor: grabbing; }

/* önizleme play/pause */
.playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; cursor: pointer; z-index: 4; display: grid; place-items: center; backdrop-filter: blur(2px); transition: background .15s, transform .15s; padding-left: 5px; }
.playbtn:hover { background: rgba(54,128,103,.75); transform: translate(-50%,-50%) scale(1.06); }
.cardhint-inline { font-size: 11px; color: var(--text-dim); font-weight: 400; }
.segs--sm button { padding: 5px 10px; font-size: 12px; }

/* ---- Font seçici (Google Fonts chip'leri) ---- */
.setrow--font { align-items: flex-start; }
.fontchips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 540px; max-height: 118px; overflow-y: auto; padding: 2px; }
.fontchips::-webkit-scrollbar { width: 7px; }
.fontchips::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.fontchip { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); border-radius: 9px; padding: 6px 11px; font-size: 14px; line-height: 1.1; cursor: pointer; transition: border-color .15s, background .15s; white-space: nowrap; }
.fontchip:hover { border-color: var(--border-lt); background: var(--ov-1, rgba(255,255,255,.05)); }
.fontchip.is-active { border-color: var(--violet); background: rgba(54,128,103,.16); box-shadow: 0 0 0 2px rgba(54,128,103,.25); }
.chunklist__empty { padding: 14px; text-align: center; color: var(--text-dim); font-size: 13px; border: 1px dashed var(--border); border-radius: 9px; }

/* ---- Reaction / Split editörü ---- */
.rxstack { position: absolute; inset: 0; display: flex; flex-direction: column; }
.rxstack[hidden] { display: none; }
.rxslot { position: relative; overflow: hidden; background: #000; height: 60%; }
.rxslot + .rxslot { height: 40%; }
.rxslot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rxslot__hint { position: absolute; inset: 0; display: grid; place-items: center; color: #A8B2AC; font-size: 13px; pointer-events: none; }
.rxslot__hint[hidden] { display: none; }
.rxdivider { position: relative; height: 0; z-index: 5; cursor: ns-resize; touch-action: none; }
.rxdivider::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; background: rgba(54,128,103,.9); box-shadow: 0 0 8px rgba(54,128,103,.7); }
.rxdivider::after { content: "⇕"; position: absolute; left: 50%; top: -13px; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 13px; }
.slotinfo { font-size: 13px; color: var(--text-mute); padding: 8px 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#rxResult { width: 100%; height: 100%; object-fit: contain; background: #000; }
.rxstack .rxslot video { cursor: grab; touch-action: none; }
.rxstack .rxslot video:active { cursor: grabbing; }

/* Top / Bottom sürükle-bırak kutuları (Media'dan klip al) */
.rxboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rxbox { display: flex; flex-direction: column; gap: 8px; min-height: 84px; background: var(--bg-card); border: 1.5px dashed var(--border-lt); border-radius: 14px; padding: 11px 13px; transition: border-color .18s, background .18s; }
.rxbox.is-over { border-color: var(--violet); background: rgba(54,128,103,.09); }
.rxbox.is-filled { border-style: solid; border-color: rgba(54,128,103,.55); background: rgba(54,128,103,.05); }
.rxbox__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text-dim); }
.rxbox__tag svg { flex: none; }
.rxbox__body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rxbox__hint { color: var(--text-dim); font-size: 12.5px; }
.rxbox__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rxbox__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text); }
.rxbox__sub { font-size: 11px; color: var(--text); }
.rxbox__thumb { flex: none; width: 40px; height: 54px; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.rxbox__x { flex: none; background: rgba(218,60,43,.12); border: 1px solid rgba(218,60,43,.4); color: var(--red, #E7766A); border-radius: 7px; cursor: pointer; font-size: 12px; line-height: 1; padding: 4px 8px; align-self: flex-start; }
.rxbox__x:hover { background: rgba(218,60,43,.22); }

/* Çıktı süresi bilgisi (Split screen): iki klip seçilince
   "videon N sn olacak" satırı. Yalnızca #rxLenNote kullanır. */
.lennote { margin: 0; font-size: 12px; line-height: 1.45; color: var(--text-mute); background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; }
.lennote[hidden] { display: none; }

/* NOT: .binthumb'ın ikinci (40x52) tanımı kaldırıldı — yukarıdaki kart tanımını
   eziyordu; iki ayrı yerde tanımlı olması zaten hataya açıktı. */
.binitem.is-dragging { opacity: .5; transform: scale(.97); }
.module__tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* Eski sabit topbar kredi göstergesi gizli (yeni token çipi .tokenchip kullanılıyor) */
.credits { display: none !important; }
/* NOT: Marketplace nav öğesi geri açıldı (kredi paketleri sayfası) — token sistemi geri geldi. */
/* Kredi/token/Free izleri kaldırıldı (hard paywall): render butonu rozeti + dashboard maliyet satırı */
/* render butonlarındaki maliyet/Free rozetleri gizli (maliyet sidebar + dashboard'da görünür) */
.cap__free, .module__foot { display: none !important; }
/* Rate-limit bilgisi (her modülde gösterilir; shell.js doldurur) */
.limits-note { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.limits-note::before { content: "🛡"; }

/* ===== Auto-post merkezi ===== */
.aptabs { display: inline-flex; gap: 2px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.aptab { background: none; border: none; color: var(--text-mute); font-family: inherit; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.aptab.is-active { background: var(--violet); color: #fff; }
.apbanner { background: rgba(54,128,103,.1); border: 1px solid var(--border); color: var(--text-mute); border-radius: 12px; padding: 11px 14px; font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.apgrid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 16px; align-items: start; }
.apcol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 900px) { .apgrid { grid-template-columns: 1fr; } }

.appick { cursor: pointer; border: 2px solid transparent; transition: border-color .15s, transform .1s; }
.appick:hover { transform: translateY(-2px); }
.appick.is-sel { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.25); }
/* 50 oge siniri dolunca SECILMEMIS kartlar kilitli gorunur (tiklamayi kod zaten
   reddediyordu; artik gozle de belli). Secili kartlar normal kalir — cikarma serbest. */
.appick.is-locked { opacity: .38; cursor: not-allowed; }
.appick.is-locked:hover { transform: none; }

.apchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.apchip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-mute); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.apchip.is-on { background: rgba(54,128,103,.18); border-color: var(--violet); color: #fff; }
.apchip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }

.apta { width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 14px; padding: 11px 13px; resize: vertical; }
.apta:focus { outline: none; border-color: var(--violet); }
.apta__count { text-align: right; font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.apinput { flex: 1; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 13px; padding: 8px 10px; color-scheme: dark; }
.apinput:focus { outline: none; border-color: var(--violet); }

/* calendar */
.apcal__nav { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.apcal__head { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; margin-bottom: 8px; }
.apcal__head span { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
.apcal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; }
.apcal__cell { min-height: 132px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 9px; display: flex; flex-direction: column; gap: 5px; }
.apcal__cell.is-empty { background: transparent; border: none; }
.apcal__day { font-size: 12.5px; color: var(--text-dim); font-weight: 700; }
.apcal__post { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--violet); border-radius: 7px; padding: 4px 7px; cursor: pointer; overflow: hidden; line-height: 1.3; }
.apcal__pt { font-weight: 700; white-space: nowrap; }
.apcal__ics { display: inline-flex; gap: 2px; }
.apcal__ic { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.apcal__ic svg { width: 9px; height: 9px; fill: currentColor; }
.apcal__more { font-size: 10.5px; font-weight: 700; color: var(--text-dim); padding: 1px 4px; cursor: default; }
/* view toggle */
.apcal__views { display: inline-flex; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px; padding: 3px; gap: 2px; }
.apseg__btn { background: transparent; border: 0; color: var(--text-mute); font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 7px; cursor: pointer; }
.apseg__btn.is-active { background: var(--violet); color: #fff; }
/* week view */
.apweek { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.apweek__col { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; min-height: 360px; display: flex; flex-direction: column; }
.apweek__col.is-today { border-color: var(--violet); }
.apweek__colhead { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.apweek__colhead span { font-size: 11px; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }
.apweek__colhead b { font-size: 15px; }
.apweek__list { display: flex; flex-direction: column; gap: 6px; padding: 8px; overflow-y: auto; }
.apweek__post { display: flex; flex-direction: column; gap: 4px; background: var(--violet); color: #fff; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.apweek__post .apcal__cap { font-size: 11px; opacity: .9; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.apweek__post.is-draft { background: var(--bg-elev); color: var(--text-mute); border: 1px solid var(--border-lt); }
.apweek__post.is-posted { background: var(--green); }
.apweek__post.is-failed { background: #b43021; }

/* ---- Mobil TEK GÜN görünümü (ay ızgarası yerine) ---- */
.apday { display: none; flex-direction: column; gap: 14px; }
.apday__nav { position: relative; display: flex; align-items: center; gap: 10px; }
.apday__nav .minibtn { font-size: 18px; padding: 8px 14px; flex: none; }
.apday__pick { flex: 1; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); font-family: inherit; font-weight: 800; font-size: 15px; padding: 11px 12px; border-radius: 10px; cursor: pointer; text-align: center; }
.apday__date { position: absolute; left: 50px; right: 50px; top: 0; bottom: 0; width: auto; opacity: 0; cursor: pointer; color-scheme: dark; }
.apday__panel { display: flex; flex-direction: column; gap: 10px; }
.apday__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; min-height: 340px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; color: var(--text-dim); padding: 24px; }
.apday__empty p { font-size: 14px; }
.apday__add { font-size: 13px; font-weight: 700; color: var(--text); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; }

/* gün kartları (ajanda kart sınıflarını yeniden kullanır) */
.apagenda__post { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--violet); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.apagenda__post.is-draft { border-left-color: var(--text-dim); }
.apagenda__post.is-posted { border-left-color: var(--green); }
.apagenda__post.is-failed { border-left-color: #d44232; }
.apagenda__top { display: flex; align-items: center; gap: 8px; }
.apagenda__time { font-size: 14px; font-weight: 800; }
/* Durum rozeti: renkli pill (mobilde yeşil nokta ile üst üste binme fix'i —
   nokta ajanda kartında gizlenir, rengi zaten pill taşır) */
.apagenda__top { padding-right: 20px; }
.apagenda__st { margin-left: auto; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); padding: 3px 9px; border: 1px solid var(--border-lt); border-radius: 999px; background: var(--bg-elev); white-space: nowrap; }
.apagenda__post.is-posted .apagenda__st, .apagenda__post.is-published .apagenda__st { color: var(--leaf-dark, #81d5ab); border-color: rgba(96,202,149,.35); background: rgba(96,202,149,.10); }
.apagenda__post.is-failed .apagenda__st { color: var(--red, #E7766A); border-color: rgba(212,66,50,.4); background: rgba(212,66,50,.10); }
.apagenda__cap { font-size: 13.5px; color: var(--text-mute); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

@media (max-width: 700px) {
  .calx__head { display: none; }     /* ay başlığı gizli — gün görünümünün kendi nav'ı var */
  #apCal { display: none; }
  .apday { display: flex; }
}
@media (max-width: 820px) { .apweek { grid-template-columns: 1fr; } .apweek__col { min-height: auto; } }
@media (max-width: 720px) { .apcal__cell { min-height: 84px; padding: 5px 6px; } .apcal__post { font-size: 10.5px; padding: 3px 5px; } }
.apcal__post.is-draft { background: var(--bg-elev); color: var(--text-mute); border: 1px solid var(--border-lt); }
.apcal__post.is-posted { background: var(--green); }
.apcal__post.is-failed { background: #b43021; }
/* Calendar chip: hesap nick + sil butonu + daha net ikon */
.apcal__post { position: relative; padding-right: 20px; }
.apcal__who { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96px; }
.apcal__ic { width: 20px; height: 20px; display: grid; place-items: center; }
.apcal__ic svg { width: 14px; height: 14px; display: block; }
.apcal__x { position: absolute; top: 50%; right: 3px; transform: translateY(-50%); width: 16px; height: 16px; padding: 0; border: none; border-radius: 5px; background: rgba(0,0,0,.30); color: #fff; font-size: 10px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; display: grid; place-items: center; }
.apcal__post:hover .apcal__x { opacity: 1; }
.apcal__x:hover { background: #b43021; }
.apcal__cell { min-height: 138px; }
.apagenda__post { position: relative; }
.apagenda__post .apcal__x { opacity: 1; top: 10px; transform: none; }

/* Yayınlandı → belirgin yeşil nokta (X yerine) */
.apcal__done { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: #60ca95; box-shadow: 0 0 0 2px rgba(96,202,149,.28); flex: 0 0 auto; }
.apagenda__post .apcal__done { display: none; }   /* ajanda kartında rozet pill'i durumu taşıyor — nokta "POSTED" yazısına biniyordu */
.apweek__post .apcal__done { top: 10px; }

/* Hafta görünümü: gün kolonu çok postta site-uyumlu scroll (global scrollbar stili) */
.apweek__list { max-height: 62vh; overscroll-behavior: contain; }

/* "+N more" tıklanabilir */
.apcal__more { cursor: pointer; }
.apcal__more:hover { color: var(--violet-light); text-decoration: underline; }

/* Buton spinner (Posting/Scheduling…) */
.btnspin { display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -3px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: btnspin .7s linear infinite; }
@keyframes btnspin { to { transform: rotate(360deg); } }
/* Posts kartı: zamanlanan hesap nick'i */
.appost__who { font-size: 12px; font-weight: 600; color: var(--text-mute); align-self: center; }

/* connections */
.apconns { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.apconn { display: flex; align-items: center; gap: 12px; background: transparent; border: 1px solid var(--border-lt); border-radius: 11px; padding: 10px 13px; color: var(--text); box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.apconn__name { font-weight: 600; color: var(--text); }
.apconn__name small { color: var(--text-dim); }
.apconn__ok { color: var(--green); font-size: 12.5px; font-weight: 700; }
.apconn .btn { margin-left: auto; }
.apconn__av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.apconn__badge { display: inline-grid; place-items: center; margin-left: 2px; }

/* ===== Auto-post v2 (Post-Bridge tarzı, sıkışık olmayan layout) ===== */
.apbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.aphead { font-size: 24px; font-weight: 800; }
.apcompose { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 18px; align-items: start; }
@media (max-width: 980px) { .apcompose { grid-template-columns: 1fr; } .apside { position: static !important; } }
.apmain { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.apside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.apcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.apcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.apcard__head h4 { font-size: 15px; font-weight: 700; }
.apcard__hint { font-size: 12px; color: var(--text-dim); }

/* NOT: .apavatars'in GUNCEL tanimi asagida (hesap secici grid'i, ~1163).
   Buradaki eski flex tanimi bilerek birakildi: ayni sinifin daha sonra gelen
   kurali kazanir; silinirse tek yerde toplanir ama .apav (asagi) ile birlikte
   kullanan olu markup varsa kirmasin diye dokunulmadi. */
.apav { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 78px; padding: 10px 6px; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; color: var(--text-mute); transition: border-color .15s, background .15s, color .15s; }
.apav:hover { border-color: var(--border-lt); }
.apav.is-on { border-color: var(--violet); background: rgba(54,128,103,.12); color: #fff; }
.apav__ic { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-elev); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.apav.is-on .apav__ic { background: var(--violet); color: #fff; }
.apav__nm { font-size: 11px; font-weight: 600; }
.apav__dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg-card); }

.apmedia { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px dashed var(--border-lt); border-radius: 12px; color: var(--text-dim); font-size: 13.5px; margin-bottom: 12px; }
.apmedia__icon { font-size: 22px; line-height: 0; color: var(--text-mute); }
.apmedia__icon svg { display: block; margin: 0 auto; }
.apmedia__grid { max-height: 340px; overflow-y: auto; padding: 2px; }
/* Compose (wizard): alttaki boşluk ölmesin — grid viewport'a göre uzar (~15px pay) */
.composex .apmedia__grid { max-height: max(340px, calc(100vh - 520px)); max-height: max(340px, calc(100svh - 520px)); }
.appick__tick { position: absolute; top: 6px; right: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
/* "Scheduled" rozeti — zaten planlanmış videoyu ikinci kez schedule etmeyi önler */
.appick__sched { position: absolute; top: 6px; right: 6px; z-index: 2; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text, #f8eee3); background: rgba(54,128,103,.9); padding: 3px 8px; border-radius: 999px; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.appick.is-sel .appick__sched { top: 33px; }   /* seçim tiki üstteyken altına kay */

.apsched__row { display: flex; gap: 8px; margin-bottom: 8px; }

/* Custom time picker (native <input type=time> yerine) */
.tpick { position: relative; flex: 1; min-width: 0; }
.tpick__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; cursor: pointer; color: var(--text); }
.tpick__val { font-variant-numeric: tabular-nums; font-weight: 600; }
.tpick__btn > svg { flex: 0 0 auto; color: var(--text-mute); }
/* AŞAĞI açılır: yukarı açıldığında Publish adımının üstüne taşıp ekran dışında
   kalıyor ve tıklanamıyordu. z-index yüksek → hiçbir kartın/komşunun altında kalmaz
   (modal içindeyken de modalin kendi stacking context'i sınırladığı için güvenli). */
.tpick__pop {
  position: absolute; z-index: 900; left: 0; right: 0; top: calc(100% + 6px);
  min-width: 208px;   /* dar alanda (manuel satırlar) saat/dakika sütunları sıkışmasın */
  background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; transform: translateY(-6px); transition: opacity .14s ease, transform .14s ease;
}
.tpick__pop.is-open { opacity: 1; transform: none; }
.tpick__pop[hidden] { display: none; }
/* Klavyeden saat yazma (2026-08): native input gizlenince yazma kaybolmustu.
   Yazma alani butonun YERINE gecer -> satirin yuksekligi/hizasi degismez,
   .apinput ile ayni govdeyi kullanir (mobil + web ayni gorunur). */
.tpick__edit {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: var(--bg-elev); border: 1px solid var(--violet); color: var(--text);
  font-family: inherit; font-size: 15px; font-weight: 700; text-align: center;
  font-variant-numeric: tabular-nums; outline: none;
}
.tpick__edit[hidden] { display: none; }
/* Acilir listenin en ustundeki "Type a time" satiri */
.tpick__type {
  display: block; width: 100%; margin-bottom: 6px; padding: 8px 10px; border: 0;
  border-radius: 9px; background: var(--bg-elev); color: var(--text-mute);
  font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: background .12s, color .12s;
}
.tpick__type:hover { background: var(--violet); color: #fff; }
.tpick__cols { display: flex; align-items: stretch; gap: 4px; }
.tpick__col {
  flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; padding: 2px;
  max-height: 216px; overflow-y: auto; scroll-snap-type: y proximity; scrollbar-width: thin;
}
.tpick__sep { align-self: center; font-weight: 800; font-size: 18px; color: var(--text-dim); }
.tpick__opt {
  scroll-snap-align: center; text-align: center; padding: 10px 6px; border-radius: 10px;
  background: transparent; border: 0; color: var(--text-mute); font-family: inherit;
  font-size: 15px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background .12s, color .12s;
}
.tpick__opt:hover { background: var(--bg-elev); color: var(--text); }
.tpick__opt.is-sel { background: var(--violet); color: #fff; }
.tpick__opt.is-off { opacity: .28; cursor: not-allowed; pointer-events: none; }
/* AM/PM ipuçları (ABD'li kullanıcılar için) — değer 24s kalır, bunlar salt gösterim */
.tpick__val small { margin-left: 7px; font-size: 11px; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tpick__opt small { display: block; margin-top: 1px; font-size: 9.5px; font-weight: 700; color: var(--text-dim); letter-spacing: .02em; }
.tpick__opt.is-sel small { color: rgba(255, 255, 255, .8); }
.tpick__m .tpick__opt { align-self: stretch; }
@media (max-width: 560px) {
  .tpick__col { max-height: 44vh; max-height: 44svh; }
  .tpick__opt { padding: 12px 6px; font-size: 16px; }
}

/* Custom date picker (native <input type=date> yerine) */
.dpick { position: relative; flex: 1; min-width: 0; }
.dpick__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; cursor: pointer; color: var(--text); }
.dpick__val { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dpick__btn > svg { flex: 0 0 auto; color: var(--text-mute); }
.dpick__pop {
  position: absolute; z-index: 900; left: 0; top: calc(100% + 6px); width: 292px; max-width: 88vw;
  background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px;
  opacity: 0; transform: translateY(-6px); transition: opacity .14s ease, transform .14s ease;
}
.dpick__pop.is-open { opacity: 1; transform: none; }
.dpick__pop[hidden] { display: none; }
.dpick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dpick__title { font-weight: 800; font-size: 14.5px; color: var(--text); }
.dpick__nav {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-mute);
  font-size: 18px; line-height: 1; cursor: pointer; transition: background .12s, color .12s;
}
.dpick__nav:hover { background: var(--bg-elev); color: var(--text); }
.dpick__wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.dpick__wd span { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.dpick__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dpick__cell {
  aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 9px;
  background: transparent; border: 0; color: var(--text); font-family: inherit;
  font-size: 13px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background .12s, color .12s;
}
.dpick__cell.is-empty { pointer-events: none; }
.dpick__cell:hover:not(:disabled) { background: var(--bg-elev); }
.dpick__cell.is-today { box-shadow: inset 0 0 0 1.5px var(--border-lt); }
.dpick__cell.is-sel { background: var(--violet); color: #fff; box-shadow: none; }
.dpick__cell:disabled { color: var(--text-dim); opacity: .4; cursor: default; }
.dpick__foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.dpick__today { background: none; border: 0; color: var(--violet-light); font-weight: 700; font-size: 12.5px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.dpick__today:hover { background: var(--bg-elev); }
@media (max-width: 560px) {
  .dpick__pop { width: 300px; }
  .dpick__cell { font-size: 14px; }
}
/* NOT: aşağı açılma artık VARSAYILAN (yukarıdaki .tpick__pop/.dpick__pop) —
   buradaki eski .pedit__field istisnasına gerek kalmadı.
   Manuel satırlarda tarih/saat alanı satırın SAĞ ucunda: 292px'lik takvim sola
   çapalanırsa sağdan taşar → o satırlarda sağ kenara çapala (min-width sayesinde
   dar butonda bile popup sola doğru genişler, saat sütunları sıkışmaz). */
.apmanrow .dpick__pop, .apmanrow .tpick__pop { left: auto; right: 0; }
.apsched__hint { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
.apsched__note { font-size: 12px; color: var(--green); margin-top: 10px; }
.apswitch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.apswitch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.apswitch__track { position: absolute; inset: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; transition: background .15s; pointer-events: none; }
.apswitch__track::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s; }
.apswitch input:checked + .apswitch__track { background: var(--violet); border-color: var(--violet); }
.apswitch input:checked + .apswitch__track::before { transform: translateX(18px); }

/* ---- Preview phone (big, TikTok/Instagram chrome) ---- */
.appreview-card { position: sticky; top: 16px; }
.apphone { position: relative; aspect-ratio: 9/16; width: 100%; max-width: 360px; margin: 4px auto 0; background: #000; border-radius: 22px; overflow: hidden; border: 3px solid var(--bg, #111110); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.apphone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.apphone__chrome { position: absolute; inset: 0; pointer-events: none; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.apphone__top { position: absolute; top: 12px; left: 12px; right: 12px; font-weight: 700; font-size: 13px; }
.apphone__right { position: absolute; right: 10px; bottom: 90px; display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 22px; }
.apphone__right .apphone__av { width: 34px; height: 34px; border-radius: 50%; background: #368067; border: 2px solid #fff; }
.apphone__right .apphone__disc { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle,var(--border, #343331) 30%,#000 32%); border: 2px solid var(--border-lt, #575552); }
.apphone__bottom { position: absolute; left: 12px; right: 56px; bottom: 16px; }
.apphone__h { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.apphone__cap { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.apphone--instagram .apphone__right { bottom: 70px; }
.apphone__empty { aspect-ratio: 9/16; max-width: 360px; margin: 4px auto 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: var(--bg-soft); border: 1px dashed var(--border-lt); border-radius: 18px; color: var(--text-dim); padding: 22px; }
.apphone__empty span { font-size: 34px; }
.apphone__empty p { font-size: 13px; max-width: 230px; }

/* ---- Selected videos strip ---- */
.apsel { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px,1fr)); gap: 8px; margin-top: 12px; }
.apsel:empty { display: none; }
.apselbox { position: relative; aspect-ratio: 9/16; border-radius: 9px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.apselbox video { width: 100%; height: 100%; object-fit: cover; }
.apselbox__n { position: absolute; top: 3px; left: 4px; font-size: 10px; font-weight: 800; color: #fff; background: rgba(0,0,0,.55); border-radius: 5px; padding: 1px 5px; }
.apselbox__x { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 5px; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; cursor: pointer; line-height: 1; }
.apselbox__x:hover { background: #d33b2a; }
/* Yükleme ilerlemesi (kutunun alt şeridi): yüzde çubuğu + etiket */
.apselbox__up { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; }
.apselbox__upbar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(54,128,103,.72); transition: width .2s ease; }   /* (2026-09-19) kahve (166,109,44) rebrand kalintisiydi → marka yesili */
.apselbox__up b { position: relative; color: #fff; font: 700 11px/1 var(--font); letter-spacing: .02em; }

/* ---- Per-video caption blocks ---- */
.apcapblock { margin-bottom: 12px; }
.apcapblock + .apcapblock { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 18px; }   /* videolar arasi ince ayrac */
.apcapblock__h { font-size: 12.5px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.apcapblock__h small { color: var(--text-dim); font-weight: 500; margin-left: 6px; }

/* ---- Bulk schedule fields ---- */
.apfield { display: block; margin-bottom: 10px; }
.apfield > span:first-child { display: block; font-size: 12px; color: var(--text-dim); font-weight: 600; margin-bottom: 4px; }
.apmanrow { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 7px; }
.apmanrow__n { font-size: 12px; font-weight: 700; color: var(--text-mute); }

/* ---- Compose: sağ kolon TAMAMEN SABİT (kaymaz). Sadece sol kolon kayar. ---- */
/* SOL: içerik kendi içinde kayar; Schedule en altta SABİT (kaymaz). */
.composeleft { overflow: visible !important; gap: 0 !important; }
.composeleft__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 13px; padding-right: 6px; }
.composeleft__scroll::-webkit-scrollbar { width: 8px; }
.composeleft__scroll::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.composeleft__scroll::-webkit-scrollbar-track { background: transparent; }
.composeleft .apsched--fixed { flex: none; margin-top: 12px; }
/* SAĞ: altında render butonu YOK → preview'e biraz daha yükseklik ver AMA viewport'a bağlı
   (içerik yüksekliğine değil) → taşmaz, sola binmez. Dolu görünür. */
.composeright { --ph: calc(100vh - 230px); --ph: calc(100svh - 230px); }
/* sabit schedule — preview ile aynı genişlik (kolon) */
.apsched--fixed { flex: 0 0 auto; width: 100%; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.apsched--fixed.is-locked { opacity: .45; pointer-events: none; filter: grayscale(.3); }
.apsched--fixed .apcard__head { margin-bottom: 8px; }
.apsched--fixed .apsched__row { margin-bottom: 6px; }
.apsched--fixed .apsched__hint { margin-bottom: 6px; }
/* NOT: manuel liste ARTIK kaymıyor — tarih/saat popup'ı position:absolute olduğu
   için scroll kabı onu kırpıyordu (bkz. aşağıdaki #bulkManual kuralı). */
.apsched__actions { flex: none; padding-top: 8px; }
/* "+ ekle" bloğu (seçili videoların yanında, aynı boyut) */
/* ===== CAROUSEL (2026-09-19 Emre): coklu gorsel = tek kaydirmali post. Gruplama seritte; kutulasma YOK —
   eylem satiri seffaf, grup kutusu seritteki diger kutularla AYNI olcu (9:16), icinde 2x2 mozaik. ===== */
.carbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; min-height: 34px; }
.carbar[hidden] { display: none; }
.carbar + .apsel { margin-top: 8px; }
.carbar__txt { flex: 1 1 200px; min-width: 0; font: 500 12.5px/1.4 var(--font); color: var(--text-dim); }
.carbar__txt b { color: var(--text); font-weight: 700; }
.carbar__act, .carbar__link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 7px 2px; font: 700 12.5px var(--font); cursor: pointer; border-radius: 8px; }
.carbar__act { color: var(--violet-light, var(--violet)); }
.carbar__act:hover, .carbar__link:hover { text-decoration: underline; }
.carbar__link { color: var(--text-mute); }
.carbar__act svg, .carbar__go svg { width: 15px; height: 15px; flex: none; display: block; }
.carbar__go { display: inline-flex; align-items: center; gap: 7px; }
.carbar__go:disabled { opacity: .45; cursor: default; }
.apselbox.is-pick { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease; }
.apselbox.is-pick:not(.is-picked) { opacity: .5; }
.apselbox.is-pick:hover { opacity: 1; }
.apselbox.is-picked { box-shadow: 0 0 0 2px var(--violet); border-color: transparent; }
.apselbox.is-pick .apselbox__x { display: none; }
.apselbox__pick { position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.85); color: transparent; }
.apselbox.is-picked .apselbox__pick { background: var(--violet); border-color: var(--violet); color: #fff; }
.apselbox__pick svg { width: 11px; height: 11px; display: block; }
.apselbox--car { cursor: pointer; background: var(--bg-soft); }
.apselbox--car:hover, .apselbox--car:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.28); }
.apcar { position: absolute; inset: 0; display: grid; gap: 2px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.apcar--2 { grid-template-columns: 1fr; }
.apcar--3 .apcar__c:first-child { grid-column: 1 / -1; }
.apcar__c { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #000; }
.apcar__c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apcar__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.58); color: #fff; font: 800 12px/1 var(--font); }
.apcar__badge { position: absolute; left: 4px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px 2px 4px; border-radius: 999px; background: rgba(0,0,0,.66); color: #fff; font: 800 10px/1 var(--font); }
.apcar__badge svg { width: 11px; height: 11px; display: block; }
.pubrev__car { position: absolute; left: 3px; bottom: 3px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 5px 2px 3px; border-radius: 999px; background: rgba(0,0,0,.66); color: #fff; font: 800 9.5px/1 var(--font); pointer-events: none; }
.pubrev__car svg { width: 10px; height: 10px; display: block; }
/* duzenleyici pop-up'i (socmodal dili; yukseklik ICERIGE gore — olu alan yok) */
#carModal { place-items: start center; }
.socmodal__card.carm__card { width: min(620px, 94vw); margin-top: clamp(16px, 9vh, 96px); max-height: calc(100vh - clamp(16px, 9vh, 96px) - 24px); overflow: hidden; display: flex; flex-direction: column; }
.carm { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 2px 16px 16px; overflow-y: auto; overscroll-behavior: contain; }
.carm__lead { margin: 0; font: 500 12.5px/1.5 var(--font); color: var(--text-dim); }
.carm__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 10px; }
.carm__it { min-width: 0; cursor: grab; border-radius: 12px; transition: transform .12s ease, opacity .12s ease; }
.carm__it.is-drag { opacity: .4; cursor: grabbing; }
.carm__it.is-over .carm__th { box-shadow: 0 0 0 2px var(--violet); }
.carm__th { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.carm__th img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.carm__n { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 7px; display: grid; place-items: center; background: rgba(0,0,0,.66); color: #fff; font: 800 11px/1 var(--font); }
.carm__cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 999px; background: var(--violet); color: #fff; font: 800 9.5px/1 var(--font); letter-spacing: .03em; text-transform: uppercase; }
.carm__rm { position: absolute; right: 5px; top: 5px; width: 22px; height: 22px; border-radius: 7px; border: 0; background: rgba(0,0,0,.62); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; }
.carm__rm:hover { background: #d33b2a; }
.carm__ctl { display: flex; gap: 6px; margin-top: 6px; }
.carm__mv { flex: 1 1 0; min-height: 30px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-mute); font-size: 11px; line-height: 1; cursor: pointer; }
.carm__mv:hover:not(:disabled) { color: var(--text); border-color: var(--border-lt); background: var(--ov-2, rgba(255,255,255,.07)); }
.carm__mv:disabled { opacity: .3; cursor: default; }
.carm__warn { margin: 0; font: 600 12px/1.45 var(--font); color: var(--text-dim); }
.carm__warn.is-bad { color: var(--orange, #E9B367); }
.carm__morelbl { font: 700 11.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.carm__pool { display: flex; flex-wrap: wrap; gap: 8px; }
.carm__add { position: relative; width: 52px; height: 65px; padding: 0; border-radius: 10px; overflow: hidden; border: 1px dashed var(--border-lt, var(--border)); background: #000; cursor: pointer; }
.carm__add img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .72; }
.carm__add:hover { border-style: solid; border-color: var(--violet); }
.carm__add:hover img { opacity: 1; }
.carm__plus { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 18px/1 var(--font); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
@media (max-width: 560px) {
  #carModal { place-items: end center; }
  .socmodal__card.carm__card { width: 100vw; max-width: 100vw; margin-top: 0; max-height: 92vh; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .carm { padding: 2px 14px 12px; }
  .carm__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .carm__mv { min-height: 34px; }
  .carbar__act span { white-space: normal; text-align: left; }
}
.apselbox--add { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-lt); background: var(--bg-soft); color: var(--text-dim); font-size: 26px; font-weight: 300; cursor: pointer; }
.apselbox--add:hover { color: var(--violet-light); border-color: var(--violet); }
/* (2026-09-17 Emre) Serit "+" kutusu iki kare: ustte bilgisayar, altta Google Drive — toplam bir kart boyu */
.apselbox--src { flex-direction: column; padding: 0; font-size: inherit; font-weight: inherit; cursor: default; }
.apselbox--src .apsrc { flex: 1 1 50%; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--text-dim); font-family: inherit; cursor: pointer; padding: 4px 2px; transition: color .15s, background .15s; }
.apselbox--src .apsrc + .apsrc { border-top: 1px dashed var(--border-lt); }
.apselbox--src .apsrc svg { width: 20px; height: 20px; display: block; }
.apselbox--src .apsrc small { font-size: 8.5px; font-weight: 700; line-height: 1.1; text-align: center; letter-spacing: 0; white-space: nowrap; }
.apselbox--src .apsrc:hover { color: var(--violet-light); background: rgba(54,128,103,.08); }
.apselbox--src.is-over { border-style: solid; border-color: var(--violet); }
@media (max-width: 560px) { .apselbox--src .apsrc small { display: none; } .apselbox--src .apsrc svg { width: 18px; height: 18px; } }

/* ---- Report bug (sidebar butonu + modal) ---- */
.sidebar__bug { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.bugmodal { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.bugmodal[hidden] { display: none; }
.bugmodal__box { width: 100%; max-width: 440px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-lg); }
.bugmodal__box h3 { margin: 0 0 4px; font-size: 18px; }
.bugmodal__hint { font-size: 13px; color: var(--text-dim); margin: 0 0 12px; }
.bugmodal textarea { width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; padding: 10px 12px; resize: vertical; }
.bugmodal textarea:focus { outline: none; border-color: var(--violet); }
.bugmodal__file { display: inline-block; margin: 10px 0; cursor: pointer; font-size: 13px; color: var(--violet-light); }
.bugmodal__err { color: var(--red, #E7766A); font-size: 12.5px; margin: 6px 0 0; }
.bugmodal__row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* ---- Notifications (zil + panel) ---- */
.notifbell { position: relative; background: none; border: 0; color: var(--text-mute); cursor: pointer; padding: 6px; border-radius: 8px; display: inline-grid; place-items: center; }
.notifbell:hover { color: var(--text); background: var(--bg-elev); }
.notifbell__dot { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--red, #da3c2b); border: 2px solid var(--bg, #121211); }

/* Token / kredi çipi (appbar sağ, bildirimin solunda) */
.tokenchip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border-lt); color: var(--text); font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.tokenchip:hover { border-color: var(--violet); background: rgba(54,128,103,.16); box-shadow: 0 0 0 3px rgba(54,128,103,.12); }
.tokenchip__ic { flex: none; display: block; }
.tokenchip__n { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
@media (max-width: 820px) {
  .tokenchip { padding: 7px 13px 7px 10px; font-size: 15px; gap: 7px; }
}
.notifpanel { position: fixed; z-index: 400; width: 340px; max-width: 92vw; max-height: 70vh; max-height: 70svh; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.notifpanel[hidden] { display: none; }
.notifpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
/* font-family: inherit → buton varsayılan olarak Arial'a düşüyordu */
.notifpanel__clear { background: none; border: 0; color: var(--text); font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px 6px; border-radius: 7px; }
.notifpanel__clear:hover { background: rgba(54,128,103,.16); }
.notifpanel__acts { display: inline-flex; align-items: center; gap: 2px; }
/* ~4.5 bildirim görünür; yarım kalan kasıtlı (aşağı kaydırılabilir sinyali) */
.notifpanel__list { overflow-y: auto; max-height: 333px; overscroll-behavior: contain; }
.notifempty { padding: 26px 14px; text-align: center; color: var(--text-dim); font-size: 13px; }
/* Satır düzeni: [ikon] [başlık + zaman / gövde] [sil].
   Eskiden ikon 30px'ti ve içindeki glif 14px — ne olduğu okunmuyordu; zaman en
   altta tam tarih olarak yer kaplıyordu; sil butonu başlığın üstüne biniyordu. */
.notifitem { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.notifitem.is-unread { background: var(--ov-2, rgba(255,255,255,.07)); }
.notifitem__c { min-width: 0; }
.notifitem__top { display: flex; align-items: baseline; gap: 8px; }
/* Sol ikon dairesi: MM logosu / platform logosu / araç / posting / genel */
.notifitem__ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; overflow: hidden; }
.notifitem__ic svg { display: block; }
.notifitem__ic--mm { background: var(--bg-soft); border: 1px solid var(--ov-3, rgba(255,255,255,.12)); color: var(--text-mute); }   /* (2026-09-19) kahve yedek renk (#1c140a) kaldirildi; ikon rengi temaya bagli — acik temada beyaz ikon beyaz zeminde kayboluyordu */
.notifitem__ic--mm img { border-radius: 4px; display: block; }
.notifitem__ic--tool { background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text-mute); }
.notifitem__ic--post { background: rgba(54,128,103,.16); color: var(--violet-light); }   /* (2026-09-19 Emre) eski kahve tonu (186,122,49) rebrand'den kalmaydi → marka yesili; ikon rengi temaya gore (koyu: acik yesil, acik: koyu yesil) */
.notifitem__ic--gen { background: var(--bg-elev); color: var(--text-mute); }
.notifitem__ic--ref { background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text-mute); }
/* Hover'da beliren silme butonu */
/* Sil: artık akışın içinde, dikeyde ortalı — başlığın üstüne binmiyor */
/* HER ZAMAN görünür: hover'da belirince satırların sağı boş/dengesiz duruyordu.
   Sönük durur, üstüne gelince kırmızıya döner. */
.notifitem__del { align-self: center; width: 30px; height: 30px; display: grid; place-items: center; background: none; border: 0; border-radius: 9px; color: var(--text-dim); opacity: .45; cursor: pointer; transition: opacity .12s ease, background .12s ease, color .12s ease; }
.notifitem:hover .notifitem__del { opacity: .8; }
.notifitem__del:hover { opacity: 1; background: rgba(218,60,43,.16); color: var(--red, #E7766A); }
.notifitem__del svg { display: block; }
.notifitem__t { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Gövde 2 satırda kesilir — uzun mesajlar paneli şişirmesin */
.notifitem__b { font-size: 12.5px; color: var(--text-mute); margin-top: 3px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notifitem__d { flex: none; font-size: 10.5px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.notifitem--error .notifitem__t { color: var(--red, var(--red, #E7766A)); }
.notifitem--success .notifitem__t { color: var(--leaf-dark, #b9e8d1); }
.notifitem--warning .notifitem__t { color: var(--orange, #E9B367); }
/* (2026-09-19) Detayli bildirimler (neden dustu + ne yapmali) 2 satira sigmaz: satira tiklayinca TAM metin acilir */
.notifitem.is-long { cursor: pointer; }
.notifitem.is-open .notifitem__t { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.notifitem.is-open .notifitem__b { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; overflow-wrap: anywhere; }
.notifitem__more { display: none; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--violet-light); }
.notifitem.is-long .notifitem__more { display: inline-block; }

/* ---- Paywall (tam ekran temiz plan sayfası) ---- */
.paywall-body { overflow-y: auto; }
.paywall-body.app-loading .pwtop, .paywall-body.app-loading .paywall { visibility: hidden; }
.pwbg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pwbg span { position: absolute; border-radius: 50%; filter: blur(95px); }
.pwbg span:nth-child(1) { width: 460px; height: 460px; background: var(--violet); top: -130px; left: -110px; opacity: .32; }
.pwbg span:nth-child(2) { width: 540px; height: 540px; background: var(--violet-dark, #286B52); bottom: -180px; right: -130px; opacity: .22; }
.pwbg span:nth-child(3) { width: 380px; height: 380px; background: var(--leaf-2, #39836A); top: 38%; left: 56%; opacity: .15; }
.pwtop { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 28px; }
.pwtop__right { display: flex; gap: 10px; align-items: center; }
.paywall { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 6px 22px 36px; text-align: center; }
.paywall__head { max-width: 660px; margin: 0 auto 14px; }
.paywall__head h1 { font-size: 32px; font-weight: 900; letter-spacing: -.02em; margin: 0; }
.paywall__head p { color: var(--text-mute); font-size: 15.5px; line-height: 1.6; margin: 0; }
.paywall__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; text-align: left; }
.paywall__plans[hidden] { display: none; }   /* aile seçici: display:grid, hidden'ı ezmesin */
.pwplan { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 12px 44px rgba(0,0,0,.32); }
.pwplan--featured { border-color: var(--violet); box-shadow: 0 18px 54px rgba(54,128,103,.28); transform: translateY(-6px); }
.pwplan__badge { position: absolute; top: -11px; left: 22px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pwplan__badge--alt { background: var(--bg-elev); color: var(--text-mute); border: 1px solid var(--border-lt); left: auto; right: 22px; }
.pwplan__name { font-size: 17px; font-weight: 800; margin: 0; }
.pwplan__price { font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.pwplan__price span { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.pwplan__desc { color: var(--text-dim); font-size: 13px; margin: -6px 0 4px; }
.pwplan__feat { list-style: none; padding: 0; margin: 2px 0 8px; display: flex; flex-direction: column; gap: 6px; }
.pwplan__feat li { position: relative; padding-left: 24px; font-size: 13px; color: var(--text-mute); line-height: 1.4; }
.pwplan__feat li::before { content: ""; position: absolute; left: 0; top: .3em; width: 12px; height: 12px; background: var(--violet-light); -webkit-mask: var(--tick) center/contain no-repeat; mask: var(--tick) center/contain no-repeat; }
.pwplan .btn { margin-top: auto; }
.paywall__note { color: var(--text-dim); font-size: 12.5px; margin-top: 14px; }
.paywall__note a { color: var(--violet-light); }

/* (2026-08-12) .pwfree kaldirildi: plans.html yalnizca UCRETLI planlari
   gosterir. Free'nin anlatimi landing #pricing seridinde (.lpfree). */

/* Referral kodu girişi (paywall — ilk abonelikten önce) */
.pwref { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pwref__t { color: var(--text-mute); font-size: 13px; font-weight: 600; }
.pwref input { width: 150px; padding: 8px 12px; background: var(--bg-elev); border: 1px solid var(--border-lt); border-radius: 9px; color: var(--text); font: 600 13px/1.2 "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.pwref input:focus { outline: none; border-color: var(--violet); }
.pwref__msg { font-size: 12.5px; color: var(--text-dim); }
.pwref__msg.is-err { color: var(--red, #E7766A); font-weight: 600; }
.pwref.is-done .pwref__t { color: var(--leaf-dark, #81d5ab); }

/* =========================================================
   Settings — premium düzleştirme (.setx kapsamlı):
   kutu kartlar yerine ince ayraçlarla akan şeffaf bölümler.
   ========================================================= */
.setx { max-width: 820px; }               /* API sayfasi gibi ortali-dar */
.setx .settings { gap: 0; max-width: none; }
/* adim listesi ayarlar sayfasinda biraz daha ferah dursun */
.setx .intg__steps { margin: 14px 0 4px; display: flex; flex-direction: column; gap: 16px; }
.setx .card-block { background: transparent; border: none; border-radius: 0; padding: 34px 2px; }
.setx .card-block:first-child { padding-top: 16px; }
.setx .card-block + .card-block { border-top: 1px solid var(--border); }
.setx .card-block h3 { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mute); margin-bottom: 18px; }
.setx .card-block--danger { border-top: 1px solid var(--border); }
.setx .card-block--danger h3 { color: var(--red, #E7766A); }
.setx .field input { background: var(--bg-card); }
.setx .field input:focus { box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.setx .settings__row { padding: 14px 0; }
/* ---- Settings → Post settings (2026-09-19): ag bazli varsayilan post ayarlari. Bolumler SEFFAF (kutulasma yok),
   satirlar Create post'taki disli pop-up'iyla ayni bilesenler (.popt__row / __seg / __in). ---- */
.pdef__lead { margin: 0 0 4px; max-width: 700px; line-height: 1.55; }
.pdef__status { display: block; margin-top: 8px; min-height: 18px; font-weight: 700; color: var(--text-dim); }
.pdef__status.is-ok { color: var(--violet-light); }
.pdef__status.is-bad { color: var(--red, #E7766A); }
.setx .card-block.pdef { padding: 26px 2px 20px; }
.setx .card-block.pdef[data-net="instagram"] { padding-top: 12px; }
.setx .card-block.pdef h3.pdef__h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pdef__ic { flex: none; min-width: 29px; height: 24px; display: grid; place-items: center; }   /* (2026-11-19) kutu yok; yuva 29 px = YouTube simgesinin eni → altı başlıkta ad aynı yerden başlar */
.pdef__ic svg { display: block; }
.pdef__name { flex: 1 1 auto; min-width: 0; }
.pdef__n { flex: none; font: 700 11px/1 var(--font); letter-spacing: .02em; text-transform: none; color: var(--text-dim); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--border); }
.pdef__n.is-on { color: var(--violet-light); border-color: rgba(54,128,103,.45); background: rgba(54,128,103,.10); }
.pdef__rows { max-width: none; }   /* diger Settings bolumleri gibi tam bolum genisligi: rozet + anahtarlar TEK sag kenarda */
.pdef__rows .popt__in { background: var(--bg-card); }
.setx .settings__row span { font-size: 14px; }
.setx .settings__row strong { font-size: 14px; font-weight: 700; }
.setx__hint { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-top: 2px; }
/* Satır aksiyonları: kutu buton değil, link-stil metin (Compose'daki
   "Manage accounts →" diliyle aynı) — Delete account kırmızı buton kalır. */
.setx .settings__row .btn--ghost { background: none; border: none; box-shadow: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--violet-light); border-radius: 0; }
.setx .settings__row .btn--ghost:hover { background: none; text-decoration: underline; color: var(--leaf-2, #A6E6C4); }

/* ===== Plans (paywall) — aylık/yıllık toggle + Basic/Pro/Max ===== */
/* Monthly/Yearly toggle — landing page ile aynı sekme/altçizgi stili (daha şık) */
/* Tek kontrol satırı: [aile hapı] | [Monthly/Yearly] — alt alta iki bar yok */
.pwctl { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0 auto 22px; }
.pwctl .pwtoggle { margin: 0; border-bottom: 0; }
.pwctl .pwtoggle button { padding: 10px 12px; }
.pwctl .pwtoggle button.is-active::after { bottom: 4px; }
@media (max-width: 560px) { .pwctl { gap: 10px; } }
/* (2026-11-16) dört kart tek satır (Starter / Growth / Pro / Agency); eski "Team plans" anahtarının stilleri kaldırıldı */
.pwctl { position: relative; }
/* (2026-11-15) satıştan kalkan Editing + Repurposing planının abonesi: kartı yok → kontrol satırının altında tek satır not (aynı .paywall__note malzemesi) */
.paywall__note--top { margin: -6px auto 18px; max-width: 640px; text-align: center; font-size: 13px; color: var(--text-mute); }
.paywall__note--top[hidden] { display: none; }
.paywall__plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.paywall__plans--4 .pwplan { padding: 18px 16px; }
/* son sözcük + bilgi simgesi tek parça: simge tek başına alt satıra düşmez (balonun kendi metni yine kırılır) */
.nbx { white-space: nowrap; }
.pwplan__dim { opacity: .62; }
@media (max-width: 1180px) { .paywall__plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .paywall__plans--4 .pwplan--featured { transform: none; } }
.pwtoggle { display: flex; justify-content: center; gap: 8px; width: fit-content; margin: 0 auto 40px; border-bottom: 1px solid var(--border); }
.pwtoggle button { position: relative; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--text-mute); background: none; border: 0; padding: 10px 14px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.pwtoggle button:hover { color: var(--text); }
.pwtoggle button.is-active { color: var(--text); }
.pwtoggle button.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--violet); }
/* büyük tutar (price span override) */
.pwplan__price .pwplan__amt { font-size: 30px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.pwplan__price .pwplan__cycle { font-size: 14px; font-weight: 600; color: var(--text-dim); margin-left: 3px; }
.pwplan__sub { color: var(--text-dim); font-size: 12.5px; margin: -4px 0 2px; }
/* (2026-11-16) deneme satırı: yalnız deneme hakkı olan kullanıcıda görünür (plans.js applyOffer); fiyatın hemen altında, .pwplan__sub'ın yerinde */
.pwplan__trial { color: var(--violet-light); font-size: 12.5px; font-weight: 650; margin: -4px 0 2px; }
.pwplan__trial[hidden], .pwplan__sub[hidden] { display: none; }
.paywall__head p { margin-top: 10px; }
.pwplan__credits { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-mute); padding-top: 11px; margin-top: 4px; border-top: 1px solid var(--border); }
.pwplan__credits strong { color: var(--text); font-weight: 800; }
.pwplan__coin { flex: none; }
.pwplan__inf { color: var(--violet-light); font-weight: 800; font-size: 15px; }
/* "Connect N social accounts" — önemli detay, mor vurgulu */
.pwplan__accts strong { color: var(--violet-light, #7DD4A8); }
/* Kredi başına birim fiyat rozeti (·  Xc/credit) */
.pwplan__percredit { color: var(--violet-light); font-weight: 700; font-size: 13px; }
.pwplan__percredit::before { content: "·"; margin: 0 6px; color: var(--text-dim); font-weight: 700; }
/* uzun rozetleri ortala (taşmasın) */
.pwplan__badge, .pwplan__badge--alt { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
/* (2026-11-16 akşam, Emre) dört kartlı dizilimde "Popular" etiketi kartın İÇİNDE, SAĞ üstte (plan adıyla aynı satır); üst kenara asılı / solda / ortada değil */
.paywall__plans--4 .pwplan__badge { top: 17px; right: 14px; left: auto; transform: none; padding: 4px 9px; font-size: 11px; font-weight: 700; line-height: 1.3; }
/* (2026-11-17 Emre) plan düğmelerinde ok: basılabilir olduğu belli olsun. Yalnız basılabilir düğmede (devre dışı "Current plan" / "Available after
   your trial" düğmesinde yok); CSS ile çizilir (yazı karakteri değil çizim: yazıyla GÖZ hizasında, 1 px aşağıda), düğme metni değişmez. */
.paywall__plans--4 .pwplan .btn[data-plan]:not(:disabled):not(.is-loading)::after { content: ""; display: inline-block; flex: 0 0 auto; width: 15px; height: 15px; margin-left: -1px; background: currentColor; transform: translateY(1px); transition: transform .16s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10M8.5 3.9l4.1 4.1-4.1 4.1' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10M8.5 3.9l4.1 4.1-4.1 4.1' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.paywall__plans--4 .pwplan .btn[data-plan]:not(:disabled):not(.is-loading):hover::after { transform: translate(3px, 1px); }
/* bu planda OLMAYAN madde (Starter → "No team members"): çarpı işareti, soluk yazı */
.pwplan__feat li.pwplan__no { color: var(--text-dim); }
.pwplan__feat li.pwplan__no::before { background: #E03131;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 5.5l9 9M14.5 5.5l-9 9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 5.5l9 9M14.5 5.5l-9 9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 860px) {
  .paywall__plans, .paywall__plans--4 { grid-template-columns: 1fr; max-width: 430px; margin-left: auto; margin-right: auto; }
  .pwplan--featured { transform: none; }
  .paywall__head h1 { font-size: 30px; }
}
@media (max-width: 880px) {
  .paywall__plans, .paywall__plans--4 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pwplan--featured { transform: none; }
  .paywall__head h1 { font-size: 30px; }
}
@media (max-width: 980px) {
  .composeright { width: auto; height: auto; overflow: visible; }
  .composeright .phoneframe--lg { flex: none; }
  .composeright .phoneframe { height: auto; width: 100%; max-width: 300px; margin: 0 auto; }
  /* mobilde sol içerik normal akar; Schedule sabit değil, alta düşer */
  .composeleft { overflow: visible !important; }
  .composeleft__scroll { overflow: visible; min-height: 0; }
}

.applist { display: flex; flex-direction: column; gap: 10px; }
/* (eski #apList grid kuralı kaldırıldı — Posts artık .postsx__list kullanır) */
.appost { display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 12px; position: relative; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.appost:hover { transform: translateY(-2px); border-color: var(--border-lt); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.appost__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dim); font-weight: 600; padding-right: 26px; }
.appost__time { color: var(--text-mute); }
.appost__type { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--text-mute); background: var(--bg-elev); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; }
.appost__capwrap { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; }
.appost__caplbl { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
.appost__cap { font-size: 12.5px; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; }
.appost__capempty { color: var(--text-mute); font-style: italic; }
.appost__thumb { width: 100%; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; position: relative; }
.appost__thumb video { width: 100%; height: 100%; object-fit: cover; }
.appost__thumb::after { content: "\25B6"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 30px; text-shadow: 0 2px 10px rgba(0,0,0,.7); pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.appost:hover .appost__thumb::after { opacity: 1; }
.appost__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.appost__plats { display: flex; flex-wrap: wrap; gap: 5px; }
.appost__plat { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.appost__plat svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.appost.is-highlight { box-shadow: 0 0 0 2px var(--violet), 0 0 22px rgba(54,128,103,.55); transition: box-shadow .3s; }
/* Yüklenen klip preview'ı üstünde loader (tüm edit tool'ları için ortak).
   pointer-events:none → klip hazır olmadan tıklanamaz/slot'a eklenemez (bozuk render önlenir). */
.is-uploading { position: relative; pointer-events: none; }
.is-uploading::before { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(19,15,10,.58); border-radius: inherit; }
.is-uploading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; z-index: 4; }
.appost__badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; }
.appost__badge.is-scheduled { background: rgba(54,128,103,.2); color: var(--violet-light); }
.appost__badge.is-draft { background: var(--bg-elev); color: var(--text-mute); }
.appost__badge.is-posted { background: rgba(130,213,172,.18); color: var(--leaf-dark, #b9e8d1); }
.appost__badge.is-failed { background: rgba(212,66,50,.2); color: var(--red, #E7766A); }
.appost__x { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.45); border: 1px solid var(--border); color: var(--text-mute); width: 25px; height: 25px; border-radius: 8px; cursor: pointer; font-size: 12px; line-height: 1; z-index: 2; transition: all .15s ease; }
.appost__x:hover { color: #fff; background: rgba(212,66,50,.28); border-color: rgba(212,66,50,.55); }

.apconn__ic { width: 34px; height: 34px; border-radius: 50%; background: #fdfdfd; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.apconn__no { font-size: 12.5px; color: var(--text-dim); }

/* Create post — hesap seçici (2026-08-12).
   GÖRÜNÜM Connections'in TIPATIP AYNISI: markup .cnxt* sınıflarını kullanır
   (compose.js renderAccounts), bu yüzden burada yeni bir kart dili YOK —
   yalnızca seçim moduna özgü farklar tanımlanır:
     • hücre bir <button> → tarayıcı varsayılanları sıfırlanır (KUTU YOK, ŞEFFAF)
     • sağda yeşil nokta/çöp yerine seçim TIKI
     • sütun başlıklarında "+" yok (bu ekranda hesap BAĞLANMAZ, seçilir)
   .apacct artık yalnızca DAVRANIŞ işaretçisidir (compose-wizard.js sorgular),
   görsel kural taşımaz — --off/--full dışında. */
.apavatars { display: block; }
.cnxt--pick .cnxt__cells { min-height: 0; }
.cnxt__acc--pick {
  width: 100%; border: 0; background: none; font: inherit; color: inherit;
  text-align: left; cursor: pointer;
}
.cnxt__acc--pick .cnxt__name { color: var(--text); }
.cnxt__acc--pick.is-on { background: rgba(54,128,103,.10); }
.cnxt__acc--pick.is-on .cnxt__name { color: var(--violet-light); }
/* Seçim tiki: boş halka → seçilince dolu violet daire (Connections'ta bu
   slotta yeşil durum noktası var; orada silme, burada seçim yaşıyor). */
.cnxt__tick {
  position: absolute; inset: 0; margin: auto; width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-lt); color: transparent; background: transparent;
  transition: background .14s, border-color .14s, color .14s;
}
.cnxt__tick svg { width: 11px; height: 11px; }
.cnxt__acc--pick:hover .cnxt__tick { border-color: var(--violet); }
.cnxt__acc--pick.is-on .cnxt__tick { background: var(--violet); border-color: var(--violet); color: #fff; }
/* Günlük limiti dolu / bu post tipini desteklemeyen hesap */
.apacct--full .cnxt__sub { color: #e36d60; }
/* (2026-10-26 Emre) Bu post tipini almayan hesap: solgun ama okunur, tıklanınca tip değişimi önerilir (kilit değil) */
.apacct--off { opacity: .7; filter: none; cursor: pointer; border-style: dashed; }
.apacct--off:hover { opacity: .9; }
/* YouTube kapak görseli (post seçenekleri) */
.popt__thumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.popt__thumb__img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: var(--ov-2, rgba(255,255,255,.07)); }
.popt__thumb__img[hidden], .popt__thumb__rm[hidden] { display: none; }
/* (2026-10-31) X zinciri (post seçenekleri → X → Thread): parça listesi + sayaç + kaldır; "+ Add a post" sessiz metin düğmesi */
.popt__thread { display: flex; flex-direction: column; gap: 8px; }
.popt__thread__item { position: relative; display: flex; align-items: flex-start; gap: 6px; }
.popt__thread__ta { flex: 1 1 auto; min-height: 56px; padding: 9px 60px 22px 12px; font: 500 13.5px/1.4 var(--font); color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; resize: vertical; }
.popt__thread__ta:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.18); }
.popt__thread__cnt { position: absolute; right: 42px; bottom: 7px; font: 600 11px var(--font); color: var(--text-dim); pointer-events: none; }
.popt__thread__cnt.is-over { color: #D9775F; }
.popt__thread__rm { flex: none; width: 30px; height: 30px; margin-top: 4px; border: 0; border-radius: 8px; background: none; color: var(--text-mute); font: 700 13px var(--font); cursor: pointer; }
.popt__thread__rm:hover { background: var(--ov-1, rgba(255,255,255,.05)); color: var(--text); }
.popt__thread__add { align-self: flex-start; padding: 6px 2px; }
.popt__thread__add[hidden] { display: none; }
/* BOZUK BAGLANTI (2026-08-18): Connections'ta kirmizi nokta olan hesap burada da
   secilemez — kirmizi cerceve + "Reconnect needed" alt yazisi. Ustte, listeye
   girmeden once, Connections'a goturen tek satirlik uyari. */
.apacct--broken { border-color: rgba(212,66,50,.55) !important; filter: none; opacity: .62; }
/* KİLİTLİ hesap (2026-09-12): plan limitinin ustunde kalan — kutu kararir, kilit ikonu.
   Compose (.apacct--locked) ve Connections (.cnxt__acc--locked) ayni gorunum. */
.cnxt__acc--locked { background: rgba(0,0,0,.30); opacity: .78; }
.cnxt__acc--locked:hover { background: rgba(0,0,0,.34); }
.cnxt__acc--locked .cnxt__pfp { filter: grayscale(1) brightness(.62); }
.cnxt__acc--locked .cnxt__name, .cnxt__acc--locked .cnxt__sub { color: var(--text-dim, #8c867e); }
.apacct--locked { cursor: not-allowed; }
.apacct--locked:hover { transform: none; }
.cnxt__lock { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(0,0,0,.38); color: var(--text-mute); flex: none; }
.cnxt__lock svg { width: 13px; height: 13px; }
.cnxt__lockednote { display: flex; align-items: center; gap: 9px; margin: 10px 0 2px; padding: 9px 12px; border-radius: 10px; background: rgba(0,0,0,.22); color: var(--text-mute); font-size: 13.5px; line-height: 1.4; }
.cnxt__lockednote svg { flex: none; }
.cnxt__lockednote a { color: var(--violet-light); font-weight: 700; }
[data-theme="light"] .cnxt__acc--locked { background: rgba(0,0,0,.08); }
[data-theme="light"] .cnxt__acc--locked:hover { background: rgba(0,0,0,.11); }
[data-theme="light"] .cnxt__lock { background: rgba(0,0,0,.10); }
[data-theme="light"] .cnxt__lockednote { background: rgba(0,0,0,.06); }
/* Odemesi dusen kullaniciya dashboard seridi (2026-09-12) */
.dashx__pay { display: block; margin: 0 2px 16px; padding: 12px 16px; border-radius: 12px; background: rgba(212,66,50,.12); border: 1px solid rgba(212,66,50,.38); color: var(--text); font-size: 14px; line-height: 1.45; text-decoration: none; }
.dashx__pay b { color: #E7766A; }
.dashx__pay:hover { border-color: rgba(212,66,50,.6); }

/* API sayfasi "+ New key": dar ekranda baslik metni yer kapinca dugme iki satira
   kiriliyordu ("New / key") — 2026-09-13 sweep 390px. */
#newKeyBtn { white-space: nowrap; flex: none; }
.apacct--broken .cnxt__sub { color: var(--red, #E7766A); font-weight: 700; }
.apbroken { display: block; margin: 0 0 12px; padding: 11px 14px; border: 1px solid rgba(212,66,50,.38);
  border-radius: 12px; background: rgba(212,66,50,.09); }
.apbroken b { display: block; font-size: 13.5px; font-weight: 800; color: var(--red, #E7766A); margin-bottom: 2px; }
.apbroken span { display: block; font-size: 12.5px; line-height: 1.5; color: var(--text-mute); }
.apbroken:hover { border-color: rgba(212,66,50,.6); background: rgba(212,66,50,.14); }
.apnoacct { color: var(--text-dim); font-size: 13.5px; text-decoration: none; }
.apnoacct b { color: var(--text); }
.apcard__link { font-size: 12px; color: var(--violet-light); text-decoration: none; }
.apcard__link:hover { text-decoration: underline; }
.apup { font-size: 13px; color: var(--text-mute); margin-top: 8px; }

/* ---- Randomizer v2: batch-havuzu UI (Emre'nin çizimi) ---- */
.batchcard { margin-bottom: 14px; border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.batchcard.is-over { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.35); }
/* blok boyutu EKRANA GÖRE ölçeklenir: her şey tek ekrana sığar */
.batchcard { --bch: clamp(124px, 19vh, 200px); margin-bottom: 10px; padding: 12px 16px; }

/* ---- "＋ Add clip" import dropdown (batch başlığı) ----
   Video editörünün Import menüsünün (editor.css .edx-import__*) birebir görsel
   eşi; burada .minibtn tetikleyicisiyle. YALNIZCA .rzimp altında geçerli —
   başka hiçbir kural etkilenmez. */
.rzimp { position: relative; flex: 0 0 auto; }
.rzimp__btn { gap: 6px; }
.rzimp__chev { flex: none; opacity: .8; }
.rzimp__btn[aria-expanded="true"] { background: rgba(54,128,103,.26); }
.rzimp__menu { position: absolute; top: calc(100% + 5px); right: 0; z-index: 30; min-width: 194px; padding: 5px; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 11px; box-shadow: var(--shadow); }
.rzimp__menu[hidden] { display: none; }
.rzimp__item { display: flex; align-items: center; justify-content: flex-start; gap: 9px; width: 100%; min-height: 34px; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; line-height: 1.2; transition: background .13s ease, color .13s ease; }
.rzimp__item + .rzimp__item { margin-top: 2px; }
.rzimp__item svg { flex: none; color: var(--text-dim); }
.rzimp__item:hover { background: rgba(54,128,103,.14); color: var(--violet-light); }
.rzimp__item:hover svg { color: var(--violet-light); }
.rzimp__ico { flex: none; width: 15px; height: 15px; }
.rzimp__lbl { flex: 1 1 auto; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mix settings alt satırı: hesap SOL KÖŞEDE (yazı kadar), buton SAĞ KÖŞEDE */
.mixfoot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.mixfoot .rncalc { flex: 0 1 auto; min-width: 0; margin-top: 0; }
.mixfoot .btn { flex: none; white-space: nowrap; }
@media (max-width: 760px) { .mixfoot { flex-direction: column; align-items: stretch; } }
.batchgrid { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; min-height: calc(var(--bch) + 14px); align-items: stretch; }
.batchgrid::-webkit-scrollbar { height: 8px; }
.batchgrid::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.batchgrid__hint { display: grid; place-items: center; width: 100%; min-height: var(--bch); border: 1.5px dashed var(--border-lt); border-radius: 12px; color: var(--text-dim); font-size: 13px; text-align: center; padding: 8px 20px; }
.batchcell { position: relative; flex: none; width: calc(var(--bch) * 0.64); border: 1px solid var(--border-lt); border-radius: 11px; overflow: hidden; background: #000; }
.batchcell video { width: 100%; height: var(--bch); object-fit: cover; display: block; }
.batchcell__lbl { position: absolute; left: 5px; bottom: 5px; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.65); padding: 2px 7px; border-radius: 6px; }
.batchcell__st { position: absolute; left: 5px; top: 5px; z-index: 3; display: grid; place-items: center; width: 20px; height: 20px; background: rgba(0,0,0,.65); border-radius: 7px; }
.batchcell__st.is-ok { color: var(--leaf-dark, #b9e8d1); }
.batchcell__st.is-err { color: #fff; background: #d44232; }
/* Yükleme: köşedeki minik ok yerine klibin ORTASINDA mor ikon (nefes alır gibi).
   Genel .is-uploading spinner'ı bu hücrelerde kapatılır, ikisi üst üste binmesin. */
.batchcell.is-uploading::after { display: none; }
.batchcell__up { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; color: var(--text); animation: bcup 1.1s ease-in-out infinite; pointer-events: none; }
/* İkonun filter'ı YOK: bu katman yüklenirken sonsuz animasyonlu (bcup) ve 20 klip
   aynı anda yüklenince 20 hücrede her karede drop-shadow yeniden hesaplanıyordu
   (2026-08-18 CSS incelemesi). Gölge yerine metin gölgesi + koyu video zemini yeterli. */
.batchcell__up svg { display: block; }
.batchcell__up { grid-auto-flow: row; align-content: center; gap: 4px; }
.batchcell__pct { color: #fff; font: 700 11px/1 var(--font); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
@keyframes bcup { 0%, 100% { opacity: .55; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }
.batchcell__st svg { display: block; }
/* YÜKLENEMEYEN KLİP: küçük bir uyarı ikonu fark edilmiyordu (kullanıcı "buton
   çalışmıyor" diye destek açtı). Blok komple kırmızıya döner + sebep yazar +
   tek tıkla yeniden dener. */
.batchcell.is-failed { border-color: #d44232; box-shadow: 0 0 0 1px #d44232 inset; }
.batchcell__fail { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 6px; background: rgba(80,24,17,.86); }   /* blur(1px) kaldırıldı: %86 opak zeminin arkasında görünmüyor, hücre başına backdrop maliyeti getiriyordu */
.batchcell__failic { color: var(--red, #E7766A); line-height: 0; margin-bottom: 2px; }
.batchcell__fail b { font-size: 11.5px; font-weight: 800; color: #f8dad6; }
.batchcell__fail small { font-size: 9.5px; font-weight: 600; color: rgba(248,218,214,.72); line-height: 1.3; }
.batchcell__retry { margin-top: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: var(--ov-3, rgba(255,255,255,.12)); color: #fff; font-family: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.batchcell__retry:hover { background: rgba(255,255,255,.24); }
.rncalc.is-err { color: var(--red, #E7766A); font-weight: 600; }
.batchcell__x { position: absolute; right: 3px; top: 3px; z-index: 5; background: rgba(0,0,0,.65); color: #fff; width: 22px; height: 22px; font-size: 11px; }
/* Silme butonu → hover'da KIRMIZI (yaptığı iş yıkıcı, beyaz nötr kalıyordu) */
.batchcell__x:hover { background: #d44232; color: #fff; }
.batchcell.is-over { outline: 2px solid var(--violet); }
/* boş blok: tıkla-doldur (bilerek boş bırakılabilir → o pozisyon sabit) */
.batchcell--empty { background: var(--ov-2, rgba(255,255,255,.07)); border: 1.5px dashed var(--border); cursor: pointer; display: grid; place-items: center; height: var(--bch); transition: border-color .15s, background .15s; }
.batchcell--empty:hover { border-color: var(--violet); background: rgba(54,128,103,.12); }
.batchcell__plus { font-size: 28px; color: var(--text-mute); line-height: 1; }
.batchcell__note { position: absolute; top: 50%; left: 0; right: 0; margin-top: 18px; text-align: center; font-size: 9px; color: var(--text-dim); letter-spacing: .02em; pointer-events: none; }
.batchcell--empty .batchcell__lbl { position: absolute; left: 5px; bottom: 5px; }
/* kısa ekranlarda daha da kompakt */
@media (max-height: 780px) {
  .batchcard { --bch: clamp(104px, 15vh, 150px); }
  .batchgrid__hint { font-size: 12px; }
}
/* color variation ⓘ */
.infodot { display: inline-grid; place-items: center; width: 20px; height: 20px; font-size: 12px; color: var(--text-mute); vertical-align: -3px; margin-left: 4px; }
.infodot:hover { background: rgba(54,128,103,.18); color: #fff; }
/* info popup: boş/sabit blok çizimleri */
.sk__cards i.is-empty { border-style: dotted; border-color: rgba(255,255,255,.28); color: var(--text-dim); background: transparent; display: grid; place-items: center; gap: 0; }
.sk__cards i.is-empty small { font-size: 8px; letter-spacing: .04em; }
.sk__mix i.is-fixed { border-style: solid; border-color: rgba(255,225,77,.7); color: #ffe14d; background: rgba(255,225,77,.07); }
.batchcell { cursor: grab; touch-action: none; }
.batchcell.is-swapping { opacity: .8; z-index: 10; cursor: grabbing; box-shadow: 0 10px 26px rgba(0,0,0,.5); }

/* ⓘ info popup — sayfalı, şematik */
.rnmodal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; }
.rnmodal[hidden] { display: none; }
.rnmodal__back { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.rnmodal__box { position: relative; width: min(560px, 92vw); background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 20px; padding: 26px 26px 20px; box-shadow: var(--shadow-lg); animation: pmodal-in .18s ease;
  /* Kisa ekranda (13" MacBook + tarayici cubugu ~620px) uzun popup'lar
     kesiliyordu: tavan + kendi icinde kaydirma. */
  max-height: 92vh; max-height: 92svh; overflow: auto; overscroll-behavior: contain; }
.rnmodal__x { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 9px; color: var(--text-mute); font-size: 14px; line-height: 1; cursor: pointer; }
.rnmodal__x:hover { background: var(--bg-elev); color: var(--text); }
.rnmodal__page h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.rnmodal__page p { font-size: 14px; color: var(--text-mute); line-height: 1.55; margin-bottom: 16px; }
/* How it works: uzun paragraf yerine kısa, taranabilir maddeler */
.rnmodal__page p + ul { margin-top: -8px; }
.rnmodal__page ul { list-style: none; margin: 0 0 14px; padding: 0; }
.rnmodal__page li { position: relative; padding-left: 19px; font-size: 14px; color: var(--text-mute); line-height: 1.5; margin-bottom: 7px; }
.rnmodal__page li::before { content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-light); }
.rnmodal__page .rnkey { display: inline-block; margin: 0 0 15px; padding: 7px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 800; color: var(--text); background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); }
.rnmodal__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.rnmodal__dots { display: inline-flex; gap: 6px; }
.rnmodal__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-lt); }
.rnmodal__dot.is-on { background: var(--violet); }
/* el-çizimi hissi: kesikli kutular */
.sk { display: flex; flex-direction: column; gap: 12px; }
.sk__batch { border: 1.5px dashed var(--border-lt); border-radius: 14px; padding: 10px 12px; }
.sk__label { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 8px; letter-spacing: .04em; }
.sk__cards { display: flex; gap: 8px; }
.sk__cards i, .sk__mix i { font-style: normal; display: grid; place-items: center; align-content: center; gap: 2px; width: 56px; height: 74px; border: 1.5px dashed var(--border); border-radius: 9px; font-size: 11px; font-weight: 700; color: var(--text-mute); background: var(--ov-2, rgba(255,255,255,.07)); flex: none; text-align: center; line-height: 1.2; padding: 3px; }
.sk__cards i small, .sk__mix i small { font-size: 8.5px; font-weight: 600; color: var(--text-dim); letter-spacing: .02em; }
.sk__mix { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.sk__mix span { width: 56px; flex: none; }
/* Uzun etiketler için: sabit 56px kartlar yerine satır sonunda alta kayan çipler
   ("temperature", "brightness" gibi kelimeler kutuya sığmayıp taşıyordu). */
.skchips { display: flex; flex-wrap: wrap; gap: 7px; }
.skchips i { font-style: normal; padding: 6px 11px; border-radius: 999px; border: 1.5px dashed var(--border); background: var(--ov-2, rgba(255,255,255,.07)); font-size: 11.5px; font-weight: 700; color: var(--text-mute); }
/* Modal içi uyarı kutusu */
/* Instagram-only guvenlik popup'i: KIRMIZI kalkan + dikkat cekici baslik (iki temada okunur) */
.rzsafe__btn { color: var(--red, #E7766A); border-color: color-mix(in srgb, var(--red, #E7766A) 38%, transparent); }
.rzsafe__btn:hover { color: var(--red, #E7766A); border-color: var(--red, #E7766A); background: color-mix(in srgb, var(--red, #E7766A) 9%, transparent); }
.rzsafe__btn svg { flex: none; }
.rzsafe__box { max-width: 480px; text-align: center; }
.rzsafe__ic { display: grid; place-items: center; width: 76px; height: 76px; margin: 6px auto 14px; border-radius: 50%; color: var(--red, #E7766A); background: color-mix(in srgb, var(--red, #E7766A) 12%, transparent); border: 1px solid color-mix(in srgb, var(--red, #E7766A) 30%, transparent); }
.rzsafe__title { margin: 0 0 10px; color: var(--red, #E7766A); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.rzsafe__p { margin: 0 0 10px; color: var(--text); font-size: 13.5px; line-height: 1.6; text-align: left; }
.rzsafe__p b { color: var(--text); }
.rzsafe__red { color: var(--red, #E7766A); }
.rzsafe__nav { justify-content: center; }

/* ===== Compose: Postiz tarzi caption sayaci + hesaba ozel caption ===== */
/* ---- Postiz duzeni: kart = textarea (sabit yukseklik, ic scroll) + altta arac cubugu satiri ---- */
.apzcard { border: 1px solid var(--border-lt); border-radius: 12px; background: var(--bg-soft); }
.composex .composeleft__scroll .apzcard { background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 12px; padding: 0; }
.apzcard:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.apzcard > .apta { background: transparent !important; border: 0 !important; border-radius: 12px 12px 0 0; box-shadow: none !important; height: 128px; min-height: 128px; resize: none; overflow-y: auto; display: block; }
.apzcard > .apfc__ta { height: 88px; min-height: 88px; }
.apzcard:has(.apta--warn) { border-color: rgba(255,196,60,.75); box-shadow: 0 0 0 3px rgba(255,196,60,.14); }
.apzcard .capwarn { margin: 0; padding: 0 13px 4px; }
.aptbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 10px; }
.apmain.is-ghost { display: none; }                          /* tum platformlar ayrildiysa main yok */
.apmeter { position: relative; display: inline-flex; }
.apmeter__badge { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; height: 28px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--badge-leaf-fg, #7DD4A8); cursor: pointer; transition: border-color .12s; }
.apmeter__badge:hover { border-color: var(--border-lt); }
.apmeter__badge svg:last-child { color: var(--text-dim); }
.apmeter__badge.is-over { color: var(--red, #E7766A); border-color: color-mix(in srgb, var(--red, #E7766A) 45%, transparent); }
.apcnt { display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; height: 28px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--text-mute); font: 700 11px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.apcnt svg { color: var(--badge-leaf-fg, #7DD4A8); flex: none; }
.apcnt.is-over svg, .apcnt.is-over b { color: var(--red, #E7766A); }
.apmeter__dd { position: absolute; z-index: 80; right: 0; top: calc(100% + 7px); min-width: 272px; padding: 6px; border: 1px solid var(--border-lt); border-radius: 12px; background: var(--bg-card); box-shadow: var(--shadow); }
.apmeter__row { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; color: var(--text); font-size: 12px; font-weight: 650; }
.apmeter__row:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.apmeter__row i { display: inline-grid; place-items: center; width: 14px; height: 14px; flex: none; }
.apmeter__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apmeter__row b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--badge-leaf-fg, #7DD4A8); font-weight: 800; }
.apmeter__cust { color: var(--violet-light, #7DD4A8); font-size: 9.5px; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; margin-left: 4px; }
.apmeter__row.is-over b { color: var(--red, #E7766A); }
.apmeter__pen { flex: none; border: 1px solid var(--border); border-radius: 7px; background: none; color: var(--text-dim); font: 700 10px/1 var(--font); padding: 4px 7px; cursor: pointer; }
.apmeter__pen:hover { color: var(--text); border-color: var(--border-lt); }
.apmeter__pen.is-on { color: var(--violet-light, #7DD4A8); border-color: color-mix(in srgb, var(--violet, #368067) 45%, transparent); }

.capbtn--emoji { padding-inline: 10px; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); font-size: 15px; line-height: 1; }
.capbtn--emoji:hover { background: var(--bg-elev); border-color: var(--border-lt); }
.apcard__actions { position: relative; }
.emopanel { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; width: 292px; max-height: 300px; overflow-y: auto; padding: 10px 11px 12px; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 13px; box-shadow: var(--shadow); }
.emopanel__lbl { margin: 7px 2px 5px; color: var(--text-dim); font-size: 9.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.emopanel__lbl:first-child { margin-top: 0; }
.emopanel__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emopanel__grid button { border: 0; background: none; border-radius: 8px; padding: 4px 0; font-size: 17px; line-height: 1.25; cursor: pointer; font-family: inherit; }
.emopanel__grid button:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }

/* Story notu + ilk yorum + hesaba ozel caption editorleri */
.apstorynote { padding: 14px 16px; border: 1px dashed var(--border-lt); border-radius: 12px; color: var(--text-mute); font-size: 13.5px; line-height: 1.6; }
.apstorynote b { color: var(--text); }
/* "+ Add comment…" dugmesi ustteki caption kutusuna YAPISIKTI — nefes payi.
   margin DEGIL padding: .apfc kutusunun UST KENARI caption kartinin dibine
   yapisik durur, L-cizgisi o kenarda kirpilir ve karta HEP deger; gorunur
   bosluk padding ile verilir (asagidaki ::before yorumuna bak). */
.apfc { position: relative; overflow: hidden; }
/* apmain flex'tir ve gap:10px verir — negatif margin o gap'i geri alip kutuyu
   karta yapistirir; padding 20px eski gorunur boslugu aynen korur. */
.apmain > .apfc { margin-top: -10px; padding-top: 20px; }
/* Platform blogu (apover__item, block akis, gap yok): 10px gorunur bosluk. */
.apover__item .apfc { margin-top: 0; padding-top: 10px; }
/* Postiz'deki gibi L seklinde baglanti: ustteki karttan iner, dirsekle yorum kartina girer */
.apfc__area { position: relative; margin-left: 30px; }
/* Baglanti dirsegi (L). Yuksekligi SABIT 106px yazilmisti; yorum kutusunun
   boyu degisince ayagi kutunun ortasini kaciriyordu. Artik dirsek KUTUYA
   bagli: `bottom: 50%` ile ayagi HER ZAMAN yorum kutusunun tam ortasina
   gelir, `top` ise basligin uzerinden cikip ustteki kartla arasindaki
   bosluga uzanir — kutu boyu ne olursa olsun dogru. */
.apfc__area > .apzcard { position: relative; }
.apfc__area > .apzcard::before {
  /* top: buyuk negatif deger BILEREK — dikey cizgi yukari dogru tasar ve
     .apfc'nin overflow:hidden ust kenarinda (caption kartinin dibi) kirpilir.
     Boylece baslik yuksekligi/etiket sarmasi ne olursa olsun cizgi ustteki
     karta TAM deger; eski sabit -37px cok videolu duzende 8px acik kaliyordu.
     width 17px: ayagin sag ucu yorum kutusunun DIS kenarinda biter. */
  content: ""; position: absolute; left: -18px; top: -400px; bottom: 50%; width: 17px;
  border-left: 2px solid var(--border-lt); border-bottom: 2px solid var(--border-lt);
  border-bottom-left-radius: 12px; pointer-events: none;
}
.apfc--branch .apfc__btn { font-size: 11.5px; padding: 6px 11px; }
.apfc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.apfc__head b { color: var(--text-mute); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.apfc__x { border: 0; background: none; color: var(--text-dim); cursor: pointer; font-size: 12px; padding: 2px 4px; }
.apfc__x:hover { color: var(--red, #E7766A); }
.apfc__ta { width: 100%; }
.apfc__btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px dashed var(--border-lt); border-radius: 10px; background: none; color: var(--text-mute); font: 700 12.5px/1 var(--font); cursor: pointer; transition: color .12s, border-color .12s; }
.apfc__btn:hover { color: var(--text); border-color: var(--text-dim); }
.apfc__btn.is-on { color: var(--violet-light, #7DD4A8); border-style: solid; border-color: color-mix(in srgb, var(--violet, #368067) 45%, transparent); }
.apfc__hint { margin-top: 5px; color: var(--text-dim); font-size: 11px; }
.aptools { display: flex; align-items: center; gap: 6px; }
.aptools button { display: inline-grid; place-items: center; width: 30px; height: 28px; padding: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--text-mute); cursor: pointer; transition: color .12s, border-color .12s; }
.aptools button:hover { color: var(--text); border-color: var(--border-lt); }
.aptools button svg { display: block; }
.apfc__timing { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.apfc__timing span { color: var(--text-dim); font-size: 11px; font-weight: 700; margin-right: 2px; }
.apfc__timing button { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text-mute); font: 700 11px/1 var(--font); padding: 5px 9px; cursor: pointer; }
.apfc__timing button:hover { color: var(--text); border-color: var(--border-lt); }
.apfc__timing button.is-on { color: var(--violet-light, #7DD4A8); border-color: color-mix(in srgb, var(--violet, #368067) 50%, transparent); background: color-mix(in srgb, var(--violet, #368067) 10%, transparent); }
.apfc__timing input { width: 62px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text); font: 600 11px/1 var(--font); }
.apover { display: grid; gap: 10px; margin-top: 24px; }
.apover__item { padding: 10px 12px 12px; border: 1px solid var(--border-lt); border-radius: 12px; background: var(--bg-elev); }
.apover__h { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--text); font-size: 12px; font-weight: 800; }
.apover__h i { display: inline-grid; place-items: center; width: 14px; height: 14px; }
.apover__h small { color: var(--text-dim); font-size: 10.5px; font-weight: 600; }
.apover__h .apover__x { margin-left: auto; border: 0; background: none; color: var(--text-dim); cursor: pointer; font-size: 12px; }
.apover__h .apover__x:hover { color: var(--red, #E7766A); }
.apover__ta { width: 100%; }
/* Platform blogunun icindeki caption da KENDI kutusunda (kutu icinde kutu — Emre istegi) */
.apover__item > .apzcard { margin-top: 2px; }
.pubrev__grp { padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev); }
.pubrev__grp + .pubrev__grp { margin-top: 8px; }
.pubrev__cm { margin-top: 6px; color: var(--text-dim); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.pubrev__cm svg { flex: 0 0 auto; }

/* ---- Randomizer ---- */
.rngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.rnitem { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.rnitem video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; display: block; }
.rnitem__poster, .rnitem__vid { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; display: block; }

/* Created videos — kullanım çubuğu + araç çubuğu + çoklu seçim */
.rdusage { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rdusage__bar { flex: 1; height: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.rdusage__bar i { display: block; height: 100%; width: 0; background: var(--grad-violet); border-radius: 999px; transition: width .3s; }
.rdusage__bar i.is-full { background: linear-gradient(90deg, var(--orange, #E9B367), #d44232); }
.rdusage__txt { font-size: 12.5px; color: var(--text-mute); white-space: nowrap; }
.rdtools { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.rdtools__all { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mute); cursor: pointer; user-select: none; }
.rdtools__count { font-size: 12.5px; color: var(--text); font-weight: 600; }

/* Created videos sayfalayıcı (40/sayfa) — analytics .an-pager ile aynı dil: hap butonlar, kutu yok */
.rdtools, .rdx .rngrid { scroll-margin-top: 80px; }
.rdpager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; padding: 18px 0 8px; border-top: 1px solid var(--border); margin-top: 16px; }
.rdpager__btn { min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); font: 600 12.5px/1 var(--font); cursor: pointer; transition: color .12s, border-color .12s; }
.rdpager__btn:hover:not(:disabled) { color: var(--text); border-color: var(--border-lt); }
.rdpager__btn.is-on { background: var(--violet-dark); border-color: var(--violet-dark); color: #fff; cursor: default; }
.rdpager__btn:disabled:not(.is-on) { opacity: .4; cursor: default; }
.rdpager__arr { font-size: 16px; line-height: 1; }
.rdpager__gap { color: var(--text-mute); padding: 0 2px; font-size: 12.5px; }
.rdpager__info { flex-basis: 100%; text-align: center; font-size: 12px; color: var(--text-mute); margin-top: 4px; }
@media (min-width: 640px) { .rdpager__info { flex-basis: auto; margin-top: 0; margin-left: 10px; } }
.rnitem.is-sel { outline: 2px solid var(--violet); outline-offset: 1px; }
.rnitem__check { position: absolute; top: 8px; left: 8px; z-index: 3; cursor: pointer; line-height: 0; user-select: none; }   /* shift+click'te metin seçimi olmasın */
/* özel checkbox — beyaz kare yerine site temasında kutu + mor ✓ */
.rnitem__check input, .rdtools__all input {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none; cursor: pointer;
  width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid var(--border-lt);
  background: var(--bg-card); position: relative; transition: background .12s, border-color .12s;
}
.rnitem__check input { box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.rnitem__check input:hover, .rdtools__all input:hover { border-color: var(--violet); }
.rnitem__check input:checked, .rdtools__all input:checked { background: var(--violet); border-color: var(--violet); }
/* thumbnail yüklenirken spinner */
.rnitem__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 24px; height: 24px; border: 2.5px solid rgba(255,255,255,.18); border-top-color: var(--text); border-radius: 50%; animation: rdspin .7s linear infinite; pointer-events: none; }
@keyframes rdspin { to { transform: translate(-50%,-50%) rotate(360deg); } }
/* video ÜSTÜNDE alt overlay: download + delete */
.rnitem__ov { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.rnitem__dl { flex: 1; text-align: center; background: rgba(54,128,103,.95); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rnitem__dl:hover { background: var(--violet-dark); }
.rnitem__del { flex: none; width: 32px; height: 32px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 8px; cursor: pointer; font-size: 13px; line-height: 1; }
.rnitem__del:hover { background: rgba(212,66,50,.9); border-color: rgba(212,66,50,.9); }
.rnitem__nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rnitem__check input:checked::after, .rdtools__all input:checked::after,
.rdtools__all input:indeterminate::after {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800;
}
/* seçili: tik ikonu maske ile çizilir (renk background-color'dan gelir).
   indeterminate ("–") maskesiz kalır → aşağıdaki kural onu karakterle basar. */
.rnitem__check input:checked::after, .rdtools__all input:checked::after {
  background-color: #fff;
  -webkit-mask: no-repeat center / 12px 12px var(--tick);
  mask: no-repeat center / 12px 12px var(--tick);
}
.rdtools__all input:indeterminate { background: var(--violet); border-color: var(--violet); }
.rdtools__all input:indeterminate::after { content: "–"; }
/* compose video picker + created videos kaydırma çubuğu (site geneliyle uyumlu) */
.apmedia__grid::-webkit-scrollbar, .rngrid::-webkit-scrollbar { width: 8px; height: 8px; }
.apmedia__grid::-webkit-scrollbar-thumb, .rngrid::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.apmedia__grid::-webkit-scrollbar-track, .rngrid::-webkit-scrollbar-track { background: transparent; }
.rnitem__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 12px; color: var(--text-mute); }
.rnitem__bar > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rnitem__bar > span:last-child { flex: none; display: flex; gap: 6px; align-items: center; }
.rnitem__thumb { position: relative; cursor: pointer; }
.rnitem__thumb:hover .rnitem__play { background: rgba(54,128,103,.85); transform: translate(-50%,-50%) scale(1.06); }
.rnitem__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 16px; padding-left: 3px; pointer-events: none; transition: background .15s, transform .15s; }

/* Lightbox — tıkla → büyük oynat */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.lightbox[hidden] { display: none; }
.lightbox__back { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.lightbox__box { position: relative; z-index: 1; height: min(86vh, 920px); aspect-ratio: 9/16; max-width: 94vw; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__box video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.lightbox__x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: 15px; cursor: pointer; }
.lightbox__x:hover { background: rgba(54,128,103,.85); }

/* Global render bildirim popup'ları (sağ-alt) */
.rendernotes { position: fixed; right: 16px; bottom: 16px; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.rendernote { position: relative; background: var(--bg-card); border: 1px solid var(--border-lt); border-left: 3px solid var(--green); border-radius: 12px; padding: 12px 34px 12px 14px; box-shadow: 0 14px 40px rgba(0,0,0,.5); animation: rnote-in .25s ease; }
.rendernote.is-error { border-left-color: var(--red, #E7766A); }
.rendernote__t { font-size: 14px; font-weight: 700; }
.rendernote__m { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.rendernote__acts { display: flex; gap: 8px; margin-top: 10px; }
.rendernote__acts .btn { flex: 1; }
.rendernote__x { position: absolute; top: 8px; right: 8px; background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 13px; }
@keyframes rnote-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Saved renders — klasör (çok videolu / randomizer) kartı rozeti */
.rnitem__count { position: absolute; top: 6px; left: 6px; z-index: 2; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.rncalc { font-size: 13px; color: var(--text-mute); padding: 9px 12px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; line-height: 1.5; }
.rncalc strong { color: var(--text); }
.sessionlist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 9px; }

/* Dar ekran: sabit düzenden vazgeç, normal akışa dön */
@media (max-width: 980px) {
  body.cap-page { overflow: auto; height: auto; }
  .cap-page .layout { height: auto; }
  .cap-page .content { overflow: visible; height: auto; }
  .capwrap { height: auto; }
  /* Editörler (Caption/Split): mobilde önizleme ÜSTTE, kontroller ALTTA.
     captop'ı düzleştirip (display:contents) capwrap akışına alıyoruz → order çalışır. */
  .captop { display: contents; }
  .capcol--right { --ph: 58vh; --ph: 58svh; order: 1; }
  .tlbox { order: 2; }                 /* timeline (yalnızca Caption'da var) önizlemenin altında */
  .capcol--left { overflow: visible; min-width: 0; padding-right: 0; order: 3; }
  .phoneframe--lg, .capactions { width: min(100%, calc(58vh * 9 / 16)); width: min(100%, calc(58svh * 9 / 16)); margin: 0 auto; }
}

/* ===== Telefon (≤520px): grid'leri tek kolona/dolguya çek, yatay taşmayı önle ===== */
@media (max-width: 520px) {
  .rngrid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  .rxboxes { grid-template-columns: 1fr; }
  /* MOBİL — CapCut tarzı: kartlar YATAY şeritte kayar, dikeyde yer yemez.
     Sürükleme mobilde zaten yok; kart altındaki butonlar tek dokunuşla atar. */
  .binlist { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .binlist .binitem { flex: 0 0 132px; scroll-snap-align: start; }
  .binlist::-webkit-scrollbar { height: 6px; }
  .binlist::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
  .binrow.is-cards { display: block; }
  .binrow.is-cards .binlist { margin-bottom: 10px; }
  .binrow.is-cards .dropzone--clips { flex: none; width: 100%; min-height: 88px; }
  .binitem__btns .minibtn { padding: 7px 6px; font-size: 11.5px; }   /* dokunma hedefi büyüsün */
  .apmanrow { grid-template-columns: 52px 1fr 1fr; gap: 6px; }
  .apsel { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}

/* ===== Mobil: bildirim paneli ekrana sığsın + sıkışıklık azalt ===== */
@media (max-width: 560px) {
  /* top'u SABITLEME: JS zil konumuna gore top VEYA bottom veriyor; ikisi birden
     olunca panel icerikten uzun olup yarisi bos kaliyordu (mobil drawer zili). */
  .notifpanel { left: 8px !important; right: 8px !important; width: auto !important; max-width: none !important; max-height: 62svh; }
  .notifpanel__list { max-height: none; }
  .aphead { font-size: 20px; }
  .aphead__sub { font-size: 13px; }
  .setcard { padding: 12px 13px; }
  .cap-pagetitle { font-size: 18px; }
  .appbar { padding: 0 12px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); gap: 8px; }
  .appbar__right { gap: 8px; }
  /* Randomizer: batch sıralama açıklamasını gizle (sıkışmayı azaltır) */
  .batchcard .setcard__opt { display: none; }
  /* Repurposer başlığı: mobilde TEK SATIR — "mix & multiply" gizli, butonlar sağda */
  .rephd { flex-wrap: nowrap; gap: 8px; align-items: center; }
  .rephd .setcard__opt { display: none; }
  .rephd__btns { margin-left: auto; flex: none; }
  .rephd .minibtn { font-size: 12px; padding: 6px 9px; }
  .rncalc { font-size: 12px; padding: 8px 10px; }
  /* Calendar: ay hücreleri kompakt (dar ekranda uzun boş kutu yerine kare) */
  .apcal__head, .apcal__grid { gap: 4px; }
  .apcal__head span { font-size: 10px; letter-spacing: 0; }
  .apcal__cell { min-height: 50px; padding: 4px; border-radius: 8px; gap: 2px; }
  .apcal__day { font-size: 11px; }
  .apcal__post { font-size: 9.5px; padding: 2px 4px; gap: 3px; }
  .apcal__ic { width: 13px; height: 13px; }
  .apcal__nav { font-size: 13px; gap: 6px; }
}

/* ============================================================
   Connections — temiz "connection card" (Buffer hesabı + kanallar)
   ============================================================ */
.connwrap { display: grid; gap: 18px; }
.conncard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 14px 40px rgba(0,0,0,.30);
  overflow: hidden;
  transition: border-color .18s ease;
}
.conncard:hover { border-color: var(--border-lt); }
.conncard.is-connected {
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(52,156,104,.10), transparent 55%),
    var(--bg-card);
}

.conncard__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px;
}
.conncard__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.conncard__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  background: linear-gradient(140deg, #39836A 0%, #368067 55%, #286B52 100%);
  color: #fff; box-shadow: 0 8px 20px rgba(54,128,103,.34);   /* (2026-09-19) yesil karonun KAHVE parlamasi rebrand kalintisiydi */
}
.conncard__logo svg { width: 23px; height: 23px; }
.conncard__titlewrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.conncard__title { font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.015em; line-height: 1.15; }
.conncard__subttl { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.conncard__status {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  font-size: 13px; font-weight: 700; padding: 7px 14px 7px 12px; border-radius: 999px;
}
.conncard__status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
}
.conncard__status.is-on { color: #60ca95; background: rgba(52,156,104,.13); border: 1px solid rgba(52,156,104,.32); }
.conncard__status.is-on::before { background: #60ca95; box-shadow: 0 0 0 3px rgba(96,202,149,.20); }
.conncard__status.is-off { color: var(--text-mute); background: var(--bg-elev); border: 1px solid var(--border); }
.conncard__status.is-off::before { background: var(--text-dim); }

.conncard__body { border-top: 1px solid var(--border); padding: 10px; }

/* --- Bağlanma (boş) ekranı --- */
.conncard__body--cta { padding: 22px 24px; }
.conncard__cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.conncard__ctaleft { min-width: 0; flex: 1 1 320px; }
.conncard__ctatext { margin: 0; color: var(--text-mute); font-size: 14.5px; line-height: 1.55; max-width: 460px; }
.conncard__plats { display: flex; gap: 9px; margin-top: 15px; }
.conncard__plat {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elev); border: 1px solid var(--border); transition: transform .14s, border-color .14s;
}
.conncard__plat:hover { transform: translateY(-2px); border-color: var(--border-lt); }
.conncard__ctabtn { flex: 0 0 auto; gap: 8px; }

.conncard__sub {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-dim); padding: 14px 12px 7px;
}
.conncard__bodyhead {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 4px;
}
.conncard__sub--inline { padding: 0 2px; }
.conncard__emptyrow {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 8px 10px 10px;
}
.conncard__empty { padding: 6px 0; color: var(--text-mute); font-size: 14px; line-height: 1.55; }
.conncard__empty--warn { color: var(--orange, #E9B367); }
.conncard__emptyrow .connrow__btn { flex: 0 0 auto; }

.connrow__ok--warn { color: var(--orange, #E9B367); background: rgba(240,140,0,.12); border-color: rgba(240,140,0,.30); }

/* Outstand: "Connect an account" satırı (açıklama + buton) */
.socadd {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 8px 10px 8px; flex-wrap: wrap;
}
.socadd__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 300px; }
.socadd__ttl { font-weight: 700; font-size: 14.5px; color: var(--text); }
.socadd__sub { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }
.socadd__btn { flex: 0 0 auto; gap: 8px; }
.socadd__btn:disabled, .socadd__btn.is-locked { opacity: .45; cursor: not-allowed; box-shadow: none; filter: saturate(.7); }

/* Outstand: platform seçme modalı (ekran ortası) */
.socmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.socmodal[hidden] { display: none; }
.socmodal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.62);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .18s ease;
}
.socmodal.is-open .socmodal__backdrop { opacity: 1; }
.socmodal__card {
  position: relative; width: min(430px, 92vw); max-height: 82vh; overflow: auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 8px;
  transform: translateY(10px) scale(.98); opacity: 0; transition: transform .18s ease, opacity .18s ease;
}
.socmodal.is-open .socmodal__card { transform: none; opacity: 1; }
.socmodal__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 13px 6px; }
.socmodal__title { font-weight: 800; font-size: 16px; color: var(--text); }
.socmodal__x { background: none; border: 0; color: var(--text-mute); font-size: 17px; cursor: pointer; padding: 4px 9px; border-radius: 8px; line-height: 1; }
.socmodal__x:hover { background: var(--bg-elev); color: var(--text); }
.socmodal__sub { font-size: 12.5px; color: var(--text-dim); padding: 0 13px 8px; line-height: 1.45; }
.socmodal__list { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px 6px; }
.socmodal__row {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer;
  padding: 11px 12px; border-radius: 12px; background: transparent; border: 1px solid transparent;
  font-family: inherit; color: var(--text); transition: background .14s, border-color .14s;
}
.socmodal__row:hover { background: var(--bg-elev); border-color: var(--border); }
/* (2026-11-18, Emre: "pop-up'ta yalnız YouTube'u yuvarlaktan çıkarmışsın, kalan logolara da aynısını uygula… şık görünsün, font boyu uyumlu olsun")
   Bütün ağ logoları KUTUSUZ, kendi renginde ve göze eşit boyda (connections.js pickLogo: YouTube 35 × 24, ötekiler 26 px = sütun başlıklarındaki
   20 / 22 oranı). Yuva sabit genişlikte (36 px = en geniş logo olan YouTube + 1) → adlar alt alta aynı yerden başlar. Ad 15 px (26 px'lik logonun
   yanında; pencere başlığı 16 px / 800 olduğu için ondan küçük). Eski renkli daire + beyaz çizim (.connrow__av) burada artık kullanılmıyor. */
.socmodal__ic { flex: 0 0 auto; width: 36px; height: 28px; min-width: 36px; min-height: 28px; display: grid; place-items: center; line-height: 0; }   /* min-…: YouTube simgesinin koruması (variables.css) saran kutunun sabit ölçüsünü kaldırır; yuva yine aynı boyda kalsın */
.socmodal__ic svg { display: block; }
.socmodal__ic--letter { width: 28px; min-width: 28px; margin: 0 4px; border-radius: 50%; background: var(--bg-elev); color: var(--text-mute); font: 800 13px/1 var(--font); }
.socmodal__name { font-weight: 700; font-size: 15px; flex: 1 1 auto; }
.socmodal__chev { width: 18px; height: 18px; color: var(--text-dim); flex: 0 0 auto; }

/* Saved captions modal — premium */
.apcard__actions { display: flex; gap: 8px; align-items: center; }
.socmodal__card--wide { width: min(580px, 94vw); }

/* Caption grupları (All / YouTube / Instagram / + New group) — chip barı */
.capmodal__grps { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 16px 12px; }
.capchip {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border-lt);
  background: none; color: var(--text-mute); font: 600 12.5px var(--font);
  cursor: pointer; transition: color .12s, border-color .12s, background .12s;
}
.capchip:hover { color: var(--text); border-color: var(--violet); }
.capchip.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.capchip--new { color: var(--text-dim); border-style: dashed; }
.capchip__inp {
  width: 130px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text); font: 600 12.5px var(--font);
}
.capchip__inp:focus { outline: none; box-shadow: 0 0 0 3px rgba(54,128,103,.2); }
.capmodal__tag {
  display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text);
  font: 700 10px var(--font); letter-spacing: .04em; text-transform: uppercase;
  vertical-align: 1px;
}

.capmodal__add {
  display: flex; gap: 10px; align-items: stretch; padding: 6px 16px 14px;
  border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.capmodal__add .apta {
  flex: 1 1 auto; min-height: 74px; resize: vertical;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-family: inherit; font-size: 13.5px; line-height: 1.5; padding: 11px 13px;
}
.capmodal__add .apta:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.18); }

/* =========================================================
   Posts — KART GRID (post-bridge tarzı, 20 Tem 2026 yeniden tasarımı)
   ========================================================= */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 16px; }
.pcard {
  position: relative;                /* toplu secim kutucugunun capasi */
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
/* Toplu iptal secimi (2026-08-18): kutucuk gorseli Created videos ile AYNI
   (.rnitem__check), yalniz konum kartin sol ustu. Secili kart mor cerceve. */
.pcard__check { top: 10px; left: 10px; }
.pcard.is-sel { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.35); }
.pcard.is-sel:hover { border-color: var(--violet); }
/* Sekmeler + toplu secim satiri TEK sticky blok — eskiden yalniz sekme cubugu
   yapisiyordu, secim satiri kayboluyor ve kartlarin arasinda garip duruyordu. */
/* STICKY YOK (Emre 2026-08-18): sekme cubugu tek basina yapisiyordu, ustundeki
   baslik/New post yapismadigi icin kayarken bozuk goruntu veriyordu. Blok artik
   sayfayla birlikte kayar; yalnizca sekmeler + secim satirini gruplar. */
.postsx__stick { background: var(--bg); margin: 14px 0 20px; border-bottom: 1px solid var(--border); }
.pbulk { margin: 0; padding: 10px 0 12px; }
/* Toplu iptal ilerleme cubugu (popup icinde): dikdortgen kutu yavas yavas dolar */
.pprog { height: 12px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border); overflow: hidden; }
.pprog i { display: block; height: 100%; width: 0; border-radius: 7px; background: var(--grad-violet, var(--violet)); transition: width .25s ease; }
.pprog--done i { background: linear-gradient(90deg, #349c68, #3bb075); }
.pprog__n { margin: 10px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-mute); }
/* CIHAZDAN YUKLEME POPUP'I (compose) — iptal popup'indan daha zengin: ikon +
   aciklama + toplam cubuk + o an yuklenen dosyalarin kendi ince cubuklari. */
.cupop__card { max-width: 460px; }
.cupop__head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.cupop__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text-mute); background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); }
.cupop__card .ugcmodal__title { margin: 1px 0 4px; }
.cupop__sub { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-mute); }
.cupop__meta { margin: 9px 0 0; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; font-weight: 700; color: var(--text-mute); }
.cupop__files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.cupop__file { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; }
.cupop__nm { font-size: 12.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cupop__pc { font-size: 12px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.cupop__bar { grid-column: 1 / -1; height: 4px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.cupop__bar i { display: block; height: 100%; width: 0; background: var(--violet); transition: width .2s ease; }
.cupop__file.is-done .cupop__pc { color: #3bb075; }
.cupop__file.is-done .cupop__bar i { background: #3bb075; }
.cupop__note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-dim); }
/* Secim yokken pasif gorunum — tiklanabilir hissi vermesin (Created videos ile ayni kural) */
.pbulk .btn:disabled { opacity: .35; cursor: default; pointer-events: none; filter: saturate(.4); }
/* Iptal butonu: Created videos arac cubugundaki cop kutusuyla BIREBIR ayni kutu
   (36x32, ayni dolgu/cerceve/ikon), uzerine gelince genisleyip yaziyi acar.
   gap:0 SART — .btn'in 8px gap'i yazi kapaliyken bile bosluk birakiyor, buton
   36 yerine 44 px oluyordu (olculdu 2026-08-18).
   line-height SART — .btn--icon line-height:0 veriyor, yazi acilinca genisligi
   olusuyor ama YUKSEKLIGI 0 kaldigi icin GORUNMUYORDU (Emre'nin bildirdigi hata). */
.pbulk__go { display: inline-flex; align-items: center; gap: 0; overflow: hidden; }
/* (2026-10-20 gece, Emre) Posts: Select all · sayaç · Clear · iptal düğmesi, arama/Filters/Newest first ile AYNI SATIRDA (sağa yaslı);
   Clear köşeli (.pchan__btn), iptal düğmesi de aynı köşe; dar ekranda alt satıra sarar */
.ptools .pbulk { margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.ptools .pbulk[hidden] { display: none; }
.ptools .pbulk__go { border-radius: 10px; }
.pbulk__clear { padding: 7px 12px; }
@media (max-width: 760px) { .ptools .pbulk { margin-left: 0; width: 100%; } }
.pbulk__go span { max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden; line-height: 1.15; transition: max-width .18s ease, opacity .14s ease, margin-left .18s ease; }
.pbulk__go:hover:not(:disabled) span, .pbulk__go:focus-visible span, .pbulk__go.is-busy span { max-width: 190px; opacity: 1; margin-left: 7px; }
.pcard:hover { border-color: var(--border-lt); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.pcard.is-highlight { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.35); }
/* (2026-10-21 Emre) Kart arka planı: ince çapraz çizgi dokusu (tasarım 27) — medyalı medyasız her kartta; harf kutusu alanı siyah değil */
.pcard__thumb { position: relative; height: 152px; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255,255,255,.025) 10px 12px), var(--bg-elev); }
:root[data-theme="light"] .pcard__thumb { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,.03) 10px 12px), var(--bg-elev); }
/* 9:16 video HER ZAMAN kırpılmadan görünür (contain) — hangi video olduğu net */
.pcard__thumb video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pcard__thumb--none { display: grid; place-items: center; color: var(--text-dim); font: 500 12.5px var(--font); }
/* (2026-10-22 akşam Emre: "sol üstte olsun dedim") Metin postu kartı: alıntı SOL ÜSTTE (seçim kutusunun altında, metne binmez), metin yatayda TAM ORTALI */
.pcard__thumb--text { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 62px 20px 10px; }
.pcard__quote { position: absolute; left: 14px; top: 30px; font: 800 40px/1 Georgia, "Times New Roman", serif; color: var(--violet); opacity: .34; pointer-events: none; }
.pcard__excerpt { margin: 0; width: 100%; font: 500 14px/1.45 var(--font); color: var(--text); text-align: center; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
/* Thumbnail üstündeki durum pill'i: video üzerinde OKUNUR olsun — dolu zemin */
.pcard__st { position: absolute; top: 8px; right: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.pcard__st.is-posted, .pstatus.pcard__st.is-posted { background: #368067; color: #fff; }
.pcard__st.is-scheduled, .pstatus.pcard__st.is-scheduled { background: #2B6CB0; color: #fff; }
.pcard__st.is-draft, .pstatus.pcard__st.is-draft { background: #3A3A3A; color: #F2F2F2; }
.pcard__st.is-failed, .pstatus.pcard__st.is-failed { background: #d44232; color: #fff; }
/* Zamani gecmis, platform onayi bekleyen post: kehribar rozet + nefes alan nokta */
.pcard__st.is-posting, .pstatus.pcard__st.is-posting, .pstatus.is-posting { background: #B7791F; color: #fff; }
/* (2026-10-23) Hesap postu (Postelk dışında paylaşılmış): sol altta kaynak etiketi; seçim kutusu yok; kart salt okunur */
.pcard__src { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px; font: 700 10.5px var(--font); letter-spacing: .02em; background: rgba(0,0,0,.62); color: #fff; backdrop-filter: blur(4px); pointer-events: none; }
.pcard--ro .pcard__check { display: none; }   /* (2026-11-14) hesap postu artık seçilip silinir; yalnız salt okunur kartta (silme penceresi yüklenmediyse) gizli */
.an-src { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font: 700 10px var(--font); letter-spacing: .03em; text-transform: uppercase; color: var(--text-mute); border: 1px solid var(--border); }
.pstatus.is-posting::before { animation: pstatus-pulse 1.1s ease-in-out infinite; }
@keyframes pstatus-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.apagenda__post.is-posting { border-left-color: #B7791F; }
.apagenda__post.is-posting .apagenda__st { color: #E0A94A; }
.calwk__pill.is-posting { background: rgba(183,121,31,.22); color: #E0A94A; }
.pdot--posting { background: #E0A94A; box-shadow: 0 0 0 3px rgba(224,169,74,.22); animation: pstatus-pulse 1.1s ease-in-out infinite; }
.pmodal__note { font-size: 12px; color: var(--text-mute); margin-right: auto; }
/* B1: failed kart hafif kararir; SEBEP PREVIEW'IN USTUNDE bindirme serit
   (ustten koyu degrade — video gorunur kalir, FAILED rozeti sag ustte durur). */
.pcard--failed { background: color-mix(in srgb, #d44232 7%, var(--bg-card)); border-color: color-mix(in srgb, #d44232 38%, var(--border)); }
.pcard__why { position: absolute; inset: 0; margin: 0;
  /* Sebep PREVIEW'IN TAM ORTASINDA (Emre): thumb'i kaplayan yari saydam
     karartma + iki eksende ortali metin; altta video karesi oldugundan cift
     golge. FAILED rozeti (z:2) ve secim kutusu ustte kalir. */
  display: flex; align-items: center; justify-content: center;
  padding: 34px 16px; text-align: center;
  font-size: 11.5px; font-weight: 600; line-height: 1.5; color: #ffe1dd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .85);
  background: rgba(12, 3, 2, .55);
  overflow: hidden; }
.pcard__st { z-index: 2; }
.pcard__car { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(0,0,0,.66); color: #fff; font: 800 11px/1 var(--font); }   /* (2026-09-19) carousel: kac gorsel */
.pcard__car svg { display: block; }
.pmodal__fail { margin-top: 2px; }
.pmodal__failrow { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--red, #E7766A); }
.pmodal__failrow b { font-size: 10px; letter-spacing: .05em; }
/* (2026-09-19) sebebin yaninda "simdi ne yapmali" ipucu + KISMI BASARI (post yayinda, bazi hesaplara gitmedi) */
.pmodal__failact { color: var(--text-mute); }
.pmodal__fail--part .pmodal__failrow { color: var(--orange, #E9B367); }
.pcard__why--part { inset: auto 8px 8px 8px; padding: 5px 9px; border-radius: 9px; font-size: 10.5px; line-height: 1.35;
  color: #FFE7B8; background: rgba(40, 24, 2, .74); text-shadow: none; }
/* Kart altı avatar dizisi: BİNDİRME YOK (net okunur), büyük avatar + büyük platform rozeti */
.pcard__acct { gap: 8px; }
.pcard__acct .prow__av, .pcard__acct .prow__avfall { width: 34px; height: 34px; }
/* Rozet: ÇİFT piksel boyutlar (18 kutu / 10 ikon) + display:block svg →
   yarım piksel kayması olmaz, YT/IG ikonları tam merkezde oturur */
.pcard__acct .prow__pbadge { width: 18px; height: 18px; right: -4px; bottom: -4px; line-height: 0; }
.pcard__acct .prow__pbadge svg { width: 10px; height: 10px; display: block; }
.pcard__acct .prow__nick { margin-left: 2px; }
.pcard__meta { display: flex; align-items: center; gap: 12px; padding: 11px 14px 0; font: 600 12px var(--font); color: var(--text-mute); }
.pcard__meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pcard__rel { margin-left: auto; color: var(--text-dim); font-weight: 500; }
.pcard__cap {
  padding: 8px 14px 0; margin: 0; min-height: 39px;
  font: 500 13px/1.5 var(--font); color: var(--text-mute);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__cap.is-empty { color: var(--text-dim); font-style: italic; }
.pcard__foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px 13px; margin-top: auto; }
.pcard__foot .pcard__acct { margin-right: auto; }
.pcard__acct { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: visible; }   /* rozetler kırpılmasın */
.pcard__acct .prow__avwrap { position: relative; flex: none; width: 34px; height: 34px; }   /* wrap = avatar boyutu → rozet TAM köşede */
.pcard__btn {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 7px 10px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--text-mute); font: 700 14px var(--font); cursor: pointer;
  box-shadow: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}
.pcard__btn svg { width: 16px; height: 16px; }
/* (2026-10-27 Emre) View SESSİZ: kenarlıksız, hover'da yalnız hafif zemin — yeşile DÖNMEZ (post sayfasındaki Back düğmesiyle aynı yazı). Edit: birincil malzeme aynen. */
.pcard__btn:hover { color: var(--text); border-color: transparent; background: var(--bg-elev); box-shadow: none; }
.pcard__btn:active { background: var(--ov-2, rgba(255,255,255,.07)); box-shadow: none; }
.pcard__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg, #121212), 0 0 0 4px var(--btn-focus, #7DD4A8); }
.pcard__btn--edit { background: var(--btn-grad, var(--violet)); border-color: transparent; color: #fff; box-shadow: var(--btn-shadow, none); padding: 8px 16px; border-radius: 999px; font-size: 12.5px; }
.pcard__btn--edit:hover { background: var(--btn-grad-hover, var(--violet-dark, #286B52)); border-color: transparent; color: #fff; box-shadow: var(--btn-shadow-hover, none); }
.pcard__btn--edit:active { background: var(--btn-active-bg, var(--violet-dark)); box-shadow: var(--btn-shadow-active, none); }

/* Edit scheduled post modalı — post-bridge mantığı: platform sekmeli caption +
   hesap seçimi. Sekmeler Posts'taki .ptabs görünümünü aynen kullanır. */
.socmodal__card--xl { width: min(680px, 94vw); max-height: 88vh; overflow-y: auto; }
/* flex-wrap: 8 platform bağlıyken (Main caption + 8 sekme) tek satıra sığmıyor;
   sarmazsa kart overflow-y:auto olduğu için TÜM modal yatay kayardı. */
.pedit__tabs { margin: 2px 0 4px; flex-wrap: wrap; }
.pedit__tabs button { display: inline-flex; align-items: center; gap: 6px; }
.pedit__tabic { display: inline-grid; place-items: center; height: 22px; line-height: 0; flex: none; }   /* (2026-11-19) KUTU YOK: bütün ağlar YouTube gibi — logo kendi renginde, göze eşit boyda (ugcPlatformTabIcon: YouTube 29 × 20, ötekiler 22 px) */
.pedit__tabic svg { display: block; }
.pedit__tabic--ink { color: var(--text); }   /* siyah markalar (TikTok, X, Threads): açık temada siyah, koyu temada açık */
/* (2026-11-19, Emre: "gereksiz yere kare kutuya koyduklarını çıkar… kendi logoları direk olsun") KUTUSUZ ağ logosu — sekme simgesinin her boyda
   kullanılan eşi (posting-platforms.js ugcPlatformBare): renkli kare / daire yok, logo kendi renginde (renk satır içinden), siyah markalar yazı
   renginde, YouTube resmî simgesiyle. Kullanan yuvalar: .pchan__allic--plain · .notifitem__ic--plain · .pdef__ic · .pvpick__it i · .ppx__link__ic · .pacc__pic */
.platbare { display: inline-grid; place-items: center; flex: none; line-height: 0; font-style: normal; }
.platbare svg { display: block; }
.platbare--ink { color: var(--text); }
.pedit__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-light); }   /* bu platformda özel caption var */
.pedit__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: -4px; }
.pedit__ovrnote { font: 500 11.5px var(--font); color: var(--text-dim); }
.pedit__gap { flex: 1; }
/* Hesap seçim kutuları (platform başına) */
.pacc { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pacc__box { border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
/* Kutu başlığı: sekmelerle aynı sade dil — büyük harf YOK, renkli ikon YOK */
.pacc__hd { display: flex; align-items: center; gap: 9px; font: 700 13px var(--font); color: var(--text-mute); margin-bottom: 8px; }   /* (2026-11-19) logo 12 → 22 px: ad 12,5 → 13 px, aralık 9 px (YouTube simgesinin resmî boş alanı ≥ 7,4 px) */
.pacc__pic { display: inline-grid; place-items: center; min-width: 22px; height: 22px; line-height: 0; }   /* kutu yok: logo kendi renginde (ugcPlatformBare) */
.pacc__row {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 7px 9px; margin-top: 4px; border-radius: 10px; border: 1px solid transparent;
  background: none; color: var(--text); font: 600 12.5px var(--font); cursor: pointer;
  transition: background .12s, border-color .12s;
}
.pacc__row:hover { background: var(--bg-elev); }
.pacc__row.is-on { border-color: var(--violet); background: rgba(54,128,103,.12); }
.pacc__row img:where(:not(.netmark, .ytmark)), .pacc__fall { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.pacc__fall { display: grid; place-items: center; background: var(--grad-violet); color: #fff; font: 800 11px var(--font); }
.pacc__row span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pedit { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.pedit__lbl { font: 700 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.pedit__ta {
  min-height: 112px; resize: vertical;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font: 13.5px/1.5 var(--font); padding: 11px 13px;
}
.pedit__ta:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.18); }
.pedit__cnt { align-self: flex-end; font: 600 11px var(--font); color: var(--text-dim); margin-top: -4px; }
.pedit__row { display: flex; gap: 10px; }
/* Kaydetme overlay'i: modalın (ve arkasının) üstünde buzlu cam + spinner —
   Outstand güncellemesi birkaç sn sürer, kullanıcı donma sanmasın */
.pedit__busy {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center;
  background: rgba(8,12,10,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: peBusyIn .15s ease;
}
@keyframes peBusyIn { from { opacity: 0; } }
.pedit__busy-box { display: flex; flex-direction: column; align-items: center; gap: 14px; font: 700 14px var(--font); color: var(--text); }
.pedit__busy-spin { width: 34px; height: 34px; border: 3px solid var(--border-lt); border-top-color: var(--violet); border-radius: 50%; animation: pmspin .7s linear infinite; }
.pedit__field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pedit__field .apinput { width: 100%; }
.pedit__hint { margin: 0; font: 500 12.5px var(--font); color: var(--text-mute); }
.pedit__hint.is-err { color: var(--red, #E7766A); font-weight: 600; }
.pedit__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.pedit__foot .btn:disabled { opacity: .45; cursor: default; pointer-events: none; }   /* değişiklik yokken Save sönük */

/* =========================================================
   Posts — premium yeniden tasarım (tarih gruplu düz liste).
   İlke: kutu-içinde-kutu YOK — tek yüzey, ince ayraçlar,
   bol beyaz alan, sakin tipografi. (.appost* legacy'de kalır.)
   ========================================================= */
.postsx__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 2px 6px; }
.postsx__title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.postsx__sub { font-size: 13.5px; color: var(--text-mute); margin-top: 4px; }
.postsx__top .btn--primary { flex: none; }

.postsx__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding-top: 6px; background: var(--bg); }

/* Sekmeler: alt-çizgili, sayaçlı (segment pill değil) */
.ptabs { display: flex; gap: 2px; margin-bottom: -1px; }
.ptabs button { position: relative; display: inline-flex; align-items: center; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-mute); padding: 9px 13px 13px; transition: color .15s; }
.ptabs button:hover { color: var(--text); }
.ptabs button.is-active { color: var(--text); }
.ptabs button.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--violet); }
.ptabs__n { min-width: 20px; text-align: center; padding: 1px 7px; margin-left: 7px; font-size: 11px; font-weight: 700; color: var(--text-mute); background: var(--bg-elev); border-radius: 999px; }
.ptabs button.is-active .ptabs__n { background: rgba(54,128,103,.2); color: var(--violet-light); }

/* Kanal filtresi (sağda) */
.pchan { position: relative; flex: none; margin-bottom: 8px; }
.pchan__btn { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 7px 11px; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 18px; color: var(--text); cursor: pointer; transition: border-color .15s; }   /* (2026-10-27 Emre) satır yüksekliği 18px → düğme 34px: iç yükseklik ÇİFT, fotoğraflı kanal düğmesiyle (24px avatar + 4px) aynı boy; önce 33 / 38 idi */
.pchan__btn:hover { border-color: var(--border-lt); background: var(--ov-1, rgba(255,255,255,.04)); }
.pchan__btn svg { color: var(--text-mute); }
.pchan__av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.pchan__panel { position: absolute; right: 0; top: calc(100% + 8px); width: 264px; max-height: 320px; overflow-y: auto; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 40; }
.pchan__item { display: flex; align-items: center; gap: 11px; width: 100%; background: none; border: none; text-align: left; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); }
.pchan__item:hover { background: var(--bg-elev); }
.pchan__item img:where(:not(.netmark, .ytmark)) { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
/* (2026-10-27 Emre, 3. tur: "pp hâlâ küçük, %10-16 büyüt, rozeti hallet, miktarlar ÇİFT olsun") Kanal listeleri (Posts · Analytics · Calendar · Messages
   TEK parça): profil fotoğrafının SAĞ ALTINDA ağ logosu, Posts kartındaki rozetle BİREBİR: liste öğesi 32px avatar + 18px rozet (10px logo, 4px dışarıda),
   düğme 24px avatar + 16px rozet (8px logo, 4px dışarıda); hepsi çift → tam piksel ortalama. "All channels" satırı 32px daire + 16px kişi ikonu, Calendar'daki
   ağ satırı aynı daire ağ renginde. Fotoğraf yoksa harf CSS ::before ile (metne girmez → Elk sesli seçim / harness metin eşleşmesi bozulmaz). */
.pchan__avw { position: relative; flex: none; width: 32px; height: 32px; }
.pchan__avw img:where(:not(.netmark, .ytmark)) { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.pchan__pbadge { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid var(--bg-card); line-height: 0; }
.pchan__pbadge svg { width: 10px; height: 10px; display: block; }
.pchan__btn:has(> .pchan__avw) { padding-top: 4px; padding-bottom: 4px; }   /* 1 + 4 + 24 + 4 + 1 = 34px = yazılı düğme */
.pchan__btn .pchan__avw { width: 24px; height: 24px; }
.pchan__btn .pchan__avw img:where(:not(.netmark, .ytmark)) { width: 24px; height: 24px; }
.pchan__btn .pchan__pbadge { width: 16px; height: 16px; right: -4px; bottom: -4px; }
.pchan__btn .pchan__pbadge svg { width: 8px; height: 8px; }
.pchan__avfall { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--text-mute); }
.pchan__avfall::before { content: attr(data-letter); }
.pchan__btn .pchan__avfall { font-size: 11px; }
.pchan__allic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-elev); color: var(--text-mute); line-height: 0; }   /* All channels / All <ağ> satırı */
.pchan__allic > svg { width: 16px; height: 16px; display: block; }
#chanPanel .pchan__lbl, #calChanPanel .pchan__lbl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* etiket tek satır: uzun ad sarmaz, satır hep 48px (… ile kısalır) */
.pchan__tick { margin-left: auto; color: var(--text-mute); opacity: 0; }
.pchan__item.is-on .pchan__tick { opacity: 1; }

/* (2026-09-23) Posts araç satırı: arama + süzgeç + sıralama (U16) — kutusuz, .pchan diliyle */
.ptools { display: flex; align-items: center; gap: 10px; padding: 10px 0 12px; flex-wrap: wrap; }
.ptools .pchan { margin-bottom: 0; }
.ptools__search { flex: 1 1 220px; max-width: 380px; display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 0 11px; color: var(--text-mute); transition: border-color .15s; }
.ptools__search:focus-within { border-color: var(--border-lt); }
.ptools__search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font: 600 13px var(--font); padding: 8px 0; }
.ptools__search input::placeholder { color: var(--text-dim); font-weight: 500; }
.pchan__btn.is-on { border-color: var(--violet); }
.ptools__panel { width: 300px; left: 0; right: auto; padding: 12px; overflow: visible; max-height: none; }
.ptools__h { margin: 2px 2px 6px; font: 700 11px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); }
.ptools__row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ptools__row .apinput { min-width: 0; }
.ptools__dash { color: var(--text-dim); }
.ptools__note { margin: -4px 2px 12px; font-size: 11.5px; color: var(--text-dim); line-height: 1.4; }
.ptools__foot { display: flex; justify-content: flex-end; gap: 8px; }
.pcard__stats { display: flex; align-items: center; gap: 14px; padding: 8px 14px 0; font: 700 12px var(--font); color: var(--text-mute); }
.pcard__stats span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
@media (max-width: 640px) { .ptools__search { flex-basis: 100%; max-width: none; } .ptools__panel { width: min(300px, 86vw); } }
.rdfind { padding-top: 0; }
.calx__chan { margin-bottom: 0; }
.calx__chan .pchan__panel { width: 300px; }   /* (2026-10-27) "@ad · Ağ" etiketleri 32px avatarın yanında tek satıra sığsın */
.fld__ren { margin-left: 4px; }
.fldmodal__hint { margin: 8px 2px 0; font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.fldmodal__hint:empty { display: none; }

/* Tarih grupları — gün panosu: soldan sağa İLERİ akan 4 günlük kayan pencere */
.postsx__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; padding-bottom: 48px; }
@media (max-width: 1200px) { .postsx__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pgroup__head { display: flex; align-items: center; gap: 10px; padding: 0 4px 10px; }
/* Gün kaydırma okları: kutusuz, geniş, MOR (New post butonuyla aynı vurgu) */
.pgroup__nav { flex: none; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; margin: 0 2px; cursor: pointer; color: var(--brand, #368067); transition: color .15s ease, transform .15s ease; }
.pgroup__nav:hover { color: var(--leaf-2, #A6E6C4); transform: scale(1.18); }
.pgroup__nav svg { display: block; }
.pgroup__day { font-size: 14.5px; font-weight: 700; }
.pgroup__date { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.pgroup__count { margin-left: auto; font-size: 12px; color: var(--text-dim); }
.pgroup__rows { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }

/* Kompakt post satırı — tamamı tıklanır, detay modalını açar */
.prow { display: grid; grid-template-columns: 78px 1fr 16px; align-items: center; column-gap: 12px; padding: 17px 15px; cursor: pointer; transition: background .12s ease; }
.prow + .prow { border-top: 1px solid var(--border); }
.prow:hover { background: rgba(255,255,255,.028); }
.prow.is-highlight { box-shadow: inset 0 0 0 2px var(--violet); }
.prow__time { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.prow__rel { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-top: 2px; }
.prow__acct { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prow__avwrap { position: relative; flex: none; width: 31px; height: 31px; }
.prow__av { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; background: var(--bg-elev); display: block; }
.prow__avfall { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-violet); color: #fff; font-size: 12.5px; font-weight: 800; }
/* ÇİFT piksel: 16 kutu − 2×2 border = 12 iç alan, 8 ikon → her yönde 2px eşit pay */
.prow__pbadge { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid var(--bg-card); line-height: 0; }
.prow__pbadge svg { width: 8px; height: 8px; display: block; }
.prow__nick { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow__more { font-size: 11.5px; font-weight: 700; color: var(--text-dim); }
/* Durum noktası — cam/lens hissi (bombeli, hafif parlak) */
.pdot { justify-self: end; width: 11px; height: 11px; border-radius: 50%; position: relative; flex: none; }
.pdot::after { content: ""; position: absolute; left: 16%; top: 10%; width: 42%; height: 34%; border-radius: 50%; background: rgba(255,255,255,.8); filter: blur(.6px); }
.pdot--live { background: radial-gradient(circle at 35% 30%, var(--text, #dff4e9) 0%, #64cb98 55%, #26724c 100%); box-shadow: 0 0 9px rgba(100,203,152,.6), inset 0 -1px 2px rgba(0,0,0,.4); }
.pdot--wait { background: radial-gradient(circle at 35% 30%, #f7d4d0 0%, #e16254 55%, #88291e 100%); box-shadow: 0 0 9px rgba(225,98,84,.55), inset 0 -1px 2px rgba(0,0,0,.4); }
/* Failed: bekleyenin kirmizisiyla karismasin — icinde koyu carpi halkasi. */
.pdot--fail { background: radial-gradient(circle at 35% 30%, #f2b8b2 0%, #c03526 55%, #5f150d 100%); box-shadow: 0 0 9px rgba(192,53,38,.65), inset 0 0 0 2px rgba(0,0,0,.35); }
.pdot--draft { background: radial-gradient(circle at 35% 30%, #D9DFDB 0%, var(--text-dim, #918a82) 55%, var(--border-lt, #4e4a45) 100%); box-shadow: inset 0 -1px 2px rgba(0,0,0,.4); }

.pstatus { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pstatus::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pstatus.is-scheduled { background: rgba(54,128,103,.16); color: var(--violet-light); }
.pstatus.is-draft { background: var(--bg-elev); color: var(--text-mute); }
/* 'posting…' ara durumu: is-scheduled ile birlikte gelir, onu ezmeli (dosyada sonra + ayni ozgulluk) */
.pstatus.is-posting, .pstatus.is-scheduled.is-posting { background: rgba(183,121,31,.22); color: #E0A94A; }
.pstatus.is-posted { background: rgba(130,213,172,.13); color: var(--badge-leaf-fg, #14563A); }
.pstatus.is-failed { background: rgba(212,66,50,.15); color: var(--red, var(--red, #E7766A)); }

/* Yüklenme iskeleti + boş durum */
.pskel { height: 66px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(100deg, var(--bg-card) 40%, var(--bg-elev) 50%, var(--bg-card) 60%); background-size: 200% 100%; animation: pskel 1.2s linear infinite; }
@keyframes pskel { to { background-position: -200% 0; } }
.postsx__empty { text-align: center; padding: 72px 24px; border: 1px dashed var(--border-lt); border-radius: 18px; }
.postsx__empty-ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); }
.postsx__empty h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.postsx__empty p { font-size: 13.5px; color: var(--text-mute); margin-bottom: 18px; }
#postsEmpty { grid-column: 1 / -1; }

/* ---- Post detay modalı: önizleme + açıklama + metrikler + iptal ---- */
.pmodal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); background: rgba(8,12,10,.62); backdrop-filter: blur(7px); }
/* Medya sütunu 9:16 — video çerçeveyi TAM doldurur (siyah bant yok),
   kartın kalan genişliği gövdeye kalır. */
.pmodal__card { display: grid; grid-template-columns: auto minmax(380px, 560px); width: auto; max-width: 96vw; max-height: min(92vh, 820px); background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); animation: pmodal-in .18s ease; }
@keyframes pmodal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.pmodal__media { position: relative; background: #000; height: min(80vh, 680px); aspect-ratio: 9 / 16; }
.pmodal__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmodal__media--none { display: grid; place-items: center; background: var(--bg-elev); color: var(--text-dim); font-size: 13px; }
.pmodal__body { display: flex; flex-direction: column; gap: 18px; padding: 26px; min-width: 0; overflow-y: auto; }
.pmodal__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pmodal__head .prow__nick { font-size: 14.5px; }
.pmodal__head .prow__avwrap, .pmodal__head .prow__av, .pmodal__head .prow__avfall { width: 34px; height: 34px; }
.pmodal__x { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: none; border: 1px solid transparent; color: var(--text-mute); cursor: pointer; font-size: 14px; line-height: 1; }
.pmodal__x:hover { background: var(--bg-elev); color: var(--text); }
.pmodal__when { font-size: 13px; font-weight: 600; color: var(--text-mute); }
.pmodal__when b { color: var(--text); font-weight: 700; }
/* DESCRIPTION / PERFORMANCE başlıkları mor — Repurposer bölüm başlıklarıyla aynı dil */
.pmodal__lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.pmodal__cap { font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto; }
.pmodal__cap.is-empty { color: var(--text-dim); font-style: italic; }
/* Performans — kutu yok: düz stat bandı, ince dikey ayraçlarla (dashboard dili) */
.pmodal__sec { border-top: 1px solid var(--border); padding-top: 16px; }
/* Performance platform seçici — Edit modalındaki sekme diliyle AYNI (.ptabs
   tabanı: alt çizgili aktif sekme). Tek farkı ortalı olması ve sarabilmesi. */
.pmtabs { justify-content: flex-start; flex-wrap: wrap; margin: -2px 0 12px; border-bottom: 1px solid var(--border); }
.pmtabs button { gap: 6px; font-size: 12.5px; padding: 7px 11px 10px; }
.pmodal__metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.pmet { padding: 0 8px; border-left: 1px solid var(--border); min-width: 0; text-align: center; }
.pmet:first-child { border-left: 0; }
.pmet b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; min-height: 26px; white-space: nowrap; }
.pmet span { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
/* Rakamın yanındaki ortalama kıyas rozeti (▲32% / ▼15% / ≈) */
.pmet__cmp { font-size: 10.5px; font-weight: 800; font-style: normal; letter-spacing: 0; color: var(--text-mute); margin-left: 5px; vertical-align: 2px; }
.pmet__cmp.is-up { color: var(--leaf-dark, #81d5ab); }
.pmet__cmp.is-down { color: var(--red, #E7766A); }
.pmspin { display: inline-block; width: 15px; height: 15px; border: 2px solid var(--border-lt); border-top-color: var(--violet); border-radius: 50%; animation: pmspin .7s linear infinite; vertical-align: middle; }
@keyframes pmspin { to { transform: rotate(360deg); } }
.pmodal__note { font-size: 12px; color: var(--text-dim); }
/* Aksiyonlar — buton yığını değil, tek çerçevede satır listesi (Settings dili) */
.pmodal__rows { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.pmrow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-decoration: none; color: var(--text); transition: background .12s; }
.pmrow + .pmrow { border-top: 1px solid var(--border); }
.pmrow:hover { background: var(--bg-elev); }
.pmrow__ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-elev); color: var(--text-mute); line-height: 0; }
.pmrow:hover .pmrow__ic { background: var(--bg-soft); }
.pmrow__ic svg, .pmrow__ic img { display: block; }
.pmrow__ic img { border-radius: 5px; }
.pmrow__tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pmrow__tx b { font-size: 13px; font-weight: 700; }
.pmrow__tx small { font-size: 11.5px; font-weight: 500; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmrow__ok { color: var(--leaf-dark, #81d5ab); font-size: 11px; font-weight: 700; margin-left: 4px; }
.pmrow__go { margin-left: auto; flex: none; color: var(--text-dim); font-size: 15px; transition: color .12s, transform .12s; }
.pmrow:hover .pmrow__go { color: var(--violet-light); transform: translateX(2px); }

.pmodal__foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--border); padding-top: 16px; }   /* aksiyonlar sağa yaslı */
/* (2026-10-21) ikinci .btn--danger tanımı üsttekiyle birleşti (tek malzeme) */

@media (max-width: 860px) {
  .postsx__bar { flex-wrap: wrap; }
  .ptabs { overflow-x: auto; scrollbar-width: none; }
}
/* =========================================================
   Compose — premium düzleştirme (.composex kapsamlı).
   Kart-içinde-kart yok: bölümler (Post to / Video / Caption)
   ince ayraçlarla akar; başlıklar sakin uppercase etiketler.
   DOM/ID'lere DOKUNULMADI — compose.js aynen çalışır.
   ========================================================= */
.composex .cap-pagetitle { font-size: 24px; letter-spacing: -0.02em; margin: 2px 0; }
.composex .composeleft__scroll { gap: 0; }
.composex .composeleft__scroll .apcard { background: transparent; border: none; border-radius: 0; padding: 16px 2px; }
.composex .composeleft__scroll .apcard:first-child { padding-top: 4px; }
.composex .composeleft__scroll .apcard + .apcard { border-top: 1px solid var(--border); }
.composex .apcard__head h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mute); }
.composex .apcard__head { margin-bottom: 12px; }
.composex .apcard__hint { text-transform: none; letter-spacing: 0; }

/* Video kaynak boş durumu: dashed kutu → sade satır */
.composex .apmedia { border: 1px dashed var(--border-lt); background: transparent; }

/* Caption kutuları: yüzeyle bütünleşik, odakta mor halka */
.composex .apta { background: var(--bg-card); }
.composex .apta:focus { box-shadow: 0 0 0 3px rgba(54,128,103,.16); }

/* Schedule paneli: renkli kart yerine üst ayraçlı düz bölüm */
.composex .apsched--fixed { background: transparent; border: none; border-top: 1px solid var(--border); border-radius: 0; padding: 14px 2px 0; margin-top: 4px; }
.composex .apsched--fixed .apcard__head h4 { font-size: 11px; }
.composex .apinput { background: var(--bg-card); }
.composex .apinput:focus { box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.composex .dpick__btn { background: var(--bg-card); }

/* Sağ önizleme: çerçeve gölgesi biraz yumuşasın */
.composex .phoneframe--lg { box-shadow: 0 18px 50px rgba(0,0,0,.4); border-color: var(--border); }

/* =========================================================
   Video editor — TIMELINE ZOOM + kaydırma. İç kapsayıcı
   (ruler+şeritler+playhead) zoom oranında genişler, yatay kayar;
   şerit etiketleri sola yapışık kalır.
   ========================================================= */
.tlbox__scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--border-lt) transparent; }
.tlbox__scroll::-webkit-scrollbar { height: 8px; }
.tlbox__scroll::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 99px; }
.tlbox__scroll::-webkit-scrollbar-track { background: transparent; }
.tlbox__inner { position: relative; min-width: 100%; width: 100%; }
.tlbox__inner .tlbox__playhead { top: 0; bottom: 0; }
.tlbox__tag { position: sticky; left: 0; z-index: 5; background: var(--bg-card); align-self: stretch; display: flex; align-items: center; }
.tlzoom { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; }
.tlzoom .minibtn { padding: 4px 9px; font-size: 13px; line-height: 1; }
.tlzoom__val { font-size: 11.5px; font-weight: 700; color: var(--text-mute); min-width: 36px; text-align: center; }

/* =========================================================
   Video editor — ÇOKLU MÜZİK KATMANI: Media'daki ♪ parçalar,
   timeline'daki dilimler ve altta dilim listesi.
   ========================================================= */
/* Müzik kartı: kapak yerine kompakt mor başlık bloğu (video değil, 9:16 olmasın) */
.binitem--music .binmusic__ic { position: relative; width: 100%; aspect-ratio: 16 / 10; height: auto; border-radius: 0; border: 0; border-bottom: 1px solid var(--border); display: grid; place-items: center; background: linear-gradient(160deg, rgba(54,128,103,.3), rgba(54,128,103,.06)); color: var(--text-mute); }
.binitem--music .binmusic__ic svg { width: 26px; height: 26px; }
.tlmus { position: absolute; top: 3px; bottom: 3px; background: rgba(54,128,103,.32); border: 1px solid rgba(57,131,106,.75); border-radius: 6px; cursor: grab; overflow: hidden; display: flex; align-items: center; padding: 0 7px; transition: background .12s ease, box-shadow .12s ease; }
.tlmus span { font-size: 10px; font-weight: 700; color: var(--tint, #E4F1EA); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.tlmus:hover { background: rgba(54,128,103,.45); }
.tlmus.is-sel { background: rgba(54,128,103,.5); box-shadow: 0 0 0 1.5px var(--violet), 0 0 10px rgba(54,128,103,.5); }
.tlmus:active { cursor: grabbing; }
#tlMusicLane.is-dropover { outline: 2px dashed var(--violet); outline-offset: -2px; background: rgba(54,128,103,.08); }

.musseglist { display: flex; flex-direction: column; gap: 7px; }
.musseg { display: flex; align-items: center; gap: 11px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 11px; padding: 8px 11px; cursor: pointer; transition: border-color .12s ease; }
.musseg:hover { border-color: var(--border-lt); }
.musseg.is-sel { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.musseg__ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(54,128,103,.16); color: var(--violet-light); font-size: 13px; font-weight: 800; }
.musseg__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.musseg__name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.musseg__time { font-size: 11px; font-weight: 600; color: var(--text-dim); }
.musseg__vol { flex: none; width: 140px; display: flex; align-items: center; gap: 8px; }
.musseg__vol input { flex: 1; accent-color: var(--violet); cursor: pointer; }
.musseg__vol b { font-size: 11.5px; font-weight: 700; color: var(--text-mute); width: 34px; text-align: right; }

/* =========================================================
   Video editor — CapCut'laşma: font dropdown'ı, outline
   kontrolleri, Ctrl+çoklu seçim araç çubuğu.
   ========================================================= */
.pchan--font { flex: 1; max-width: 190px; }   /* "System" + ok için yeterli — yarısı boş uzun kutu olmasın */
.pchan--font .pchan__btn { width: 100%; justify-content: space-between; }
.pchan__panel--font { left: 0; right: auto; width: min(320px, 80vw); max-height: 400px; overflow-y: auto; scrollbar-width: thin; }
.fontitem__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.swatch--auto { display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--text); background: var(--ov-2, rgba(255,255,255,.07)) !important; border: 1px solid var(--border) !important; }
/* Butonun KENDİSİ yasak işareti: çember = buton kenarı, çapraz çizgi üstünde
   (sağ üstten sol alta). İçeride ayrı ikon yok. */
.swatch--none { position: relative; overflow: hidden; background: var(--bg-elev) !important; border: 1.5px solid var(--text-mute) !important; }
.swatch--none::after { content: ""; position: absolute; left: 50%; top: 50%; width: 88%; height: 2px; background: var(--text-mute); border-radius: 2px; transform: translate(-50%, -50%) rotate(-45deg); }
.swatch--none.is-active { border-color: var(--red, #E7766A) !important; box-shadow: 0 0 0 2px rgba(212,66,50,.25); }
.swatch--none.is-active::after { background: var(--red, #E7766A); }
.chunk.is-sel { border-color: var(--violet) !important; box-shadow: 0 0 0 1px var(--violet), 0 0 14px rgba(54,128,103,.25); }
.selbar { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 8px; }
.selbar__n { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }

/* =========================================================
   Split screen — premium düzleştirme (.edx kapsamlı).
   Compose ile aynı ilke: kart-içinde-kart yok; Media / boxes /
   ayarlar / müzik bölümleri ince ayraçlarla akar. JS'e dokunulmadı.
   ========================================================= */
.edx .edx__title { padding: 4px 2px 16px; }
.edx .edx__title .postsx__title { font-size: 24px; }
.edx .capcol--left { gap: 0; }
.edx .capcol--left > .setcard { background: transparent; border: none; border-radius: 0; border-top: 1px solid var(--border); padding: 20px 2px 24px; }
.edx .capcol--left > .rxboxes { border-top: 1px solid var(--border); padding: 20px 2px 24px; margin: 0; }
.edx .setcard__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mute); }
.edx .setcard > .setcard__title { margin-bottom: 12px; }
.edx .setcard__head { margin-bottom: 12px; }
.edx .setcard__head .setcard__title { margin-bottom: 0; }
.edx .setcard__opt { text-transform: none; letter-spacing: 0; }
.edx .dropzone { background: transparent; }
.edx .cap__vol input[type=range] { accent-color: var(--violet); }

/* =========================================================
   Calendar — premium yeniden tasarım. Dış kart yok; ay ızgarası
   TEK yüzey: hücreler kutu değil, 1px ayraç çizgileriyle ayrılır.
   ========================================================= */
.calx__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 2px 18px; flex-wrap: wrap; }
.calx__nav { display: flex; align-items: center; gap: 10px; }
/* Telefona özel sayfa başlığı (calendar.html). Masaüstünde YOK — düzen
   bit bazında değişmez; yalnızca ≤700px'te display:block olur. */
.calx__pagetitle { display: none; }
.calx__title { min-width: 210px; text-align: center; }
.calx__arrow { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-mute); cursor: pointer; transition: border-color .15s, color .15s; }
.calx__arrow:hover { border-color: var(--border-lt); color: var(--text); }
.calx__actions { display: flex; align-items: center; gap: 10px; }

/* Takvim: KUTU YOK — transparan yüzey, yalnız ince ayraç çizgileri (post-bridge dili) */
.apcal { background: transparent; border: none; border-radius: 0; overflow: visible; }
.apcal__head { gap: 0; margin-bottom: 0; border-bottom: 1px solid var(--border); }
.apcal__head span { padding: 12px 0 11px; font-size: 11px; letter-spacing: .07em; color: var(--text-dim); }
.apcal__grid { gap: 0; background: transparent; }
.apcal__cell { background: transparent; border: none; border-radius: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-height: 138px; padding: 9px 9px 8px; }
.apcal__grid .apcal__cell:nth-child(7n) { border-right: 0; }
.apcal__grid .apcal__cell:nth-last-child(-n+7) { border-bottom: 0; }
.apcal__cell.is-empty { background: transparent; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); opacity: 1; }
.apcal__grid .apcal__cell.is-empty:nth-child(7n) { border-right: 0; }
.apcal__cell.is-today { background: transparent; }   /* yalnız gün numarası mor — hücre/kenarlık nötr kalır */
.apcal__day { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; }
.apcal__cell.is-today .apcal__day { background: var(--violet); color: #fff; }

/* Pill'ler: yumuşak renk tonu + ince kenarlık; içerik ferah ve dengeli
   dağılır: saat | platform | @hesap ......... durum noktası */
/* Ay hücresindeki post çipi — NÖTR palet: yeşil/mor dolgu yok, durum sağdaki noktada */
.apcal__post { display: flex; align-items: center; gap: 8px; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); border-radius: 9px; font-size: 12px; line-height: 1; padding: 8px 10px; transition: background .12s ease, border-color .12s ease; }
.apcal__post:hover { background: var(--bg-soft); border-color: var(--border-lt); }
.apcal__post .apcal__pt { color: var(--text); flex: none; font-weight: 700; }
.apcal__post.is-posted, .apcal__post.is-failed { background: var(--bg-elev); border-color: var(--border); color: var(--text); }
.apcal__post.is-draft { background: transparent; border-style: dashed; color: var(--text-mute); }
.apcal__ics { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--text-mute); }
.apcal__ic { width: auto; height: auto; border-radius: 0; background: none !important; display: grid; place-items: center; line-height: 0; padding: 0; color: var(--text-mute); }
.apcal__ic svg { width: 13px; height: 13px; display: block; margin: 0; }
.apcal__who { flex: 1 1 auto; min-width: 0; max-width: none; font-size: 12.5px; font-weight: 600; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Durum noktası pill'in sağ kenarında; ✕ yok (silme Posts detayında) */
.apcal__post .pdot { flex: none; margin-left: auto; width: 9px; height: 9px; }

@media (max-width: 1040px) {
  .pmodal__card { grid-template-columns: auto minmax(300px, 1fr); }
  .pmodal__media { height: min(70vh, 540px); }
}
@media (max-width: 640px) {
  .postsx__list { grid-template-columns: 1fr; }
  .pmodal { padding: 10px; }
  .pmodal__card { grid-template-columns: 1fr; max-height: 92vh; }
  .pmodal__media { height: auto; width: 100%; aspect-ratio: 9/14; }
}

/* =========================================================
   Connections — premium. Başlık hizasında sayaç + Connect;
   hesaplar tek yüzeyli listede ince ayraçlarla; günlük kota
   mini ilerleme çubuğu; durum = cam/lens nokta; sil hover'da.
   ========================================================= */
.cnx__headright { display: flex; align-items: center; gap: 10px; align-self: center; }
/* (2026-10-28 Emre + ChatGPT) Connections'ta hukuki not YOK (.cnx__legal silindi); Terms / Privacy / Data deletion / YouTube ToS bağlantıları Settings → Legal kartında (#legal) */
.cnx__count { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-mute); background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; }
.cnx__count b { color: var(--text); font-weight: 800; }
/* (2026-10-28 BEKLETME) Settings → Profile → "Recently disconnected": koparılan hesabın verisi platformun izin verdiği kadar gün bekler;
   satır = .settings__row + avatar/ad + "YouTube · 6 days left" + sessiz "Delete now" (hover'da kırmızı). Connections'ta görünmez (Emre, demo). */
.graceq__row { gap: 10px; }
.graceq__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.graceq__who .pchan__avw { flex: none; }
.graceq__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.graceq__meta b { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.graceq__meta small { font-size: 12px; color: var(--text-mute); }
.graceq__del:hover:not(:disabled) { color: var(--red, #E7766A); }
.cnx__count.is-on { color: var(--leaf-dark, #b9e8d1); background: rgba(130,213,172,.10); border-color: rgba(130,213,172,.24); }
.cnx__count.is-on b { color: var(--leaf-dark, #b9e8d1); }

.cnx__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 14px; }
.cnx__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 20px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); }
.cnx__cardhead .cnx__count { text-transform: none; letter-spacing: 0; padding: 5px 11px; font-size: 12px; }
.cnx__cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 20px; border-top: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.cnx__cardfoot span { flex: 1; min-width: 0; }                    /* soldaki yazı gerekirse kendi içinde sarar */
.cnx__cardfoot a { color: var(--violet-light); font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; }   /* "Manage plan →" asla bölünmez */
.cnx__cardfoot a:hover { text-decoration: underline; }

.cnx__row { display: flex; align-items: center; gap: 15px; padding: 17px 20px; transition: background .12s ease; }
.cnx__row + .cnx__row { border-top: 1px solid var(--border); }
.cnx__row:hover { background: rgba(255,255,255,.022); }

.cnx__avwrap { position: relative; flex: none; width: 46px; height: 46px; }
.cnx__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-elev); display: block; }
.cnx__av--brand { display: grid; place-items: center; color: #fff; }
.cnx__av--brand svg { display: block; }
.cnx__pbadge { position: absolute; right: -4px; bottom: -4px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid var(--bg-card); }
.cnx__pbadge svg { width: 10px; height: 10px; display: block; }

.cnx__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cnx__name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnx__sub { font-size: 12.5px; font-weight: 600; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cnx__quota { flex: none; width: 150px; display: flex; flex-direction: column; gap: 7px; align-items: flex-end; font-size: 12px; font-weight: 600; color: var(--text-mute); }
.cnx__quota b { color: var(--text); font-weight: 800; font-size: 13px; }
.cnx__track { width: 100%; height: 5px; border-radius: 99px; background: var(--bg-elev); overflow: hidden; }
.cnx__track i { display: block; height: 100%; border-radius: 99px; background: var(--violet); transition: width .3s ease; }
.cnx__quota.is-near, .cnx__quota.is-near b { color: var(--orange, #E9B367); }
.cnx__quota.is-near .cnx__track i { background: var(--orange, #E9B367); }
.cnx__quota.is-full, .cnx__quota.is-full b { color: #e36d60; }
.cnx__quota.is-full .cnx__track i { background: #e36d60; }

.cnx__row .pdot { flex: none; width: 11px; height: 11px; margin-left: 6px; }
.cnx__del { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: none; border: 1px solid transparent; color: var(--text-dim); cursor: pointer; opacity: 0; transition: opacity .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.cnx__row:hover .cnx__del, .cnx__del:focus-visible, .cnx__del:disabled { opacity: 1; }
.cnx__del:hover { color: var(--red, #E7766A); background: rgba(212,66,50,.12); border-color: rgba(212,66,50,.3); }
.cnx__del svg { width: 16px; height: 16px; display: block; }
.cnx__warn { background: rgba(240,140,0,.10); border: 1px solid rgba(240,140,0,.3); color: var(--orange, #E9B367); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; margin-bottom: 14px; }

/* Boş durum: davetkâr hero */
.cnx__empty { text-align: center; padding: 64px 24px 56px; border: 1px dashed var(--border-lt); border-radius: 18px; }
.cnx__empty-ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 17px; display: grid; place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); }
.cnx__empty h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cnx__empty p { font-size: 13.5px; color: var(--text-mute); max-width: 420px; margin: 0 auto; }
.cnx__plats { display: flex; justify-content: center; gap: 9px; margin: 18px 0 22px; }
.cnx__plats .connrow__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.cnx__plats .connrow__av svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .cnx__quota { display: none; }
  .cnx__del { opacity: 1; }
}

/* =========================================================
   Created videos — premium galeri (.rdx kapsamlı; rnitem/rngrid
   başka sayfalarda da kullanıldığından SADECE burada geçerli).
   Satırda 8 video; kart = saf 9:16 karo; ad/boyut + indir/sil
   aksiyonları hover'da video üstü gradyanda belirir.
   ========================================================= */
.rdx .rdusage { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; margin: 0; align-self: center; min-width: 220px; }
.rdx .rdusage__bar { width: 220px; flex: none; height: 5px; border: none; background: var(--bg-elev); }
.rdx .rdusage__txt { font-size: 12px; font-weight: 600; color: var(--text-mute); }
.rdx .rdtools { margin: 2px 0 16px; }
.rdx .rdtools__all span { font-weight: 600; }

.rdx .rngrid { grid-template-columns: repeat(8, 1fr); gap: 12px; }
@media (max-width: 1700px) { .rdx .rngrid { grid-template-columns: repeat(7, 1fr); } }
@media (max-width: 1500px) { .rdx .rngrid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1250px) { .rdx .rngrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1050px) { .rdx .rngrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .rdx .rngrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .rdx .rngrid { grid-template-columns: repeat(2, 1fr); } }

.rdx .rnitem { background: #000; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.rdx .rnitem:hover { transform: translateY(-2px); border-color: var(--border-lt); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.rdx .rnitem.is-sel { outline: none; border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.45), 0 12px 30px rgba(0,0,0,.4); }

/* Oynat rozeti: sadece hover'da, küçük ve zarif */
.rdx .rnitem__play { width: 36px; height: 36px; font-size: 13px; opacity: 0; transition: opacity .15s ease, background .15s ease; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.rdx .rnitem__thumb:hover .rnitem__play { opacity: 1; transform: translate(-50%, -50%); }

/* Checkbox: hover'da veya seçiliyken görünür (Google Photos hissi) */
.rdx .rnitem__check { opacity: 0; transition: opacity .15s ease; }
.rdx .rnitem:hover .rnitem__check, .rdx .rnitem.is-sel .rnitem__check { opacity: 1; }

/* "Scheduled" rozeti — planlanmış postu olan video, kullanıcı boşuna silmesin */
.rnitem__sched { position: absolute; top: 8px; right: 8px; z-index: 3; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: rgba(54,128,103,.9); padding: 3px 8px; border-radius: 999px; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
/* "Posted" varyantı — zaten yayınlanmış video (yeşil) */
.rnitem__sched.is-posted, .appick__sched.is-posted { background: rgba(37,120,79,.95); color: #fff; }
/* Rozet içi platform ikonları: hangi sosyal medyaya gittiği bir bakışta belli olsun */
.rnitem__sched, .appick__sched { display: inline-flex; align-items: center; }
.rnitem__sched .schedplats, .appick__sched .schedplats { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; }
.rnitem__sched .schedplats svg, .appick__sched .schedplats svg { display: block; width: 10px; height: 10px; }
.rnitem__sched .schedplats i, .appick__sched .schedplats i { font-style: normal; font-size: 9px; font-weight: 800; }

/* Boş caption uyarısı (Compose): sarı çerçeve + ⚠ notu */
.apta--warn { border-color: rgba(255,196,60,.75) !important; box-shadow: 0 0 0 3px rgba(255,196,60,.14) !important; }
.capwarn { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #ffc94d; }

/* Alt overlay: gradyan + ad/boyut + ikon aksiyonlar (hover'da) */
.rdx .rnitem__ov { flex-direction: column; align-items: stretch; gap: 7px; padding: 26px 9px 9px; background: linear-gradient(transparent, rgba(0,0,0,.86)); opacity: 0; transition: opacity .15s ease; }
.rdx .rnitem__thumb:hover .rnitem__ov { opacity: 1; }
.rdx .rnitem__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.rdx .rnitem__nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.92); }
.rdx .rnitem__sz { flex: none; font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.6); }
.rdx .rnitem__acts { display: flex; gap: 7px; }
.rdx .rnitem__act { flex: 1; height: 30px; display: grid; place-items: center; background: var(--ov-4, rgba(255,255,255,.14)); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 9px; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s ease, border-color .15s ease; }
.rdx .rnitem__act:hover { background: rgba(54,128,103,.9); border-color: transparent; }
.rdx .rnitem__act--danger { flex: 0 0 34px; }
.rdx .rnitem__act--danger:hover { background: rgba(212,66,50,.9); border-color: transparent; }
.rdx .rnitem__act:disabled { opacity: .7; cursor: default; }
.rdx .rnitem__act svg { display: block; }
.rnspin { animation: rnspin .7s linear infinite; }
@keyframes rnspin { to { transform: rotate(360deg); } }

/* =========================================================
   Repurposer — premium düzleştirme (.repx kapsamlı):
   kutu-içinde-kutu yok; Batch'ler / Music / Mix settings ince
   ayraçlarla akan, arası açık bölümler. JS DOM'una dokunulmadı.
   ========================================================= */
.repx .postsx__top { margin-bottom: 8px; }
.repx__btns { display: flex; align-items: center; gap: 10px; align-self: center; }
.repx .setcard { background: transparent; border: none; border-radius: 0; border-top: 1px solid var(--border); padding: 24px 2px 26px; margin: 0 !important; }
/* Bölüm başlıkları MOR: kartlar düzleştirildiği (arka plan/çerçeve yok) için gri
   başlıklar birbirine karışıyordu — Batch 1 / Batch 2 / Music / Mix settings'in
   ayrı bölümler olduğu ilk bakışta anlaşılsın. */
.repx .setcard__title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.repx .setcard__opt { margin-left: 0; }
.repx #batchList { display: flex; flex-direction: column; }
.repx .batchcard .setcard__head { margin-bottom: 12px; }
.repx .rncalc { background: transparent; border: none; padding: 0; font-size: 13px; }
.repx .mixfoot { margin-top: 16px; }
.repx .muscard__hint { margin: 10px 0 12px; }   /* (2026-09-17 Emre) butonlar aciklamaya giriyordu: -6px → 10px */
.repx .limits-note:empty { display: none; }

/* =========================================================
   Repurposer — Music bölümü. Satır düzeni (Emre'nin çizimi):
   [dosya ikonu·hover ✕] [ad] | [start slider] | [volume] | [▶]
   Her çıktı videosu havuzdan RASTGELE parça alır.
   ========================================================= */
.muscard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.muscard__head .setcard__title { margin-bottom: 0; }   /* (2026-09-17) butonlar basligin altina sarkip aciklamaya girmesin */
.muscard__hint { font-size: 12px; color: var(--text-dim); margin: 0 0 12px; line-height: 1.5; }
.muscard__tip { color: var(--text); font-weight: 600; }
.muslist { display: flex; flex-direction: column; gap: 8px; }
.muslist:empty::after { content: "No tracks yet — videos keep only their original audio."; font-size: 12.5px; color: var(--text-dim); }
.musrow { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; }
.musrow__file { position: relative; flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); color: var(--text); cursor: pointer; padding: 0; }
.musrow__file svg { display: block; }
.musrow__x { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; background: rgba(212,66,50,.88); color: #fff; font-size: 14px; font-weight: 800; opacity: 0; transition: opacity .15s ease; }
.musrow__file:hover .musrow__x { opacity: 1; }
.musrow__name { flex: 0 1 190px; min-width: 90px; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-right: 1px solid var(--border); padding-right: 14px; align-self: stretch; display: flex; align-items: center; }
/* gap 12px: slider'ın thumb'ı 22px yüksekliğinde ama track 6px — thumb track'in
   8px üstüne taşıyor ve 5px boşlukta etiketin üstüne biniyordu.
   max-width: slider tüm boşluğu yutup çok uzuyordu; sınırlayıp artan yeri
   margin-right:auto ile sağdaki sütunlara bırakıyoruz (kontroller sağda kalır). */
.musrow__part { flex: 0 1 330px; min-width: 140px; max-width: 330px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--border); padding-right: 14px; }   /* (2026-09-17) slider sabit genislik; kalan yer "Plays" blogunun (from/to yan yana) */
.musrow__lbl { font-size: 11px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.musrow__t { color: var(--text); font-weight: 700; }
.musrow__tin { width: 46px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: inherit; font-size: 11.5px; font-weight: 700; padding: 1px 5px; text-align: center; margin: 0 2px; }
.musrow__tin:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.musrow__dur { color: var(--text-dim); font-weight: 600; }
.musrow__volr { width: 100%; accent-color: var(--violet); cursor: pointer; }
/* Start slider = KISKAÇ: track'in mor kısmı videoya girecek bölüm (JS gradient
   ile boyanır: öncesi beyazımsı, sonrası mor). Thumb dik köşeli kıskaç çubuğu. */
.musrow__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 2px; background: var(--brand, #368067); cursor: pointer; outline: none; }
.musrow__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 9px; height: 22px; border-radius: 2px; background: var(--brand, #368067); border: none; box-shadow: inset 2.5px 0 0 rgba(255,255,255,.9), 0 0 8px rgba(54,128,103,.55); cursor: ew-resize; }
.musrow__range::-moz-range-thumb { width: 9px; height: 22px; border-radius: 2px; background: var(--brand, #368067); border: none; box-shadow: inset 2.5px 0 0 rgba(255,255,255,.9), 0 0 8px rgba(54,128,103,.55); cursor: ew-resize; }
.musrow__range::-moz-range-track { background: transparent; }
.muscard__btns { display: flex; align-items: center; gap: 8px; }
/* 160px: "Music starts in video at" etiketi tek satıra sığsın */
.musrow__vstart { flex: none; width: 160px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid var(--border); padding-right: 14px; }
.musrow__vsrow { display: flex; align-items: center; gap: 6px; }
.musrow__vin { width: 62px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 8px; color-scheme: dark; }
.musrow__vin:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.musrow__vsuf { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.musrow__vol { flex: none; width: 150px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid var(--border); padding-right: 14px; }
.musrow__volrow { display: flex; align-items: center; gap: 8px; }
.musrow__volt { font-size: 12px; font-weight: 700; color: var(--text-mute); width: 40px; text-align: right; flex: none; }
/* (2026-09-15) müzik satırı: yükleme durumu + "nerede çalsın" */
.musrow { flex-wrap: wrap; row-gap: 10px; }
.musrow__id { flex: 0 1 200px; min-width: 120px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border); padding-right: 14px; }
.musrow__id .musrow__name { border-right: 0; padding-right: 0; flex: none; min-width: 0; }
.musrow__st { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.musrow__st.is-ok { color: var(--brand, #368067); }
.musrow__st.is-err { color: var(--red, #E7766A); white-space: normal; }
.musrow__bar { display: inline-block; width: 70px; height: 5px; border-radius: 99px; background: var(--ov-2, rgba(255,255,255,.1)); overflow: hidden; }
.musrow__bar b { display: block; height: 100%; background: var(--brand, #368067); border-radius: 99px; transition: width .2s; }
.musrow__where { flex: 1 1 320px; min-width: 300px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; border-right: 1px solid var(--border); padding-right: 14px; }   /* (2026-09-17) kalan yeri bu blok alir: from/to pillerin yaninda, sigmazsa sarar */
.musrow__where > .musrow__lbl { flex: 1 1 100%; }   /* (2026-09-17) etiket kendi satirinda; piller + from/to yan yana, sigmazsa sarar */
.musrow__modes { display: inline-flex; flex-wrap: wrap; gap: 3px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; padding: 3px; width: max-content; max-width: 100%; }
.muspill { border: 0; background: none; color: var(--text-mute); font-family: inherit; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.muspill.is-on { background: var(--brand, #368067); color: #fff; }
.musrow__modeopt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mute); }
.musrow__sel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 8px; }
.musrow__play { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); cursor: pointer; font-size: 13px; display: grid; place-items: center; padding: 0; padding-left: 2px; transition: background .15s ease; }
.musrow__play:hover { background: rgba(54,128,103,.3); }
@media (max-width: 760px) {
  .musrow { flex-wrap: wrap; }
  .musrow__name { border: none; flex: 1 1 auto; }
  .musrow__part, .musrow__vol, .musrow__vstart { width: 100%; flex: 1 1 100%; border: none; padding-right: 0; }
}

/* ============ VİDEO KLASÖRLERİ (folders.js) — dropdown, modal, taşıma ============ */
/* Repurposer "Save to folder": Created videos'takiyle AYNI dropdown, sadece
   satır içinde konumlanır (görünüm/renk/panel hepsi ortak .pchan--fld). */
.rzfld { flex: none; }
.rzfld__opt { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-dim); }
.pchan--fld { margin-bottom: 0; }
.pchan--fld .pchan__btn { padding: 6px 10px; font-size: 12.5px; }
.pchan__panel--fld { width: 244px; }
.fld__ico { display: inline-flex; line-height: 0; color: var(--text-mute); flex: none; }
.fld__nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* SAYI ile ✕ AYNI YERİ PAYLAŞIR (2026-07-29).
   ÖNCE: ✕ `opacity: 0` idi — görünmüyordu ama YER KAPLIYORDU, o yüzden video
   sayısı sağ kenardan uzakta, boşlukta duruyordu. Artık ✕ akıştan tamamen
   çıkıyor (`display: none`) ve satırın üstüne gelince sayının YERİNİ alıyor.
   İkisine de aynı `min-width` verildi ki değişimde satır oynamasın. */
.fld__n { flex: none; order: 1; min-width: 20px; text-align: right; font-size: 11px; font-weight: 700; color: var(--text-mute); }
/* SIRA (order) ŞART: ✕ düğümü JS'te satırın SONUNA ekleniyor (folders.js
   `it.appendChild(x)`), yani DOM'da tik'ten sonra geliyor. Sırayı düzeltmezsek
   ✕ tik'in SAĞINDA açılıyor ve tik hover'da 10px'den 40px'e KAYIYOR — ölçüldü.
   `order` ile ✕ sayının yerine, tik hep en sağa oturur; DOM'a dokunmadan. */
.pchan--fld .pchan__tick, .pchan__panel--fld .pchan__tick { margin-left: 4px; order: 2; }
.fld__del { flex: none; order: 1; display: none; min-width: 20px; text-align: center; font-size: 11px; color: var(--text-mute); padding: 2px 0; border-radius: 6px; }
.pchan__item:hover .fld__del { display: inline-block; }
.pchan__item:hover .fld__n { display: none; }
.fld__del:hover { color: var(--red, #E7766A); background: rgba(218,60,43,.12); }
.fld__ren:hover { color: var(--text); background: var(--bg-elev); }
/* DOKUNMATİKTE hover YOK: orada ikisi de hep görünür, yoksa kullanıcı klasörü
   silemez. Genişlik değil `hover: none` sorulur — ölçüt ekran boyutu değil,
   cihazın imleci olup olmaması. */
@media (hover: none) {
  .fld__del { display: inline-block; }
  .pchan__item:hover .fld__n { display: inline; }
}

/* SEÇİLİ SATIR: tik YOK, ad ve sayı MOR (2026-07-29).
   Tik sağda gereksiz yer kaplıyordu; üstelik açılır butonun kendisi zaten seçili
   klasörün adını yazıyor, yani seçim iki yerden belli oluyor.

   `:has(.fld__n)` KİLİDİ ŞART, süs değil: compose.js'in kaynak ve zamanlama
   seçicileri de `pchan--fld` sınıflarını kullanıyor (compose.js:123/125/817)
   ama onlarda SAYI YOK — tiki oradan da silseydik hiçbir seçim göstergesi
   kalmazdı. Aynı koruma, sayısız kurulan bir klasör menüsü için de geçerli.
   `:has()` desteklenmeyen eski tarayıcıda kural komple düşer ve tik geri gelir
   — yani bozulma değil, bugünkü davranışa dönüş. */
.pchan__panel--fld .pchan__item:has(.fld__n) .pchan__tick { display: none; }
.pchan__panel--fld .pchan__item.is-on:has(.fld__n) .fld__nm,
.pchan__panel--fld .pchan__item.is-on:has(.fld__n) .fld__n { color: var(--violet-light, #7DD4A8); }
.fld__sep { height: 1px; background: var(--border); margin: 6px 8px; }
.fldempty { grid-column: 1 / -1; text-align: center; color: var(--text-mute); font-size: 13px; padding: 30px 8px; }

/* Created videos toolbar: ikon aksiyonlar (download / delete / klasöre taşı) */
.rdtools__acts { display: inline-flex; gap: 8px; position: relative; }
/* ESKI KARE-MSI KOSE GERI GELDI (Emre 2026-08-18): 2dd1228'de .btn'in yaricapi
   10px -> 999px yapilinca bu ikon butonlar da tam yuvarlaga dondu; eski hali
   daha sikti. .btn--icon'u YALNIZ bu 4 buton kullaniyor (Created videos'taki
   klasor/indir/sil + Posts'taki iptal), o yuzden diger butonlar hap kaliyor. */
.btn--icon { padding: 7px 9px; line-height: 0; border-radius: 10px; }
.btn--icon svg { display: block; }
/* seçim yokken pasif görünüm — tıklanabilir hissi vermesin */
.rdtools__acts .btn:disabled { opacity: .35; cursor: default; pointer-events: none; filter: saturate(.4); }
.fldpick { position: absolute; right: 0; top: calc(100% + 8px); }

/* Compose: picker üstünde sağa yaslı klasör filtresi */
.cfldrow { display: flex; justify-content: flex-end; margin-bottom: 10px; }
/* apcard başlığında: klasör filtresi + kaynak dropdown'ı aynı satırda (kaynak en sağda) */
.cfldrow--head { margin-bottom: 0; gap: 8px; align-items: center; }
.pchan__panel--src { width: 196px; }

/* New folder modalı (isim + renk) */
.fldmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.fldmodal__back { position: absolute; inset: 0; background: rgba(10,8,6,.6); backdrop-filter: blur(3px); }
.fldmodal__card { position: relative; width: min(360px, calc(100vw - 32px)); background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px; }
.fldmodal__title { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.fldmodal__input { width: 100%; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 13.5px; color: var(--text); }
.fldmodal__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.16); }
.fldmodal__lbl { margin: 14px 0 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); }
.fldsw { display: flex; gap: 9px; flex-wrap: wrap; }
.fldsw__b { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; padding: 0; transition: transform .12s; }
.fldsw__b:hover { transform: scale(1.12); }
.fldsw__b.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--c); }
.fldmodal__acts { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }

/* MediaMaxxing (Settings bölümü): logo + başlıkla AYNI hizada switch + ⓘ tooltip */
.mmlogo { border-radius: 4px; vertical-align: -5px; margin-right: 9px; }
/* "MediaMaxxing" yazısı — MM logosuyla aynı aile mavi gradient.
   Koyu bg'de kaybolmasın: bir tık aydınlık uçlar + biri SIKI (netlik/halo)
   biri yumuşak (hafif parıltı) iki katmanlı shadow */
.mmglow {
  font-weight: 800;
  background: #368067;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 1px rgba(125,212,168,.55)) drop-shadow(0 0 6px rgba(54,128,103,.35));   /* (2026-09-19) kahve parlama → yesil */
}
/* MM bölümünün switch'i de yazıyla aynı mavi gradient (yalnızca mmhead içindeki) */
.mmhead .apswitch input:checked + .apswitch__track {
  background: #368067;
  border-color: var(--violet-dark, #286B52);
  box-shadow: 0 0 8px rgba(54,128,103,.35);
}
.mmhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mmhead__t { display: inline-flex; align-items: center; }
.infoi { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 8px; border-radius: 50%; border: 1px solid var(--border-lt); color: var(--text-dim); font: 700 10px/1 var(--font); text-transform: none; letter-spacing: 0; cursor: help; flex: none; }
.infoi:hover { color: var(--violet-light); border-color: var(--violet); }
/* MM key doğrulama hatası (geçersiz key / Bronze rank şartı) — kırmızı, gözden kaçmasın */
.mmhint--err { color: var(--red, #E7766A) !important; font-weight: 600; }

/* "Choose from Created videos" — dropzone altındaki açma butonu + seçici modalı */
.rpk-open { width: 100%; margin-top: 8px; justify-content: center; }
/* "Choose from Created videos" ile altındaki tam-genişlik buton yapışmasın. */
.rpk-open + .btn--block { margin-top: 8px; }
/* Klip yerleştirme ipucu: masaüstünde sürükleme, dokunmatik/dar ekranda buton. */
.hint-drag { display: inline; } .hint-tap { display: none; }
@media (hover: none), (max-width: 900px) { .hint-drag { display: none; } .hint-tap { display: inline; } }
.rpk { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.rpk[hidden] { display: none; }
.rpk__back { position: absolute; inset: 0; background: rgba(8,12,10,.72); backdrop-filter: blur(3px); }
.rpk__box { position: relative; width: min(880px, calc(100vw - 32px)); max-height: min(80vh, 740px); display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.rpk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 4px; font: 700 15px var(--font); }
.rpk__headr { display: inline-flex; align-items: center; gap: 10px; }
.rpk__fld .pchan__btn { padding: 7px 11px; }
.rpk__x { background: none; border: 0; color: var(--text-dim); font-size: 15px; cursor: pointer; padding: 6px; border-radius: 8px; }
.rpk__x:hover { color: var(--text); background: var(--bg-elev); }
.rpk__hint { padding: 0 18px 10px; font-size: 12.5px; color: var(--text-mute); }
.rpk__grid { flex: 1 1 auto; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); grid-auto-rows: 212px; gap: 10px; padding: 4px 18px 14px; }
/* SABİT satır yüksekliği (grid-auto-rows) — aspect-ratio + stretch çakışması
   kartların üst üste binmesine yol açıyordu; sabit yükseklik kökten çözer. */
.rpk__item { position: relative; height: 212px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #000; padding: 0; cursor: pointer; transition: border-color .12s, transform .12s; }
.rpk__item:hover { border-color: var(--violet); transform: translateY(-1px); }
.rpk__item.is-sel { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(54,128,103,.45); }
.rpk__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rpk__nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font: 600 10.5px var(--font); color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.rpk__ok { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: #fff; font: 800 12px var(--font); box-shadow: 0 1px 6px rgba(0,0,0,.45); }
.rpk__note { grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: var(--text-mute); font: 500 13.5px var(--font); }
.rpk__foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); }
.rpk__cnt { font: 600 12.5px var(--font); color: var(--text-mute); }

/* Settings → Refer & earn: kod kutusu + kopyalama butonları */
.refrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.refcode { padding: 9px 16px; background: var(--bg-elev); border: 1px dashed var(--border-lt); border-radius: 10px; color: var(--violet-light); font: 700 15px/1.2 "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 3px; user-select: all; }
/* Kod yüklenemedi/hata: soluk + tıklanınca yeniden dener (sessiz "—" YOK) */
.refcode.is-err { color: var(--text-dim); border-color: var(--border); letter-spacing: 0; font: 600 13px/1.2 var(--font); cursor: pointer; }
/* Kendi kodunu seç — inline satır (kutu değil, refrow ile aynı düzlem) */
.refedit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: -4px 0 14px; }
.refedit__in { flex: 0 1 220px; min-width: 140px; padding: 9px 14px; background: var(--bg-elev); border: 1px solid var(--border-lt); border-radius: 10px; color: var(--text); font: 700 15px/1.2 "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; text-transform: uppercase; outline: none; }
.refedit__in:focus { border-color: var(--violet-light); }
.refedit__hint { flex-basis: 100%; margin: 0; }
.refedit__hint.is-err { color: #e16254; }

/* Compose: MediaMaxxing auto-submit bloğu (Schedule kartının altı) */
.apmm { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 10px; }
.apmm__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.apmm__lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-mute); }
.apmm select.apinput { width: 100%; }
.apmm .apsched__hint { margin-top: 6px; }

/* Kırık avatar yedeği (shell.js data-plat mekanizması): yuvarlak marka dairesi */
.ugc-avbrand { display: inline-grid !important; place-items: center; color: #fff; overflow: hidden; flex: none; }
.ugc-avbrand svg { width: 58%; height: 58%; display: block; }
/* API key alanı: monospace + sabit tam genişlik (tarayıcı şifre-yöneticisi
   müdahalesine ve kendiliğinden daralmaya karşı) */
.mmkeyin { width: 100%; min-width: 0; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace; font-size: 13.5px; letter-spacing: .02em; }

/* ============ Compose SCHEDULE kompaktlaştırma + mod dropdown'ı ============ */
/* 4 kontrol tek satırda: Start at · Time · Gap · Unit */
.apsched__grid4 { display: grid; grid-template-columns: 1.3fr 1fr .62fr .95fr; gap: 8px; }
.apsched__grid4 .apfield { margin-bottom: 8px; min-width: 0; }
.apsched__grid4 .apinput { width: 100%; min-width: 0; }
/* Schedule + Save to drafts yan yana, EŞİT genişlik */
.apsched__btnrow { display: flex; gap: 8px; }
.apsched__btnrow .btn { flex: 1 1 0; min-width: 0; }
/* Manuel satırlar: video adı + tarih + saat (ad taşarsa üç nokta).
   Sütunlar ÖZEL seçiciye göre ölçülü (native input'tan geniş); minmax ile dar
   ekranda küçülebilir, etiketler üç noktaya döner → satır asla taşmaz. */
.apmanrow { grid-template-columns: minmax(0, 1fr) minmax(0, 152px) minmax(0, 152px); }
.apmanrow__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apmanrow .dpick__val, .apmanrow .tpick__val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* NOT: burada max-height + overflow YOK. Tarih/saat popup'ı position:absolute
   olduğu için scroll kabı onu KIRPIYORDU (takvim yarım görünüyordu) ve 292px'lik
   popup yatay kaydırma çubuğu doğuruyordu. Liste uzarsa sayfa normal kayar. */
#bulkManual { padding-right: 4px; }

/* Caption butonları: mor zemin + beyaz ikon (bookmark / stars) */
.capbtn { display: inline-flex; align-items: center; gap: 7px; background: var(--violet); border: 1px solid var(--violet); color: #fff; border-radius: 9px; font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 12px; cursor: pointer; transition: background .15s, transform .12s; }   /* parlama kapali (2026-07-29) */
.capbtn:hover { background: var(--brand2, #286B52); border-color: var(--brand2, #286B52); }
.capbtn:active { transform: scale(.97); }
.capbtn svg { display: block; flex: none; }

/* ⓘ Music yardım popup içeriği */
.rnmodal__title { font-size: 18px; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.mushelp { display: flex; flex-direction: column; gap: 14px; }
.mushelp__row { display: flex; align-items: flex-start; gap: 12px; }
.mushelp__ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); color: var(--text-mute); }
.mushelp__ic svg { display: block; }
.mushelp__row > div > b { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.mushelp__row p { font-size: 12.5px; color: var(--text-mute); line-height: 1.5; margin: 0; }
.mushelp__row p b { display: inline; font-size: inherit; margin: 0; color: var(--text); font-weight: 700; }
.rnmodal__nav--end { justify-content: flex-end; }

/* =========================================================
   Dashboard v2 — KUTUSUZ. İnce çizgiyle bölünmüş istatistik bandı +
   Editing/Posting satır listeleri (Linear/Stripe dili). Kart yok.
   ========================================================= */
.dashx .dash-title { margin-bottom: 6px; }
.dashx__hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 2px 16px; flex-wrap: wrap; }
.dashx__sub { font-size: 14px; color: var(--text-mute); }
.dashx__hero .btn--primary { flex: none; }

/* İstatistikler: tek bant, dikey ince çizgilerle bölünmüş */
/* Özet kutuları: ayraçlı tek şerit yerine BAĞIMSIZ kartlar (Buffer "Summary"
   dili) — sade, yuvarlak, ince çerçeveli; sayfa geneliyle aynı kart diliyle. */
.dashx__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.dashx__stat[hidden] { display: none; }
.dashx__stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 15px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .16s ease, background .16s ease; }
.dashx__stat:hover { border-color: var(--border-lt); background: var(--bg-elev); }
.dashx__stat-l { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.dashx__stat b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.dashx__stat-s { font-size: 11.5px; font-weight: 500; color: var(--text-mute); }
/* landing analytics mockup'indaki dil: sag ustte kucuk aralik etiketi + yesil/kirmizi delta */
.dashx__stat { position: relative; }
.dashx__stat-tag { position: absolute; top: 14px; right: 16px; color: var(--text-dim); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }
.dashx__stat-d.is-up { color: var(--badge-leaf-fg, #7DD4A8); font-weight: 700; }
.dashx__stat-d.is-down { color: var(--red, #E7766A); font-weight: 700; }
/* Sagdaki dekoratif egri (app.html spark()): kartin sag %46'si, metnin ALTINDA
   boyanir (metin z-index 1). Nokta-izgara dokusu ::before, parilti CSS blur. */
.dashx__spark { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; max-width: 132px; pointer-events: none; overflow: hidden; border-radius: 0 13px 13px 0; z-index: 0; opacity: .92;
  /* (2026-10-26 Emre) Parilti / doku kutunun ortasinda SERT bir dikey cizgiyle kesilmesin: kesme yerine sol kenardan yumusak gecis
     (kutu ikiye bolunmus gibi duruyordu). Cizgi de ayni yerde solar; sayi alani (sol %54) temiz kalir. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%); }
.dashx__spark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor .7px, transparent .8px); background-size: 9px 9px; opacity: .09; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.dashx__spark svg { position: absolute; right: 0; top: 50%; height: 100%; width: auto; transform: translateY(-50%); overflow: visible; }
/* Parilti kartin sag alt kosesinden yayilir (nokta halesi degil) — dark'ta mat */
.dashx__spark .dsx__glow { opacity: .24; }   /* bulaniklik SVG feGaussianBlur ile (shell.js ugcSpark) — iOS Safari CSS blur'u SVG icinde uygulamiyordu */
:root[data-theme="light"] .dashx__spark .dsx__glow { opacity: .20; }
.dashx__spark.is-up { color: var(--badge-leaf-fg, #7DD4A8); }
.dashx__spark.is-down { color: var(--red, #E7766A); }
.dashx__spark.is-flat { color: var(--text-dim); }
.dashx__spark.is-flat .dsx__glow { opacity: .10; }
.dashx__stat > .dashx__stat-l, .dashx__stat > b, .dashx__stat > .dashx__stat-s { position: relative; z-index: 1; }
.dashx__stat-tag { z-index: 2; }
@media (max-width: 860px) { .dashx__spark { width: 44%; max-width: 88px; } }

/* ===== Analytics: ust kutular + buyuk gunluk grafik (2026-08) ===== */
.an3-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.an3-chart { position: relative; margin-bottom: 16px; padding: 14px 16px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; }
.an3-chart__head { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 32px; margin-bottom: 8px; padding: 0 90px; }
.an3-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.an3-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px 5px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elev); color: var(--text); font-size: 11.5px; font-weight: 700; }
.an3-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #39836A); flex: none; }
.an3-chip button { border: 0; background: none; color: var(--text-dim); cursor: pointer; font-size: 13px; font-weight: 700; padding: 0 3px; line-height: 1; font-family: inherit; }
.an3-chip button:hover { color: var(--text); }
.an3-add { width: 27px; height: 27px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-mute); font-size: 15px; font-weight: 800; cursor: pointer; line-height: 1; font-family: inherit; transition: border-color .12s, color .12s; }
.an3-add:hover { border-color: var(--border-lt); color: var(--text); }
.an3-pickwrap { position: relative; }
.an3-pick { position: absolute; z-index: 30; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); min-width: 248px; padding: 8px; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 12px; box-shadow: var(--shadow); }
.an3-pick__row { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 650; color: var(--text); user-select: none; }
.an3-pick__row:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.an3-pick__row input { accent-color: var(--violet); margin: 0; }
.an3-pick__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #39836A); flex: none; }
.an3-pick__style { margin-left: auto; display: inline-flex; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.an3-pick__style button { border: 0; background: none; color: var(--text-dim); font-size: 9.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; cursor: pointer; font-family: inherit; }
.an3-pick__style button.is-on { background: var(--bg-elev); color: var(--text); }
.an3-canvas { position: relative; height: 300px; }
.an3-chart__note { position: absolute; right: 2px; top: 8px; color: var(--text-dim); font-size: 10.5px; max-width: 34%; text-align: right; pointer-events: none; }   /* (2026-10-28) not Views / + düğmelerinin üstüne binemez: dar + tıklanmaz */
@media (max-width: 860px) {
  .an3-stats { grid-template-columns: repeat(2, 1fr); }
  .an3-chart__head { padding: 0; }
  .an3-chart__note { position: static; width: 100%; max-width: none; text-align: center; }
  .an3-canvas { height: 240px; }
}

/* Bölüm etiketi + satır listesi */
/* Bölüm başlığı ile kartlar arasında nefes payı (eskiden 2px, yapışıktı) */
.dashx__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin: 26px 2px 12px; }
.dashx__stats + .dashx__label { margin-top: 0; }   /* özet kartlarından hemen sonraki ilk başlık */
.dashx .modules { display: block; margin-bottom: 14px; }
.dashx .module {
  display: flex; align-items: center; gap: 16px;
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  padding: 9px 8px; border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}
.dashx .module::before { content: none; }
.dashx .module:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.025); border-color: var(--border); }
.dashx .module__icon { width: 40px; height: 40px; border-radius: 11px; margin: 0; flex: none; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); box-shadow: none; }
.dashx .module__txt { flex: 1; min-width: 0; }
.dashx .module h3 { font-size: 15.5px; font-weight: 700; }
/* Aciklama tek satirda cumlenin ortasindan kesiliyordu ("...classic re…");
   iki satira kadar sarilsin, gerekirse orada kesilsin. */
.dashx .module p { margin-top: 2px; font-size: 13px; color: var(--text-mute); white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dashx .module__credits { position: static; order: 4; flex: none; font-size: 11.5px; padding: 4px 9px; }
.dashx .module:hover .module__credits { opacity: 1; }     /* satır düzeninde gizlenmesin */
.dashx .module__go { position: static; order: 5; flex: none; font-size: 13px; width: 58px; text-align: right; }

@media (max-width: 860px) {
  .dashx__stats, .dashx__stats.is-mm { grid-template-columns: repeat(2, 1fr); }   /* mobilde her zaman 2'li (is-mm specificity'sini de ez) */
  /* NOT: ayraç çizgileri kaldırıldı (artık bağımsız kartlar) → nth-child kuralları da gitti */
  .dashx .module p { white-space: normal; }
  .dashx .module__go { display: none; }
}
.capmodal__add .btn { flex: 0 0 auto; align-self: flex-start; }

.capmodal__list { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px 14px; max-height: 48vh; overflow: auto; }
.capmodal__row {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: border-color .14s, background .14s;
}
.capmodal__row:hover { border-color: var(--border-lt); background: var(--bg-elev); }
.capmodal__txt {
  flex: 1 1 auto; font-size: 13.5px; color: var(--text);
  white-space: pre-wrap; word-break: break-word; line-height: 1.5;
}
.capmodal__del {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: transparent; border: 1px solid transparent; border-radius: 9px;
  color: #e36d60; cursor: pointer; transition: background .14s, border-color .14s;
}
.capmodal__del:hover { background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.35); }
.capmodal__empty {
  padding: 26px 14px; color: var(--text-dim); font-size: 13.5px; text-align: center; line-height: 1.55;
}

.connrow {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 13px; transition: background .14s;
}
.connrow + .connrow { margin-top: 2px; }
.connrow:hover { background: var(--bg-elev); }
.connrow--acct { background: var(--bg-soft); margin-bottom: 6px; border: 1px solid var(--border); }
.connrow__av {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elev); color: var(--text-mute); overflow: hidden;
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3px var(--border);
}
.connrow__av svg { display: block; }
.connrow__av--letter { background: var(--grad-violet); color: #fff; font-weight: 800; font-size: 18px; }
.connrow__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.connrow__name {
  font-weight: 700; font-size: 15.5px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.connrow__sub { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.connrow__badge { flex: 0 0 auto; display: inline-flex; align-items: center; }
.connrow__ok {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #60ca95;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: rgba(52,156,104,.12); border: 1px solid rgba(52,156,104,.28);
}
.connrow__ok svg { width: 16px; height: 16px; }
/* Günlük delivery sayacı pill'i (used/limit) */
.connrow__quota {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 700; color: var(--text-mute);
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--border);
}
.connrow__quota b { color: var(--text); font-weight: 800; }
.connrow__quota.is-near { color: var(--orange, #E9B367); background: rgba(240,140,0,.10); border-color: rgba(240,140,0,.28); }
.connrow__quota.is-near b { color: var(--orange, #E9B367); }
.connrow__quota.is-full { color: #e36d60; background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.32); }
.connrow__quota.is-full b { color: #e36d60; }
/* Durum ikonu (yazısız): yeşil tick / kırmızı çarpı */
.connrow__stat { flex: 0 0 auto; display: inline-flex; align-items: center; }
.connrow__stat svg { width: 22px; height: 22px; }
.connrow__stat.is-on { color: #60ca95; }
.connrow__stat.is-off { color: #e36d60; }
/* İkon-only disconnect (çöp kutusu) */
.connrow__btn--icon { padding: 8px; }
.connrow__btn--icon svg { width: 16px; height: 16px; }
.connrow__btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer;
  padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  transition: background .15s, border-color .15s;
}
.connrow__btn svg { width: 15px; height: 15px; }
.connrow__btn--danger { color: #e36d60; border-color: rgba(218,60,43,.32); }
.connrow__btn--danger:hover { background: rgba(218,60,43,.12); border-color: rgba(218,60,43,.55); }

@media (max-width: 560px) {
  .conncard__head { padding: 16px 16px; }
  .conncard__body--cta { padding: 18px 16px; }
  .conncard__cta { gap: 16px; }
  .conncard__ctabtn { width: 100%; justify-content: center; }
  .connrow__ok { font-size: 0; gap: 0; padding: 7px; }
  .connrow__ok svg { width: 17px; height: 17px; }
  .connrow__btn { padding: 9px 12px; }
}

/* ============================================================
   Kaydırma çubuğu — site geneli (dark + violet uyumlu, ince)
   ============================================================ */
* { scrollbar-width: thin; scrollbar-color: var(--border-lt) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-lt);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background .15s;
}
::-webkit-scrollbar-thumb:hover { background: var(--border-lt, #58534e); background-clip: padding-box; }
::-webkit-scrollbar-thumb:active { background: var(--violet); background-clip: padding-box; }

/* Dar/iç paneller için biraz daha ince çubuk (bildirimler, açılırlar vb.) */
.notifpanel__list::-webkit-scrollbar,
.apdrop::-webkit-scrollbar,
.apmenu::-webkit-scrollbar { width: 8px; }

/* =========================================================
   MOBİL DÜZELTMELERİ (2026-07 — yalnızca @media içinde; masaüstü
   ve web görünümü DEĞİŞMEZ). Backend/DOM'a dokunulmaz, sadece CSS.
   1) Sidebar çekmecesi telefonda en alta kadar kaysın (100dvh).
   2) Ortak sayfa başlığı (.postsx__top) dar ekranda satır atlasın →
      sağdaki butonlar (Add batch / Connect / New post…) ekran dışına
      taşmasın / kaybolmasın.
   ========================================================= */

/* --- 1) Sidebar drawer: gerçek görünür yükseklik + alt boşluk --- */
@media (max-width: 820px) {
  .layout.has-sidebar .sidebar {
    height: calc(100vh - 64px);      /* eski tarayıcı yedeği */
    height: calc(100dvh - 64px);     /* mobil: URL barı/araç çubuğu dahil gerçek alan */
    max-height: calc(100dvh - 64px);
    bottom: auto;                    /* yükseklik tamamen height ile kontrol edilsin */
    padding-bottom: calc(28px + env(safe-area-inset-bottom));  /* son öğe (Settings) tam görünsün + home indicator */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  /* alt grup (Settings/Report bug) son öğe olarak nefes alsın */
  .layout.has-sidebar .sidebar__bottom { padding-bottom: 6px; }
}

/* --- 2) Ortak başlık satırı: telefonda sar, sağ aksiyon grubunu
       kendi satırına al (taşma / kesilme / üst üste binme biter) --- */
@media (max-width: 560px) {
  /* Başlık satırı: başlık SOLDA, sağdaki buton/dropdown SAĞDA aynı hizada
     (doğal boyut; sığmazsa alt satıra sarar). */
  .postsx__top { flex-wrap: wrap; align-items: center; row-gap: 10px; column-gap: 12px; }
  .postsx__top > :first-child { flex: 1 1 auto; min-width: 0; }
  .postsx__top > :last-child  { flex: 0 0 auto; }
  .postsx__top > :only-child  { flex: 1 1 auto; min-width: 0; }   /* (2026-09-19) tek cocuk hem ilk hem SON → kuculemiyordu: Settings alt basligi telefonda sagdan kesiliyordu */

  /* Connections + Posts: alt açıklama yazısı mobilde gizli → buton başlıkla
     aynı hizada sağda kalır, yer kazanılır */
  .postsx__top:has(.cnx__headright) .postsx__sub,
  .postsx__top:has(> a.btn--primary) .postsx__sub { display: none; }

  /* Sağ aksiyon grupları sığmazsa kendi içinde sarabilsin */
  .repx__btns, .cnx__headright, .an2-headright { flex-wrap: wrap; gap: 8px; }

  /* Repurposer: iki buton başlığın ALTINDA tam satır (subtitle korunur).
     DİKKAT: burada `justify-content` VERİLMEZ. Bu seçici iki sınıflı
     (0-2-0) olduğu için aşağıdaki tek sınıflı `.repx__btns{...}` kuralını
     eziyordu; hizalama artık TEK yerde (JOB I / madde 2 bloğu) tanımlı. */
  .postsx__top > .repx__btns { flex: 1 1 100%; }

  /* Analytics: "All channels" dropdown başlıkla AYNI satırda, sağda */
  .an2-head { flex-wrap: wrap; align-items: center; row-gap: 10px; column-gap: 12px; }
  .an2-head > :first-child { flex: 1 1 auto; min-width: 0; }
  .an2-headright { flex: 0 0 auto; }

  /* Posts: filtre çubuğunda "All channels" dropdown'ı sağa yasla */
  .postsx__bar .pchan { margin-left: auto; }

  /* Created videos: kullanım çubuğu başlığın altında tam satır, sola yaslı */
  .rdx .rdusage { align-items: flex-start; min-width: 0; width: 100%; }
  .rdx .rdusage__bar { width: 100%; max-width: 280px; }

  /* Randomizer müzik kartı başlığı: başlık TAM satır, butonlar TAM satır,
     ipucu yazısı butonlarla iç içe geçmesin (net alt boşluk) */
  .muscard__head { flex-wrap: wrap; row-gap: 10px; align-items: flex-start; }
  .muscard__head .setcard__title { flex: 1 1 100%; }
  .muscard__btns { flex: 1 1 100%; justify-content: flex-start; }
  .muscard__hint { margin-top: 10px; }

  /* Plans üst barı: logo + butonlar sığmazsa sarsın, kenar boşluğu azalt */
  .pwtop { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }

  /* --- Ayar kaydırıcıları: etiket + slider + % TEK satırda kalsın.
     .sizewrap'in 220px min-width'i uzun etiketlerde (Reaction volume /
     Background volume) slider'ı alt satıra atıyordu → min-width sıfırla. --- */
  .setrow .sizewrap { min-width: 0; flex: 1 1 auto; }

  /* --- Caption zaman çizelgesi araç çubuğu: Undo/Split/Delete/zoom
     butonları ekran dışına taşmasın, alt satıra sarsın --- */
  .tlbox__bar { flex-wrap: wrap; row-gap: 8px; }
  .tlbox__tools { flex-wrap: wrap; gap: 6px; }
  .tlzoom { margin-left: 0; }

  /* --- Calendar: "New post" ay başlığıyla (July 2026) AYNI satırda sağda;
     "Today" butonu mobilde gizli (gereksiz — gün görünümünün kendi navı var). --- */
  #calToday { display: none; }
  .calx__head { flex-wrap: nowrap; gap: 10px; margin-bottom: 14px; }
  .calx__nav { flex: 1 1 auto; min-width: 0; }
  .calx__title { min-width: 0; font-size: 20px; }
  .calx__actions { flex: 0 0 auto; }
}

/* --- 2b) Çok dar telefonlar: başlık punto biraz küçülsün (taşmaya karşı) --- */
@media (max-width: 380px) {
  .postsx__title, .an2-head .postsx__title { font-size: 22px; }
  .postsx__sub { font-size: 12.5px; }
}

/* =========================================================
   Settings › Usage paneli (kredi yok → saatlik fair-use kullanımı)
   ========================================================= */
.usage { display: flex; flex-direction: column; gap: 16px; }
.usage__row { display: flex; flex-direction: column; gap: 6px; }
.usage__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.usage__name { font-size: 14px; font-weight: 700; color: var(--text); }
.usage__num { font-size: 13px; font-weight: 700; color: var(--text-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.usage__unit { font-weight: 500; color: var(--text-dim); }
.usage__bar { height: 6px; border-radius: 999px; background: var(--bg-elev); overflow: hidden; }
.usage__bar i { display: block; height: 100%; border-radius: 999px; background: var(--violet); transition: width .3s ease; }
.usage__reset { font-size: 12px; color: var(--text-dim); }
/* aylık Elk satırı saatlik araçlardan ince bir çizgiyle ayrılır (2026-09-29) */
.usage__row--elk { padding-top: 14px; border-top: 1px dashed var(--border); }

/* KREDİ KALDIRILDI: Marketplace sayfası ve sidebar bağlantıları TAMAMEN silindi
   (2026-07). Bu satır yalnızca eski cache'lenmiş HTML'lere karşı emniyet. */
.sidebar__item[href$="marketplace.html"] { display: none !important; }

/* =========================================================
   Connections — tablo görünümü: her platform bir sütun.
   Kart/kutu YOK — transparan zemin, ince ayraç çizgileri. */
.cnxt__scroll { overflow-x: auto; scrollbar-width: thin; }
.cnxt__grid { display: grid; }
.cnxt__col { min-width: 0; }
.cnxt__col + .cnxt__col { border-left: 1px solid var(--border); }
/* (2026-11-18, Emre) Sütunlar tek sıraya sığmayınca yatay kaydırma yerine EŞİT sıralara bölünür (connections.js layoutGrid: 8 → 4 + 4, 9 → 5 + 4,
   10 → 5 + 5). Sıra başındaki sütunun sol çizgisi yok; alt sıraların üstünde çizgi; tek sayıda boş kalan yer dolgu hücresiyle kapanır — dolgu,
   başlık şeridinin alt çizgisini de sürdürür, böylece dikey ve yatay çizgiler kesintisiz iner. */
.cnxt__grid[data-rows] .cnxt__col.is-rowstart { border-left: 0; }
.cnxt__grid[data-rows] .cnxt__col.is-lower { border-top: 1px solid var(--border); }
.cnxt__grid[data-rows] .cnxt__cells { min-height: 112px; }
.cnxt__col--fill::before { content: ""; display: block; height: 48px; border-bottom: 1px solid var(--border); }
.cnxt__colhead { position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.cnxt__colic { line-height: 0; flex: none; width: 30px; display: grid; place-items: center; }   /* (2026-11-18) sabit 30 px yuva: logolar göze eşit ama enleri farklı (22–29 px) → adlar her sütunda / telefonda alt alta aynı yerden başlar */
/* (2026-11-18, Emre: "logoyu büyütmüşsün, yanındaki yazı eski küçük boyda kalmış… aşırı da büyütme", sonra: "logolar büyük oldu, 22 px falan düşür,
   fontu da ona göre ayarla") logo 22 px, ad 13,5 → 14 px (beş boy yan yana denendi). En uzun ad "Instagram" 14 px'te 66 px. Sütun genişlemesin diye (150 → 156 px, connections.js)
   "+" düğmesi artık yer KAPLAMAZ: başlığın sağına mutlak konumlu (masaüstünde yalnız üstüne gelince görünür; eskiden görünmezken de 30 px yer tutuyor,
   adlar "Instagr…" diye kesiliyordu). Ad 121. pikselde biter, düğme 124'te başlar. */
.cnxt__colname { font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnxt__coladd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; border: 1px solid transparent; background: none; color: var(--text-dim); font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s, background .12s, color .12s; }
.cnxt__col:hover .cnxt__coladd { opacity: 1; }
.cnxt__coladd:hover { background: var(--bg-elev); color: var(--violet-light); border-color: var(--border); }
.cnxt__coladd:disabled { display: none; }
/* (2026-08-12) Limit dolu: buton PASİF GÖRÜNÜR ama tıklanabilir kalır —
   tıklayınca "upgrade" mesajı + Plans. Kilit ikonu gibi soluk durur. */
.cnxt__coladd.is-locked { opacity: .4; }
.cnxt__coladd.is-locked:hover { background: none; color: var(--text-dim); border-color: transparent; cursor: pointer; }
.btn.is-locked { opacity: .55; filter: saturate(.5); }
.btn.is-locked:hover { opacity: .75; filter: none; }
.cnxt__cells { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; min-height: 140px; }
.cnxt__acc { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 11px; transition: background .12s; }
.cnxt__acc:hover { background: var(--bg-elev); }
.cnxt__acc--pending { opacity: .85; }
.cnxt__pfp { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.cnxt__pfp--brand { display: grid; place-items: center; color: #fff; line-height: 0; }
.cnxt__meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cnxt__name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnxt__sub { font-size: 11px; font-weight: 600; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnxt__sub b { font-weight: 800; }
.cnxt__sub.is-near b { color: #ffb84d; }
.cnxt__sub.is-full b { color: var(--red, #E7766A); }
/* Sağdaki TEK slot: normalde yeşil nokta; hover'da nokta gizlenir, çöp gelir */
.cnxt__side { position: relative; margin-left: auto; flex: none; width: 24px; height: 24px; }
.cnxt__side .pdot { position: absolute; inset: 0; margin: auto; transition: opacity .12s; }
.cnxt__x { position: absolute; inset: 0; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: var(--text-dim); cursor: pointer; opacity: 0; transition: opacity .12s, color .12s, background .12s; }
.cnxt__x svg { width: 14px; height: 14px; }
.cnxt__acc:hover .cnxt__side .pdot { opacity: 0; }
.cnxt__acc:hover .cnxt__x { opacity: 1; }
.cnxt__x:hover { color: var(--red, #E7766A); background: rgba(212,66,50,.14); }
/* (2026-10-13, U32) KIRMIZI noktali satir: hover'da noktanin YERINDE ↻ "check again" (yesil satirda yok), cop bir slot sola.
   Slot 52px; nokta ve ok sagda ayni yerde → fare noktanin ustune gelince ok tam altinda cikar. is-busy: ok doner. */
.cnxt__side--broken { width: 52px; }
.cnxt__side--broken .pdot { left: auto; right: 6.5px; }
.cnxt__side--broken .cnxt__x { left: 0; right: auto; }
.cnxt__re { position: absolute; top: 0; right: 0; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: var(--text-dim); cursor: pointer; opacity: 0; transition: opacity .12s, color .12s, background .12s; }
.cnxt__re svg { width: 14px; height: 14px; }
.cnxt__acc:hover .cnxt__re, .cnxt__re:focus-visible { opacity: 1; }
.cnxt__re:hover { color: var(--violet-light); background: rgba(105,101,219,.16); }
.cnxt__re.is-busy { opacity: 1; cursor: progress; color: var(--violet-light); }
.cnxt__re.is-busy svg { animation: spin .8s linear infinite; }
/* Dokunmatik: hover yok → nokta ve çöp YAN YANA, ikisi de hep görünür */
@media (hover: none) {
  .cnxt__side { width: auto; height: auto; display: flex; align-items: center; gap: 10px; }
  .cnxt__side .pdot { position: static; }
  .cnxt__x { position: static; opacity: 1; }
  .cnxt__side--broken { width: auto; }
  .cnxt__re { position: static; opacity: 1; }
  .cnxt__acc:hover .cnxt__side .pdot { opacity: 1; }
}
.cnxt__hint { text-align: center; padding: 16px 4px 4px; font-size: 12.5px; color: var(--text-dim); }
.cnxt__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 4px 0; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-mute); }
.cnxt__foot a { color: var(--violet-light); font-weight: 700; text-decoration: none; }
.cnxt__foot a:hover { text-decoration: underline; }
/* Plan satiri + nokta aciklamasi (yesil = bagli, kirmizi = kopuk) yan yana;
   dar ekranda aciklama alt satira duser — "Manage plan" linki SAGDA kalir. */
.cnxt__footl { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; min-width: 0; }
.cnxt__legend { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 13px; }
.cnxt__legend > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cnxt__legend .pdot { width: 8px; height: 8px; }
.cnxt__foot a { white-space: nowrap; }   /* aciklama eklenince "Manage plan" iki satira bolunmesin */
/* Yüklenme iskeleti — avatar dairesi + iki satır + sağda nokta, nabız atar */
.cnxt__skel { display: flex; align-items: center; gap: 9px; padding: 8px; animation: cnxtPulse 1.4s ease-in-out infinite; }
.cnxt__skel-av { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elev); flex: none; }
.cnxt__skel-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cnxt__skel-tx i { display: block; height: 9px; border-radius: 5px; background: var(--bg-elev); }
.cnxt__skel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-elev); flex: none; margin-left: auto; }
@keyframes cnxtPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
/* Tablet 721–900px (2026-09-13 sweep, iPad 768): 5–8 sütun ~150px'e sıkışıp
   isimleri "May…" diye kesiyordu → iki sütun; çift sütunlar sol çizgili,
   ikinci satırdan itibaren üst çizgi. Repost modalının kendi 2-sütun kuralı
   (.rpost) daha özgül, ona dokunmaz. */
@media (max-width: 900px) and (min-width: 721px) {
  .cnxt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .cnxt__col + .cnxt__col { border-left: 0; }
  .cnxt__col:nth-child(even) { border-left: 1px solid var(--border); }
  .cnxt__col:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cnxt__cells { min-height: 0; padding: 6px 8px 12px; }
  .cnxt__coladd { opacity: 1; }
}
/* Telefon: sütunlar ALT ALTA tek kolon (Instagram → TikTok → YouTube …) —
   yan yana sıkışmak yerine her platform kendi bölümü olur */
@media (max-width: 720px) {
  .cnxt__grid { grid-template-columns: 1fr !important; }
  .cnxt__col + .cnxt__col { border-left: 0; border-top: 1px solid var(--border); }
  .cnxt__colhead { height: 46px; border-bottom: 0; }
  .cnxt__cells { min-height: 0; padding: 0 8px 12px; }
  .cnxt__coladd { opacity: 1; }   /* hover yok → + her zaman görünür */
}

/* ---- Calendar: Week/Month toggle + hafta görünümü (post-bridge dili) ---- */
.calseg { display: inline-flex; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.calseg button { border: 0; background: none; color: var(--text-mute); font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 15px; border-radius: 8px; cursor: pointer; transition: background .12s, color .12s; }
.calseg button:hover { color: var(--text); }
.calseg button.is-active { background: var(--violet); color: #fff; }

.calwk { display: grid; grid-template-columns: repeat(7, 1fr); }
.calwk__col { min-width: 0; }
.calwk__col + .calwk__col { border-left: 1px solid var(--border); }
/* Sabit yükseklik + dikey ortalama: bugünün mor rozeti satır hizasını BOZMASIN */
.calwk__colhead { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.calwk__colhead b { font-size: 14px; color: var(--text); letter-spacing: 0; }
.calwk__col.is-today .calwk__colhead b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: 8px; background: var(--violet); color: #fff; }
.calwk__cells { display: flex; flex-direction: column; gap: 8px; padding: 12px 9px; min-height: 420px; }
.calwk__card { display: flex; flex-direction: column; gap: 7px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 11px; cursor: pointer; background: transparent; transition: background .12s, border-color .12s; }
.calwk__card:hover { background: var(--bg-elev); border-color: var(--border-lt); }
.calwk__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.calwk__time { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.calwk__cap { font-size: 11.5px; font-weight: 500; color: var(--text-mute); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.calwk__pill { align-self: flex-start; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--bg-elev); color: var(--text-mute); }
.calwk__pill.is-posted { background: rgba(130,213,172,.12); color: #9ddebe; }
.calwk__pill.is-scheduled { background: rgba(54,128,103,.16); color: var(--violet-light); }
.calwk__pill.is-failed { background: rgba(212,66,50,.15); color: var(--red, #E7766A); }

/* Posting-only plan: sidebar'da kilitli Editing araçları */
.sidebar__item.is-locked { opacity: .5; }
.sidebar__item.is-locked:hover { opacity: .75; }
.sidebar__lock { margin-left: auto; flex: none; color: var(--text-dim); }

.pwplan__dim { color: var(--text-dim); }

/* =========================================================
   Dashboard yenileme: modül satırları → premium kart ızgarası
   (landing'deki tools kart dili) + posting modu "Up next" paneli. */
.dashx .modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.dashx .module { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); box-shadow: none; }
.dashx .module::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .18s; pointer-events: none; }
.dashx .module:hover { transform: translateY(-2px); border-color: var(--border-lt); box-shadow: var(--shadow); }
.dashx .module:hover::after { opacity: 1; }
.dashx .module__icon { width: 40px; height: 40px; border-radius: 11px; }
.dashx .module__txt h3 { font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.dashx .module__txt p { font-size: 12.5px; color: var(--text-mute); line-height: 1.5; }
.dashx .module__go { position: static; margin-left: auto; align-self: center; width: auto; opacity: 1; transform: none; color: var(--text-dim); font-size: 12.5px; transition: color .15s, transform .15s; white-space: nowrap; }
.dashx .module:hover .module__go { color: var(--c); transform: translateX(3px); }
@media (max-width: 760px) { .dashx .modules { grid-template-columns: 1fr; } }

/* Up next — posting modunda sıradaki planlı postlar */
#dashUpNext { margin-bottom: 22px; }
#dashUpNext .dashx__label { margin-bottom: 8px; }
.upnext { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--bg-card); }
.upnext__row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: var(--text); text-decoration: none; transition: background .12s; }
.upnext__row + .upnext__row { border-top: 1px solid var(--border); }
.upnext__row:hover { background: var(--bg-elev); }
.upnext__when { flex: none; width: 118px; display: flex; flex-direction: column; gap: 1px; }
.upnext__when b { font-size: 13.5px; font-weight: 800; }
.upnext__when small { font-size: 11px; font-weight: 600; color: var(--text-dim); }
.upnext__cap { flex: 1; min-width: 0; font-size: 13px; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upnext__ics { flex: none; display: inline-flex; gap: 6px; color: var(--text-mute); line-height: 0; }
.upnext__empty { padding: 22px 16px; text-align: center; font-size: 13px; color: var(--text-dim); }
.upnext__empty a { color: var(--violet-light); font-weight: 700; }
@media (max-width: 560px) { .upnext__when { width: 92px; } }

/* Sidebar cilası: üstte Create post, altta profil kartı (Buffer/post-bridge dili) */
.sidebar__new {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 2px 2px 12px; padding: 11px 12px; border-radius: 12px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #39836A 0%, var(--violet) 60%, #286B52 100%);
  /* PARLAMA KAPALI (2026-07-29) — kenar çubuğundaki Create post butonu boşta
     bile hale yayıyordu. Gradyan ve hover'daki hafif yükselme kaldı. */
  transition: transform .15s, filter .15s;
}
.sidebar__new:hover { transform: translateY(-1px); filter: brightness(1.06); }
.sidebar__prof {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 10px 11px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-card); transition: background .15s, border-color .15s;
}
.sidebar__prof:hover { background: var(--bg-elev); border-color: var(--border-lt); }
.sidebar__prof-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad-violet); color: #fff; font-size: 13px; font-weight: 800; }
.sidebar__prof-t { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sidebar__prof-t b { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar__prof-t small { font-size: 10.5px; font-weight: 700; color: var(--text-dim); }
.sidebar__prof-out { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 0; background: none; color: var(--text-dim); cursor: pointer; transition: background .12s, color .12s; }
.sidebar__prof-out:hover { background: rgba(212,66,50,.14); color: var(--red, #E7766A); }
/* Bildirim zili: isim ile çıkış butonunun arasında (margin-left:auto artık burada) */
.sidebar__prof-bell { position: relative; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 0; background: none; color: var(--text-dim); cursor: pointer; transition: background .12s, color .12s; }
.sidebar__prof-bell:hover { background: rgba(54,128,103,.18); color: var(--violet-light); }
.sidebar__prof-bell svg { display: block; }
.sidebar__prof-bell .notifbell__dot { top: 2px; right: 2px; }

/* =========================================================
   Create post WIZARD: adım başlığı + gezinme (landing kimliği) */
.cwiz { display: flex; align-items: center; gap: 8px; padding: 2px 2px 14px; flex: none; }
.cwiz__st { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--text-dim); font-size: 12.5px; font-weight: 700; padding: 4px 2px; transition: color .15s; }
.cwiz__st i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--bg-elev); border: 1px solid var(--border-lt); color: var(--text-mute); transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.cwiz__st:hover { color: var(--text); }
.cwiz__st.is-active { color: var(--text); }
.cwiz__st.is-active i { background: linear-gradient(135deg, #39836A, var(--violet)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(54,128,103,.4); }
.cwiz__st.is-done { color: var(--text-mute); }
.cwiz__st.is-done i { background: rgba(54,128,103,.16); border-color: rgba(54,128,103,.4); color: var(--violet-light); }
.cwiz__ln { flex: 1; height: 2px; border-radius: 2px; background: var(--border); min-width: 14px; transition: background .2s; }
.cwiz__ln.is-done { background: var(--violet); }
.cstep[hidden] { display: none; }
.cwiznav { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 2px 0; border-top: 1px solid var(--border); margin-top: 10px; }
.cwiznav__hint { flex: 1; min-width: 0; font-size: 12px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cwiznav .btn { flex: none; }
.composex .cstep .apcard { border-top: 0; }
.composex .cstep .apcard:first-child { padding-top: 4px; }
/* Seçili görsel kutuları (apselbox içindeki img, video ile aynı davranır) */
.apselbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Telefon önizlemesinde görsel */
#composePrevImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Masaüstünde sidebar aç/kapa ve bildirim zili YOK (Buffer/post-bridge gibi) —
   yalnızca mobil düzende görünürler */
@media (min-width: 901px) {
  .appbar__toggle { display: none; }
  .notifbell { display: none; }
}

/* =========================================================
   Compose overhaul: tip seçici + kapalı hesap + review blokları
   + masaüstünde appbar YOK (marka sidebar'da) + TikTok chip fix */
.ptype { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.ptype__c {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px 13px; border: 1px dashed var(--border-lt); border-radius: 14px;
  background: none; color: var(--text-mute); font-family: inherit; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.ptype__c svg { margin-bottom: 3px; }
.ptype__c b { font-size: 13.5px; font-weight: 800; color: var(--text); }
.ptype__c small { font-size: 10.5px; font-weight: 600; color: var(--text-dim); white-space: normal; text-align: center; line-height: 1.4; }
.ptype__c:hover { border-color: var(--violet); transform: translateY(-2px); }
.ptype__c.is-on { border-style: solid; border-color: var(--violet); background: rgba(54,128,103,.1); color: var(--violet-light); }
.ptype__note { font-size: 12px; color: var(--text-dim); margin: -2px 0 10px; }
/* Medya kaynagi kutulari (2026-09-16, Emre): alt yukleme kutusu ustteki 4'lu tip
   secici gibi 2 kutu — "From your device" (surukle-birak da burada) | "Google Drive". */
.ptype--src { grid-template-columns: repeat(2, 1fr); margin: 12px 0 0; }
.ptype--src.is-solo { grid-template-columns: 1fr; }   /* Google Drive kutusu gizliyken (sunucuda kimlik yok) cihaz kutusu tam genislik */
.ptype--src .ptype__c { padding: 18px 12px 15px; }
.ptype--src .ptype__c svg { width: 26px; height: 26px; display: block; }
.ptype--src .ptype__c.is-over { border-style: solid; border-color: var(--violet); background: rgba(54,128,103,.1); }
.ptype--src .ptype__c[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
@media (max-width: 560px) { .ptype--src { grid-template-columns: 1fr; } }
/* Upload dropzone'u kütüphane ızgarasına yapışmasın */
.composex #srcUpload { margin-top: 14px; }

/* (hesap secici kurallari ~1180'de toplandi — burada tekrar YOK) */

.pubrev { margin: 12px 0 4px; }
.pubrev__hd { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.pubrev__list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.pubrev__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.pubrev__row + .pubrev__row { border-top: 1px solid var(--border); }
.pubrev__th { flex: none; width: 44px; height: 60px; border-radius: 9px; overflow: hidden; background: #000; border: 1px solid var(--border-lt); display: grid; place-items: center; }
.pubrev__th video, .pubrev__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pubrev__thtxt { font-size: 15px; font-weight: 900; color: var(--text); }
.pubrev__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pubrev__cap { font-size: 12px; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pubrev__cap.is-empty { color: var(--text-dim); font-style: italic; }
.pubrev__accs { display: flex; flex-wrap: wrap; gap: 6px; }
.pubrev__acc {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 7px;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(54,128,103,.1);
  color: var(--text); font-family: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  transition: opacity .12s, border-color .12s, background .12s; line-height: 1;
}
.pubrev__acc svg { display: block; }
.pubrev__acc.is-off { opacity: .38; border-color: var(--border); background: none; text-decoration: line-through; }
.pubrev__acc:disabled { cursor: default; }
/* HOVER EYLEMİ: çipin tıklanabilir olduğu ve NE yapacağı görünür olsun.
   Dahil olan çip → KIRMIZI + “−” (bu posttan çıkar) · çıkarılmış çip → mor + “+” (geri ekle). */
.pubrev__acc__act { display: none; margin-left: 1px; }
.pubrev__acc:not(:disabled):hover .pubrev__acc__act { display: inline-flex; }
.pubrev__acc:not(:disabled):not(.is-off):hover {
  background: rgba(212,66,50,.16); border-color: rgba(212,66,50,.6); color: var(--red, #E7766A);
}
.pubrev__acc.is-off:not(:disabled):hover {
  opacity: 1; text-decoration: none;
  background: rgba(54,128,103,.16); border-color: rgba(54,128,103,.6); color: var(--violet-light);
}
.pubrev__when { flex: none; font-size: 11.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
/* Trial reel anahtari (Publish incelemesi, yalniz Instagram hedefli videoda): saat yazisiyla ayni agirlik; anahtar yazi boyunda, acikken top sagda ve yesil */
.pubrev__trial { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; font-size: 11.5px; font-weight: 800; color: var(--text); white-space: nowrap; cursor: pointer; }
/* (2026-11-19 Emre) etiketin yanindaki 10 px platform logosu (IG / FB) KALDIRILDI: ag logosu bu boyda cizilmez; anahtar yalniz yazi + anahtar */
/* (2026-10-07) Instagram'in reddettigi hesapta Trial reel anahtari pasif (ipucu metni nedenini soyler) */
.pubrev__trial--off .apswitch { pointer-events: none; }
.popt__row--off .apswitch { opacity: .45; pointer-events: none; } .popt__row--off .popt__lbl, .popt__row--off .popt__hint { opacity: .7; }
/* (!) rozeti — sari daire, ustune gelince .tipx tooltip (sebep + yeniden acilacagi tarih) */
.trialwarn { width: 16px; height: 16px; border-radius: 50%; background: #F2B54A; color: #1F1A00; font-size: 11px; font-weight: 900; line-height: 1; margin-left: 4px; opacity: 1 !important; cursor: help; }
.trialwarn:hover, .trialwarn:focus { color: #1F1A00; background: #FFC65C; }
.pubrev__trial--off { cursor: not-allowed; } .pubrev__trial--off > span:not(.trialwarn) { opacity: .55; }
.popt__lbl .trialwarn { vertical-align: -3px; }
.apswitch--sm { width: 28px; height: 16px; }
.apswitch--sm .apswitch__track::before { width: 12px; height: 12px; top: 1px; left: 1px; background: var(--text-dim); }
.apswitch--sm input:checked + .apswitch__track { background: rgba(54,128,103,.16); border-color: rgba(54,128,103,.5); }
.apswitch--sm input:checked + .apswitch__track::before { transform: translateX(12px); background: var(--brand, #368067); }
/* Reels kapagi: IG hedefli video satirinda thumb bir tik buyur, sag ustte kalem
   rozeti cikar — tiklaninca kare secici / JPG yukleme modali. */
.pubrev__th { position: relative; }
.pubrev__th--edit { width: 52px; height: 70px; cursor: pointer; }
.pubrev__th--edit:hover { border-color: var(--violet); }
.pubrev__pen { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; display: grid; place-items: center; background: rgba(0, 0, 0, .58); color: #fff; border-radius: 6px; pointer-events: none; }
.pubrev__pen svg { width: 12px; height: 12px; display: block; }
.pubrev__th--edit:hover .pubrev__pen { background: var(--violet); }
.covpick__card { max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; }
.covpick__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.covpick__head .ugcmodal__title { margin: 0; }
.covpick__chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid var(--border-lt); border-radius: 999px; background: var(--bg-soft); color: var(--text-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.covpick__chip svg { flex: 0 0 auto; }
/* Onizleme kartin KENARDAN KENARA tum genisligi + olabildigince yuksek —
   9:16 video ortada buyuk durur, artan yanlar sinema karanligi (Emre istegi). */
.covpick__stage { margin-top: 12px; width: 100%; height: min(56vh, 540px); display: flex; align-items: center; justify-content: center; background: #000; border: 1px solid var(--border-lt); border-radius: 14px; overflow: hidden; }
.covpick__stage video, .covpick__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* iOS Fotograflar tarzi scrubber: film seridi + ustunde ince beyaz igne */
.covpick__scrub { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.covpick__scrub[hidden] { display: none; }
.covpick__strip { position: relative; flex: 1; height: 44px; cursor: ew-resize; touch-action: none; }
.covpick__strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--border-lt); }
.covpick__needle { position: absolute; top: -4px; bottom: -4px; left: 0; width: 6px; margin-left: -3px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1.5px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.5); pointer-events: none; }
.covpick__ms { font-size: 11.5px; color: var(--text-dim); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.covpick__note { margin: 8px 0 0; font-size: 11px; color: var(--text-dim); line-height: 1.5; min-height: 2.6em; }
.covpick__acts { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.covpick__sp { flex: 1; }
/* Arac ikon butonlari (tooltip'li): Upload/Frame/Remove — kararlar sagda kalir */
.covpick__tool { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-lt); background: var(--bg-soft); color: var(--text-mute); display: grid; place-items: center; cursor: pointer; transition: color .12s, border-color .12s, background .12s; }
.covpick__tool:hover { color: var(--text); border-color: var(--text-dim); }
.covpick__tool--danger:hover { color: #e5645a; border-color: #e5645a; }
.covpick__tool:disabled { opacity: .6; cursor: default; }
.covpick__tool .btnspin { width: 14px; height: 14px; }

/* Marka sidebar'ın üstünde; masaüstünde appbar tamamen gizli */
.sidebar__brand { display: flex; align-items: center; gap: 6px; margin: 4px 2px 16px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.sidebar__brand img { display: block; }
.sidebar__brand b { color: var(--text); font-weight: 800; }
@media (min-width: 901px) {
  .appbar { display: none; }
  .layout.has-sidebar .sidebar { top: 0; height: 100vh; height: 100dvh; }
  /* YALNIZ dashboard tepeye yapışmasın; diğer sayfalar eski (iyi) haliyle */
  .dashx__hero { margin-top: 14px; }
  .capwrap:not(.composex) .captop { margin-top: 10px; }       /* Caption+Music / Split / TH → Repurposer'la aynı hizaya */
}
@media (max-width: 900px) {
  .sidebar__brand { display: none; }   /* mobilde marka appbar'da zaten var */
  /* Eski appbar zili: drawer'da profil kartinin yaninda zaten var → mobilde gizle. */
  #notifBell { display: none; }
  /* Hamburger sag uca tasindi (bas parmak erisimi); ikon sirasi: ... [☰] */
  .appbar__right .appbar__toggle { order: 9; margin-left: 2px; }
}

/* Text post öğeleri: seçim kutusunda "Aa" karosu + caption bloğunda silme ✕ */
.apselbox__txt { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); font-size: 20px; font-weight: 900; }
.apcapblock__h { position: relative; }
.apcapblock__x { position: absolute; right: 0; top: -2px; width: 22px; height: 22px; border: 0; border-radius: 7px; background: none; color: var(--text-dim); cursor: pointer; font-size: 12px; line-height: 1; }
.apcapblock__x:hover { background: rgba(212,66,50,.14); color: var(--red, #E7766A); }

/* Repurposer: batch'in çıktıda hangi parça olduğunu söyleyen mor vurgu satırı */
/* Boş batch ipucunun 2. satırı: bu batch'in çıktıda kaçıncı parça olacağı */
.batchnote { margin: 9px 0 0; padding: 8px 12px; max-width: 460px; border-radius: 9px; font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--text); background: var(--ov-2, rgba(255,255,255,.07)); border: 1px solid var(--border); }
.batchnote b { font-weight: 800; }

/* =========================================================
   13" LAPTOP UYUMU (2026-07 — responsive audit)
   1280x800 / 1440x900 (13" MacBook) ölçümlerinde yatay taşma
   üreten ızgaralar. Tek kök neden: CSS Grid'de `1fr` aslında
   `minmax(auto, 1fr)` demek; `auto` minimum = içeriğin
   min-content genişliği. İçerik dar kapsayıcıya sığmayınca
   track'ler şişip sayfayı yatay kaydırmaya zorluyor.
   `minmax(0, 1fr)` bu tabanı kaldırır → track'ler kapsayıcıya
   uyar, içerik normal şekilde sarar/kayar.
   Kırılma noktası YOK: geniş ekranda 1fr zaten min-content'ten
   büyük olduğu için 1920/2560 layout'u BİREBİR aynı kalır.
   Masaüstü taban kuralları değiştirilmedi — yalnızca eklendi.
   ========================================================= */

/* Calendar — ay ızgarası: 7 hücre 940px kapsayıcıda 7x160px'e
   şişiyordu (1423px doc genişliği → Cumartesi sütunu kesiliyor,
   gün başlıkları hücrelerle hizasız). ÖNCELİK: "calendar tam
   görünmüyor" şikayeti tam olarak buydu. */
.apcal__head,
.apcal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* Hücre içeriği (saat + platform ikonları) artık track'i geremez */
.apcal__cell { min-width: 0; }
.apcal__post { min-width: 0; }
.apcal__cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Post çipi dar sütunda: çipin İÇİ de esnemeli. Sıra "saat | ikonlar |
   @hesap ... durum noktası" idi ama saat/ikonlar/nokta hepsi flex:none
   olduğu için hiçbiri küçülemiyor, taşan kısmı overflow:hidden kesiyordu
   ve kesilen şey SON öğe — yani durum noktası — oluyordu. Nokta bu
   tasarımda posted/failed'in TEK göstergesi (arka plan artık nötr), o
   yüzden kaybolamaz. Çözüm: ikon şeridi küçülebilir olsun, nokta sabit. */
.apcal__ics { flex: 0 1 auto; min-width: 0; overflow: hidden; }
/* (2026-11-19 gece) AĞ İKONU YARIM KESİLMEZ. Yukarıdaki kural şeridi istediği kadar daraltıyordu: ay görünümünde hesap adı uzunsa ikonun yarısı
   görünüyordu ("‹" gibi bir parça — marka kuralları: logo kırpılmaz). Şimdi şerit EN AZ bir ikon enindedir; sığmayan öteki ikonlar alt satıra düşer
   ve görünmez (şerit tek satır yüksekliğinde: tam ikon ya da hiç). Daralmayı hesap adı üstlenir (… ile kısalır); durum noktası sabit kalır. */
.apcal__ics { flex-wrap: wrap; max-height: 14px; min-width: 13px; }
/* Kutu, saat + bir ikon + durum noktasını bile alamayacak kadar darsa (içi < 80 px; ≈ 1090 px'ten dar masaüstü, tablet) ikon şeridi TÜMDEN gizlenir:
   yarım ikon da olmaz, durum noktası da dışarı itilmez (nokta posted / failed'in tek göstergesi). Ölçü kutunun kendi eninden (container query). */
.apcal__post { container-type: inline-size; }
@container (max-width: 79px) { .apcal__ics { display: none; } }
/* İkon artık küçülmediği için dar kutuda hesap adına 1–30 px kalıyordu: "@…" ya da tek bir harf kırpıntısı. Anlamlı bir parça ("@M…" ≈ 33 px)
   sığmıyorsa ad hiç gösterilmez (tam adı kutunun üstüne gelince çıkan ipucu ve gönderi penceresi söyler). 1440 px'te ad görünür, 1366 ve altında gizli. */
@container (max-width: 117px) { .apcal__who { display: none; } }
/* Hesap adı yoksa boş span 2 adet gap yiyordu (dar sütunda ~16px) */
.apcal__who:empty { display: none; }
/* 13" yoğunluk: çip iç boşluğunu/ikonları biraz kısarak ikonlar da sığsın.
   Bu blok yalnız <=1440px'te — 1920/2560 çip metrikleri aynen korunur. */
@media (max-width: 1440px) {
  .apcal__post { gap: 5px; padding: 7px; }
  .apcal__pt { font-size: 11px; letter-spacing: -.01em; }
  .apcal__ics { gap: 3px; }
  .apcal__ic svg { width: 12px; height: 12px; }
  /* Şerit tam 2 ikonluk: 3.'sü yarısından kesilip çirkin durmasın */
  .apcal__ics .apcal__ic:nth-child(n+3) { display: none; }
}

/* Dashboard — modül kartları: 2 sütun 940px'de 567+519px'e
   şişiyordu (1396px → "Split screen" ve "Video editor" kartları
   ekranın sağından taşıyordu). */
.dashx .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashx .module { min-width: 0; }
.dashx .module__txt { min-width: 0; }

/* Connections — platform tablosu: .cnxt__grid'in min-content'i
   (9 platform x 150px = 1350px) tek sütunlu .connwrap ızgarasını
   1350px'e geriyordu; bu da yazarın kendi .cnxt__scroll
   (overflow-x:auto) kaydırıcısını etkisiz bırakıp TÜM sayfayı
   366px taşırıyordu (uyarı bandı dahil). minmax(0,1fr) ile
   kaydırıcı yeniden devreye giriyor: tablo kendi içinde yatay
   kayıyor, sayfa taşmıyor. */
.connwrap { grid-template-columns: minmax(0, 1fr); }
.cnxt { min-width: 0; }

/* ---- Posting (compose) adim gostergesi dar ekranda tasmasin (2026-07, JOB A) ----
   Olcum: 4 adim + 3 cizgi + bosluklar = 426px gerekiyordu, 390px telefonda
   kutuya 336px dusuyordu -> sayfa 68px YATAY kayiyordu.
   Cozum: dar ekranda yalnizca AKTIF adimin etiketi yazilir; digerleri numarali
   daire olarak kalir. Tasarim dili ayni, sadece sigdirilir.
   Erisilebilirlik: butonlarda aria-label var, etiket gizlense de okunur.
   Bu secicilerin dosyada DAHA SONRA ezen bir kurali YOK (kontrol edildi),
   bu yuzden sona eklemek kaskadi bozmaz. Masaustu >600px etkilenmez. */
@media (max-width: 600px) {
  .cwiz { gap: 6px; }
  .cwiz__st { gap: 6px; min-height: 44px; padding: 4px; }
  .cwiz__st > span { display: none; }
  .cwiz__st.is-active > span { display: inline; }
  .cwiz__ln { min-width: 8px; }
}

/* =========================================================
   JOB D — MOBIL DUZELTMELERI (2026-07)
   Dashboard · Created videos · Connections · Posts edit modal.

   KURAL: her kural bir @media icinde; masaustu/web gorunumu
   BIREBIR ayni kalir. 1920x1080 ve 1280x800'de dort sayfanin
   TUM element geometrisi (rect/display/position/font-size/
   padding/z-index/overflow/flex-wrap/grid-cols) once-sonra
   olculdu: fark 0.
   Dosyanin SONUNA eklendi cunku duzeltilen kurallarin bir kismi
   (ornegin 13" laptop yamasindaki .dashx .modules) media
   query'siz ve daha ASAGIDA oldugu icin eski mobil kurallari
   eziyordu; sona eklemek kaskadi dogru yone cevirir.
   ========================================================= */

/* --- D1) Dashboard: modul kartlari telefonda TEK sutun -------------
   Neden bozuktu: 13" laptop yamasindaki media query'siz
   `.dashx .modules { grid-template-columns: repeat(2, minmax(0,1fr)) }`
   kurali, daha YUKARIDAKI `@media (max-width:760px){...1fr}` kuralini
   eziyordu (esit ozgulluk + daha sonra gelmek). Olcum: 430px'te
   grid `194px 194px` idi. Burada minmax(0,1fr) korunarak (yatay
   tasma korumasi kaybolmasin) tek sutuna dusuruluyor. */
@media (max-width: 760px) {
  .dashx .modules { grid-template-columns: minmax(0, 1fr); }
}

/* --- D2) Dashboard: "New post" butonu SAGDA ------------------------
   .dashx__hero flex-wrap:wrap; baslik + buton sigmayinca buton alt
   satira dusuyor ve `justify-content: space-between` tek ogeli
   satirda onu SOLA yasliyordu. margin-left:auto ile her durumda saga
   yaslanir (sigdigi genislikte space-between zaten sagda tutuyor,
   yani gorunum degismez). */
@media (max-width: 560px) {
  .dashx__hero .btn--primary { margin-left: auto; }
}

/* --- D3) Created videos: mobil baslik + toplu secim araclari -------
   Onceki durum: `@media (max-width:820px){ .rdtools{display:none!important} }`
   telefonda Select all / Move / Download / Delete VE klasor kontrolunu
   tamamen gizliyordu; `.rnitem__check` de gizliydi, yani tek bir video
   bile secilemiyordu.
   Yeni duzen (sahibin istedigi):
     satir 1  Created videos
     satir 2  "30 videos"            "982 MB / 50.00 GB used"
     satir 3  [==== kullanim cubugu ====]
     satir 4  [Select all] [n secili]      [Klasor] [tasi][indir][sil]
   DOM'a DOKUNULMADI: iki sarmalayici (.postsx__top > div ve .rdusage)
   `display: contents` ile grid'e seffaflastirildi, boylece ic ogeler
   dogrudan grid hucrelerine yerlesti. Ayni butonlar, ayni id'ler,
   ayni renders.js olay dinleyicileri. */
@media (max-width: 560px) {
  .rdx .postsx__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 5px;
    align-items: center;
    margin-bottom: 10px;
  }
  .rdx .postsx__top > div:first-child { display: contents; }
  .rdx .postsx__title { grid-column: 1 / -1; grid-row: 1; }
  .rdx .postsx__sub { grid-column: 1; grid-row: 2; margin-top: 0; justify-self: start; }
  /* .rdusage da seffaf: yazi 2. satirin SAGINA, cubuk 3. satira tam genislik */
  .rdx .rdusage { display: contents; }
  .rdx .rdusage__txt { grid-column: 2; grid-row: 2; justify-self: end; white-space: nowrap; }
  .rdx .rdusage__bar { grid-column: 1 / -1; grid-row: 3; width: auto; max-width: none; }

  /* Arac cubugu geri geliyor — kompakt. (2026-09-12) Tek satira sigmiyordu:
     390px'te 3 onay kutusu + sayac + klasor + 3 ikon sagdan tasiyordu (Emre SS).
     Simdi IKI satir: ustte secim kutulari, altta saga yasli klasor + eylemler. */
  .rdx .rdtools {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    position: relative;   /* klasor panelinin hizalama atasi (asagida) */
  }
  .rdx .rdtools__all { flex: none; gap: 6px; font-size: 12px; }
  .rdx .rdtools__all input { width: 15px; height: 15px; }
  .rdx .rdtools__count { flex: 0 1 auto; min-width: 0; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rdx .rdtools > span[style] { flex: 1 1 100%; height: 0; min-width: 0; }   /* satir kirici: klasor + eylemler 2. satira */
  .rdx #rdFolderWrap { flex: none; margin-left: auto; }
  /* min-height dokunma hedefini YUKSELTIR ama satirin GENISLIK butcesini
     hic yemez — tek satir kurali bozulmadan parmak icin buyur. */
  .rdx #rdFolderWrap .pchan__btn { padding: 5px 8px; font-size: 11.5px; gap: 5px; min-height: 32px; }
  /* NOT: burada bir `.fld__nm{max-width:78px}` kurali vardi; `.fld__nm`
     yalnizca PANEL satirlarinda kullaniliyor (dugmenin etiketi
     `.pchan__lbl`), yani dugmeyi hic daraltmiyor, buna karsilik panel
     artik tam arac cubugu genisliginde oldugu icin klasor adlarini
     gereksiz yere kirpiyordu. Kaldirildi. */
  .rdx .rdtools__acts { flex: none; gap: 6px; }
  .rdx .rdtools__acts .btn--icon { padding: 6px 7px; min-height: 32px; }
  .rdx .rdtools__acts .btn--icon svg { width: 15px; height: 15px; }
  /* Klasor paneli: artik DUGMEYE degil ARAC CUBUGUNA yaslanir.
     Olculen kusur: `.pchan__panel{position:absolute;right:0;width:244px}`
     paneli dugmenin sag kenarina asiyordu; 360px'te dugmenin sagi 233px'te
     oldugu icin panel -11px'ten basliyor, yani ekranin SOLUNDAN tasiyordu.
     #rdFolderWrap'i `position:static` yapinca panelin hizalama atasi
     `.rdtools` olur; left:0/right:0 ile tam arac cubugu genisligine oturur
     ve hicbir viewport'ta tasmaz (360'ta 332px, 430'da 402px olculdu). */
  .rdx #rdFolderWrap { position: static; }
  .rdx #rdFolderWrap .pchan__panel { left: 0; right: 0; width: auto; max-width: none; }

  /* Kart uzerindeki secim kutusu: hover yok → HER ZAMAN gorunur.
     Kutunun kendisi 19x19 — parmak icin kucuk. padding:7px ile dokunma
     alani 33x33 olur; top/left 8px→1px verilerek GORSEL kutu tam olarak
     eski yerinde (kartin 8,8 kosesinde) kalir. */
  .rdx .rnitem__check { display: block !important; opacity: 1; top: 1px; left: 1px; padding: 7px; }
}

/* --- D3b) Created videos: en dar telefonlarda arac cubugu olcusu ---------
   Olcum (D3 uygulandiktan SONRA, 360x780): satirin ic genisligi 332px ama
   [Select all 69] + ["3 selected" 50] + [klasor 107] + [3 ikon 105] + 4x8
   bosluk = 363px isteniyordu. Tek esneyen oge "n selected" oldugu icin o
   19px'e kadar eziliyordu (scrollWidth 50 / clientWidth 19 → "3 s…").
   375'te de kirpiliyordu (34/50), 390'da 1px kaliyordu (49/50).
   Cozum: <=400px'te tipografi ve denetim olculeri bir kademe daha kisilir;
   toplam ~31px kazanilir, hicbir metin kirpilmaz. 401px ve UZERI hic
   etkilenmez (yani 428/430 Pro Max olculeri D3'teki gibi kalir). */
@media (max-width: 400px) {
  .rdx .rdtools { gap: 6px; }
  .rdx .rdtools__all { gap: 5px; font-size: 11.5px; }
  .rdx .rdtools__all input { width: 14px; height: 14px; }
  .rdx .rdtools__count { font-size: 10.5px; }
  .rdx #rdFolderWrap .pchan__btn { padding: 5px 7px; font-size: 11px; gap: 4px; }
  .rdx #rdFolderWrap .pchan__btn svg { width: 13px; height: 13px; }
  .rdx .rdtools__acts { gap: 5px; }
  .rdx .rdtools__acts .btn--icon { padding: 6px; }
  .rdx .rdtools__acts .btn--icon svg { width: 14px; height: 14px; }
}

/* --- D4) Connections: yesil nokta + sil butonu dokunmatikte ---------
   OLCULEN HATA (varsayim degil): 430px genislikte bu tarayici
   `(hover: none)` ile ESLESMIYOR (hoverNone:false, pointerCoarse:false),
   yani 2671'deki dokunmatik blok HIC calismiyordu. Sonuc:
   `.cnxt__x` opacity:0 ama `position:absolute; inset:0` ile yesil
   noktanin TAM USTUNDE duruyor ve tiklamayi yutuyor —
   document.elementFromPoint(nokta merkezi) → BUTTON.cnxt__x.
   Yani telefonda yesil noktaya dokunmak "Disconnect" tetikliyordu;
   yapiskan :hover de silme ikonunu bir an gosterip kaybediyordu
   ("delete flashes away and leaves the dot").
   COZUM: dokunmatik duzeni yalnizca pointer media'ya degil GENISLIGE
   de bagla (bu dosyadaki diger Connections mobil bloguyla ayni
   kirilma noktasi: 720px). Nokta ve sil YAN YANA, ikisi de kalici,
   ust uste binme yok, :hover hicbir seyi gizleyemez.
   >720px masaustu hover davranisi AYNEN korunur.
   NOT: bu blok bilerek YALNIZ genislige bagli. `(hover:none)` de eklenseydi
   720px'ten GENIS dokunmatik cihazlarda (tablet) gorunum degisirdi; oradaki
   davranis zaten satir 2671'deki eski `(hover:none)` blogu ile tutarli. */
@media (max-width: 720px) {
  .cnxt__side { width: auto; height: auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
  .cnxt__side .pdot { position: static; opacity: 1; }
  .cnxt__x {
    position: static; opacity: 1; flex: none;
    width: 34px; height: 34px; border-radius: 9px;
    border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-mute);
    -webkit-tap-highlight-color: rgba(212,66,50,.2);
  }
  .cnxt__x svg { width: 15px; height: 15px; }
  /* (2026-10-13, U32) ↻ dar ekranda nokta ile çöp arasında, hep görünür, çöple aynı kutu */
  .cnxt__side--broken { width: auto; }
  .cnxt__re { position: static; opacity: 1; flex: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-mute); }
  .cnxt__re svg { width: 15px; height: 15px; }
  .cnxt__re:hover { color: var(--text-mute); background: var(--bg-soft); }
  /* Yapiskan hover ikisini de OYNATAMAZ */
  .cnxt__acc:hover .cnxt__side .pdot { opacity: 1; }
  .cnxt__acc:hover .cnxt__x { opacity: 1; }
  /* Dokunmatikte :hover TAKILI kalir; `.cnxt__x:hover{color:var(--red, #E7766A);
     background:rgba(212,66,50,.14)}` bir kez dokununca butonu KALICI
     kirmiziya boyuyordu (satiri terk etmeden hover dusmuyor). Geri
     bildirim :active'e tasindi: basarken kirmizi, birakinca notr. */
  .cnxt__x:hover { color: var(--text-mute); background: var(--bg-soft); }
  .cnxt__x:active { color: var(--red, #E7766A); background: rgba(212,66,50,.14); }
}

/* --- D5) Posts › "Edit scheduled post": sekmeler TEK satir ---------
   `.pedit__tabs` uzerindeki `flex-wrap: wrap`, 860px'teki
   `.ptabs { overflow-x: auto }` kuralini etkisiz birakiyordu: sekmeler
   kaymak yerine 2. satira sariyordu (olcum: 3. hesap secilince nav
   yuksekligi 41px → 84px). nowrap + yatay kaydirma ile tek satirda
   kalir; kaydirma cubugu gizli, secili sekmenin mor alt cizgisi
   korunur. */
@media (max-width: 720px) {
  .pedit__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .pedit__tabs::-webkit-scrollbar { display: none; }
  .pedit__tabs > button { flex: 0 0 auto; white-space: nowrap; }
}
/* ---- JOB D mobil blogu SONU ---- */

/* ================================================================
   MOBİL DÜZELTMELERİ — Calendar / Repurposer / Create post
   (2026-07, JOB E). HEPSİ media query İÇİNDE; 1920 ve 1280
   ölçümleri bu blok eklendikten sonra bit bazında AYNI kaldı.
   ================================================================ */

/* ---- 1) CALENDAR: Week/Month anahtarı telefonda YOK ----
   Ölçüm: #apCal (hafta/ay ızgarası) zaten ≤700px'te display:none.
   Yani segment, GÖRÜNMEYEN bir ızgarayı değiştiriyordu — telefonda
   işlevsiz bir denetimdi ve başlığı sıkıştırıyordu (360px'te başlık
   2 satıra taşıp 50.6px'e çıkıyordu). Kaldırıldı; başlık yeniden
   dengelendi: [‹ tarih aralığı ›] solda, "+ New post" sağda, tek satır.
   NOT: app.css:669'daki `.calx__head{display:none}` kuralı, dosyanın
   ilerisindeki `.calx__head{display:flex}` (satır ~1971) tarafından
   eziliyor — başlık telefonda GÖRÜNÜR durumda. Burada onu gizlemiyoruz,
   sahibin istediği gibi düzenliyoruz. */
@media (max-width: 700px) {
  #calSeg { display: none; }
  .calx__head { gap: 10px; margin: 6px 2px 14px; flex-wrap: nowrap; align-items: center; }
  .calx__nav { flex: 1 1 auto; min-width: 0; gap: 6px; }
  /* min-width:210px dar ekranda başlığı kırıyordu */
  /* ortalı: hemen altındaki .apday__nav ile aynı ritim */
  .calx__title { min-width: 0; flex: 1 1 auto; text-align: center; font-size: 16px;
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .calx__arrow { flex: none; width: 32px; height: 32px; }
  .calx__actions { flex: none; gap: 8px; }
}
/* ESKİDEN burada bir `@media (max-width:400px)` bloğu vardı:
   `.calx__nav{flex:1 1 100%}` + `.calx__actions{flex:1 1 100%}` +
   `.calx__actions .btn{flex:1}`. O zamanki satır [‹ tarih aralığı ›] +
   "+ New post" idi ve ikisi 400px'e sığmıyordu. `.calx__nav` artık
   ≤700px'te display:none (H3 bloğu) ve satırda başlık + kompakt buton
   var — o kurallar 360/375/390/393'te butonu TAM GENİŞLİĞE geri
   çekip sahibin şikâyetini üretiyordu. Blok tamamen kaldırıldı.
   (Buraya bir punto küçültmesi denendi ama ÖLÇÜLDÜ: aynı özgüllükteki
   H3 bloğu dosyada DAHA SONRA geldiği için hiç uygulanmıyordu —
   dosyada duran ama kazanmayan bir kural bırakmıyoruz.) */

/* ---- 2) REPURPOSER: başlık şeridi ----
   Sayfa açıklaması telefonda gizlenir; "Repurposer" kendi satırında,
   altında iki buton YAN YANA ve sağa yaslı: "How it works" hemen solda,
   "+ Add batch" en sağda (birincil eylem başparmağın altında).

   TARİHÇE — bu satır iki kez değişti, ikisini de ÖLÇTÜK:
   1) Önce `justify-content` hiç uygulanmıyordu: aynı kırılma noktasındaki
      `.postsx__top > .repx__btns { justify-content: flex-start }` (satır
      ~2571) iki sınıflı (0-2-0) olduğu için tek sınıflı `.repx__btns`
      kuralını eziyordu — butonlar sola yığılıyordu.
   2) Sonra 0-3-0'lık `.repx .postsx__top > .repx__btns{space-between}`
      eklendi; ölçüm 360px'te "How it works" 16..154, "+ Add batch"
      229.7..344 → aralarında 75.6px boşluk. Sahibin kararı: ayrı
      köşelerde iyi durmuyor, YAN YANA olsunlar.
   ÇÖZÜM: özgüllük yarışını sürdürmek yerine ~2571'deki kuraldan
   `justify-content` TAMAMEN kaldırıldı (orada zaten gereksizdi: bu blok
   `.postsx__top`u `display:block` yapıyor, oradaki `flex:1 1 100%` de
   ölü). Hizalama artık YALNIZCA aşağıdaki tek kuralda tanımlı ve onu
   ezen başka bir kural yok. */
@media (max-width: 560px) {
  .repx .postsx__top { display: block; margin-bottom: 12px; }
  .repx .postsx__sub { display: none; }
  .repx__btns { display: flex; justify-content: flex-end; align-items: center;
                gap: 8px; width: 100%; margin-top: 10px; align-self: auto; }
  .repx__btns .btn { flex: none; min-height: 36px; }
}

/* ---- 3) REPURPOSER: Music bloğu ----
   Ölçülen kusur: #musicInfo + #musicAdd .muscard__head içinde iki
   satıra sarıyordu ve `.repx .muscard__hint{margin:-6px 0 12px}`
   negatif üst boşluğu paragrafı butonların İÇİNE çekiyordu
   (ölçüm: 124x6px ve 103x6px çakışma — 360'tan 430'a kadar hepsinde).
   Çözüm: telefonda "How it works" kaldırılır, "+ Add music" MUSIC
   başlığıyla AYNI satıra alınır, negatif margin sıfırlanır. */
@media (max-width: 560px) {
  #musicInfo { display: none; }
  .muscard__head { flex-wrap: nowrap; gap: 8px; align-items: center; }
  .muscard__head .setcard__title { margin-bottom: 0; min-width: 0; flex: 1 1 auto; }
  .muscard__btns { flex: none; margin-left: auto; }
  .muscard__btns .minibtn { min-height: 34px; white-space: nowrap; }
  /* negatif margin çakışmanın doğrudan sebebiydi */
  .repx .muscard__hint { margin: 10px 0 12px; }
  .muscard__hint { line-height: 1.5; }
  .muscard__tip { display: block; margin-top: 4px; }
}

/* ---- 4) REPURPOSER: Mix settings + fair-use notu ----
   .setrow yatay flex'ti; "Videos to generate" etiketi + 220px'lik
   slider dar ekranda birbirini eziyordu. Telefonda satırlar dikey. */
@media (max-width: 560px) {
  .repx .setrow { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0; }
  .repx .setlabel { font-size: 13px; }
  .repx .sizewrap { min-width: 0; width: 100%; }
  .repx .segs { align-self: flex-start; }
  .repx .segs button { padding: 9px 16px; }   /* dokunma hedefi */
  .repx .limits-note { align-items: flex-start; line-height: 1.5; }
  .repx .limits-note::before { line-height: 1.4; }
  .repx .mixfoot .btn { min-height: 44px; justify-content: center; }
  /* "Save to folder" (JOB I / madde 1): satır artık DİKEY DEĞİL — etiket
     solda, seçici sağda (aşağıdaki H5 bloğu). Düğme bu yüzden tam genişlik
     olamaz: doğal genişlikte kalır, gerekirse kısılır ve etiket sarar.
     Panel masaüstündeki gibi düğmenin SAĞ kenarına hizalı açılır; genişliği
     viewport'a kilitlenir (min(244px, 100vw-32px)) ki 360px'te soldan
     taşmasın — rdx'te ölçülen kusurun aynısına düşmeyelim. */
  .repx .rzfld .pchan__btn { width: auto; max-width: 100%; justify-content: space-between; min-height: 40px; }
  .repx .rzfld .pchan__panel { left: auto; right: 0; width: min(244px, calc(100vw - 32px)); max-width: none; }
}

/* ---- 5) CREATE POST (compose) adım 4: auto-stagger satırı ----
   Ölçüm: .apsched__grid4 telefonda 4 sütuna zorluyordu (1.3fr 1fr
   .62fr .95fr). "Time" düğmesi 113px içerik istiyor ama 71–89px
   alıyordu → içerik kırpılıyor ve #bulkGap'in üstüne biniyordu
   (360/375'te ölçülen çakışma: 9x26px ve 5x26px; kırpılma 430'da
   BİLE vardı). Çözüm: 2x2 ızgara — her denetim tam görünür. */
@media (max-width: 560px) {
  .apsched__grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .apsched__grid4 .apfield { margin-bottom: 0; }
  .apsched__grid4 .apinput { min-height: 40px; }
  .apsched__grid4 .tpick, .apsched__grid4 .dpick { min-width: 0; }
  .apsched__row { flex-wrap: wrap; }
  .apsched__row .apinput, .apsched__row .dpick, .apsched__row .tpick { min-height: 40px; }
}

/* =================================================================
   JOB H — MOBIL DUZELTMELERI (2026-07). Sahibin 3. tur listesi.
   Create post · Connections · Calendar · Repurposer.
   (Analytics'in kendi kurallari analytics.html icindeki <style>
   blogunda — o sayfanin diger mobil kurallari da orada.)

   KURAL: her kural bir @media icinde. 1920x1080 VE 1280x800'de bes
   sayfanin TUM element geometrisi + hesaplanan stili (::before/::after
   kutulari dahil) once/sonra olculdu; fark 0. Olcum oncesi gurultu
   tabani ayni agaci iki kez dumping ederek 0'landi (webfont'u
   fonts.ready ile beklenir — eski bir turda tam bu yarisma 530 hayalet
   fark uretmisti).
   Dosyanin SONUNA eklendi: duzeltilen kurallarin bir kismi (JOB D/E
   bloklari) zaten dosyanin sonunda ve ayni ozgullukte; sona eklemek
   kaskadi dogru yone cevirir.
   ================================================================= */

/* --- H1) CREATE POST: onizleme + "9:16 | TikTok | Reels" EN ALTA ----
   Onceki durum: app.css'teki <=980px blogu `.captop{display:contents}`
   ile iki kolonu `.capwrap` (flex column) akisina aliyor ve
   `.capcol--right{order:1}` ile onizleme kolonunu EN USTE koyuyordu.
   Back/Continue cubugu (.cwiznav) `.composeleft`in son cocugu oldugu
   icin telefonda sira soyleydi:
     [9:16|TikTok|Reels] [telefon onizleme] [adimlar] ... [Back|Continue]
   yani asil is (adim kartlari) ekranin cok asagisina itiliyordu.
   Simdi onizleme kolonu (icindeki mod secici ile birlikte — ikisi de
   .capcol--right'in cocugu, DOM'a dokunulmadi) EN SONA alinir:
     [adimlar] ... [Back|Continue] [9:16|TikTok|Reels] [onizleme]
   order:4 > .capcol--left'in order:3'u.
   KAPSAM: yalniz .composex (Create post) ve yalniz <=700px. Tablet
   (701-980px) duzeni ve Caption/Split editorleri
   (.capwrap:not(.composex)) bir piksel degismez. */
@media (max-width: 700px) {
  .composex .capcol--right { order: 4; }
}

/* --- H2) CONNECTIONS: yesil noktanin yanindaki BEYAZ HAP ------------
   OLCULEN HATA (sahibin verdigi elemanla birebir dogrulandi):
   430x932'de `span.pdot.pdot--live::after` -> 22.25 x 11.5469 px,
   background rgba(255,255,255,.8) = #FFFFFFCC, blur(.6px), radius 50%,
   sol 8.47px / ust 3.39px. Yani yesil nokta (347..358) ile cop kutusu
   (366..400) ARASINDA duran beyaz, bulanik bir hap. Sahibin
   ekran goruntusundeki her satirda.

   NE ISE YARIYOR: `.pdot::after` masaustunde noktanin PARLAMA
   NOKTASI (specular highlight) — 11px'lik noktanin sol ust
   koseginde 4.62 x 3.74px'lik beyaz leke; LED gorunumunu veren sey.
   Kaldirilmamali, DOGRU yere oturtulmali.

   SEBEP: `.pdot` temel kurali `position: relative` (yani ::after'in
   hizalama atasi noktanin KENDISI). JOB D'nin dokunmatik blogu
   `.cnxt__side .pdot { position: static }` yaziyordu — cunku ayni
   secici daha yukarida `position:absolute; inset:0; margin:auto` ile
   noktayi 24x24 slotun ortasina asiyordu ve dokunmatikte yan yana
   dizilim isteniyordu. `static` yapilinca ::after'in atasi
   `.cnxt__side` oldu (o `position: relative` ve dokunmatikte
   width/height:auto -> 53 x 34 px, cunku icinde 34px'lik cop dugmesi
   var). Yuzdeler o kutuya vurunca 42% x 34% = 22.25 x 11.55 -> hap.

   COZUM: `static` yerine `relative` + `inset:auto` + `margin:0`.
   Bu, absolute konumlandirmayi (inset/margin) iptal eder ama ::after'in
   hizalama atasini yine NOKTANIN KENDISI yapar -> parlama masaustundeki
   olculerine (4.62 x 3.74) doner. JOB D'nin dokunma hedefi duzeltmesi
   (cop dugmesinin noktanin USTUNDE durup dokunmayi yutmasi) AYNEN
   yerinde kalir. Masaustu hover davranisi (nokta gizlenir, cop gelir)
   hic degismez — bu kurallar yalnizca dokunmatik/dar bloklarda. */
@media (max-width: 720px) {
  .cnxt__side .pdot { position: relative; inset: auto; margin: 0; }
}
/* Ayni kusur gercek dokunmatik cihazlarda (720px'ten genis tabletler
   dahil) satir ~2673'teki `(hover: none)` blogundan da geliyordu. */
@media (hover: none) {
  .cnxt__side .pdot { position: relative; inset: auto; margin: 0; }
}

/* --- H3) CALENDAR: ustteki tarih araligi gezgini telefonda YOK ------
   `.calx__nav` = [<] "Jul 26 - Aug 1, 2026" [>]. Gecen turda olculdu:
   oklari hafta etiketini degistiriyor ama ALTTAKI gundem (.apday)
   kendi steppper'ina bagli oldugu icin kimildamiyordu; ustelik
   `#apCal` (hafta/ay izgarasi) <=700px'te zaten display:none. Yani
   telefonda hicbir isi olmayan bir denetimdi. Sahibin karari: sil.
   Geriye kalan tek denetim "+ New post" idi ve satiri tek basina
   dolduruyordu: ekranin basinda hicbir yer duygusu kalmadi (ustelik
   `.calx__title` <h1>'i `.calx__nav` ile birlikte gizlendigi icin
   telefonda sayfanin BASLIGI da yoktu — erisilebilirlik agacinda h1 yok).
   Olcum (360 ve 430): `.calx__actions .btn` 16..344 / 16..414, yani
   satirin %100'u; gorunur <h1> sayisi 0.

   JOB I / madde 3: calendar.html'e telefona ozel GERCEK bir baslik
   eklendi (`<h1 class="calx__pagetitle">Calendar</h1>`; masaustunde
   display:none, oradaki tek h1 yine `#calLabel`). Satir: baslik SOLDA,
   "+ New post" SAGDA ve kompakt (dogal genislik, 44px dokunma hedefi).
   NOT: `.calx__title` bir <h1> ama telefonda icerigi sayfa basligi
   degil tarih araligi ("Jul 26 - Aug 1, 2026"); gercek gun etiketi
   hemen altta `.apday__pick` icinde duruyor. */
@media (max-width: 700px) {
  .calx__nav { display: none; }
  .calx__pagetitle { display: block; flex: 1 1 auto; min-width: 0; margin: 0;
                     font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
                     line-height: 1.15; color: var(--text);
                     white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .calx__head { justify-content: space-between; }
  .calx__actions { flex: 0 0 auto; }
  .calx__actions .btn { flex: 0 0 auto; justify-content: center; min-height: 44px; }
}

/* --- H5) REPURPOSER: etiket ve segment butonlari TEK satirda --------
   JOB E'de `.repx .setrow { flex-direction: column; align-items: stretch }`
   yazilmisti; sebebi "Videos to generate" satirindaki 220px'lik
   slider'di (dar ekranda etiketi eziyordu). Ama ayni kural
   "Color variation" [On|Off] ve "Change intensity" [Light|Hard]
   satirlarini da dikey yigiyordu: etiket bir satirda, butonlar
   altinda. Bu iki satirda buton grubu dar (On/Off ~124px,
   Light/Hard ~145px) — 360px'te bile etiketle YAN YANA rahat siger.
   Yalnizca bu satirlar yatay dizime dondurulur; denetimler saga yaslanir.
   Slider satiri dikey KALIR (220px'lik kaydirici etiketi eziyor).

   JOB I / madde 1: "Save to folder" satiri da bu ritme katildi. Onceki
   olcum (360px): #rzFolderRow dikeydi, #rzFolderWrap 16..344 yani TAM
   satir, etiketin ALTINDA. Simdi etiket (+ "optional · they also stay in
   All videos" alt satiri) solda, klasor secici sagda — tipki ustundeki
   [On|Off] ve [Light|Hard] satirlari gibi. Secici `flex: 0 1 auto`:
   dogal genisligini alir, dar ekranda once ETIKET sarar; klasor adi
   sigmazsa secici kisilir ama `.pchan__lbl` ellipsis'e dusmez cunku
   satirin tamami ona ayrilabilir. */
@media (max-width: 560px) {
  .repx #colorRow, .repx #colorModeRow, .repx #rzFolderRow {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
  }
  .repx #colorRow .setlabel, .repx #colorModeRow .setlabel,
  .repx #rzFolderRow .setlabel { flex: 1 1 auto; min-width: 0; }
  .repx #colorRow .segs, .repx #colorModeRow .segs { flex: none; align-self: auto; margin-left: auto; }
  /* OLCULEN KUSUR (ilk denemede): tam 360px'te satir IKI SATIRA bolunuyordu
     — `.setrow{flex-wrap:wrap}` (satir ~265, <=1024px blogu) yuzunden.
     Flexbox sarma karari kucultulmus degil VARSAYIMSAL boyutlarla verilir:
     etiketin max-content'i (~205px, alt satir metni) + secici (123.2px) +
     12px bosluk = 340.2 > 328 -> sar. Olcum: #rzFolderRow h=111,
     .setlabel w=328 (tam satir) ve secici ALTINDA — yani duzeltmek istedigim
     kusurun ta kendisi 360px'te geri geliyordu (375+'te h=65 ile dogruydu).
     Cozum: bu satirda sarma kapatilir; etiket kisilir, alt satir metni
     kendi icinde sarar. Yalnizca #rzFolderRow — diger .setrow'lar etkilenmez. */
  .repx #rzFolderRow { flex-wrap: nowrap; }
  /* `.pchan{margin-bottom:8px}` bu satirda denetimi 4px yukari kaydiriyordu */
  /* OLCULEN KUSUR (360px'te iki kez): etiket + secici birlikte satiri
     1-2px asiyordu ve flex-shrink bunu TABAN GENISLIGE ORANTILI bolustur-
     uyordu, yani secici de kisiliyordu. Sonuc, yarim pikselden dogan iki
     gorunur hata:
       a) "No folder" dugmenin ICINDE iki satira sardi (dugme 40 -> 46px),
       b) "Instagram Reels" 0.17px eksikten "Instagram Re…" diye kirpildi.
     `flex-shrink` agirligini oynatmak yetmedi (orantili bolusme her zaman
     seciciden de bir seyler aliyor). Cozum: secici HIC kisilmez
     (`flex: 0 0 auto`); tum kucultme etikete gider — etiket zaten sarabilen
     bir metin ve min-content'i ~45px. Guvenlik siniri `max-width: 65%`:
     360px'te 213px, yani ~19 karakterlik klasor adi tam sigar; bundan uzun
     adlar TASMAZ, ellipsis'e duser. */
  .repx #rzFolderRow .rzfld { flex: 0 0 auto; min-width: 0; max-width: 65%;
                              align-self: auto; margin: 0 0 0 auto; }
  .repx #rzFolderRow .pchan__lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* ---- JOB H mobil blogu SONU ---- */

/* ============================================================================
   API sayfasi (.apix*) — 2026-08, YENIDEN.
   TASARIM KURALI (Emre): gereksiz kutulasma YOK. Bolum basligi + eylem butonu
   kutunun DISINDA yan yana durur; yalnizca liste ogeleri ve uygulama kartlari
   kenarlik alir. Sayfa dar ve ORTALANMIS — page--wide degil.
   ========================================================================== */
.apix { max-width: 880px; padding-top: 30px; }

.apix__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 10px 2px 30px; }
.apix__head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.apix__head p { font-size: 13.5px; color: var(--text-mute); margin-top: 5px; max-width: 52ch; line-height: 1.55; }
.apix__doclink { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650;
                 color: var(--text-mute); background: none; border: 1px solid var(--border); border-radius: 10px;
                 padding: 8px 14px; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.apix__doclink:hover { color: var(--text); border-color: var(--border-lt); background: var(--ov-1, rgba(255,255,255,.04)); }
.apix__doclink svg { flex: none; opacity: .85; }

/* --- bolum basligi: KUTU DEGIL, sadece baslik + karsisinda eylem ---------- */
.apix__sec { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 34px 2px 13px; }
.apix__sec:first-of-type { margin-top: 0; }
#appsWrap .apix__sec { margin-top: 34px; }   /* sarmalayici icinde first-of-type sayilip ust bosluk sifirlaniyordu → 'Connected apps' anahtar kutusuna yapisiyordu */
.apix__sec h2 { font-size: 15.5px; font-weight: 750; letter-spacing: -.01em; }
.apix__sec p { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.apix__sectxt { min-width: 0; }

/* --- anahtar listesi: TEK kenarlik, ic kutu yok --------------------------- */
.apix__keys { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.apix__key { display: flex; align-items: center; gap: 15px; padding: 15px 17px; }
.apix__key + .apix__key { border-top: 1px solid var(--border); }
.apix__key:hover { background: rgba(255,255,255,.02); }
.apix__keyic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
               background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text); }
.apix__keymain { flex: 1 1 auto; min-width: 0; }
.apix__keytop { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.apix__keyname { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.apix__keymask { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--text-dim); }
.apix__keysub { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.apix__keysub .is-warn { color: var(--orange, #E9B367); }
.apix__keysub .is-bad { color: #e36d60; }
.apix__keyperm { margin-top: 7px; }
.apix__permtoggle { font-family: inherit; font-size: 12px; font-weight: 620; color: var(--text-mute); background: none;
                    border: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.apix__permtoggle:hover { color: var(--text); }
.apix__permtoggle svg { transition: transform .16s; }
.apix__permtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.apix__chips { display: none; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.apix__chips.is-open { display: flex; }
.apix__chip { font-size: 11px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
              color: var(--text-mute); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; }
.apix__revoke { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
                background: none; border: 1px solid transparent; color: var(--text-dim); cursor: pointer;
                transition: color .15s, background .15s, border-color .15s; }
.apix__revoke:hover { color: var(--red, #E7766A); border-color: rgba(218,60,43,.4); background: rgba(218,60,43,.09); }
.apix__revoke:disabled { opacity: .45; cursor: not-allowed; }

/* --- bos durum: kenarlik kesikli, hafif ----------------------------------- */
.apix__empty { border: 1px dashed var(--border-lt); border-radius: 14px; padding: 30px 22px; text-align: center; }
.apix__empty h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.apix__empty p { font-size: 13px; color: var(--text-mute); max-width: 42ch; margin: 0 auto; line-height: 1.6; }
.apix__loading { padding: 26px; text-align: center; font-size: 13px; color: var(--text-dim); }

/* --- kullanim: esit KARTLAR (cizgi ayirici yok) -------------------------- */
.apix__usage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.apix__stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 15px 17px; }
.apix__statlab { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-mute); margin-bottom: 7px; }
.apix__statnum { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.apix__statcap { font-size: 13px; font-weight: 650; color: var(--text-dim); }
.apix__statsub { display: block; font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.apix__statsub.is-bad { color: #e36d60; }
.apix__bar { height: 4px; border-radius: 99px; background: var(--bg-elev); overflow: hidden; margin-top: 10px; }
.apix__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--violet); transition: width .3s ease; }

/* --- entegrasyon sayfasina yonlendirme ----------------------------------- */
.apix__pointer { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 15px 17px;
                 background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
                 color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.apix__pointer:hover { border-color: var(--border-lt); background: rgba(255,255,255,.025); }
.apix__pointertxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.apix__pointertxt b { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.apix__pointertxt span { font-size: 12.5px; color: var(--text-mute); }
.apix__pointer svg { flex: none; color: var(--text-dim); }
.apix__pointer:hover svg { color: var(--violet-light); }



/* --- modal icerigi -------------------------------------------------------- */
.apix__modal { max-width: 470px; }
.apix__select { font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--bg-soft);
                border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; cursor: pointer; }
.apix__select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.22); }
.apix__perms { display: flex; flex-direction: column; gap: 2px; }
.apix__perm { display: flex; align-items: flex-start; gap: 10px; padding: 7px 2px; cursor: pointer; }
.apix__perm input { position: absolute; opacity: 0; width: 0; height: 0; }
.apix__permbox { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1.5px solid var(--border-lt);
                 background: var(--bg-soft); display: grid; place-items: center; color: transparent;
                 transition: background .15s, border-color .15s, color .15s; }
.apix__perm input:checked ~ .apix__permbox { background: var(--violet); border-color: var(--violet); color: #fff; }
.apix__perm input:focus-visible ~ .apix__permbox { box-shadow: 0 0 0 3px rgba(54,128,103,.3); }
.apix__permlab { font-size: 13px; color: var(--text-mute); line-height: 1.45; }
.apix__permlab b { color: var(--text); font-weight: 650; }
.apix__keyout { display: flex; align-items: center; gap: 9px; background: var(--bg-soft); border: 1px solid var(--border);
                border-radius: 10px; padding: 11px 12px; }
.apix__keyout code { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
                     font-size: 12.3px; color: var(--text); word-break: break-all; }

@media (max-width: 720px) {
  .apix__head { flex-direction: column; gap: 12px; }
  .apix__usage { flex-direction: column; border-top: none; }
  .apix__stat { padding: 13px 0; border-top: 1px solid var(--border); }
  .apix__stat + .apix__stat { border-left: none; padding-left: 0; }
  .apix__key { flex-wrap: wrap; }
  .apix__keymain { flex: 1 1 60%; }
  .apix__dhead h1 { font-size: 19px; }
}

/* ============================================================================
   Integrations sayfasi (.intg*) — 2026-08.
   Esit boyutlu kartlar, BUYUK ve zemini SEFFAF logolar (Emre'nin istegi).
   ========================================================================== */
.intg__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
              grid-auto-rows: 1fr; }   /* her kart AYNI yukseklikte */
.intg__card { display: flex; align-items: flex-start; gap: 15px; width: 100%; height: 100%; min-height: 96px;
              text-align: left; font-family: inherit; color: var(--text); cursor: pointer;
              background: var(--bg-card); border: 1px solid var(--border); border-radius: 15px;
              padding: 18px 19px; transition: border-color .15s, background .15s, transform .12s; }
.intg__card:hover { border-color: var(--border-lt); background: rgba(255,255,255,.025); transform: translateY(-1px); }
.intg__ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: none; color: var(--text, #F2F4F1); }
.intg__ic svg { width: 38px; height: 38px; display: block; }
.intg__ic--lg { width: 46px; height: 46px; }
/* (2026-11-11 Emre) Tek renkli siyah logolar (ChatGPT, Grok Bot, Grok, Cursor, Notion, Manus, Kimi, Hermes, Paperclip) koyu temada gorunmuyordu:
   koyu zeminde beyaz (markalarin kendi ters surumu), acik temada markanin kendi siyahi (--ink, js/integrations.js yazar). */
.intg__ic--ink { color: #fff; }
:root[data-theme="light"] .intg__ic--ink { color: var(--ink, #000); }
/* Perplexity'nin acik zemin markasi (koyu turkuaz) — beyazda 2.4:1 olan parlak turkuaz yerine */
:root[data-theme="light"] .intg__ic svg[fill="#22B8CD"] { fill: #20808D; }
.intg__ic--lg svg { width: 46px; height: 46px; }
.intg__txt { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; }
.intg__txt b { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.intg__txt span { font-size: 13.5px; color: var(--text-mute); line-height: 1.5; }

/* --- ayrinti gorunumu ----------------------------------------------------- */
.intg__back { display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: 13px;
              font-weight: 620; color: var(--text-mute); background: none; border: none; padding: 0;
              cursor: pointer; margin-bottom: 22px; }
.intg__back:hover { color: var(--text); }
.intg__dhead { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.intg__dhead h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.intg__dhead p { font-size: 13px; color: var(--text-mute); margin-top: 3px; }
.intg__lead { font-size: 14px; color: var(--text-mute); line-height: 1.65; max-width: 62ch; margin-bottom: 24px; }

.intg__tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.intg__tab { font-family: inherit; font-size: 13.5px; font-weight: 650; color: var(--text-mute);
             background: none; border: none; border-bottom: 2px solid transparent; padding: 10px 14px;
             margin-bottom: -1px; cursor: pointer; transition: color .15s, border-color .15s; }
.intg__tab:hover { color: var(--text); }
.intg__tab.is-active { color: var(--text); border-bottom-color: var(--violet); }

.intg__steps { list-style: none; counter-reset: intgstep; margin: 0 0 30px; padding: 0;
               display: flex; flex-direction: column; gap: 22px; }
.intg__steps li { counter-increment: intgstep; position: relative; padding-left: 38px; }
.intg__steps li::before { content: counter(intgstep); position: absolute; left: 0; top: 0;
                          width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
                          font-size: 12px; font-weight: 750; color: var(--text); background: var(--ov-2, rgba(255,255,255,.07)); }
.intg__steps h3 { font-size: 14px; font-weight: 700; margin: 2px 0 6px; }
.intg__steps p { font-size: 13.5px; color: var(--text-mute); line-height: 1.62; margin: 0; }
.intg__steps p + .intg__code, .intg__steps p + .intg__inline { margin-top: 10px; }
.intg__steps a { color: var(--violet-light); text-decoration: none; border-bottom: 1px solid rgba(241,223,203,.3); }
.intg__steps a:hover { border-bottom-color: var(--violet-light); }

.intg__code { position: relative; background: var(--bg-soft); border: 1px solid var(--border);
              border-radius: 11px; overflow: hidden; }
.intg__code pre { margin: 0; padding: 14px 44px 14px 16px; overflow-x: auto; }
.intg__code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
                   font-size: 12.3px; line-height: 1.7; color: var(--text-mute, #A8B2AC); white-space: pre-wrap; word-break: break-word; }
.intg__inline { display: flex; align-items: center; gap: 8px; background: var(--bg-soft);
                border: 1px solid var(--border); border-radius: 9px; padding: 8px 8px 8px 12px; }
.intg__inline code { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
                     font-size: 12.3px; color: var(--text); word-break: break-all; }
.intg__copy { flex: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
              background: none; border: none; color: var(--text-dim); cursor: pointer; opacity: .75;
              transition: color .15s, background .15s, opacity .15s; }
.intg__copy:hover { color: var(--text); opacity: 1; background: var(--ov-2, rgba(255,255,255,.07)); }
.intg__copy.is-ok { color: var(--leaf-dark, #b9e8d1); opacity: 1; background: rgba(130,213,172,.12); }
.intg__code .intg__copy { position: absolute; top: 8px; right: 8px; }

.intg__h2 { font-size: 16px; font-weight: 750; letter-spacing: -.01em; margin-bottom: 5px; }
.intg__sub { font-size: 13px; color: var(--text-mute); margin-bottom: 12px; }
.intg__prompts { display: flex; flex-direction: column; gap: 8px; }
.intg__prompt { display: flex; align-items: center; gap: 10px; background: var(--bg-card);
                border: 1px solid var(--border); border-radius: 11px; padding: 12px 10px 12px 14px;
                font-size: 13px; color: var(--text-mute); line-height: 1.5; }
.intg__prompt span { flex: 1 1 auto; min-width: 0; }
.intg__disclaimer { font-size: 12px; color: var(--text-dim); line-height: 1.6; margin-top: 22px; }

@media (max-width: 760px) {
  .intg__grid { grid-template-columns: 1fr; }
  .intg__tabs { overflow-x: auto; }
  .intg__tab { white-space: nowrap; }
  .apix__usage { grid-template-columns: 1fr; }
}

/* ============================================================================
   OAuth onay ekrani (.oauthx*) — 2026-08. Sidebar yok, tek ortalanmis kart.
   ========================================================================== */
.oauthx { background: var(--bg); }
.oauthx__wrap { min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
                padding: 24px; padding-top: max(24px, env(safe-area-inset-top));
                padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.oauthx__card { width: 100%; max-width: 430px; background: var(--bg-card);
                border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.oauthx__logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800;
                letter-spacing: -.02em; margin-bottom: 22px; }
.oauthx__logo .accent { color: var(--text); }
.oauthx__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.oauthx__title b { font-weight: 800; color: var(--text); }
.oauthx__sub { font-size: 13px; color: var(--text-mute); margin-top: 6px; }
.oauthx__perms { display: flex; flex-direction: column; gap: 9px; margin: 22px 0; }
.oauthx__perm { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); }
.oauthx__tick { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid;
                place-items: center; background: var(--ov-2, rgba(255,255,255,.07)); color: var(--text-mute); }
.oauthx__note { font-size: 12.5px; color: var(--text-dim); line-height: 1.6;
                border-top: 1px solid var(--border); padding-top: 16px; }
.oauthx__actions { display: flex; gap: 10px; margin-top: 22px; }
.oauthx__actions .btn { flex: 1 1 0; justify-content: center; }
@media (max-width: 480px) {
  .oauthx__card { padding: 22px 18px; }
  .oauthx__actions { flex-direction: column-reverse; }
}

/* ============================================================================
   Settings kabugu + profil menusu — 2026-08
   Settings/API/Integrations kendi sidebar'ini kullanir; ana uygulama navigasyonu
   yerine ayarlar navigasyonu gorunur (Buffer deseni).
   ========================================================================== */
.setsb__back { color: var(--text-dim) !important; margin-bottom: 4px; }
.setsb__back:hover { color: var(--text) !important; }
.sidebar--set .sidebar__label:first-of-type { padding-top: 10px; }

/* --- profil acilir menusu (yalnizca masaustu; mobilde JS hic acmaz) -------- */
.profmenu { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 8px);
            background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 14px;
            box-shadow: 0 18px 44px rgba(0,0,0,.5); padding: 7px; z-index: 60;
            animation: profmenuIn .14s ease; }
@keyframes profmenuIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.profmenu__head { padding: 9px 11px 8px; display: flex; flex-direction: column; gap: 2px; }
.profmenu__head b { font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profmenu__head small { font-size: 12px; color: var(--text-dim); }
.profmenu__sep { height: 1px; background: var(--border); margin: 5px 4px; }
.profmenu__it { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
                font-family: inherit; font-size: 13.5px; font-weight: 550; color: var(--text-mute);
                background: none; border: none; border-radius: 9px; padding: 9px 11px;
                cursor: pointer; text-decoration: none; transition: background .13s, color .13s; }
/* Gece/gunduz anahtari — profil menusunde, Help & support'un ustunde */
.profmenu__theme { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 5px 8px 5px 12px; font-size: 13px; font-weight: 600; color: var(--text-mute); }
.thsw { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--border); }
.thsw__b { display: grid; place-items: center; width: 27px; height: 22px; padding: 0; border: 0;
  background: none; color: var(--text-dim); border-radius: 999px; cursor: pointer; transition: background .14s, color .14s; }
.thsw__b svg { width: 14px; height: 14px; display: block; }
.thsw__b:hover { color: var(--text-mute); }
.thsw__b.is-on { background: var(--bg-card); color: var(--violet-light); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.profmenu__it:hover { background: var(--ov-2, rgba(255,255,255,.06)); color: var(--text); }
.profmenu__out { color: var(--red, #E7766A); }
.profmenu__out:hover { background: rgba(218,60,43,.1); color: var(--red, #E7766A); }
.profmenu__tag { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .03em;
                 color: var(--text); background: var(--ov-2, rgba(255,255,255,.07));
                 border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; }
.profmenu__up { display: block; text-align: center; font-size: 13px; font-weight: 700; color: #fff;
                background: var(--violet); border-radius: 10px; padding: 9px; margin: 2px 4px 4px;
                text-decoration: none; transition: background .13s; }
.profmenu__up:hover { background: var(--violet-dark); }
.sidebar__bottom { position: relative; }

/* Settings "How it works" bolumu (Buffer deseni): ince ayirici + kalin baslik */
.setx__how { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--border);
             font-size: 14.5px; font-weight: 750; letter-spacing: -.01em; }
.setx .intg__steps--line li { padding-left: 36px; }
.setx .intg__steps--line li p { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.55; }
.setx .intg__steps--line li p b { font-weight: 700; }

/* Settings basliklari (Buffer olcusu): daha ince, ustte belirgin bosluk */
.setx .postsx__top { margin: 38px 2px 10px; }
.setx .postsx__title { font-size: 21px; font-weight: 700; letter-spacing: -.012em; }
.setx .postsx__sub { font-size: 13px; margin-top: 6px; }
.setx .card-block:first-of-type, .setx .card-block[data-view] { padding-top: 26px; }
.setx__how { font-weight: 700; font-size: 14px; }

/* ============================================================================
   Settings ailesi uyumu (2026-08): API + Integrations basliklari, Settings ile
   AYNI ritim — ayni genislik (820), ayni ust bosluk (38), ayni baslik olcusu.
   ========================================================================== */
.apix { max-width: 820px; }
.apix__head { margin: 38px 2px 24px; }
.apix__head h1 { font-size: 21px; font-weight: 700; letter-spacing: -.012em; }
.apix__head p { font-size: 13px; margin-top: 6px; }

/* --- premium dokunuslar (kutusuz): satir ritmi + ayiricilar + hover ------- */
.setx .settings__row { padding: 13px 0; font-size: 14px; }
.setx .settings__row + .settings__row { border-top: 1px solid var(--border); }
.setx .settings__row span { color: var(--text-mute); }
.setx .settings__row strong { font-weight: 700; letter-spacing: -.01em; }
.setx .field input { transition: border-color .15s, box-shadow .15s; }
.setx__hint { line-height: 1.6; }
/* Danger: Buffer gibi KUTUSUZ — baslik solda, kirmizi buton sagda, aciklama altta */
.setx .card-block--danger { background: transparent; border: none; padding: 34px 2px; }
.setx .card-block--danger h3 { color: var(--text); font-size: 15px; margin-bottom: 8px; }
.usage__name { display: inline-flex; align-items: center; gap: 8px; }
.usage__name svg { color: var(--text-dim); flex: none; }
/* (2026-11-19) Usage satırındaki ağ logosu (X): süs ikonları gibi soluk değil, yazı renginde (siyah marka = açık temada koyu, koyu temada açık) */
.usage__name .usage__brand { display: inline-flex; flex: none; }
.usage__name .usage__brand svg { color: var(--text); }
/* numarali adim rozetleri settings'te biraz daha yumusak */
.setx .intg__steps li::before { background: var(--bg-elev); color: var(--text-mute);
                                border: 1px solid var(--border-lt); }

/* Creator profile (settings) — kutusuz, avatar sol + eylem sag */
.cpav { display: flex; gap: 16px; align-items: center; margin: 16px 0 20px; }
.cpav__img, .cpav__ph { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; flex: none; }
.cpav__ph { display: grid; place-items: center; background: var(--bg-elev); color: var(--text-dim);
            font-size: 26px; font-weight: 800; border: 1px solid var(--border); }
.cpbio { font-family: inherit; font-size: 15px; color: var(--text); background: var(--bg-soft);
         border: 1px solid var(--border); border-radius: 10px; padding: 12px 13px; resize: vertical; }
.cpbio:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.22); }

/* Creator profile fiyat alanlari — uc kolon, mobilde tek */
.cprates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .cprates { grid-template-columns: 1fr; } }
.cpav__ph svg { width: 42px; height: 42px; opacity: .55; }

/* Dogum yili + ulke + dil yan yana */
.cprow2 { display: grid; grid-template-columns: 120px minmax(0,1fr) minmax(0,1.4fr); gap: 12px; align-items: start; }
@media (max-width: 640px) { .cprow2 { grid-template-columns: 1fr; } }
/* Ulke seceni: kucuk, ASAGI acilan, aramali custom dropdown (native select
   kocamandi + ok en saga yapisiyordu — Emre 2026-08-09) */
.cpdd { position: relative; max-width: 240px; }
.cpdd__btn { width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-family: inherit; font-size: 14px; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--border-lt); border-radius: 10px; padding: 9px 12px; cursor: pointer;
  transition: border-color .15s; }
.cpdd__btn:hover { border-color: var(--border-lt); background: var(--ov-2, rgba(255,255,255,.07)); }   /* (2026-10-21) yeşil kenarlık yerine nötr aydınlanma */
.cpdd__btn .is-ph { color: var(--text-dim); }
.cpdd__chev { width: 15px; height: 15px; color: var(--text-dim); flex: none; transition: transform .15s; }
.cpdd.open .cpdd__chev { transform: rotate(180deg); }
.cpdd__panel { position: absolute; top: calc(100% + 6px); left: 0; width: 270px; z-index: 60;
  background: var(--bg-elev); border: 1px solid var(--border-lt); border-radius: 12px;
  padding: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.cpdd__search { width: 100%; font-family: inherit; font-size: 13.5px; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--border-lt); border-radius: 8px;
  padding: 7px 10px; outline: none; margin-bottom: 6px; }
.cpdd__search:focus { border-color: var(--violet); }
.cpdd__list { max-height: 236px; overflow-y: auto; scrollbar-width: thin; }
.cpdd__opt { display: flex; width: 100%; align-items: center; gap: 8px; text-align: left;
  font-family: inherit; font-size: 13.5px; color: var(--text); background: none; border: none;
  border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.cpdd__opt:hover { background: var(--ov-2, rgba(255,255,255,.06)); }
.cpdd__opt.on { background: rgba(54,128,103,.16); font-weight: 600; }

/* Chip bloklari (nis + dil) — x HEP gorunur (hover sart degil) */
.cpchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 40px;
  padding: 6px 0 0; }
.cpchip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500;
  color: var(--text); background: var(--bg-soft); border: 1px solid var(--border-lt);
  border-radius: 9px; padding: 6px 11px; line-height: 1; }
.cpchip__x { display: inline-grid; place-items: center; width: 15px; height: 15px; border: none;
  background: none; color: var(--text-dim); font-size: 15px; line-height: 1; cursor: pointer;
  padding: 0; opacity: .85; transition: color .15s; margin-right: -3px; }
.cpchip__x:hover { color: var(--red, #E7766A); }
.cpchips__add { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-dim);
  background: none; border: 1px dashed var(--border-lt); border-radius: 999px; padding: 6px 12px;
  cursor: pointer; line-height: 1; transition: color .15s, border-color .15s; }
.cpchips__add:hover { color: var(--text); border-color: var(--violet); }

/* Hizli secici panel — nislerde sag ustte kapatma x'i var */
.cppick { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 4px; padding: 12px;
  padding-right: 38px; border: 1px solid var(--border-lt); border-radius: 12px; position: relative; }
.cppick__close { position: absolute; top: 7px; right: 7px; width: 24px; height: 24px;
  display: grid; place-items: center; background: none; border: none; color: var(--text-dim);
  font-size: 17px; line-height: 1; cursor: pointer; border-radius: 7px; padding: 0; }
.cppick__close:hover { color: var(--text); background: var(--ov-2, rgba(255,255,255,.06)); }
/* Eksik zorunlu alan vurgusu (Send for approval'a basinca kirmizi yanar) */
.cpfield-err { border-color: var(--red, #E7766A) !important; }

/* Vitrin secici: render kucuk onizlemeleri, secilende mor cerceve + sira rozeti */
.cpport { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px;
  margin-top: 8px; }
.cpport__it { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color .15s; }
.cpport__it video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block;
  background: #000; pointer-events: none; }
.cpport__it:hover { border-color: var(--border-lt); }
.cpport__it.on { border-color: var(--violet); }
.cpport__num { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px;
  display: grid; place-items: center; border-radius: 50%; background: var(--violet);
  color: #fff; font-size: 11px; font-weight: 700; }
.cppick__opt { font-family: inherit; font-size: 13px; color: var(--text-dim); background: none;
  border: 1px solid var(--border-lt); border-radius: 99px; padding: 5px 12px; cursor: pointer;
  line-height: 1.2; transition: color .15s, border-color .15s; }
.cppick__opt:hover { color: var(--text); }
.cppick__opt.on { color: var(--text); border-color: var(--violet); background: rgba(54,128,103,.14); }
.cppick__note { flex-basis: 100%; font-size: 12px; color: var(--text-dim); margin: 2px 0 0; }

/* Sozlesme kapisi */
.cpterms { max-height: 300px; overflow-y: auto; border: 1px solid var(--border-lt);
  border-radius: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.65;
  color: var(--text-dim); scrollbar-width: thin; }
.cpterms h4 { color: var(--text); font-size: 14.5px; margin: 0 0 10px; }
.cpterms p { margin: 0 0 10px; }
.cpterms b { color: var(--text); font-weight: 600; }
.cpterms__agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0;
  font-size: 13.5px; color: var(--text-dim); cursor: pointer; line-height: 1.5; }
.cpterms__agree input { margin-top: 2px; accent-color: var(--violet); }

/* Durum bandi: pending / live / rejected */
.cpstat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  border: 1px solid var(--border-lt); border-radius: 12px; padding: 12px 16px;
  font-size: 13.5px; color: var(--text-dim); margin-bottom: 18px; }
.cpstat b { color: var(--text); font-weight: 600; }
.cpstat a { color: var(--text); }
.cpstat--pending { border-color: rgba(245,185,95,.45); }
.cpstat--live { border-color: rgba(99,203,151,.45); }
.cpstat--rejected { border-color: rgba(233,140,129,.5); }
.cpstat .sp { flex: 1; }
.cpsend { margin-top: 16px; }
.field__sub { font-weight: 400; color: var(--text-dim); font-size: 12px; }

/* ============ FATURALAMA POPUP'I (plans) + durum renkleri ============ */
/* destek vakasi (2026-08): past_due/aktif kullanici checkout duvarina carpacagina
   ne oldugunu ve ne yapacagini anlatan sik bir modal gorur. */
.bpop { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center;
  background: rgba(8,12,10,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bpop[hidden] { display: none; }
.bpop__panel { width: min(440px, calc(100vw - 40px)); background: var(--bg-soft, var(--bg-card, #191817));
  border: 1px solid var(--border-lt); border-radius: 18px; padding: 26px 26px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.bpop__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 14px; border: 1px solid var(--border-lt); color: var(--text-mute); }
.bpop__ic--warn { color: var(--orange, #E9B367); border-color: rgba(245,185,95,.4); }
.bpop__ic--info { color: var(--text-mute); border-color: var(--border); }
.bpop__panel h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bpop__panel p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--text-mute); }
.bpop__steps { margin: 0 0 18px; padding: 0 0 0 18px; font-size: 13px; line-height: 1.9; color: var(--text-mute); }
.bpop__steps b { color: var(--text); font-weight: 600; }
.bpop__acts { display: flex; gap: 9px; flex-wrap: wrap; }
.bstat--bad { color: var(--red, #E7766A); font-weight: 600; }
.bstat--warn { color: var(--orange, #E9B367); font-weight: 600; }
.bstat--ok { color: var(--leaf-dark, #63cb97); font-weight: 600; }
.planbtn-current { opacity: .55; pointer-events: none; }

/* SVG yazi markasi — appbar */
.pkword { display: block; margin: 0; color: #FAFAF9; font-size: 26px; font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }   /* (2026-11-07 U112) metin wordmark: Figtree 700, logo 44 px → 26 px */
:root[data-theme="light"] .pkword { color: #1E1A15; }
/* (2026-11-06) Logo artık tek renk vektör (assets/logo.svg, mürekkep #1E1A15 = wordmark). <img> olduğu için rengi CSS ile
   veremeyiz: koyu temada filtre onu wordmark'ın açık tonuna (#FAFAFA) çevirir; açık temada dosyanın kendi rengi kalır. */
:root:not([data-theme="light"]) img[src*="assets/logo.svg"] { filter: brightness(0) invert(.98); }
/* (2026-11-06) YENİ LOGO kilidi: tek renk geyik işareti + wordmark dikeyde ORTALI (eski geyik yüzü alta hizalıydı, blok yukarı itiliyordu) */
.appbar__brand .pkword, .sidebar__brand .pkword, .ie__brand .pkword { margin-bottom: 0; }
.appbar__brand img:not(.pkword), .sidebar__brand img:not(.pkword) { width: 44px; height: 44px; transform: translateY(-4.5px); }   /* (2026-11-07 Emre, A029) logo 5 px yukarı: geyiğin görsel ağırlığı alt yarıda, böylece yazı geyiğin ortasına, kilit de menüyle aynı hizaya oturur (oran 0,104 × logo) */
@media (max-width: 1600px) {
  .pkword { font-size: 23px; }
  .appbar__brand img:not(.pkword), .sidebar__brand img:not(.pkword) { width: 40px; height: 40px; transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .pkword { font-size: 21px; }
  .appbar__brand img:not(.pkword), .sidebar__brand img:not(.pkword) { width: 36px; height: 36px; transform: translateY(-4px); }
}

/* =========================================================
   FAIR-USE INFO TOOLTIP (.tipx) — 2026-08-12
   "Unlimited" diyen her satirin yanindaki (i). Hover/odakta gercek limitleri
   yazar (gunluk platform tavanlari, saatlik render kotalari, API rate limit).
   HUKUKI: "sinirsiz" iddiasi tek basina yaniltici olur; kosullar burada.
   Saf CSS — JS yok, tooltip data-tip icerigindedir.
   ========================================================= */
.tipx {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; vertical-align: -2px; margin-left: 2px;
  color: var(--text-dim, #77716a); cursor: help; flex: none; outline: none;
}
.tipx:hover, .tipx:focus { color: var(--violet-light, #7DD4A8); }
.tipx svg { display: block; }
.tipx::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 9px);
  width: max-content; max-width: 280px; padding: 9px 11px;
  transform: translateX(-50%) translateY(3px);
  border-radius: 10px; border: 1px solid var(--border-lt, var(--border, #312c27));
  background: var(--bg-soft, #191613); color: var(--text-mute, #aaa59f);
  font-size: 11.5px; font-weight: 600; line-height: 1.45; letter-spacing: 0; text-align: left;
  white-space: normal; text-transform: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
  z-index: 60;
}
.tipx:hover::after, .tipx:focus::after, .tipx:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Kenarlara yakin tooltip ekran disina tasmasin */
.tipx:first-child::after { left: 0; transform: translateX(0) translateY(3px); }
.tipx:first-child:hover::after { transform: translateX(0) translateY(0); }
@media (max-width: 560px) { .tipx::after { max-width: 220px; } }
/* Dokunmatik: hover yok — ikona DOKUNMAK odak verir ve tooltip acilir
   (tabindex=0 span). Limitler her cihazda okunabilir olmali. */
@media (hover: none) { .tipx::after { max-width: min(260px, 78vw); } }

/* Kenardaki kartlarda tooltip ekran disina cikmasin: ilk sutun sola, son
   sutun saga yaslanir (3 sutunlu plan gridleri). */
.paywall__plans .pwplan:first-child .tipx::after { left: 0; transform: translateX(0) translateY(3px); }
.paywall__plans .pwplan:first-child .tipx:hover::after,
.paywall__plans .pwplan:first-child .tipx:focus-visible::after { transform: translateX(0) translateY(0); }
.paywall__plans .pwplan:last-child .tipx::after { left: auto; right: 0; transform: translateX(0) translateY(3px); }
.paywall__plans .pwplan:last-child .tipx:hover::after,
.paywall__plans .pwplan:last-child .tipx:focus-visible::after { transform: translateX(0) translateY(0); }

/* --------------------------------------------------------------------------
   TOOLTIP OKUNABILIRLIK (2026-08-12 duzeltmesi)
   SORUN: tooltip komsu plan kartinin ALTINDA kaliyordu — kartlarin hepsi
   position:relative ve z-index'siz, DOM'da SONRAKI kart ustte ciziliyor. Bu,
   "camsi/seffaf" gibi gorunuyordu; aslinda ustune baska icerik biniyordu.
   COZUM: tooltip acikken o KARTI one al (:has) + tooltip'in kendi katmanini
   yukselt. Ayrica zemin daha koyu/mat ve yazi daha parlak.
   -------------------------------------------------------------------------- */
.paywall__plans .pwplan:has(.tipx:hover), .paywall__plans .pwplan:has(.tipx:focus) { z-index: 30; }
.tipx:hover, .tipx:focus { z-index: 40; }
.tipx::after {
  background: var(--bg, #100e0c);                 /* daha koyu, tam mat */
  color: var(--text, #e2dcd6);         /* daha parlak yazi (temaya gore) */
  border-color: var(--border, #373431);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .72), 0 0 0 1px rgba(0, 0, 0, .35);
  z-index: 90;
}
/* :has() desteklemeyen eski tarayicilar icin YEDEK: tooltip'e hover eden
   kullanici zaten KARTIN uzerindedir — kart hover'inda one al. */
.paywall__plans .pwplan:hover { z-index: 30; }

/* --------------------------------------------------------------------------
   TOOLTIP TASMA DUZELTMESI (2026-08-12)
   HATA: gizli tooltip `opacity:0; visibility:hidden` ile saklaniyordu ama
   `visibility:hidden` elemani AKISTAN CIKARMAZ — 280px'lik kutu 375px'lik
   telefonda sayfayi yatay kaydiriyordu (scrollWidth 515 > 375). Artik gizliyken
   `display:none`: hicbir yer kaplamaz. Gorunum ayni, gecis animasyonu yerine
   aninda acilir (hover ipucunda fark edilmez).
   -------------------------------------------------------------------------- */
.tipx::after { display: none; }
.tipx:hover::after, .tipx:focus::after, .tipx:focus-visible::after { display: block; }

/* ---------------------------------------------------------------------------
   TEK TIK IKONU (2026-08-12) — Emre'nin verdigi SVG. Metin glifi "✓" ve elle
   cizilmis border tikler KALKTI: yazi tipine gore kayiyor, hizalanmiyor ve
   kalinliklari tutarsizdi. mask kullaniyoruz ki RENK yine currentColor /
   kuralin kendi rengiyle gelsin (tek dosya, her yerde ayni sekil).
   Kullanim:  .x::before { content:""; ...olcu...; background: <renk>;
              -webkit-mask: var(--tick) center/contain no-repeat;
              mask: var(--tick) center/contain no-repeat; }
   --------------------------------------------------------------------------- */
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7071%205.29289C22.0976%205.68342%2022.0976%206.31658%2021.7071%206.70711L9.70711%2018.7071C9.31658%2019.0976%208.68342%2019.0976%208.29289%2018.7071L2.29289%2012.7071C1.90237%2012.3166%201.90237%2011.6834%202.29289%2011.2929C2.68342%2010.9024%203.31658%2010.9024%203.70711%2011.2929L9%2016.5858L20.2929%205.29289C20.6834%204.90237%2021.3166%204.90237%2021.7071%205.29289Z' fill='black'/%3E%3C/svg%3E"); }

/* ================= REPOST popup (2026-08-25) ================= */
.rpost { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: rgba(0,0,0,.55); padding: 20px; }
.rpost__card { width: min(840px, 96vw); max-height: 92vh; overflow: auto; background: var(--bg-card); border: 1px solid var(--border-lt); border-radius: 20px; padding: 28px 32px 24px; box-shadow: var(--shadow); }
.rpost__head { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 20px; margin-bottom: 16px; }
.rpost__head > svg { color: var(--violet-light, #7DD4A8); }
.rpost__stepix { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--text-dim); font-size: 12px; font-weight: 700; }
.rpost__stepix i { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--border); border-radius: 50%; font-style: normal; font-size: 11px; }
.rpost__stepix i.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.rpost__stepix i.is-done { color: var(--violet-light, #7DD4A8); border-color: color-mix(in srgb, var(--violet) 45%, transparent); }
.rpost__stepix span { margin-left: 3px; }
.rpost__x { margin-left: auto; border: 0; background: none; color: var(--text-dim); cursor: pointer; font-size: 14px; padding: 2px 5px; }
.rpost__x:hover { color: var(--text); }
.rpost__warn { background: rgba(212,66,50,.12); border: 1px solid rgba(212,66,50,.4); color: var(--red, #E7766A); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
/* teknik hata: engelleyici DEGIL, uyarici (amber) — sessiz gecmek yerine goster */
.rpost__warn--soft { background: rgba(240,170,60,.13); border-color: rgba(240,170,60,.45); color: var(--orange, #E9B367); }
.rpost__hint { color: var(--text-mute); font-size: 14px; margin: 0 0 14px; }
.rpacct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 10px; max-height: 360px; overflow-y: auto; padding: 2px; }
.rpacct { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); cursor: pointer; text-align: left; color: var(--text); font: 650 13px/1.3 var(--font); transition: border-color .12s, box-shadow .12s; }
.rpacct:hover { border-color: var(--border-lt); }
.rpacct.is-on { border-color: var(--violet); box-shadow: 0 0 0 2px color-mix(in srgb, var(--violet) 30%, transparent); }
.rpacct img:where(:not(.netmark, .ytmark)), .rpacct__fall { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; flex: none; }
.rpacct__fall { display: grid; place-items: center; background: var(--bg-elev); color: var(--text-mute); font-weight: 800; }
.rpacct__tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpacct__pl { display: block; margin-top: 2px; color: var(--text-dim); font-size: 10.5px; font-weight: 600; }
.rpost__cnt { margin-top: 7px; color: var(--text-dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.rpost__cnt.is-over { color: var(--red, #E7766A); font-weight: 700; }
.rpost__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rpost__opt { position: relative; display: grid; justify-items: start; gap: 3px; text-align: left; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--bg-soft); color: var(--text-mute); font-family: inherit; cursor: pointer; transition: border-color .14s, background .14s, color .14s; }
.rpost__opt:hover { border-color: var(--border-lt); color: var(--text); }
.rpost__opt b { font-size: 14.5px; font-weight: 800; color: var(--text); }
.rpost__opt span { font-size: 12px; line-height: 1.45; color: var(--text-mute); }
.rpost__opt svg { color: var(--text-dim); margin-bottom: 3px; }
.rpost__opt.is-on { border-color: var(--violet); background: rgba(54,128,103,.10); background: color-mix(in srgb, var(--violet) 10%, transparent); }
.rpost__opt.is-on svg { color: var(--violet-light, #7DD4A8); }
.rpost__optick { position: absolute; top: 12px; right: 12px; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--border-lt); }
.rpost__opt.is-on .rpost__optick { background: var(--violet); border-color: var(--violet); }
.rpost__opt.is-on .rpost__optick::after { content: ""; position: absolute; inset: 0; background-color: #fff; -webkit-mask: no-repeat center / 11px 11px var(--tick); mask: no-repeat center / 11px 11px var(--tick); }
.rpost__field { display: grid; gap: 5px; }
.rpost__field > span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.rpost__schedhint { grid-column: 1 / -1; margin: 0; color: var(--text-mute); font-size: 12px; }
.rpost__mode button { border: 1px solid var(--border); border-radius: 11px; background: var(--bg-soft); color: var(--text-mute); font: 700 13px/1 var(--font); padding: 10px 18px; cursor: pointer; }
.rpost__mode button.is-on { color: var(--violet-light, #7DD4A8); border-color: color-mix(in srgb, var(--violet) 50%, transparent); background: color-mix(in srgb, var(--violet) 10%, transparent); }
.rpost__sched { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 14px; padding: 15px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); }
.rpost__sched input { padding: 10px 13px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-soft); color: var(--text); font: 600 13.5px/1 var(--font); }
.rpost__foot { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.rpost__err { color: var(--red, #E7766A); font-size: 12px; font-weight: 600; margin-left: auto; }
.rpost__foot .btn--primary { min-width: 150px; }
/* Repost ikonu: BUTON DEGIL — ciplak ikon; hover'da iki temada da yesil */
.pcard__rp.is-busy { opacity: .55; cursor: progress; pointer-events: none; }
/* (2026-10-27 Emre) Repost: sessiz ikon düğme — hover'da yeşile dönmez, yalnız hafif zemin (View ile aynı dil) */
.pcard__rp { border: 0; background: none; padding: 0; margin: 0; width: 32px; height: 32px; border-radius: 10px; color: var(--text-mute); cursor: pointer; display: inline-grid; place-items: center; transition: color .12s, background .12s; }
.pcard__rp:hover { color: var(--text); background: var(--bg-elev); }
.pcard__rp svg { display: block; width: 18px; height: 18px; }   /* kartta 18x18; modal butonu 26 kalir */
.pcard__btn svg { stroke: currentColor; stroke-width: .55; }      /* View gozu + Edit kalemi bir tik kalin */

.rpost textarea.apta { min-height: 180px; font-size: 15px; }

/* Repost adim-1: compose'un hesap secicisinin AYNISI (cnxt siniflari) */
.rpost .cnxt--pick { margin-top: 2px; }
.rpost .cnxt__scroll { max-height: 380px; overflow: auto; }

/* ============ STREAK — rozet (marka yani) + kare popup ============ */
.stk-btn { position: relative; display: inline-flex; align-items: flex-end; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s; transform-origin: bottom center; -webkit-tap-highlight-color: transparent; }
.stk-btn:hover { transform: scale(1.1); }
/* bush_<seviye>_sb.webp ICERIGE KIRPILDI (seffaf kenar yok) → kutu alti = calinin alti;
   marka satiri align-items:flex-end oldugu icin cali wordmark ile ALT HIZALI. */
.stk-btn img { height: 32px; width: auto; display: block; border-radius: 0; }
/* balon calinin SAG KENARINI ASMAZ (right:0) — yoksa Create post butonunun
   kenar hizasi bozulur. */
.stk-badge { position: absolute; top: -6px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--violet); color: #fff; font: 800 10.5px/17px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--bg-soft); }
.stk__box { width: min(430px, calc(100vw - 32px)); text-align: center; }
.stk__glow { position: absolute; left: 50%; top: 10px; width: 240px; height: 170px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--violet) 20%, transparent) 0%, transparent 70%); pointer-events: none; }
.stk__hero { position: relative; width: 118px; height: 118px; object-fit: contain; margin: 8px auto 2px; display: block; filter: drop-shadow(0 12px 26px rgba(0,0,0,.28)); }
.stk__count b { display: block; font-size: 36px; font-weight: 900; letter-spacing: -.02em; color: var(--text); }
.stk__count b.stk__none { font-size: 22px; }
.stk__count span { display: block; margin-top: 1px; color: var(--text-mute); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.stk__sub { margin: 10px auto 0; max-width: 330px; color: var(--text-mute); font-size: 12.5px; line-height: 1.55; }
.stk__week { display: flex; align-items: flex-start; justify-content: center; margin: 20px 2px 4px; }
.stk__day { display: grid; justify-items: center; gap: 6px; width: 44px; }
.stk__cir { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--font); background: var(--bg-elev); color: var(--text-dim); border: 1.5px solid transparent; transition: background .15s; }
.stk__day.is-on .stk__cir { background: var(--violet); color: #fff; }
.stk__day.is-today:not(.is-on) .stk__cir { border-color: var(--violet); color: var(--text); background: transparent; }
.stk__day.is-future .stk__cir { opacity: .45; }
.stk__day small { font-size: 10.5px; color: var(--text-dim); font-weight: 700; }
.stk__ln { flex: 1; min-width: 8px; max-width: 24px; height: 3px; border-radius: 99px; background: var(--bg-elev); margin-top: 16px; }
.stk__ln.is-on { background: var(--violet); }
.stk__lvl { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 12.5px; font-weight: 600; }

/* Buffer duzeni: marka SOL uca, streak calisi SAG uca — ikisi de alttaki
   "Create post" butonunun kenarlarina oturur (olculdu: 14 / 237px). */
.sidebar__brandrow { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin: 4px 2px 16px; }
.sidebar__brandrow .sidebar__brand { margin: 0; }
/* olculdu: wordmark murekkep alti, logo kutusunun 2px ustunde biter — cali
   YAZININ alt cizgisine oturur (Emre: "postelk yazisinin alt hizasi"). */
.sidebar__brandrow .stk-btn { margin-bottom: 2px; }
/* appbar__left'in kendi hizasina DOKUNMA (hamburger ortali kalsin) — yalniz
   rozet alta cekilir; margin olculdu: mobil wordmark murekkep alti. */
.appbar__left .stk-btn { align-self: flex-end; margin-left: 6px; margin-bottom: 2px; }
/* Mobilde CALI TEK: drawer'daki marka satiri gizli — header'daki gorunur.
   (Bu kural streak blogunun SONUNDA durmali: erken media query'ler
   .sidebar__brandrow'un display:flex'ini ezemez.) */
@media (max-width: 900px) { .sidebar__brandrow { display: none; } }
/* ===== MOBIL DUZELTMELER (2026-08-26, Emre bildirdi) ===== */
@media (max-width: 900px) {
  /* 1) Repurposer/Clip basligi: uc buton TEK SATIR (iPhone SE 375 → 16 Pro Max 440).
        Metinler kisalmaz; padding/font kuculur, satir sarmaz. */
  .postsx__top > .repx__btns { flex: 1 1 100%; flex-wrap: nowrap; gap: 6px; justify-content: flex-start; }
  .repx__btns > .btn { flex: 0 1 auto; min-width: 0; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .repx__btns > .btn svg { flex: none; width: 13px; height: 13px; }
  /* 2) Dashboard: "New post" mobilde gizli — drawer'da "Create post" zaten var. */
  .dashx__hero > a.btn--primary { display: none; }
}
@media (max-width: 380px) {
  .repx__btns > .btn { padding: 7px 8px; font-size: 11.5px; gap: 5px; }
}
/* Repost popup: adimlar arasi ZIPLAMA yok — govde masaustunde sabit yukseklikte
   (en uzun adim olcusune gore); dar/kisa ekranda serbest kalir. */
@media (min-width: 720px) and (min-height: 700px) {
  .rpost #rpBody { min-height: 316px; }
}
@media (min-width: 720px) and (max-height: 699px) {
  .rpost #rpBody { min-height: 264px; }
  .rpost .cnxt__scroll { max-height: 250px; }
  .rpost__card { padding: 20px 24px 18px; }
}
/* 4'lu sarma: satir basi sutunda sol cizgi olmasin, ikinci satira ust cizgi */
.rpost .cnxt__cells { padding: 10px 6px; }   /* 4 sutunda isimler kesilmesin: 2px kazanc */
.rpost .cnxt__col:nth-child(4n + 1) { border-left: 0; }
.rpost .cnxt__col:nth-child(n + 5) { border-top: 1px solid var(--border); }
/* ===== Hesap secici (repost/compose) — kucuk ekran duzeltmeleri ===== */
/* Mobilde `.cnxt__side{width:auto}` kurali CONNECTIONS satirlari icin yazilmis
   (nokta + cop yan yana). SECIM listesinde ise yuvanin ICINDE mutlak konumlu tik
   var → yuva 0px'e cokuyor, tik kartin sagindan tasip kesiliyordu. */
@media (max-width: 720px), (hover: none) {
  .cnxt__acc--pick .cnxt__side { width: 24px; height: 24px; display: block; flex: none; }
}
/* Tablet: 4 sutun sikisip isimleri kesiyordu → 2 sutun. */
@media (min-width: 721px) and (max-width: 1080px) {
  .rpost .cnxt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .rpost .cnxt__col:nth-child(odd) { border-left: 0; }
  .rpost .cnxt__col:nth-child(n + 3) { border-top: 1px solid var(--border); }
}
/* Repost popup mobilde: dar ekranda yatay tasma olmasin */
@media (max-width: 720px) {
  /* olculdu: 96vw kart + 20px kapsayici dolgusu = ekrandan 4px tasma */
  .rpost { padding: 12px; }
  .rpost__card { width: min(840px, calc(100vw - 24px)); padding: 20px 16px 16px; }
  .rpost .cnxt__scroll { overflow-x: hidden; max-height: 300px; }
  .rpost__modes { grid-template-columns: 1fr; }
  .rpost__sched { grid-template-columns: 1fr; }
}

/* Grafik kapsam uyarisi: cok post atan kullanicida sunucu yalniz en yeni 400
   postu analiz edebiliyor; grafigin hangi tarihten itibaren dolu oldugunu
   soyler (yoksa "sadece son 3 gun veri var" gibi gorunuyor). */
.an3-cover { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--text-dim); }
.an3-cover[hidden] { display: none; }

/* ---------- CALI YUKLEYICI (dashboard sayaclari) ----------
   Emre: "o cizgi olunca kullanici yuklendigini anlamiyor". Yerine nefes alan
   cali; deger gelince 24 karelik patlama sprite'i (bush_pop.png, alfali —
   videonun siyah zemini luma'dan alfaya cevrildi, boylece iki temada da
   calisir ve <video> autoplay kisitlarina takilmaz). */
.dashx__stat b { position: relative; }
.bushl { display: inline-block; position: relative; width: 30px; height: 30px; vertical-align: -5px; }
.bushl__b {
  position: absolute; inset: 0; transform-origin: 50% 88%;
  background: url("../assets/streak/bush.png") center/contain no-repeat;
  animation: bushl-breathe 1.05s ease-in-out infinite alternate;
}
@keyframes bushl-breathe { from { transform: scale(.86); } to { transform: scale(1.08); } }
/* Sayi kutusu: patlama bunun MERKEZINE oturur (1 haneli de 6 haneli de ayni). */
.bushv { position: relative; display: inline-block; }
.bushv__t { display: inline-block; animation: bushv-in .40s cubic-bezier(.2,.8,.3,1) .14s both; }
@keyframes bushv-in { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: scale(1); } }
/* patlama: 24 kare x 56px = 1344px genislik; sayinin tam ortasinda */
.bushl__fx {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  pointer-events: none; z-index: 1;
  background: url("../assets/streak/bush_pop.png") 0 0 / 1344px 56px no-repeat;
  animation: bushl-pop .60s steps(24) forwards;
}
@keyframes bushl-pop { to { background-position-x: -1344px; } }
@media (prefers-reduced-motion: reduce) {
  .bushl__b { animation: none; }
  .bushl__fx { display: none; }
  .bushv__t { animation: none; }
}

/* ---- Ban kapisi: banli kullanicinin gordugu tam ekran kart (shell.js basar).
   Sebep metni ban_list.reason'dan gelir (bagli mailler + tirmanma uyarisi). */
.bangate { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: color-mix(in srgb, var(--bg, #171310) 74%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bangate__card { width: min(540px, 100%); background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 34px 30px; text-align: center; box-shadow: var(--shadow-lg, 0 24px 70px rgb(0 0 0 / .35)); }
.bangate__ic { font-size: 38px; line-height: 1; margin-bottom: 12px; }
.bangate__card h1 { margin: 0 0 10px; font-size: 22px; color: var(--text); }
.bangate__msg { margin: 0 0 20px; color: var(--text-dim); font-size: 14px; line-height: 1.65; text-align: left; }
.bangate__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- DOSYA SONU: kaynak sirasi kazansin diye mobil dokunma-hedefi blogu en sonda --- */
/* Mobil dokunma hedefleri (2026-09-13 sweep: 360-430px'te <24px olculen dugmeler)
   + Posts sekme seridinde "devami var" ipucu (sagda solma). */
@media (max-width: 700px) {
  .setx .settings__row .btn.btn--ghost { min-height: 36px; padding: 6px 0 6px 12px; }   /* Send reset link / Log out */
  .cnxt__col .cnxt__coladd { width: 30px; height: 30px; font-size: 18px; }                       /* Connections sutun "+" */
  button[data-an3rm] { min-width: 26px; min-height: 26px; }                                  /* Analytics metrik cipi "x" */
  .ptabs { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
}

/* Trial reel satiri: anahtar + saat tek blok (.pubrev__side). Icerik sutunu 200px'in altina dusecekse blok butun olarak
   ikinci satira iner ve saga yaslanir; genis satirda tek satir kalir (masaustu gorunumu degismez). Kirilma noktasi yok:
   375px'te icerik 3px'e, 1024px'te (panel acik) 91px'e dusuyordu. */
.pubrev__row--trial { flex-wrap: wrap; row-gap: 8px; }
.pubrev__row--trial .pubrev__mid { flex: 1 1 200px; }
.pubrev__side { flex: none; max-width: 100%; display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; row-gap: 6px; justify-content: flex-end; }
/* ---- (2026-09-17 Emre) Publish satiri: DISLI + "Post options" pop-up'i (.popt). Facebook Reel anahtari ve Pinterest pano
   secicisi satirdan buraya tasindi; satirda yalniz Trial reel + disli + saat kalir. Pop-up, Posts sayfasindaki duzenleme
   pop-up'inin dilini kullanir (socmodal + ptabs). Telefon (<=560px): alttan acilan sayfa, 16px input (iOS zoom'u yok). ---- */
/* (2026-09-19 Emre) Disli KUTUSUZ: seffaf, yalniz ikon; SAATIN SAGINDA (.pubrev__wg = saat + disli tek parca). Varsayilan soluk,
   ustune gelince tam metin rengi (koyu temada beyaz, acik temada koyu — degiskenlerden). 28px gorunmez tiklama alani; sagdaki
   -6px ikonun sag kenarini satirin icerik kenarina hizalar. Nokta ikonun disinda kalir (ikon yaricapi ~6.7px), halka gerekmez. */
/* (2026-10-27 Emre) dişli hiyerarşiye göre bir tık büyük (30px kutu / 18px ikon) ve saat yazısıyla tam ortalı (yazı satır yüksekliği 1 → merkez aynı) */
.pubrev__wg { flex: none; display: inline-flex; align-items: center; gap: 5px; }
.pubrev__wg .pubrev__when { line-height: 1; }
.pubrev__gear { flex: none; position: relative; width: 30px; height: 30px; margin-right: -7px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--text-mute); cursor: pointer; transition: color .14s; -webkit-tap-highlight-color: transparent; }
.pubrev__gear svg { width: 18px; height: 18px; display: block; }
.pubrev__gear:hover, .pubrev__gear.is-need { color: var(--text); }
.pubrev__gear:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(54,128,103,.28); }
.pubrev__gear--ph { visibility: hidden; pointer-events: none; }
.pubrev__gear__dot { display: none; position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-light, #368067); }
.pubrev__gear.is-set .pubrev__gear__dot, .pubrev__gear.is-need .pubrev__gear__dot { display: block; }
.pubrev__gear.is-need .pubrev__gear__dot, .popt__needdot { background: #E0A33A; }

/* Masaustu: kart USTTEN sabitlenir, yuksekligi aktif sekmenin icerigine gore degisir → sekme degisince sekmeler yerinden oynamaz
   (ortali kartta yukseklik degisince ust kenar kayiyordu) ve kisa sekmede olu alan kalmaz. */
#postOptModal { place-items: start center; }
.popt__card { width: min(540px, 94vw); margin-top: clamp(16px, 9vh, 96px); max-height: calc(100vh - clamp(16px, 9vh, 96px) - 24px); overflow: hidden; display: flex; flex-direction: column; }
.popt { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px 16px 16px; }
.popt__ctx { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elev); }
.popt__ctxth { flex: none; width: 30px; height: 40px; border-radius: 7px; overflow: hidden; background: #000; display: grid; place-items: center; }
.popt__ctxth img, .popt__ctxth video { width: 100%; height: 100%; object-fit: cover; display: block; }
.popt__ctxth .pubrev__thtxt { font-size: 12px; color: #fff; }
.popt__ctxcap { flex: 1 1 auto; min-width: 0; font: 600 12.5px/1.35 var(--font); color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popt__ctxcap.is-empty { font-style: italic; color: var(--text-dim); }
.popt__ctxwhen { flex: none; font: 800 11.5px var(--font); color: var(--text); white-space: nowrap; }
.popt__tabs { flex: none; margin: 0 -4px; border-bottom: 1px solid var(--border); }
/* Her agin paneli bir kez kurulur; yalniz aktif olan gorunur. Kart ekrana sigmazsa aktif panel KENDI icinde kayar. */
.popt__body { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; margin: -4px -8px 0; }
.popt__pane { display: none; flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 8px; }
.popt__pane.is-active { display: block; }
.popt__pane.is-more { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 30px), transparent); }
.popt__row { display: flex; align-items: center; gap: 16px; margin: 0; padding: 12px 0; }
.popt__row + .popt__row { border-top: 1px solid var(--border); }
.popt__row[hidden] { display: none; }
.popt__row--sw { cursor: pointer; }
.popt__row--stack { flex-direction: column; align-items: stretch; gap: 8px; }
.popt__row--sub { position: relative; margin-left: 4px; padding: 2px 0 12px 14px; border-top: 0 !important; }
.popt__row--sub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 12px; width: 2px; border-radius: 2px; background: var(--border-lt, var(--border)); }
.popt__txt { flex: 1 1 auto; min-width: 0; }
.popt__lbl { font: 700 13.5px/1.3 var(--font); color: var(--text); }
.popt__hint { margin-top: 3px; font: 500 12px/1.45 var(--font); color: var(--text-dim); }
.popt__sw { flex: none; }
.popt__inwrap { position: relative; }
.popt__in { display: block; width: 100%; box-sizing: border-box; min-height: 40px; padding: 9px 12px; font: 500 13.5px var(--font); color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; }
.popt__inwrap .popt__in { padding-right: 64px; }
.popt__inwrap--plain .popt__in { padding-right: 12px; }
.popt__in::placeholder { color: var(--text-dim); opacity: .85; }
.popt__in:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(54,128,103,.18); }
.popt__in.is-bad { border-color: #D9775F; box-shadow: 0 0 0 3px rgba(217,119,95,.16); }
.popt__cnt { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font: 600 11px var(--font); color: var(--text-dim); pointer-events: none; }
.popt__sel { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 36px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.popt__row--req.is-need .popt__sel { border-color: rgba(224,163,58,.75); }
.popt__seg { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); }
.popt__segb { flex: 1 1 0; min-width: 0; min-height: 34px; padding: 6px; border: 0; border-radius: 9px; background: none; color: var(--text-mute); font: 700 12.5px/1.2 var(--font); text-align: center; cursor: pointer; transition: background .14s, color .14s, box-shadow .14s; }
.popt__segb:hover { color: var(--text); }
.popt__segb.is-on { background: rgba(54,128,103,.16); color: var(--text); box-shadow: inset 0 0 0 1px rgba(54,128,103,.5); }
.popt__segb:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(54,128,103,.22); }
.popt__foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 12px; border-top: 1px solid var(--border); }   /* (2026-09-19) wrap: "Apply to all" + "Save as default" + Done 320px'te tasmasin */
.popt__all { background: none; border: 0; padding: 8px 2px; font: 700 12.5px var(--font); color: var(--violet-light, var(--violet)); text-align: left; cursor: pointer; border-radius: 8px; }
.popt__all:hover { text-decoration: underline; }
.popt__done { min-width: 96px; }
/* "Save as default": ikincil eylem → soluk ("Apply to all" yesil kalir). .popt__all'dan SONRA: ayni ozgulluk, sira kazanir */
.popt__all.popt__def { color: var(--text-mute); }
.popt__all.popt__def:hover { color: var(--text); }
.popt__all.popt__def:disabled { opacity: .5; cursor: default; text-decoration: none; }
@media (max-width: 560px) {
  .pubrev__gear { width: 34px; height: 34px; margin-right: -8px; }   /* dokunma alani 34px; ikon yine kutusuz */
  .pubrev__gear svg { width: 18px; height: 18px; }
  .pubrev__gear__dot { top: 4px; right: 4px; }
  /* Telefon: alttan acilan sayfa, ALT kenari sabit; yuksekligi aktif sekmenin icerigine gore (tek ayarli sekmede bos alan kalmaz).
     (2026-09-19: sabit yukseklik denendi — Threads/Facebook sekmesinde sayfanin yarisi bos kaliyordu.) */
  #postOptModal { place-items: end center; }
  .popt__card { width: 100vw; max-width: 100vw; margin-top: 0; max-height: 92vh; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .popt { padding: 2px 14px 12px; }
  .popt__segb { font-size: 12px; padding: 6px 4px; }
  .popt__in { font-size: 16px; }
  /* alt satir sarinca Done tek basina SOLA dusuyordu → telefonda tam genislik, metin dugmeleri ustunde */
  .popt__foot .pedit__gap { display: none; }
  .popt__done { flex: 1 1 100%; }
}

/* (2026-09-29 TEAM MEMBERS) Settings → Team */
.teaminv__in { flex: 1 1 260px; min-width: 0; }
.teaminv__in, .teamlink__in { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 600; }   /* e-posta ve link: kod gibi büyük harf değil */
.teamlink { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.teamlink__in { flex: 1 1 320px; min-width: 0; font-size: 13px; }
.teamlink__hint { flex-basis: 100%; margin: 0; }
.teamrow small { color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.teamacts { display: inline-flex; gap: 8px; }

/* (2026-10-23 iptal hatası) İptal edilmiş post: nötr gri. Kendi bağlantı (native) postu iptalde artık silinmez, 'cancelled' kalır
   (REST/MCP ile aynı davranış). Outstand yolu değişmedi; bu kurallar yalnız 'cancelled' durumundaki satırlara uygulanır. */
.pcard__st.is-cancelled, .pstatus.pcard__st.is-cancelled { background: #4A4A4A; color: #E6E6E6; }
.pstatus.is-cancelled { background: var(--bg-elev); color: var(--text-mute); }
.apweek__post.is-cancelled, .apcal__post.is-cancelled { background: transparent; border: 1px dashed var(--border-lt); color: var(--text-mute); }
.apweek__post.is-cancelled .apcal__cap, .apcal__post.is-cancelled .apcal__who { text-decoration: line-through; }
.apagenda__post.is-cancelled { border-left-color: var(--text-dim); opacity: .8; }
.apagenda__post.is-cancelled .apagenda__st { color: var(--text-mute); border-color: var(--border-lt); background: var(--bg-elev); }

/* ===================== YouTube simgesinin oturduğu yuvalar (2026-11-17, YouTube API Services uyum incelemesi) =====================
   Simgenin kendisi variables.css'teki korumayla çizilir (resmî çizim, en az 20 px, kutusuz, soldurulmaz). Buradaki kurallar yalnız HİZA
   içindir: yuva, diğer ağların kutusuyla aynı genişlikte kalsın ki satırlardaki yazılar alt alta aynı yerden başlasın. */
.cnxt__pfp--letter { display: grid; place-items: center; background: var(--bg-elev); color: var(--text-mute); font: 800 13px/1 var(--font); }
.pchan__allic--plain { display: grid; place-items: center; min-width: 32px; min-height: 32px; border-radius: 0; background: none; }   /* (2026-11-19) "All <ağ>" satırı: bütün ağlar kutusuz */
.pchan__ytic, .prow__ytic, .an-ytic { display: inline-flex; align-items: center; flex: none; }
.an-acct__av.an-acct__av--letter { color: var(--text-mute); }
.pdef__ic--plain { display: grid; place-items: center; min-height: 24px; }
.notifitem__ic--plain { display: grid; place-items: center; min-width: 38px; min-height: 38px; border-radius: 0; overflow: visible; }   /* (2026-11-19) bildirimde ağ logosu: bütün ağlar kutusuz */
.ugc-avbrand--plain { background: var(--bg-elev); color: var(--text-mute); }
/* (2026-11-19, Emre: "o logo büyüyünce pill de büyümüş, berbat duruyor… başlarında yt - ig - x - fb gibisinden kısaltma tagleri kullanmak şart")
   Publish adımındaki hesap çipi: LOGO YOK — ağın kısa etiketi + tire + hesap adı ("YT - Baby Yoda"). Çip yazı boyunda kalır (27 px; logoluyken 39 px'ti).
   YouTube simgesi burada hiç çizilmediği için simgeye özel boş alan / solmama kuralları kalktı. Etiket tablosu: posting-platforms.js TAGS. */
.pubrev__acc { padding: 5px 11px; gap: 5px; font-size: 12.5px; line-height: 1.2; align-items: baseline; }   /* etiket (11 px) ile hesap adı (12,5 px) AYNI satır çizgisinde: ortalanınca küçük etiket yukarıda kalıyordu (büyütülmüş görüntüde görüldü) */
.pubrev__acc__act { align-self: center; }
.pubrev__acc__tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--text-mute); text-decoration: none; cursor: inherit; }
.pubrev__acc__sep { font-style: normal; font-weight: 600; color: var(--text-dim); }
.pubrev__acc:not(:disabled):hover .pubrev__acc__tag, .pubrev__acc:not(:disabled):hover .pubrev__acc__sep { color: inherit; }
/* sekme: simge ile yanındaki yazı arası (resmî boş alan ≥ 7,3 px) */
.pedit__tabic:has(> img.ytmark) { margin-right: 3px; }   /* sekme düğmesinin aralığı 6 px; +3 = 9 px (gönderi sayfasındaki hesap sekmeleri dâhil her sekme) */
/* Posts kartı, ÇOK hesaplı gönderi (ad yazmayan satır): kart dar gelince avatarlar / YouTube simgesi düğmelerin ALTINA giriyordu (27 inç ekranda kartlar
   252 px'e iner). Hesap sırası artık sıkışınca kendi içinde alt satıra iner; düğmeler sağda kalır, hiçbir şey üst üste binmez — YouTube simgesi kısmen
   örtülemez (Branding Guidelines: "must not be altered or partially covered"). Satır aralığı 14 px: üst satırdaki avatar rozeti 4 px aşağı taşar; simgenin üstünde resmî boş alan (8,4 px) kalmalı. */
.pcard__foot:not(:has(.prow__nick)) .pcard__acct { flex: 1 1 auto; flex-wrap: wrap; row-gap: 14px; }
/* çok hesaplı sırada simge, köşe rozeti 4 px sağa taşan bir avatarın yanına gelir → rozetle simge arasında resmî boş alan (≥ 7,3 px) kalsın */
.pcard__acct .prow__avwrap + .prow__ytic { margin-left: 4px; }
/* MİNİ ikon şeritleri (takvim çipi, Dashboard "Up next"): YouTube simgesi 20 px'ten küçük çizilemez ve şerit dar kalınca kırpılamaz →
   bu şeritlerde simge yerine adı yazılır (posting-platforms.js ugcPlatformMini). */
.ytname { font: 700 10.5px/1 var(--font); letter-spacing: 0; color: var(--text-mute); white-space: nowrap; }
.upnext__ics { align-items: center; }
/* Takvim şeridinde YouTube adı: kutu yazı kadar geniş. Şerit dar kalınca SIĞMAYAN öğe yarım kesilmez — alt satıra düşer ve görünmez
   (şerit tek satır yüksekliğinde). Hafta kartında ve telefon gün görünümünde şerit saatin yanına sığmazsa bütün olarak alt satıra iner. */
.apcal__ic:has(.ytname) { width: auto; height: auto; }
.apcal__ics:has(.ytname) { flex-wrap: wrap; row-gap: 10px; max-height: 14px; }
.calwk__top:has(.ytname), .apagenda__top:has(.ytname) { flex-wrap: wrap; row-gap: 4px; }
.calwk__top:has(.ytname) .apcal__ics, .apagenda__top:has(.ytname) .apcal__ics { flex: none; flex-wrap: nowrap; max-height: none; overflow: visible; }
/* yanında zaten "YouTube" yazan satırlarda (karakter sayacı, ağa özel metin başlığı) simge yuvası boş kalır → yer kaplamasın */
.apover__h i:empty, .apmeter__row i:empty { display: none; }
/* Create post → 3. adım, YouTube başka ağlarla birlikte seçiliyken: bu metnin YouTube'da videonun "description"ı olduğunu söyleyen not
   (YouTube API Services Policy III.C.4: çok platformlu araç, alanın YouTube'daki karşılığını açıkça göstermek zorunda) */
.apytnote { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--text-mute); font-size: 12.5px; line-height: 1.45; }
.apytnote[hidden] { display: none; }
.apytnote b { color: var(--text); font-weight: 700; }
.apytnote__ic { flex: none; }

/* =====================================================================================================================
   (2026-11-19) AĞ LOGOLARI DOSYADAN ÇAĞRILAN <img> — kutuların logoya verdiği iki şey
   Logolar satır içi <svg> değil, <img class="netmark" data-net="…"> (js/posting-platforms.js "LOGO DOSYALARI"; koruma ve ton
   değişkenleri: css/variables.css). Eskiden ".kutu svg { display: block }" ve "color: …" ile verilenler <img> için burada yazar:
     · display: block — satır içi öğenin taban çizgisi boşluğu kutuyu kaydırmasın;
     · ton — logo dosyası kendi rengindedir; kutu tek renk istiyorsa --nm-tone (bütün logolar) ya da --nm-ink (yalnız siyah
       markalar: TikTok, X, Threads) verir. currentColor <img>'de işlemez: "color: …" yazmak logoyu boyamaz.
   Yeni bir kutuya logo konursa yalnız bu iki şeye bakılır (boy ÇAĞRIDAN gelir, burada verilmez). Fotoğraf <img>'leri için yazılmış
   genel kurallar (".kutu img { width: … }") logoları tutmasın diye ":where(:not(.netmark, .ytmark))" taşır.
   ===================================================================================================================== */
:is(.apcal__ic, .notifitem__ic, .pdef__ic, .socmodal__ic, .prow__pbadge, .pchan__pbadge, .pedit__tabic, .platbare, .cnx__av--brand, .cnx__pbadge,
    .schedplats, .ugc-avbrand) img.netmark { display: block; }
/* renkli rozet / yedek avatar: beyaz çizim */
:is(.pchan__pbadge, .prow__pbadge, .cnxt__pfp--brand, .cnx__av--brand, .cnx__pbadge, .ugc-avbrand, .schedplats, .an-acct__av, .an-avbadge) { --nm-tone: var(--nmf-white); }
/* mini ikon şeritleri: bütün logolar soluk yazı tonunda (takvim çipi, Dashboard "Up next") */
:is(.apcal__ic, .upnext__ics, .pmrow__ic) { --nm-tone: var(--nmf-mute); }
/* satırın yazı tonunda (Create post: ağa özel metin başlığı, karakter sayacı satırı) */
:is(.apover__h, .apmeter__row) > i { --nm-tone: var(--nmf-text); }
/* kendi renginde duran logolar: yalnız SİYAH markalar soluk tonda (Connections / Create post sütun başlığı, "Connect an account" penceresi) */
:is(.cnxt__colic, .socmodal__ic) { --nm-ink: var(--nmf-mute); }
/* sütun başlığındaki logo yuvası (30 × 22: YouTube simgesi sığsın diye geniş) fareyi tutmaz, logo tutar → logonun yanına gelince seçilen öğe yuva değil
   başlığın kendisi, logonun üstüne gelince <img> (kutusu ağın en küçük boyunda). Başlıklar hiçbir yerde tıklanmaz bir katmanın içinde durmaz. */
.cnxt__colic { pointer-events: none; }
.cnxt__colic > img { pointer-events: auto; }

/* (2026-11-19) TELEFON — takvimin kanal listesi ekranın SOLUNDAN taşıyordu: panel 300 px, düğmenin sağına hizalı, düğme satırın ortasında → satır
   başındaki ağ logoları ve YouTube simgesi yarım görünüyordu (ÖNCE / SONRA karşılaştırmasının telefon koşusunda görüldü; eskiden beri var). Dar
   ekranda panel düğmeye değil başlık satırına bağlanır ve satırın tam enine yayılır. */
@media (max-width: 640px) {
  .calx__head { position: relative; }
  .calx__head .calx__chan { position: static; }
  .calx__head .calx__chan .pchan__panel { left: 0; right: 0; width: auto; }
}
/* tablet genişliği (≈ 700–850 px): düğmeler alt satıra sarınca kanal düğmesi satırın SOLUNA düşer; sağa hizalı panel ekranın solundan taşar →
   takvim, listeyi açarken taşmayı ölçer ve bu sınıfı ekler (js/calendar.js wireFilter): panel düğmenin soluna hizalanır. */
.pchan__panel--left { left: 0; right: auto; }
