/* RV_VIDEO_STUDIO_NAV_EPISODE_LOGIC_V42_20260529 */
body.rvv42-studio{
  background:#00050b!important;
  color:#fff!important;
}

/* Keep Studio shortcut menu below the main Video header */
body.rvv42-studio .rvv38-studio-nav,
body.rvv42-studio nav.rvv38-tabs.rvv38-studio-nav{
  position:sticky!important;
  top:118px!important;
  z-index:750!important;
  max-width:1760px!important;
  margin:0 auto 26px!important;
  padding:12px clamp(16px,4vw,72px)!important;
  background:rgba(0,5,11,.94)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:0 0 22px 22px!important;
  box-shadow:0 22px 54px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(16px)!important;
}

body.rvv42-studio .rvv38-studio-nav a{
  min-height:42px!important;
  border-radius:999px!important;
}

body.rvv42-studio .rvvideo-header,
body.rvv42-studio .rv-video-header,
body.rvv42-studio .rv-video-topbar,
body.rvv42-studio header{
  z-index:1200!important;
}

/* Give Studio form shells enough room below header/nav */
body.rvv42-studio .vtf-shell,
body.rvv42-studio .vcf-shell{
  max-width:1760px!important;
  margin:0 auto!important;
  padding:148px clamp(16px,4vw,72px) 90px!important;
  color:#fff!important;
}

body.rvv42-studio .rvstudio38{
  padding-top:148px!important;
}

/* Stronger dark Studio design on title/channel forms */
body.rvv42-studio .vtf-shell::before,
body.rvv42-studio .vcf-shell::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 84% 4%,rgba(229,9,47,.24),transparent 34%),
    radial-gradient(circle at 8% 18%,rgba(47,124,255,.14),transparent 28%),
    linear-gradient(180deg,#00050b 0%,#030711 48%,#00050b 100%)!important;
}

body.rvv42-studio .vtf-shell .rv-surface,
body.rvv42-studio .vcf-shell .rv-surface,
body.rvv42-studio .vtf-shell section,
body.rvv42-studio .vcf-shell section{
  color:#fff!important;
}

body.rvv42-studio .vtf-shell .rv-surface,
body.rvv42-studio .vcf-shell .rv-surface{
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:30px!important;
  background:
    linear-gradient(90deg,rgba(0,5,11,.98),rgba(0,5,11,.84),rgba(229,9,47,.16)),
    radial-gradient(circle at 84% 12%,rgba(255,255,255,.14),transparent 34%)!important;
  box-shadow:0 36px 100px rgba(0,0,0,.46)!important;
}

body.rvv42-studio .rv-panel,
body.rvv42-studio .vtf-form-card,
body.rvv42-studio .vtf-side-card,
body.rvv42-studio .vcf-form-card,
body.rvv42-studio .vcf-sidebar-card,
body.rvv42-studio .vcf-preview-card,
body.rvv42-studio .vtf-preview-card,
body.rvv42-studio [class*="bg-white"],
body.rvv42-studio [class*="bg-[#fff"],
body.rvv42-studio [class*="bg-slate-50"],
body.rvv42-studio [class*="bg-gray-50"]{
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045))!important;
  border-color:rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-shadow:0 24px 72px rgba(0,0,0,.30)!important;
}

body.rvv42-studio .vtf-title,
body.rvv42-studio .vcf-title{
  color:#fff!important;
  font-size:clamp(2.45rem,5.4vw,6.1rem)!important;
  line-height:.9!important;
  letter-spacing:-.085em!important;
  font-weight:950!important;
  text-shadow:0 24px 72px rgba(0,0,0,.46)!important;
}

body.rvv42-studio .vtf-form-title,
body.rvv42-studio .vcf-form-title,
body.rvv42-studio .vtf-side-title,
body.rvv42-studio .vcf-sidebar-card h3,
body.rvv42-studio h1,
body.rvv42-studio h2,
body.rvv42-studio h3,
body.rvv42-studio h4,
body.rvv42-studio label,
body.rvv42-studio .label,
body.rvv42-studio .vtf-label,
body.rvv42-studio [class*="text-slate-950"],
body.rvv42-studio [class*="text-slate-900"],
body.rvv42-studio [class*="text-slate-800"],
body.rvv42-studio [class*="text-gray-950"],
body.rvv42-studio [class*="text-gray-900"],
body.rvv42-studio [class*="text-gray-800"]{
  color:#fff!important;
}

body.rvv42-studio p,
body.rvv42-studio small,
body.rvv42-studio .copy,
body.rvv42-studio .vtf-copy,
body.rvv42-studio .vcf-copy,
body.rvv42-studio .vtf-form-copy,
body.rvv42-studio .vcf-form-copy,
body.rvv42-studio .vtf-side-copy,
body.rvv42-studio [class*="text-slate-700"],
body.rvv42-studio [class*="text-slate-600"],
body.rvv42-studio [class*="text-slate-500"],
body.rvv42-studio [class*="text-gray-700"],
body.rvv42-studio [class*="text-gray-600"],
body.rvv42-studio [class*="text-gray-500"]{
  color:rgba(255,255,255,.70)!important;
}

body.rvv42-studio .rv-eyebrow,
body.rvv42-studio .vtf-chip,
body.rvv42-studio .vcf-chip{
  color:#ffd2d9!important;
  background:rgba(229,9,47,.16)!important;
  border-color:rgba(229,9,47,.36)!important;
}

/* Inputs must be readable */
body.rvv42-studio input,
body.rvv42-studio select,
body.rvv42-studio textarea,
body.rvv42-studio .vtf-input,
body.rvv42-studio .vtf-select,
body.rvv42-studio .vtf-textarea,
body.rvv42-studio .vcf-input,
body.rvv42-studio .vcf-select,
body.rvv42-studio .vcf-textarea{
  background:#0a111d!important;
  border:1px solid rgba(255,255,255,.20)!important;
  color:#fff!important;
  box-shadow:none!important;
}

body.rvv42-studio input::placeholder,
body.rvv42-studio textarea::placeholder{
  color:rgba(255,255,255,.42)!important;
}

body.rvv42-studio input:focus,
body.rvv42-studio select:focus,
body.rvv42-studio textarea:focus{
  border-color:rgba(255,255,255,.45)!important;
  box-shadow:0 0 0 4px rgba(229,9,47,.18)!important;
  outline:none!important;
}

body.rvv42-studio input[type="file"]{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  padding:10px!important;
}

/* Preview and side cards */
body.rvv42-studio .vtf-preview-hero,
body.rvv42-studio .vcf-preview-hero,
body.rvv42-studio .vtf-preview-poster,
body.rvv42-studio .vcf-preview-poster-art,
body.rvv42-studio .vtf-preview-card img,
body.rvv42-studio .vcf-preview-card img{
  background:#101722!important;
}

body.rvv42-studio .vtf-toggle,
body.rvv42-studio .vcf-toggle,
body.rvv42-studio .vtf-side-item,
body.rvv42-studio .vcf-side-item,
body.rvv42-studio .vtf-preview-meta-item,
body.rvv42-studio .vcf-preview-meta-item,
body.rvv42-studio .rv-studio-title-card,
body.rvv42-studio .rv-studio-episode-item{
  background:rgba(255,255,255,.075)!important;
  border-color:rgba(255,255,255,.14)!important;
  color:#fff!important;
}

body.rvv42-studio .vtf-toggle strong,
body.rvv42-studio .vcf-toggle strong,
body.rvv42-studio .vtf-side-item strong,
body.rvv42-studio .vcf-side-item strong,
body.rvv42-studio .vtf-preview-meta-item strong,
body.rvv42-studio .vcf-preview-meta-item strong{
  color:#fff!important;
}

/* Buttons */
body.rvv42-studio .vtf-btn.primary,
body.rvv42-studio .vcf-btn.primary,
body.rvv42-studio .vtf-submit,
body.rvv42-studio .vcf-submit,
body.rvv42-studio .rv-studio-mini-btn.primary,
body.rvv42-studio .rvv38-btn.primary{
  background:#fff!important;
  border-color:#fff!important;
  color:#050910!important;
}

body.rvv42-studio .vtf-btn.secondary,
body.rvv42-studio .vcf-btn.secondary,
body.rvv42-studio .vtf-link-btn,
body.rvv42-studio .vcf-link-btn,
body.rvv42-studio .rv-studio-mini-btn.secondary,
body.rvv42-studio .rvv38-btn{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

body.rvv42-studio .vtf-delete-btn,
body.rvv42-studio .rv-studio-mini-btn.danger{
  background:rgba(229,9,47,.16)!important;
  border-color:rgba(229,9,47,.36)!important;
  color:#ffd2d9!important;
}

/* Episode gate card */
.rvv42-no-episodes-card{
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045));
  box-shadow:0 24px 72px rgba(0,0,0,.30);
  padding:22px;
  color:#fff;
  margin-top:24px;
}

.rvv42-no-episodes-card .kicker{
  margin:0;
  color:#ffd2d9;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.rvv42-no-episodes-card h2{
  margin:8px 0 0;
  color:#fff;
  font-size:clamp(1.6rem,2.5vw,2.8rem);
  line-height:1;
  letter-spacing:-.05em;
}

.rvv42-no-episodes-card p{
  color:rgba(255,255,255,.70)!important;
  font-weight:760;
  line-height:1.55;
}

.rvv42-episode-note{
  margin-top:14px;
  border:1px solid rgba(56,242,157,.28);
  border-radius:16px;
  background:rgba(56,242,157,.08);
  color:#baffdf!important;
  padding:14px;
  font-weight:850;
}

/* Episode manager should not sit under hidden elements */
.rvv41-title-episodes-gate,
.rvv42-title-episodes-gate,
#rv-title-episodes-v40{
  scroll-margin-top:190px!important;
}

@media(max-width:760px){
  body.rvv42-studio .rvv38-studio-nav,
  body.rvv42-studio nav.rvv38-tabs.rvv38-studio-nav{
    top:92px!important;
    padding:10px 14px!important;
  }

  body.rvv42-studio .vtf-shell,
  body.rvv42-studio .vcf-shell,
  body.rvv42-studio .rvstudio38{
    padding-top:122px!important;
  }
}
