:root {
  --bg: #0b0f14;
  --panel: #0f1622;
  --panel2: #111a28;
  --text: #e8eef7;
  --muted: #9bb0c8;
  --border: rgba(255, 255, 255, 0.08);
  --brand: #7c5cff;
  --brand2: #ff4d8d;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

:root[data-theme="light"] {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel2: #ffffff;
  --text: #0e1520;
  --muted: #5b6b80;
  --border: rgba(14, 21, 32, 0.12);
  --shadow: 0 10px 30px rgba(14, 21, 32, 0.10);
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
  max-width: 100%;
}
html, body { height: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1200px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 25% 25%, var(--brand2), var(--brand));
  box-shadow: var(--shadow);
}
.brand-name { font-size: 18px; }
.brand-logo-img {
  max-height: 44px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 10px;
}
.searchbar input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}
.searchbar button,
.searchbar .searchbar__submit {
  flex-shrink: 0;
  border: 0;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 150ms ease;
}
.searchbar button:hover,
.searchbar .searchbar__submit:hover {
  opacity: 0.85;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.theme-toggle-btn {
  padding: 8px 12px;
  line-height: 1;
}
.theme-ico {
  display: inline-block;
  font-size: 18px;
  vertical-align: middle;
}
:root[data-theme="dark"] .theme-ico--sun {
  display: inline-block;
}
:root[data-theme="dark"] .theme-ico--moon {
  display: none;
}
:root[data-theme="light"] .theme-ico--sun {
  display: none;
}
:root[data-theme="light"] .theme-ico--moon {
  display: inline-block;
}

.nav-cats {
  border-top: 1px solid var(--border);
}
.nav-cats .container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 10px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }

.hero {
  padding: 18px 0 8px;
}
.hero .title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.hero .sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 14px 0 28px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}
.thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, color-mix(in srgb, var(--panel2) 40%, transparent), var(--panel2));
  position: relative;
  overflow: hidden;
}
.thumb img,
.thumb .video-thumb-external {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,0.55));
  opacity: 0.6;
  transition: opacity 180ms ease;
}
.card:hover .thumb::after { opacity: 0.35; }
.card:hover .thumb img { transform: scale(1.03); }
.thumb img { transition: transform 220ms ease; }

/* Video kartları: tarih/kategori satırının altı — kapak üstüne binmez */
.card-meta-strip {
  margin-top: 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-around;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel2) 55%, rgba(0, 0, 0, 0.35));
  color: color-mix(in srgb, var(--muted) 88%, #fff);
  border: 1px solid color-mix(in srgb, var(--border) 45%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.card-meta-strip__cell {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}
.card-meta-strip__ico {
  flex-shrink: 0;
  opacity: 0.85;
  color: inherit;
}
.card-meta-strip__txt {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .card-meta-strip {
    padding: 5px 6px;
    gap: 0;
  }
  .card-meta-strip__cell {
    font-size: 9px;
    gap: 3px;
  }
  .card-meta-strip__ico {
    width: 10px;
    height: 10px;
  }
}

.card--model .thumb::after {
  display: none;
}
.card--model:hover .thumb img {
  transform: none;
}
.thumb--model-round {
  aspect-ratio: 1 / 1;
  width: min(200px, 100%);
  margin: 16px auto 0;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--brand) 35%, var(--border));
  box-shadow: var(--shadow);
}
.thumb--model-round img {
  border-radius: 50%;
}
.model-card-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--panel2), color-mix(in srgb, var(--brand) 25%, var(--panel2)));
}

.model-profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.model-avatar-wrap {
  flex: 0 0 auto;
}
.model-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--brand) 40%, var(--border));
  box-shadow: var(--shadow);
  display: block;
}
.model-avatar--placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--panel2), color-mix(in srgb, var(--brand2) 25%, var(--panel2)));
  border: 3px solid var(--border);
}
.model-profile-head__text {
  flex: 1;
  min-width: 200px;
}
.model-profile-head__text .title {
  margin: 0;
}
.model-profile-head__text .sub {
  margin-top: 6px;
}

.model-ext-imgwrap {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--panel2);
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.model-media-grid .model-ext-imgwrap {
  aspect-ratio: 1 / 1;
}
.model-media-grid .model-ext-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body { padding: 12px 12px 14px; }
.card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}
.meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  padding: 18px 0 30px;
}
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-pad { padding: 14px; }

.player-wrap {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.player-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.player-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}
.pill {
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}
.pill.is-active {
  border-color: color-mix(in srgb, var(--brand) 60%, var(--border));
  background: color-mix(in srgb, var(--brand) 14%, var(--panel2));
}

.backup-hint {
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.sidebar-title {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.side-list { display: grid; gap: 10px; }
.side-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
}
.side-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--panel2);
}
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-item h3 { margin: 0; font-size: 13px; line-height: 1.25; }
.side-item .meta { margin-top: 4px; }

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 22px 0 calc(70px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
@media (max-width: 820px) {
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}
.site-footer--prominent {
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}
.footer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text);
}
.footer-brand-mark__img {
  max-height: 52px;
  width: auto;
  max-width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.footer-brand-mark__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #a855f7;
  filter: drop-shadow(0 2px 8px rgba(124, 92, 255, 0.45));
  flex-shrink: 0;
}
.footer-brand-mark__name {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text);
}
.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
}

.footer-links {
  width: 100%;
  padding: 16px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-links--stacked .footer-links__menu,
.footer-links--stacked .footer-links__menu--fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links--stacked .footer-links__menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links--stacked .footer-links__menu a {
  display: block;
  padding: 4px 8px;
  color: var(--text);
  border-radius: 8px;
}
.footer-links--stacked .footer-links__menu a:hover {
  color: var(--brand);
}
.footer-links--stacked .footer-links__menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.footer-links--stacked .footer-links__menu .sub-menu a {
  color: var(--muted);
}
.footer-links--stacked .footer-links__menu .sub-menu a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom--center {
  width: 100%;
  justify-content: center;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}
.footer-copy__rights {
  white-space: normal;
}

.model-media-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 1100px) {
  .model-media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 820px) {
  .model-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .model-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.model-gallery-thumb {
  aspect-ratio: 1 / 1;
  position: relative;
}
.model-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.model-avatar-hit {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 50%;
  line-height: 0;
}
.model-avatar-hit .model-avatar {
  display: block;
}
.model-ext-iframe .model-ext-ratio {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.model-ext-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.model-fv-section {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 20px;
}
.model-fv-head {
  margin-bottom: 4px;
}
.model-fv-title {
  margin-bottom: 12px;
}
.model-fv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.model-fv-tab {
  flex: 1 1 140px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 85%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.model-fv-tab:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}
.model-fv-tab.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.model-fv-panel {
  margin-top: 14px;
}
.model-fv-empty {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.model-fv-embeds {
  display: grid;
  gap: 14px;
}
.model-fv-embeds--after-grid {
  margin-top: 18px;
}

.tubetr-model-desc {
  width: 100%;
}

.model-suggest {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 20px;
}
.model-suggest__title {
  margin-bottom: 16px;
  text-align: center;
}
.model-suggest__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 14px;
  justify-content: center;
  align-items: flex-start;
}
.model-suggest__item {
  flex: 0 0 auto;
  width: 92px;
}
.model-suggest__link {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 160ms ease, opacity 160ms ease;
}
.model-suggest__link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.model-suggest__link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 60%, var(--border));
  outline-offset: 4px;
  border-radius: 12px;
}
.model-suggest__avatar {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  box-shadow: var(--shadow);
  background: var(--panel2);
  aspect-ratio: 1 / 1;
}
.model-suggest__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.model-suggest__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--panel2), color-mix(in srgb, var(--brand) 22%, var(--panel2)));
}
.model-suggest__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.6em;
}

/* Category blocks on home */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 60%, transparent);
  transition: border-color 180ms ease, transform 180ms ease;
}
.cat-block:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}
.cat-name { font-weight: 800; font-size: 13px; }
.cat-count { color: var(--muted); font-size: 12px; }

/* Mobile bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  display: none;
}
.bottom-nav .inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 10px 8px max(10px, env(safe-area-inset-bottom, 0px));
  max-width: 100%;
}
.bottom-nav a {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 8px 6px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
}
.bottom-nav a.is-active,
.bottom-nav .bottom-nav__tile.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.bottom-nav .bottom-nav__tile {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 8px 6px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.bottom-nav .bottom-nav__tile:hover {
  color: var(--text);
}
.nav-ico {
  width: 22px;
  height: 22px;
}
.nav-label { font-size: 11px; }

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
  }
  .site-header .brand {
    grid-area: brand;
    min-width: 0;
  }
  .site-header .searchbar {
    grid-area: search;
  }
  .site-header .header-actions {
    grid-area: actions;
    justify-self: end;
  }
  .nav-cats { display: none; }
  .bottom-nav { display: block; }
}

@media (max-width: 420px) {
  .searchbar input[type="search"]::placeholder {
    font-size: 11px;
  }
}

.site-content {
  min-width: 0;
}

/* Liste sayfaları — masaüstünde kategoriler solda */
.tubetr-list-layout {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 981px) {
  .tubetr-list-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  /* Senkron dışı (fallback): iki kolon aynı satırda uzar */
  .tubetr-list-layout:not([data-tubetr-sync-cats-height]) .tubetr-cats-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
  }
  .tubetr-list-layout:not([data-tubetr-sync-cats-height]) .tubetr-cats-column__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  /*
   * Ana kolon yüksekliği (video grid + reklam + sayfalama) JS ile --tubetr-main-col-height.
   * Kategori kutusu bu yüksekliğe eşitlenir; fazla kategori listede kayar.
   */
  .tubetr-list-layout[data-tubetr-sync-cats-height] {
    align-items: start;
  }
  .tubetr-list-layout[data-tubetr-sync-cats-height] .tubetr-cats-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: start;
    width: 260px;
    overflow: hidden;
  }
  .tubetr-list-layout[data-tubetr-sync-cats-height]
    .tubetr-cats-column.tubetr-cats-height-ready {
    height: var(--tubetr-main-col-height);
    max-height: var(--tubetr-main-col-height);
  }
  .tubetr-list-layout[data-tubetr-sync-cats-height] .tubetr-cats-column__inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }
  .tubetr-list-layout[data-tubetr-sync-cats-height] .tubetr-cats-column__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
    max-height: none;
  }
  /* İlk boyut gelene kadar (FOUC) makul üst sınır */
  .tubetr-list-layout[data-tubetr-sync-cats-height]
    .tubetr-cats-column:not(.tubetr-cats-height-ready)
    .tubetr-cats-column__scroll {
    max-height: min(72vh, 52rem);
  }
}
@media (max-width: 980px) {
  .tubetr-cats-column {
    display: none !important;
  }
}
.tubetr-cats-column__inner {
  padding: 14px 12px;
}
.tubetr-cats-column__title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tubetr-cats-column__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}
.tubetr-cats-column__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tubetr-cats-column__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.tubetr-cats-column__link:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}
.tubetr-cats-column__count {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}
.tubetr-cats-column__empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-detail-title,
.card-title,
.hero .title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

html.tubetr-lightbox-open,
html.tubetr-lightbox-open body {
  overflow: hidden;
  overscroll-behavior: none;
  height: 100%;
}

/* Lightbox — görsel tam ekran ortada, doğal boyut; arka plan kaydırması kapalı */
.tubetr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.tubetr-lightbox[hidden] {
  display: none !important;
}
.tubetr-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.tubetr-lightbox__scroll {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 52px 52px 76px;
  box-sizing: border-box;
  pointer-events: none;
}
.tubetr-lightbox__imgcell {
  display: block;
  margin: auto;
  pointer-events: auto;
  touch-action: none;
  position: relative;
}
.tubetr-lightbox__banner-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.tubetr-lightbox__banner-host[hidden] {
  display: none !important;
}
.tubetr-lightbox__imgcell.is-pannable {
  cursor: grab;
}
.tubetr-lightbox__imgcell.is-pannable:active {
  cursor: grabbing;
}
.tubetr-lightbox__imgcell img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 104px);
  max-height: calc(100vh - 140px);
  display: block;
  margin: 0;
  transform-origin: center center;
  cursor: zoom-in;
  user-select: none;
}
.tubetr-lightbox__imgcell.is-pannable img {
  cursor: inherit;
}
.tubetr-lightbox__gal {
  position: fixed;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  padding: 0;
}
.tubetr-lightbox__gal:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.tubetr-lightbox__gal--prev {
  left: 10px;
}
.tubetr-lightbox__gal--next {
  right: 10px;
}
.tubetr-lightbox__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.tubetr-lightbox__toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 4;
  display: flex;
  gap: 10px;
  justify-content: center;
  pointer-events: none;
}
.tubetr-lightbox__toolbar button {
  pointer-events: auto;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* Üst menü (WordPress menü konumu) */
.nav-cats .tubetr-header-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-cats .tubetr-header-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.nav-cats .tubetr-header-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 85%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.nav-cats .tubetr-header-menu > li > a:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}
.nav-cats .tubetr-header-menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  z-index: 60;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.nav-cats .tubetr-header-menu li:hover > .sub-menu,
.nav-cats .tubetr-header-menu li:focus-within > .sub-menu {
  display: block;
}
.nav-cats .tubetr-header-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.nav-cats .tubetr-header-menu .sub-menu a:hover {
  background: color-mix(in srgb, var(--brand) 12%, var(--panel2));
}

/* Reklam kutuları */
.tubetr-ad {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel2);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tubetr-ad__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #05070a;
}
.tubetr-ad__inner iframe {
  border: 0;
  display: block;
  max-width: 100%;
}
.tubetr-ad--970x250 {
  width: 100%;
  max-width: 970px;
  margin: 0 auto 18px;
  min-height: 50px;
}
.tubetr-ad--970x250 .tubetr-ad__inner iframe {
  width: 970px;
  max-width: 100%;
  height: 250px;
}
.tubetr-ad--300x250 {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 50px;
}
.tubetr-ad--300x250 .tubetr-ad__inner iframe {
  width: 300px;
  max-width: 100%;
  height: 250px;
}
.tubetr-ad__media {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.video-sidebar-ads {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.tubetr-home-ad-wrap {
  grid-column: 1 / -1;
  width: 100%;
  padding: 8px 0 4px;
}
.tubetr-footer-ads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.tubetr-ad--footer-cell {
  flex: 0 0 auto;
}

/* (Özel video oynatıcı kaldırıldı) */

/* +18 yaş doğrulama */
html.tubetr-age-lock,
html.tubetr-age-lock body {
  overflow: hidden;
  height: 100%;
}
.tubetr-age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tubetr-age-gate.is-active {
  display: flex;
}
.tubetr-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.94;
}
.tubetr-age-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 32px 28px 36px;
  text-align: center;
  color: #f2f2f2;
  background: #070707;
  border: 1px solid rgba(255, 140, 0, 0.55);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}
.tubetr-age-gate__logo {
  max-width: min(280px, 100%);
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.tubetr-age-gate__sitename {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
}
.tubetr-age-gate__title {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.tubetr-age-gate__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.tubetr-age-gate__checkrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.tubetr-age-gate__checkrow input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #ff8c00;
  cursor: pointer;
}
.tubetr-age-gate__submit {
  width: 100%;
  border: 1px solid rgba(255, 140, 0, 0.75);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #0d0d0d;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.tubetr-age-gate__submit:not(:disabled):hover {
  background: rgba(255, 140, 0, 0.12);
  border-color: #ff9f1a;
}
.tubetr-age-gate__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- Video single (modern) --- */
.tubetr-video-single {
  padding-bottom: 32px;
}

.video-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0 18px;
}
.video-detail-head__main {
  flex: 1;
  min-width: min(100%, 420px);
}
.video-detail-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.video-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.vdm-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vdm-ico {
  flex-shrink: 0;
  opacity: 0.85;
}

.video-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.btn-like-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%);
  box-shadow: 0 8px 22px rgba(37, 117, 252, 0.28);
}
.btn-like-gradient--lead {
  padding: 6px 12px;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(106, 17, 203, 0.28);
  flex-shrink: 0;
  max-width: min(44vw, 200px);
}
.btn-like-gradient--lead .btn-like-gradient__heart {
  font-size: 14px;
}
.btn-like-gradient__heart {
  font-size: 16px;
  line-height: 1;
}
.btn-like-gradient:disabled,
.btn-like-gradient.is-liked {
  opacity: 0.72;
  cursor: default;
}

.btn-share-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 70%, transparent);
  color: var(--text);
}
.layout--video-single {
  grid-template-columns: 1fr minmax(260px, 300px);
  align-items: start;
}
@media (max-width: 980px) {
  .layout--video-single {
    grid-template-columns: 1fr;
  }
}

.video-main {
  overflow: hidden;
}

.player-toolbar {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
}
.player-toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
}
.player-toolbar-inner--solo {
  justify-content: flex-start;
}
.player-toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
}
.player-toolbar-inner--solo .player-toolbar-pills {
  margin-left: 0;
}
.pill--compact {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
}
.backup-hint--toolbar {
  margin: 0;
  padding: 0 12px 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.video-micro-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, #333);
  background: color-mix(in srgb, var(--panel2) 85%, #1a1a1a);
  color: color-mix(in srgb, var(--muted) 70%, var(--text));
  line-height: 1.35;
}
.video-micro-pill:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}
.video-micro-pill--tag {
  font-weight: 500;
}

/* Tekil video: kategori + etiket (açıklamanın altı; etiketler satır içi, küçük) */
.video-desc-tax-stack {
  border-top: 1px solid var(--border);
}
.video-categories-bar--in-tax-stack {
  border-top: none;
}
.video-tags-compact {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.video-tags-compact--after-cats {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.video-tags-compact__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 5px;
}
.video-tags-compact__inline {
  display: inline;
}
.video-tags-compact__sep {
  opacity: 0.75;
}
.video-tags-compact__link {
  font-weight: 600;
  font-size: 12px;
  color: color-mix(in srgb, var(--muted) 50%, var(--text));
  text-decoration: none;
}
.video-tags-compact__link:hover {
  color: var(--text);
  text-decoration: underline;
}

.video-description {
  padding: 20px 16px 24px;
}
.video-description__inner {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
}
.video-description__inner p:first-child {
  margin-top: 0;
}

.video-categories-bar {
  border-top: 1px solid var(--border);
}
.video-categories-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
}

.video-models-bar {
  border-top: 1px solid var(--border);
}
.video-models-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 10px;
}
.video-model-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.video-model-chip__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--brand2) 45%, var(--border));
  background: var(--panel2);
  box-shadow: var(--shadow);
}
.video-model-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-model-chip__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
}
@media (max-width: 980px) {
  .video-sidebar {
    position: static;
  }
}

.video-side-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 12px 10px;
}
.video-side-box__title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.video-side-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-side-mini__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
}
.video-side-mini__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel2);
}
.video-side-mini__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-side-mini__t {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.video-side-mini__s {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

/* Yorumlar */
.tubetr-comments {
  border-top: 1px solid var(--border);
}
.tubetr-comments__heading {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.tubetr-comments__reply-title {
  margin: 18px 0 12px;
  font-size: 15px;
  font-weight: 800;
}
.tubetr-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tubetr-comment-list .children {
  list-style: none;
  margin: 12px 0 0 12px;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--border);
}
.tubetr-comment__body {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: flex-start;
}
.tubetr-comment__avatar-img {
  border-radius: 50%;
}
.tubetr-comment__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  font-size: 12px;
  color: var(--muted);
}
.tubetr-comment__author {
  font-style: normal;
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}
.tubetr-comment__author a {
  color: inherit;
}
.tubetr-comment__text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}
.tubetr-comment__moderation {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--brand2);
}
.tubetr-comment__main .comment-reply-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tubetr-comment__main .comment-reply-link:hover {
  color: var(--text);
}
.tubetr-comments__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tubetr-comments__textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}
.tubetr-comments__textarea {
  min-height: 120px;
  resize: vertical;
}
.comment-form .form-submit {
  margin-top: 12px;
}
.tubetr-comment-submit {
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%);
}
.tubetr-comments .comment-notes,
.tubetr-comments .logged-in-as {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Kar efekti */
.tubetr-snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 45;
}

/* Kategori çekmecesi — liste yalnız panel içinde kayar */
html.tubetr-cat-drawer-open,
html.tubetr-cat-drawer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.tubetr-cat-drawer {
  position: fixed;
  inset: 0;
  z-index: 75;
}
.tubetr-cat-drawer[hidden] {
  display: none !important;
}
.tubetr-cat-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.tubetr-cat-drawer__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.tubetr-cat-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border);
}
.tubetr-cat-drawer__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.tubetr-cat-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tubetr-cat-drawer__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 10px 10px 18px;
}
.tubetr-cat-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tubetr-cat-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 65%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.tubetr-cat-drawer__link:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  color: var(--text);
}
.tubetr-cat-drawer__count {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.tubetr-cat-drawer__empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Modeller çekmecesi (A-Z, arama) */
html.tubetr-models-drawer-open,
html.tubetr-models-drawer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.tubetr-models-drawer {
  position: fixed;
  inset: 0;
  z-index: 76;
}
.tubetr-models-drawer[hidden] {
  display: none !important;
}
.tubetr-models-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.tubetr-models-drawer__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 94vw);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.tubetr-models-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.tubetr-models-drawer__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.tubetr-models-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tubetr-models-drawer__search {
  flex-shrink: 0;
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--border);
}
.tubetr-models-drawer__input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}
.tubetr-models-drawer__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 10px 16px;
}
.tubetr-models-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tubetr-models-drawer__link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 65%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.tubetr-models-drawer__link:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}
.tubetr-models-drawer__empty {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: var(--muted);
}
.tubetr-model-m-toolbar {
  display: none;
  margin-bottom: 16px;
}
@media (max-width: 820px) {
  .tubetr-model-m-toolbar {
    display: block;
  }
  .tubetr-model-archive-section {
    padding-bottom: 8px;
  }
}

/* Sayfalama — yalnız önceki / sonraki (chip tarzı, renksiz) */
.tubetr-pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 28px;
  width: 100%;
}
.tubetr-pagination-wrap nav.navigation {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.tubetr-pagination-wrap .nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin: 0;
}
.tubetr-pagination-wrap .nav-previous,
.tubetr-pagination-wrap .nav-next {
  flex: 1 1 calc(50% - 8px);
  min-width: 140px;
  max-width: calc(50% - 6px);
}
.tubetr-pagination-wrap .nav-previous a,
.tubetr-pagination-wrap .nav-next a {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.tubetr-pagination-wrap .nav-previous a:hover,
.tubetr-pagination-wrap .nav-next a:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}
.tubetr-pagination-simple {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.tubetr-pagination-simple__link {
  flex: 1 1 calc(50% - 8px);
  min-width: 140px;
  max-width: calc(50% - 6px);
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
}
.tubetr-pagination-simple__link:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}
.tubetr-pagination-simple__link.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
.tubetr-pagination-wrap .nav-previous .is-disabled,
.tubetr-pagination-wrap .nav-next .is-disabled {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.48;
}

/* Benzer videolar (tekil video) */
.tubetr-similar-videos {
  border-top: 1px solid var(--border);
}
.tubetr-similar-videos__grid {
  margin-top: 10px;
}

/* Arama tam sayfa */
.search-results-page__heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.search-results-page__heading--second {
  margin-top: 28px;
}

/* İstek sayfası */
.tubetr-request-section {
  padding-bottom: 36px;
}
.tubetr-request-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.tubetr-request-shell {
  padding: 22px 20px 26px;
}
.tubetr-request-box {
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 55%, transparent);
}
.tubetr-request-lead {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.tubetr-request-notice {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.tubetr-request-notice--ok {
  background: color-mix(in srgb, #22c55e 14%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, var(--border));
  color: var(--text);
}
.tubetr-request-notice--err {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 35%, var(--border));
}
.tubetr-request-login-hint {
  margin: 0 0 12px;
  font-size: 14px;
}
.tubetr-request-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}
.tubetr-request-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.tubetr-request-textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
  min-height: 160px;
}
.tubetr-request-submit {
  margin-top: 14px;
  cursor: pointer;
  font: inherit;
}
.chip--submit {
  font-weight: 700;
}

/* Arama overlay */
html.tubetr-search-open,
html.tubetr-search-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.tubetr-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
}
.tubetr-search-overlay[hidden] {
  display: none !important;
}
.tubetr-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}
.tubetr-search-overlay__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 28px));
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tubetr-search-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.tubetr-search-overlay__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.tubetr-search-overlay__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tubetr-search-overlay__body {
  padding: 12px 14px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.tubetr-search-overlay__loading,
.tubetr-search-overlay__empty {
  text-align: center;
  padding: 18px 10px;
  font-size: 14px;
  color: var(--muted);
}
.tubetr-search-overlay__loading--hidden,
.tubetr-search-overlay__empty--hidden,
.tubetr-search-overlay__all--hidden {
  display: none !important;
}
.tubetr-search-overlay__h {
  margin: 14px 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tubetr-search-overlay__h:first-child {
  margin-top: 0;
}
.tubetr-search-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tubetr-search-overlay__hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel2) 80%, transparent);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
}
.tubetr-search-overlay__hit:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}
.tubetr-search-overlay__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel2);
}
.tubetr-search-overlay__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tubetr-search-overlay__thumb--round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.tubetr-search-overlay__t {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.tubetr-search-overlay__foot {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
}
.tubetr-search-overlay__all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand2));
}

/* ========================================================== */
/*  Auth (Giriş / Kayıt) — sayfa formları                      */
/* ========================================================== */
.tubetr-auth-section {
  padding: 8px 0 36px;
}
.tubetr-auth-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.tubetr-auth-shell {
  padding: 22px 20px 26px;
}
.tubetr-auth-anon {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand2) 14%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand) 8%, var(--panel2));
}
.tubetr-auth-anon__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  box-shadow: var(--shadow);
}
.tubetr-auth-anon__icon svg {
  width: 22px;
  height: 22px;
}
.tubetr-auth-anon__body {
  flex: 1;
  min-width: 0;
}
.tubetr-auth-anon__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.1px;
}
.tubetr-auth-anon__text {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.tubetr-auth-anon__list {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.tubetr-auth-anon__list li {
  margin: 2px 0;
}
.tubetr-auth-notice {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.tubetr-auth-notice--ok {
  background: color-mix(in srgb, #22c55e 14%, transparent);
  border: 1px solid color-mix(in srgb, #22c55e 35%, var(--border));
  color: var(--text);
}
.tubetr-auth-notice--err {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  border: 1px solid color-mix(in srgb, #ef4444 35%, var(--border));
  color: var(--text);
}
.tubetr-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.tubetr-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tubetr-auth-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.tubetr-auth-input {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.tubetr-auth-input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
.tubetr-auth-input:focus {
  border-color: color-mix(in srgb, var(--brand) 60%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.tubetr-auth-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.tubetr-auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
}
.tubetr-auth-check input {
  margin-top: 3px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.tubetr-auth-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.tubetr-auth-submit {
  margin-top: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 18px;
  border: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.2px;
  transition: filter 150ms ease, transform 150ms ease;
}
.tubetr-auth-submit:hover {
  filter: brightness(1.06);
}
.tubetr-auth-submit:active {
  transform: translateY(1px);
}
.tubetr-auth-foot {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.tubetr-auth-foot a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 60%, transparent);
}
.tubetr-auth-foot a:hover {
  text-decoration-color: var(--brand);
}

/* ========================================================== */
/*  Header — Giriş / Kayıt / kullanıcı dropdown'u              */
/* ========================================================== */
.tubetr-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: border-color 150ms ease, filter 150ms ease, background 150ms ease;
}
.tubetr-user-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}
.tubetr-user-btn--primary {
  border: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff;
}
.tubetr-user-btn--primary:hover {
  filter: brightness(1.06);
}
.tubetr-user-area {
  position: relative;
  display: inline-block;
}
.tubetr-user-area > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.tubetr-user-area > summary::-webkit-details-marker {
  display: none;
}
.tubetr-user-area > summary::marker {
  display: none;
  content: "";
}
.tubetr-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tubetr-user-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tubetr-user-caret {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 150ms ease;
}
.tubetr-user-area[open] > summary .tubetr-user-caret {
  transform: rotate(180deg);
}
.tubetr-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 60;
}
.tubetr-user-menu__head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.tubetr-user-menu__hi {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.tubetr-user-menu__who {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
  word-break: break-all;
}
.tubetr-user-menu__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.tubetr-user-menu__item:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--panel2));
}
@media (max-width: 720px) {
  .tubetr-user-name {
    display: none;
  }
  .tubetr-user-btn {
    padding: 8px 10px;
  }
  .tubetr-user-btn--login {
    padding: 8px 12px;
  }
}
@media (max-width: 480px) {
  .tubetr-user-btn--login {
    display: none;
  }
}

/* ========================================================== */
/*  Şifre kurtarma uyarısı (kayıt formu)                       */
/* ========================================================== */
.tubetr-auth-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #f59e0b 35%, var(--border));
  background: color-mix(in srgb, #f59e0b 12%, transparent);
  font-size: 13px;
  line-height: 1.5;
}
.tubetr-auth-warn__ico {
  flex-shrink: 0;
  color: #f59e0b;
  margin-top: 1px;
}
.tubetr-auth-warn__text {
  color: var(--text);
}
.tubetr-auth-warn__text strong {
  color: #f59e0b;
  margin-right: 4px;
}

/* ========================================================== */
/*  Kaydet butonu (video tekil sayfası — like'ın yanı)         */
/* ========================================================== */
.tubetr-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.tubetr-save-btn:hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
  background: color-mix(in srgb, var(--text) 6%, var(--panel2));
}
.tubetr-save-btn.is-on {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}
.tubetr-save-btn.is-on:hover {
  background: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.tubetr-save-btn.is-busy {
  opacity: 0.7;
  cursor: progress;
}
.tubetr-save-btn__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================================================== */
/*  Takip Et butonu (model + kategori)                         */
/* ========================================================== */
.tubetr-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.tubetr-follow-btn:hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
  background: color-mix(in srgb, var(--text) 6%, var(--panel2));
}
.tubetr-follow-btn.is-on {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}
.tubetr-follow-btn.is-on:hover {
  background: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.tubetr-follow-btn.is-busy {
  opacity: 0.7;
  cursor: progress;
}
.tubetr-follow-btn__ico {
  font-size: 16px;
  line-height: 1;
}

/* Model sayfa başlığında (single-model.php) */
.model-profile-head__actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Kategori hero'sundaki layout */
.tubetr-cat-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tubetr-cat-hero-row__text {
  flex: 1 1 280px;
  min-width: 0;
}
.tubetr-cat-hero-row__actions {
  flex-shrink: 0;
}

/* ========================================================== */
/*  Header user dropdown — yeni menü item icon'ları + sep      */
/* ========================================================== */
.tubetr-user-menu__item {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.tubetr-user-menu__ico {
  flex-shrink: 0;
  opacity: 0.85;
}
.tubetr-user-menu__sep {
  height: 1px;
  margin: 4px 6px;
  background: var(--border);
}
.tubetr-user-menu__item--logout {
  color: color-mix(in srgb, #ef4444 80%, var(--text));
}

/* ========================================================== */
/*  Profil sayfası                                              */
/* ========================================================== */
.tubetr-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tubetr-profile-head__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.tubetr-profile-head__text {
  flex: 1;
  min-width: 0;
}
.tubetr-profile-head__text .title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.2px;
  word-break: break-word;
}
.tubetr-profile-head__text .sub {
  margin: 4px 0 0;
}

.tubetr-profile-actions {
  margin-top: 6px;
  margin-bottom: 6px;
}
.tubetr-profile-actions__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.tubetr-profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 150ms ease, filter 150ms ease, background 150ms ease;
}
.tubetr-profile-cta:hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
  background: color-mix(in srgb, var(--text) 6%, var(--panel));
}
.tubetr-profile-cta--primary {
  border-color: transparent;
  background: var(--text);
  color: var(--bg);
}
.tubetr-profile-cta--primary:hover {
  background: color-mix(in srgb, var(--text) 88%, var(--muted));
  border-color: transparent;
}

.tubetr-profile-section {
  padding: 18px 0 8px;
}
.tubetr-profile-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
}
.tubetr-profile-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.1px;
}
.tubetr-profile-section__count {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.tubetr-profile-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.tubetr-profile-empty p {
  margin: 0;
}

/* Profil > Modellerim grid */
.tubetr-profile-models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .tubetr-profile-models { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tubetr-profile-models { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tubetr-profile-models { grid-template-columns: 1fr; } }
.tubetr-profile-model {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.tubetr-profile-model__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-width: 0;
}
.tubetr-profile-model__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel2);
  border: 2px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tubetr-profile-model__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tubetr-profile-model__name {
  font-weight: 800;
  font-size: 14px;
  word-break: break-word;
  line-height: 1.3;
}

/* Profil > Kategorilerim chip listesi */
.tubetr-profile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tubetr-profile-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  box-shadow: var(--shadow);
}
.tubetr-profile-cat__link {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}
.tubetr-profile-cat .tubetr-follow-btn {
  padding: 6px 10px;
  font-size: 11px;
}

/* ========================================================== */
/*  Takip Ettiklerim feed sayfası                               */
/* ========================================================== */
.tubetr-feed-section {
  padding: 6px 0 36px;
}
.tubetr-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.tubetr-feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.tubetr-feed-tab:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
}
.tubetr-feed-tab.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}
.tubetr-feed-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 18%, transparent);
  font-size: 11px;
  font-weight: 800;
}
.tubetr-feed-tab--manage {
  margin-left: auto;
  background: transparent;
  border-style: dashed;
}
.tubetr-feed-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.tubetr-feed-empty p {
  margin: 6px 0;
}
.tubetr-feed-empty__hint {
  font-size: 13px;
}
.tubetr-feed-empty__cta {
  margin-top: 12px;
}

/* ========================================================== */
/*  v1.7.0 — Masaüstü anasayfa düzeni (sosalkino-style)         */
/*  Hamburger + yatay menü | Ortada logo | Sağda arama+actions  */
/*  Anasayfada sol kategori sütunu kalktı, grid 3 büyük kart    */
/* ========================================================== */

/* --- Header: yeni masaüstü 3-sütun düzeni --- */
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.header-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 150ms ease, color 150ms ease;
}
.header-menu-toggle:hover {
  color: var(--brand2);
  border-color: color-mix(in srgb, var(--brand2) 40%, var(--border));
}
.header-menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.header-nav-cats {
  min-width: 0;
  display: flex;
  align-items: center;
}
.header-nav-cats .tubetr-header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.header-nav-cats .tubetr-header-menu::-webkit-scrollbar {
  height: 0;
}
.header-nav-cats .tubetr-header-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.header-nav-cats .tubetr-header-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  background: transparent;
  border: 0;
  transition: color 150ms ease;
}
.header-nav-cats .tubetr-header-menu > li > a:hover {
  color: var(--brand2);
}
.header-nav-cats .tubetr-header-menu > li.current-menu-item > a,
.header-nav-cats .tubetr-header-menu > li.current-menu-parent > a,
.header-nav-cats .tubetr-header-menu > li.current-menu-ancestor > a {
  color: var(--brand2);
}
.header-nav-cats .tubetr-header-menu > li.current-menu-item > a::after,
.header-nav-cats .tubetr-header-menu > li.current-menu-parent > a::after,
.header-nav-cats .tubetr-header-menu > li.current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand2);
}
.header-nav-cats .tubetr-header-menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  z-index: 60;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.header-nav-cats .tubetr-header-menu li:hover > .sub-menu,
.header-nav-cats .tubetr-header-menu li:focus-within > .sub-menu {
  display: block;
}
.header-nav-cats .tubetr-header-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.header-nav-cats .tubetr-header-menu .sub-menu a:hover {
  background: color-mix(in srgb, var(--brand) 12%, var(--panel2));
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: flex-end;
}

/* Masaüstü düzeni: 3 sütun grid (>=821px) */
@media (min-width: 821px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "left brand right";
    gap: 16px;
    padding: 14px 0;
  }
  .header-inner > .header-left { grid-area: left; }
  .site-header .brand {
    grid-area: brand;
    justify-self: center;
    flex-shrink: 0;
  }
  .header-inner > .header-right { grid-area: right; }
  .site-header .brand-logo-img { max-height: 48px; }
  .header-right .searchbar {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 340px;
  }
}

/* Mobile: yeni eklenen wrapper'ları "yokmuş gibi" yap, mevcut layout korunsun */
@media (max-width: 820px) {
  .header-left { display: contents; }
  .header-left .header-menu-toggle,
  .header-left .header-nav-cats {
    display: none !important;
  }
  .header-right { display: contents; }
}

/* --- Anasayfa: kategori sidebar masaüstünde de gizli (zaten <=980 gizliydi) --- */
/* index.php artık tubetr-list-layout kullanmıyor, ek bir override gerekmiyor */

/* --- Anasayfa hero satırı: başlık solda, sort pillleri sağda --- */
.hero--home .hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero--home .hero__text { min-width: 0; }
.hero--home .hero__text .title { margin: 0; }
.hero__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__sort-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.hero__sort-pill:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}
.hero__sort-pill.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}

/* --- Anasayfa grid: masaüstünde 3 sütun büyük thumbnaillar --- */
@media (min-width: 981px) {
  .grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.grid--home .card-title {
  font-size: 15px;
  margin: 6px 0 0;
}
.grid--home .meta {
  display: none;
}

/* --- card-meta-strip: artık thumb içinde overlay (tüm video kartlarında) --- */
.card .thumb { position: relative; }
.card .thumb .card-meta-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  z-index: 2;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.card .thumb .card-meta-strip__cell {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.card .thumb .card-meta-strip__ico {
  width: 13px;
  height: 13px;
  opacity: 0.95;
}
@media (max-width: 480px) {
  .card .thumb .card-meta-strip {
    padding: 6px 8px;
  }
  .card .thumb .card-meta-strip__cell { font-size: 10px; }
  .card .thumb .card-meta-strip__ico { width: 11px; height: 11px; }
}
/* Hover'da overlay scale ile bar bozulmasın */
.card:hover .thumb .card-meta-strip { transform: none; }

/* ========================================================== */
/*  v1.7.1 — Model sayfası kısa video galerisi (poster + lightbox) */
/* ========================================================== */

.model-short-vid-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.model-short-vid-grid--after { margin-top: 18px; }
@media (max-width: 1100px) { .model-short-vid-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .model-short-vid-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .model-short-vid-grid { grid-template-columns: repeat(2, 1fr); } }

.model-short-vid {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.model-short-vid__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--panel2), color-mix(in srgb, var(--brand) 18%, var(--panel2)));
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.model-short-vid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.model-short-vid:hover .model-short-vid__thumb img {
  transform: scale(1.04);
}
.model-short-vid__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  pointer-events: none;
  transition: background 150ms ease, transform 150ms ease;
}
.model-short-vid:hover .model-short-vid__play {
  background: rgba(0, 0, 0, 0.78);
  transform: translate(-50%, -50%) scale(1.05);
}
.model-short-vid__play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}
.model-short-vid:focus-visible .model-short-vid__thumb {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.model-short-vid__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 8px 2px 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  word-break: break-word;
  transition: color 150ms ease;
}
.model-short-vid:hover .model-short-vid__title {
  color: color-mix(in srgb, var(--text) 80%, var(--brand));
}

/* Video lightbox (footer.php'de tanımlı) */
html.tubetr-vlightbox-open,
html.tubetr-vlightbox-open body {
  overflow: hidden;
  overscroll-behavior: none;
  height: 100%;
}
.tubetr-vlightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tubetr-vlightbox[hidden] { display: none; }
.tubetr-vlightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.tubetr-vlightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tubetr-vlightbox__close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.tubetr-vlightbox__stage {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
}
.tubetr-vlightbox__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 64px);
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.tubetr-vlightbox__player-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tubetr-vlightbox__banner-host {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.tubetr-vlightbox__banner-host[hidden] {
  display: none !important;
}
.tubetr-vlightbox__player-inner iframe,
.tubetr-vlightbox__player-inner video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 520px) {
  .tubetr-vlightbox__stage { width: calc(100vw - 16px); }
  .tubetr-vlightbox__close { top: 10px; right: 10px; }
}

.model-ext-imgwrap img,
.model-gallery-thumb img,
.model-avatar-hit img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.tubetr-lightbox__imgcell img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* ========================================================== */
/*  v1.7.4 — Model medya köşe banner overlay                   */
/* ========================================================== */
.tubetr-media-banner {
  position: absolute;
  top: 6px;
  z-index: 6;
  width: var(--tubetr-banner-w, 22%);
  max-width: 42%;
  pointer-events: none;
  line-height: 0;
}
.tubetr-media-banner--left { left: 6px; }
.tubetr-media-banner--right { right: 6px; }
.tubetr-media-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: var(--tubetr-banner-opacity, 0.88);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
.tubetr-media-banner--shape-rounded img { border-radius: 8px; }
.tubetr-media-banner--shape-square img { border-radius: 0; }
.tubetr-media-banner--shape-pill img { border-radius: 999px; }

