/* ═══════════════════════════════════════════════════════════
   OnyxTube — Stil dosyası
   Tasarım: koyu arka plan, neon yeşil vurgu, glitch logo
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #080808;
  --bg-card: #0e0e0e;
  --bg-elev: #141414;
  --nav-btn-bg: #181818;
  --nav-btn-text: #b8b6b1;
  --nav-btn-bg-hover: #2a2a2a;
  --border: #1a1a1a;
  --border-strong: #252525;
  --text: #f0f0f0;
  --text-dim: #888;
  --text-faint: #555;
  --text-mute: #333;
  --green: #c9fd06;
  --green-dim: #8aaf00;
  --green-bg: #1a2a00;
  --red: #e05555;
  --orange: #f0a030;
  --blue: #5b9bd5;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button { font-family: inherit; }

/* ═══════════ GLITCH LOGO ═══════════ */
.glitch {
  font-family: 'Arial Black', 'Impact', sans-serif;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 8px rgba(201, 253, 6, 0.4);
  cursor: pointer;
  user-select: none;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--green);
  animation: glitch1 3s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  opacity: 0.8;
}
.glitch::after {
  color: var(--green);
  animation: glitch2 3s infinite linear;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  opacity: 0.8;
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
  96% { transform: translateX(-2px); }
}
@keyframes glitch2 {
  0%, 88%, 100% { transform: translateX(0); }
  90% { transform: translateX(3px); }
  93% { transform: translateX(-3px); }
  96% { transform: translateX(2px); }
}

/* ═══════════ GÖRSEL LOGO (glitch PNG — metin logonun yerine) ═══════════ */
.logo-img {
  position: relative;
  display: inline-block;
  background: url('/img/onyx-logo.png') center / contain no-repeat;
  cursor: pointer;
  user-select: none;
  filter: drop-shadow(0 0 8px rgba(201, 253, 6, 0.4));
}
.logo-img::before, .logo-img::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  opacity: 0.8;
}
.logo-img::before {
  animation: glitch1 3s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}
.logo-img::after {
  animation: glitch2 3s infinite linear;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}
.logo-img.nav-logo { width: 132px; height: 21px; }
.logo-img.logo-drawer { width: 98px; height: 16px; }
.logo-img.logo-age { width: 274px; height: 45px; }
.logo-img.hero-logo {
  width: 346px; height: 56px;
  max-width: 92%;
  filter: drop-shadow(0 0 8px rgba(201, 253, 6, 0.4)) drop-shadow(0 0 20px rgba(201, 253, 6, 0.3)) drop-shadow(0 0 40px rgba(201, 253, 6, 0.15));
}
@media (max-width: 820px) {
  .logo-img.nav-logo { width: 119px; height: 19px; }
}
@media (max-width: 480px) {
  .logo-img.hero-logo { width: 289px; height: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-img::before, .logo-img::after { animation: none; }
}

/* ═══════════ BUTONLAR ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  border: none; border-radius: 7px;
  cursor: pointer;
  font-size: 13px; font-weight: 600;
  padding: 8px 16px;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover:not(:disabled) {
  background: #d4ff1a;
  box-shadow: 0 0 12px rgba(201, 253, 6, 0.4);
}

.btn-outline {
  background: var(--nav-btn-bg);
  border: none;
  color: var(--nav-btn-text, var(--text-dim));
}
.btn-outline:hover:not(:disabled) {
  background: var(--nav-btn-bg-hover);
  border: none;
  box-shadow: none;
  color: var(--text);
}

.btn-ghost { background: transparent; color: var(--text-faint); }
.btn-ghost:hover { color: var(--text); }

.btn-danger { background: rgba(224, 85, 85, 0.08); color: var(--red); border: none; }
.btn-danger:hover:not(:disabled) { background: rgba(224, 85, 85, 0.16); }

.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-large { padding: 12px 24px; font-size: 14px; }

/* Yükleniyor spinner */
.btn.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ FORM ═══════════ */
input:where(:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"])), select, textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* Profil ayarlari dropdown oklari (appearance:none sonrasi geri ekle) */
#set-country, #set-language, #age-country, #age-lang {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
input:where(:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"])):focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
/* MUAF: arama cubugu kendi yuvarlak cercevesini kullanir,
   icteki input odaklaninca cerceve/isik almaz */
.search-bar input:focus {
  border: none;
  box-shadow: none;
}
/* Arama cubugu sakin durur: hover'da da odakta da renk degismez,
   parlama/halka yoktur. Yesil sadece arama butonunda kalir. */
.search-bar:hover,
.search-bar:focus-within {
  border-color: var(--green);
  /* Ic halka ile kalinlik: kenarligi buyutmek yerine icten 1px daha ekler,
     boylece cerceve kalinlasirken kutu icerigi kaymaz. */
  box-shadow: inset 0 0 0 1.5px var(--green);
}
input::placeholder, textarea::placeholder { color: var(--text-mute); }
textarea { resize: vertical; min-height: 80px; }

label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 5px;
  font-weight: 500;
}
.required-mark { color: var(--green); margin-left: 4px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ═══════════ TOAST ═══════════ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #111;
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 13px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok { border-color: var(--green); color: var(--green); }
.toast.err { border-color: var(--red); color: var(--red); }

/* ═══════════ YAŞ KAPISI ═══════════ */
.age-gate {
  position: fixed; inset: 0;
  background: #000;
  display: flex;
  align-items: center; justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.age-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 44px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.age-card h1 { font-size: 38px; margin-bottom: 20px; }
.age-card h2 { font-size: 22px; margin-bottom: 18px; font-weight: 700; }
.age-selects {
  display: flex; gap: 8px;
  margin-bottom: 20px;
}
.age-selects select {
  background: var(--nav-btn-bg);
  border: none;
  border-radius: 8px;
  color: var(--nav-btn-text, var(--text));
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.age-selects select option {
  background: var(--bg-card);
  color: var(--text);
}


.age-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 22px;
}
.age-desc strong { color: var(--text); }
.age-actions { display: flex; gap: 10px; margin-bottom: 14px; }
.age-actions button { flex: 1; padding: 13px; font-size: 14px; }
.age-consent-note { font-size: 11px; color: var(--text-mute); line-height: 1.5; margin-bottom: 12px; }
.age-consent-note a { color: var(--green); text-decoration: none; }
.age-consent-note a:hover { text-decoration: underline; }
.age-legal { font-size: 10px; color: var(--text-mute); line-height: 1.5; }

/* ═══════════ NAV ═══════════ */
.nav {
  background: var(--bg-card);
  border-bottom: 0.5px solid var(--border);
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center; justify-content: space-between;
  position: sticky;
  top: 0; z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 24px; }
.nav-logo { font-size: 22px; }
.nav-links { display: flex; gap: 2px; position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 980px) { .nav-links { position: static; transform: none; } }
.nav-link {
  background: none; border: none;
  border-radius: 6px;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 13px;
  padding: 7px 12px;
  transition: all 0.15s;
}
.nav-link:hover { background: var(--bg-elev); color: var(--text); }
.nav-link.active { color: var(--green); background: var(--green-bg); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right select {
  width: auto;
  font-size: 12px;
  padding: 6px 8px;
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-dim);
}
.user-chip {
  font-size: 12px;
  color: var(--text-dim);
  padding: 0 8px;
}

/* ═══════════ HERO ═══════════ */
.hero {
  text-align: center;
  padding: 40px 20px 28px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,253,6,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo { font-size: 48px; margin-bottom: 10px; letter-spacing: 4px; text-shadow: 0 0 20px rgba(201,253,6,0.3), 0 0 40px rgba(201,253,6,0.15); }
.hero-sub {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 20px;
}
.search-bar {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: var(--bg-elev);
  border: 0.5px solid var(--border-strong);
  border-radius: 999px;
  overflow: visible;
  padding: 4px 5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-bar input {
  background: transparent;
  border: none;
  border-radius: 0;
  flex: 1;
  padding: 7px 8px 7px 16px;
  font-size: 15px;
  color: inherit;
}
.search-bar button {
  background: var(--green);
  border: none;
  color: #000;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  font-weight: 700;
}
.search-bar button .icon,
.search-bar button svg,
.search-bar button svg circle,
.search-bar button svg path {
  color: #000 !important;
  stroke: #000 !important;
}

/* ═══════════ KATEGORİ BARI ═══════════ */
.categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 20px;
  border-bottom: 0.5px solid var(--border);
  scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.category-pill {
  background: var(--nav-btn-bg);
  border: none;
  border-radius: 99px;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 12px;
  padding: 10px 22px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}
.category-pill:hover { background: var(--nav-btn-bg-hover); color: var(--text); }
.category-pill.active {
  background: var(--green);
  border: none;
  box-shadow: none;
  color: #000;
}

/* ═══════════ SECTION ═══════════ */
.section { padding: 24px 20px; max-width: 1480px; margin: 0 auto; }
.section-head {
  display: flex;
  align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.section-icon { font-size: 18px; color: var(--green); }
.dr-opt-all { display: flex; align-items: center; color: var(--green); font-weight: 600; border-top: 0.5px solid var(--border); margin-top: 4px; }

/* ═══════════ VİDEO YÜKLEME İZNİ EKRANI (ortalanmış, estetik) ═══════════ */
#upload-permission-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#upload-permission-gate .upg-modal {
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  animation: upgPop 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
#upload-permission-gate .upg-modal { position: relative; }
.upg-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: none; border-radius: 50%;
  color: var(--text-secondary);
  font-size: 15px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.upg-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
@keyframes upgPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.upg-rules {
  background: rgba(201, 253, 6, 0.04);
  border: 0.5px solid rgba(201, 253, 6, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.upg-rules strong { color: var(--green); font-size: 13px; letter-spacing: 0.2px; }
.upg-rules ul { margin: 10px 0 0; padding-left: 4px; list-style: none; }
.upg-rules li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--text-secondary);
}
.upg-rules li::before {
  content: '✕';
  position: absolute; left: 0; top: 5px;
  color: #ff5555;
  font-weight: 700;
  font-size: 12px;
}
.upg-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; margin-bottom: 16px; cursor: pointer;
  color: var(--text-secondary); line-height: 1.5;
}
.upg-check input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 640px) {
  #upload-permission-gate { justify-content: center; padding-right: 0; }
  #upload-permission-gate .upg-modal { max-width: 92%; }
}
.badge-hot {
  background: var(--green);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.link {
  background: none; border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 12px;
  transition: color 0.15s;
}
.link:hover { color: var(--green); }
.muted { color: var(--text-faint); }
.muted.small { font-size: 11px; }

/* ═══════════ VIDEO GRID ═══════════ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 860px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 580px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.video-card {
  background: #0a0a0a;
  border: 0.5px solid #141414;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.video-card:hover {
  border-color: #1e1e1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a1a, #080808);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-thumb > video,
.video-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-placeholder { font-size: 36px; color: var(--text-mute); }
/* Sağ üst rozet (Creator+ / PPV) — referans .vlock */
.video-badge {
  position: absolute;
  top: 5px; right: 5px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}
.video-badge .icon { width: 10px; height: 10px; }
.video-badge.plus { background: var(--green); color: #000; }
.video-badge.ppv { background: rgba(0,0,0,0.85); color: #888; border: 0.5px solid #1e1e1e; }
.video-badge.new { background: var(--blue); color: #fff; }
/* Sol üst durum rozeti (HOT / NEW) — referans .vnew/.vhot */
.video-status {
  position: absolute;
  top: 5px; left: 5px;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 3px;
  letter-spacing: 0.4px; color: #fff;
}
.video-status.hot { background: var(--red); }
.video-status.new { background: var(--red); color: #fff; }
/* Thumbnail ortası avatar (kapak resmi yokken) */
.thumb-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green);
  background: rgba(201,253,6,0.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; letter-spacing: 1px;
}
/* Hover: karartma + ortada yeşil daire (referans .vplay/.vplay-c) */
.thumb-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  background: rgba(0,0,0,0.4);
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.video-card:hover .thumb-play { opacity: 1; }
.thumb-play-c {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(201,253,6,0.5);
}
.video-lock {
  position: absolute;
  top: 5px; right: 5px;
  background: rgba(0,0,0,0.85);
  border: 0.5px solid #1e1e1e;
  color: #888;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
}
.video-duration {
  position: absolute;
  bottom: 5px; right: 5px;
  background: rgba(0,0,0,0.9);
  color: #ccc;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 500;
}
.video-info { padding: 8px 10px 10px; }
.video-title {
  font-size: 12px;
  font-weight: 500;
  color: #ccc;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-hashtag {
  display: inline-block;
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 4px;
}
/* Video başlığı altı konu etiketleri */
.video-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 6px;
}
.video-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  line-height: 1.5;
  color: var(--green);
  background: rgba(201,253,6,0.10);
  padding: 2px 9px;
  border-radius: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.video-tag:hover { background: rgba(201,253,6,0.24); color: #eaffb0; }
.video-meta {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 6px;
}
.vc-left {
  display: flex; align-items: center; gap: 5px;
  min-width: 0; cursor: pointer;
}
.vc-avatar {
  width: 17px; height: 17px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
}
.vc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.video-creator {
  color: #444; font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-left:hover .video-creator { color: var(--green); }
.video-date { color: var(--text-mute); font-size: 10px; }
.video-views {
  color: #333;
  font-size: 10px;
  display: inline-flex; align-items: center; gap: 3px;
  flex-shrink: 0;
}

/* ═══════════ EMPTY STATE ═══════════ */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
}
.empty-icon { font-size: 40px; color: var(--text-mute); margin-bottom: 12px; }
.empty-text { font-size: 14px; color: var(--text-faint); margin-bottom: 6px; }
.empty-sub { font-size: 12px; color: var(--text-mute); }
.empty-sub a, .empty-sub span { color: var(--green); cursor: pointer; }

/* ═══════════ SKELETON ═══════════ */
.skeleton {
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════ CREATOR CTA BLOĞU ═══════════ */
.creator-cta {
  margin: 0 20px 24px;
  background: linear-gradient(135deg, rgba(201,253,6,0.05) 0%, transparent 100%);
  border: 0.5px solid var(--green-bg);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-content { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.cta-icon { font-size: 36px; flex-shrink: 0; }
.creator-cta h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.creator-cta p { font-size: 12px; color: var(--text-faint); }
.cta-stats { display: flex; gap: 14px; flex-shrink: 0; }
.cta-stat {
  background: rgba(0,0,0,0.3);
  border: 0.5px solid var(--green-bg);
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
  min-width: 90px;
}
.cta-stat-label { font-size: 9px; color: var(--text-dim); margin-bottom: 2px; }
.cta-stat-value { font-size: 16px; font-weight: 700; color: var(--green); }
.cta-stat-sub { font-size: 9px; color: var(--text-mute); margin-top: 2px; }

/* ═══════════ KATEGORİ KARTLARI (ANA SAYFA — YATAY ŞERİT) ═══════════ */
.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip {
  padding-top: 4px;
}
.category-strip .category-card {
  flex-shrink: 0;
  min-width: 180px;
  width: 180px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.category-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.category-card:hover {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  transform: translateY(-2px);
}
.category-hashtag {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.category-count {
  font-size: 11px;
  color: var(--text-mute);
}

/* ═══════════ VIDEO İZLEME SAYFASI ═══════════ */
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 18px;
  max-width: 1754px;  /* YouTube: 1280 (ana) + 402 (sidebar) + gap + padding */
  margin: 0 auto;
  padding: 18px;
}
.watch-main { min-width: 0; }
/* YouTube'da ~1100px altında sidebar alta iner */
@media (max-width: 1016px) {
  .watch-layout { grid-template-columns: 1fr; max-width: 854px; }
}

.video-player-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: calc(100vh - 169px);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.video-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.video-locked-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 30px;
}
.locked-icon { font-size: 48px; margin-bottom: 12px; }
.locked-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.locked-sub { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.locked-price {
  font-size: 28px; font-weight: 700;
  color: var(--green); margin-bottom: 16px;
}

.watch-info {
  padding: 12px 0 16px;
  border-bottom: 0.5px solid var(--border);
}
.watch-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
/* YouTube tarzı kanal barı: sol kanal | sağ aksiyonlar, tek satır */
.watch-channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.watch-creator-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.watch-creator-meta { display: flex; flex-direction: column; }
.watch-follow-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 99px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.watch-follow-btn:hover { opacity: 0.85; }
.watch-follow-btn.following {
  background: var(--bg-elev);
  color: var(--text);
}
.watch-creator-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}
.watch-creator-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.watch-creator-avatar.plus {
  background: var(--green-bg);
  color: var(--green);
  border: 2px solid var(--green);
}
.watch-creator-name {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.watch-creator-name:hover { color: var(--text-faint); }
.watch-creator-sub {
  font-size: 12px;
  color: var(--text-faint);
}
.watch-actions {
  display: flex;
  /* Ikonlar birbirine yakin; grup daraldikca SAGA yapisik kalir (margin-left: auto) */
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.action-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: none;
  border-radius: 99px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.action-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.07));
  border: none;
  box-shadow: none;
  color: #fff;
}
.action-btn.active {
  background: rgba(0,255,0,0.20);
  border: none;
  color: var(--green);
}
.action-icon { font-size: 16px; }
.action-count {
  font-size: 12px;
  font-weight: 600;
  padding-left: 4px;
  border-left: 0.5px solid var(--border);
  margin-left: 2px;
}
.watch-description {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.watch-description.empty { display: none; }
.watch-desc-stats {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.watch-desc-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}
.watch-tags {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  /* Iki satira dustugunde satir arasi normal olur */
  row-gap: 2px;
  /* Aciklama metni ile etiketler arasi bosluk.
     Az/cok gelirse sadece bu deger degisir (1em ~ bir satir yuksekligi). */
  margin-top: 0.5em;
}
.watch-tag {
  color: #3ea6ff;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.watch-tag:hover { text-decoration: underline; }
.watch-hashtag {
  display: inline-block;
  color: #3ea6ff;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* Yorumlar */
.watch-comments { padding: 24px 0; }
.watch-comments h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-count {
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
}
.comment-form-wrapper { width: 100%; }
.comment-form {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
  width: 100%;
}
.comment-form .comment-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
}
.comment-form-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  resize: none;            /* YouTube: kullanıcı boyutlandıramaz */
  overflow: hidden;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}
.comment-form textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--text);
}
.comment-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.comment-login-prompt {
  background: var(--bg-card);
  border: 0.5px dashed var(--border-strong);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-faint);
}
.comment-login-prompt a {
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding: 0 0 16px 0;
  border-bottom: none;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.comment-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.comment-author:hover { color: var(--text-faint); }
.comment-time {
  font-size: 12px;
  color: var(--text-mute);
}
.comment-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.comment-actions {
  margin-top: 6px;
  display: flex;
  gap: 12px;
}
.comment-action {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mute);
  font-size: 11px;
  padding: 0;
  transition: color 0.15s;
}
.comment-action:hover { color: var(--red); }

/* Önerilenler sidebar (YouTube boyutları) */
.watch-sidebar h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.related-videos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card {
  display: flex;
  gap: 8px;
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
  transition: background 0.15s;
}
.related-card:hover .related-thumb { border-radius: 8px; }
/* ILGILI-VIDEO KAPAGI - TEK KAYNAK. Olcu degistirmek icin sadece bu uc satir.
   Onceki uc katman (168/180/231 !important) birlestirildi. */
.related-thumb {
  width: 252px;
  height: 140px;
  flex: 0 0 252px;
  background: var(--bg-elev);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.related-thumb video,
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-info {
  flex: 1;
  min-width: 0;
  padding-top: 0;
}
.related-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.1px;
}
.related-creator {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.3;
}
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.category-list-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 7px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-list-card:hover {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: rgba(201, 253, 6, 0.03);
}
.category-list-card .cat-tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.category-list-card .cat-num {
  font-size: 10px;
  color: var(--text-mute);
}

/* ═══════════ CREATOR ŞERIDI ═══════════ */
.creator-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.creator-strip::-webkit-scrollbar { display: none; }
.creator-card-mini {
  flex-shrink: 0;
  width: 160px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.creator-card-mini:hover { border-color: var(--border-strong); }
.creator-card-mini.plus { border-color: var(--green-bg); }
.creator-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.creator-avatar.plus { background: var(--green-bg); color: var(--green); }
.creator-avatar.normal { background: var(--bg-elev); color: var(--text-dim); }
.creator-username {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.creator-meta {
  font-size: 10px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.creator-plus-tag {
  font-size: 9px;
  color: var(--green);
  font-weight: 700;
}
.creator-price {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}

/* Creator sayfası kartları */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 700px;
}
.filter-bar input { flex: 1; }
.filter-bar select {
  width: auto; min-width: 120px;
  -webkit-appearance: none; appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-weight: 600;
  transition: border-color 0.15s, border-width 0.15s;
}
.filter-bar select:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.creator-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.creator-card-full {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.creator-card-full:hover { border-color: var(--border-strong); }
.creator-card-full.plus { border-color: var(--green-bg); }
.creator-card-full .creator-avatar { margin: 0; flex-shrink: 0; }

/* CREATORS-BOSLUK: aciklama yazisi ile filtre cubugu arasi nefes payi */
#page-creators .filter-bar { margin-top: 16px; }

/* CREATORS-DIKEY: dar ekranda kartlar dikey kutu, 2 sutun */
@media (max-width: 700px) {
  .creator-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .creator-card-full { flex-direction: column; align-items: center; text-align: center; padding: 14px; }
  .creator-card-full .creator-avatar { margin: 0 auto 8px; }
  .creator-card-info { width: 100%; }
}
.creator-card-info { flex: 1; min-width: 0; }
.creator-card-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.plus-tag {
  display: inline-block;
  font-size: 9px;
  background: var(--green-bg);
  color: var(--green);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 4px;
}
.creator-card-stats {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

/* ═══════════ CONTAINER ═══════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
.container.narrow { max-width: 640px; }
.container h1 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }

/* ═══════════ CARD ═══════════ */
.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.card-head {
  display: flex;
  align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }

/* ═══════════ EARN TABLE ═══════════ */
.earn-table { width: 100%; border-collapse: collapse; }
.earn-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--border);
}
.earn-table td {
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--border);
  font-size: 13px;
}
.earn-table tr:last-child td { border-bottom: none; }
.earn-table td:nth-child(2) { color: var(--green); font-weight: 600; }

/* ═══════════ UPLOAD ═══════════ */
.upload-dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 16px;
}
.upload-dropzone:hover {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: rgba(201, 253, 6, 0.03);
}
.upload-dropzone.has-file { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); border-style: solid; }
.dropzone-icon { font-size: 36px; margin-bottom: 10px; }
.dropzone-text { font-size: 14px; color: var(--text-dim); }
.dropzone-text strong { color: var(--green); }
.dropzone-hint { font-size: 11px; color: var(--text-mute); margin-top: 6px; }
.upload-progress {
  margin-top: 14px;
  background: var(--bg-elev);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}
.upload-progress-fill {
  height: 100%;
  background: var(--green);
  width: 0;
  transition: width 0.2s;
  border-radius: 99px;
}

/* ═══════════ DASHBOARD STATS ═══════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 680px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.stat-label {
  font-size: 10px;
  color: var(--text-mute);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-value { font-size: 22px; font-weight: 700; }

/* My video list item */
.my-video-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--border);
}
.my-video-row:last-child { border-bottom: none; }
.my-video-icon {
  width: 50px; height: 32px;
  background: var(--bg-elev);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.my-video-info { flex: 1; min-width: 0; }
.my-video-title {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.my-video-meta {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* Status pills */
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-orange { background: #2a1f08; color: var(--orange); }
.pill-red { background: #2a0808; color: var(--red); }
.pill-gray { background: var(--bg-elev); color: var(--text-dim); }
.pill-blue { background: #08182a; color: var(--blue); }

/* ═══════════ ADMIN ═══════════ */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #060606;
  border-right: 0.5px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.admin-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.admin-brand span { color: var(--green); }
.admin-section-title {
  font-size: 9px;
  color: var(--text-mute);
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 10px 12px 4px;
  text-transform: uppercase;
}
.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  background: none;
  color: var(--text-faint);
  transition: all 0.15s;
  position: relative;
}
.admin-nav:hover { background: var(--bg-card); color: var(--text); }
.admin-nav.active { background: var(--green-bg); color: var(--green); }
.admin-logout { color: var(--red) !important; }
.badge-count {
  margin-left: auto;
  background: #2a0808;
  color: var(--red);
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 700;
}
.badge-count.empty { display: none; }
.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  max-height: calc(100vh - 56px);
}
.admin-page-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.panel {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.panel-head {
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-title { font-size: 14px; font-weight: 600; }
.panel-actions { display: flex; gap: 8px; align-items: center; }
.panel-actions input { width: 240px; font-size: 12px; padding: 7px 12px; }
.panel-actions select { width: auto; font-size: 12px; padding: 7px 12px; }

/* Admin table */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-mute);
  border-bottom: 0.5px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
td {
  padding: 11px 14px;
  border-bottom: 0.5px solid var(--bg-card);
  color: var(--text-dim);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-card); }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 880px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }

/* Queue item */
.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--border);
}
.queue-item:last-child { border-bottom: none; }
.queue-icon {
  width: 48px; height: 32px;
  background: var(--bg-elev);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.queue-info { flex: 1; min-width: 0; }
.queue-title {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-meta {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}
.queue-actions { display: flex; gap: 6px; flex-shrink: 0; }
.queue-btn {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 0.5px solid var(--border-strong);
  background: none;
  cursor: pointer;
  color: var(--text-dim);
}
.queue-btn:hover { color: var(--text); }
.queue-btn.approve { color: var(--green); border-color: var(--green-bg); }
.queue-btn.approve:hover { background: var(--green-bg); }
.queue-btn.reject { color: var(--red); border-color: #2a1010; }
.queue-btn.reject:hover { background: rgba(224,85,85,0.1); }

.category-list-item {
  display: flex;
  align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--border);
}
.category-list-item:last-child { border-bottom: none; }
.cat-name {
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}
.cat-count { font-size: 11px; color: var(--text-mute); margin-top: 2px; }

.add-cat-form {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border);
}
.add-cat-form input { flex: 1; }

/* ═══════════ MODAL ═══════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 500;
  padding: 20px;
}
.modal {
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.modal-sub {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.modal-tabs {
  display: flex;
  background: #060606;
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 20px;
}
.modal-tab {
  flex: 1;
  background: none; border: none;
  color: var(--text-faint);
  cursor: pointer;
  border-radius: 5px;
  padding: 8px;
  font-size: 13px;
}
.modal-tab.active {
  background: var(--green-bg);
  color: var(--green);
  font-weight: 600;
}
.modal-note {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-faint);
}

/* ═══════════ FOOTER ═══════════ */
.main-footer {
  background: #060606;
  border-top: 0.5px solid var(--border);
  padding-top: 20px;
}

/* Sağlık uyarısı (en altta, ikon yok) */
.footer-health {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 0.5px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  text-align: center;
}
.footer-health-title {
  color: var(--orange);
  font-weight: 700;
  margin-right: 8px;
}
.footer-health-text { color: var(--text-faint); }
.footer-health a { color: var(--green); margin-left: 6px; white-space: nowrap; }

/* Ana footer içerik */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-main { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--green); }

.footer-brand { font-size: 18px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.footer-brand span { color: var(--green); }
.footer-tagline { font-size: 12px; color: var(--text-faint); line-height: 1.6; margin-bottom: 14px; max-width: 280px; }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-faint);
}
.age-18 {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Ödeme yöntemleri */
.footer-payment-note { font-size: 11px; color: var(--text-faint); margin-bottom: 12px; }
.footer-crypto-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-crypto-logos img {
  height: 22px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(20%);
  transition: opacity 0.15s;
}
.footer-crypto-logos img:hover { opacity: 1; filter: grayscale(0%); }
.footer-payment-sub { font-size: 10px; color: var(--text-mute); letter-spacing: 0.5px; }

/* Alt bar */
.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding: 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
/* Web'de kripto logolar sagda kalsin (eski hal) */
.footer-bottom .footer-crypto-center { margin-bottom: 0; }
.footer-copy { font-size: 11px; color: var(--text-faint); }
.footer-disclaimer { font-size: 10px; color: var(--text-mute); max-width: 600px; text-align: right; line-height: 1.5; }
@media (max-width: 700px) {
  .footer-disclaimer { text-align: left; }
}

/* Footer modal (yasal sayfalar) */
.modal-large {
  max-width: 640px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.modal-close:hover { background: var(--bg-elev); color: var(--text); }
#footer-modal-content h2 { font-size: 20px; margin-bottom: 6px; }
#footer-modal-content h3 { font-size: 15px; margin: 20px 0 8px; color: var(--green); }
#footer-modal-content p { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px; }
#footer-modal-content ul { margin: 0 0 12px 20px; }
#footer-modal-content li { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 6px; }
#footer-modal-content .modal-sub { font-size: 12px; color: var(--text-faint); margin-bottom: 20px; }
#footer-modal-content .help-box {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

/* Page transitions */
.page { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RTL support */
body[dir="rtl"] .nav-left { flex-direction: row-reverse; }
body[dir="rtl"] .modal-tabs { direction: rtl; }

/* ═══════════ STAGE 2 — Profil, Ayarlar, Bildirimler ═══════════ */

/* User Menu (nav dropdown) */
.user-menu { position: relative; }
.user-chip-clickable {
  cursor: pointer;
  background: none;
  border: 0.5px solid var(--border);
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 12px;
}
.user-chip-clickable:hover { border-color: var(--border-strong); color: var(--text); }
.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 200;
  overflow: hidden;
}
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 10px 14px;
  font-size: 12px;
  transition: all 0.15s;
}
.user-dropdown button:hover { background: var(--bg-elev); color: var(--text); }

/* Navbar Giris butonu: diger nav ogeleriyle ayni dolgu dili.
   Sadece navbardaki .nav-auth-btn'i hedefler, site genelindeki .btn-outline'a dokunmaz.
   Uye Ol (.btn-primary) bilerek sari kalir — tek birincil eylem. */
.btn-outline.nav-auth-btn {
  background: var(--nav-btn-bg);
  border: none;
  color: var(--nav-btn-text);
}

/* Bildirim çanı */
.notif-bell {
  position: relative;
  background: var(--nav-btn-bg);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.notif-bell:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
.notif-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 99px;
  min-width: 16px;
  text-align: center;
  border: 1.5px solid var(--bg-card);
}

/* Bildirim paneli */
.notif-panel {
  position: fixed;
  top: 64px;
  right: 20px;
  width: 360px;
  max-height: 480px;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  z-index: 300;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.notif-head {
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-head h3 { font-size: 14px; font-weight: 700; }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.notif-item:hover { background: var(--bg-elev); }
.notif-item.unread { background: rgba(201, 253, 6, 0.03); }
.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 4px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.notif-icon {
  width: 36px; height: 36px;
  background: var(--bg-elev);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 12px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.notif-msg {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.notif-time { font-size: 10px; color: var(--text-mute); margin-top: 3px; }
.notif-delete {
  background: none; border: none;
  color: var(--text-mute);
  cursor: pointer;
  font-size: 18px;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0;
  transition: all 0.15s;
}
.notif-item:hover .notif-delete { opacity: 1; }
.notif-delete:hover { background: var(--bg-elev); color: var(--red); }

/* Profil sayfası */
.profile-header {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 24px;
  border-bottom: 0.5px solid var(--border);
}
/* Kapak — ayrı banner, yuvarlatılmış köşe */
.profile-cover {
  height: 210px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,253,6,0.10) 0%, rgba(20,20,20,0.4) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.profile-cover.has-cover {
  background-color: var(--bg-elev);
}
/* Bilgi satırı — kapağın ALTINDA, iç içe değil */
.profile-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 18px;
}
.profile-avatar-big {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 4px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dim);
  flex-shrink: 0;
  overflow: hidden;
  margin-top: -75px; /* kapağa hafif binsin ama taşmasın */
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.profile-avatar-big.plus { border-color: var(--green); }
.profile-avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.profile-meta {
  flex: 1;
  padding-top: 6px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-ident { min-width: 0; }
.profile-name { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.profile-name .plus-tag { font-size: 14px; }
.profile-tagline { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.profile-stats { display: flex; gap: 28px; margin-left: 24px; margin-right: 0; }
.profile-stat { display: flex; flex-direction: column; gap: 2px; }
.profile-stat-num { font-size: 18px; font-weight: 800; color: var(--text); }
.profile-stat-label { font-size: 10px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.5px; }
.profile-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 6px;
  flex-wrap: wrap;
}
.profile-bio {
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  white-space: pre-wrap;
  max-width: 700px;
}
.profile-bio.hidden { display: none; }

@media (max-width: 720px) {
  .profile-cover { height: 140px; border-radius: 12px; }
  .profile-info { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  /* Mobilde eski dikey duzen korunur: ad, tagline, istatistikler alt alta */
  .profile-meta { flex-direction: column; align-items: center; gap: 10px; }
  .profile-stats { margin: 0; }
  .profile-avatar-big { width: 100px; height: 100px; font-size: 32px; margin-top: -60px; }
  .profile-stats { justify-content: center; }
  .profile-actions { width: 100%; justify-content: center; }
  .profile-bio { text-align: center; margin-left: auto; margin-right: auto; }
}

/* Ayarlar sayfası — avatar */
.avatar-edit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}
.profile-avatar-medium {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.profile-avatar-medium img { width: 100%; height: 100%; object-fit: cover; }
.avatar-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.avatar-controls > button { align-self: flex-start; }

/* ═══════════ VIDEO WATERMARK (Filigran) ═══════════ */
.video-player-wrapper {
  position: relative; /* watermark için referans */
}
.video-watermark {
  position: absolute;
  bottom: 60px;      /* video kontrol barının üstünde dursun */
  right: 16px;
  color: rgba(255, 255, 255, 0.45);  /* şeffaf beyaz */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);  /* okunabilirlik için gölge */
  pointer-events: none;  /* tıklamayı engellemez, videoya geçer */
  user-select: none;
  z-index: 5;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Fotoğraflarda kontrol barı yok, biraz aşağı al */
.video-player-wrapper img + .video-watermark {
  bottom: 16px;
}

/* Thumbnail watermark (küçük kartlar) */
.thumb-watermark {
  position: absolute;
  bottom: 6px;
  left: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

/* Telegram ikonu (nav) */
.nav-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: transform 0.15s, opacity 0.15s;
  opacity: 0.9;
}
.nav-telegram:hover { transform: scale(1.1); opacity: 1; }
.nav-telegram img {
  width: 26px;
  height: 26px;
  display: block;
}

/* ═══════════ NAV AVATAR + ZENGİN DROPDOWN ═══════════ */
.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* Tum nav ikonlari ayni kalinlikta — tek ayar noktasi */
  border: none;
  background: var(--nav-btn-bg);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.nav-avatar:hover { border-color: var(--green); transform: scale(1.05); }
.nav-avatar.plus { border-color: var(--green); }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-avatar span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
}

/* Hover ile de açılsın */
.user-menu:hover .user-dropdown { display: block; }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  min-width: 240px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  z-index: 200;
  overflow: hidden;
  padding: 6px;
}

/* Dropdown üst kısım (avatar + isim) */
.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 10px;
}
.user-dropdown-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elev);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-dropdown-avatar.plus { border-color: var(--green); }
.user-dropdown-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-dropdown-avatar span { font-size: 16px; font-weight: 700; color: var(--text-dim); }
.user-dropdown-info { min-width: 0; flex: 1; }
.user-dropdown-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-dropdown-name .plus-tag { color: var(--green); font-size: 12px; }
.user-dropdown-username { font-size: 12px; color: var(--text-faint); }

.user-dropdown-divider {
  height: 0.5px;
  background: var(--border);
  margin: 6px 0;
}

.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.12s;
}
.user-dropdown button:hover { background: var(--bg-elev); color: var(--text); }
.user-dropdown-logout { color: var(--red) !important; }
.user-dropdown-logout:hover { background: rgba(255,80,80,0.08) !important; }

/* ═══════════ KAPAK RESMİ (Settings) ═══════════ */
.cover-edit {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}
.cover-preview {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  background: var(--bg-elev);
  background-size: cover;
  background-position: center;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}
.cover-placeholder { font-size: 13px; color: var(--text-mute); }
.cover-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cover-controls .muted { width: 100%; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════ */
/* REELS — Dikey Video Akışı (Responsive)                       */
/* ═══════════════════════════════════════════════════════════ */

#page-reels {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.reels-container {
  height: calc(100vh - 64px); /* nav yüksekliği çıkar */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  background: #000;
}
.reels-container::-webkit-scrollbar { display: none; }

.reels-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-faint);
  font-size: 14px;
}

/* Her bir reel — tam ekran yükseklik, snap */
.reel-item {
  height: calc(100vh - 64px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.reel-video-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* REELS-BULANIK-ARKA: bos kenarlar siyah kalmasin, kapaktan bulanik dolgu */
.reel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55);
  transform: scale(1.15);
  pointer-events: none;
  z-index: 0;
}
.reel-video {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  cursor: pointer;
}

.reel-watermark {
  position: absolute;
  top: 14px;
  left: 14px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
  z-index: 3;
}

/* Kayan filigran (sagdan sola, video ustunde) */
.reel-sliding-watermark {
  position: absolute;
  top: 6%;
  right: -60%;
  color: rgba(255,255,255,0.4);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 0 20px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,1);
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
  opacity: 0;
}
.reel-sliding-watermark.animate {
  animation: reelSlideWm 18s linear forwards;
}
@keyframes reelSlideWm {
  0%   { right: -60%; opacity: 0.4; }
  100% { right: 160%; opacity: 0.4; }
}

.reel-controls { display: none; }
@media (min-width: 768px) {
  .reel-controls {
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 5;
  }
}
.reel-seek::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -12px; bottom: -12px;
}
.reel-seek {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  height: 5px;
  background: rgba(255,255,255,0.28);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  margin-bottom: 10px;
}
.reel-seek-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 3px;
  pointer-events: none;
}
.reel-seek-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px; height: 15px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
}
.reel-ctrl-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
}
.reel-ctrl-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.reel-ctrl-btn:hover { opacity: 0.75; }
.reel-time {
  color: #ddd;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 10px;
  margin-right: 4px;
}
.reel-ctrl-spacer { flex: 1; }
/* Izleme sayfasi kontrolleri mobilde de gorunsun */
#watch-ctrl { display: block; }

.reel-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: rgba(255,255,255,0.85);
  pointer-events: none;
  z-index: 4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.reel-play-icon.hidden { display: none; }

/* Etkileşim butonları */
.reel-actions {
  position: absolute;
  right: 12px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 5;
}
.reel-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.reel-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.15s, background 0.15s;
}
.reel-action-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.reel-action-btn:active { transform: scale(0.92); }
.reel-action-btn.liked { background: var(--green); }
.reel-action-count {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Alt creator bilgisi */
.reel-info {
  position: absolute;
  left: 16px;
  bottom: 24px;
  right: 80px;
  z-index: 5;
}
.reel-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.reel-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elev);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.reel-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reel-avatar span { font-size: 14px; font-weight: 700; color: var(--text-dim); }
.reel-avatar.plus { border-color: var(--green); }
.reel-username {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  cursor: pointer;
}
.reel-plus { color: var(--green); font-size: 14px; }
.reel-follow {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
}
.reel-follow:hover { background: #fff; color: #000; }
.reel-follow.following { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.7); }
.reel-title {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 4px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reel-category {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Boş durum */
.reels-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 64px);
  text-align: center;
  color: var(--text-faint);
}
.reels-empty.hidden { display: none; }
.reels-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.reels-empty h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.reels-empty p { font-size: 13px; max-width: 300px; }

/* ─────────────────────────────────────────── */
/* PC (geniş ekran): YouTube Shorts tarzı       */
/* Video ortada dikey kutu, butonlar SAĞ DIŞINDA */
/* ─────────────────────────────────────────── */
@media (min-width: 768px) {
  /* ── WEB REELS: TAM EKRAN GENIS (YouTube tarzi) ── */
  .reels-container {
    background: #000;
  }
  .reel-item {
    gap: 0;
  }
  /* Video alani tum genisligi ve yuksekligi doldurur */
  .reel-video-wrap {
    height: calc(100vh - 64px);
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border-bottom: 2px solid #000;
  }
  /* Video kendi oranini korur, alani doldurur (yatay genis cikar) */
  .reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: #000;
  }
  .reel-watermark { border-radius: 0; }

  /* ── FARE HAREKETI ILE BELIR/KAYBOL ── */
  /* Varsayilan: arayuz gizli (sadece video gorunur) */
  .reel-video-wrap .reel-actions,
  .reel-video-wrap .reel-info,
  .reel-video-wrap .reel-watermark,
  .reel-video-wrap .reel-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  /* Fare hareket edince (reels-active sinifi JS ile eklenir) arayuz belirir */
  .reels-container.reels-ui-active .reel-actions,
  .reels-container.reels-ui-active .reel-info,
  .reels-container.reels-ui-active .reel-watermark,
  .reels-container.reels-ui-active .reel-controls {
    opacity: 1;
    pointer-events: auto;
  }

  /* Butonlar: video ICINDE, sag tarafta */
  .reel-actions {
    right: 24px;
    bottom: 100px;
    gap: 15px;
  }
  .reel-action-btn {
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    backdrop-filter: blur(4px);
    font-size: 26px;
  }
  .reel-action-btn:hover { background: rgba(0,0,0,0.65); transform: scale(1.08); }
  .reel-action-btn.liked { background: var(--green); color: #000; }
  .reel-action-count {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    font-size: 13px;
    font-weight: 600;
  }

  /* Alt bilgi video ICINDE, sol altta */
  .reel-info {
    left: 24px;
    right: 110px;
    bottom: 70px;
  }
  .reel-avatar {
    width: 48px;
    height: 48px;
  }
  .reel-username {
    font-size: 16px;
  }
  .reel-title {
    font-size: 15px;
  }
}

/* Cok genis ekranlarda da video tam alani doldurur */
@media (min-width: 1100px) {
  .reel-video-wrap {
    height: calc(100vh - 64px);
    max-height: none;
  }
}

/* Reels checkbox (upload formu) */
.reel-checkbox-row { margin: 16px 0; }
.reel-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.reel-checkbox:hover { border-color: var(--border-strong); background: var(--bg-elev); }
.reel-checkbox input { display: none; }
.reel-checkbox-box {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s;
  margin-top: 1px;
}
.reel-checkbox input:checked + .reel-checkbox-box {
  background: var(--green);
  border-color: var(--green);
}
.reel-checkbox input:checked + .reel-checkbox-box::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 14px;
  font-weight: 700;
}
.reel-checkbox-text { display: flex; flex-direction: column; gap: 2px; }
.reel-checkbox-text strong { font-size: 14px; color: var(--text); }
.reel-checkbox-text small { font-size: 12px; color: var(--text-faint); }

/* Admin: silme talebi uyarısı ve satır vurgusu */
.admin-alert {
  background: rgba(255,176,32,0.1);
  border: 0.5px solid rgba(255,176,32,0.3);
  color: #ffb020;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.row-delete-requested {
  background: rgba(255,176,32,0.06);
}
.row-delete-requested td:first-child {
  border-left: 3px solid #ffb020;
}

/* Dashboard: düzenleme hakkı ve silme talebi etiketleri */
.edit-window {
  color: #ffb020;
  font-size: 11px;
  margin-left: 8px;
}
.delete-pending {
  color: #ff6060;
  font-size: 12px;
  margin-top: 4px;
}

/* Watch sayfası: video sahibi/admin aksiyon butonları */
.watch-owner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 10px;
}
.watch-owner-actions .btn { flex-shrink: 0; }
.owner-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 4px;
}
.btn-danger {
  background: rgba(255,80,80,0.12);
  border: 0.5px solid rgba(255,80,80,0.4);
  color: #ff6060;
}
.btn-danger:hover { background: rgba(255,80,80,0.2); }

/* ═══════════ ADMIN: Video filtreleri ═══════════ */
.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 16px;
}
.admin-filter-label {
  display: block;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 5px;
  font-weight: 600;
}
.admin-filter-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg);
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
}
.admin-filter-input:focus { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); outline: none; }
.admin-filter-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

/* ═══════════ ADMIN: İzlenme istatistikleri ═══════════ */
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.analytics-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.analytics-card.highlight {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(201,253,6,0.08), transparent);
}
.analytics-card-label {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
  font-weight: 700;
}
.analytics-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 6px 0 2px;
}
.analytics-card-sub { font-size: 11px; color: var(--text-faint); }

.analytics-range-btns { display: flex; gap: 6px; }
.range-btn {
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}
.range-btn:hover { color: var(--text); }
.range-btn.active {
  background: var(--green);
  color: #000;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  font-weight: 700;
}
.analytics-chart {
  padding: 20px 16px 8px;
  background: var(--bg);
  border-radius: 8px;
  margin: 0 16px 16px;
}

/* ═══════════ KAPAK RESMİ (THUMBNAIL) MODALI ═══════════ */
.thumbnail-modal-box { max-width: 480px; }
.thumb-capture-area { margin-bottom: 8px; }
.thumb-scrubber {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.thumb-scrubber input[type="range"] {
  flex: 1;
  accent-color: var(--green);
  cursor: pointer;
}
.thumb-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-faint);
  font-size: 12px;
}
.thumb-divider::before, .thumb-divider::after {
  content: '';
  flex: 1;
  border-bottom: 0.5px solid var(--border);
}
.thumb-divider span { padding: 0 12px; }
.thumb-current {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 0.5px solid var(--border);
}
.btn-block { width: 100%; display: block; }

/* ═══════════ YOUTUBE TARZI YORUMLAR ═══════════ */
.comment-item.is-reply {
  position: relative;
  margin-left: 0;
  padding-left: 28px;
}

.comment-creator-badge {
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.comment-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cmt-like-btn, .cmt-reply-btn, .cmt-del-btn {
  background: transparent;
  border: none;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, color 0.15s;
}
.cmt-like-btn:hover, .cmt-reply-btn:hover, .cmt-del-btn:hover { background: var(--bg-elev); color: var(--text); }
.cmt-like-btn.active { color: var(--green); }
.cmt-like-icon { font-size: 14px; }
.cmt-like-count { font-size: 12px; min-width: 6px; }
.cmt-del-btn:hover { color: #ff6060; }

.comment-reply-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-reply-box.hidden { display: none; }
.comment-reply-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
  padding: 6px 0;
  resize: none;
  font-family: inherit;
}
.comment-reply-input:focus { outline: none; border-bottom-color: var(--green); }
.comment-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-faint);
}
.btn-ghost:hover { background: var(--bg-elev); }

.comment-toggle-replies {
  background: transparent;
  border: none;
  color: var(--blue, #3ea6ff);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 99px;
  margin-top: 4px;
}
.comment-toggle-replies:hover { background: rgba(62,166,255,0.1); }
.comment-replies { margin-top: 8px; margin-left: 20px; }
.comment-replies.collapsed { display: none; }

/* ═══════════ WATCH ÜÇ NOKTA MENÜSÜ ═══════════ */
.watch-menu-wrap { position: relative; display: inline-block; }
.action-btn-icon { padding: 8px 14px; }
.action-btn-icon .action-icon { font-size: 20px; line-height: 1; }
.watch-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.watch-menu.hidden { display: none; }
.watch-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.watch-menu-item:hover { background: var(--bg-elev); }
.watch-menu-item.danger { color: #ff6060; }
.watch-menu-item.danger:hover { background: rgba(255,80,80,0.12); }
.watch-menu-note {
  font-size: 11px;
  color: var(--text-faint);
  padding: 8px 12px 4px;
  border-top: 0.5px solid var(--border);
  margin-top: 4px;
}

/* ═══════════ VİDEO KART ÜÇ NOKTA MENÜSÜ ═══════════ */
.video-card { position: relative; }
.video-title { position: relative; }
.card-kebab {
  position: absolute;
  right: 6px; top: 6px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.55);
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  z-index: 6;
  opacity: 0;
}
.video-card:hover .card-kebab,
.reel-mini:hover .card-kebab { opacity: 1; }
.card-kebab:hover { background: rgba(0,0,0,0.8); }
.card-menu {
  position: absolute;
  right: 8px; top: 40px;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 4px;
  min-width: 190px;
  z-index: 50;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}
.card-menu.hidden { display: none; }
.card-menu-item {
  display: block; width: 100%;
  text-align: left; background: transparent;
  border: none; color: var(--text);
  font-size: 13px; padding: 10px 12px;
  border-radius: 7px; cursor: pointer;
}
.card-menu-item:hover { background: var(--bg-elev); }
.card-menu-item.danger { color: #ff6060; }
.card-menu-item.danger:hover { background: rgba(255,80,80,0.12); }

/* ═══════════ ARAMA AUTOCOMPLETE ═══════════ */
.search-bar { position: relative; }
.search-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 6px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-height: 360px;
  overflow-y: auto;
}
.search-autocomplete.hidden { display: none; }
.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.ac-item:hover, .ac-item.active { background: var(--bg-elev); }
.ac-icon { font-size: 16px; flex-shrink: 0; opacity: 0.7; }
.ac-text { flex: 1; font-size: 14px; color: var(--text); font-weight: 500; }
.ac-sub { font-size: 12.5px; color: var(--text-dim); flex-shrink: 0; }

/* Mobilde kebab her zaman görünür (hover yok) */
@media (max-width: 768px) {
  .card-kebab { opacity: 1; }
}

/* ═══════════ ŞİKAYET MODALI + ADMIN ŞİKAYET ═══════════ */
.report-reasons { display: flex; flex-direction: column; gap: 4px; }
.report-reason {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; transition: background 0.15s;
}
.report-reason:hover { background: var(--bg-elev); }
.report-reason input { accent-color: var(--green); cursor: pointer; }

.report-card { margin-bottom: 14px; }
.report-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 16px; gap: 12px;
}
.report-video-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.report-count-badge {
  background: rgba(255,80,80,0.15);
  color: #ff6060;
  font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 99px;
  flex-shrink: 0;
}
.report-reasons-list {
  padding: 0 16px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.report-reason-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: 13px;
}
.report-reason-tag {
  background: var(--bg-elev);
  padding: 3px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 600;
}
.report-detail { color: var(--text-dim); font-style: italic; }
.report-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 16px; border-top: 0.5px solid var(--border);
}

/* ═══════════ TREND ANALİZİ ═══════════ */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 16px;
}
.trend-list { padding: 8px 16px 16px; }
.trend-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.trend-label {
  flex: 0 0 110px;
  font-size: 13px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trend-bar-track {
  flex: 1; height: 8px;
  background: var(--bg-elev);
  border-radius: 99px; overflow: hidden;
}
.trend-bar { height: 100%; border-radius: 99px; transition: width 0.3s; }
.trend-value {
  flex: 0 0 40px; text-align: right;
  font-size: 12px; font-weight: 600; color: var(--text-dim);
}
@media (max-width: 768px) {
  .trends-grid { grid-template-columns: 1fr; }
}

/* ═══════════ ÖDEME TERCİHLERİ (PAYOUT) ═══════════ */
.payout-saved {
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.payout-saved-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
  gap: 12px;
}
.payout-saved-row:last-of-type { border-bottom: none; }
.payout-saved-label {
  font-size: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.payout-saved-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}
.payout-address {
  font-family: monospace;
  font-size: 12px;
}
.payout-saved-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
/* Admin payout görünümü */
.admin-payout-box {
  background: rgba(201,253,6,0.06);
  border: 0.5px solid var(--green);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
}
.admin-payout-box .payout-saved-row { border-color: rgba(255,255,255,0.08); }

/* Gelir tablosu ödeme adresi */
.earnings-payout { max-width: 240px; }
.earnings-payout-coin {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 2px;
}
.earnings-payout-addr {
  font-family: monospace;
  font-size: 10px;
  color: var(--text-faint);
  word-break: break-all;
  cursor: pointer;
  transition: color 0.15s;
}
.earnings-payout-addr:hover { color: var(--text); }

/* ═══════════ ABONELİK MODALI ═══════════ */
.sub-modal { max-width: 420px; text-align: center; }
.sub-modal-status { padding: 10px 0; }
.sub-modal-icon { font-size: 48px; margin-bottom: 12px; }
.sub-modal-price {
  font-size: 42px; font-weight: 800; color: var(--green);
  margin-bottom: 8px;
}
.sub-modal-price span { font-size: 18px; color: var(--text-faint); font-weight: 500; }
.sub-modal h3 { font-size: 18px; margin-bottom: 8px; }
.sub-modal-expires { color: var(--green); font-weight: 600; margin-top: 8px; }
.sub-modal-status.active .sub-modal-icon { color: var(--green); }
.sub-modal-status.pending .sub-modal-icon { color: #ffb020; }

.sub-payment-info {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  text-align: left;
}
.sub-payment-title { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.sub-payment-row {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 13px;
}
.sub-payment-row span { color: var(--text-faint); }
.sub-payment-addr-label { font-size: 12px; color: var(--text-faint); margin-top: 10px; margin-bottom: 4px; }
.sub-payment-addr {
  font-family: monospace; font-size: 12px;
  background: var(--bg); padding: 10px;
  border-radius: 8px; word-break: break-all;
  cursor: pointer; border: 0.5px solid var(--border);
  transition: border-color 0.15s;
}
.sub-payment-addr:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }

/* ═══════════ CREATOR DETAY MODALI ═══════════ */
.creator-link { color: var(--green); cursor: pointer; }
.creator-link:hover { text-decoration: underline; }
.creator-detail-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
}
.creator-detail-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-elev); display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; overflow: hidden; flex-shrink: 0;
}
.creator-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-detail-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.cd-stat {
  background: var(--bg-elev); border-radius: 10px;
  padding: 12px; text-align: center;
}
.cd-stat-val { font-size: 18px; font-weight: 800; color: var(--green); }
.cd-stat-label { font-size: 10px; color: var(--text-faint); margin-top: 2px; }
.creator-detail-section { margin: 16px 0; }
.creator-detail-section h4 { font-size: 14px; margin-bottom: 10px; }
.cd-video-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 0.5px solid var(--border);
  font-size: 13px; gap: 12px;
}
.cd-video-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-video-meta { color: var(--text-faint); font-size: 11px; flex-shrink: 0; }
.creator-detail-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px;
  border-top: 0.5px solid var(--border);
}
@media (max-width: 600px) {
  .creator-detail-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════ SVG İKONLAR (YouTube tarzı) ═══════════ */
.icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--text-dim);  /* varsayılan: açık gri */
  flex-shrink: 0;
}
/* Buton içindeki ikonlar butonun rengini alır */
.action-btn .icon { color: var(--text); }
.action-btn:hover .icon { color: var(--text); }
/* Beğeni aktifken yeşil */
.action-btn.active .icon,
.cmt-like-btn.active .icon { color: var(--green); }
/* Menü ikonları */
.watch-menu-item .icon,
.card-menu-item .icon { color: var(--text-dim); margin-right: 4px; }
.card-menu-item.danger .icon,
.watch-menu-item.danger .icon { color: #ff6060; }
/* Yorum beğeni ikonu boyutu */
.cmt-like-btn .icon { width: 16px; height: 16px; }
/* Navigasyon/sidebar ikonları */
.admin-nav .icon { width: 18px; height: 18px; margin-right: 8px; color: var(--text-faint); }
.admin-nav.active .icon { color: var(--green); }
/* İzlenme ikonu (kartlarda) */
.video-views .icon { width: 11px; height: 11px; margin-right: 2px; opacity: 0.7; }
/* Bölüm başlığı ikonu */
.section-icon .icon { width: 20px; height: 20px; }
/* Kebab (üç nokta) ikonu */
.card-kebab .icon { width: 18px; height: 18px; color: #fff; }
.action-btn-icon .icon { width: 22px; height: 22px; }

/* Admin nav SVG ikon rengi */
.admin-nav .nav-ico { color: var(--text-faint); }
.admin-nav.active .nav-ico { color: var(--green); }
.admin-nav:hover .nav-ico { color: var(--text); }

/* ═══════════ Yükleme sayfası özel kapak ═══════════ */
.cover-upload-box {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--bg-elev);
  min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.cover-upload-box:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.cover-upload-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-mute); font-size: 13px;
  padding: 24px;
}
.cover-upload-empty .icon { color: var(--text-dim); }
#cover-upload-preview {
  width: 100%; max-height: 220px; object-fit: contain;
  display: block;
}
.cover-upload-actions {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; flex-wrap: wrap;
}
.cover-upload-actions .muted { margin: 0; }

/* Avatar resimleri (kartlarda daire içinde) */
.vc-avatar img, .creator-avatar img, .thumb-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.vc-avatar, .creator-avatar { overflow: hidden; }

/* ─── Ana sayfa creator başvuru bölümü ─── */
.creator-apply-box {
  background: linear-gradient(135deg, rgba(201,253,6,0.06), rgba(201,253,6,0.02));
  border: 1px solid rgba(201,253,6,0.22);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.creator-apply-head .apply-big-icon { color: var(--green); margin-bottom: 10px; }
.creator-apply-head h2 { font-size: 22px; color: #fff; margin: 0 0 8px; }
.creator-apply-head p { color: #999; max-width: 520px; margin: 0 auto 20px; font-size: 14px; line-height: 1.5; }
.creator-apply-perks {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.apply-perk {
  display: flex; align-items: center; gap: 8px;
  color: #bbb; font-size: 13px;
}
.apply-perk svg { color: var(--green); flex-shrink: 0; }
.creator-apply-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.creator-apply-actions .btn { min-width: 160px; }

/* ─── Creator+ Tier Karşılaştırması ─── */
.tier-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 20px 0;
}
.tier-card {
  position: relative;
  background: #0c0c0c;
  border: 1px solid #1c1c1c;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex; flex-direction: column;
}
.tier-card.highlighted {
  border-color: var(--green);
  background: linear-gradient(160deg, rgba(201,253,6,0.05), rgba(201,253,6,0.01));
  box-shadow: 0 0 30px rgba(201,253,6,0.08);
}
.tier-best {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #000;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}
.tier-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.tier-name.free { color: #aaa; }
.tier-name.plus { color: var(--green); }
.tier-price { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.tier-price span { font-size: 13px; font-weight: 500; color: #888; margin-left: 4px; }
.tier-tagline { font-size: 12px; color: #888; margin-bottom: 18px; }
.tier-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.tier-features li {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; font-size: 13px; color: #ccc;
  border-bottom: 1px solid #161616;
}
.tier-features li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.tier-features li.ok::before { content: '✓'; background: rgba(201,253,6,0.15); color: var(--green); }
.tier-features li.no::before { content: '✕'; background: rgba(255,255,255,0.05); color: #555; }
.tier-features li.no span { color: #666; }

/* Karşılaştırma tablosu */
.tier-table-card { margin-bottom: 20px; }
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th, .tier-table td {
  padding: 11px 12px; text-align: left; font-size: 13px;
  border-bottom: 1px solid #1a1a1a;
}
.tier-table th { color: #999; font-weight: 600; font-size: 12px; }
.tier-table th.hl, .tier-table td.hl { color: var(--green); text-align: center; background: rgba(201,253,6,0.03); }
.tier-table td:not(:first-child) { text-align: center; }
.tier-table td.y { color: var(--green); font-weight: 700; }
.tier-table td.n { color: #555; }

@media (max-width: 640px) {
  .tier-compare { grid-template-columns: 1fr; }
}

/* ─── Upload videodan kare seçici (Instagram tarzı) ─── */
.frame-picker {
  background: #0c0c0c;
  border: 1px solid #1c1c1c;
  border-radius: 10px;
  padding: 12px;
}
.frame-video-wrap {
  background: #000; border-radius: 8px; overflow: hidden;
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
}
#upload-frame-video { width: 100%; height: 100%; object-fit: contain; display: block; }
.frame-scrubber {
  display: flex; align-items: center; gap: 10px; margin: 12px 0;
}
.frame-scrubber input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 5px; border-radius: 3px; background: #2a2a2a; outline: none; cursor: pointer;
}
.frame-scrubber input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); cursor: pointer; border: 2px solid #000;
}
.frame-scrubber input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); cursor: pointer; border: 2px solid #000;
}
.frame-scrubber span { min-width: 38px; text-align: right; }

/* ─── Yaş kapısı: clickwrap + 18+ rozeti ─── */
.age-badge-18 {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.age-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin: 16px 0 4px;
  font-size: 13px;
  color: #bbb;
  line-height: 1.5;
  cursor: pointer;
}
.age-consent-row input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
}
.age-consent-row a {
  color: var(--green);
  text-decoration: underline;
}
.age-consent-warn {
  color: var(--red);
  font-size: 12px;
  margin: 4px 0 0;
  text-align: center;
}

/* Yasal modal'ı yaş kapısının ÜSTÜNDE göster (linkler çalışsın) */
#footer-modal { z-index: 10050 !important; }

/* ─── Creator+ tanıtım şeridi (ince) ─── */
.earn-bar {
  background: #080f00;
  border: 0.5px solid #1a2a00;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  cursor: pointer;
  transition: border-color 0.2s;
}
.earn-bar:hover { border-color: #2a4400; }
.earn-bar-icon { display: flex; align-items: center; color: var(--green); flex-shrink: 0; }
.earn-bar-text { flex: 1; }
.earn-bar-text h4 { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 3px; }
.earn-bar-text p { font-size: 12px; color: #3a4a00; line-height: 1.5; }
.earn-tiers { display: flex; gap: 7px; flex-wrap: wrap; }
.earn-tier { background: #0a1200; border: 0.5px solid #1e3000; border-radius: 6px; padding: 7px 11px; text-align: center; min-width: 76px; }
.et-views { font-size: 11px; color: var(--green); font-weight: 600; }
.et-earn { font-size: 12px; color: #f0f0f0; font-weight: 600; margin-top: 2px; }
.et-label { font-size: 10px; color: #333; margin-top: 1px; }

/* Creator+ karşılaştırma kartları */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.cmp-card { background: #0a0a0a; border: 0.5px solid #1e1e1e; border-radius: 9px; padding: 16px 18px; }
.cmp-card.cmp-feat { border: 1px solid var(--green); background: #0a0f00; }
.cmp-head { font-size: 14px; font-weight: 700; color: #ddd; margin-bottom: 13px; display: flex; align-items: center; gap: 6px; }
.cmp-feat .cmp-head { color: var(--green); }
.cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cmp-list li { font-size: 12.5px; line-height: 1.4; padding-left: 22px; position: relative; }
.cmp-yes { color: #ccc; }
.cmp-no { color: #555; }
.cmp-yes::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.cmp-no::before { content: '✗'; position: absolute; left: 0; top: 0; color: #555; }
@media (max-width: 600px) { .cmp-grid { grid-template-columns: 1fr; } }

/* ═══════════ SVG BAYRAKLI DİL SEÇİCİ (emoji yerine) ═══════════ */
.flag { width: 20px; height: 13px; border-radius: 2px; flex-shrink: 0;
  display: inline-block; vertical-align: middle; object-fit: cover;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,.14); }
.lang-sel { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px;
  background: var(--nav-btn-bg); border: none; border-radius: 7px;
  color: var(--text-dim); cursor: pointer; padding: 6px 12px; font-size: 12px;
  font-weight: 600; transition: all .15s; }
/* Dil secici yazisi da nav butonlariyla ayni kirik beyaz */
.lang-sel, .lang-btn { color: var(--nav-btn-text); }
.lang-btn:hover { background: var(--nav-btn-bg-hover); border-color: var(--border-strong); color: var(--text); }
.lang-sel.open .lang-btn { background: var(--nav-btn-bg-hover); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); color: var(--text); }
.lang-code { letter-spacing: .3px; }
.lang-chev { opacity: .55; transition: transform .15s; }
.lang-sel.open .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 5px); right: 0; min-width: 180px;
  background: var(--bg-card); border: 0.5px solid var(--border-strong); border-radius: 9px;
  max-height: 340px; overflow-y: auto; z-index: 200; display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,.7); padding: 4px; }
.lang-sel.open .lang-menu { display: block; }
.lang-opt { display: flex; align-items: center; gap: 9px; width: 100%;
  background: none; border: none; border-radius: 6px; color: var(--text-dim);
  cursor: pointer; padding: 9px 11px; font-size: 13px; text-align: left;
  transition: all .12s; white-space: nowrap; }
.lang-opt:hover { background: var(--bg-elev); color: var(--text); }
.lang-opt.sel { color: var(--green); background: var(--green-bg); }
body[dir="rtl"] .lang-menu { right: auto; left: 0; }
/* yaş kapısı select — emoji gitti, düz isim; hizalama */



/* ═══════════════════════════════════════════════════════════
   MOBİL: HAMBURGER + SAĞDAN KAYAN PANEL (DRAWER) + MOBİL UYUM
   ═══════════════════════════════════════════════════════════ */

/* Hamburger butonu — masaüstünde gizli */
.nav-burger { display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: var(--nav-btn-bg); border: none;
  border-radius: 8px; color: var(--text); cursor: pointer; padding: 0; flex-shrink: 0;
  transition: all .15s; }
.nav-burger:hover { background: var(--nav-btn-bg-hover); border: none; box-shadow: none; color: var(--text); }

/* Sağdan kayan panel (drawer) */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 298;
  opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
  background: var(--bg-card); border-left: 0.5px solid var(--border-strong); z-index: 299;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
body[dir="rtl"] .drawer { right: auto; left: 0; border-left: none;
  border-right: 0.5px solid var(--border-strong); transform: translateX(-100%); }
body[dir="rtl"] .drawer.open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px;
  border-bottom: 0.5px solid var(--border); position: sticky; top: 0; background: var(--bg-card); z-index: 2; }
.dr-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0.5px solid var(--border-strong); border-radius: 8px;
  color: var(--text-dim); cursor: pointer; }
.dr-close:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); color: var(--green); }
.dr-body { padding: 8px 0; flex: 1; }
.dr-link { display: block; width: 100%; text-align: left; background: none; border: none;
  color: var(--text-dim); font-size: 15px; font-weight: 500; padding: 14px 18px; cursor: pointer;
  transition: all .15s; }
.dr-link:hover, .dr-link:active { background: var(--bg-elev); color: var(--text); }
body[dir="rtl"] .dr-link { text-align: right; }
.dr-divider { border: none; border-top: 0.5px solid var(--border); margin: 8px 16px; }
/* açılır alt bölüm (dil/bölge) */
.dr-exp-head { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; color: var(--text-dim); font-size: 15px; font-weight: 500;
  padding: 14px 18px; cursor: pointer; transition: all .15s; }
.dr-exp-head:hover { background: var(--bg-elev); color: var(--text); }
.dr-chev { margin-left: auto; opacity: .5; transition: transform .2s; }
body[dir="rtl"] .dr-chev { margin-left: 0; margin-right: auto; }
.dr-exp.open .dr-chev { transform: rotate(180deg); }
.dr-exp.open .dr-exp-head { color: var(--text); }
.dr-exp-body { display: none; max-height: 260px; overflow-y: auto; padding-bottom: 6px; }
.dr-exp.open .dr-exp-body { display: block; }
.dr-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; color: var(--text-faint); font-size: 14px;
  padding: 11px 18px 11px 40px; cursor: pointer; transition: all .15s; }
body[dir="rtl"] .dr-opt { padding: 11px 40px 11px 18px; text-align: right; }
.dr-opt:hover { background: var(--bg-elev); color: var(--text-dim); }
.dr-opt.sel { color: var(--green); }
.dr-opt .flag { flex-shrink: 0; }

/* ═══ MOBİL (≤820px) ═══ */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav { padding: 0 14px; gap: 8px; }
  .nav-logo { font-size: 20px; }
  /* Mobilde dil seçici GİZLİ (hamburger'e taşındı) */
  .nav-right .lang-sel { display: none; }
  /* Logo solda kalsın, butonlar + hamburger sağa toplansın */
  .nav-left { margin-right: auto; }
  .nav-right { gap: 6px; margin-left: 0; }
  /* Hero küçült */
  .hero { padding: 28px 16px 22px; }
  .hero h1, .hero-glitch { font-size: 34px !important; }
  .hero-sub { font-size: 12px; }
  /* Genel */
  .container, .container.narrow { padding-left: 14px; padding-right: 14px; }
  .section { padding: 16px 14px; }
  .earn-bar { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .earn-tiers { width: 100%; justify-content: space-between; }
  .cmp-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; }
}
/* Masaüstünde drawer asla görünmez */
@media (min-width: 1151px) {
  .drawer, .drawer-scrim { display: none !important; }
}
/* ═══ KÜÇÜK MOBİL (≤480px) ═══ */
@media (max-width: 480px) {
  .hero h1, .hero-glitch { font-size: 28px !important; }
  .footer-main { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════ DESTEK BUTONU (nav) ═══════════ */
.nav-support { display: inline-flex; align-items: center; background: var(--nav-btn-bg);
  border: none; border-radius: 7px; padding: 7px 14px; color: var(--nav-btn-text);
  cursor: pointer; padding: 6px 12px; font-size: 12px; font-weight: 600; transition: all .15s;
  white-space: nowrap; }
.nav-support:hover { background: var(--nav-btn-bg-hover); border: none; box-shadow: none; color: var(--text); }
/* Mobilde nav'daki destek gizli (hamburger'de var) */
@media (max-width: 820px) {
  .nav-support { display: none; }
}

/* ═══════════ SAYFA BAŞLIK ALTI BOŞLUK (Nasıl Kazanılır, Creator+ vb.) ═══════════ */
/* Başlık altındaki açıklama yazısı ile içerik (kart) arasına nefes payı */
.container h1 + .muted,
.container.narrow > .muted {
  margin-bottom: 20px;
  display: block;
}


/* ═══════════ STICKY FOOTER — footer her zaman ekranın en dibinde ═══════════ */
#site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#site > .page {
  flex: 1 0 auto;
  padding-bottom: 40px;
}
#site > .main-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* YouTube tarzi ilerleme cubugu (tarayici yerlesik kaydirici) */
.reel-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--green) 0%, rgba(255,255,255,0.28) 0%);
  outline: none;
  cursor: pointer;
  margin: 0 0 6px 0;
  padding: 0;
  display: block;
}
.reel-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}
.reel-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
}
.reel-range::-moz-range-track {
  background: transparent;
}

/* Watch kontrol katman duzeltmesi */
#watch-ctrl {
  display: block;
  z-index: 20;
}
#main-player {
  position: relative;
  z-index: 1;
}
.video-watermark {
  z-index: 15;
}


/* Ses seviyesi (YouTube tarzi - ustune gelince acilir) */
.reel-volwrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  padding-right: 0;
}
.reel-volwrap::after {
  content: '';
  position: absolute;
  left: 0;
  top: -8px;
  bottom: -8px;
  width: 130px;
  z-index: -1;
}
.reel-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  visibility: hidden;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  background-image: linear-gradient(#fff, #fff);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  flex: 0 0 auto;
}
.reel-volwrap:hover .reel-vol,
.reel-volwrap.vol-dragging .reel-vol,
.reel-volwrap:focus-within .reel-vol {
  width: 70px;
  max-width: 70px;
  opacity: 1;
  visibility: visible;
  margin-left: 6px;
}
.reel-vol::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}
.reel-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}
.reel-vol::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}
.reel-vol::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}
.reel-time {
  flex: 0 0 auto;
}

/* Filigran cubuk cakismasi duzeltmesi */
.video-watermark, .reel-watermark {
  bottom: 80px;
}

/* Ses ikonu: iki ikon HTML'de, sadece biri gorunur (titreme yok) */
.reel-ctrl-btn .ico-off { display: none; }
.reel-ctrl-btn.muted .ico-on { display: none; }
.reel-ctrl-btn.muted .ico-off { display: inline-flex; }
.reel-ctrl-btn .ico-on, .reel-ctrl-btn .ico-off {
  display: inline-flex; align-items: center; justify-content: center;
}
.reel-vol { transition: width 0.18s ease, opacity 0.18s ease, margin 0.18s ease; }

/* SES CUBUGU - KESIN COZUM (yer sabit, titreme yok) */
.reel-volwrap {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  position: relative !important;
  overflow: visible !important;
}
.reel-volwrap::after { display: none !important; }
.reel-vol {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 66px !important;
  min-width: 66px !important;
  max-width: 66px !important;
  height: 4px !important;
  border-radius: 2px !important;
  margin-left: 8px !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
}
.reel-volwrap:hover .reel-vol,
.reel-volwrap.vol-dragging .reel-vol,
.reel-volwrap:focus-within .reel-vol {
  opacity: 1;
  visibility: visible;
}
.reel-vol::-webkit-slider-runnable-track { height: 4px; background: transparent; border: none; }
.reel-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: none; cursor: pointer;
}
.reel-vol::-moz-range-track { height: 4px; background: transparent; border: none; }
.reel-vol::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
}

/* SES CUBUGU - KESIN COZUM (yer sabit, titreme yok) */
.reel-volwrap {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  position: relative !important;
}
.reel-volwrap::after { display: none !important; }
.reel-vol {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 66px !important;
  min-width: 66px !important;
  max-width: 66px !important;
  height: 4px !important;
  border-radius: 2px !important;
  margin-left: 8px !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease !important;
}
.reel-volwrap:hover .reel-vol,
.reel-volwrap.vol-dragging .reel-vol,
.reel-volwrap:focus-within .reel-vol {
  opacity: 1;
  visibility: visible;
}
.reel-vol::-webkit-slider-runnable-track { height: 4px; background: transparent; border: none; }
.reel-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: none; cursor: pointer;
}
.reel-vol::-moz-range-track { height: 4px; background: transparent; border: none; }
.reel-vol::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
}

/* SES IKONU - SIRA DUZELTMESI (tek ikon gorunur) */
.reel-ctrl-btn .ico-on,
.reel-ctrl-btn .ico-off {
  align-items: center;
  justify-content: center;
}
.reel-ctrl-btn .ico-on { display: inline-flex !important; }
.reel-ctrl-btn .ico-off { display: none !important; }
.reel-ctrl-btn.muted .ico-on { display: none !important; }
.reel-ctrl-btn.muted .ico-off { display: inline-flex !important; }

/* SES CUBUGU - FINAL (boslugu yok, titremesiz) */
.reel-volwrap {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  overflow: hidden !important;
  position: relative !important;
}
.reel-volwrap::after,
.reel-volwrap::before { display: none !important; content: none !important; }
.reel-vol {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 4px !important;
  border-radius: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  opacity: 0;
  cursor: pointer !important;
  transition: width 0.2s ease, max-width 0.2s ease, opacity 0.2s ease, margin 0.2s ease !important;
}
.reel-volwrap:hover .reel-vol,
.reel-volwrap.vol-dragging .reel-vol,
.reel-volwrap:focus-within .reel-vol {
  width: 66px !important;
  max-width: 66px !important;
  opacity: 1;
  margin-left: 8px !important;
  margin-right: 4px !important;
}
.reel-vol::-webkit-slider-runnable-track { height: 4px; background: transparent; border: none; }
.reel-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -4px;
  border-radius: 50%; background: #fff; border: none; cursor: pointer;
}
.reel-vol::-moz-range-track { height: 4px; background: transparent; border: none; }
.reel-vol::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
}

/* Arama onerileri one */
.search-autocomplete { z-index: 9999 !important; }
.categories-bar {
  position: relative;
  z-index: 1;
}
header, .header, .topbar, .nav {
  z-index: 400;
}

/* HERO KESME DUZELTMESI - oneri kutusu kesilmesin */
.hero {
  overflow: visible !important;
}
.hero::before {
  overflow: hidden;
  border-radius: inherit;
}
.search-autocomplete { max-height: none; }
.categories-bar { position: relative; z-index: 1; }

/* MOBIL WATCH KONTROL DUZELTMESI */
@media (max-width: 767px) {
  #watch-ctrl {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    padding: 10px 12px 8px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
    z-index: 20 !important;
  }
  #watch-ctrl .reel-ctrl-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 42px !important;
  }
  #watch-ctrl .reel-ctrl-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
  }
  #watch-ctrl .reel-ctrl-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
  #watch-ctrl .reel-time {
    font-size: 12px !important;
    margin-left: 6px !important;
  }
  /* Mobilde ses cubugu gizli - dokunmatikte cihazin kendi sesi kullanilir */
  #watch-ctrl .reel-vol { display: none !important; }
}

/* KATMAN SIRASI - MOBIL (menu en ustte, arama altta) */
.drawer, #drawer, .drawer-overlay, #drawer-overlay {
  z-index: 9000 !important;
}
.nav, nav.nav, .navbar, header.nav {
  z-index: 800 !important;
}
.mobile-search-row {
  z-index: 700 !important;
}
.search-bar {
  z-index: 100 !important;
}
.search-autocomplete {
  z-index: 101 !important;
}
.hero .search-bar {
  z-index: 100 !important;
}

/* Mobilde logo yaninda Reels butonu */
.nav-reels-mob { display: none; }
@media (max-width: 767px) {
  .nav-reels-mob {
    display: inline-flex !important;
    align-items: center;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    padding: 6px 10px;
    margin-left: 8px;
    cursor: pointer;
    border-radius: 8px;
  }
  .nav-reels-mob:active { background: var(--bg-elev); }
}

/* MOBIL WATCH TEK SATIR: avatar+hesap+takipci | like | share | ... */
@media (max-width: 767px) {
  .watch-channel-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }
  .watch-creator-link {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .watch-creator-meta {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .watch-creator-name, .watch-creator-sub {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .watch-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    /* Tum ikonlar like-dislike ile ayni ritimde: aralarindaki bosluk esit (0),
       gorsel mesafeyi sadece dugmelerin kendi ic boslugu belirler */
    gap: 0 !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
  }
  /* Sadece ikonlar - yazi ve sayi yok */
  .watch-actions .action-label,
  .watch-actions .action-count {
    display: none !important;
  }
  .watch-actions .action-btn {
    /* Ikonlar birbirine yakin dursun: bosluk gap'ten degil, dugme genisliginden geliyordu */
    padding: 4px !important;
    min-width: 30px !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
  }
  .watch-menu-wrap {
    display: block !important;
    flex: 0 0 auto !important;
  }
  .watch-follow-btn {
    flex: 0 0 auto !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

/* REELS PROFIL-CUBUK ARALIGI */
.reel-controls { padding-top: 22px !important; }
.reel-info { margin-bottom: 14px !important; }

/* MOBIL REELS EKRANA SABIT - ogeler videoya degil ekrana gore konumlanir */
@media (max-width: 767px) {
  .reel-video-wrap {
    width: 100% !important;
    height: 100% !important;
    position: static !important;
  }
  .reel-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  /* Aksiyonlar ve bilgi ekrana (reel-item) sabit */
  .reel-item .reel-actions {
    position: absolute !important;
    right: 12px !important;
    bottom: 96px !important;
    z-index: 10 !important;
  }
  .reel-item .reel-info {
    position: absolute !important;
    left: 16px !important;
    right: 80px !important;
    bottom: 28px !important;
    z-index: 10 !important;
  }
  .reel-item .reel-watermark {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 10 !important;
  }
}

/* Reels dislike aktif rengi */
.reel-action-btn.disliked {
  background: #ff5252 !important;
  color: #fff !important;
}
/* Watch dislike aktif rengi */
#dislike-btn.active {
  color: #ff5252 !important;
}
#dislike-btn.active svg path {
  fill: #ff5252;
}



/* KENAR HAFIF KALIN */


/* Oynat/duraklat SVG ikonlari (emoji yerine) */
.pp-btn .pp-play, .pp-btn .pp-pause {
  display: inline-flex; align-items: center; justify-content: center;
}
.pp-btn .pp-pause { display: none; }
.pp-btn.playing .pp-play { display: none; }
.pp-btn.playing .pp-pause { display: inline-flex; }

/* Kategori cubugu basindaki Reels sekmesi (sadece mobil) */
.pill-reels { display: none; }
@media (max-width: 767px) {
  .pill-reels {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    border: 1.5px solid var(--green) !important;
    color: var(--green) !important;
  }
}

/* MOBIL AKSIYON GRI - hepsi ayni gri, aktif olunca renkli */
@media (max-width: 767px) {
  .watch-actions .action-btn {
    color: var(--text-mute);
  }
  .watch-actions #like-btn.active {
    color: var(--green);
  }
  .watch-actions #dislike-btn.active {
    color: #ff5252;
  }
}

/* RELATED BUYUTME - kolonu doldur, YouTube hover */
.related-videos {
  gap: 12px !important;
}
.related-card {
  padding: 4px !important;
  margin: -4px !important;
  border-radius: 10px !important;
}
.related-card:hover {
  background: rgba(255,255,255,0.07) !important;
}
.related-title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
}
.related-creator {
  font-size: 12.5px !important;
}
/* DAR EKRAN - ONERILEN VIDEOLAR (YouTube duzeni):
   kapak tam genislik ustte, altinda avatar + baslik + tek satir meta.
   Kapak ekran kenarina oturur: ust kapsayicinin 10px ic boslugu kart
   seviyesinde telafi edilir (100vw KULLANILMAZ - kaydirma cubugu sorunu). */
@media (max-width: 1016px) {
  /* Kapak ekran kenarina otursun: bosluk veren KATMAN sifirlanir (sabit sayi degil) */
  /* Yatay tasmayi engelle (dikey kaydirmaya dokunmadan) */
  .watch-layout { overflow-x: clip; }

  .watch-layout > .watch-sidebar,
  .watch-sidebar,
  .related-videos,
  #related-videos {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .watch-sidebar > h3 { padding-left: 10px; }
  .related-card {
    display: block;
    margin: 0 0 20px;
    padding: 0;
    border-radius: 0;
    position: relative;
  }
  .related-thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    flex: none;
  }
  .related-info {
    display: flex;
    gap: 12px;
    padding: 10px 12px 0;
  }
  .rel-ava {
    width: 39px; height: 39px; flex: 0 0 39px;
    border-radius: 50%;
    background: var(--bg-elev);
    color: var(--text-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #9a9a9a;
    overflow: hidden;
  }
  .rel-ava img { width: 100%; height: 100%; object-fit: cover; }
  .rel-text { flex: 1; min-width: 0; padding-right: 28px; min-height: 58px; }
  .related-card .related-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 1px !important;
  }
  .related-card .related-creator,
  .related-card .related-meta { line-height: 1.3 !important; }
  .related-card .related-creator,
  .related-card .related-meta { margin-top: 0 !important; }
  .related-card .related-creator,
  .related-card .related-meta { display: inline; font-size: 12.5px !important; color: var(--text-faint) !important; }
  .related-card .related-creator::after { content: ' \00B7 '; }
  /* Uc nokta: baslik satirinin hizasinda, sagda (YouTube gibi) */
  .related-info { position: relative; }
  .related-card .rel-kebab {
    position: absolute;
    top: 8px;
    right: 4px;
    bottom: auto;
    color: var(--text-dim);
  }
  .related-card .rel-kebab svg { color: var(--text-dim); }
}

/* LIKE RENGI ESITLE - aktif degilken hepsi ayni gri (web+mobil) */
.watch-actions .action-btn,
.watch-actions .action-btn .action-icon,
.watch-actions .action-btn svg {
  color: var(--text-dim);
}
.watch-actions #like-btn:not(.active),
.watch-actions #like-btn:not(.active) .action-icon,
.watch-actions #like-btn:not(.active) svg {
  color: var(--text-dim) !important;
}
.watch-actions .action-btn:hover,
.watch-actions .action-btn:hover svg,
.watch-actions #like-btn:not(.active):hover,
.watch-actions #like-btn:not(.active):hover .action-icon,
.watch-actions #like-btn:not(.active):hover svg {
  color: var(--text) !important;
}
.watch-actions #like-btn.active,
.watch-actions #like-btn.active svg {
  color: var(--green) !important;
}
.watch-actions #dislike-btn.active,
.watch-actions #dislike-btn.active svg {
  color: #ff5252 !important;
}

/* LIKE RENGI ESITLE - aktif degilken hepsi ayni gri (web+mobil) */
.watch-actions .action-btn,
.watch-actions .action-btn .action-icon,
.watch-actions .action-btn svg {
  color: var(--text-dim);
}
.watch-actions #like-btn:not(.active),
.watch-actions #like-btn:not(.active) .action-icon,
.watch-actions #like-btn:not(.active) svg {
  color: var(--text-dim) !important;
}
.watch-actions .action-btn:hover,
.watch-actions .action-btn:hover svg {
  color: var(--text) !important;
}
.watch-actions #like-btn.active,
.watch-actions #like-btn.active svg {
  color: var(--green) !important;
}
.watch-actions #dislike-btn.active,
.watch-actions #dislike-btn.active svg {
  color: #ff5252 !important;
}

/* MOBIL CREATOR DAR - ana sayfa creator kutulari mobilde daha dar */
@media (max-width: 767px) {
  .creator-card-mini {
    width: 118px !important;
    padding: 12px 8px !important;
  }
  .creator-card-mini .creator-avatar {
    width: 48px !important;
    height: 48px !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .creator-card-mini .creator-username {
    font-size: 12.5px !important;
  }
}

/* KAPAK CROP - yatay cerceve, video doldurur, dikey kaydirma */
.frame-crop-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
#frame-crop-frame {
  touch-action: none;
  flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  position: relative;
}
#frame-crop-frame video {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  user-select: none;
}
#frame-crop-frame.dragging video { cursor: grabbing; }
#frame-crop-frame { cursor: grab; }
.frame-vpos {
  -webkit-appearance: slider-vertical;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 22px;
  cursor: pointer;
  accent-color: var(--green);
}
.frame-vpos::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
}

/* MOBIL FOOTER ODEME LOGO ALTTA - logolar tum yazilarin altinda yan yana */
@media (max-width: 767px) {
  .footer-col:has(.footer-crypto-logos) {
    display: flex;
    flex-direction: column;
  }
  .footer-col:has(.footer-crypto-logos) h4 { order: 1; }
  .footer-col .footer-payment-note { order: 2; }
  .footer-col .footer-payment-sub { order: 3; margin-bottom: 10px; }
  .footer-col .footer-crypto-logos {
    order: 4;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-crypto-logos img { max-width: 40px; height: auto; }
}



/* MOBIL LOGO YOURHEALTH USTU - sadece mobil, web'e dokunma */
@media (max-width: 767px) {
  /* Payment sutunundaki logolari gizle */
  .footer-col .footer-crypto-logos {
    display: none !important;
  }
  /* footer-bottom'i dikey yap, logolar en uste */
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative;
  }
  /* Logolarin mobil kopyasi: footer-bottom basina */
  .footer-bottom::before {
    content: "";
  }
  .footer-mobile-logos {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 70px;
    margin-top: -15px;
    margin-bottom: 14px;
    order: -1;
  }
  .footer-mobile-logos img {
    max-width: 110px;
    height: auto;
    opacity: 0.8;
  }
}
.footer-mobile-logos { display: none; }

/* Kategori SEO aciklamasi - baslik hizasinda, gri, sinirli */
.results-seo {
  color: var(--text-dim);
  font-size: 11.5px;
  margin-top: 6px;
  max-width: 640px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .results-seo {
    max-width: 100%;
    -webkit-line-clamp: 2;
  }
}

/* Baslik + SEO yan yana */
.results-title-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: nowrap;
}
.results-title-row .results-seo {
  margin-top: 0;
  flex: 1;
  min-width: 0;
}
@media (max-width: 767px) {
  .results-title-row {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .results-title-row .results-seo {
    font-size: 9.5px;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    align-self: center;
  }
}

/* MOBIL SORT SAGA */
@media (max-width: 767px) {
  #page-results .results-head,
  #page-gallery .results-head,
  #page-results .results-toolbar,
  #page-gallery .results-toolbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
  }
  #page-results .sort-wrap,
  #page-gallery .sort-wrap,
  #page-results .results-sort,
  #page-gallery .results-sort {
    margin-left: auto !important;
  }
}

/* Mobilde ust cubuktan upload butonunu gizle (hamburger ve ana sayfada zaten var) */
@media (max-width: 768px) {
  .nav-upload-btn { display: none !important; }
}

/* Mobilde footer OnyxTube blogunun ust/alt bosluklarini dengele */
@media (max-width: 768px) {
  .footer-main { padding-top: 20px; }
  .footer-col-brand { margin-bottom: 0; }
}

/* Mobilde footer marka blogu ile Platform basligi arasini ac */
@media (max-width: 900px) {
  .footer-col-brand { margin-bottom: 18px; }
}

/* Mobilde footer marka blogu alt bosluk - guclu kural */
@media (max-width: 900px) {
  .footer-main .footer-col-brand { margin-bottom: 28px !important; }
}

/* Arama ikonu - bildirim ikonuyla ayni stil (cember, 36px) */
.nav-msearch-icon {
  position: relative;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.nav-msearch-icon:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
/* Bildirim ikonu beyaz olsun */
.notif-bell { color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Arama ikonu - bildirim ikonuyla ayni stil (cember, 36px) */
.nav-msearch-icon {
  position: relative;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.nav-msearch-icon:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
/* Bildirim ikonu beyaz olsun */
.notif-bell { color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Arama ikonu - bildirim ikonuyla ayni stil (cember, 36px) */
.nav-msearch-icon {
  position: relative;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.nav-msearch-icon:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
/* Bildirim ikonu beyaz olsun */
.notif-bell { color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Arama ikonu - bildirim ikonuyla ayni stil (cember, 36px) */
.nav-msearch-icon {
  position: relative;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.nav-msearch-icon:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}
/* Bildirim ikonu beyaz olsun */
.notif-bell { color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Ikon cerceveleri daha belirgin */
.nav-msearch-icon { border: none; background: var(--nav-btn-bg); }





/* Admin paneli acikken ana site nav butonlarini gizle */
body:has(#page-admin:not(.hidden)) .nav-support,
body:has(#page-admin:not(.hidden)) .lang-sel,
body:has(#page-admin:not(.hidden)) .nav-telegram,
body:has(#page-admin:not(.hidden)) .nav-msearch-icon,
body:has(#page-admin:not(.hidden)) .notif-bell,
body:has(#page-admin:not(.hidden)) .nav-upload-btn,
body:has(#page-admin:not(.hidden)) .nav-links,
body:has(#page-admin:not(.hidden)) .nav-search { display: none !important; }

/* Nav ikonlarini ayni boyuta esitle (36px) */
.nav-telegram, .nav-burger, .nav-msearch-icon, .notif-bell, .nav-guest-icon {
  /* Profil ikonuyla (.nav-avatar 38px) ayni boyut */
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0;
}

/* ═══ MOBIL WATCH DUZENLEMELERI ═══ */
@media (max-width: 768px) {
  /* 1) Video sol/sag kenara tam yapissin */
  .watch-layout { padding: 0 !important; }
  .watch-layout > * { padding-left: 10px; padding-right: 10px; }
  .video-player-wrapper { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  .watch-main > .video-player-wrapper { padding-left: 0 !important; padding-right: 0 !important; }

  /* 2) Yorumlar <-> onerilen videolar arasi bosluk azalt + gri cizgi */
  .watch-comments { margin-bottom: 10px !important; padding-bottom: 10px !important;
    border-bottom: 1px solid var(--border); }
  .watch-sidebar { margin-top: 10px !important; padding-top: 0 !important; }

  /* 3) Yorum ac/kapa ikonu: daha belirgin + saga kacmasin */
  .comments-chevron {
    margin-left: 8px !important;
    font-size: 14px !important;
    color: var(--text) !important;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    width: 30px; height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* ═══ MOBIL WATCH DUZENLEMELERI ═══ */
@media (max-width: 768px) {
  /* 1) Video sol/sag kenara tam yapissin */
  .watch-layout { padding: 0 !important; }
  .watch-layout > * { padding-left: 10px; padding-right: 10px; }
  .video-player-wrapper { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  .watch-main > .video-player-wrapper { padding-left: 0 !important; padding-right: 0 !important; }

  /* 2) Yorumlar <-> onerilen videolar arasi bosluk azalt + gri cizgi */
  .watch-comments { margin-bottom: 10px !important; padding-bottom: 10px !important;
    border-bottom: 1px solid var(--border); }
  .watch-sidebar { margin-top: 10px !important; padding-top: 0 !important; }

  /* 3) Yorum ac/kapa ikonu: daha belirgin + saga kacmasin */
  .comments-chevron {
    margin-left: 8px !important;
    font-size: 14px !important;
    color: var(--text) !important;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    width: 26px; height: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* Yorumlar ust/alt cizgileri esit renk, kalinlik ve mesafe */
@media (max-width: 768px) {
  .watch-comments {
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .watch-sidebar { margin-top: 10px !important; border-top: 0 !important; }
}

/* Yorumlar ust cizgisini kaldir (ustteki elemanin cizgisi zaten var) */
@media (max-width: 768px) {
  .watch-comments { border-top: 0 !important; padding-top: 10px !important; margin-top: 10px !important; }
}

/* Yorumlar: tek alt cizgi, esit mesafe */
@media (max-width: 768px) {
  .watch-comments {
    border-top: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
  }
}

/* Yorumlar: ust ve alt cizgi esit (ayni renk, kalinlik, mesafe) */
@media (max-width: 768px) {
  .watch-comments {
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    padding-top: 10px !important;
    padding-bottom: 12px !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
}

/* Yorumlar: ust cizgi watch-info'dan geliyor, alt cizgi ona esitlendi */
@media (max-width: 768px) {
  .watch-comments {
    border-top: 0 !important;
    border-bottom: 0.5px solid var(--border) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }
  .watch-info { padding-bottom: 12px !important; }
}

/* Yorumlar alt cizgisi yoruma yaklassin */
@media (max-width: 768px) {
  .watch-comments { padding-bottom: 0 !important; }
  .watch-comments h3 { margin-bottom: 0 !important; }
  .watch-comments:not(.open) h3 { padding-bottom: 12px !important; }
}

/* Yorum ac/kapa ikonu: orijinal haline sifirla */
@media (max-width: 768px) {
  .comments-chevron {
    margin-left: auto !important;
    font-size: 20px !important;
    color: var(--text-dim) !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
  }
}

/* Yorum ac/kapa ikonu biraz sola */
@media (max-width: 768px) {
  .comments-chevron { margin-right: 10px !important; }
}

/* Onerilen videolari biraz yukari al */
@media (max-width: 768px) {
  .watch-sidebar { margin-top: 0 !important; padding-top: 0 !important; }
  .watch-comments { margin-bottom: 6px !important; }
}

/* Video mobilde ekranin sol/sag kenarina TAM yapissin */
@media (max-width: 768px) {
  .watch-layout { padding: 0 !important; }
  .watch-main { padding: 0 !important; }
  .video-player-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Video disindaki icerik kenarlardan bosluklu kalsin */
  .watch-info, .watch-comments, .watch-sidebar { padding-left: 10px !important; padding-right: 10px !important; }
}

/* Video basliklari daha buyuk ve okunakli (xHamster tarzi) */
.video-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f0f0f0 !important;
  line-height: 1.35 !important;
}
@media (max-width: 768px) {
  .video-title { font-size: 14px !important; }
}

/* Video basligi rengi: kirik beyaz */
.video-title { color: #e8e8e8 !important; }

/* Ana sayfa "Daha Fazlasi" butonu */
.more-btn-wrap { margin-top: 18px; }
.more-btn {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
}

/* Dikey videolarda yanlarda siyah yerine bulanik sahne */
.thumb-blur-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(20px) brightness(.5);
  transform: scale(1.2);
  z-index: 0;
}
.thumb-fit {
  position: relative; z-index: 1;
  object-fit: contain !important;
  width: 100%; height: 100%;
}

/* KART-KAPAK: sunucudaki kapak ZATEN bulanik kenarli uretiliyor (make-cover.sh 1920x1080),
   kartlarda tarayicida ikinci kez bulanik katman cizmeye gerek yok -> Safari kasmasi bitti.
   Kural bilerek SADECE kartlara baglidir: reels kutusu 9:16 oldugu icin 16:9 kapagin
   ust/alt bosluklarini tarayicidaki bulanik katman doldurur. */
.thumb-blur-bg { display: none; }
.thumb-fit { z-index: 1 !important; }
.video-status, .video-badge, .video-duration, .card-kebab, .card-menu { z-index: 5 !important; }

/* Mobilde bildirim zil ikonu beyaz */
@media (max-width: 768px) {
  .notif-bell { color: #fff !important; }
  .notif-bell svg { stroke: #fff !important; color: #fff !important; }
}

/* Mobilde bildirim zil ikonu beyaz */
@media (max-width: 768px) {
  .notif-bell { color: #fff !important; }
  .notif-bell svg { stroke: #fff !important; color: #fff !important; }
}

/* Mobil kategori cubugu: Reels + Galeri butonlari ici dolu */
.pill-gallery { display: none; }
@media (max-width: 767px) {
  .pill-reels, .pill-gallery {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: var(--green) !important;
    border: 1.5px solid var(--green) !important;
    color: #0d0d0d !important;
    font-weight: 600;
  }
}

/* Reels + Galeri ikonlari siyah */
@media (max-width: 767px) {
  .pill-reels svg, .pill-gallery svg {
    stroke: #000 !important;
    color: #000 !important;
    fill: none !important;
  }
  .pill-reels, .pill-gallery { color: #000 !important; }
}

/* ═══ GALERI ═══ */
.gallery-masonry { column-count: 4; column-gap: 12px; }
@media (max-width: 1100px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 767px) { .gallery-masonry { column-count: 2; column-gap: 8px; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}
.gallery-item img { width: 100%; display: block; }
.gallery-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 10px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #e8e8e8; font-size: 12px;
}

.gallery-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
}
.lb-content { text-align: center; max-width: 92vw; }
.lb-content img { max-width: 92vw; max-height: 82vh; border-radius: 8px; display: block; margin: 0 auto; }
.lb-info { margin-top: 10px; }
.lb-user { color: #e8e8e8; font-size: 14px; }
.lb-sub { color: #8a8a8a; font-size: 12px; }
.lb-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: #e8e8e8;
  font-size: 34px; line-height: 1; cursor: pointer; padding: 0;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 767px) {
  .lb-nav { width: 38px; height: 38px; font-size: 22px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* Galeri kartlari: video karti tasarimi + masonry, fotograf kendi oraninda */
.gallery-item { background: none; border-radius: 0; overflow: visible; }
.gallery-item .video-thumb { aspect-ratio: auto !important; height: auto !important; }
.gallery-item .video-thumb img { position: static !important; object-fit: contain !important; height: auto !important; }
.gallery-item .thumb-blur-bg { display: none !important; }

/* Video/Foto secim butonlari (yukleme ekrani) */
.upload-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.upload-type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all .15s;
}
.upload-type-btn:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); color: var(--text); }
.upload-type-btn.active {
  background: var(--green);
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  color: #0d0d0d;
}

/* Mobilde sort butonu her zaman sagda kalsin (galeri + sonuclar) */
@media (max-width: 767px) {
  #page-results .results-head,
  #page-gallery .results-head {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 10px;
  }
  #page-results .results-filter,
  #page-gallery .results-filter {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  #page-results .results-head > div:first-child,
  #page-gallery .results-head > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }
}

/* Siralama menusu: goruntu duzeltmesi (results + galeri) */
#page-results .results-filter-menu,
#page-gallery .results-filter-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  left: auto !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 260px !important;
  z-index: 999 !important;
  background: var(--bg-card) !important;
  border: 2px solid var(--border-strong) !important;
  border-radius: 10px !important;
  padding: 5px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.55) !important;
}
#page-results .results-filter-menu button,
#page-gallery .results-filter-menu button {
  width: 100% !important;
  font-size: 14px !important;
  padding: 9px 12px !important;
  white-space: nowrap !important;
}

/* Galeri: filigran + hover efekti */
.gallery-watermark {
  position: absolute;
  top: 8px; right: 10px;
  color: rgba(255,255,255,.68);
  font-size: clamp(9px, 3.5cqw, 22px);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
  pointer-events: none;
  user-select: none;
  z-index: 3;
}
.lb-img-wrap { position: relative; display: inline-block; }
.lb-watermark {
  position: absolute;
  top: 10px; right: 12px;
  color: rgba(255,255,255,.68);
  font-size: clamp(13px, 1.6vw, 20px);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
  pointer-events: none;
  user-select: none;
}
.gallery-item {
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 26px rgba(0,0,0,.5);
  z-index: 2;
}

/* Lightbox gezinme butonlari: daha zarif */
.lb-nav {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(20,20,20,.55) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85) !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s, transform .18s;
  opacity: .75;
}
.lb-nav:hover {
  background: rgba(35,35,35,.8) !important;
  border-color: rgba(255,255,255,.3) !important;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
.lb-nav::before {
  content: '';
  width: 11px; height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
}
.lb-prev::before { transform: rotate(-135deg); margin-left: 3px; }
.lb-next::before { transform: rotate(45deg); margin-right: 3px; }
@media (max-width: 767px) {
  .lb-nav { width: 36px !important; height: 36px !important; }
  .lb-nav::before { width: 9px; height: 9px; }
}

/* Lightbox gezinme butonlari: daha zarif */
.lb-nav {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(20,20,20,.55) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85) !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s, transform .18s;
  opacity: .75;
}
.lb-nav:hover {
  background: rgba(35,35,35,.8) !important;
  border-color: rgba(255,255,255,.3) !important;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
.lb-nav::before {
  content: '';
  width: 11px; height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
}
.lb-prev::before { transform: rotate(-135deg); margin-left: 3px; }
.lb-next::before { transform: rotate(45deg); margin-right: 3px; }
@media (max-width: 767px) {
  .lb-nav { width: 36px !important; height: 36px !important; }
  .lb-nav::before { width: 9px; height: 9px; }
}

/* Lightbox baslik */
.lb-title {
  color: #f0f0f0;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .lb-title { font-size: 15px; }
}

/* Lightbox: ortala + minimal yazilar */
.gallery-lightbox {
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 20px !important;
}
.lb-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  max-height: 100% !important;
}
.lb-content img { max-height: 74vh !important; }
.lb-info { margin-top: 12px !important; text-align: center !important; }
.lb-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #d8d8d8 !important;
  margin-bottom: 2px !important;
}
.lb-user {
  font-size: 12px !important;
  color: #9a9a9a !important;
}
.lb-sub {
  font-size: 11px !important;
  color: #6e6e6e !important;
}
@media (max-width: 767px) {
  .gallery-lightbox { padding: 20px 10px !important; }
  .lb-content img { max-height: 70vh !important; }
  .lb-title { font-size: 12px !important; }
}

/* Lightbox: gercek dikey ortalama */
.gallery-lightbox {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.lb-content {
  max-height: 92vh !important;
  margin: auto !important;
  padding: 0 60px !important;
}
.lb-content img {
  max-height: 76vh !important;
  width: auto !important;
  object-fit: contain !important;
}
.lb-info { margin-top: 10px !important; }
@media (max-width: 767px) {
  .lb-content { padding: 0 44px !important; }
  .lb-content img { max-height: 72vh !important; }
}

/* Lightbox dikey ortalama - kesin cozum */
.gallery-lightbox {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.lb-content {
  display: grid !important;
  place-items: center !important;
  grid-template-rows: auto auto !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 96vh !important;
  max-width: 92vw !important;
}
.lb-img-wrap { display: grid !important; place-items: center !important; }
.lb-content img {
  max-height: 78vh !important;
  max-width: 88vw !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}
.lb-info { margin: 10px 0 0 0 !important; }

/* Lightbox: icerigi biraz asagi kaydir */
.lb-content { transform: translateY(26px) !important; }
@media (max-width: 767px) {
  .lb-content { transform: translateY(16px) !important; }
}

/* Lightbox kapatma butonu: tiklanabilir ve gorunur */
.lb-close {
  position: fixed !important;
  top: 16px !important;
  right: 20px !important;
  z-index: 10000 !important;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,20,20,.55) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 50%;
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(40,40,40,.8) !important; }

/* Lightbox kapatma butonu her zaman ustte ve tiklanabilir */
.lb-close {
  position: fixed !important;
  top: 16px !important;
  right: 20px !important;
  z-index: 10001 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(20,20,20,.6) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Lightbox kapatma: sade x, cerceve yok */
.lb-close {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  font-size: 32px !important;
  color: rgba(255,255,255,.75) !important;
  padding: 4px 8px !important;
}
.lb-close:hover { color: #fff !important; background: none !important; }

/* Lightbox kapatma: kesin tiklanabilir */
.gallery-lightbox .lb-close {
  position: fixed !important;
  top: 14px !important;
  right: 18px !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
  background: none !important;
  border: none !important;
  color: rgba(255,255,255,.8) !important;
  font-size: 34px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 6px 10px !important;
}

/* Mobilde galeri fotograflari kenarlara daha yakin */
@media (max-width: 767px) {
  #page-gallery .results-body { padding-left: 4px !important; padding-right: 4px !important; }
  .gallery-masonry { column-gap: 5px !important; }
  .gallery-item { margin-bottom: 5px !important; }
}

/* Lightbox: butonlar resmin ustunde, cembersiz, kucuk */
.gallery-lightbox .lb-nav {
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 40px !important;
  height: 40px !important;
  z-index: 10002 !important;
  opacity: .8 !important;
  color: #fff !important;
}
.gallery-lightbox .lb-nav:hover { opacity: 1 !important; background: none !important; }
.gallery-lightbox .lb-nav::before { width: 13px !important; height: 13px !important; border-width: 2.5px !important; }
.gallery-lightbox .lb-prev { left: 10px !important; }
.gallery-lightbox .lb-next { right: 10px !important; }
.gallery-lightbox .lb-close { z-index: 10003 !important; }
@media (max-width: 767px) {
  .gallery-lightbox .lb-nav { width: 32px !important; height: 32px !important; }
  .gallery-lightbox .lb-nav::before { width: 10px !important; height: 10px !important; border-width: 2px !important; }
  .gallery-lightbox .lb-prev { left: 4px !important; }
  .gallery-lightbox .lb-next { right: 4px !important; }
  .gallery-lightbox .lb-close { top: 10px !important; right: 12px !important; font-size: 30px !important; }
}

/* Lightbox kapali durumu - !important cakismasini cozer */
.gallery-lightbox.lb-hidden { display: none !important; }

/* Profil sekmeleri (Videolar / Galeri) */
.profile-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
/* Kayan yesil cubuk */
.profile-tabs::after {
  content: '';
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--green);
  left: var(--ind-left, 0);
  width: var(--ind-width, 0);
  transition: left .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
}
.profile-tab { position: relative; }
.profile-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 4px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .15s;
}
.profile-tab:hover { color: var(--text); }
.profile-tab.active {
  color: var(--text);
}
.ptab-count {
  font-size: 12px;
  color: var(--text-faint);
  background: var(--bg-elev);
  padding: 1px 8px;
  border-radius: 999px;
}
.profile-tab.active .ptab-count { color: var(--green); }

/* Profil foto sekmesi bos durumu video gibi ortalansin */
#profile-photos:has(.empty-state) {
  column-count: 1 !important;
  display: block !important;
}
#profile-photos .empty-state {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}

/* Dislike ikonundaki cerceveyi kesin kaldir */
.cmt-dislike-btn, .cmt-dislike-icon, .cmt-dislike-icon svg {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cmt-dislike-btn:hover { background: var(--bg-elev) !important; }

/* Yanit cizgisi: YouTube/Reddit tarzi kivrimli (L sekli) */
.comment-replies {
  margin-left: 20px;
}




/* Yanitlar kutusu: sol dikey cizgi ana yorum avatarinin hizasinda */
.comment-replies {
  margin-top: 8px !important;
  margin-left: -28px !important;
  padding-left: 46px !important;
  
  position: relative;
}
/* Ana yorumdan inen dikey cizgi */

/* Her yanit: dikey cizgiden avatara kivrilan L ucu */
.comment-item.is-reply {
  position: relative;
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-bottom: none !important;
}




/* Her yanitin soluna kivrimli L cizgisi */

/* Birden fazla yanit varsa ust yanitlari birbirine baglayan dikey uzanti */


/* Yanit cizgilerini kesin kaldir */
.comment-replies, .comment-item.is-reply { border-left: none !important; }
.comment-item.is-reply::before, .comment-item.is-reply::after,
.comment-replies::before, .comment-replies::after { display: none !important; content: none !important; }


/* Yanit sade girinti (cizgisiz) */
.comment-item.is-reply { margin-left: 0 !important; padding-left: 0 !important; }
.comment-replies.collapsed { display: none; }

/* Yanit kutusu: derli toplu tek blok */
.comment-reply-box {
  margin-top: 10px;
  margin-bottom: 4px;
}
.comment-reply-input {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  padding: 10px 12px;
  resize: none;
  min-height: 40px;
  font-family: inherit;
  box-sizing: border-box;
}
.comment-reply-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.comment-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

/* Yanit cizgisi: DUZ dikey (kivrimsiz) */
.comment-item.is-reply::before,
.comment-item.is-reply::after,
.comment-replies::before,
.comment-replies::after { display: none !important; content: none !important; }
.comment-replies {
  margin-top: 8px !important;
  margin-left: 18px !important;
  padding-left: 20px !important;
  border-left: 2px solid var(--border-strong) !important;
}
.comment-item.is-reply {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-bottom: none !important;
}

/* Yanitlar tamamen sola - girinti yok */
.comment-replies {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-left: none !important;
}
.comment-item.is-reply {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.comment-item.is-reply::before,
.comment-item.is-reply::after { display: none !important; content: none !important; }

/* Yorum kutusu ile yorumlar arasi bosluk azalt */
.comment-form { margin-bottom: 12px !important; }
#comments-list { margin-top: 0 !important; padding-top: 0 !important; }
#comments-list .comment-item:first-child { margin-top: 0 !important; padding-top: 8px !important; }

/* Send butonu: sadece yorum kutusuna odaklaninca gorunsun */
.comment-form .btn-primary,
#comment-form-wrapper .btn-primary {
  display: none;
}
.comment-form:focus-within .btn-primary,
#comment-form-wrapper:focus-within .btn-primary {
  display: inline-flex;
}
/* Yorumlar cizgiye yakin dursun */
.comment-form { margin-bottom: 6px !important; padding-bottom: 0 !important; }
#comments-list { margin-top: 0 !important; padding-top: 0 !important; }
#comments-list .comment-item:first-child { padding-top: 6px !important; }

/* Send butonu: sadece yorum kutusuna odaklaninca gorunsun */
.comment-form .btn-primary,
#comment-form-wrapper .btn-primary {
  display: none;
}
.comment-form:focus-within .btn-primary,
#comment-form-wrapper:focus-within .btn-primary {
  display: inline-flex;
}
/* Yorumlar cizgiye yakin dursun */
.comment-form { margin-bottom: 6px !important; padding-bottom: 0 !important; }
#comments-list { margin-top: 0 !important; padding-top: 0 !important; }
#comments-list .comment-item:first-child { padding-top: 6px !important; }

/* Yorum yazma kutusundaki avatar biraz kucuk */
.comment-form .comment-avatar,
#comment-form-wrapper .comment-avatar {
  width: 34px !important;
  height: 34px !important;
  flex-shrink: 0;
}

/* Yorum yazma avatari daha kucuk */
.comment-form .comment-avatar,
#comment-form-wrapper .comment-avatar {
  width: 28px !important;
  height: 28px !important;
  font-size: 11px !important;
}

/* Mobilde yorum yazma kutusundaki avatari gizle */
@media (max-width: 768px) {
  .comment-form .comment-avatar,
  #comment-form-wrapper .comment-avatar { display: none !important; }
}

/* Comments basligi ile yazma kutusu arasi bosluk */
.watch-comments h3 { margin-bottom: 14px !important; }
.comment-form, #comment-form-wrapper { margin-top: 10px !important; }

/* Comments basligi ust/alt bosluk dengesi */
@media (max-width: 768px) {
  .watch-comments h3 { margin-bottom: 8px !important; }
  .watch-comments { padding-bottom: 10px !important; }
}

/* Comments alt cizgisi yaziya daha yakin */
@media (max-width: 768px) {
  .watch-comments { padding-bottom: 4px !important; }
  .watch-comments:not(.open) h3 { margin-bottom: 0 !important; padding-bottom: 0 !important; }
}

/* Comments alt bosluk ince ayar */
@media (max-width: 768px) {
  .watch-comments { padding-bottom: 12px !important; }
}

/* Video suresi: beyaz ve biraz buyuk */
.video-duration {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 3px 6px !important;
}
/* Onerilen videolarda da sure gorunsun */
.related-card .video-duration,
.related-thumb .video-duration { display: block !important; }
.related-thumb { position: relative; }

/* Video suresi: beyaz ve biraz buyuk */
/* Onerilen videolarda da sure gorunsun */
.related-card .video-duration,
.related-thumb .video-duration { display: block !important; }
.related-thumb { position: relative; }

/* Cok dar ekranda: ust telegram gizlensin, drawer'daki gorunsun */
.dr-telegram { display: none; }
@media (max-width: 768px) {
  .dr-telegram { display: flex; align-items: center; }
}
@media (max-width: 400px) {
  .nav-right .nav-telegram { display: none !important; }
}

/* Yorumda @bahsetme mavi link */
.comment-mention { color: #3ea6ff; cursor: pointer; }
.comment-mention:hover { text-decoration: underline; }

/* Yorum begen/dislike: aktif olunca ic dolsun */
.cmt-like-btn.active .cmt-like-icon svg,
.cmt-like-btn.active .cmt-like-icon svg path {
  fill: var(--green) !important;
  stroke: var(--green) !important;
  color: var(--green) !important;
}
.cmt-like-btn.active { color: var(--green) !important; }
.cmt-dislike-btn.active .cmt-dislike-icon svg,
.cmt-dislike-btn.active .cmt-dislike-icon svg path {
  fill: var(--red) !important;
  stroke: var(--red) !important;
  color: var(--red) !important;
}
.cmt-dislike-btn.active { color: var(--red) !important; }

/* Begen/dislike ayni hizada ve akici gecis */
.cmt-like-btn, .cmt-dislike-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  vertical-align: middle;
  transition: color .18s ease, transform .12s ease;
}
.cmt-like-btn .cmt-like-icon, .cmt-dislike-btn .cmt-dislike-icon {
  display: inline-flex;
  align-items: center;
}
.cmt-like-icon svg, .cmt-dislike-icon svg {
  transition: fill .18s ease, stroke .18s ease, transform .15s ease;
}
.cmt-like-btn:active .cmt-like-icon svg,
.cmt-dislike-btn:active .cmt-dislike-icon svg {
  transform: scale(1.25);
}

/* Ikon ici SADECE aktifken dolsun, pasifken bos */
.cmt-like-btn:not(.active) .cmt-like-icon svg,
.cmt-like-btn:not(.active) .cmt-like-icon svg path,
.cmt-dislike-btn:not(.active) .cmt-dislike-icon svg,
.cmt-dislike-btn:not(.active) .cmt-dislike-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
}
/* Aktifken dolgu */
.cmt-like-btn.active .cmt-like-icon svg path { fill: var(--green) !important; stroke: var(--green) !important; }
.cmt-dislike-btn.active .cmt-dislike-icon svg path { fill: var(--red) !important; stroke: var(--red) !important; }
/* Tiklama efekti ikisinde de */
.cmt-like-btn:active, .cmt-dislike-btn:active { transform: scale(0.92); }
.cmt-like-icon svg, .cmt-dislike-icon svg { transition: fill .18s ease, stroke .18s ease, transform .15s ease; }

/* Dislike butonu birebir like gibi davransin */
.cmt-dislike-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: none !important;
  border: none !important;
  border-radius: 999px !important;
  color: var(--text-dim) !important;
  font-size: 13px !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  transition: background .15s ease, color .18s ease, transform .12s ease !important;
}
.cmt-dislike-btn:hover {
  background: var(--bg-elev) !important;
  color: var(--text) !important;
}
.cmt-dislike-btn.active { color: var(--red) !important; }
.cmt-dislike-btn:active { transform: scale(0.92) !important; }

/* Onerilen kartlarda bulanik arka plan calissin */
.related-thumb { position: relative; overflow: hidden; }
.related-thumb .thumb-blur-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(3px); z-index: 0; }
.related-thumb .thumb-fit { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }

/* Profil sekmeleri: kapali olan kesin gizli */
#profile-photos[style*="display:none"], #profile-photos[style*="display: none"] { display: none !important; }
#profile-videos[style*="display:none"], #profile-videos[style*="display: none"] { display: none !important; }









/* 3 nokta menusu hover'da titremesin (Safari) */
.card-kebab {
  opacity: 0;
  transition: opacity .18s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: opacity;
}
.gallery-item .card-kebab, .video-card .card-kebab { pointer-events: auto; }
.gallery-item:hover .card-kebab, .video-card:hover .card-kebab,
.reel-mini:hover .card-kebab { opacity: 1; }

/* Buyume efekti sutun duzenini bozmasin (Safari titremesi biter) */
.gallery-item {
  position: relative;
  z-index: 1;
  transform-origin: center center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.gallery-item:hover {
  z-index: 10;
  -webkit-transform: scale(1.025) translateZ(0);
  transform: scale(1.025) translateZ(0);
}

/* 1) Arama cubugu biraz daha dar ekrana kadar kalsin */
@media (max-width: 1200px) and (min-width: 1000px) {
  .nav--search .nav-search { display: flex !important; padding: 0 10px !important; }
  .nav--search .nav-search .search-bar { max-width: 320px !important; }
  .nav--search .nav-msearch-icon { display: none !important; }
}
/* 2) Ust bar elemanlari saga yapisik kalsin */
@media (max-width: 1150px) {
  .nav { justify-content: space-between !important; }
  .nav-left { margin-right: 0 !important; }
  .nav-right { margin-left: auto !important; gap: 6px !important; }
}
/* 3) Hamburger her zaman tiklanabilir */
.nav-burger { position: relative; z-index: 200; pointer-events: auto !important; }






/* Support ile linkler arasi mesafe korunsun, sikismadan gizlensinler */
.nav-left { margin-right: 24px !important; }
.nav-right { margin-left: 24px !important; }
@media (max-width: 1150px) {
  .nav-links { display: none !important; }
}

/* Arama cubugu esner: sol yaziya ve support'a yapisik kalir */
.nav--search .nav-search {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 14px !important;
  justify-content: stretch !important;
}
.nav--search .nav-search .search-bar {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Kalan butonlar hamburgere yapisik dursun */
@media (max-width: 1150px) {
  .nav-right { gap: 8px !important; margin-right: 0 !important; }
  .nav-burger { margin-left: 8px !important; }
  .nav { padding-right: 12px !important; }
}

/* Hamburger, menu linkleri gizlenir gizlenmez ciksin + butonlar saga yapissin */
@media (max-width: 1150px) {
  .nav-burger { display: inline-flex !important; }
  .nav-right { margin-left: auto !important; margin-right: 0 !important; gap: 10px !important; }
  .nav-burger { margin-left: 10px !important; }
  .nav { padding-right: 14px !important; }
}

/* Menu linkleri her sayfada logoya yapisik dursun (ortada degil) */
.nav-links { position: static !important; left: auto !important; transform: none !important; }

/* Safari titreme cozumu: karti degil ICINDEKI gorseli buyut */
.gallery-masonry { -webkit-column-break-inside: avoid; }
.gallery-item, .gallery-item:hover {
  transform: none !important;
  transition: box-shadow .22s ease !important;
}
.gallery-item:hover { box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.gallery-item .video-thumb { overflow: hidden !important; }
.gallery-item img {
  display: block;
  transition: transform .22s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.gallery-item:hover img { transform: scale(1.04); }

/* Filigran ve kullanici adi fotografla BIRLIKTE buyusun */
.gallery-item { overflow: visible !important; position: relative; } /* GAL-KUTU */
.gallery-item:hover { z-index: 5; }
.gallery-item:hover img { transform: none !important; }
.gallery-item .gal-inner {
  display: block; position: relative;
  transition: transform .22s ease;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  container-type: inline-size;
}
.gallery-item:hover .gal-inner { transform: scale(1.04); }

/* GAL-GRID: column-count yerine grid -> Safari sutun cizim hatasi biter */
.gallery-masonry {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1px;
  column-gap: 12px;
  align-items: start;
}
@media (max-width: 1100px) { .gallery-masonry { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 767px) { .gallery-masonry { grid-template-columns: repeat(2, 1fr) !important; column-gap: 8px; } }
.gallery-item { margin-bottom: 0 !important; grid-row-end: span 220; break-inside: auto !important; }

/* MOBIL-NAV-SON: ogeler saga toplu, masaustuyle ayni 10px aralik */
@media (max-width: 820px) {
  .nav { justify-content: flex-start !important; gap: 0 !important; padding: 0 12px !important; }
  .nav-left { margin-right: auto !important; flex: 0 0 auto !important; }
  .nav-right {
    margin-left: 0 !important; margin-right: 0 !important;
    gap: 10px !important; flex: 0 0 auto !important;
  }
  .nav-burger { margin-left: 10px !important; }
}

/* TG-ESITLE2: mavi logo, diger ikonlarla ayni cerceve ve olcu */
.nav-telegram {
  width: 36px !important; height: 36px !important;
  border: none !important;
  border-radius: 50% !important;
  background: none !important;
  opacity: 1 !important;
  padding: 0 !important;
  overflow: hidden;
}
.nav-telegram img { width: 100% !important; height: 100% !important; display: block !important; object-fit: cover !important; border-radius: 50% !important; }
/* TG-KUCUK: buton toptan kucuk, mavi daire cerceveye yapisik */
.nav-telegram { width: 32px !important; height: 32px !important; }
.nav-telegram:hover { transform: none !important; border-color: var(--green) !important; }

/* NAV-IKON-HOVER (TEK KURAL): cerceve/halka yok — zemin ve yazi birlikte acilir */
.nav-telegram:hover,
.notif-bell:hover,
.nav-msearch-icon:hover,
.nav-guest-icon:hover,
.nav-burger:hover,
.nav-support:hover,
.btn-outline.nav-auth-btn:hover,
.nav-avatar:hover {
  background: var(--nav-btn-bg-hover) !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--text) !important;
  transform: none !important;
}
.notif-bell:hover svg,
.nav-msearch-icon:hover svg,
.nav-guest-icon:hover svg,
.nav-burger:hover svg {
  stroke: var(--text) !important;
  color: var(--text) !important;
}

/* BLUR-VID: kapaksiz videolarda da bulanik kenar */
.video-thumb .thumb-blur-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(.85);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}
.video-thumb video.thumb-fit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* KEBAB-GORUNUR: menu acikken kart kirpmasin */
.video-card:has(.card-menu:not(.hidden)) { overflow: visible; }
.card-menu { z-index: 500; }

/* KAPAK-BASLIK: baslik ile aciklama arasi normal bosluk */
.thumbnail-modal-box h3 { margin-bottom: 10px; line-height: 1.4; }
.thumbnail-modal-box h3 + .muted.small { margin-top: 0; line-height: 1.5; }

/* EDIT-MODAL: site temasinda duzenleme penceresi */
.edit-modal-box { max-width: 480px; }
.edit-lbl { display: block; margin: 14px 0 6px; font-size: 13px; color: var(--text-dim); }
.edit-inp {
  width: 100%; box-sizing: border-box;
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.edit-inp:focus { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.edit-area { resize: vertical; min-height: 84px; line-height: 1.5; }
.edit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* KART-HOVER: daha belirgin ve yumusak buyume */
.video-grid, .grid-trending, #results-grid { overflow: visible; }

/* MOBIL-DOKUNMA: efekt calisir ama yapismaz */
@media (hover: none), (pointer: coarse) {
  .video-card:hover { transform: none !important; box-shadow: none !important; }
  .video-card.touch-on {
    transform: scale(1.045) translateZ(0) !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.62) !important;
    z-index: 6;
  }
}

/* SHOW-MORE: tam genislik koyu kutu + sagda ok */
.more-btn {
  background: #0b0b0b !important;
  border-color: #141414 !important;
  color: var(--green) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .18s ease, border-color .18s ease !important;
}
.more-btn::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 1;
  transition: right .2s ease;
}
.more-btn:hover { background: #161616 !important; border-color: #262626 !important; }
.more-btn:hover::after { right: 14px; }

/* OX-REELS: yatay kaydirmali reels seridi */
.reels-ox {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #000;
  font-size: 12px; font-weight: 800; letter-spacing: -.5px;
  padding: 3px 6px; border-radius: 5px; margin-right: 2px;
}
.reels-row {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reels-row::-webkit-scrollbar { display: none; }
.reel-mini { flex: 0 0 150px; scroll-snap-align: start; cursor: pointer; }
.reel-mini-thumb {
  position: relative; width: 100%; aspect-ratio: 9/16;
  border-radius: 10px; overflow: hidden; background: #000;
  border: 0.5px solid #141414;
}
.reel-mini-thumb img, .reel-mini-thumb video {
  /* Reels kapagi 9:16 uretilene kadar cover kalir (contain ile ince serit oluyordu) */
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.reel-mini-title {
  margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.3;
}
.reel-mini-views { margin-top: 3px; font-size: 12px; color: var(--text-faint); }
@media (max-width: 767px) { .reel-mini { flex: 0 0 122px; } }

/* OX-REELS-2: logo + kartlar buyuk ve yakin */
.reels-ox-img { height: 40px; width: auto; display: block; border-radius: 5px; }
.reels-row { gap: 6px !important; }
.reel-mini { flex: 0 0 200px !important; }
@media (max-width: 767px) { .reel-mini { flex: 0 0 156px !important; } }

/* NEW-UPLOADS-IKON: sadece Yeni Yuklenenler ikonu buyuk */
#page-home .section:has(#grid-new) .section-icon svg { width: 28px !important; height: 28px !important; }

/* REELS-BUYUT: kartlar mevcut alan icinde buyusun, bolum yuksekligi artmasin */
.reels-row-sec { padding-top: 10px !important; padding-bottom: 10px !important; }
.reels-row-sec .section-head { margin-bottom: 8px !important; }
.reel-mini { flex: 0 0 232px !important; }
.reel-mini-title { margin-top: 5px !important; font-size: 13px !important; -webkit-line-clamp: 1 !important; }
.reel-mini-views { margin-top: 1px !important; }
@media (max-width: 767px) { .reel-mini { flex: 0 0 200px !important; } }

/* REEL-SEEALL: seridin sonundaki See all karti */
.reel-mini-all { flex: 0 0 120px !important; }
.reel-all-box {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: #0e0e0e !important; border: 1px solid #1c1c1c !important;
  transition: background .18s ease, border-color .18s ease;
}
.reel-mini-all:hover .reel-all-box { background: #171717 !important; border-color: #2a2a2a !important; }
.reel-all-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--green);
  position: relative;
  transition: transform .2s ease;
}
.reel-all-arrow::after {
  content: ''; position: absolute;
  left: 42%; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--green);
  border-top: 2.5px solid var(--green);
  transform: translate(-50%, -50%) rotate(45deg);
}
.reel-mini-all:hover .reel-all-arrow { transform: translateX(3px); }
.reel-all-text { font-size: 13px; font-weight: 600; color: var(--green); }
@media (max-width: 767px) { .reel-mini-all { flex: 0 0 96px !important; } }

/* REEL-SEEALL-SADE: arka plansiz, gri */
.reel-all-box { background: transparent !important; border: none !important; }
.reel-mini-all:hover .reel-all-box { background: transparent !important; border: none !important; }
.reel-all-arrow { border-color: #8a8a8a !important; }
.reel-all-arrow::after { border-right-color: #8a8a8a !important; border-top-color: #8a8a8a !important; }
.reel-all-text { color: #8a8a8a !important; }
.reel-mini-all:hover .reel-all-arrow { border-color: #c9c9c9 !important; }
.reel-mini-all:hover .reel-all-arrow::after { border-right-color: #c9c9c9 !important; border-top-color: #c9c9c9 !important; }
.reel-mini-all:hover .reel-all-text { color: #c9c9c9 !important; }

/* REEL-SEEALL-ORTALA: ok ve yazi dikey ortada */
.reel-mini-all .reel-all-box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.reel-mini-all { display: flex; flex-direction: column; }
.reel-mini-all .reel-mini-thumb { aspect-ratio: 9/16 !important; }

/* REEL-SEEALL-KUTU: sadece video cercevesi yuksekliginde ortala */
.reel-mini-all { align-self: flex-start !important; }
.reel-mini-all .reel-mini-thumb {
  aspect-ratio: 9/16 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.reel-mini-all .reel-all-box { height: 100% !important; width: 100% !important; }

/* REEL-SEEALL-SABIT: video cercevesiyle ayni yukseklik, tam ortada */
.reels-row { align-items: flex-start !important; }
.reel-mini-all { align-self: flex-start !important; }
.reel-mini-all .reel-mini-thumb {
  aspect-ratio: auto !important;
  height: calc(232px * 16 / 9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
}
@media (max-width: 767px) {
  .reel-mini-all .reel-mini-thumb { height: calc(168px * 16 / 9) !important; }
}

/* SHOW-MORE-GRI: yazi ve ok acik gri */
.more-btn { color: #c9c9c9 !important; }
.more-btn:hover { color: #ffffff !important; }

/* SHOW-MORE-OK-YANDA: ok yazinin hemen saginda */
.more-btn { gap: 10px !important; }
.more-btn::after {
  position: static !important;
  right: auto !important; top: auto !important;
  transform: rotate(45deg) !important;
  margin-left: 0 !important;
  vertical-align: middle;
}
.more-btn:hover::after { right: auto !important; transform: translateX(3px) rotate(45deg) !important; }

/* SEEALL-ASAGI: ok ve yazi cok az asagida */
.reel-mini-all .reel-all-box { padding-top: 16px !important; }

/* SHOW-MORE-MOBIL: mobilde yazi bir tik kucuk */
@media (max-width: 767px) { .more-btn { font-size: 14px !important; } }

/* SEEALL-KART: kategori ve creator seridi sonundaki See all */
.cat-seeall, .crt-seeall {
  display: flex !important; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: transparent !important; border: none !important;
  cursor: pointer;
}
.crt-seeall { flex: 0 0 auto; min-width: 110px; }
.seeall-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #8a8a8a; position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.seeall-arrow::after {
  content: ''; position: absolute;
  left: 42%; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid #8a8a8a;
  border-top: 2.5px solid #8a8a8a;
  transform: translate(-50%, -50%) rotate(45deg);
}
.seeall-text { font-size: 13px; font-weight: 600; color: #8a8a8a; }
.cat-seeall:hover .seeall-arrow, .crt-seeall:hover .seeall-arrow { border-color: #c9c9c9; transform: translateX(3px); }
.cat-seeall:hover .seeall-arrow::after, .crt-seeall:hover .seeall-arrow::after { border-right-color: #c9c9c9; border-top-color: #c9c9c9; }
.cat-seeall:hover .seeall-text, .crt-seeall:hover .seeall-text { color: #c9c9c9; }

/* SHOW-MORE-MUAF: kendi sade gorunumu, yesil cerceve almaz */
.more-btn:hover:not(:disabled) {
  border-color: var(--border-strong);
  box-shadow: none;
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* SEEALL-CERCEVE-YOK: See all kutusu kart hover cercevesini almaz,
   sadece yazi parlar ve ok saga kayar */
.category-card.cat-seeall:hover,
.category-card.crt-seeall:hover,
.cat-seeall:hover, .crt-seeall:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.cat-seeall .seeall-text, .crt-seeall .seeall-text {
  transition: color .2s ease, transform .2s ease;
}
.cat-seeall:hover .seeall-text, .crt-seeall:hover .seeall-text {
  color: #ffffff;
  transform: translateX(3px);
}

/* SEEALL-DAIRE-KALDIR: kategori ve creator kartinda daire ikon yok */
.cat-seeall .seeall-arrow,
.crt-seeall .seeall-arrow,
.cat-seeall .seeall-arrow::after,
.crt-seeall .seeall-arrow::after {
  display: none !important;
  content: none !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* SEEALL-DAR: kart dar olsun, kutuya yakin dursun */
.cat-seeall, .crt-seeall {
  min-width: 0 !important;
  width: auto !important;
  padding: 0 18px !important;
  justify-self: start !important;
  flex: 0 0 auto !important;
}

/* ILGILI-SURE: yan onerilenlerdeki sure rozeti kucuk */
.related-thumb .video-duration, .watch-related .video-duration {
  font-size: 11px !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
}

/* REL-META: YouTube tarzi iki satir */
.related-card .related-creator { font-size: 12px !important; line-height: 1.25 !important; margin: 0 !important; }
.related-card .related-meta { font-size: 12px !important; line-height: 1.25 !important; color: var(--text-faint) !important; }

/* WATCH-BASLIK: YouTube olcusu video basligi */
.watch-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
}

/* WATCH-YAZI: YouTube tarzi kalin yazilar */
.watch-creator, .watch-username, .watch-meta .creator-name { font-weight: 600 !important; font-size: 15px !important; }
.watch-desc-stats { font-weight: 600 !important; font-size: 14px !important; color: var(--text) !important; }
.watch-description, .watch-desc-text { font-weight: 500 !important; font-size: 14px !important; }
.watch-actions .btn, .watch-actions button { font-weight: 600 !important; }

/* IZLENME-RENK: izlenme sayisi biraz daha okunakli */
.video-views { color: #7d7d7d !important; }
.video-views svg { color: #7d7d7d !important; stroke: #7d7d7d !important; }

/* REL-BASLIK: onerilen video basligi 2 satir + uc nokta */
.related-card .related-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  color: #f1f1f1 !important;
}

/* IZLENME-RENK: izlenme sayisi daha okunakli */
.video-views { color: #7d7d7d !important; }
.video-views svg { color: #7d7d7d !important; stroke: #7d7d7d !important; }

/* REL-KEBAB: onerilen kartlarda uc nokta menusu */
.related-card { position: relative !important; }
.rel-kebab {
  position: absolute; top: 4px; right: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; border-radius: 50%;
  opacity: 1;
  z-index: 6;
}
.related-card:hover .rel-kebab { opacity: 1; }
.rel-kebab:hover { background: rgba(255,255,255,.12); }
.rel-kebab svg { width: 24px; height: 24px; color: #fff; stroke-width: 3; }
.rel-menu {
  position: absolute; top: 30px; right: 4px;
  background: var(--bg-card);
  border: 0.5px solid var(--border-strong);
  border-radius: 10px; padding: 4px; min-width: 150px;
  z-index: 60; box-shadow: 0 6px 24px rgba(0,0,0,.55);
}
.rel-menu.hidden { display: none; }
.rel-menu-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; background: none; border: none;
  color: var(--text); font-size: 13px; text-align: left;
  padding: 8px 10px; border-radius: 7px; cursor: pointer;
}
.rel-menu-item:hover { background: var(--bg-elev); }

/* REL-BOSLUK: baslik ile uc nokta arasi mesafe */
.related-card .related-info { padding-right: 26px !important; }
.related-card .rel-kebab { width: 24px; height: 24px; }
.related-card .rel-kebab svg { width: 22px !important; height: 22px !important; stroke-width: 3 !important; color: #fff !important; }

/* SURE-SEFFAF: sure rozeti YouTube tarzi yari saydam */
.video-duration {
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 5px !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* MOBIL-SURE: mobilde sure rozeti bir tik kucuk */
@media (max-width: 767px) {
  .video-duration {
    font-size: 11px !important;
    padding: 2px 5px !important;
  }
}

/* SURE-YT: YouTube olculeri - dar kutu, kalin yazi */
.video-duration {
  padding: 3px 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  border-radius: 4px !important;
}
@media (max-width: 767px) {
  .video-duration { padding: 2px 4px !important; font-size: 11px !important; }
}
/* YT-KART2: sadece zemin ve cerceve seffaf, konumlar aynen kalir */
.video-card {
  background: transparent !important;
  border-color: transparent !important;
}
.video-card:hover { background: transparent !important; border-color: transparent !important; }

/* MOBIL-KENAR: kartlar ekran kenarina yakin, ortadaki bosluk korunur */
@media (max-width: 767px) {
  #page-home .section { padding-left: 8px !important; padding-right: 8px !important; }
  .container, .container.narrow { padding-left: 8px !important; padding-right: 8px !important; }
  .video-grid { gap: 10px !important; }
}

/* KART-ICBOSLUK: baslik ve alt bilgiler kapaktan hafif icerde (YouTube gibi) */
.video-card .video-info { padding-left: 12px !important; padding-right: 12px !important; }

/* BASLIK-SOL: baslik ve alt bilgiler kapak kenariyla hizali */
.video-card .video-info { padding-left: 2px !important; padding-right: 2px !important; }

/* KART-HOVER-SON: buyume var, arka plan yok, giris-cikis ayni hizda */
.video-card .video-info { padding-left: 2px !important; padding-right: 2px !important; }

/* REEL-MINI-HOVER: seritteki reels kartlari da buyusun */
.reel-mini {
  transform: scale(1);
  transition: transform .38s cubic-bezier(.33,1,.68,1), box-shadow .38s ease;
}
.reel-mini:hover {
  transform: scale(1.045);
  box-shadow: 0 14px 38px rgba(0,0,0,.62);
  z-index: 5;
}
.reels-row { overflow-y: visible; padding-top: 10px; padding-bottom: 16px; }

/* REEL-GOLGE: golge kesilmesin, kart icinde kalsin */
.reels-row { overflow-x: auto !important; overflow-y: visible !important; padding: 12px 4px 20px !important; }
.reel-mini:hover { box-shadow: 0 10px 26px rgba(0,0,0,.5) !important; }
.reel-mini-thumb { box-shadow: none !important; }

/* REEL-GOLGE2: golge kartta degil kapakta olsun */
.reel-mini:hover { box-shadow: none !important; }
.reel-mini .reel-mini-thumb {
  transition: box-shadow .38s ease !important;
}
.reel-mini:hover .reel-mini-thumb {
  box-shadow: 0 12px 30px rgba(0,0,0,.6) !important;
}

/* REEL-GOLGE3: golge yok, sadece buyume; See all sade kalir */
.reel-mini:hover, .reel-mini:hover .reel-mini-thumb {
  box-shadow: none !important;
}
.reel-mini-all, .reel-mini-all:hover {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.reel-mini-all .seeall-text, .reel-mini-all .reel-all-text,
.reel-mini-all .seeall-arrow, .reel-mini-all .reel-all-arrow {
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

/* IZLENME-SOLA: izlenme sayisi sag kenardan icerde dursun */
.video-card .video-meta { padding-right: 12px !important; }

/* SAFARI-HIZ: golge animasyonu kapali, sadece buyume animasyonlu */
.reel-mini { transition: transform .38s cubic-bezier(.33,1,.68,1) !important; }

/* MOBIL-REELS-KUCUK: ana sayfa serit kartlari mobilde bir tik kucuk */
@media (max-width: 767px) {
  .reel-mini { flex: 0 0 166px !important; }
  .reel-mini-all { flex: 0 0 88px !important; }
  .reel-mini-all .reel-mini-thumb { height: calc(142px * 16 / 9) !important; }
}

/* WM-KAYAN: izleme sayfasi filigrani soldan saga kayar, sabit hiz */
.video-watermark {
  bottom: auto !important;
  top: 12% !important;
  right: auto !important;
  left: -35% !important;
  font-size: 12px !important;
  opacity: 0;
  white-space: nowrap;
}
.video-watermark.wm-go {
  animation: wmSlide 9s linear forwards;
}
@keyframes wmSlide {
  0%   { left: -35%; opacity: .42; }
  100% { left: 135%; opacity: .42; }
}

/* KAPAK-SECIM: bos kenarlar otomatik bulanik dolgu */
#frame-crop-frame #upload-frame-blur {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(.94);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}
#frame-crop-frame #upload-frame-video {
  z-index: 1;
  object-fit: contain;
  width: 100%; height: 100%;
  position: absolute;
  transform-origin: center center;
}

/* SETCOVER-CERCEVE: admin kapak secim ekrani 16:9 + bulanik dolgu */
.thumb-crop-frame {
  touch-action: none;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  cursor: grab;
  user-select: none;
}
.thumb-crop-frame.dragging { cursor: grabbing; }
.thumb-crop-frame #thumb-capture-blur {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(.94);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}
.thumb-crop-frame #thumb-capture-video {
  position: absolute;
  width: 100%; height: 100%;
  object-fit: contain;
  z-index: 1;
  transform-origin: center center;
}

/* ETIKET-TEKSATIR: kart etiketleri hep tek satir, tasanlar gizlenir, sonda … rozeti */
.video-card .video-tags {
  flex-wrap: nowrap !important;
  overflow: hidden;
  position: relative;
  min-height: 20px;
}
.video-card .video-tag { flex: 0 0 auto; white-space: nowrap; }
.video-card .video-tag-more { font-weight: 800; letter-spacing: 1px;
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  font-size: 10px; line-height: 1.5;
  color: var(--green);
  background: rgba(201,253,6,0.10);
  padding: 2px 9px;
  border-radius: 11px;
  white-space: nowrap;
}

/* BASLIK-TEKSATIR: kart basligi hep tek satir, tasan kisim … ile kesilir */
.video-card .video-title {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* KART-HOVER-TEK: tum kart gecis/hover kurallari TEK YERDE (cakisan eski bloklar temizlendi) */
.video-card {
  transition: transform .38s cubic-bezier(.33,1,.68,1), box-shadow .38s ease;
}
.video-card:hover {
  transform: scale(1.045);
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
  z-index: 6;
}

/* ===== LIKE / DISLIKE KAPSULU (TEK KURAL - yama yok) =====
   YouTube tarzi: iki buton tek kapsul icinde, ortada ayirici cizgi.
   Iki taraf esit genislikte; begeni sayisi gorununce sol taraf kendiliginden buyur.
   Begeni sayisi 10'un altindaysa watch.js bos birakir, :empty ile gizlenir.
   Begenmeme sayisi hic gosterilmez (arka planda sayilir). */
.like-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 99px;
  overflow: visible;
}
.like-group .action-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: none;
  border-radius: 99px;
  margin: 0;
  width: auto;
  padding: 9px 18px;
  justify-content: center;
  gap: 7px;
  box-shadow: none;
}
.like-group .action-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
  border: none;
  box-shadow: none;
}
/* Begeni sayisi varsa sol taraf genisler */
.like-group #like-btn:has(#like-count:not(:empty)) { width: auto; padding: 8px 16px; }
/* Gosterilmeyen metinler yer kaplamasin */
.like-group #like-label,
.like-group #like-count:empty,
.like-group #dislike-count { display: none; }
/* Ayirici cizgi - kenarlara degmez */
.like-group #dislike-btn { position: relative; }
.like-group #dislike-btn::before {
  display: none;
}

/* Mobilde kapsul yok - eski hali (ayri butonlar, dar) */
@media (max-width: 768px) {
  .like-group {
    background: transparent;
    border: none;
    border-radius: 0;
    gap: 8px;
  }
  .like-group .action-btn {
    background: var(--bg-elev);
    border: 0.5px solid var(--border-strong);
    border-radius: 99px;
    width: auto;
    padding: 8px 14px;
  }
  .like-group #dislike-btn::before { display: none; }
}

/* === ONYX-ACIKLAMA: BASLANGIC === */
/* Kapaliyken sadece ilk cumle TEK SATIR gorunur.
   Kutu metni SARAR (flex: 0 1 auto) — boylece "Show more" metnin hemen ardinda
   durur, sagda uzakta degil. Solma SADECE gercekten kesildiginde (.tasma) uygulanir,
   yoksa kisa metnin sonu bosuna soluk gorunur. */
.watch-description:not(.acik) .wd-devam { display: none; }
.watch-description:not(.acik) .watch-tag.wt-gizli { display: none; }
.watch-description:not(.acik) .watch-desc-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  cursor: pointer;
}
.watch-description:not(.acik) .wd-ilk {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.watch-description:not(.acik).tasma .wd-ilk {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 45px), rgba(0,0,0,0.05) 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 45px), rgba(0,0,0,0.05) 100%);
}
.watch-desc-toggle {
  flex: 0 0 auto;
  display: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 0 5px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
}
.watch-desc-toggle.gorunur { display: inline; }
.watch-desc-toggle:hover,
.watch-desc-toggle:focus,
.watch-desc-toggle:active,
.watch-desc-toggle:visited { color: var(--text-dim); }
/* === ONYX-ACIKLAMA: BITIS === */

/* === ONYX-KART: BASLANGIC === */
/* Dar/dikey duzende onerilen kartlar dokunma/hover tepkisi vermez */
@media (max-width: 1016px) {
  .related-card:hover,
  .related-card:active,
  .related-card:focus {
    background: transparent !important;
    transform: none !important;
  }
  .related-card { -webkit-tap-highlight-color: transparent; }
}
/* === ONYX-KART: BITIS === */

/* === ONYX-AVATAR: BASLANGIC === */
/* Ilgili videolarda avatar SADECE dar/dikey duzende gorunur.
   Boyut kurallari sitenin kendi 1016px blogunda; burasi yalniz gorunurluk. */
.rel-ava { display: none; }
@media (max-width: 1016px) {
  .rel-ava { display: flex; }
}
/* === ONYX-AVATAR: BITIS === */

/* === ONYX-BASLIK: BASLANGIC === */
/* Baslik tek satirda durur; tasarsa sag ucu solar ve yatay kaydirilabilir.
   Solma SADECE sagda devami varken gorunur: Components.baslikSolmaBagla()
   kaydirmayi izler, sona gelince .bas-sonda sinifini ekler.
   --bas-sag @property ile <length> tanimli oldugu icin gecis yumusak olur. */
@property --bas-sag {
  syntax: '<length>';
  inherits: false;
  initial-value: 42px;
}
.watch-title {
  white-space: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  --bas-sag: 42px;
  transition: --bas-sag 0.3s ease-out;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--bas-sag)), rgba(0,0,0,0.05) 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--bas-sag)), rgba(0,0,0,0.05) 100%);
}
.watch-title.bas-sonda { --bas-sag: 0px; }
.watch-title::-webkit-scrollbar { display: none; }
/* === ONYX-BASLIK: BITIS === */

/* === ONYX-YORUM: BASLANGIC === */
/* Genel kural (input, select, textarea:focus) yorum kutusuna da yesil cerceve
   basiyordu: kendi kurali outline'i temizliyor ama box-shadow'u birakiyordu.
   Genel kural SILINMIYOR; yorum kutusu kapsam disi birakiliyor.
   Sonuc: cerceve yok, sadece alt cizgi; odaklaninca alt cizgi beyaz ve kalin. */
.comment-form textarea,
.comment-form textarea:focus {
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
}
.comment-form textarea:focus {
  border-bottom: 2px solid var(--text);
}
/* === ONYX-YORUM: BITIS === */

/* === ONYX-KATEGORI-SAYFA: BASLANGIC === */
/* "Bir kategoriye tikla" yazisi ile arama kutusu arasindaki bosluk */
#page-categories .muted { margin-bottom: 16px; }
/* === ONYX-KATEGORI-SAYFA: BITIS === */

/* === ONYX-ODAK: BASLANGIC === */
/* Tarayicinin mavi odak halkasi menu icindeki acilir basliklarda cikmasin.
   Klavyeyle gezenler icin sonuk gri iz birakilir (erisilebilirlik). */
#drawer [role="button"]:focus,
#drawer button:focus,
#drawer summary:focus { outline: none; }
#drawer button:focus-visible,
#drawer summary:focus-visible { outline: 1px solid var(--border-strong); }
/* === ONYX-ODAK: BITIS === */

/* === ONYX-KISALT: BASLANGIC === */
/* Buton kesilen son satirin sagina oturur; arkasindaki gecis metni soldurur.
   Zemin rengi --kisalt-bg ile kapsayan yerden verilebilir. */
.onyx-kisalt-wrap { position: relative; }
.onyx-kisalt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--kisalt-satir, 2);
  line-clamp: var(--kisalt-satir, 2);
  overflow: hidden;
}
.onyx-kisalt.acik {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.onyx-kisalt-btn {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0;
  padding: 0 0 0 34px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(to right, transparent 0, var(--kisalt-bg, var(--bg-card)) 30px);
}
.onyx-kisalt-btn.gorunur { display: inline-block; }
.onyx-kisalt-wrap.acik .onyx-kisalt-btn {
  position: static;
  padding: 0;
  margin-top: 4px;
  background: none;
  display: block;
}
.onyx-kisalt-btn:hover,
.onyx-kisalt-btn:focus,
.onyx-kisalt-btn:active { color: var(--text-dim); }
/* === ONYX-KISALT: BITIS === */

/* === ONYX-REELMENU: BASLANGIC === */
/* Reels sayfasindaki uc nokta her zaman gorunur (tam ekran oynaticida hover yok) */
.reel-video-wrap { position: relative; }
.reel-video-wrap .card-kebab { opacity: 1; z-index: 20; }
.reel-video-wrap .card-menu { z-index: 21; }
/* === ONYX-REELMENU: BITIS === */

/* REELS KEBAB: uc nokta menusu (tek kural, baska kuralla cakismaz) */
.reel-mini { position: relative; }
.reel-mini-thumb { position: relative; }
.reel-mini:hover .card-kebab { opacity: 1; }
.reel-mini .card-menu { z-index: 40; }
@media (hover: none), (pointer: coarse) {
  .reel-mini .card-kebab { opacity: 1; }
}


/* === MOBİL VİDEO ALT BUTONLAR: EŞİT BOYUT, EŞİT BOŞLUK, SADECE İKON PARLAMASI === */
@media (max-width: 767px) {
  .watch-actions {
    gap: 8px !important;
  }
  .watch-actions .action-btn,
  .watch-actions .like-group .action-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    min-width: 38px !important;
    justify-content: center !important;
    align-items: center !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--text-dim) !important;
    transition: color 0.15s, transform 0.15s !important;
  }
  .watch-actions .action-btn:hover,
  .watch-actions .like-group .action-btn:hover {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text) !important;
  }
  .watch-actions .action-btn:active {
    transform: scale(1.1) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .watch-actions #like-btn.active {
    color: var(--green) !important;
  }
  .watch-actions #dislike-btn.active {
    color: #ff5252 !important;
  }
  .watch-actions .action-btn:focus,
  .watch-actions .action-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
}




/* === MOBİLDE TAG ARKA PLANI BEĞENİLEN ÖLÇÜDE KALSIN === */
@media (max-width: 767px) {
  .category-pill {
    padding: 8px 18px;
  }
}


/* === RELATED VIDEOLAR: BASLIK İLE ALT YAZI ARASI MESAFE (YouTube gibi) === */
.related-card .related-title {
  margin-bottom: 4px !important;
}


/* === YOUTUBE TARZI KONTROL + AYARLAR DISLISI === */
.reel-controls { padding-bottom: 8px !important; }
.reel-ctrl-btn { width: 36px !important; height: 36px !important; font-size: 20px !important; opacity: 0.9; }
.reel-ctrl-btn:hover { opacity: 1; background: none !important; }
.reel-time { font-size: 12px !important; }



/* === VIDEO KONTROL İKONLARI: AYNI BOYUT, AYNI HİZA, YOUTUBE EFEKTİ === */
.reel-ctrl-row {
  display: flex !important;
  align-items: center !important;
}
.reel-ctrl-btn {
  width: 42px !important;
  height: 42px !important;
  font-size: 24px !important;
  border-radius: 50% !important;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease !important;
  opacity: 1 !important;
}
.reel-ctrl-btn svg {
  width: 24px !important;
  height: 24px !important;
}
.reel-ctrl-btn:hover {
  background: rgba(255,255,255,0.12) !important;
  transform: scale(1.08) !important;
  opacity: 1 !important;
}
.reel-ctrl-btn:active {
  transform: scale(0.92) !important;
  background: rgba(255,255,255,0.18) !important;
}


/* === SES VE TAM EKRAN İKONLARI KESİN DÜZELTME === */
.reel-volwrap .reel-ctrl-btn {
  flex: 0 0 auto !important;
  width: 42px !important;
  height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
}




/* === SES BUTONU KESIN TAM DAIRE (TEMIZ) === */
#watch-mutebtn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
#watch-mutebtn svg {
  width: 24px !important;
  height: 24px !important;
}


/* === SES BUTONU: KESME SORUNU KALDIR + YOUTUBE HOVER === */
#watch-mutebtn {
  overflow: visible !important;
  transform: none !important;
}
#watch-mutebtn:hover {
  transform: none !important;
  background: rgba(255,255,255,0.12) !important;
}
.reel-volwrap {
  min-height: 42px !important;
  height: 42px !important;
  overflow: visible !important;
}


/* === DÖRTLÜ AYNI TEMA: LIKE, DISLIKE, SHARE, ÜÇ NOKTA === */
.watch-actions .action-btn,
.like-group .action-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: none;
  box-shadow: none;
}
.watch-actions .action-btn:hover,
.like-group .action-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.10));
  border: none;
  box-shadow: none;
}


/* Dişli menüsü: kalite ve hız bölümleri */



/* Alt menü panel yapısı */



.ws-back:hover { background: rgba(255,255,255,.08); }

/* YouTube tarzı dişli menü */
.watch-settings-wrap { position: relative; }
.watch-settings-menu {
  position: absolute;
  bottom: 52px;
  right: 0;
  width: 210px;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-radius: 12px;
  overflow: hidden;
  z-index: 40;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  transform-origin: bottom right;
  animation: wsMenuIn .18s cubic-bezier(.2,.8,.2,1);
}
@keyframes wsMenuIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.ws-panel.hidden { display: none; }
.ws-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-size: 13.5px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ws-opt:last-child { border-bottom: none; }
.ws-opt:hover { background: rgba(255,255,255,0.10); }
.ws-opt.active { font-weight: 600; }
.ws-opt.active::after { content: "✓"; color: var(--green); font-size: 13px; }
.ws-arrow { color: rgba(255,255,255,0.60); font-size: 18px; }
.ws-back { color: var(--green); font-weight: 600; }
.ws-back:hover { background: rgba(255,255,255,0.08); }

/* Mobilde ayar menüsü ekrana sığsın */
@media (max-width: 767px) {
  .watch-settings-menu {
    width: 170px;
    right: 8px;
    bottom: 46px;
    max-width: calc(100vw - 16px);
    font-size: 12.5px;
  }
  .ws-opt {
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

/* Otomatik gizleme: video oynarken fare hareketsiz kalınca kontrol barı gizle */
#watch-ctrl {
  transition: opacity .35s ease;
}
#watch-ctrl.autohide {
  opacity: 0;
  pointer-events: none;
}
