/* ═══════════════════════════════════════════════════════════════════════════
   VidStream Pro – Premium SaaS Video Platform
   Design System: Deep blacks · Vivid red accent · Crisp whites · Subtle golds
   Font stack: Inter (UI) + Syne (display)
   Built to compete with the world's best video platforms.
═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  /* Brand */
  --vt-red: #E5203A;
  --vt-red-hover: #FF2D47;
  --vt-red-dark: #B01428;
  --vt-red-glow: rgba(229,32,58,.18);
  --vt-red-subtle: rgba(229,32,58,.08);
  --vt-green: #16A34A;
  --vt-green-l: #22C55E;
  --vt-gold: #F59E0B;
  --vt-gold-dim: #D97706;
  --vt-blue: #3B82F6;
  --vt-purple: #8B5CF6;

  /* Surfaces */
  --vt-bg: #080808;
  --vt-surface: #111111;
  --vt-surface2: #1A1A1A;
  --vt-surface3: #232323;
  --vt-surface4: #2D2D2D;
  --vt-surface5: #383838;

  /* Borders */
  --vt-border: rgba(255,255,255,.07);
  --vt-border-strong: rgba(255,255,255,.13);
  --vt-border-accent: rgba(229,32,58,.35);

  /* Text */
  --vt-text: #F8F8F8;
  --vt-text-muted: #9A9A9A;
  --vt-text-dim: #555;

  /* Layout */
  --vt-header-h: 58px;
  --vt-sidebar-w: 244px;
  --vt-sidebar-sm: 72px;

  /* Radii */
  --vt-radius-xs: 4px;
  --vt-radius-sm: 8px;
  --vt-radius: 12px;
  --vt-radius-lg: 16px;
  --vt-radius-xl: 20px;
  --vt-radius-2xl: 28px;

  /* Shadows */
  --vt-shadow-sm: 0 1px 6px rgba(0,0,0,.4);
  --vt-shadow: 0 4px 24px rgba(0,0,0,.6);
  --vt-shadow-lg: 0 16px 56px rgba(0,0,0,.8);
  --vt-shadow-red: 0 4px 20px rgba(229,32,58,.28);
  --vt-shadow-glow: 0 0 60px rgba(229,32,58,.12);

  /* Transitions */
  --vt-transition: 0.16s cubic-bezier(.4,0,.2,1);
  --vt-transition-slow: 0.32s cubic-bezier(.4,0,.2,1);

  /* Typography */
  --vt-font-display: 'Syne', sans-serif;
  --vt-font-body: 'Inter', sans-serif;
}

/* ─── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body.vidtube-body {
  font-family: var(--vt-font-body);
  background: var(--vt-bg);
  color: var(--vt-text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color var(--vt-transition) }
button { cursor: pointer; border: none; background: none; color: inherit; font: inherit }
input, textarea, select {
  font: inherit; color: var(--vt-text);
  background: var(--vt-surface2);
  border: 1.5px solid var(--vt-border-strong);
  border-radius: var(--vt-radius-sm);
  padding: 10px 14px;
  width: 100%; outline: none;
  transition: border-color var(--vt-transition), box-shadow var(--vt-transition), background var(--vt-transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vt-red);
  background: var(--vt-surface3);
  box-shadow: 0 0 0 3px var(--vt-red-glow);
}
select option { background: var(--vt-surface2) }
img { max-width: 100%; display: block }
ul { list-style: none }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: var(--vt-surface4); border-radius: 4px }
::-webkit-scrollbar-thumb:hover { background: var(--vt-surface5) }

/* ─── App Shell ─────────────────────────────────────────────────────────── */
.vt-app {
  display: grid;
  grid-template-rows: var(--vt-header-h) 1fr;
  grid-template-columns: var(--vt-sidebar-w) 1fr;
  grid-template-areas: "header header" "sidebar main";
  min-height: 100vh;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.vt-header {
  grid-area: header;
  position: sticky; top: 0; z-index: 100;
  height: var(--vt-header-h);
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--vt-border);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 20px; gap: 14px;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.vt-header__left, .vt-header__right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.vt-header__center { flex: 1; max-width: 640px }

/* Logo */
.vt-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--vt-font-display);
  font-weight: 700; font-size: 20px;
  letter-spacing: -.4px; white-space: nowrap;
  transition: opacity var(--vt-transition);
}
.vt-logo:hover { opacity: .8 }
.vt-logo__icon {
  width: 30px; height: 22px;
  background: var(--vt-red);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--vt-shadow-red);
  position: relative;
  overflow: hidden;
}
.vt-logo__icon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}
.vt-logo__icon svg { position: relative; z-index: 1 }
.vt-logo__text {
  background: linear-gradient(135deg, var(--vt-text) 50%, #888);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Hamburger */
.vt-menu-btn {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border-radius: 50%; padding: 8px;
  transition: background var(--vt-transition);
}
.vt-menu-btn:hover { background: var(--vt-surface2) }
.vt-menu-btn span {
  width: 18px; height: 2px;
  background: var(--vt-text); border-radius: 2px; display: block;
  transition: all var(--vt-transition);
}

/* Search */
.vt-search {
  position: relative; display: flex; align-items: center;
  background: var(--vt-surface2);
  border: 1.5px solid var(--vt-border-strong);
  border-radius: 40px; overflow: visible;
  transition: border-color var(--vt-transition), box-shadow var(--vt-transition), background var(--vt-transition);
}
.vt-search:focus-within {
  border-color: var(--vt-red);
  background: var(--vt-surface3);
  box-shadow: 0 0 0 3px var(--vt-red-glow);
}
.vt-search__input {
  background: none; border: none; box-shadow: none;
  padding: 9px 16px; font-size: 14px;
  flex: 1; min-width: 0; color: var(--vt-text);
}
.vt-search__input:focus { box-shadow: none }
.vt-search__input::placeholder { color: var(--vt-text-dim) }
.vt-search__btn {
  min-width: 44px; height: 36px;
  border-left: 1px solid var(--vt-border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--vt-text-muted);
  transition: background var(--vt-transition), color var(--vt-transition);
  padding: 0 12px; border-radius: 0 40px 40px 0;
}
.vt-search__btn:hover { background: var(--vt-surface3); color: var(--vt-text) }
.vt-search__suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--vt-surface);
  border: 1px solid var(--vt-border-strong);
  border-radius: var(--vt-radius);
  overflow: hidden; z-index: 200;
  box-shadow: var(--vt-shadow-lg);
  display: none; animation: vtFadeDown .15s ease;
}
.vt-search__suggest.open { display: block }
.vt-suggest-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  transition: background var(--vt-transition); font-size: 14px;
}
.vt-suggest-item:hover { background: var(--vt-surface2) }
.vt-suggest-item img { width: 48px; height: 27px; object-fit: cover; border-radius: 5px; flex-shrink: 0 }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.vt-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 22px;
  font-size: 13.5px; font-weight: 600;
  transition: all var(--vt-transition);
  white-space: nowrap; cursor: pointer;
  letter-spacing: .01em;
}
.vt-btn--primary {
  background: var(--vt-red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(229,32,58,.2);
}
.vt-btn--primary:hover {
  background: var(--vt-red-hover);
  box-shadow: var(--vt-shadow-red);
  transform: translateY(-1px);
}
.vt-btn--outline {
  border: 1.5px solid var(--vt-border-strong);
  color: var(--vt-text); background: transparent;
}
.vt-btn--outline:hover { background: var(--vt-surface2); border-color: var(--vt-border-accent) }
.vt-btn--ghost { color: var(--vt-text-muted) }
.vt-btn--ghost:hover { background: var(--vt-surface2); color: var(--vt-text) }
.vt-btn--glass {
  background: rgba(255,255,255,.07);
  color: var(--vt-text);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.vt-btn--glass:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.vt-btn--sub {
  background: var(--vt-text); color: var(--vt-bg);
  border-radius: 22px; font-weight: 700; padding: 8px 18px;
}
.vt-btn--sub:hover { background: #d0d0d0; transform: translateY(-1px) }
.vt-btn--sub.subscribed {
  background: var(--vt-surface3);
  color: var(--vt-text-muted);
  border: 1.5px solid var(--vt-border-strong);
}
.vt-btn--upload {
  background: var(--vt-surface2);
  border: 1.5px solid var(--vt-border-strong);
  color: var(--vt-text);
}
.vt-btn--upload:hover { background: var(--vt-surface3) }
.vt-btn--signin {
  background: transparent;
  border: 1.5px solid var(--vt-red);
  color: var(--vt-red);
}
.vt-btn--signin:hover {
  background: var(--vt-red); color: #fff;
  box-shadow: var(--vt-shadow-red);
}
.vt-btn--danger {
  background: rgba(229,32,58,.1);
  color: #ff6b6b;
  border: 1px solid rgba(229,32,58,.2);
}
.vt-btn--danger:hover { background: rgba(229,32,58,.18) }
.vt-btn--lg { padding: 12px 26px; font-size: 15px; border-radius: 26px }
.vt-btn--full { width: 100%; justify-content: center }
.vt-btn--sm { padding: 6px 12px; font-size: 12.5px }
.vt-btn:disabled { opacity: .45; pointer-events: none; transform: none !important }
.vt-advertise-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--vt-gold);
  padding: 6px 12px; border-radius: 18px;
  border: 1px solid rgba(245,158,11,.25);
  transition: all var(--vt-transition);
}
.vt-advertise-btn:hover { background: rgba(245,158,11,.08) }

/* ─── Avatar ─────────────────────────────────────────────────────────────── */
.vt-avatar-btn {
  width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; background: var(--vt-red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  transition: transform var(--vt-transition), box-shadow var(--vt-transition);
  flex-shrink: 0;
}
.vt-avatar-btn:hover { transform: scale(1.08); box-shadow: 0 0 0 2.5px var(--vt-red) }
.vt-avatar-btn img { width: 100%; height: 100%; object-fit: cover }
.vt-user-menu { position: relative }
.vt-user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 250px;
  background: var(--vt-surface);
  border: 1px solid var(--vt-border-strong);
  border-radius: var(--vt-radius-lg);
  box-shadow: var(--vt-shadow-lg);
  overflow: hidden; display: none;
  animation: vtFadeDown .18s ease; z-index: 300;
}
.vt-user-dropdown.show { display: block }
.vt-user-dropdown__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-bottom: 1px solid var(--vt-border);
  background: var(--vt-surface2);
}
.vt-user-dropdown__head img,
.vt-user-dropdown__head .vt-avatar-initials {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
}
.vt-user-dropdown__head strong { font-size: 14px; font-weight: 600; display: block }
.vt-user-dropdown__head small { color: var(--vt-text-muted); font-size: 12px }
.vt-user-dropdown ul { padding: 8px 0 }
.vt-user-dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13.5px;
  transition: background var(--vt-transition); color: var(--vt-text-muted);
}
.vt-user-dropdown li a:hover { background: var(--vt-surface2); color: var(--vt-text) }
.vt-user-dropdown li.sep { height: 1px; background: var(--vt-border); margin: 4px 0 }
.vt-avatar-initials {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--vt-red), var(--vt-red-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}
.vt-avatar-initials.sm { width: 26px; height: 26px; font-size: 11px }
.vt-avatar-initials.lg { width: 48px; height: 48px; font-size: 20px }

/* ─── Sidebar ────────────────────────────────────────────────────────────── */
.vt-sidebar {
  grid-area: sidebar;
  position: sticky; top: var(--vt-header-h);
  height: calc(100vh - var(--vt-header-h));
  overflow-y: auto; overflow-x: hidden;
  background: var(--vt-surface);
  border-right: 1px solid var(--vt-border);
  display: flex; flex-direction: column;
  z-index: 90; width: var(--vt-sidebar-w);
  scrollbar-width: none;
}
.vt-sidebar::-webkit-scrollbar { display: none }
.vt-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); z-index: 89;
}
.vt-sidebar-overlay.open { display: block }
.vt-nav { padding: 10px 0; flex: 1 }
.vt-nav__item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  font-size: 13.5px; font-weight: 500;
  transition: background var(--vt-transition), color var(--vt-transition);
  color: var(--vt-text-muted);
  position: relative; cursor: pointer;
  border-radius: 8px; margin: 1px 8px;
}
.vt-nav__item:hover { background: var(--vt-surface2); color: var(--vt-text) }
.vt-nav__item.active { background: var(--vt-surface3); color: var(--vt-text); font-weight: 600 }
.vt-nav__item.active::before {
  content: ''; position: absolute;
  left: -8px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px;
  background: var(--vt-red); border-radius: 0 3px 3px 0;
}
.vt-nav__sep { height: 1px; background: var(--vt-border); margin: 8px 16px }
.vt-nav__label {
  padding: 10px 16px 4px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--vt-text-dim);
}
.vt-nav__item--sub { gap: 10px; padding-left: 16px }
.vt-nav__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0 }
.vt-sidebar__footer {
  padding: 16px;
  border-top: 1px solid var(--vt-border);
  font-size: 11px; color: var(--vt-text-dim); line-height: 1.7;
}

/* ─── Main ──────────────────────────────────────────────────────────────── */
.vt-main { grid-area: main; min-height: calc(100vh - var(--vt-header-h)); overflow-x: hidden }

/* ─── Video Grid & Cards ─────────────────────────────────────────────────── */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px; padding: 20px;
}
.vt-card {
  background: transparent; border-radius: var(--vt-radius);
  overflow: hidden;
  transition: transform var(--vt-transition);
  animation: vtFadeIn .4s ease both;
}
.vt-card:hover { transform: translateY(-3px) }
.vt-card__thumb {
  position: relative; display: block;
  aspect-ratio: 16/9; background: var(--vt-surface2);
  border-radius: var(--vt-radius); overflow: hidden;
}
.vt-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--vt-transition-slow);
}
.vt-card:hover .vt-card__thumb img { transform: scale(1.05) }
.vt-card__dur {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.88); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 2px 7px; border-radius: 5px; letter-spacing: .3px;
}
.vt-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45));
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--vt-transition);
}
.vt-card:hover .vt-card__overlay { opacity: 1 }
.vt-card__overlay span {
  width: 48px; height: 48px;
  background: rgba(229,32,58,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; padding-left: 2px;
  transform: scale(.82); transition: transform var(--vt-transition);
  box-shadow: 0 4px 20px rgba(229,32,58,.4);
}
.vt-card:hover .vt-card__overlay span { transform: scale(1) }
.vt-card__body { display: flex; gap: 10px; padding: 10px 2px 0 }
.vt-card__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; margin-top: 2px;
  transition: transform var(--vt-transition);
  background: var(--vt-red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
}
.vt-card__avatar:hover { transform: scale(1.1) }
.vt-card__avatar img { width: 100%; height: 100%; object-fit: cover }
.vt-card__info { flex: 1; min-width: 0 }
.vt-card__title {
  font-size: 14px; font-weight: 600; line-height: 1.42;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; color: var(--vt-text);
  transition: color var(--vt-transition); margin-bottom: 4px;
}
.vt-card__title:hover { color: rgba(248,248,248,.75) }
.vt-card__channel {
  display: block; font-size: 12.5px; color: var(--vt-text-muted);
  font-weight: 500; margin-bottom: 2px;
  transition: color var(--vt-transition);
}
.vt-card__channel:hover { color: var(--vt-text) }
.vt-card__meta { font-size: 12px; color: var(--vt-text-dim) }

/* Skeleton */
.vt-skeleton {
  background: linear-gradient(90deg, var(--vt-surface2) 25%, var(--vt-surface3) 50%, var(--vt-surface2) 75%);
  background-size: 200% 100%;
  animation: vtShimmer 1.5s infinite linear; border-radius: var(--vt-radius-sm);
}

/* Scroll row */
.vt-scroll-row {
  display: flex; gap: 16px;
  overflow-x: auto; padding: 4px 20px 16px;
  scrollbar-width: none;
}
.vt-scroll-row::-webkit-scrollbar { display: none }
.vt-scroll-row .vt-card { min-width: 240px; max-width: 280px; flex-shrink: 0 }

/* ─── Chips ──────────────────────────────────────────────────────────────── */
.vt-chips {
  display: flex; gap: 8px;
  padding: 14px 20px 0;
  overflow-x: auto; scrollbar-width: none;
}
.vt-chips::-webkit-scrollbar { display: none }
.vt-chip {
  padding: 7px 16px; border-radius: 22px;
  background: var(--vt-surface2);
  border: 1px solid var(--vt-border);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: all var(--vt-transition);
  cursor: pointer; color: var(--vt-text-muted);
}
.vt-chip:hover { background: var(--vt-surface3); color: var(--vt-text) }
.vt-chip.active {
  background: var(--vt-text); color: var(--vt-bg);
  border-color: var(--vt-text);
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.vt-section { padding: 8px 0 16px }
.vt-section__head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
}
.vt-section__title {
  font-family: var(--vt-font-display);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.vt-section__more {
  font-size: 13px; color: var(--vt-red);
  font-weight: 600; transition: color var(--vt-transition);
}
.vt-section__more:hover { color: var(--vt-red-hover) }
.vt-section__count { font-size: 14px; color: var(--vt-text-muted) }

/* Empty state */
.vt-empty {
  text-align: center; padding: 80px 20px;
  animation: vtFadeIn .4s ease;
}
.vt-empty__icon {
  width: 80px; height: 80px;
  background: var(--vt-surface2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; opacity: .5;
  color: var(--vt-text-muted);
}
.vt-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px }
.vt-empty p { color: var(--vt-text-muted); margin-bottom: 24px }

/* ─── Pagination ─────────────────────────────────────────────────────────── */
.vt-pagination {
  display: flex; align-items: center;
  justify-content: center; gap: 8px; padding: 28px 20px;
}
.vt-page-btn {
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 14px; font-weight: 600;
  background: var(--vt-surface2); border: 1px solid var(--vt-border-strong);
  color: var(--vt-text-muted);
  transition: all var(--vt-transition); padding: 0 12px;
}
.vt-page-btn:hover { background: var(--vt-surface3); color: var(--vt-text) }
.vt-page-btn.active {
  background: var(--vt-red); color: #fff;
  border-color: var(--vt-red);
  box-shadow: var(--vt-shadow-red);
}
.vt-page-btn.prev-next { border-radius: 22px }

/* ─── Watch Page ─────────────────────────────────────────────────────────── */
.vt-watch {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 28px; padding: 24px 28px;
  max-width: 1500px;
}
.vt-watch__main { min-width: 0 }
.vt-player-wrap {
  position: relative; width: 100%;
  aspect-ratio: 16/9; background: #000;
  border-radius: var(--vt-radius-lg);
  overflow: hidden; box-shadow: var(--vt-shadow-lg);
}
.vt-player-wrap .video-js { width: 100% !important; height: 100% !important; border-radius: var(--vt-radius-lg) }
.video-js .vjs-big-play-button {
  background: rgba(229,32,58,.85) !important;
  border: none !important; border-radius: 50% !important;
  width: 68px !important; height: 68px !important; line-height: 68px !important;
  font-size: 24px !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%,-50%) !important;
  transition: all .2s !important; box-shadow: 0 4px 28px rgba(229,32,58,.4) !important;
}
.video-js:hover .vjs-big-play-button {
  background: var(--vt-red-hover) !important;
  transform: translate(-50%,-50%) scale(1.1) !important;
}
.video-js .vjs-control-bar {
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent) !important;
  height: 44px !important;
  border-radius: 0 0 var(--vt-radius-lg) var(--vt-radius-lg);
}
.video-js .vjs-play-progress { background: var(--vt-red) !important }
.video-js .vjs-slider { background: rgba(255,255,255,.18) !important; border-radius: 2px !important }
.video-js .vjs-volume-level { background: var(--vt-red) !important }
.vjs-default-skin .vjs-tech { border-radius: var(--vt-radius-lg) }

.vt-watch__info { padding: 16px 0 }
.vt-watch__title {
  font-family: var(--vt-font-display);
  font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px;
}
.vt-watch__meta-row {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 14px;
}
.vt-watch__stats {
  font-size: 14px; color: var(--vt-text-muted);
  display: flex; gap: 6px;
}
.vt-watch__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.vt-action-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 22px;
  background: var(--vt-surface2);
  border: 1px solid var(--vt-border-strong);
  font-size: 13.5px; font-weight: 600;
  color: var(--vt-text-muted);
  transition: all var(--vt-transition);
}
.vt-action-btn:hover { background: var(--vt-surface3); color: var(--vt-text) }
.vt-action-btn.active {
  color: var(--vt-red); border-color: var(--vt-red);
  background: var(--vt-red-subtle);
}
.vt-like-group {
  display: flex; border-radius: 22px;
  overflow: hidden; border: 1px solid var(--vt-border-strong);
  background: var(--vt-surface2);
}
.vt-like-group .vt-action-btn { border-radius: 0; border: none; background: none }
.vt-like-group .vt-action-btn:first-child { border-right: 1px solid var(--vt-border-strong) }
.vt-channel-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 16px;
}
.vt-channel-row__avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: var(--vt-red); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #fff;
  transition: transform var(--vt-transition);
}
.vt-channel-row__avatar:hover { transform: scale(1.08) }
.vt-channel-row__avatar img { width: 100%; height: 100%; object-fit: cover }
.vt-channel-row__info { flex: 1; min-width: 0 }
.vt-channel-row__name { font-size: 15px; font-weight: 700; display: block }
.vt-channel-row__subs { font-size: 13px; color: var(--vt-text-muted) }
.vt-description {
  background: var(--vt-surface2);
  border-radius: var(--vt-radius);
  padding: 14px 16px; margin-bottom: 16px;
  cursor: pointer; transition: background var(--vt-transition);
}
.vt-description:hover { background: var(--vt-surface3) }
.vt-description__text {
  font-size: 14px; line-height: 1.6;
  color: var(--vt-text-muted);
  max-height: 72px; overflow: hidden;
  transition: max-height var(--vt-transition-slow);
}
.vt-description__text.expanded { max-height: 2000px }
.vt-description__toggle {
  font-size: 13px; font-weight: 700;
  color: var(--vt-text); margin-top: 8px; display: block;
}
.vt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px }
.vt-tag {
  font-size: 13px; color: var(--vt-red); font-weight: 600;
  padding: 3px 10px; border-radius: 14px; background: var(--vt-red-subtle);
}
.vt-tag:hover { background: rgba(229,32,58,.15) }

/* Ad overlay */
.vt-ad-overlay {
  position: absolute; inset: 0; background: #000; z-index: 50;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.vt-ad-video, .vt-ad-img { max-width: 100%; max-height: 100%; object-fit: contain }
.vt-ad-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
}
.vt-ad-cta {
  background: var(--vt-gold); color: #000;
  padding: 6px 16px; border-radius: 5px;
  font-size: 13px; font-weight: 700;
}
.vt-ad-skip { display: flex; align-items: center; gap: 8px }
.vt-ad-skip button {
  background: var(--vt-surface); border: 1px solid var(--vt-border-strong);
  color: var(--vt-text); padding: 5px 14px;
  border-radius: 5px; font-size: 13px; cursor: pointer;
}
.vt-ad-label {
  font-size: 10.5px; background: rgba(255,255,255,.12);
  padding: 2px 7px; border-radius: 4px;
}

/* Comments */
.vt-comments { padding: 20px 0 }
.vt-comments__title {
  font-family: var(--vt-font-display);
  font-size: 17px; font-weight: 700; margin-bottom: 20px;
}
.vt-comment-form { display: flex; gap: 12px; margin-bottom: 24px; align-items: flex-start }
.vt-comment-form__avatar { flex-shrink: 0 }
.vt-comment-form__input-wrap { flex: 1 }
.vt-comment-form__input {
  width: 100%; resize: none; border: none;
  border-bottom: 1.5px solid var(--vt-border-strong);
  background: none; padding: 6px 0; border-radius: 0;
  min-height: 36px; transition: border-color var(--vt-transition);
}
.vt-comment-form__input:focus { border-color: var(--vt-red); box-shadow: none }
.vt-comment-form__btns {
  display: flex; gap: 8px;
  justify-content: flex-end; margin-top: 10px;
}
.vt-comment { display: flex; gap: 12px; margin-bottom: 22px; animation: vtFadeIn .3s ease }
.vt-comment__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; background: var(--vt-red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
}
.vt-comment__avatar img { width: 100%; height: 100%; object-fit: cover }
.vt-comment__body { flex: 1 }
.vt-comment__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px }
.vt-comment__name { font-size: 13px; font-weight: 700 }
.vt-comment__time { font-size: 12px; color: var(--vt-text-dim) }
.vt-comment__text { font-size: 14px; line-height: 1.55; color: var(--vt-text-muted) }
.vt-comment-cta { text-align: center; padding: 20px 0 }

/* Watch sidebar related */
.vt-watch__sidebar { position: sticky; top: calc(var(--vt-header-h) + 20px) }
.vt-related__title {
  font-family: var(--vt-font-display);
  font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-left: 2px;
}
.vt-related-list { display: flex; flex-direction: column; gap: 10px }
.vt-related-list .vt-card {
  display: grid; grid-template-columns: 168px 1fr; gap: 10px;
  background: transparent; border-radius: var(--vt-radius-sm);
  padding: 6px; transition: background var(--vt-transition);
}
.vt-related-list .vt-card:hover { background: var(--vt-surface2); transform: none }
.vt-related-list .vt-card__thumb { width: 168px; aspect-ratio: 16/9; border-radius: var(--vt-radius-sm) }
.vt-related-list .vt-card__body { padding: 0; gap: 0; align-items: flex-start; flex-direction: column }
.vt-related-list .vt-card__title { font-size: 13px }
.vt-related-list .vt-card__channel { font-size: 12px }
.vt-related-list .vt-card__meta { font-size: 11px }
.vt-related-list .vt-card__avatar { display: none }

/* ─── Upload Page ────────────────────────────────────────────────────────── */
.vt-upload-page { max-width: 1100px; margin: 0 auto; padding: 36px 24px }
.vt-upload-header { text-align: center; margin-bottom: 36px }
.vt-upload-header h1 {
  font-family: var(--vt-font-display);
  font-size: 28px; font-weight: 800; margin-bottom: 8px;
}
.vt-upload-header p { color: var(--vt-text-muted); font-size: 15px }
.vt-step-indicators { display: flex; align-items: center; justify-content: center; margin-bottom: 36px }
.vt-step-dot {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--vt-surface2); border: 2px solid var(--vt-border-strong);
  color: var(--vt-text-dim); transition: all var(--vt-transition);
  position: relative; z-index: 1;
}
.vt-step-dot.active {
  background: var(--vt-red); border-color: var(--vt-red);
  color: #fff; box-shadow: var(--vt-shadow-red);
}
.vt-step-dot.done { background: var(--vt-green); border-color: var(--vt-green); color: #fff }
.vt-step-line { height: 2px; width: 80px; background: var(--vt-border); transition: background var(--vt-transition-slow) }
.vt-step-line.done { background: var(--vt-green) }
.vt-dropzone {
  border: 2px dashed var(--vt-border-strong);
  border-radius: var(--vt-radius-xl);
  padding: 64px 40px; text-align: center;
  transition: all var(--vt-transition);
  background: var(--vt-surface);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.vt-dropzone.dragover {
  border-color: var(--vt-red);
  background: var(--vt-red-subtle);
  transform: scale(1.01);
}
.vt-dropzone__inner { display: flex; flex-direction: column; align-items: center; gap: 16px }
.vt-dropzone__icon {
  width: 84px; height: 84px;
  background: var(--vt-surface2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--vt-red); animation: vtPulse 2.4s ease infinite;
}
.vt-dropzone h3 { font-size: 20px; font-weight: 700 }
.vt-dropzone p { color: var(--vt-text-muted); font-size: 14px }
.vt-upload-progress {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 32px; width: 100%;
  background: var(--vt-surface2); border-radius: var(--vt-radius-lg);
}
.vt-upload-progress__icon { font-size: 40px; flex-shrink: 0; animation: vtPulse 1s ease infinite }
.vt-upload-progress__info { flex: 1; min-width: 0 }
.vt-upload-progress__info > span {
  font-size: 14px; font-weight: 600; display: block;
  margin-bottom: 10px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.vt-progress-bar {
  height: 6px; background: var(--vt-surface3);
  border-radius: 3px; overflow: hidden; margin-bottom: 8px;
}
.vt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vt-red), var(--vt-red-hover));
  width: 0; border-radius: 3px; transition: width .3s linear;
}
.vt-upload-progress__stats { display: flex; gap: 16px; font-size: 12px; color: var(--vt-text-muted) }
.vt-upload-editor {
  display: grid; grid-template-columns: 1fr 320px; gap: 32px;
  padding: 32px; background: var(--vt-surface);
  border-radius: var(--vt-radius-xl); border: 1px solid var(--vt-border);
}
.vt-field { margin-bottom: 20px }
.vt-field > label {
  display: block; font-size: 11.5px; font-weight: 700;
  margin-bottom: 8px; color: var(--vt-text-muted);
  text-transform: uppercase; letter-spacing: .6px;
}
.vt-field-count { font-size: 12px; color: var(--vt-text-dim); text-align: right; display: block; margin-top: 4px }
.vt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.req { color: var(--vt-red) }
.vt-thumb-options { display: flex; gap: 16px; align-items: flex-start }
.vt-thumb-preview {
  width: 180px; aspect-ratio: 16/9; flex-shrink: 0;
  border-radius: var(--vt-radius); overflow: hidden;
  position: relative; cursor: pointer; background: var(--vt-surface2);
}
.vt-thumb-preview img { width: 100%; height: 100%; object-fit: cover }
.vt-thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  opacity: 0; transition: opacity var(--vt-transition);
}
.vt-thumb-preview:hover .vt-thumb-overlay { opacity: 1 }
.vt-thumb-controls { flex: 1 }
.vt-thumb-controls small { display: block; color: var(--vt-text-dim); font-size: 12px; margin-top: 6px }
.vt-frames-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px }
.vt-frame-thumb {
  width: 96px; aspect-ratio: 16/9; border-radius: 5px;
  overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--vt-transition), transform var(--vt-transition);
}
.vt-frame-thumb:hover { border-color: var(--vt-text-muted); transform: scale(1.04) }
.vt-frame-thumb.selected { border-color: var(--vt-red); box-shadow: var(--vt-shadow-red) }
.vt-frame-thumb canvas { width: 100%; height: 100% }
.vt-tags-input {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  min-height: 44px; padding: 8px;
  background: var(--vt-surface2); border: 1.5px solid var(--vt-border-strong);
  border-radius: var(--vt-radius-sm); cursor: text;
  transition: border-color var(--vt-transition);
}
.vt-tags-input:focus-within { border-color: var(--vt-red); box-shadow: 0 0 0 3px var(--vt-red-glow) }
.vt-tags-input input { border: none; background: none; padding: 2px 4px; width: auto; flex: 1; min-width: 120px; box-shadow: none }
.vt-tag-pill {
  display: flex; align-items: center; gap: 4px;
  background: var(--vt-surface3); border-radius: 14px;
  padding: 3px 10px; font-size: 13px; font-weight: 600; color: var(--vt-text);
}
.vt-tag-pill button { font-size: 16px; color: var(--vt-text-dim); padding: 0; line-height: 1 }
.vt-tag-pill button:hover { color: var(--vt-red) }
.vt-upload-actions {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--vt-border); margin-top: 8px;
}
.vt-upload-checklist { margin-top: 20px }
.vt-check-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--vt-text-dim);
  padding: 6px 0; border-bottom: 1px solid var(--vt-border);
  transition: color var(--vt-transition);
}
.vt-check-item.done { color: var(--vt-green-l) }
.vt-preview-card { background: var(--vt-surface2); border-radius: var(--vt-radius); overflow: hidden }
.vt-preview-thumb { aspect-ratio: 16/9; background: var(--vt-surface3) }
.vt-preview-thumb img { width: 100%; height: 100%; object-fit: cover }
.vt-preview-info { padding: 10px 12px }
.vt-preview-title { font-size: 13px; font-weight: 700; margin-bottom: 4px }
.vt-preview-channel { font-size: 12px; color: var(--vt-text-muted) }
.vt-preview-meta { font-size: 11px; color: var(--vt-text-dim); margin-top: 2px }
.vt-upload-success {
  text-align: center; padding: 64px 40px;
  background: var(--vt-surface); border-radius: var(--vt-radius-xl);
  border: 1px solid var(--vt-border);
}
.vt-success-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--vt-green), var(--vt-green-l));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #fff; margin: 0 auto 24px;
  animation: vtBounceIn .6s cubic-bezier(.175,.885,.32,1.275) both;
  box-shadow: 0 8px 32px rgba(22,163,74,.35);
}
.vt-upload-success h2 {
  font-family: var(--vt-font-display);
  font-size: 28px; font-weight: 800; margin-bottom: 8px;
}
.vt-upload-success p { color: var(--vt-text-muted); margin-bottom: 32px }
.vt-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }
.vt-field--check { display: flex; align-items: center; gap: 10px }
.vt-field--check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--vt-red) }
.vt-field--check label { margin: 0; text-transform: none; letter-spacing: 0; color: var(--vt-text); font-size: 14px }

/* ─── Modals ─────────────────────────────────────────────────────────────── */
.vt-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.82); backdrop-filter: blur(10px);
  padding: 20px; animation: vtFadeIn .2s ease;
}
.vt-modal__box {
  background: var(--vt-surface);
  border: 1px solid var(--vt-border-strong);
  border-radius: var(--vt-radius-xl);
  padding: 36px; width: 100%; max-width: 480px;
  position: relative;
  animation: vtSlideUp .25s cubic-bezier(.4,0,.2,1) both;
  max-height: 90vh; overflow-y: auto;
}
.vt-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--vt-text-muted);
  transition: all var(--vt-transition);
}
.vt-modal__close:hover { background: var(--vt-surface2); color: var(--vt-text) }
.vt-modal h3 { font-family: var(--vt-font-display); font-size: 20px; font-weight: 800; margin-bottom: 8px }
.vt-modal p { color: var(--vt-text-muted); margin-bottom: 24px; font-size: 14px }
.vt-share-url { display: flex; gap: 8px; margin-bottom: 20px }
.vt-share-url input { font-size: 13px; flex: 1 }
.vt-share-btns { display: flex; gap: 10px; flex-wrap: wrap }
.vt-share-wa { background: #25D366; color: #fff; padding: 8px 16px; border-radius: 22px; font-size: 13px; font-weight: 700; transition: opacity var(--vt-transition) }
.vt-share-tw { background: #1DA1F2; color: #fff; padding: 8px 16px; border-radius: 22px; font-size: 13px; font-weight: 700; transition: opacity var(--vt-transition) }
.vt-share-fb { background: #1877F2; color: #fff; padding: 8px 16px; border-radius: 22px; font-size: 13px; font-weight: 700; transition: opacity var(--vt-transition) }
.vt-share-wa:hover, .vt-share-tw:hover, .vt-share-fb:hover { opacity: .85 }

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.vt-toast {
  position: fixed; bottom: 84px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--vt-surface3); color: var(--vt-text);
  padding: 12px 24px; border-radius: 26px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--vt-shadow); z-index: 2000;
  opacity: 0; transition: all .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none; white-space: nowrap;
  border: 1px solid var(--vt-border-strong);
}
.vt-toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }
.vt-toast.success { background: #0E2D1A; border-color: var(--vt-green-l); color: var(--vt-green-l) }
.vt-toast.error { background: #2D0E0E; border-color: var(--vt-red); color: #ff7070 }

/* ─── Spinners ───────────────────────────────────────────────────────────── */
.vt-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--vt-surface3);
  border-top-color: var(--vt-red);
  border-radius: 50%; animation: vtSpin .7s linear infinite; margin: 0 auto;
}
.vt-spinner--sm { width: 20px; height: 20px; border-width: 2px }
.vt-loading-state {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  padding: 60px 20px; color: var(--vt-text-muted); font-size: 14px;
}

/* ─── Mobile Nav ─────────────────────────────────────────────────────────── */
.vt-mobile-nav {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--vt-border);
  padding: 8px 0; height: 62px;
  justify-content: space-around; align-items: center;
}
.vt-mob-nav-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: 10px; color: var(--vt-text-dim);
  transition: color var(--vt-transition);
  flex: 1; padding: 4px 0;
}
.vt-mob-nav-item svg { width: 22px; height: 22px }
.vt-mob-nav-item.active { color: var(--vt-red) }
.vt-mob-upload-wrap { flex: 1; display: flex; justify-content: center }
.vt-mob-upload-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--vt-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  box-shadow: var(--vt-shadow-red);
  transition: transform var(--vt-transition);
}
.vt-mob-upload-btn:hover { transform: scale(1.1) }

/* ─── Auth Page ──────────────────────────────────────────────────────────── */
.vt-auth-page {
  min-height: calc(100vh - var(--vt-header-h));
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.vt-auth-card {
  width: 100%; max-width: 420px;
  background: var(--vt-surface);
  border: 1px solid var(--vt-border-strong);
  border-radius: var(--vt-radius-xl); padding: 40px;
  animation: vtFadeIn .4s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.vt-auth-logo { display: flex; justify-content: center; margin-bottom: 28px }
.vt-auth-card h2 {
  font-family: var(--vt-font-display);
  font-size: 24px; font-weight: 800;
  text-align: center; margin-bottom: 8px;
}
.vt-auth-card p { color: var(--vt-text-muted); text-align: center; margin-bottom: 28px; font-size: 14px }
.vt-auth-tabs { display: flex; margin-bottom: 28px; border-bottom: 2px solid var(--vt-border) }
.vt-auth-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: 15px; font-weight: 700; color: var(--vt-text-dim);
  cursor: pointer; transition: all var(--vt-transition);
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
}
.vt-auth-tab.active { color: var(--vt-red); border-color: var(--vt-red) }
.vt-auth-panel { display: none }
.vt-auth-panel.active { display: block; animation: vtFadeIn .2s ease }
.vt-auth-card .vt-field > label { color: var(--vt-text-muted); text-transform: none; letter-spacing: 0; font-size: 14px }

/* ─── Studio ─────────────────────────────────────────────────────────────── */
.vt-studio { padding: 28px; max-width: 1100px; margin: 0 auto }

/* Studio tab navigation */
.vt-studio-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 28px; padding-bottom: 0;
}
.vt-studio-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px; font-size: 13.5px; font-weight: 700;
  color: var(--vt-text-muted); text-decoration: none;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  border-radius: var(--vt-radius-sm) var(--vt-radius-sm) 0 0;
  transition: all var(--vt-transition);
}
.vt-studio-tab:hover { color: var(--vt-text); background: var(--vt-surface2) }
.vt-studio-tab.active { color: var(--vt-red); border-color: var(--vt-red) }

/* Earnings cards */
.vt-studio-earnings { max-width: 860px }
.vt-earnings-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 4px;
}
.vt-earnings-card {
  background: var(--vt-surface); border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 16px;
}
.vt-earnings-card__icon {
  width: 44px; height: 44px; border-radius: var(--vt-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.vt-earnings-card__val {
  font-family: var(--vt-font-display); font-size: 22px; font-weight: 800; line-height: 1.1;
}
.vt-earnings-card__label { font-size: 12px; color: var(--vt-text-muted); margin-top: 2px }

@media (max-width: 640px) {
  .vt-earnings-cards { grid-template-columns: 1fr }
  .vt-studio-tab span { display: none }
  .vt-studio-tab { padding: 10px 12px }
}

.vt-studio-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 28px;
}
.vt-studio-header h1 {
  font-family: var(--vt-font-display);
  font-size: 26px; font-weight: 800;
}
.vt-studio-header__sub { color: var(--vt-text-muted); font-size: 14px; margin-top: 4px }
.vt-studio-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; margin-bottom: 28px;
}
.vt-stat-card {
  background: var(--vt-surface);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--vt-transition), transform var(--vt-transition), box-shadow var(--vt-transition);
}
.vt-stat-card:hover {
  border-color: var(--vt-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--vt-shadow);
}
.vt-stat-card__icon {
  width: 44px; height: 44px; border-radius: var(--vt-radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vt-stat-card__icon--blue { background: rgba(59,130,246,.15); color: var(--vt-blue) }
.vt-stat-card__icon--purple { background: rgba(139,92,246,.15); color: var(--vt-purple) }
.vt-stat-card__icon--green { background: rgba(34,197,94,.15); color: var(--vt-green-l) }
.vt-stat-card__icon--red { background: var(--vt-red-subtle); color: var(--vt-red) }
.vt-stat-card__body { flex: 1; min-width: 0 }
.vt-stat-card__val {
  font-family: var(--vt-font-display);
  font-size: 26px; font-weight: 800; line-height: 1.1; margin-bottom: 4px;
}
.vt-stat-card__label { font-size: 12.5px; color: var(--vt-text-muted) }
/* Legacy icon class (no-op for new cards) */
.vt-stat-card__icon:empty { display: none }

.vt-studio-table { width: 100%; border-collapse: collapse }
.vt-studio-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--vt-text-dim);
  border-bottom: 1px solid var(--vt-border);
}
.vt-studio-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--vt-border);
  font-size: 13.5px; vertical-align: middle;
}
.vt-studio-table tr:hover td { background: rgba(255,255,255,.02) }
.vt-studio-table .vt-vid-thumb {
  width: 120px; aspect-ratio: 16/9;
  border-radius: var(--vt-radius-sm); object-fit: cover;
}
.vt-studio-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--vt-radius) }
.vt-studio-table-wrap .vt-studio-table { min-width: 640px }
.vt-vid-thumb--placeholder {
  background: var(--vt-surface3);
  display: flex; align-items: center; justify-content: center;
  color: var(--vt-text-dim);
}
.vt-table-title {
  font-weight: 600; font-size: 13px;
  display: block; margin-bottom: 3px;
  max-width: 260px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  transition: color var(--vt-transition);
}
.vt-table-title:hover { color: var(--vt-red) }
.vt-table-cat { font-size: 11.5px; color: var(--vt-text-dim) }
.vt-table-num { font-size: 13.5px; font-weight: 600; color: var(--vt-text) }
.vt-table-date { font-size: 12px; color: var(--vt-text-dim) }
.vt-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 14px;
  font-size: 12px; font-weight: 700;
}
.vt-badge--published { background: rgba(34,197,94,.12); color: var(--vt-green-l) }
.vt-badge--draft { background: rgba(255,255,255,.06); color: var(--vt-text-muted) }
.vt-badge--private { background: rgba(245,158,11,.1); color: var(--vt-gold) }

/* ─── Channel ────────────────────────────────────────────────────────────── */
/* ─── Channel Page ───────────────────────────────────────────────────────── */
.vt-channel-page { padding-bottom: 40px }

/* Banner */
.vt-channel-banner {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--vt-red-dark), var(--vt-surface2));
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.vt-channel-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.55));
}

/* Channel head row (avatar + info + actions) */
.vt-channel-head {
  display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  padding: 0 28px 20px;
  margin-top: -48px; position: relative; z-index: 2;
  border-bottom: 1px solid var(--vt-border);
}
.vt-channel-head__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--vt-bg); overflow: hidden;
  background: var(--vt-red); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; color: #fff;
}
.vt-channel-head__avatar img { width: 100%; height: 100%; object-fit: cover }
.vt-channel-head__info { flex: 1; min-width: 180px; padding-top: 52px }
.vt-channel-head__info h1 {
  font-family: var(--vt-font-display); font-size: 22px;
  font-weight: 800; margin: 0 0 4px;
}
.vt-channel-head__handle { font-size: 13px; color: var(--vt-text-muted); margin: 0 0 4px }
.vt-channel-head__stats { font-size: 13px; color: var(--vt-text-muted); margin: 0 0 6px; display: flex; gap: 6px; align-items: center }
.vt-channel-head__desc { font-size: 13px; color: var(--vt-text-dim); margin: 0; max-width: 520px }
.vt-channel-head__actions {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 20px; flex-shrink: 0;
}

/* Tabs */
.vt-channel-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--vt-border); padding: 0 28px;
}
.vt-channel-tab {
  padding: 12px 20px; font-size: 14px; font-weight: 700;
  color: var(--vt-text-muted); text-decoration: none;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  transition: all var(--vt-transition);
}
.vt-channel-tab:hover { color: var(--vt-text) }
.vt-channel-tab.active { color: var(--vt-text); border-color: var(--vt-red) }

/* Content area */
.vt-channel-content { padding: 24px 28px }

/* About tab */
.vt-channel-about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px }
.vt-about-section { background: var(--vt-surface); border: 1px solid var(--vt-border); border-radius: var(--vt-radius-lg); padding: 20px }
.vt-about-section h3 { font-family: var(--vt-font-display); font-size: 14px; font-weight: 700; margin: 0 0 12px; color: var(--vt-text-muted); text-transform: uppercase; letter-spacing: .5px }
.vt-about-section p, .vt-about-section ul { font-size: 14px; color: var(--vt-text); margin: 0 }
.vt-about-section ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px }

/* XL avatar initial (channel page) */
.vt-avatar-initials.xl { width: 96px; height: 96px; font-size: 36px }

/* ── Channel page responsive ── */
@media (max-width: 640px) {
  .vt-channel-head { padding: 0 16px 16px; gap: 14px; margin-top: -40px }
  .vt-channel-head__avatar { width: 72px; height: 72px; font-size: 26px }
  .vt-channel-head__info { padding-top: 44px }
  .vt-channel-head__info h1 { font-size: 18px }
  .vt-channel-head__actions { width: 100%; padding-bottom: 0 }
  .vt-channel-tabs { padding: 0 16px }
  .vt-channel-tab { padding: 10px 14px; font-size: 13px }
  .vt-channel-content { padding: 16px }
  .vt-channel-about { grid-template-columns: 1fr }
  .vt-channel-banner { height: 140px }
}

/* ─── Settings ───────────────────────────────────────────────────────────── */
.vt-settings { padding: 28px; max-width: 720px; margin: 0 auto }
.vt-settings h1 { font-family: var(--vt-font-display); font-size: 24px; font-weight: 800; margin-bottom: 28px }
.vt-settings-section {
  background: var(--vt-surface);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  padding: 24px; margin-bottom: 20px;
}
.vt-settings-section h3 {
  font-family: var(--vt-font-display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--vt-border);
  display: flex; align-items: center; gap: 8px;
}

/* ─── Search / Trending / Library / Feed ─────────────────────────────────── */
.vt-search-page, .vt-trending-page, .vt-feed-page, .vt-library-page { padding: 20px 24px }
.vt-search-header { margin-bottom: 20px }
.vt-search-header h2 { font-size: 18px; color: var(--vt-text-muted) }
.vt-search-header h2 span { color: var(--vt-text); font-weight: 800 }
.vt-search-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap }
.vt-filter-btn {
  padding: 7px 14px; border-radius: 22px;
  background: var(--vt-surface2);
  border: 1px solid var(--vt-border-strong);
  font-size: 13px; font-weight: 600;
  color: var(--vt-text-muted); cursor: pointer;
  transition: all var(--vt-transition);
}
.vt-filter-btn:hover, .vt-filter-btn.active { background: var(--vt-surface3); color: var(--vt-text) }
.vt-search-results { display: flex; flex-direction: column; gap: 16px }
.vt-search-results .vt-card {
  display: grid; grid-template-columns: 340px 1fr; gap: 16px;
  background: var(--vt-surface2); border-radius: var(--vt-radius); padding: 12px;
}
.vt-search-results .vt-card:hover { background: var(--vt-surface3); transform: none }
.vt-search-results .vt-card__thumb { width: 100% }
.vt-search-results .vt-card__body { flex-direction: column; gap: 0; padding: 0 }
.vt-search-results .vt-card__title { font-size: 17px; -webkit-line-clamp: 2; margin-bottom: 8px }
.vt-search-results .vt-card__channel { font-size: 14px }
.vt-search-results .vt-card__meta { font-size: 13px }
.vt-search-results .vt-card__avatar { display: none }

/* Library */
.vt-library-section { margin-bottom: 32px }
.vt-library-section h2 {
  font-family: var(--vt-font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

/* Dropdown */
.vt-dropdown { position: relative }
.vt-dropdown__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--vt-surface);
  border: 1px solid var(--vt-border-strong);
  border-radius: var(--vt-radius);
  min-width: 160px; overflow: hidden;
  box-shadow: var(--vt-shadow-lg);
  display: none; z-index: 200;
  animation: vtFadeDown .15s ease;
}
.vt-dropdown__menu.open { display: block }
.vt-dropdown__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 13.5px; cursor: pointer;
  transition: background var(--vt-transition); color: var(--vt-text-muted);
}
.vt-dropdown__item:hover { background: var(--vt-surface2); color: var(--vt-text) }
.vt-dropdown__item.danger { color: #ff6b6b }
.vt-dropdown__item.danger:hover { background: rgba(229,32,58,.08) }
.vt-dropdown__sep { height: 1px; background: var(--vt-border); margin: 4px 0 }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.vt-home { padding-bottom: 40px }
.vt-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0D0000 0%, var(--vt-surface) 45%, #000A04 100%);
  padding: 0; border-bottom: 1px solid var(--vt-border);
}
.vt-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(229,32,58,.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(229,32,58,.05) 0%, transparent 60%);
}
.vt-hero__inner {
  position: relative; z-index: 1;
  padding: 60px 24px 48px;
  text-align: center;
  max-width: 700px; margin: 0 auto;
}
.vt-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(229,32,58,.12);
  border: 1px solid rgba(229,32,58,.25);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12.5px; font-weight: 700;
  color: var(--vt-red); letter-spacing: .02em;
  margin-bottom: 20px;
  animation: vtFadeIn .5s .1s both;
}
.vt-hero__title {
  font-family: var(--vt-font-display);
  font-size: clamp(30px, 5.5vw, 54px);
  font-weight: 800; line-height: 1.12;
  margin-bottom: 16px;
  animation: vtFadeIn .5s .2s both;
}
.vt-hero__accent {
  background: linear-gradient(135deg, var(--vt-red) 20%, #FF6B6B);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.vt-hero__sub {
  font-size: 16px; color: var(--vt-text-muted);
  max-width: 500px; margin: 0 auto 32px;
  line-height: 1.6; animation: vtFadeIn .5s .3s both;
}
.vt-hero__ctas {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
  animation: vtFadeIn .5s .4s both;
}
.vt-hero__stats {
  display: flex; align-items: center;
  justify-content: center; gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--vt-radius-lg);
  padding: 14px 28px;
  display: inline-flex;
  animation: vtFadeIn .5s .5s both;
}
.vt-hero__stat { text-align: center; padding: 0 20px }
.vt-hero__stat strong { display: block; font-size: 20px; font-weight: 800; font-family: var(--vt-font-display) }
.vt-hero__stat span { display: block; font-size: 12px; color: var(--vt-text-muted); margin-top: 2px }
.vt-hero__stat-sep { width: 1px; height: 32px; background: var(--vt-border-strong) }

/* Legacy hero flag */
.vt-hero__flag { display: none }

/* Advertise hero */
.vt-advertise-hero {
  background: linear-gradient(135deg, rgba(245,158,11,.06), var(--vt-surface));
  padding: 28px; margin: 20px 24px;
  border-radius: var(--vt-radius-xl);
  border: 1px solid rgba(245,158,11,.2);
  display: flex; align-items: center; gap: 20px;
}
.vt-advertise-hero__text h3 {
  font-family: var(--vt-font-display);
  font-size: 18px; font-weight: 800;
  margin-bottom: 4px; color: var(--vt-gold);
}
.vt-advertise-hero__text p { font-size: 14px; color: var(--vt-text-muted) }

/* Channel prompt */
.vt-channel-prompt {
  display: flex; align-items: center; gap: 12px;
  background: rgba(245,158,11,.07);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--vt-radius);
  padding: 14px 20px; margin: 12px 20px 0;
  font-size: 14px;
}
.vt-channel-prompt a { color: var(--vt-gold); font-weight: 700; margin-left: auto }
.vt-channel-prompt p { margin: 0 }

/* ─── Animations ──────────────────────────────────────────────────────────── */
@keyframes vtFadeIn    { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }
@keyframes vtFadeDown  { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: translateY(0) } }
@keyframes vtSlideUp   { from { opacity: 0; transform: translateY(24px) scale(.97) } to { opacity: 1; transform: translateY(0) scale(1) } }
@keyframes vtBounceIn  { 0% { transform: scale(0) } 60% { transform: scale(1.2) } 100% { transform: scale(1) } }
@keyframes vtSpin      { to { transform: rotate(360deg) } }
@keyframes vtPulse     { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.06); opacity: .8 } }
@keyframes vtShimmer   { 0% { background-position: -1000px 0 } 100% { background-position: 1000px 0 } }
@keyframes vtSlideInLeft { from { transform: translateX(-100%) } to { transform: translateX(0) } }

/* ─── Theater Mode ────────────────────────────────────────────────────────── */
.vt-header { transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s cubic-bezier(.4,0,.2,1); will-change: transform }
body.vt-playing .vt-header { transform: translateY(-100%); opacity: 0; pointer-events: none }
body.vt-playing .vt-header-peek-zone { display: block }
.vt-header-peek-zone { display: none; position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 101 }
body.vt-playing .vt-header-peek-zone:hover ~ * .vt-header,
body.vt-playing:has(.vt-header-peek-zone:hover) .vt-header { transform: translateY(0); opacity: 1; pointer-events: auto }
body.vt-playing .vt-sidebar { transition: top .35s cubic-bezier(.4,0,.2,1); top: 0 }
body.vt-playing .vt-app { grid-template-rows: 0px 1fr }

/* ─── Banner Ad Slots ─────────────────────────────────────────────────────── */
.vt-banner-slot {
  position: relative; width: 100%; overflow: hidden;
  background: var(--vt-surface);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius); text-align: center;
}
.vt-banner-slot--banner_top    { margin-bottom: 12px }
.vt-banner-slot--banner_bottom { margin-top: 12px }
.vt-banner-slot--sidebar       { margin-bottom: 16px; border-radius: var(--vt-radius-xl) }
.vt-banner-slot--canvas {
  border-radius: var(--vt-radius-xl); padding: 4px;
  background: linear-gradient(135deg, var(--vt-surface), rgba(229,32,58,.04));
  border-color: rgba(229,32,58,.15); margin: 12px 0;
}
.vt-banner-slot__inner { display: block; width: 100% }
.vt-banner-slot__image img { display: block; width: 100%; max-height: 120px; object-fit: cover; border-radius: var(--vt-radius) }
.vt-banner-slot--sidebar .vt-banner-slot__image img { max-height: 250px }
.vt-banner-slot--canvas  .vt-banner-slot__image img { max-height: 180px }
.vt-banner-slot__html { padding: 4px }
.vt-banner-slot__label { display: block; font-size: 10px; color: var(--vt-text-dim); padding: 2px 6px; text-align: right; letter-spacing: .5px; text-transform: uppercase }
.vt-banner-slot--banner_top, .vt-banner-slot--banner_bottom { max-height: 110px; overflow: hidden }
.vt-banner-slot--canvas { max-width: 100%; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center }
.vt-banner-slot__image, .vt-banner-slot__inner { display: block !important }
.vt-watch__sidebar .vt-banner-slot--sidebar img { max-height: 200px }

/* ─── Embed Mode ──────────────────────────────────────────────────────────── */
.vt-embed-mode .vt-header,
.vt-embed-mode .vt-sidebar,
.vt-embed-mode .vt-mobile-nav { display: none !important }
.vt-embed-mode .vt-app { grid-template-areas: "main"; grid-template-columns: 1fr; grid-template-rows: 1fr }
.vt-embed-mode .vt-main { padding: 0; min-height: 100vh }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .vt-watch { grid-template-columns: 1fr 340px }
}
@media (max-width: 1100px) {
  .vt-watch { grid-template-columns: 1fr 320px }
  .vt-studio-stats { grid-template-columns: repeat(2,1fr) }
}
@media (max-width: 900px) {
  .vt-watch { grid-template-columns: 1fr }
  .vt-watch__sidebar { position: static }
  .vt-related-list .vt-card { grid-template-columns: 140px 1fr }
  .vt-related-list .vt-card__thumb { width: 140px }
  .vt-upload-editor { grid-template-columns: 1fr }
  .vt-search-results .vt-card { grid-template-columns: 240px 1fr }
}
@media (max-width: 768px) {
  :root { --vt-sidebar-w: 0px }
  .vt-app { grid-template-columns: 1fr; grid-template-areas: "header" "main" }
  .vt-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 264px; z-index: 200; transform: translateX(-100%); border-right: 1px solid var(--vt-border-strong) }
  .vt-sidebar.open { transform: translateX(0); animation: vtSlideInLeft .25s ease }
  .vt-mobile-nav { display: flex }
  .vt-main { padding-bottom: 62px }
  .vt-watch { padding: 12px; gap: 16px }
  .vt-watch__title { font-size: 17px }
  .vt-watch__actions { flex-wrap: wrap; gap: 6px }
  .vt-action-btn span { display: none }
  .vt-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; padding: 14px }
  .vt-upload-editor { padding: 20px }
  .vt-search-results .vt-card { grid-template-columns: 1fr }
  .vt-studio-stats { grid-template-columns: 1fr 1fr }
  .vt-header__center { display: none }
  .vt-advertise-btn { display: none !important }
  .vt-btn--upload span { display: none }
  .vt-btn--upload { padding: 6px 8px; min-width: 0 }
  .vt-banner-slot--banner_top, .vt-banner-slot--banner_bottom { max-height: 70px }
  .vt-banner-slot--sidebar { display: none }
}
@media (max-width: 480px) {
  .vt-grid { grid-template-columns: 1fr }
  .vt-upload-page { padding: 20px 16px }
  .vt-chips { padding: 10px 12px 0; gap: 8px }
  .vt-section__head { padding: 10px 12px 6px }
  .vt-scroll-row { padding: 4px 12px 12px }
  .vt-hero__inner { padding: 44px 16px 36px }
  .vt-upload-editor { padding: 16px }
  .vt-btn--upload { display: none !important }
  .vt-hero__stats { padding: 12px 16px }
  .vt-hero__stat { padding: 0 12px }
  .vt-studio { padding: 16px }
  .vt-studio-stats { grid-template-columns: 1fr 1fr }
  .vt-table-title { max-width: 140px }
  .vt-studio-table .vt-vid-thumb { width: 80px }
  .vt-studio-table th, .vt-studio-table td { padding: 10px 8px; font-size: 12px }
}
