﻿/* ==========================================================
   YOUTUBE V29 - ISOLATED CSS
   Only affects: body[data-module="youtube"]
   ========================================================== */

body[data-module="youtube"] .v29-shell{ display:flex; min-height:100vh; }

body[data-module="youtube"] .v29-sidebar{
  width:280px; min-width:280px;
  padding:18px 14px;
  background: rgba(10,10,14,0.92);
  border-right: 1px solid rgba(255,255,255,0.06);
}
body[data-module="youtube"] .v29-brand{
  font-weight:800; letter-spacing:0.5px;
  color:#ffd2e6; margin:6px 10px 14px;
  text-transform:uppercase; font-size:14px;
}
body[data-module="youtube"] .v29-nav{ display:flex; flex-direction:column; gap:10px; padding:6px; }
body[data-module="youtube"] .v29-nav-item{
  display:flex; align-items:center;
  padding:14px 14px;
  border-radius:14px;
  text-decoration:none;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
body[data-module="youtube"] .v29-nav-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,210,230,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
body[data-module="youtube"] .v29-nav-item.is-active{
  border-color: rgba(255,90,170,0.35);
  background: linear-gradient(180deg, rgba(255,90,170,0.12), rgba(140,70,255,0.10));
  box-shadow: 0 14px 40px rgba(140,70,255,0.16);
}
body[data-module="youtube"] .v29-sidefoot{ margin-top:auto; padding:12px 10px; opacity:0.9; }
body[data-module="youtube"] .v29-sidefoot-badge{
  display:inline-block; padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size:12px;
}

body[data-module="youtube"] .v29-main{ flex:1; padding:26px 26px 40px; }
body[data-module="youtube"] .v29-topbar{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px;
}
body[data-module="youtube"] .v29-title{
  font-size:54px; line-height:1.05; margin:0;
  color: rgba(255,255,255,0.92);
}
body[data-module="youtube"] .v29-top-actions{ display:flex; gap:12px; margin-top:6px; flex-wrap:wrap; }

/* Premium buttons */
body[data-module="youtube"] .v29-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.90);
  border-radius:16px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  user-select:none;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body[data-module="youtube"] .v29-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,210,230,0.20);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
body[data-module="youtube"] .v29-btn-primary{
  border-color: rgba(255,90,170,0.35);
  background: linear-gradient(180deg, rgba(255,90,170,0.30), rgba(140,70,255,0.22));
  box-shadow: 0 14px 40px rgba(255,90,170,0.14);
}
body[data-module="youtube"] .v29-btn-soft{
  border-color: rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}
body[data-module="youtube"] .v29-btn-ghost{
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.08);
}

body[data-module="youtube"] .v29-card{
  border-radius:18px;
  padding:16px;
  background: rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.07);
  box-shadow: 0 22px 70px rgba(0,0,0,0.40);
}
body[data-module="youtube"] .v29-h2{ margin:0; font-size:20px; color: rgba(255,210,230,0.95); }
body[data-module="youtube"] .v29-sub{ margin-top:6px; color: rgba(255,255,255,0.70); font-size:13px; }
body[data-module="youtube"] .v29-card-head{ margin-bottom:12px; }

body[data-module="youtube"] .v29-input,
body[data-module="youtube"] .v29-select{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.90);
  padding:12px 14px;
  outline:none;
}
body[data-module="youtube"] .v29-label{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:0.2px;
  color: rgba(255,255,255,0.72);
  margin:10px 0 8px;
}

body[data-module="youtube"] .yt-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
  margin-top:14px;
}
@media (max-width: 1180px){
  body[data-module="youtube"] .yt-grid{ grid-template-columns:1fr; }
  body[data-module="youtube"] .v29-title{ font-size:42px; }
}
@media (max-width: 860px){
  body[data-module="youtube"] .v29-shell{ flex-direction:column; }
  body[data-module="youtube"] .v29-sidebar{
    width:auto; min-width:0;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
}

body[data-module="youtube"] .yt-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
body[data-module="youtube"] .yt-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

body[data-module="youtube"] .yt-status{
  display:flex; flex-direction:column;
  gap:10px;
  margin-top:12px;
}
body[data-module="youtube"] .yt-line{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.84);
}
body[data-module="youtube"] .yt-toast{
  margin-top:10px;
  min-height:42px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.78);
  font-size:12px;
  line-height:1.35;
}

body[data-module="youtube"] .yt-safe{
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.20);
}
body[data-module="youtube"] .yt-safe-title{
  font-weight:1000;
  color: rgba(255,210,230,0.92);
  margin-bottom:8px;
}
body[data-module="youtube"] .yt-safe-text{
  color: rgba(255,255,255,0.72);
  font-size:12px;
  line-height:1.35;
}
